/* BANDEAU */

html {
    overflow-x: hidden;
}

#bandeau_acheter {
    position: relative;
    min-height: 80vh;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/* RUBRIQUE */

#acheter .ombre {
    text-transform: none;
}

/* LISTE ITEM ACHETER ------------------------ */

#list_item_acheter {
    display: flex;
    flex-direction: column;
}

/* ITEM WRAPPER */

#list_item_acheter .item_wrapper {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

#list_item_acheter .item_wrapper:first-of-type {
    margin-top: 15px;
}

/* ITEM */

#list_item_acheter .item {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
}

#list_item_acheter .item.right {
    justify-content: flex-end;
}

#list_item_acheter .item.left {
    justify-content: flex-start;
}

#list_item_acheter .item.center {
    justify-content: center;
}

/* ITEM CONTENT */

#list_item_acheter .item_content {
    padding: 10px 10px;
    position: relative;
    width: 55%;
}

/* LE TITRE */

#list_item_acheter .titre {
    text-align: center;
}

#list_item_acheter h2 {
    font-family: 'Montserrat', sans-serif;
    color: #8C1D40;
    font-size: 15px;
    text-transform: none;
    margin-bottom: 15px;
}

#list_item_acheter h2::first-letter {
    font-size: 30px;
}

/* LE NUMERO */

#list_item_acheter .num {
    position: absolute;
    color: rgba(140, 29, 64, 0.2);
    font-weight: 800;
    font-size: 40px;
}

#list_item_acheter .num.leftTop {
    top: -20px;
    left: -20px;
}

#list_item_acheter .num.rightTop {
    top: -20px;
    right: -20px;
}

/* LE TEXTE */

#list_item_acheter .text {
    display: flex;
    flex-direction: row;
    overflow: auto;
}

#list_item_acheter .colonne_texte {
    flex: 1;
    padding: 0 10px;
}

#list_item_acheter .tableInside .colonne_texte {
    flex: 1;
    padding: 10px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tab_2lignes {
    min-width: 100px;
}

#list_item_acheter p {
    font-size: 12px;
    margin-bottom: 15px;
    text-align: justify;
    font-weight:500;
}

/* LE LIEN */

#list_item_acheter a {
    text-decoration: underline;
}

#list_item_acheter a.lienBouton {
    margin: 5px 0;
    text-decoration: none;
    font-size: 10px;
    display: inline-block;
    text-align: center;
    border-radius: 12px;
    background-color: rgba(140, 29, 64, 0.6);
    padding: 8px 20px;
    color: white;
    text-transform: uppercase;
    transition: all 0.3s ease-out;
}

#list_item_acheter a.lienBouton:hover {
    background-color: rgba(140, 29, 64, 1);
}

/* CORNER */

.corner {
    overflow: hidden;
    position: absolute;
    background: white;
    height: 100px;
    width: 100%;
}

/* Corner Diagonale Droite */

.corner.topLeft {
    top: -1px;
    left: -5px;
    -webkit-clip-path: polygon(0 0, 0% 100%, 100% 0);
    clip-path: polygon(0 0, 0% 100%, 100% 0);
}

.corner.bottomRight {
    bottom: -1px;
    right: -5px;
    -webkit-clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}

/* Corner Diagonale Gauche */

.corner.topRight {
    top: -1px;
    right: -5px;
    -webkit-clip-path: polygon(100% 0, 0 0, 100% 100%);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.corner.bottomLeft {
    bottom: -1px;
    left: -5px;
    -webkit-clip-path: polygon(0 100%, 0 0, 100% 100%);
    clip-path: polygon(0 100%, 0 0, 100% 100%);
}

/* LES DIFFERENTS STYLES --------------------------------- */

/* STYLE 1 */

#list_item_acheter .style1 .num {
    color: rgba(140, 29, 64, 0.6);
}

#list_item_acheter .style1 {
    min-height: 600px;
}

#list_item_acheter .style1 .item_content {
    padding: 10px 40px;
    width: 45%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 40px;
}
#list_item_acheter .style1 .item_content.tableInside {
    padding: 10px 10px;
    width: 70%;
}

/* STYLE 2 */

#list_item_acheter .style2 .item_content {
    width: 90%;
}


/* STYLE 3 */

#list_item_acheter .style3 .item_content {
    width: 90%;
    padding: 60px 0px 30px 0px;
}

#list_item_acheter .style3 .titre {
    text-align: left;
}

#list_item_acheter .style3.white h2 {
    color: white;
}

#list_item_acheter .style3.white .num {
    color: rgba(255, 255, 255, 0.2);
}

#list_item_acheter .style3 .num.leftTop {
    top: 0px;
    left: -20px;
}

#list_item_acheter .style3 .num.rightTop {
    top: 0px;
    right: -20px;
}

#list_item_acheter .style3.white p {
    color: white;
}

#list_item_acheter .style3.white a {
    background-color: rgba(255, 255, 255, 0.6);
    color: black;
    font-weight: 800;
}

#list_item_acheter .style3.white a:hover {
    background-color: rgba(255, 255, 255, 1);
}

/* ANIMATIONS */

/* ANIMATION DEMARAGE */

#list_item_acheter .apparition {
    opacity: 0;
}

@keyframes apparitionGauche {
    0% {
        opacity: 0;
        left: -500px;
    }
    100% {
        opacity: 1;
        left: 0px;
    }
}

@keyframes apparitionDroite {
    0% {
        opacity: 0;
        right: -500px;
    }
    100% {
        opacity: 1;
        right: 0px;
    }
}


#list_item_acheter .triggeredCSS3.gauche.item_content {
    animation: apparitionGauche 1s 1 ease-out;
    opacity: 1;
}


#list_item_acheter .triggeredCSS3.droite.item_content {
    animation: apparitionDroite 1s 1 ease-out;
    opacity: 1;
}

/* ENTETE REPOSITORY */

#entete_repository {
    position: fixed;
    z-index: 1;
    width: 250px;
    left: 15px;
}

#entete_repository #sousmenu_repository.contenu_menu_secondaire_lateral {
    border-top: solid 2px #8C1D40;
    background-color: white;
    position: absolute;
    z-index: 1;
    text-align: center;
    padding-left: 20px;
    padding: 10px;
}

#entete_repository #sousmenu_repository.contenu_menu_secondaire_lateral .categorie_menu_rep {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin: 10px 0;
}

#entete_repository #sousmenu_repository.contenu_menu_secondaire_lateral .lien_menu_rep {
    margin: 5px 0px;
    font-size: 12px;
    line-height: inherit;
    font-weight: inherit;
    border-bottom: solid 2px transparent;
    text-align: center;
}

#entete_repository #sousmenu_repository.contenu_menu_secondaire_lateral a {
    
    text-decoration: none;
    color: black;
}

#entete_repository #sousmenu_repository.contenu_menu_secondaire_lateral a.lienDuBloc {
    color: white;
}


#entete_repository #sousmenu_repository.contenu_menu_secondaire_lateral a.lienDuBloc.contact {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40px;
    color: #8C1D40;
    background-color: white;
    border: solid #8C1D40 2px;
    padding: 5px 10px;
    border-radius: 25px;
    margin-top: 10px;
    transition: all 0.2s ease;
    font-weight: 600;
}

#entete_repository #sousmenu_repository.contenu_menu_secondaire_lateral li.lien_menu_rep:hover::after {
    transform: scaleX(0);
}

#entete_repository #sousmenu_repository.contenu_menu_secondaire_lateral a.lienDuBloc.contact:hover {
    color: white;
    background-color: #8C1D40;
    border: solid #8C1D40 2px;
}

#entete_repository #concept_repository {
    padding: 10px 10px;
    margin-top: 20px;
    max-width: 55%;
}

/*
#entete_repository #sousmenu_repository.contenu_menu_secondaire_lateral a.lien_Protocole {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 40px;
    color: white;
    background-color: rgba(140, 29, 64, 0.6);
    padding: 5px 10px;
    border-radius: 25px;
    margin-top: 10px;
    transition: all 0.2s ease;
    font-weight: 600;
}

#entete_repository #sousmenu_repository.contenu_menu_secondaire_lateral a.lien_Protocole:hover {
    background-color:rgba(140, 29, 64, 01);
}

*/

#entete_repository #sousmenu_repository.contenu_menu_secondaire_lateral a.lien_Protocole {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 40px;
    color: white;
    
    padding: 5px 10px;
    border-radius: 25px;
    margin-top: 10px;
    
    font-weight: 600;
    
    background: linear-gradient(to right, #8C1D40 50%, #C19947 50%);
    background-size: 200% 100%;
    background-position:right bottom;
    transition: 0.3s ease;    
}

#entete_repository #sousmenu_repository.contenu_menu_secondaire_lateral a.lien_Protocole:hover {
    background-position:left bottom;
    color: white;
}

#entete_repository #btn_menu_secondaire_lateral {
}

/*---------- TABLE REPOSITORY ----------*/

.table_repository:not(#online_tools) {
    border-color: rgba(140,29,64,0.4);
}

.table_repository:not(#online_tools) tbody {
    display: flex;
    flex-direction: column;
    margin: auto;
       border-color: rgba(140,29,64,0.4);
}
.table_repository:not(#online_tools) tbody > tr {
    display: flex;
    flex-direction: row;
    align-items: center;
       border-color: rgba(140,29,64,0.4);
}
.table_repository:not(#online_tools) tbody > tr > th {
    width: 25%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    min-height: 60px;
       border-color: rgba(140,29,64,0.4);
}
.table_repository:not(#online_tools) tbody > tr > td {
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    min-height: 60px;
       border-color: rgba(140,29,64,0.4);
}
.table_repository:not(#online_tools) tbody > tr > td p {
    margin: 0;
}

/*---------- REFONTE REPOSITORY ----------*/

#list_item_acheter.repository .titre {
    text-align: left;
    padding-left: 25px;
}

#list_item_acheter.repository .text {
    overflow: inherit;
}

#online_tools tbody tr {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}

#online_tools tbody tr td.lien {
    margin-top: 50px;
    
}

#online_tools tbody tr td.lien.upload a {
    background-image: url('img/upload_tap.svg');
}

#online_tools tbody tr td.lien.register a {
    background-image: url('img/register.svg');
}

#online_tools tbody tr td.lien.viewing a {
    background-image: url('img/viewings.svg');;
    
}

#online_tools tbody tr td a {
    display: block;
    position: relative;
    padding-top: 95px;
    text-decoration: none;
    background-size: 80px;
    background-repeat: no-repeat;
    background-position: top center;
    font-weight:600;
    font-size: 14px;
    width: 160px;
}

#online_tools tbody tr td a::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 140px;
    width: 140px;
    border-radius: 50%;
    background-color: #8C1D40;
    opacity: 0;
    transition: all 0.2s ease;
}

#online_tools tbody tr td a:hover:after {
    opacity: 0.1;
}

#list_item_acheter .colonne_texte {
    overflow: auto;
}

/* RESPONSIVE TABLE REPOSITORY -------------------------------------------- */

@media (max-width: 1050px) {
    
    #list_item_acheter .style1 .item_content.tableInside {
        width: 100%;
    }
    
}

@media (max-width: 1200px) {
   .table_repository:not(#online_tools) tbody {
        flex-direction: row;
    }
    .table_repository:not(#online_tools) tbody > tr {
        flex-direction: column;
    }
    .table_repository:not(#online_tools) tbody > tr:first-of-type {
        width: 100%;
        margin-right: 0px;
    
    }
    .table_repository:not(#online_tools) tbody > tr {
        width: 150px;
    }
    .table_repository:not(#online_tools) tbody > tr > th {
        width: inherit;
        text-align: left!important;
        justify-content: flex-start;
        border-bottom: solid 1px grey;
        height: 45px;
    }
    .table_repository:not(#online_tools) tbody > tr > td {
        width: inherit;
        text-align: left;
        justify-content: flex-start;
        border-bottom: solid 1px grey;
        height: 45px;
        overflow: auto;
    }
    .table_repository:not(#online_tools) tbody > tr > th:last-of-type, .table_repository:not(#online_tools) tbody > tr > td:last-of-type  {
        border-bottom: solid 0px grey;
    }
    
    /* SCROLL BAR VISIBLE ON SMARTPHONE */
    ::-webkit-scrollbar {
        -webkit-appearance: none;
    }
    ::-webkit-scrollbar:vertical {
        width: 12px;
    }
    ::-webkit-scrollbar:horizontal {
        height: 12px;
    }
    ::-webkit-scrollbar-thumb {
        background-color: #8C1D40;
        border-radius: 10px;
        border: 2px solid #ffffff;
    }
    ::-webkit-scrollbar-track {
        border-radius: 10px;  
        background-color: #ffffff; 
    }
}

/* RESPONSIVE SOUS MENU --------------------------------------------------- */

@media (max-width: 1750px) {
    .conteneur.inter  {
        margin: auto auto auto 230px;
        padding-right: 80px;
    }
}

@media (max-width: 920px) {
    .conteneur.inter {
        margin: auto;
        padding-right: 0px;
    }
    #entete_repository #sousmenu_repository {
        display: none;
    }
    #entete_repository #sousmenu_repository.contenu_menu_secondaire_lateral {
        margin-top: 40px;
    }
    #list_item_acheter .style1 .item_content.tableInside {
        padding: 10px 10px;
        width: 90%;
    }
}

/* RESPONSIVE 1200px --------------------------------------------------- */

@media (max-width: 1200px) {
   #list_item_acheter .style1 .item_content {
        width: 70%;
    }
}

/* RESPONSIVE 800px --------------------------------------------------- */


@media (max-width: 800px) {

    @keyframes apparitionGauche {
        0% {
            opacity: 0;
        }
        100% {
            opacity: 1;
        }
    }

    @keyframes apparitionDroite {
        0% {
            opacity: 0;
        }
        100% {
            opacity: 1;
        }
    }

    #infos_techniques {
        height: auto;
        display: block;
        overflow-x: scroll;
    }
    #list_item_acheter .item.left {
        justify-content: center;
    }
    #list_item_acheter .item.right {
        justify-content: center;
    }
    #list_item_acheter .item_content {
        width: 100% !important;
    }
    #list_item_acheter .style1 .item_content {
        width: 100%;
        padding: 10px 10px;
    }
    
    #list_item_acheter .num.leftTop {
        left: 5px;
    }
    #list_item_acheter .num.rightTop {
        right: 5px;
    }
    #list_item_acheter .style3 .num.leftTop {
        left: 5px;
    }

}

/* RESPONSIVE 650px --------------------------------------------------- */

@media (max-width: 650px) {

    #entete_repository {
        flex-direction: column;
    }
    #entete_repository #concept_repository {
        max-width: 100%;
    }
    #online_tools tbody tr {

        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-flow: column;

    }
}

/* RESPONSIVE 600px --------------------------------------------------- */

@media (max-width: 600px) {

    #list_item_acheter .text {
        flex-direction: column;
    }
    .table_repository:not(#online_tools) tbody > tr {
        width: 100px;
    }

}
