﻿@import url('https://cdn-uicons.flaticon.com/uicons-regular-rounded/css/uicons-regular-rounded.css');
@import url('https://cdn-uicons.flaticon.com/uicons-solid-rounded/css/uicons-solid-rounded.css');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 500px;
}

.colorBlueInfo {
    color: #6495ED;
}

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

.colorRed {
    color: #d9534f;
}

.textOverflow {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100px;
}

@media screen and (min-width: 650px) {
    .modal-lg {
        width: 700px !important;
    }
}

/* Important part */
.modal-dialog {
    overflow-y: initial !important
}

.modal-body-overflow {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}
/*-------------------------------------------------------*/
/*-------------------- LOGIN ----------------------------*/
/*-------------------------------------------------------*/

.CenterLogin {
    margin-left: auto;
    margin-right: auto;
    width: 220px;
}

.SizeFontLogo {
    font-size: 38px;
}

.NoMaxWidth {
    max-width: none !important;
}

/*-------------------------------------------------------*/
/*-------------------- COULEUR CODEX --------------------*/
/*-------------------------------------------------------*/

.colorGrayCODEX {
    color: #9b9b9b;
}

.colorGrayET {
    color: #727272;
}

.colorBlackCODEX {
    color: #4A4A4A;
}


/*-------------------------------------------------------*/
/*-------------------- MATERIAL SEND --------------------*/
/*-------------------------------------------------------*/

.tablescroll {
    overflow-y: auto;
    overflow-x: hidden;
    height: 300px;
}

/*Radio and Checkbox START*/
.checkbox label:after,
.radio label:after {
    content: '';
    display: table;
    clear: both;
}

.checkbox .cr,
.radio .cr {
    position: relative;
    display: inline-block;
    border: 1px solid #a9a9a9;
    border-radius: .25em;
    width: 1.3em;
    height: 1.3em;
    margin-right: .5em;
}

.radio .cr {
    border-radius: 50%;
}

    .checkbox .cr .cr-icon,
    .radio .cr .cr-icon {
        position: absolute;
        font-size: .8em;
        line-height: 0;
        top: 50%;
        left: 20%;
    }

.checkbox label input[type="checkbox"],
.radio label input[type="radio"] {
    display: none;
}

    .checkbox label input[type="checkbox"] + .cr > .cr-icon,
    .radio label input[type="radio"] + .cr > .cr-icon {
        transform: scale(3) rotateZ(-20deg);
        opacity: 0;
        transition: all .3s ease-in;
    }

    .checkbox label input[type="checkbox"]:checked + .cr > .cr-icon,
    .radio label input[type="radio"]:checked + .cr > .cr-icon {
        transform: scale(1) rotateZ(0deg);
        opacity: 1;
    }

    .checkbox label input[type="checkbox"]:disabled + .cr,
    .radio label input[type="radio"]:disabled + .cr {
        opacity: .5;
    }
/*Radio and Checkbox END*/

.align-btn-number {
    width: 150px;
    margin-right: auto;
}

.margin-top-bot-18 {
    margin: 18px 0;
}

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

/*-------------------------------------------------------*/
/*-------------------- BON DE LIVRAISON -----------------*/
/*-------------------------------------------------------*/

.icon {
    font-size: 47px;
    color: #5CB85C;
}

.table > tbody > tr > .emptyrow {
    border-top: none;
}

.table > thead > tr > .emptyrow {
    border-bottom: none;
}

.table > tbody > tr > .highrow {
    border-top: 3px solid;
}

.panel-footer.panel-custom {
    background: White;
}

.destinataire-hauteur {
    min-height: 120px;
}

.background-grey {
    background-color: #dddddd;
}

.padding-top-25 {
    padding-top: 25px;
}


/*-------------------------------------------------------*/
/*------------------- GESTION DES APPELS ----------------*/
/*-------------------------------------------------------*/

.callCellCommentTitle {
    font-weight: normal;
    border-right: none !important;
    border-bottom: none !important;
    border-top: none !important;
}

.callCellCommentInfo {
    font-style: italic;
    border-left: none !important;
    text-align: left !important;
    border-bottom: none !important;
    border-top: none !important;
}

.switch-field {
    overflow: hidden;
}

.switch-title {
    margin-bottom: 6px;
}

.switch-field input {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
}

.switch-field label {
    float: left;
}

.switch-field label {
    display: inline-block;
    width: 150px;
    background-color: #e4e4e4;
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    text-shadow: none;
    padding: 6px 14px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}

    .switch-field label:hover {
        cursor: pointer;
    }

.switch-field input:checked + label {
    background-color: #428bca;
    color: white;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.switch-field label:first-of-type {
    border-radius: 4px 0 0 4px;
}

.switch-field label:last-of-type {
    border-radius: 0 4px 4px 0;
}

/*-------------------------------------------------------*/
/*------------------- GESTION HISTORIQUE ----------------*/
/*-------------------------------------------------------*/

.historyCellCommentTitle {
    font-weight: normal;
    border-right: none !important;
    border-bottom: none !important;
    border-top: none !important;
}

.historyCellCommentInfo {
    font-style: italic;
    border-left: none !important;
    text-align: left !important;
    border-bottom: none !important;
    border-top: none !important;
}


/*-------------------------------------------------------*/
/*------------------- INFOS -----------------------------*/
/*-------------------------------------------------------*/

.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

    .bs-callout h4 {
        margin-top: 0;
        margin-bottom: 5px;
    }

    .bs-callout p:last-child {
        margin-bottom: 0;
    }

    .bs-callout code {
        border-radius: 3px;
    }

    .bs-callout + .bs-callout {
        margin-top: -5px;
    }

.bs-callout-default {
    border-left-color: #777;
}

    .bs-callout-default h4 {
        color: #777;
    }

.bs-callout-primary {
    border-left-color: #428bca;
}

    .bs-callout-primary h4 {
        color: #428bca;
    }

.bs-callout-success {
    border-left-color: #5cb85c;
}

    .bs-callout-success h4 {
        color: #5cb85c;
    }

.bs-callout-danger {
    border-left-color: #d9534f;
}

    .bs-callout-danger h4 {
        color: #d9534f;
    }

.bs-callout-warning {
    border-left-color: #f0ad4e;
}

    .bs-callout-warning h4 {
        color: #f0ad4e;
    }

.bs-callout-info {
    border-left-color: #5bc0de;
}

    .bs-callout-info h4 {
        color: #5bc0de;
    }

/*--------------------------------------------*/
/*------------------- HOME -------------------*/
/*--------------------------------------------*/

.huge {
    font-size: 40px;
}

.panel-green {
    border-color: #5cb85c;
}

    .panel-green > .panel-heading {
        border-color: #5cb85c;
        color: white;
        background-color: #5cb85c;
    }

    .panel-green > a {
        color: #5cb85c;
    }

        .panel-green > a:hover {
            color: #3d8b3d;
        }

.panel-red {
    border-color: #d9534f;
}

    .panel-red > .panel-heading {
        border-color: #d9534f;
        color: white;
        background-color: #d9534f;
    }

    .panel-red > a {
        color: #d9534f;
    }

        .panel-red > a:hover {
            color: #b52b27;
        }

.panel-yellow {
    border-color: #f0ad4e;
}

    .panel-yellow > .panel-heading {
        border-color: #f0ad4e;
        color: white;
        background-color: #f0ad4e;
    }

    .panel-yellow > a {
        color: #f0ad4e;
    }

        .panel-yellow > a:hover {
            color: #df8a13;
        }

.panel-minheight {
    min-height: 125px;
}


.color-red-flat {
    background-color: #CB9999 !important;
}

.color-orange-flat {
    background-color: #FFD272 !important;
}

.color-green-flat {
    background-color: #99CBAA !important;
}

/*--------------------------------------------*/
/*--------------- CONSULTATION ---------------*/
/*--------------------------------------------*/
.grid {
    -moz-column-gap: 1em !important;
    -webkit-column-gap: 1em !important;
    -webkit-column-width: 32em !important;
}

    .grid > .col-lg-6 {
        display: inline-block !important;
        float: none !important;
        padding: .33rem !important;
        width: 100% !important;
    }

.grid-item {
    display: block !important;
    padding: 5px !important;
    position: relative !important;
}

.morris-hover {
    position: absolute;
    z-index: 1000
}

    .morris-hover.morris-default-style {
        padding: 6px;
        color: #666;
        background: rgba(243, 242, 243, 0.8);
        border: solid 2px rgba(195, 194, 196, 0.8);
        font-family: sans-serif;
        font-size: 12px;
        text-align: center
    }

        .morris-hover.morris-default-style .morris-hover-row-label {
            font-weight: bold;
            margin: 0.25em 0
        }

        .morris-hover.morris-default-style .morris-hover-point {
            white-space: nowrap;
            margin: 0.1em 0
        }


/*--------------------------------------------*/
/*--------------- Photo Gallery --------------*/
/*--------------------------------------------*/

.add-photo-card {
    display: flex;
    justify-content: space-between;
}

