html { position: relative; min-height: 100%; }
body { color:#051c39; margin-bottom: 30px; }

/* date problem */
.input-group[class*="col-"] {
    padding-right: 15px;
    padding-left: 15px;
}

/* form */
.form-group { margin-bottom: 5px}
.form-horizontal .form-group { margin-right: 0; margin-left: 0; }
.required:after { content: "*"; font-weight: bold; color: red; }

/* Modal */
.modal-dialog { width: 40%; }
.modal.modal-99 .modal-dialog { width: 99%; }
.modal.modal-95 .modal-dialog { width: 95%; }
.modal.modal-90 .modal-dialog { width: 90%; }
.modal.modal-80 .modal-dialog { width: 80%; }
.modal.modal-70 .modal-dialog { width: 70%; }
.modal.modal-60 .modal-dialog { width: 60%; }

.modal.modal-50 .modal-dialog { width: 50%; }
.modal.modal-40 .modal-dialog { width: 40%; }
.modal.modal-25 .modal-dialog { width: 25%; }

.modal-body {  max-height: calc(100vh - 212px); overflow-y: auto; }  /* Modal scrollable */






/* Tab */
.tab-content { border-left: 1px solid #ddd; border-right: 1px solid #ddd; border-bottom: 1px solid #ddd; padding: 10px; }
.nav-tabs { margin-bottom: 0; }

/* footer */
.footer { position: absolute; bottom: 0; width: 100%; height: 30px; line-height: 30px; background-color: #f8f8f8; font-size:11px }

/* Login */
.form-signin { max-width: 330px; padding: 15px; margin: 0 auto; }
.form-signin .form-signin-heading, .form-signin .checkbox { margin-bottom: 10px; }
.form-signin .checkbox { font-weight: normal; }
.form-signin .form-control { position: relative; height: auto; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding: 10px; font-size: 16px; }
.form-signin .form-control:focus { z-index: 2; }
.form-signin input { margin-bottom: 10px;   }

/* Nav header */
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus { color: #fff; background: #c1b1af; }
.navbar-nav>li:hover{ background:#f5ebe9; }

/* Nav header sub dropdown*/
.marginBottom-0 {margin-bottom:0;}
.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:hover>a:after{border-left-color:#555;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}

/* Notice class */
.notice { padding: 15px; background-color: #fafafa; border-left: 6px solid #7f7f84; margin-bottom: 10px; -webkit-box-shadow: 0 5px 8px -6px rgba(0,0,0,.2); -moz-box-shadow: 0 5px 8px -6px rgba(0,0,0,.2); box-shadow: 0 5px 8px -6px rgba(0,0,0,.2); }
.notice-sm { padding: 10px; font-size: 80%; }
.notice-lg { padding: 35px; font-size: large; }
.notice-success { border-color: #80D651; }
.notice-success>strong { color: #80D651; }
.notice-info { border-color: #45ABCD; }
.notice-info>strong { color: #45ABCD; }
.notice-warning { border-color: #FEAF20; }
.notice-warning>strong { color: #FEAF20; }
.notice-danger { border-color: #d73814; }
.notice-danger>strong { color: #d73814; }

/* multi page */
.multi_page { padding:5px; border:#cccccc solid 1px; margin-right:3px; border-radius: 2px; }
.multi_page_selected { padding:5px; border:#cccccc solid 1px; background-color:#cccccc; color:#FFFFFF; margin-right:3px; font-weight:bold; border-radius: 2px; }

/* spinner */
#frmSpinner { display:none; padding:50px; }
#frmSpinner img { margin-right:10px }


/* multi select sous forme de gros boutons */
.multi-select-container label.btn-default.active{background-color:#007ba7;color:#FFF; }
.multi-select-container label.btn-default{width:100%;border:1px solid #efefef;margin:5px; box-shadow:5px 8px 8px 0 #ccc;}
.multi-select-container label .bizcontent{width:100%;}
.multi-select-container label .bizcontent h5 {font-size:10px}

.multi-select-container .btn-group{width:100%}
.multi-select-container .btn span.glyphicon{ opacity: 0; }
.multi-select-container .btn.active span.glyphicon { opacity: 1; }



/* favorite checkbox */
.glyphicon:before {
     visibility: visible;
}
.glyphicon.glyphicon-star-empty:checked:before {
    content: "\e006";
}
input[type=checkbox].glyphicon{
     visibility: hidden;
}



/* min height */
.minHeight {
  min-height:300px;
}





/* round table pour CRA*/

.table-curved {
  border-collapse: separate;
  border: solid #ddd 1px;
  border-radius: 6px;
  border-left: 0px;
  border-top: 0px;
}
.table-curved > thead:first-child > tr:first-child > th {
  border-bottom: 0px;
  border-top: solid #ddd 1px;
}
.table-curved td, .table-curved th {
  border-left: 1px solid #ddd;
  border-top: 1px solid #ddd;
  padding:2px
}
.table-curved > :first-child > :first-child > :first-child {
  border-top-left-radius: 6px;
}
.table-curved > :first-child > :first-child > :last-child {
  border-top-right-radius: 6px;
}
.table-curved > :last-child > :last-child > :first-child {
  border-bottom-left-radius: 6px;
}
.table-curved > :last-child > :last-child > :last-child {
  border-bottom-right-radius: 6px;
}


.btn-circle {
  width: 49px;
  height: 49px;
  text-align: center;
  padding: 5px 0;
  font-size: 20px;
  line-height: 2.00;
  border-radius: 30px;
}

.btn-circle-micro {
  width: 19px;
  height: 19px;
  text-align: center;
  padding: 1px 0;
  font-size: 13px;
  line-height: 0.1;
  border-radius: 30px;
}


.tt-hint { display:none}

span.twitter-typeahead .tt-menu,
span.twitter-typeahead .tt-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  padding: 5px 0;
  margin: 2px 0 0;
  list-style: none;
  font-size: 14px;
  text-align: left;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  background-clip: padding-box;
}
span.twitter-typeahead .tt-suggestion {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 1.42857143;
  color: #333333;
  white-space: nowrap;
}
span.twitter-typeahead .tt-suggestion.tt-cursor,
span.twitter-typeahead .tt-suggestion:hover,
span.twitter-typeahead .tt-suggestion:focus {
  color: #ffffff;
  text-decoration: none;
  outline: 0;
  background-color: #337ab7;
}
.input-group.input-group-lg span.twitter-typeahead .form-control {
  height: 46px;
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.3333333;
  border-radius: 6px;
}
.input-group.input-group-sm span.twitter-typeahead .form-control {
  height: 30px;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}
span.twitter-typeahead {
  width: 100%;
}
.input-group span.twitter-typeahead {
  display: block !important;
  height: 34px;
}
.input-group span.twitter-typeahead .tt-menu,
.input-group span.twitter-typeahead .tt-dropdown-menu {
  top: 32px !important;
}
.input-group span.twitter-typeahead:not(:first-child):not(:last-child) .form-control {
  border-radius: 0;
}
.input-group span.twitter-typeahead:first-child .form-control {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.input-group span.twitter-typeahead:last-child .form-control {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.input-group.input-group-sm span.twitter-typeahead {
  height: 30px;
}
.input-group.input-group-sm span.twitter-typeahead .tt-menu,
.input-group.input-group-sm span.twitter-typeahead .tt-dropdown-menu {
  top: 30px !important;
}
.input-group.input-group-lg span.twitter-typeahead {
  height: 46px;
}
.input-group.input-group-lg span.twitter-typeahead .tt-menu,
.input-group.input-group-lg span.twitter-typeahead .tt-dropdown-menu {
  top: 46px !important;
}


/* Callout */
.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}
.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}
.bs-callout p:last-child {
    margin-bottom: 0;
}
.bs-callout code {
    border-radius: 3px;
}
.bs-callout+.bs-callout {
    margin-top: -5px;
}
.bs-callout-default {
    border-left-color: #777;
}
.bs-callout-default h4 {
    color: #777;
}
.bs-callout-primary {
    border-left-color: #428bca;
}
.bs-callout-primary h4 {
    color: #428bca;
}
.bs-callout-success {
    border-left-color: #5cb85c;
}
.bs-callout-success h4 {
    color: #5cb85c;
}
.bs-callout-danger {
    border-left-color: #d9534f;
}
.bs-callout-danger h4 {
    color: #d9534f;
}
.bs-callout-warning {
    border-left-color: #f0ad4e;
}
.bs-callout-warning h4 {
    color: #f0ad4e;
}
.bs-callout-info {
    border-left-color: #5bc0de;
}
.bs-callout-info h4 {
    color: #5bc0de;
}



/*** tbale background ***/
.table tbody tr > td.success {
  background-color: #dff0d8 !important;
}

.table tbody tr > td.error {
  background-color: #f2dede !important;
}

.table tbody tr > td.warning {
  background-color: #fcf8e3 !important;
}

.table tbody tr > td.info {
  background-color: #d9edf7 !important;
}

.table-hover tbody tr:hover > td.success {
  background-color: #d0e9c6 !important;
}

.table-hover tbody tr:hover > td.error {
  background-color: #ebcccc !important;
}

.table-hover tbody tr:hover > td.warning {
  background-color: #faf2cc !important;
}

.table-hover tbody tr:hover > td.info {
  background-color: #c4e3f3 !important;
}


.mce-ico.mce-i-fa {    display: inline-block;    font: normal normal normal 1em/1 FontAwesome;        text-rendering: auto;    -webkit-font-smoothing: antialiased;    -moz-osx-font-smoothing: grayscale;	padding-right: 0 !important;	margin-right: -1px;}.mce-ico{  font-size:11px !important;}


.tooltip {
    position: fixed;
}

.table-condensed{
    font-size: 0.8em;
}