﻿:root {
    --black: #000000;
    --red: #C2BA98;
    /*--grey: #e5e5e5;
        --black: #4d5974;
    */
}

body {
    color: var(--black);
    */
    /*centrar*/
}

.parent-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    min-height: 75vh; /*IMPORTANTE!!!*/
}


.child-container {
    width: 100%;
    max-width: 100%;
    min-height: 450px;
    padding: 1.5em;
    margin-bottom: 5%;
    /* background: dodgerblue; */
}

.CONTENT {
    /*padding: 40px; */
    width: 100%;
    max-width: 1200px;
    padding: 1em;
    /*adding*/
    margin: 0 auto;
}


.menu_ {
    margin: 0 auto;
    /*padding: 40px; */
    width: 100%;
    max-width: 1200px;
    padding: 2em;
    margin-top: 1%;
}

.lbl {
    display: block;
    margin: 0 0 4px 0;
    padding: 15px 15px 15px 0;
    line-height: 2;
    cursor: pointer;
    border-bottom: 1px solid var(--grey);
}

.question {
    position: relative;
}

input {
    display: none;
}


.menu_ ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu_ li {
    height: 0;
    overflow: hidden;
    transition: all 0.5s;
    font-size: 16px;
}


#icon span {
    position: absolute;
    top: 11px;
    right: 11px;
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 1px solid var(--black);
    border-radius: 22px;
}

    #icon span::before {
        display: block;
        position: absolute;
        content: '';
        top: 10px;
        left: 6px;
        width: 10px;
        height: 2px;
        background: var(--black);
    }

    #icon span::after {
        display: block;
        position: absolute;
        content: '';
        top: 6px;
        left: 10px;
        width: 2px;
        height: 10px;
        background: var(--black);
    }
/*Open tab*/

 #type1:checked ~ #links1 li, 
#type2:checked ~ #links2 li,
#type3:checked ~ #links3 li,
#type4:checked ~ #links4 li,
/* #type5:checked ~ #links5 li, */
/* #type6:checked ~ #links6 li, */
#type7:checked ~ #links7 li,
#type8:checked ~ #links8 li,
#type9:checked ~ #links9 li,
#type10:checked ~ #links10 li,
#type11:checked ~ #links11 li,
#type12:checked ~ #links12 li {
    height: 110px;
    opacity: 1;
    padding-top: 15px;
}


#type1:checked ~ #links1 li {
    /*min-height: 1500px;*/
    height: 300px;
    opacity: 1;
    padding-top: 5px;
    font-size: 0.8em;
}

/*adding for moviles*/
@media (max-width: 960px) and (min-width: 501px) {
    #type1:checked ~ #links1 li {
        width: 50%;
        height: 180vh;
    }
    /* Show 2 logos per row on medium devices (tablets, phones in landscape) */
}

@media (max-width: 500px) {
    #type1:checked ~ #links1 li {
        width: 100%;
        height: 180vh;
    }
    /* On small screens, show one logo per row */
}
/*ending for adding for moviles*/


/*+++++++++++++++++++++++++++++*/

#type6:checked ~ #links6 li {
    /*min-height: 1500px;  height: 180px;    */
    height: 1200px;
    opacity: 1;
    padding-top: 5px;
    font-size: 0.8em;
}

/*adding for moviles*/
@media (max-width: 960px) and (min-width: 501px) {
    #type6:checked ~ #links6 li {
        width: 50%;
        height: 180vh;
    }
    /* Show 2 logos per row on medium devices (tablets, phones in landscape) */
}

@media (max-width: 500px) {
    #type6:checked ~ #links6 li {
        width: 100%;
        height: 180vh;
    }
    /* On small screens, show one logo per row */
}
/*ending for adding for moviles*/

/*++++++++++++++++++++++++++++++++*/

#type7:checked ~ #links7 li {
    /*min-height: 1500px;  height: 180px;    */
    height: 150px;
    opacity: 1;
    padding-top: 5px;
    font-size: 0.8em;
}

/*adding for moviles*/
@media (max-width: 960px) and (min-width: 501px) {
    #type7:checked ~ #links7 li {
        width: 50%;
        height: 180vh;
    }
    /* Show 2 logos per row on medium devices (tablets, phones in landscape) */
}

@media (max-width: 500px) {
    #type7:checked ~ #links7 li {
        width: 100%;
        height: 180vh;
    }
    /* On small screens, show one logo per row */
}
/*ending for adding for moviles*/


/*++++++++++++++++++++++++++++*/

#type5:checked ~ #links5 li {
    /*min-height: 1500px;  height: 180px;    */
    height: 950px;
    opacity: 1;
    padding-top: 5px;
    font-size: 0.8em;
}

/*adding for moviles*/
@media (max-width: 960px) and (min-width: 501px) {
    #type5:checked ~ #links5 li {
        width: 50%;
        height: 180vh;
    }
    /* Show 2 logos per row on medium devices (tablets, phones in landscape) */
}

@media (max-width: 500px) {
    #type1:checked ~ #links5 li {
        width: 100%;
        height: 180vh;
    }
    /* On small screens, show one logo per row */
}
/*ending for adding for moviles*/

/*++++++++++++++++++++++++++++++++*/
/*Style open tab*/

#type1:checked ~ label #icon span::after,
#type2:checked ~ label #icon span::after,
#type3:checked ~ label #icon span::after,
#type4:checked ~ label #icon span::after,
#type5:checked ~ label #icon span::after,
#type6:checked ~ label #icon span::after,
#type7:checked ~ label #icon span::after,
#type8:checked ~ label #icon span::after,
#type9:checked ~ label #icon span::after,
#type10:checked ~ label #icon span::after,
#type11:checked ~ label #icon span::after,
#type12:checked ~ label #icon span::after {
    width: 0;
}

#type1:checked ~ label,
#type2:checked ~ label,
#type3:checked ~ label,
#type4:checked ~ label,
#type5:checked ~ label,
#type6:checked ~ label,
#type7:checked ~ label,
#type8:checked ~ label,
#type9:checked ~ label,
#type10:checked ~ label,
#type11:checked ~ label,
#type12:checked ~ label {
    color: var(--red);
    border-bottom: 1px solid var(--red);
}

    #type1:checked ~ label #icon span::before,
    #type2:checked ~ label #icon span::before,
    #type3:checked ~ label #icon span::before,
    #type4:checked ~ label #icon span::before,
    #type5:checked ~ label #icon span::before,
    #type6:checked ~ label #icon span::before,
    #type7:checked ~ label #icon span::before,
    #type8:checked ~ label #icon span::before,
    #type9:checked ~ label #icon span::before,
    #type10:checked ~ label #icon span::before,
    #type11:checked ~ label #icon span::before,
    #type12:checked ~ label #icon span::before {
        background: var(--red);
    }

    #type1:checked ~ label #icon span,
    #type2:checked ~ label #icon span,
    #type3:checked ~ label #icon span,
    #type4:checked ~ label #icon span,
    #type5:checked ~ label #icon span,
    #type6:checked ~ label #icon span,
    #type7:checked ~ label #icon span,
    #type8:checked ~ label #icon span,
    #type9:checked ~ label #icon span,
    #type10:checked ~ label #icon span,
    #type11:checked ~ label #icon span,
    #type12:checked ~ label #icon span {
        border: 1px solid var(--red);
    }



/*link*/

.card {
    text-align: center;
}

.card__readbtn {
    font-size: 1.3em;
    /* color: #585858; */
    text-decoration: none;
    line-height: 26px;
    transition: all ease 0.3s;
    position: relative;
}

    .card__readbtn::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 2px;
        background-color: #C2BA98;  
        transition: all ease 0.3s;
    }

    .card__readbtn:hover {
        color: #636569;
    }

        .card__readbtn:hover::after {
            width: 100%;
        }




/*
        #type1:checked ~ #links1 li,
#type2:checked ~ #links2 li,
#type3:checked ~ #links3 li {
    height: 75px;
    opacity: 1;
    padding-top: 15px;
}



        #type1:checked ~ label #icon span::after,
        #type2:checked ~ label #icon span::after,
        #type3:checked ~ label #icon span::after {
            width: 0;
        }

#type1:checked ~ label,
#type2:checked ~ label,
#type3:checked ~ label {
    color: var(--red);
    border-bottom: 1px solid var(--red);
}

    #type1:checked ~ label #icon span::before,
    #type2:checked ~ label #icon span::before,
    #type3:checked ~ label #icon span::before {
        background: var(--red);
    }

    #type1:checked ~ label #icon span,
    #type2:checked ~ label #icon span,
    #type3:checked ~ label #icon span {
        border: 1px solid var(--red);
    }

    */
