/* start fixing focused input hidden behind the fixed menu */
body{
    /*padding-top: 60px;*/
}
html, body {
    overflow: hidden;
    height: 100%;
}
.table{
    font-size: 12px;
}
body > div:first-child{
    /*padding-top: 50px;*/
    /*height: 100%;*/
    overflow: auto;
}
/* end fixing focused input hidden behind the fixed menu */

@media (min-width: 992px) {
    .modal-lg {
        width: 90%;
    }
}

h1{
    color: #fc980f;
    border-bottom: 1px #05569e solid;
    margin: 10px 0;
}

#form_login_container{
    /*margin-top: 20px;*/
}

.front-page{
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 100px;
}

#team .img-illustration{
    width:175px;
    height:175px;
    background-size: 400% 400%;
    border-radius: 100px;
    margin: 0 auto;
}
#team img{
    width: 150px;
    height: 150px;
}

.front-page li{
    list-style-type: none;
}

.elem-margin{
    margin: 10px;
}

.elem-padding {
    padding: 10px;
}

#padding-0 a{
    padding: 0;
    padding-top: 1px;
    padding-right: 2px;
    padding-bottom: 1px;
    padding-left: 2px;
    min-width: 0px;
}

html, body, .degrade {
    background-image:linear-gradient(to right, white, #5a8ebd);
}

.degrade2 {
    background-image:linear-gradient(to right,  #fbb352, white);
}

ul.nav.navbar-nav li  span{
    background: #fbb352;
}

ul.nav.navbar-nav li a {
    padding-top: 10px;
    padding-bottom: 10px;
}

#contenu .col-xs-12 > .box > .box-header{
    text-align: center;
}

.nav-tabs-custom>.nav-tabs>li.active>a{
    background-image:linear-gradient(to right,  #fbb352, white);
}

#contenu{
    /*margin-bottom: 2vw;*/
    margin-left: 2vw;
    margin-right: 2vw;
    border: 1px solid;
    /*margin-top: 50px;*/
    min-height:100%;
}

.box{
    background-color: transparent;
}



/* Form horizontal */
.radio,
.checkbox,
.radio-inline,
.checkbox-inline {
    padding-top: 7px;
    margin-top: 0;
    margin-bottom: 0;
}
.radio,
.checkbox {
    min-height: 27px;
}
/*.form-group {
    margin-right: -15px;
    margin-left: -15px;
}*/
@media (min-width: 768px) {
    .form-inline .form-control {
        width: inherit !important;
    }
}
@media (min-width: 768px) {
    .control-label {
        padding-top: 7px;
        margin-bottom: 0;
        text-align: right;
    }
}
.has-feedback .form-control-feedback {
    right: 15px;
}
@media (min-width: 768px) {
    .form-group-lg .control-label {
        padding-top: 11px;
        font-size: 18px;
    }
}
@media (min-width: 768px) {
    .form-group-sm .control-label {
        padding-top: 6px;
        font-size: 12px;
    }
}

/* Reset form */
.form-label-left{
    text-align: left;
}

/* Generic form */
input[type='submit']{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.addForm .form-group{
    margin-bottom: 0;
}

.addForm .form-group.row{
    width: 100%;
    margin: auto 0 0 0;
}
.form-group.row::after{
    display: block;
    content: "";
    clear: both;
}

input[type='checkbox'].regular-checkbox{
    float:left;
    margin-left: 15px;
    margin-top: 7px;
}

textarea[readonly]{
    background-color: rgb(235, 235, 228);
}

/* List */
.listTable > tbody > tr:nth-of-type(2n+1), #listCandidature > tbody > tr:nth-of-type(2n+1){
    background-color: transparent;
}
.listTable > thead > tr > th{
    text-align: center;
}
.dataTables_length{
    margin-top: 20px;
}
.table-selectable thead tr:first-child th:first-child{
    width: 10px;
}
/*.listTable td > .btn{
    vertical-align: middle;
}*/

/* Generic page */
#contenu{
    font-size: 0.8em;
}

/* modal */
.modal{
    font-size: 0.8em;
}


/* menu */
.nav-wil .dropdown-submenu a{
    width: 100%;
}


/* login */
#form_login_container input:not([type="checkbox"]), #form_login_container label:not([for="remember_me"]){
    width: 100%;
}

/* candidature */
#documentsCandidature table thead td{
    font-weight: bold;
}

#documentsCandidature table:not(.tableAutres) tbody td:nth-child(2){
    width: 300px;
}

#documentsCandidature table.tableAutres tbody td:nth-child(1){
    width: 300px;
}

[id^="scans"] td{
    width: auto;
}

.temps-navigations th, .temps-navigations td{
    width: 50%;
}

#addCandidature #navigations-list tbody{
    font-size: 0.7em;
}

/* For phone number */
/*.iti-flag {background-image: url("path/to/flags.png");}*/

/* Select2 */
.select2-container--open .select2-dropdown--below{
    font-size: x-small;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    padding-right: 0;
    margin-top: -4px;
}

.select2-container--default .select2-results__option[aria-disabled=true] {
    display: none;
}

/* Scan */
#scan_unique td{
    vertical-align: top;
}


/* Read forms */
#view-form-buttons-container{
    position: absolute;
    right: 5px;
    top: 5px;
}
.view-form-element-edit-button{
    position: absolute;
    right: -20px;
    /*top: 5px;*/
}

form[read-form="true"] input[type="submit"], form[read-form="true"] .btn:not(.btn-view){
    display: none;
}
form[read-form="true"] input.form-control, form[read-form="true"] select.form-control, form[read-form="true"] textarea.form-control{
    background-color: white;
}
form[read-form="true"] .btn{
    /* TODO do not print */
}

    /* content */
div#alert-box{
    /*float: right;*/
    /* if it doesn't play well with other floating elements, switch to position absolute */
}

/* input type file fixing */
#previous-file a{
    display:none;
}
input[type="file"]{
    overflow: hidden;
}

/* Exigence documentaire */
#form-filter-exigence-documentaire *{
    /*float: left;*/
}
#form-filter-exigence-documentaire::after{
    /*content: "";
    display: block;
    clear: both;*/
}

/* table */
table.dataTable tbody th, table.dataTable tbody td{
    padding: 2px;
}

/* shape */
.circle{
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 20px;
}
.bg-green{
    background-color: #00a65a;
}
.bg-red{
    background-color: #dd4b39;
}
.bg-orange{
    background-color: orangered;
}
.bg-yellow{
    background-color: yellow;
}
.bg-blue{
    background-color: #0000ff;
}
.circle.bg-green{
    color: #00a65a !important;
}
.circle.bg-red{
    color: #dd4b39 !important;;
}
.circle.bg-orange{
    color: orangered !important;;
}
.circle.bg-yellow{
    color: yellow !important;;
}
.circle.bg-blue{
    color: #0000ff !important;;
}

/* datatable */
td.details-control{
    background: url('../img/details_open.png') no-repeat center center;
    cursor: pointer;
    min-width: 30px;
}
tr.shown td.details-control {
    background: url('../img/details_close.png') no-repeat center center;
}
th.forExport, td.forExport{
    display: none;
}

.float-container::after{
    content: "";
    display: block;
    clear: both;
}
.left{
    float: left
}

.inline-space:not(:last-child){
    margin-right: 5px;
}

.listTable{
    /*word-break: break-all;*/
}

/* dt and dd */
.dl-horizontal dt {
    float: left;
    width: 160px;
    overflow: hidden;
    clear: left;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dl-horizontal dd {
    margin-left: 180px;
}

/* popover */
.popover-content{
    overflow: auto;
}

/*box*/
.box-main{
    margin-bottom: 0;
}

/* Generic */
.strikeout{
    text-decoration: line-through;
}