
/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html{
    height: 100%;
}

body {
  margin-bottom: 37px;  // footer height
  height: 100%;
  background-color: rgb(248,248,248);
}

header{
    margin: 0 !important;
    padding: 0 !important;
    height: 90px;
   /* background: url("../images/ciel.jpg") repeat-x scroll center top rgba(0, 0, 0, 0);*/
    background-color: black;
    border : none !important;
}

.page-footer{
    position: fixed;
    bottom: 0;
    background-image: -webkit-linear-gradient(top, #fff 0%, #f8f8f8 100%);
    background-image: linear-gradient(to bottom, #fff 0%, #f8f8f8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    background-repeat: repeat-x;
    border-color: #E7E7E7;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 -1px 5px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 -1px 5px rgba(0, 0, 0, .075);
    z-index: 1000 !important;
}

footer{
    width: 100%;
    height: 37px;
    padding-top: 8px;
    padding-left: 20px; 
}

@media (min-width: 1275px) {
  .container {
    width: 1275px;
  }
}

.well{
   // overflow:auto;
}

.tarif-details{
    margin-top: 35px;
}

dt{
    width: 220px !important;
    margin-right: 10px !important;
}

.center-x{ text-align:center; }
.center-y{ vertical-align:middle; }

.popover{
    max-width: 600px
}


/***************************/
/******* Formulaires *******/
/***************************/
form{
    margin-top: 30px;
    padding-left: 20px;
}

form[name=becfrance_backbundle_duplicationtarifautocar]{
     border-color: #7C7C7C !important;
}

form label{
    display: block;
}

form input[type="text"], form input[type="number"], form input[type="email"], 
form input[type="password"], form select{
   width: 350px !important;
}

form .bootstrap-timepicker.timepicker{
    width: 350px !important;
}

.form-small-input{
    width: 100px !important;
}

/*.form-group{
    width: 360px !important;
}*/

.form-control-right{
    float: right !important;
}

#connexion form input[type="text"], #connexion form input[type="password"]{
    width: 250px !important;
}

form.research .slide{
    text-align: center;
}

form.research input, form.research select{
    height: 30px !important;
    width: 150px !important;
}

form.research input[type="submit"]{
    width: 100px;
}

form.research .form-group {
    display: inline-block !important;
    text-align: center !important;
    font-size: 0.9em !important;
    vertical-align: bottom;
    padding: 0 5px 0 5px;
    margin: 10px 0 0 0 !important;
}

form.research .form-group label{
    /*width: 150px;*/
}

form.check-champs, form.research{
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

form.check-champs .label-slide, form.research .label-slide{
    margin-bottom: 0px !important;
}

form.check-champs .slide, form.research .slide{
    margin-top: 10px !important;
}

form.check-champs input[type="checkbox"]{
    margin: 0 0 0 4px !important;
}

form .form-gauche{
    //display: inline-block;
    float: left;
    margin: 0;
    width: 35%;
}

form .form-droite{
    //display: inline-block;
    float: right;
    margin: 0;
    width: 64%;
}

form .groupe-champs-tarif table input{
    margin: auto;
    width: 100px !important;
}

form .groupe-champs-tarif table th{
    text-align: center;
}

.ui-autocomplete{
    z-index: 10000;
}

form .groupe-champs-tarif-autocar input{
    margin: auto;
    width: 57px !important;
}

form div.groupe-champs-tarif-autocar input{
    margin-left: 10px;
}

form .groupe-champs-tarif-autocar div.form-group{
    display: inline-block !important;
    margin-bottom: 2px !important;
}

form .groupe-champs-tarif-autocar div.form-group label{
    font-size: 0.8em;
    color: #7C7C7C; 
}

form .groupe-champs-tarif-autocar button{
    color: #7C7C7C;
    font-size: 0.9em;
}

#simulationTable input{
    width: 100px !important;
}

.bootstrap-time{
    .select2-container.form-control{
        display: inline-block !important;
        width: 125px !important;
    }
}

/****************************/
/********* Tableaux *********/
/****************************/


form[name=becfrance_backbundle_duplicationtarifautocar] .table > tbody > tr > th, 
form[name=becfrance_backbundle_duplicationtarifautocar] .table > tfoot > tr > th, 
form[name=becfrance_backbundle_duplicationtarifautocar] .table > thead > tr > td, 
form[name=becfrance_backbundle_duplicationtarifautocar] .table > thead > tr > th,
form[name=becfrance_backbundle_duplicationtarifautocar] .table > tbody > tr > td, 
form[name=becfrance_backbundle_duplicationtarifautocar] .table > tfoot > tr > td {
    border-top: 1px solid #7C7C7C !important;
    border-left: 1px solid #7C7C7C !important;
    border-right: 1px solid #7C7C7C !important;
}

form[name=becfrance_backbundle_duplicationtarifautocar] .table > thead > tr > th {
    border-bottom: 2px solid #7C7C7C !important;
}

#simulationTable thead > tr > th{
    text-align: center;
    width: 200px;
}

#simulationTable tbody > tr > th{
    text-align: right;
}

#simulationTable tbody > tr > td{
    text-align: center;
}

.table-striped > tbody > tr:nth-child(even) > td,
.table-striped > tbody > tr:nth-child(even) > th {
  background-color: white;
}

table th{
    background-color: #F2F2F2;
}

table th, table td{
    vertical-align: middle !important; 
}

.tableau th, .tableau td{
    text-align: center;
}

.table-curved {
   border-collapse: separate;
   border: solid #ccc 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 #ccc 1px;
}
.table-curved td, .table-curved th {
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
}
.table-curved > :first-child > :first-child > :first-child {
    border-radius: 6px 0 0 0;
}
.table-curved > :first-child > :first-child > :last-child {
    border-radius: 0 6px 0 0;
}
.table-curved > :last-child > :last-child > :first-child {
    border-radius: 0 0 0 6px;
}
.table-curved > :last-child > :last-child > :last-child {
    border-radius: 0 0 6px 0;
}

.ui-autocomplete{
    max-height: 250px;
    overflow:auto;
}

#detail-devis{
    padding-left: 30px;
}

.tab-recap-prix td{
    padding-right: 10px !important;
    padding-left: 10px !important;
}

.tab-recap-prix .tab-recap-prix-libelle{
    width: 320px;
}

.tab-recap-prix .tab-recap-prix-montant{
    width: 150px;
}

.tab-recap-prix .tab-recap-prix-vide{
    width: 50px;
    background: none !important;
    border: none;
}

.tab-recap-prix .tab-recap-prix-no-css{
    background: none !important;
    border: none;
    text-align: center !important;
}


/****************************/
/******** Modals box ********/
/****************************/

#duplicationPrixAutocarModal{
    width: 75% !important;
    max-width: 75% !important;
}

@media(max-width:1024px) {
    #duplicationPrixAutocarModal{
        width: 90% !important;
        max-width: 90% !important;
    }
}

#duplicationModal .modal-dialog{
   width: 90% !important;
   max-width: 90% !important;
}

#duplicationModal .modal-dialog{
   height: 780px !important;
}

#duplicationModal .modal-body{
    max-height: 780px !important;
}

#associationEtablissementModal .modal-dialog, #associationProfesseurModal .modal-dialog{
   width: 90% !important;
   max-width: 90% !important;
}

#associationEtablissementModal .modal-dialog, #associationProfesseurModal .modal-dialog{
   height: 780px !important;
}

#associationEtablissementModal .modal-body, #associationProfesseurModal .modal-body{
    max-height: 780px !important;
}


/*****************************/
/*********** Autre ***********/
/*****************************/

h4 span.prix-par-detail{
    font-size: 0.8em !important;
    color: #7C7C7C !important;
}
























