/* Reset
=============*/
iframe {border: 0 none; vertical-align:bottom; display:block}

/* Composants
=============*/
.menu_pw {margin-bottom: 20px}
.menu_pw a, .menu_pw a:hover, .menu_pw a:focus {display: block; text-decoration: none}

@media (max-width: 767px) {
  .js_fixed {position:static!important}
}

.text-relief {
  color: #959595;
  font-size: 200%;
  font-weight: bold;
  text-shadow: 0px 1px 1px rgba(45, 45, 45, 1), 0px 2px 0px rgba(45, 45, 45, 1), 0px 3px 0px rgba(70, 70, 70, 1), 0px 3px 3px rgba(70, 70, 70, 1);
}

/* Icones
=============*/
i.icon {
  font-family: FontAwesome;
  *margin-right: .3em;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

/* Fenetres
===========*/
#Cont-Header_Autre {position:absolute;display:block;left:0;right:0;top:0;padding: 15px;z-index:3}
#Cont-Scrollable_Autre {overflow:auto;position:absolute;display:block;left:0;right:0;top:0;bottom:0;z-index:1;padding:5px}
#Cont-FooterBouton_Autre {position:absolute;display:block;left:0;right:0;bottom:0;z-index:3;padding:5px}

.form-header {padding: 10px 15px; background-color: #f5f5f5; border-bottom: 1px solid #dddddd}
.form-body, #Cont-Scrollable_Autre.form-body {padding: 15px}
.form-footer {padding: 10px 15px; background-color: #f5f5f5; border-top: 1px solid #dddddd}
#Cont-FooterBouton_Autre.form-footer {padding: 10px 15px}

/* ------------------------------------------------------------
                        Bootstrap add-on
 ------------------------------------------------------------- */

/* Maximise bootstrap modal tests */
.maximise {float: right; font-size: 35px; font-weight: bold; line-height: 1; color: #000000; text-shadow: 0 1px 0 #ffffff; opacity: 1; filter: alpha(opacity=100)}
.maximise:hover, .maximise:focus {color: #000000; text-decoration: none; cursor: pointer; opacity: 1; filter: alpha(opacity=100)}
button.maximise {padding: 0; cursor: pointer; background: transparent; border: 0; -webkit-appearance: none}
.modal-header .maximise {font-size: 35px !important; margin-top: -10px; margin-right: 5px}

.form-control-auto {width: auto; display: inline-block}
label.disabled {cursor: not-allowed; opacity: 0.6; filter: alpha(opacity=60)}
.btn-xl {padding: 14px 30px; font-size: 32px; line-height: 1.33; border-radius: 6px; font-weight: bold}
.input-xs {height:auto;line-height:1.5;padding:1px 5px; font-size:12px;border-radius:3px}
select.input-xs {height:auto;line-height:1.5}

.page-header:first-child {margin-top: 0px}
.panel-padding {padding: 15px}
.panel-padding .panel-heading {margin: -15px -15px 15px}


/* ------------------------------------------------------------
                        Bootstrap overwrite
 ------------------------------------------------------------- */

/*.panel-heading .label {padding: 4px 8px} ??? */

.btn {white-space: normal;}

.modal-header .close, .modal-header .close:hover, .modal-header .close:focus {opacity: 1; filter: alpha(opacity=100)}

@media screen and (max-width: 768px) {.modal-dialog {width: auto!important}}
@media screen and (min-width: 768px) {.modal-dialog {padding-top: 50px}}

.nav .caret {border-top-color: initial; border-bottom-color: initial}
.nav a:hover .caret {border-top-color: initial; border-bottom-color: initial}
.btn-default .caret {border-top-color: initial}
.btn-primary .caret, .btn-success .caret, .btn-warning .caret, .btn-danger .caret, .btn-info .caret {border-top-color: initial}
.dropup .btn-default .caret {border-bottom-color: initial}
.dropup .btn-primary .caret, .dropup .btn-success .caret, .dropup .btn-warning .caret, .dropup .btn-danger .caret, .dropup .btn-info .caret {border-bottom-color: initial}

.btn.disabled, .btn[disabled], fieldset[disabled] .btn {pointer-events: auto}
.modal-content {overflow: hidden}
.panel {overflow: hidden}
.panel-title {color: inherit}
.btn-block {white-space: normal; padding: 6px 12px}
.btn-block.btn-lg {padding: 10px 16px}
.btn-block.btn-sm {padding: 5px 10px}
.btn-block.btn-xs {padding: 3px 5px}

.well h1:first-child, .well h2:first-child, .well h3:first-child, .well h4:first-child, .well h5:first-child, .well h6:first-child,
.panel h1:first-child, .panel h2:first-child, .panel h3:first-child, .panel h4:first-child, .panel h5:first-child, .panel h6:first-child,
footer h1:first-child, footer h2:first-child, footer h3:first-child, footer h4:first-child, footer h5:first-child, footer h6:first-child
{margin-top: 0}


/* ------------------------------------------------------------
                        OOCSS / Objets css  
 ------------------------------------------------------------- */

.p {margin: 0 0 10px}

.none-if-empty:empty, 
.hide-empty:empty {display: none !important}

.none, .display-none {display:none}
.inline-block, .display-inline-block {display: inline-block}
.block, .display-block {display: block}
.inline, .display-inline {display: inline}

.v-top {vertical-align: top}
.v-mid {vertical-align: middle}
.v-bot {vertical-align: bottom}
.v-bas {vertical-align: baseline}

.static {position: static}
.relative {position: relative}
.absolute {position: absolute}
.fixed {position: fixed}

.static-i {position: static!important}
.relative-i {position: relative!important}
.absolute-i {position: absolute!important}
.fixed-i {position: fixed!important}

.fullscreen {height:auto;width:auto;margin:0;position:absolute;top:0;right:0;bottom:0;left:0}
.trbl {top:0;right:0;bottom:0;left:0}
.t0 {top:0}
.r0 {right:0}
.b0 {bottom:0}
.l0 {left:0}

.fullscreen-i {height:auto!important;width:auto!important;margin:0!important;position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:0!important}
.trbl-i {top:0!important;right:0!important;bottom:0!important;left:0!important}
.t0-i {top:0!important}
.r0-i {right:0!important}
.b0-i {bottom:0!important}
.l0-i {left:0!important}

.h100 {height: 100%}
.wauto {width: auto}
.hauto {height: auto}
.wauto-i {width: auto!important}
.hauto-i {height: auto!important}


/* Some oocss from http://www.knacss.com/ 
=========================================*/

/* left elements */
.left {float: left}
img.left {margin-right: 1em}

/* right elements */
.right {float: right}
img.right {margin-left: 1em}
img.left, img.right {margin-bottom: 5px}

.center    {margin-left: auto; margin-right: auto}
.txtleft   {text-align: left}
.txtright  {text-align: right}
.txtcenter {text-align: center}

/* inline-block */
.inbl {display: inline-block; vertical-align: top}

/* blocks widths (percentages and pixels) */
.w10    {width: 10%}
.w20    {width: 20%}
.w25    {width: 25%}
.w30    {width: 30%}
.w33    {width: 33.3333%}
.w40    {width: 40%}
.w50    {width: 50%}
.w60    {width: 60%}
.w66    {width: 66.6666%}
.w70    {width: 70%}
.w75    {width: 75%}
.w80    {width: 80%}
.w90    {width: 90%}
.w100   {width: 100%}

.w50p   {width: 50px}
.w100p  {width: 100px}
.w150p  {width: 150px}
.w200p  {width: 200px}
.w300p  {width: 300px}
.mw330p  {max-width: 330px}
.w400p  {width: 400px}
.w500p  {width: 500px}
.w600p  {width: 600px}
.w700p  {width: 700px}
.w800p  {width: 800px}
.w960p  {width: 960px}
.mw960p {max-width: 960px}
.w1140p  {width: 1140px}
.mw1140p {max-width: 1140px}

/* spacing helpers */
.ma0-i {margin: 0!important}
.pa0-i {padding: 0!important}
.ma0 {margin: 0}
.pa0 {padding: 0}
.ma1 {margin: 10px}
.ma2 {margin: 20px}
.ma3 {margin: 30px}
.pa1 {padding: 10px}
.pa2 {padding: 20px}
.pa3 {padding: 30px}

.mt0 {margin-top: 0}
.mt1 {margin-top: 10px}
.mt2 {margin-top: 20px}
.mt3 {margin-top: 30px}
.mr0 {margin-right: 0}
.mr1 {margin-right: 10px}
.mr2 {margin-right: 20px}
.mr3 {margin-right: 30px}
.mb0 {margin-bottom: 0}
.mb1 {margin-bottom: 10px}
.mb2 {margin-bottom: 20px}
.mb3 {margin-bottom: 30px}
.ml0 {margin-left: 0}
.ml1 {margin-left: 10px}
.ml2 {margin-left: 20px}
.ml3 {margin-left: 30px}

.pt0 {padding-top: 0}
.pt1 {padding-top: 10px}
.pt2 {padding-top: 20px}
.pt3 {padding-top: 30px}
.pr0 {padding-right: 0}
.pr1 {padding-right: 10px}
.pr2 {padding-right: 20px}
.pr3 {padding-right: 30px}
.pb0 {padding-bottom: 0}
.pb1 {padding-bottom: 10px}
.pb2 {padding-bottom: 20px}
.pb3 {padding-bottom: 30px}
.pl0 {padding-left: 0}
.pl1 {padding-left: 10px}
.pl2 {padding-left: 20px}
.pl3 {padding-left: 30px}

/* z-index */
.z1 {z-index: 10001}
.z2 {z-index: 10002}
.z3 {z-index: 10003}
.z4 {z-index: 10004}
.z5 {z-index: 10005}
.z6 {z-index: 10006}
.z7 {z-index: 10007}
.z8 {z-index: 10008}
.z9 {z-index: 10009}
.z10 {z-index: 10010}
.z10-i {z-index: 10010!important}

.zz1 {z-index: 10000100}
.zz2 {z-index: 10000200}
.zz3 {z-index: 10000300}
.zz4 {z-index: 10000400}
.zz5 {z-index: 10000500}
.zz6 {z-index: 10000600}
.zz7 {z-index: 10000700}
.zz8 {z-index: 10000800}
.zz9 {z-index: 10000900}
.zz10 {z-index: 10001000}
.zz10-i {z-index: 10001000!important}


.reset {
  margin:0;
  padding:0;
  background:none;
  border:none;
  float:none;
  position:static;
  text-align:left;
}
.reset-i {
  margin:0!important;
  padding:0!important;
  background:none!important;
  border:none!important;
  float:none!important;
  position:static!important;
  text-align:left!important;
}
.ninja-reset {
  display: inline-block; /* fallback */
  display: initial;
  font-family:inherit;
  font-size: 100%;
  font-style:inherit;
  font-weight:inherit;
  margin:0;
  padding:0;
  vertical-align:baseline;
  background:none;
  border:none;
  bottom:auto;
  clear:none;
  cursor:default;
  float:none;
  height:auto;
  left:auto;
  letter-spacing:normal;
  line-height:normal;
  max-height:none;
  max-width:none;
  min-height:0;
  min-width:0;
  overflow:visible;
  position:static;
  right:auto;
  text-align:left;
  text-decoration:none;
  text-indent:0;
  text-transform:none;
  top:auto;
  visibility:visible;
  white-space:normal;
  width:auto;
  z-index:auto;
}

/* ultimate mobile reset */
@media (max-width: 767px) {
  .mobile-reset,
  .sm-block {
    position: static !important;
    display: block !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}


/* table */
.table-line {
  width: 100%;
  border-collapse: collapse;
}
.table-line tbody > tr > td {
  border-bottom: 1px solid #dddddd;
  padding-top: 5px;
  padding-bottom: 5px;
}
.table-line tbody > tr:last-child td {
  border-bottom: 0 none;
  padding-bottom: 0;
}
.table-line tbody > tr:first-child td {
  padding-top: 0;
}

/* Classe spéciale facture rib */ 
.table-mini {
  border-collapse: collapse; 
  border-spacing: 0; 
  font-size: 85%;
}
.table-mini td {
  padding: 1px 4px !important;
}

/* ------------------------------------------------------------
                    Fix et cas speciaux   
 ------------------------------------------------------------- */

@media print {
  body {
    position: static !important;
    overflow: auto !important;
    height: auto !important;
  }
  a, a:visited {color: #444 !important; text-decoration: underline !important}
}