﻿/*
    Styles CSS framework MVC.
*/

/*********************************************************************** 
    DÉFINITION DES SECTIONS D'UNE PAGE
*/

.csp-section {
    background-color: transparent;
    /*padding-bottom:30px;*/
}


.csp-section-title {
    border-top: 1px solid #ccc;
    font-size: 16px;
    font-weight: bold;
    padding-top: 5px;
    padding-bottom: 10px;
}

@media screen and (min-width: 750px) {
    .csp-section-title-noHeaderLineForLargeScreen {
        border-top: 0px;
    }
}


    .csp-subsection-title {
        border-top: 1px solid #ccc;
        padding-top: 5px;
        padding-bottom: 10px;
    }

    /*  Non utilisé dans les exemples du prototype
.csp-section-subtitle {
    font-weight: bold;
    font-size: 14px;
    padding-top: 5px;
    padding-bottom:5px;
}
*/

    .csp-section-closed {
        display: none;
    }


    .csp-section-collapsable:hover {
        cursor: pointer;
    }


    .csp-section-collapsable-margin {
        padding-bottom: 20px;
    }

    .csp-section-collapsable-icon {
        padding-right: 5px;
        font-size: 75%;
        font-weight: normal;
    }

    .csp-section-group {
        padding-bottom: 5px;
    }

    /*********************************************************************** 
    DÉFINITION DES CHAMPS DE SAISIE ET DE TEXTES
*/

    .csp-select-width-xsmall {
        width: auto;
        min-width: 40px;
    }

    .csp-select-width-small {
        width: auto;
        min-width: 80px;
    }

    .csp-select-width-medium {
        width: auto;
        min-width: 120px;
    }

    .csp-select-width-large {
        width: auto;
        min-width: 200px;
    }

    .csp-select-width-xlarge {
        width: auto;
        min-width: 300px;
    }

    .csp-select-fill-content {
        width: 100%;
    }


    /*Nouvelle classe*/
    .csp-input-userfield-width-xsmall {
        width: 50px !important;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .csp-input-userfield-width-small {
        width: 100px !important;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .csp-input-userfield-width-medium {
        width: 175px !important;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .csp-input-userfield-width-large {
        width: 250px !important;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .csp-input-userfield-width-xlarge {
        width: 410px !important;
        overflow: hidden;
        text-overflow: ellipsis
    }

    /*TextArea*/
    .csp-input-textarea-width-xsmall {
        width: 50px;
        min-width: 50px;
        scroll;
        text-overflow: ellipsis;
        white-space: pre-wrap;
    }

    .csp-input-textarea-width-small {
        width: 100px;
        min-width: 100px;
        overflow-y: scroll;
        text-overflow: ellipsis;
        white-space: pre-wrap;
    }

    .csp-input-textarea-width-medium {
        width: 175px;
        min-width: 175px;
        overflow-y: scroll;
        text-overflow: ellipsis;
        white-space: pre-wrap;
    }

    .csp-input-textarea-width-large {
        width: 250px;
        min-width: 250px;
        overflow-y: scroll;
        text-overflow: ellipsis;
        white-space: pre-wrap;
    }

    .csp-input-textarea-width-xlarge {
        width: 410px;
        min-width: 410px;
        overflow-y: scroll;
        text-overflow: ellipsis;
        white-space: pre-wrap;
    }

    @media screen and (max-width: 540px) {
        .csp-input-textarea-width-xlarge {
            width: 300px;
            min-width: 300px;
        }
    }


    .csp-input-width-xsmall {
        width: 40px;
    }

    .csp-input-width-small {
        width: 80px;
    }

    .csp-input-width-medium {
        width: 120px;
    }

    .csp-input-width-large {
        width: 200px;
    }

    .csp-input-width-xlarge {
        width: 300px;
    }

    @media screen and (max-width: 350px) {
        .csp-input-width-xlarge {
            width: 250px;
        }
    }

    @media screen and (max-width:767px) {
        .csp-input-width-xlarge {
            width: 100%;
        }
    }

    /*Nouvelle classe Label des Champs Utils - SAO*/
    .csp-input-label-userfield {
        color: #006699 !important;
        font-style: italic;
    }

    .csp-input-label {
        line-height: 24px;
        vertical-align: middle;
        text-align: right;
    }

    .csp-input-label-NoEllipsis {
        text-overflow: initial;
    }
    /*longue libellé, 2 lignes*/
    .csp-input-label-PreLine {
      white-space: pre-line;
    }

    .csp-input-label-error {
        color: #FF0000 !important;
        font-weight: bold;
    }

    .csp-input-label-control {
        line-height: 24px;
    }

    .csp-input-field {   
    margin-bottom: 5px;
    white-space: nowrap;
    }

    .csp-input-field-flat-mode {
        margin-bottom: 5px;
        white-space: nowrap;
        line-height: 24px;
    }

    .csp-input-value {
        line-height: 24px;
        vertical-align: middle;
        text-align: left;
    }

    .csp-input-phone-code {
        width: 36px;
        margin-left: 1px;
        margin-right: 1px;
    }

    .csp-input-phone-number {
        width: 70px;
    }

    .csp-input-phone-extension {
        width: 55px;
    }

    .csp-input-radio {
    }

    .csp-input-radio-value {
        line-height: 24px;
        vertical-align: middle;
        text-align: left;
    }

    .csp-input-textarea {
        margin-bottom: 5px;
        /*   white-space:normal; */
        width: 100%;
    }

    .csp-input-icon {
        line-height: 24px;
        vertical-align: top;
        font-size: 14px;
        padding-left: 5px;
    }

        .csp-input-icon:hover {
            cursor: pointer;
        }

    .csp-input-icon-noHover {
        pointer-events: none !important;
        cursor: none !important;
    }


    .csp-input-list-icon {
        padding-right: 5px;
    }

        .csp-input-list-icon:hover {
            cursor: pointer;
        }



    .csp-input-xtra-field {
        padding-left: 10px;
    }


    .csp-text-block {
        vertical-align: top;
        text-align: right;
    }


    .csp-table-row-remove {
        font-size: 22px;
        cursor: pointer;
    }

    .csp-required-symbol {
        color: red;
        margin-left: 5px;
    }

    .csp-tooltip {
    }

        .csp-tooltip .csp-tooltip-content {
            visibility: hidden;
            background-color: #fff;
            border-color: #aaa;
            border-width: thin;
            border-style: solid;
            border-radius: 5px;
            text-align: left;
            padding: 5px;
            position: absolute;
            width: 150px;
            z-index: 1;
            margin-left: -75px;
            margin-top: -35px;
            box-shadow: 1px 1px 5px #ccc;
            opacity: 0;
            transition: opacity 0.5s;
        }

        .csp-tooltip:hover .csp-tooltip-content {
            visibility: visible;
            opacity: 1;
        }

    .csp-tooltip-content .csp-tooltip-primarytext {
        color: #888;
    }

    .csp-tooltip-content .csp-tooltip-secondarytext {
        color: #000;
    }



/******************************************************************************/
/* Tooltip.
/******************************************************************************/
/* Tooltip */
.tooltip {
    position: relative;
}

.tooltip.inline {
    display: inline;
    position: relative;
}

.label-tooltip > img {
    display: inline;
}

.input-tooltip > img {
    display: none;
}

/* Tooltip bottom */
.tooltip:hover .bottom {
    display: block;
}

.tooltip .bottom {
    width: 300px !important;
    margin: 10px auto;
    padding: 12px;
    text-align: left;
    background-color: #fff;
    font-weight: normal;
    border-radius: 4px;
    position: absolute;
    z-index: 99999999;
    box-sizing: border-box;
    box-shadow: 0 0 6px rgba(0,0,0,0.2);
    display: none;
    white-space: normal;
}

/*Tooltip Right */
.tooltip:hover .right {
    display: block;
    visibility: visible;
    opacity: 1;
}

.tooltip .right {
    width: 300px !important;
    top: 50%;
    left: 100%;
    margin-left: 20px;
    transform: translate(0, -50%);
    padding: 12px;
    background-color: #fff;
    border-radius: 4px;
    position: absolute;
    z-index: 99999999;
    box-sizing: border-box;
    box-shadow: 0 0 6px rgba(0,0,0,0.2);
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.8s;
    white-space: normal;
}

    .tooltip .right i {
        position: absolute;
        top: 50%;
        right: 100%;
        margin-top: -12px;
        width: 12px;
        height: 24px;
        overflow: hidden;
    }

        .tooltip .right i::after {
            content: '';
            position: absolute;
            width: 12px;
            height: 12px;
            left: 0;
            top: 50%;
            transform: translate(50%,-50%) rotate(-45deg);
            background: #fff;
            box-shadow: 0 0 6px rgba(0,0,0,0.2);
        }


@media screen and (min-width: 480px) { 

    .label-tooltip > img {
        display: none;
    }

    .input-tooltip > img {
        display: inline;
    }
}

/*********************************************************************** 
    DÉFINITION DE CLASSES UTILITAIRES
*/

    .csp-align-amount {
        text-align: right;
    }

    .csp-align-numeric {
        text-align: right;
    }
    /* Optionnel - À confirmer*/
    .csp-align-date {
        text-align: left;
    }
    /* Optionnel - À confirmer*/


    .csp-align-col-header-default {
        text-align: center;
    }

    .csp-align-col-header-numeric {
        text-align: center;
    }

    .csp-align-col-header-field {
        text-align: center;
    }

    .csp-align-col-default {
        text-align: left;
    }

    .csp-align-col-numeric {
        text-align: right;
    }

    .csp-align-col-field {
        text-align: left;
    }

    .csp-extra-caption {
        margin-left: 5px;
        margin-right: 5px;
    }

    .csp-padding-left-sm {
        padding-left: 5px
    }

    .csp-padding-left-md {
        padding-left: 10px
    }

    .csp-padding-left-lg {
        padding-left: 15px
    }

/* TODO dead code. */
    .csp-margin-left-sm {
        margin-left: 5px
    }

/* TODO dead code. */
    .csp-margin-left-md {
        margin-left: 10px
    }

/* TODO dead code. */
    .csp-margin-left-lg {
        margin-left: 15px
    }

    .csp-loading-sm {
        font-size: 10px
    }

    .csp-loading-md {
        font-size: 15px
    }

    .csp-loading-lg {
        font-size: 20px
    }

    .csp-loading-xlg {
        font-size: 25px
    }

    .csp-section-title-filter-expand {
        float: left;
        width: 350px;
    }
    /* Ajustement responsive */
    @media screen and ( max-width: 1024px ) {
        .csp-section-title-filter-expand {
            float: left;
            width: 350px;
        }
    }

    @media screen and ( max-width: 768px ) {
        .csp-section-title-filter-expand {
            float: left;
            width: 620px;
        }
    }

    @media screen and ( max-width: 540px ) {
        .csp-section-title-filter-expand {
            float: left;
            width: 320px;
        }
    }

    .csp-section-filter-expand {
        float: left;
        width: 350px;
    }
    /* Ajustement responsive */
    @media screen and ( max-width: 1024px ) {
        .csp-section-filter-expand {
            float: left;
            width: 350px;
        }
    }

    @media screen and ( max-width: 768px ) {
        .csp-section-filter-expand {
            float: left;
            width: 620px;
        }
    }

    @media screen and ( max-width: 540px ) {
        .csp-section-filter-expand {
            float: left;
            width: 350px;
        }
    }

    .csp-section-collapsable-margin-imageright {
        width: 675px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    @media screen and ( max-width: 1024px ) {
        .csp-section-collapsable-margin-imageright {
            width: 675px;
            margin-top: 10px;
            margin-bottom: 10px;
        }
    }

    @media screen and ( max-width: 768px ) {
        .csp-section-collapsable-margin-imageright {
            width: 675px;
            margin-top: 10px;
            margin-bottom: 10px;
        }
    }

    @media screen and ( max-width: 540px ) {
        .csp-section-collapsable-margin-imageright {
            width: 350px;
            margin-top: 10px;
            margin-bottom: 10px;
        }
    }

    .csp-section-collapsable-imageright {
        padding-bottom: 5px;
    }

    @media screen and ( max-width: 1024px ) {
        .csp-section-collapsable-imageright {
            padding-bottom: 5px;
        }
    }

    @media screen and ( max-width: 768px ) {
        .csp-section-collapsable-imageright {
            background: #ddd;
            padding-bottom: 5px
        }
    }

    @media screen and ( max-width: 540px ) {
        .csp-section-collapsable-imageright {
            background: #ddd;
            padding-bottom: 5px
        }
    }



.csp-label-request div:first-child {
    overflow: visible;
    display: inline;
}

.csp-label-request div div:nth-child(2) {
    display: inline;
    margin-left: 10px;

}

    .csp-label-request div div:nth-child(2) div:first-child {
        display: inline;
    }


/*************  Page de paramètres de configuration *******************/
/* WebCustomerConfigApp - UserParametersConfig */
.csp-module-container {
    min-width: 280px;
    padding-top: 10px; 
    margin-top:10px;
}

.csp-module-caption {
    font-weight: 800;
    padding-left: 14px;
}

.csp-sections-container {
    margin-top: 5px !important;
    margin-left: 0px;
    padding: 0 5px 0 5px;
    border-radius: 5px;
}

.csp-functions-container {
    padding: 5px 5px 10px 5px;
    margin-top: 5px !important;
    min-width: 148px;
}

    .csp-functions-container a {
        padding-top: 0px;
        text-decoration: none;
        color: #666666;
    }

.csp-functions-group-title {
    color: #000000 !important;
    font-weight: 600;
    padding-left: 4px;
    display: block;
}

.csp-functions-list {
    margin-top: 5px;
}

    .csp-functions-list li {
        padding: 6px 6px 4px 4px;
        line-height: 1.5;
    }

.csp-functions-container ul li:hover {
    background-color: #E2E4E6;
   
}

.csp-functions-container ul li:hover a{
    color: #404040;
    font-weight: 400;
}
.csp-editiontable-CenterColomn {
    text-align: center;
    column-width: auto;
    margin: 5px;
}
.commentIcon {
    cursor: pointer;
    text-align: center;
    column-width: auto;
    margin: 5px;
}

.csp-icon-advancement {
    height: 15px;
    width: 15px;

}
.csp-div-advance {
    margin: 0px 10px 0px 10px;
}


.csp-date_limit {
    text-align: center;
    color: #F09E00;
    font-weight: 700;
    margin: 5px;
}
.inactiveLink {
    pointer-events: none;
    cursor: default;
    opacity: 0.6;
}
/*tooltip contient des liens*/
.tooltiplink {
    position: relative;
    display: inline-block;
    border-color: #B0B0B0;
}

    .tooltiplink .tooltiplinktext {
        visibility: hidden;
        width: 266px;
        background-color: white;
        line-height: 20px;
        color: black;
        z-index: 1;
        top: -5px;
        left: 140%;
        padding: 12px 12px 12px 12px;
        border-radius: 6px;
        position: absolute;
        border-color: #B0B0B0;
        border-style: solid;
        border-width: 1px;
        font-size: 12px !important;
        font-weight: normal !important;
        text-align: left !important;
        white-space: normal;
    }

    .tooltiplink .tooltiplinktext:after {
        content: "";
        position: absolute;
        top: 5%;
        right: 100%;
        border-width: 7px;
        border-style: groove;
        border-color: transparent #B0B0B0 transparent transparent;
    }

    .tooltiplink:hover .tooltiplinktext {
        visibility: visible;
    }

/*tooltip contient des liens a gauche*/
.tooltiplinkLeft {
    position: relative;
    display: inline-block;
    border-color: #B0B0B0;
}

    .tooltiplinkLeft .tooltiplinktextLeft {
        visibility: hidden;
        width: 266px;
        background-color: white;
        line-height: 20px;
        color: black;
        z-index: 1;
        top: -5px;
        right: 140%;
        padding: 12px 12px 12px 12px;
        border-radius: 6px;
        position: absolute;
        border-color: #B0B0B0;
        border-style: solid;
        border-width: 1px;
        font-size: 12px !important;
        font-weight: normal !important;
        text-align: left !important;
        white-space: normal;
    }

    .tooltiplinkLeft .tooltiplinktextLeft:after {
        content: "";
        position: absolute;
        top: 5%;
        left: 100%;
        border-width: 7px;
        border-style: groove;
        border-color: transparent #B0B0B0 transparent transparent;
    }

    .tooltiplinkLeft:hover .tooltiplinktextLeft {
        visibility: visible;
    }
/*Ajouter une signe $ au textbox comme span*/
.currencyinput {
    border: 1px solid #ddd;
    display: flex !important;
    background: white;
}

    
    .currencyinput:focus-within {
        outline: auto;
    }

    .currencyinput div {
        width: 100% !important;
    }

    .currencyinput::before {
        padding: 100%;
    }

    .currencyinput::after {
        display: inline-block;
        content: "$";
        padding-top: 4px;
        padding-right: 2px;
    }

    .currencyinput input {
        border: 0;
        box-shadow: none;
        width: 100% !important;
    }

        .currencyinput input:focus {
            outline: none;
            border: hidden;
        }

        .currencyinput input:not(:focus) {
            outline: none;
            border: hidden;
        }

    .currencyinput.disabled {
        background-color: #eeeeee;
    }



/*Ajouter une signe H au textbox comme span*/
.hourinput {
    border: 1px solid #ddd;
    display: flex !important;
    background: white;
}


    .hourinput:focus-within {
        outline: auto;
    }

    .hourinput div {
        width: 100% !important;
    }

    .hourinput::before {
        padding: 100%;
    }

    .hourinput::after {
        display: inline-block;
        content: "H";
        padding-top: 4px;
        padding-right: 2px;
    }

    .hourinput input {
        border: 0;
        box-shadow: none;
        width: 100% !important;
    }

        .hourinput input:focus {
            outline: none;
            border: hidden;
        }

        .hourinput input:not(:focus) {
            outline: none;
            border: hidden;
        }

    .hourinput.disabled {
        background-color: #eeeeee;
    }

.csp-with-large-1-8 {width: 100%;}
@media (min-width: 768px) {
    .csp-with-large-1-8 {
        width: 25%;
    }
}
@media (min-width: 970px) {
    .csp-with-large-1-8 {
        width: 12%;
    }}

.DivComment{
    width: 26px;
    margin-left: 3px;
}

.tdborder{
    border: solid white 1px;
}
.trashClass {
    margin-left: 8px;
}
.radio-label-bold {
    font-weight: bold;
}
.hidden-row {
    display: none !important;
}
.cardBoxForEditionTable {
    background: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.07);
    border: 3px solid transparent;
    margin-bottom: 15px !important;
    margin-left: 25px !important;
    padding: 20px;
    width: 98.3%;
}