/* 
    Created on : 5 mai 2014, 12:35:06
    Author     : Maxime CORSON <maxime.corson@spyrit.net>
*/

/* Structure */

body {
    background: #F7F7FA;
    /* font-family: 'latoregular', 'sans sherif', arial; */
    font-family: 'latolight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7em;
    color: #506B86;
}

.navbar {
    background: #FFFFFF;
    border-bottom: 1px solid #ECECEC;
    box-shadow: 0px 0px 1px #ECECEC;
}

#footer {
    background: #2c3e50;
    min-height: 250px;
    margin-top: 40px;
    color: #506B86;
    border-bottom: 10px solid #182736;
}

#footer footer {
    margin: 35px 0;
}

h1, h2, h3, h4, h5, h6, h7 {
    font-family: 'latolight', 'sans sherif', arial;
    margin-top: 5px;
    margin-bottom: 20px;
    color: #e67e22;
}
h3 small {
    font-size: 18px;
    font-weight: bold;
    display: block;
    margin: 10px 0 0 0;
}

.block {
    min-height: 20px;
    padding: 17px;
    margin-bottom: 20px;
    background-color: #FFFFFF;
    border-radius: 3px;
    border: 1px solid #ECECEC;
    border-bottom: 3px solid #ECECEC;
}

.block.transparent {
    background-color: transparent;
    border: none;
}

.block.skinny {
    padding: 0;
}

/* Formulaires */

.form-control {
    border-radius: 2px;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.form-group-has-error .help-block,
.form-group.has-error .help-block,
tr.has-error .help-block, 
tr.has-error label.control-label {
    color: #e67e22;
    margin-bottom: 0;
    line-height: 1.3em;
}

.has-error .selectize-control.single .selectize-input, 
.has-error .selectize-dropdown.single{
    border-color: #e67e22;
}

.form-group.has-error .control-label {
    color: inherit;
}

.form-group-has-error .form-control,
.form-group.has-error .form-control {
    border-color: #e67e22;
}

.form-group-has-error ul,
.form-group.has-error ul,
tr.has-error ul{
    padding-left: 0;
    margin-bottom: 0;
}

.form-group-has-error ul li,
.form-group.has-error ul li,
tr.has-error ul li{
    list-style: none;
}

.input-group-addon {
    background-color: #FAFAFA;
    border-radius: 2px;
}

.has-error .input-group-addon {
    color: #E67022;
    background-color: #FFF0E4;
    border-color: #e67e22;
}

.selectize-control {
    margin-bottom: -10px;
}

label {
    font-weight: normal;
}

.btn {
    border-radius: 2px;
}

.btn.btn-primary {
    background: #e67e22;
    border: none;
    border-bottom: 2px solid #d35400;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus, 
.btn.btn-primary:active, 
.btn.btn-primary.active, 
.open .dropdown-toggle.btn-primary {
    background: #EB964C;
    border-color: #D37D44;
}

.btn.btn-success {
    background: #1abc9c;
    border: none;
    border-bottom: 2px solid #16a085;
}

.btn.btn-success:hover,
.btn.btn-success:focus, 
.btn.btn-success:active, 
.btn.btn-success.active, 
.open .dropdown-toggle.btn-success {
    background: #16a085;
    border-color: #148871;
}

.btn.btn-info {
    background: rgba(57, 57, 142, 1);
    border: none;
    border-bottom: 2px solid rgb(49, 49, 102);
}

.btn.btn-info:hover,
.btn.btn-info:focus, 
.btn.btn-info:active, 
.btn.btn-info.active, 
.open .dropdown-toggle.btn-info{
    background: rgb(71, 71, 187);
    border-color: rgb(64, 64, 154);
}

.btn.btn-default {
    background: #95a5a6;
    border: none;
    border-bottom: 2px solid #7f8c8d;
    color: white;
}

.btn.btn-default:hover,
.btn.btn-default:focus, 
.btn.btn-default:active, 
.btn.btn-default.active, 
.open .dropdown-toggle.btn-default {
    color: white;
    background: #A2AEAF;
    border-color: #919C9C;
}

.btn.btn-danger {
    background: #e74c3c;
    border: none;
    border-bottom: 2px solid #c0392b;
}

.btn.btn-danger:hover,
.btn.btn-danger:focus, 
.btn.btn-danger:active, 
.btn.btn-danger.active, 
.open .dropdown-toggle.btn-danger {
    background: #c0392b;
    border-color: #922B20;
}

.btn.big {
    width: 50%;
    line-height: 2em;
}

.btn-lg {
    font-size: inherit;
}

.btn-group .dropdown-menu > li.primary-bg > a:hover, 
.btn-group .dropdown-menu > li.primary-bg > a:focus,
.btn-group .dropdown-menu > li.warning-bg > a:hover, 
.btn-group .dropdown-menu > li.warning-bg > a:focus {
    color: white;
    background-color: #e67e22;
}

.btn-group .dropdown-menu > li.default-bg > a:hover, 
.btn-group .dropdown-menu > li.default-bg > a:focus {
    color: white;
    background-color: #95a5a6;
}

.btn-group .dropdown-menu > li.info-bg > a:hover, 
.btn-group .dropdown-menu > li.info-bg > a:focus {
    color: white;
    background-color: #59A7DB;
}

.btn-group .dropdown-menu > li.success-bg > a:hover, 
.btn-group .dropdown-menu > li.success-bg > a:focus {
    color: white;
    background-color: #1abc9c;
}

.btn-group .dropdown-menu > li.danger-bg > a:hover, 
.btn-group .dropdown-menu > li.danger-bg > a:focus {
    color: white;
    background-color: #e74c3c;
}

.dropdown-menu {
    background-color: #fff;
    border: 1px solid #DADADA;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}

.dropdown-menu .divider {
    margin: 6px 0;
}

fieldset legend {
    padding-bottom: 7px;
    border-bottom: 1px solid #eee;
}


.dl-horizontal dt, 
.dl-horizontal dd {
    margin-bottom: 5px;
}

/* Datetime picker */

.xdsoft_datetimepicker {
    font-family: inherit;
    border-radius: 2px;
    border-color: rgb(226, 226, 226);
    font-family: inherit;
}


/* General / Global */

.alert {
    padding: 7px 15px;
    font-size: 0.9em;
    line-height: 1.5em;
    border: none;
    border-radius: 2px;
}

.alert.alert-danger {
    background-color: #e74c3c;
    border-bottom: 2px solid #c0392b;
    color: white;
}

.alert.alert-success {
    background-color: #1abc9c;
    border-bottom: 2px solid #16a085;
    color: white;
}

.alert.alert-info{
    background-color: #3498db;
    border-bottom: 2px solid #2980b9;
    color: white;
}

.alert.alert-warning {
    background-color: #e67e22;
    border-bottom: 2px solid #d35400;
    color: white;
}

hr.invisible {
    margin-top: 10px;
    margin-bottom: 10px;
}

.info-bulle,
.info-bulle-autre-etablissement {
    padding: 5px 3px;
}

.popover {
    border-radius: 3px;
    font-size: 0.95em;
    line-height: 1.6em;
    border: 1px solid #1473BB;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .05);
    min-width: 195px;
    max-width: 290px;
    padding: 0;
    transform: translateX(10%);
    left: 0 !important;
}
.popover.bottom {}
.popover.bottom .popover-content {
    background: #E3F5FF;
    color: #1473BB;
    font-size: 14px;
    text-align: center;
}

.popover.bottom .popover-content i {
    display: inline-block;
    margin-right: 5px;
}

.popover.bottom > .arrow {
    border-bottom-color: #1473BB;
    left: 15% !important;
}
.popover.bottom > .arrow:after {
    border-bottom-color: #E3F5FF
}

.popover.right {
    margin-left: 18px;
}

.popover-title {
    background-color: #FCFCFC;
    border-color: #F3F3F3;
    font-size: 1em;
}

.popover.right > .arrow {
    border-right-color: #ECECEC;
    border-right-color: #ECECEC;
}

/* Login */

#login.block {
    margin-top: 30%;
    margin-bottom: 50%;
}
#login.row {
    margin-top: 5%;
    margin-bottom: 5%;
}

/* Menu */

.navbar-brand img {
    height: 50px;
    margin-top: -15px;
}

.nav > li > a:hover, 
.nav > li > a:focus {
    background-color: whitesmoke;
}

ul.nav.navbar-nav li.active a:hover,
ul.nav.navbar-nav li.active a {
    background-color: #e67e22;
}

ul.nav.navbar-nav li.active a {
    color: white;
}

.navbar-toggle {
    font-size: 1.2em;
    line-height: 1em;
    color: #e67e22;
}

.navbar-toggle.collapsed {
    color: #506B86; 
}

/* table */

th {
    font-weight: normal;
}

.table tr[data-href],
.table tr[data-fancybox-href]{
    cursor: pointer;
}

.table tr[data-href] td.disable-link,
.table tr[data-fancybox-href] td.disable-link{
    cursor: default;
}

.table tr th,
strong {
    font-family: 'latoregular', 'Helvetica Neue', Helvetica, Arial, sans-serif; 
}

.table-bordered,
.table > thead > tr > th, 
.table > tbody > tr > th, 
.table > tfoot > tr > th, 
.table > thead > tr > td, 
.table > tbody > tr > td, 
.table > tfoot > tr > td {
    border-color: #F3F3F3;
}

.table > thead > tr > th, 
.table > tbody > tr > th, 
.table > tfoot > tr > th, 
.table > thead > tr > td, 
.table > tbody > tr > td, 
.table > tfoot > tr > td {
    padding: 5px 10px;
}

.table-hover > tbody > tr:hover > td, 
.table-hover > tbody > tr:hover > th{
    background-color: #FFFCF9;
}

.block.skinny .table {
    margin-bottom: 0;
    border: none;
}

.table.evaluation th {
    font-family: inherit;
}

.table.evaluation > thead > tr > th, 
.table.evaluation > tbody > tr > th, 
.table.evaluation > tfoot > tr > th, 
.table.evaluation > thead > tr > td, 
.table.evaluation > tbody > tr > td, 
.table.evaluation > tfoot > tr > td {
    padding: 8px;
}

.center-block {
    float:none;
}

.fancybox-overlay {
    background: rgba(255,255,255,0.5);
}

.big-text {
    font-size: 1.6em;
    line-height: 1.3em;
}

.text-disabled {
    color: #919C9C;
    text-decoration: line-through;
}

.text-success {
    color: #5cb85c;
}

.label.label-normal {
    font-size: 90%;
}

.list-group {
    border: 1px solid #ECECEC;
    border-bottom: 3px solid #ECECEC;
}

.list-group-item {
    border: none;
}

.list-group .list-group-item.active {
    background-color: rgba(57, 57, 142, 1);
    border-color: rgb(49, 49, 102);
}
.list-group .list-group-item.active:hover,
.list-group .list-group-item.active:focus,
.list-group .list-group-item.active:active {
    background-color: rgb(36, 36, 90);
}

a.list-group-item:hover, a.list-group-item:focus {
    background-color: #FCFCFC;
    color: #e67e22;
}

a.list-group-item.disabled, a.list-group-item.disabled {
    background-color: white;
    color: #BBB;
}

a.list-group-item.disabled:hover, a.list-group-item.disabled:focus {
    cursor: not-allowed;
    color: #BBB;
    background-color: white;
}

.mr0 { margin-right: 0px; }
.mr10 { margin-right: 10px; }
.mr20 { margin-right: 20px; }
.mr30 { margin-right: 30px; }
.mr40 { margin-right: 40px; }
.mr50 { margin-right: 50px; }
.mr60 { margin-right: 60px; }

.mt0 { margin-top: 0px; }
.mt10 { margin-top: 10px; }
.mt20 { margin-top: 20px; }
.mt30 { margin-top: 30px; }
.mt40 { margin-top: 40px; }
.mt50 { margin-top: 50px; }
.mt60 { margin-top: 60px; }

.mb0 { margin-bottom: 0px; }
.mb10 { margin-bottom: 10px; }
.mb20 { margin-bottom: 20px; }
.mb30 { margin-bottom: 30px; }
.mb40 { margin-bottom: 40px; }
.mb50 { margin-bottom: 50px; }
.mb60 { margin-bottom: 60px; }

.ml0 { margin-left: 0px; }
.ml10 { margin-left: 10px; }
.ml20 { margin-left: 20px; }
.ml30 { margin-left: 30px; }
.ml40 { margin-left: 40px; }
.ml50 { margin-left: 50px; }
.ml60 { margin-left: 60px; }

.pt10 { padding-top: 10px; }

.w100 { width: 100%; }

.white-space-normal {
    white-space: normal;
}

.background-color-modal {
    background-color: #0908087a;
}

.modal-vertical-centered {
    text-align: center;
    padding: 0!important;
}

.modal-vertical-centered:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -4px;
}

.modal-vertical-centered-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

.outline-paragraph {
    border: 1px solid #dce2e7;
    padding: 10px;
}

.pl-0 {
    padding-left: 0px !important;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-container h1 {
    margin: 0;
}

@media (min-width: 768px) {
    .dl-horizontal-custom dt {
        float: left;
        width: 100px;
        clear: left;
        text-align: right;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .dl-horizontal-custom dd {
        margin-left: 155px;
    }
}


