/*
 *  Document principal correction
 */
html, body{ height: 100%; }
main{ 
    opacity: 0;
    display: none;
    position: relative;
    min-height: 100%;
    padding-bottom: 80px;
}
header{
    background: url('../img/header.jpg') no-repeat left top;
    background-size: cover;
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://mc.alpagroupe.fr/ressources/img/header.jpg', sizingMethod='scale')";
}
footer{
    color: #BBB;
    text-align: center;
    font-size: 12px;
    position: absolute;
    bottom: 0px;
    width: 100%;
}
footer > div{
    color: #9D9D9D;
    display: inline-block;
    padding-bottom: 15px;
}
footer hr{ margin: 0; }

/*
 *  Logo
 */
.logo{ margin-left: 30%; }
.logo-client{ margin-left: 5%; }

.inline{ display: inline-block; }

/*
 *  Table with content line data
 */
.content-line { cursor: pointer; }
.content-line td { transition: all 0.3s linear; }
.content-line.active td { 
    background-color: #ddd !important;
    transition: all 0.2s linear;
}
.content-line td, .content-line td span{ 
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/*
 *  Modal loader for loaded blank
 */
#modal-loader{
    position: absolute;
    top: 10px;
    width: 100%;
}
/*
 *  Bootstrap select style correction
 */
.bootstrap-select.btn-group, .bootstrap-select.btn-group[class*="span"] {
    margin-bottom: 0px !important;
}
.bootstrap-select .btn.active, .bootstrap-select .btn:active{
    box-shadow: 0 0 0 transparent inset;
    border: 1px solid #d4d4d4;
}

/*
 *  Connexion dropdown
 */
.dropdown-connexion-wrapper{
    padding: 15px;
    width: 350px;
}
.dropdown-connexion-wrapper .form-group{ margin-bottom: 0px !important; }
.dropdown-connexion-wrapper .list-group-item .badge{
    margin-top: 3px;
}

/*
 *  Search bar in navbar
 */
#search{ color: white; }
#search:-ms-input-placeholder { color: #ccc; }
#search::-webkit-input-placeholder { color: #ccc; }
#search:-moz-placeholder, #search::-moz-placeholder{ color: #ccc; }
#search{
    width: 300px;
    margin: 10px 15px;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    border-color: white;
    border-radius: 0px;
}

/*
 * Chat principal
 */
.suivi-left, .suivi-right{ margin: 15px 0; }
.suivi-right{ text-align: right; }
.suivi-left .popover, .suivi-right .popover{
    display: inline-block;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-shadow: 0px 0px 0px;
    z-index: 1030;
}
.suivi-left .popover, .suivi-right .popover{ z-index: 999; }
.suivi-left .popover{ background: #F5F5F5; }
.suivi-right .popover{
    background: #2CACDF;
    color: white;
}
.suivi-left .arrow{ left: 5% !important; }
.suivi-left .arrow:after{ border-bottom-color: #F5F5F5 !important; }
.suivi-right .arrow{ left: 95% !important; }
.suivi-right .arrow:after{ border-bottom-color: #2CACDF !important; }

/*
 *  Accueil dashboard
 */
.dash h3{
    display: inline-block;
    margin: 0px auto;
    padding: 21px 0;
    width: 70px;
    border-radius: 50%;
    text-align: center;
    margin: -25px 0;
}
.dash .panel-heading{ color: #fff; }
.dash table{
    table-layout:fixed;
}
.dash table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.panel > .panel-heading a:not(.btn){
    text-decoration: none;
    color: #333;
}
.panel > .panel-heading a:hover{ text-decoration: none; }

/*
 * Modal footer correction
 */
.modal-footer{
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    padding:10px 20px;
    margin: 0;
}
.modal-footer .btn{ min-width: 100px; }
.modal-header{
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
}

/*
 * Show password button style
 */
label.btn-show-password{
    position: absolute !important;
    top: 5px;
    right: 15px;
    color: #999 !important;
}
input.btn-show-password + label.btn-show-password:before{ content: "\f06e" !important; }
input.btn-show-password:checked + label.btn-show-password:before{ content: "\f070" !important; }

/*
 *  Input groupe second addon border dorrection
 */
.input-group-addon:not(:first-child):not(:last-child){
    border-left: 0px;
    border-right: 0px;
}

/*
 *  Contact PDF viewer correction
 */
#modal-help .modal-dialog   { height: 95%; }
#modal-help .modal-content  { height: 100%; }
#modal-help .modal-body     { padding: 0; height: 96%; }
#modal-help .modal-content, #modal-help .modal-header, #modal-help .modal-body  { background-color: #ccc !important; }
#modal-help .close{ color: white; opacity: .8; margin-top: -10px; }
#modal-help iframe{
    width: 100%;
    height: 100%;
    border: 0;
}

.file-input-wrapper.btn-default.custom-file-input {
    color: #fff;
    background-color: lightblue;
    border-color: transparent;
    margin-bottom: 20px;