﻿/* Fichier des styles visuels pour la composante d'onglets */

.cspcgitab {
    display: inline-block;
    white-space: nowrap;
    background-color: white;
    padding: 0px;
    margin: 0px; /* Override de UI-Kit */
    cursor: pointer;
}

.cspcgitab-merged {
    display: inline-block;
    white-space: nowrap;
    background-color: white;
    padding: 0px;
    width: auto;
    margin: 0px; /* Override de UI-Kit */
}

.cspcgitab-merged li {
    list-style-type: none;
    padding: 15px;
}

.cspcgitab-end {
    clear: both;
}

.tab-item {
    display: inline-block;
    transition: background-color 0.5s;
    margin-left: 2px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.tab-item:first-child {
    margin-left: 0px;
}

.tab-item:hover {
    transition: background-color 0.5s;
}

.tab-plus {
    transition: background-color 0.5s;
    cursor: pointer;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    height: 21px !important;
}


.tab-plus:hover {
    transition: background-color 0.5s;
}

.tab-plus-selected {
    border-left: 2px solid #C8C8C8;
    border-right: 2px solid #C8C8C8;
    border-top: 2px solid #C8C8C8;
    border-bottom: 4px solid #F7F7F7;
    background-color: #F7F7F7;
}

.tab-plus-item {
    border-left: 2px solid #C8C8C8;
    border-right: 2px solid #C8C8C8;
    display: list-item;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    background-color: #F7F7F7;
}

.tab-plus-item:first-child {

}

.tab-plus-item:last-child {
    border-bottom: 2px solid #C8C8C8;
}

.tab-plus-item:hover {
    transition: background-color 0.5s;
}

.tab-invisible {
    display: none;
}

.tab-plus-dropdown {
    position: relative;
    padding: 0px 0px 0px 0px !important;
}

.tab-plus-dropdown-container {
    position: absolute;
    background-color: white;
    padding-left: 0px; /* Override de UI-Kit */
    box-shadow: -10px 0 10px -10px rgba(0,0,0,0.1), 10px 0 10px -10px rgba(0,0,0,0.1), 0 10px 10px -10px rgba(0,0,0,0.1);
}


.cspcgitab-outercontainer {
    display: inline-block;
    background-color: white;
    font-size: 12px;
    box-shadow: 0 4px 2px -2px rgba(0,0,0,0.05);
    min-width: 220px;
    margin: 10px 0 25px;
    height: 49px !important;
}

.cspcgitab-outercontainer li {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
    height: 21px;
}

.cspcgitab-container {
    height: 50px;
    margin-bottom: 1px;
}

.tab-plus-icon {
    padding-left: 5px;
    line-height: 15px !important;
    float: right;
}

@media screen and (max-width: 480px) {
    .tab-plus {
        width: 100% !important;
    }

    .tab-plus:hover {
        background-color: #ffffff;
    }

    .tab-plus-selected {
        width:200px !important;
        max-width:200px !important;
        min-width:200px !important;
        background-color:#ffffff;    
    }

    .tab-plus-label-small {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tab-plus-dropdown {

    }

    .tab-plus-dropdown-container {
        width: 244px !important;
        max-width: 244px !important;
        min-width: 244px !important;
    }
}
@media print {
    @page {
        /* Ca ajoute la liste déroulante "Layout" pour sélectionner l'un des deux modes Paysage ou Portrait. */
        size: auto; /* en plus, sette le layout d'impression comme "Portrait" par défaut */
    }
}