﻿body, html {
    height: 100%;
}

.detail-commande-client-modal .modal-dialog,
.detail-commande-cloos-modal .modal-dialog,
.new-communication-client-modal .modal-dialog,
.new-communication-cloos-modal .modal-dialog,
.detail-communication-client-modal .modal-dialog,
.detail-communication-cloos-modal .modal-dialog {
    width: 90%;
}

#single-page-container {
    height: 100%;
}

/*
    Login
*/
.login-ui {
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-image: url("../Img/LoginBackground.jpg");
}

.login-ui .btn-success.blue {
    background-color: #336eff;
    border-color: #244fb8;
}

.login-ui .btn-success.blue:hover,
.login-ui .btn-success.blue:focus,
.login-ui .btn-success.blue.focus,
.login-ui .btn-success.blue:active,
.login-ui .btn-success.blue.active {
    background-color: #2563fc;
    border-color: #1443b7;
}

/*
    Liste
*/
.list-ui {
    height: 100%;
    width: 100%;
}

    .list-ui footer {
        background-color: #efefef;
        margin-top: 20px;
        padding-bottom: 20px;
        padding-top: 20px;
    }

    .list-ui footer {
        font-size: 10px;
    }

/*
    Messages
*/
.messagecloud {
    margin: 15px;
    padding: 10px;
    border: 1px solid #b1aeae;
}

    .messagecloud.me {
        margin-right: 50px;
        background-color: #e6ffdc;
    }

    .messagecloud.them {
        margin-left: 50px;
        background-color: #e8e8e8;
    }

    .messagecloud .ethere {
        color: #ababab;
        text-align: right;
    }

    .messagecloud .name {
        font-weight: bold;
    }

    .messagecloud .contenu::first-line {
        font-style: italic;
    }

/*
    Modals
*/
.modal.newcommunication button.envoyer {
    margin-top: 20px;
    width: 100%;
}

.modal.detailcommunication button.envoyer,
.modal.detailcommunication .cloturer {
    width: 100%;
    margin: 2px;
}

.modal button.envoyer {
    height: 80px;
    border-color: #9cc2e3;
    background-color: #9cc2e3;
}

.modal.detailcommunication .messageboard {
    overflow-y: scroll;
    max-height: 650px;
}

.modal.detailcommunication .modal-lg {
    width: 95%;
}

.limited.greyed {
    color: darksalmon;
}

/*
    Global
*/
.rounded {
    border-radius: 10px;
    background: #000;
}

.b {
    font-weight: bold;
}

.glyphicon.spinning {
    animation: spin 1s infinite linear;
    -webkit-animation: spin2 1s infinite linear;
    -moz-animation: spin2 1s infinite linear;
    padding-right: 0;
}

.listecommande thead tr th:last-child,
.listecommande tbody tr td:last-child {
    width: 80px;
}

.listeconversation tr {
    height: 40px;
}

.listeconversation .icons {
    text-align: center;
    width: 80px;
}

.alert {
    margin-top: 20px;
}

div.alert-container {
    position: fixed;
    top: 0;
    right: 0;
    opacity: 0.9;
    z-index: 9999;
    padding: 10px;
}

.messagebox {
    max-height: 200px;
    overflow-y: scroll;
}

.navbar-brand.clooslogo {
    margin: 5px;
    padding: 5px;
    padding-left: 15px;
}

.wholepage {
    border-left: 1px solid #e7e7e7;
    margin: 0 0 100px 0;
    padding: 0 0;
    position: inherit;
}

.dataTable .odd {
    background-color: #f2f2f2;
}

table.dataTable.display tbody tr.even > .sorting_1, table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
    background-color: #fafafa;
}

table.dataTable.display tbody tr.odd > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
    background-color: #f1f1f1;
}

.dataTable th {
    padding-right: 20px;
}

.dataTable td {
    padding-right: 20px;
}

.dataTables_filter {
    float: left;
}

.fleche.lien {
    font-size: 15pt;
    padding: 5px;
}

td div {
    padding: 5px;
}

.alert-wrapper {
    max-height: 200px;
    overflow-y: scroll;
}

.menu-client-selector {
    margin: 15px 0 5px 20px;
}

/*
    Media
*/
@media (min-width: 768px) {
    .collapse.dont-collapse-sm {
        display: block;
        height: auto;
        visibility: visible;
    }

    table.collapse.dont-collapse-sm {
        display: table;
        height: auto;
        visibility: visible;
    }
}

@media (max-width: 768px) {
    div.alert-container {
        width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    div.alert-container {
        width: 80%;
    }
}

@media (min-width: 1201px) {
    div.alert-container {
        width: 50%;
    }
}

@media (min-width: 800px) {
    .panel-body {
        padding: 15px 30px 15px 30px;
    }
}