body {
  font-family: 'Open Sans', sans-serif;
  background-color: rgba(155, 0, 0, 0.42);
  position: relative;
  margin: 0px;
  font-size: 12px;
  padding: 0px;
}

.page-content > .row {
  margin-left: 0px !important;
  margin-right: 0px !important;
  margin-top: 30px;
}

/* Footer */

footer {
    border-top: 1px solid #ababab;
    clear: both;
    padding-top: 2em;
}
footer::after {
    clear: both;
    content: "";
    display: table;
}
footer div {
    display: inline;
    float: left;
    margin: 0 0.4902%;
    width: 32.3529%;
}
footer span {
    display: block;
}
#address {
    padding-top: 0.5em;
}
#copy {
    text-align: center;
}
#newsletter {
    padding-top: 1em;
    text-align: right;
}
#newsletter a {
    color: #444444;
    text-decoration: none;
}
#newsletter a:hover {
    color: #000;
}
.address {
    background: rgba(0, 0, 0, 0) url("../img/house.png") no-repeat scroll left center / 15px 15px;
    padding-left: 1.2em;
}
.tel {
    background: rgba(0, 0, 0, 0) url("../img/tel.png") no-repeat scroll left center / 15px 15px;
    padding-left: 1.2em;
}
/* Logo & Navigation */

/*
.header{
   height:50px;
   background-color: #2c3742;
}
*/

body .nav > li > a:hover {
	background: none;
}

header {
    position: relative;
    width: 90%;
    margin: 1em auto;
}
header::after {
    clear: both;
    content: "";
    display: table;
}
header h1 {
    display: inline;
    float: left;
    margin: 0 0.4902%;
    width: 15.6863%;
}
#menu {
    display: inline;
    float: left;
    margin: 0 0.4902%;
    width: 82.3529%;
    padding-top: 15px;
}
#menu ul {
    text-align: right;
}
#menu li {
    display: inline-block;
}
#menu li:last-child a {
    padding-right: 0;
}
#menu a {
    color: #444444;
    display: block;
    font-size: 1.1em;
    padding: 3.2em 1.5em 1em;
    text-decoration: none;
    text-transform: uppercase;
}
#menu a:hover {
    border-bottom: 2px solid #ababab;
}
#menu .current a {
    border-bottom: 2px solid #ababab;
}
#submenu {
    position: absolute;
    right: 0.9em;
}
#submenu a {
    color: #444444;
    font-size: 0.9em;
    margin-right: 2em;
    text-decoration: none;
}
#submenu a:hover {
    text-decoration: underline;
}
#languages {
    -moz-appearance: none;
    background: rgba(0, 0, 0, 0) url("../img/arrow.png") no-repeat scroll right center / 8px 6px;
    border: medium none;
    color: #444444;
    cursor: pointer;
    font-size: 0.9em;
    outline: medium none;
    padding-right: 1em;
}
section {
    padding: 3em 0;
}
section h1 {
    font-size: 1.7em;
    line-height: 1.5em;
    text-transform: uppercase;
}

/* Sidebar navigation */

.content-box, .content-box-large {
   margin-bottom:30px;
   background:#fff;
   border-radius:10px;
   padding:10px;
   border-left:1px solid #eee;
   border-top:1px solid #eee;
   border-right:2px solid #eee;
   border-bottom:2px solid #eee; 
}

.content-box-large {
  padding: 20px;
}

.box-with-header {
  border-top: none;
  border-top-left-radius:0px;
  border-top-right-radius:0px;
}

.content-box-header {
  min-height: 40px;
   font-size: 16px;
   background:#f5f5f5;
   border-top-left-radius:5px;
   border-top-right-radius:5px;
   padding:10px;
   border-left:1px solid #eee;
   border-top:1px solid #eee;
   border-right:2px solid #eee;
}

.content-box-header:after {
  clear:both;
}

.sidebar ul.nav, .sidebar ul.nav ul{
	list-style: none;
	padding: 0px;
	margin: 0px;
}

.sidebar ul.nav ul {
   margin:0px;
   padding:0px;
   display:none;
}

.sidebar .nav li.open ul{
   display:block;
}

.sidebar .nav > li {
	margin: 0;
   border-bottom:1px dashed #eee;
}

.sidebar .nav > li:last-child{
   border-bottom:0px;
}

.sidebar .nav > li li {
	margin: 0;
}

.sidebar .nav > li li a{
   padding-left:25px;
}

.sidebar .nav > li > a {
	font-size: 14px;
	line-height: 20px;
	padding: 15px 15px;
	color: #999;
	display: block;
   font-weight:bold;
   background:none;
	text-decoration: none;
   border-top:0px;
   font-weight:bold;
}

.sidebar .nav > li > a > i{
   margin-right:5px;
}

.sidebar .nav > li > ul > li > a {
	font-size: 13px;
	line-height: 20px;
	padding: 8px 10px 8px 40px;
	color: #999;
   background:#fff;
	display: block;
	text-decoration: none;
   border-top:0px;
   font-weight:bold;
}

.sidebar .nav > li > ul > li.active > a{
   background:#fff;
   border-top:0px;
   color:#555;
}

.sidebar .nav > li > ul > li > a:hover{
   background:#fff;
   color:#555;
   border-bottom:0px;
}

.sidebar .nav li a:hover, .sidebar .nav li.current > a {
	background: #fff;
	color: #555;
   border-bottom:0px;
}

.sidebar .nav li.open > a {
   background:#fff;
   color: #555;
   border-bottom:1px dashed #eee;
}

.sidebar .nav a .caret {
	float: right;
	width: 0;
	height: 0;
	display: inline-block;
	vertical-align: top;
	border-top: 4px solid #aaa;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
	content: "";
   margin-top: 8px;
	margin-left: 2px;
}

.sidebar .nav a:hover .caret {
	border-top-color: #aaa;
}

.sidebar .nav li.open > a > .caret {
	border-top: none;
	border-bottom: 4px solid #aaa !important;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
}

.sidebar .nav li.open > a:hover > .caret {
	border-bottom-color: #aaa;
}

.login-bg {
  background: rgba(255, 255, 255, 0);
  background: -webkit-linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
  background: -moz-linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
  background: -ms-linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
  background: -o-linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
  background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
  background-color: #eff0f3;
  background-repeat: no-repeat;
  height: 100%;
}


/** Login & Signup **/

.login-wrapper {
  left: 0;
  right: 0;
  text-align: center;
}


.login-wrapper .box {
  margin: 0 auto;
  padding: 30px 0 30px;
  float: none;
  -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0 1px 3px, rgba(0, 0, 0, 0.35) 0 0 1px;
  -moz-box-shadow: rgba(0, 0, 0, 0.4) 0 1px 3px, rgba(0, 0, 0, 0.35) 0 0 1px;
  -ms-box-shadow: rgba(0, 0, 0, 0.4) 0 1px 3px, rgba(0, 0, 0, 0.35) 0 0 1px;
  -o-box-shadow: rgba(0, 0, 0, 0.4) 0 1px 3px, rgba(0, 0, 0, 0.35) 0 0 1px;
  box-shadow: rgba(0, 0, 0, 0.4) 0 1px 3px, rgba(0, 0, 0, 0.35) 0 0 1px;
  background: #fff;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  border-radius: 6px;
}
.login-wrapper .box .content-wrap {
  width: 82%;
  margin: 0 auto;
}
.login-wrapper .box h6 {
  text-transform: uppercase;
  margin-bottom: 35px;
  font-size: 18px;
  font-weight: 600;
}
.login-wrapper .box input[type="text"],
.login-wrapper .box input[type="password"] {
  font-size: 15px;
  height: 40px;
  margin-bottom: 10px;
  border-color: #b2bfc7;
  padding-left: 12px;
}
.login-wrapper .box input[type="text"]:focus,
.login-wrapper .box input[type="password"]:focus {
  border: 1px solid #28a0e5;
  outline: none;
  -webkit-box-shadow: inset 0 1px 2px #ddd,0px 0 5px #28a0e5;
  -moz-box-shadow: inset 0 1px 2px #ddd,0px 0 5px #28a0e5;
  -ms-box-shadow: inset 0 1px 2px #ddd,0px 0 5px #28a0e5;
  -o-box-shadow: inset 0 1px 2px #ddd,0px 0 5px #28a0e5;
  box-shadow: inset 0 1px 2px #dddddd, 0px 0 5px #28a0e5;
}
.login-wrapper .box input[type="password"] {
  margin-bottom: 10px;
}

.login-wrapper .box .action {
  position: relative;
  top: 30px;
  padding: 15px 0px;
}
.login-wrapper .box .signup {
  text-transform: uppercase;
  font-size: 13px;
  padding: 7px 25px;
  border-radius: 5px;
}
.login-wrapper .already {
  margin: 0 auto;
  float: none;
  text-align: center;
  font-size: 13px;
  margin-top: 30px;
}
.login-wrapper .already p {
  display: inline-block;
  color: #222;
}
.login-wrapper .already a {
  color: #222;
  margin-left: 7px;
  border-bottom: 1px solid;
}
.login-wrapper .already a:hover {
  text-decoration: none;
  color: #000;
  border-bottom-color: #000;
}


.login-wrapper .box .social{
  margin: 0 auto;
  width: 90%;
}
.login-wrapper .box .social a.face_login{
  background: #6887c4;
  background: -moz-linear-gradient(top, #6887c4 0%, #4566a9 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6887c4), color-stop(100%,#4566a9));
  background: -webkit-linear-gradient(top, #6887c4 0%,#4566a9 100%);
  background: -o-linear-gradient(top, #6887c4 0%,#4566a9 100%);
  background: -ms-linear-gradient(top, #6887c4 0%,#4566a9 100%); 
  background: linear-gradient(to bottom, #6887c4 0%,#4566a9 100%); 
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6887c4', endColorstr='#4566a9',GradientType=0 );
  border: 1px solid #3B4868;
    border-radius: 3px 3px 3px 3px;
    display: inline-block;
    height: 37px;
    overflow: hidden;
    width: 99%;

    text-decoration: none !important;
}
.login-wrapper .box .social a.face_login:hover {
  background: #6887c4;
  background: -moz-linear-gradient(top, #6887c4 0%, #5773AC 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6887c4), color-stop(100%,#5773AC));
  background: -webkit-linear-gradient(top, #6887c4 0%,#5773AC 100%);
  background: -o-linear-gradient(top, #6887c4 0%,#5773AC 100%);
  background: -ms-linear-gradient(top, #6887c4 0%,#5773AC 100%); 
  background: linear-gradient(to bottom, #6887c4 0%,#5773AC 100%); 
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6887c4', endColorstr='#5773AC',GradientType=0 );
}
.login-wrapper .box .social a.face_login span.face_icon{
  background-color: #39599F;
    border-radius: 3px 0 0 3px;
    float: left;
    height: 37px;
    text-align: center;
    width: 51px;
}
.login-wrapper .box .social a.face_login span.face_icon img{
  margin-top: 5px;
}
.login-wrapper .box .social a.face_login span.text{
  color: #FFFFFF;
    float: left;
    font-size: 15px;
    font-weight: bold;
    margin: 6px 0 0 25px;
    text-shadow: 1px 1px 0 #39599F;
}
.login-wrapper .box .division{
  display: inline-block;
    margin: 17px 0 23px;
    position: relative;
    text-align: center;
    width: 100%;
}
.login-wrapper .box .division hr{
  border-color: #E2E2E4;
    border-width: 1px;
    margin: 0;
    position: absolute;
    width: 40%;
}
.login-wrapper .box .division hr.left{
  top: 13px;
}
.login-wrapper .box .division hr.right{
  bottom: 6px;
    right: 0;
}
.login-wrapper .box .division span{
  color: #666666;
  font-size: 18px;
}

.panel-heading>.panel-title, .content-box-header .panel-title {
    float: left;
    padding: 10px 15px;
    padding-top: 0px;
}

body .panel-title2 {
	font-size: 18px;
	font-weight: bold;
}

.panel-heading>.panel-title>*, .content-box-header .panel-title>* {
    margin: 0;
}

.panel-heading>.panel-title>span, .content-box-header .panel-title>span {
    font-weight: normal;
}

.panel-heading>.panel-options, .content-box-header .panel-options {
    float: right;
    padding-right: 15px;
}

.panel-heading>.panel-options>a, .content-box-header .panel-options>a {
    margin-top: 10px;
}

.panel-body {
  clear:both;
}

#roles .form-group label {
	font-weight: normal;
}


/* CUSTOM */


.error {
	border: 1px solid #ae3121;
	background: #FFF;
	padding: 15px;
	text-align: center;
	margin-top: 15px;
	margin-bottom: 15px;
}

.success {
	border: 1px solid #2bae21;
	background: #FFF;
	padding: 15px;
	text-align: center;
	margin-top: 15px;
	margin-bottom: 15px;	
}

.panel-title {
	font-size: 18px;
	font-weight: bold;
}

.panel-title a {
	font-size: 14px;
	font-weight: normal;
	color: #428bca;
	padding-left: 10px;
}

#files .form-group {
	clear: both;
	padding: 3px 0;
}


#file, #role {
	display: none;
}

.file-gabarit, .role-gabarit {
	display: none;
	background: #FFF;
	width: 650px;
	padding: 10px;
	margin: 8px 0;
} 

.files-gabarit, .roles-gabarit {
	position: relative;
	margin-bottom: 15px;
	border: 1px solid #DDD;
	padding: 10px;
}

.del-article-facturation:hover {
	cursor: pointer;
}

.file-delete, .role-delete {
	position: absolute;
	top: -10px;
	right: -10px;
	width: 25px;
	height: 25px;
	line-height: 25px;
	text-align: center;
	border-radius: 50px;
	border: 1px solid #222;
	background: #FFF;
} .file-delete:hover, .role-delete:hover {
	cursor: pointer;
}
} .file-delete:hover, .role-delete:hover {
	cursor: pointer;
}

.clear {
	clear: both;
}

.addFile {
	text-align: center;
}


.addFile a {
	display: inline-block;
	margin: 10px 0;
	padding: 5px 10px;
	border: 1px solid #222;
}

.small-title {
	font-size: 14px;
}


#tableau-dossiers {
width: 100%;
}

#guest-nav li {
	padding: 7px 3px;
	font-size: 14px;
}

#guest-nav li b {
	font-size: 12px;
}

.language {
	padding-top: 15px;
	width: 30px;
	float: left;
}

.navbar-right {
	width: 330px;
	float: right;
}

.form-group {
clear: both;
}

body #ad-1, body #ad-2, body #ad-3, body #ad-4, body #ad-5 {
	display: inline-block;
}

#email-files label {
	display: block;
}

.box .small-title {
	font-size: 11px;
}

#request-account input, #request-account textarea {
	width: 80%;
	display: inline-block;
}

#request-account textarea {
	height: 120px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: 1px solid #b2bfc7;
   font-size: 15px;
    padding-left: 12px;
}

#request-account label {
	display: block;
	margin: 10px 0;
	text-align: center;
}

#email-files {
margin-left: 15px;
}

#roles .form-group {
	margin: 0;
	padding: 0;
}

#gabarit-group-article {
	display: none;
}


.add_contact_group, .add_plan, .add_contact_single, .add_contact_single2, .add_facturation_article, .add_fichier, .add-upload-group, .add-upload-single {
	color: #428bca;
	font-size: 14px;
	font-weight: normal;
}

.add_contact_single, .upload-single {
	display: block;
	text-align: center;
}

.add_contact_group:hover, .add_contact_single:hover, .add_plan:hover, .add_contact_single2:hover, .add-upload-group:hover, .add_facturation_article:hover, .add_fichier:hover, .add-upload-single:hover {
	cursor: pointer;
}

.group-contact {
	border: 1px solid #999;
	padding: 10px;
	position: relative;
	padding-top: 65px;
	margin-bottom: 15px;
	margin-top: 35px;
}

.group-contact h4 {
	background: #999;
	color: #FFF;
	padding: 5px 15px;
	position: absolute;
	left: -10px;
	top: 10px;
	width: 200px;
}

.group-contact, .content-box-large, .form-group-upload, .form-single-upload  {
	position: relative;
}

.group-contact .group-delete, .content-box-large .group-delete, .content-box-large .plan-delete, .content-box-large .fichier-delete, .upload-group-delete, .upload-single-delete {
	position: absolute;
	top: -15px;
	right: -10px;
	background: #666;
	color: #FFF;
	height: 30px;
	line-height: 30px;
	width: 30px;
	text-align: center;
	border-radius: 15px;
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
}

body .group-delete:hover, body .plan-delete:hover, body .upload-group-delete:hover, body .upload-single-delete:hover {
	cursor: pointer;	
}

.index-plan {
	width: 50px;
}

.group-contact-box .form-group {
	margin-bottom: 15px;
}

#gabarit-group-informations, #gabarit-single-contact {
	display: none;
}

#facturation-tableau {
	width: 100%;	
}

#facturation-tableau th {
	padding: 5px;
	border: 1px solid #BBB;
	text-align: center;
}

#facturation-tableau tfoot {
	text-align: center;	
}

#facturation-tableau-montant {
	text-align: center;
}

.input-article-width {
	width: 70px;
}

.input-denomination-width {
	width: 350px;	
}

.group-table-row {
	border-bottom: 1px dashed #BBB;	
}

.group-table-row td {
	padding: 10px 3px;
}

#nomAdresseClient {
	height: 120px;
}

.input-submit {
	float: right;
	background: #444;
	color: #FFF;
	border: 0;
	padding: 10px 25px;
	margin-top: 45px;
}


#upload-group-gabarit, #upload-single-gabarit {
	display: none;
}

.upload-group h4, .add-upload-group {
	text-align: center;
	display: block;
	margin: 15px 0;
}

#table-search-hidden {
	display: none;
}

#facturation-form {
	margin-bottom: 30px;
}

.totaux {
	font-weight: bold;
}

#facturation-form {
	padding: 15px;
	background: #F4F4F4;

#facturation-form .form-group {
	padding: 15px 0;	
	clear: both;
}


/* Responsive CSS */

/* Mobile phones */
@media (max-width: 480px){

}

/* Tablets */
@media (max-width: 767px){
   .container{
      width:100%;
   }
   .header{
      height:auto;
      padding:15px 0px;
   }  
   .header .logo{
      text-align:center;
      padding-bottom:10px;
   }
   .header .navbar .nav > li > a:hover{
      background:#0fa6bc;
      border-radius:5px;
   }
   .navbar-toggle {
      margin-right:0px !important;
   }
}

/* Desktop */

@media (max-width: 991px){
   .header{
      height:auto;
      padding:15px 0px;
   }  
   .header .logo{
      text-align:center;
      padding-bottom:10px;
   }
   .header .form{
      margin:10px auto;
   }
   .sidebar, content-box{
      margin-bottom:30px;
      width:100%;
      float:none;
      position:relative;
   }  
   .mainy{
      margin-left: 0px;
   }
   .sidebar-dropdown{
      display:block;
      text-align:center;
      margin:0 auto;
      margin-bottom:10px;
      border-bottom:1px dashed #eee;
      padding-bottom:10px;
   }
   .sidebar-dropdown a, .sidebar-dropdown a:hover{
      color:#fff;
      background:#16cbe6;
      display:block;
      padding:6px 12px;
      border-bottom:0px;
      box-shadow:0px 0px 1px #0fa6bc;
      border-radius:10px;
   }  
}
}

.max-w-300 {
    max-width: 300px;
}