#header.alt,
#header{
    padding: 0;
}
#header .logo img,
#header.alt .logo img{
    max-width: 55%;
}

#top-header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
#top-header a{
    text-decoration: none;
    margin-right: 15px;
    border-bottom: unset;
}

#top-header #con-font{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
#news .news-container{
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
}
#news .news-img{
    /*flex: 1;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#news h3{
    flex: 1;
}
#news a{
    width: fit-content;
}
#news img{
    display: block;
    margin: 10px auto;
    border-radius: 10px;
    max-width: 100%;
    max-height: 250px;
}
.statistics li{
    padding: 10px;
    display: flex;
    align-items: center;
}
.statistics img{
    display: block;
    max-height: 100%;
    max-width: 100%;
    margin: 0 auto;
}
.disclaimers img{
    display: block;
    margin: 0 auto;
    max-width: 280px;
    width: 100%;
    max-height: 100%;
    height: auto;
}
#footer-custom{
    padding: 3em 5em 1em 5em;
    width: calc(100% + 2em);
    margin: 0 0 0em -2em;
}
#footer-custom p{
    margin: 10px 0 10px 0 ;
    text-align: justify;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}
#main h1, #main h2, #main h3, #main h4, #main h5, #main h6 {
    color: #73227d ;
}
#pre-footer{
    background-color: white;
    color: rgb(99, 99, 99);
    border-bottom-left-radius: 0.25em;
    border-bottom-right-radius: 0.25em;
    width: unset;
    margin: unset;
}
#pre-footer h2{
    color: #73227d;
}
#pre-footer h2::after{
    display: block;
    content: "";
    width: 3.25em;
    height: 2px;
    margin: 0.7em 0px 1em;
    border-radius: 2px;
    margin-left: auto;
    margin-right: auto;
    background-color: rgb(221, 221, 221);
    background-image: linear-gradient(90deg, rgb(239, 168, 176), rgb(168, 156, 200), rgb(140, 201, 240));
}
#pre-footer .button {
    background-color: transparent;
    box-shadow: rgb(221, 221, 221) 0px 0px 0px 1px inset;
    color: rgb(99, 99, 99) !important;
}
#pre-footer .button.primary {
    background-color: rgb(140, 201, 240);
    box-shadow: none;
    color: rgb(255, 255, 255) !important;
}
#main{
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

#main p{
    text-align: justify;
}

#nav.alt2 {
    position: fixed;
    top: 0;
    padding: 0.5em 1em;
    background-color: rgba(247, 247, 247, 0.95);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    z-index: 10000;
}
#nav.alt2 ul li {
    margin: 0 0.175em;
}
#nav.alt2 ul li a {
    font-size: 0.9em;
}

#resize,
#contrast {
    cursor: pointer;
}

.overtext {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
}
.overtext.ot2{
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

contenido-news{
    display: block;
}

contenido-news *{
    font-family: inherit !important;
    font-size: inherit !important;
}

.news-big-img{
    display: block;
    background-color: white;
    border-radius: 10px;
    padding: 5px;
    margin: 15px auto;
    margin-bottom: 50px;
    display: block;
    max-width: 100%;
    max-height: 340px;
}

.news-big-img.partner-img{
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 250px;
}

#nav ul li a.active {
    background-color: #ede2ff;
}
.partner .partner-img{
    max-width: 100%;
    height: 300px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.partner {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.partner a{

}
.partner .partner-img img{
    display: block;
    margin: 0 auto;
    max-width: 400px;
    max-height: 100%;
    width: 100%;
    height: auto;
    padding: 5px;
    border-radius: 10px;
    background-color: white;
}

.community-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.community-card p{
    text-align: justify;
}

.community-card h4{
    text-align: center;
}

.community-card .img{
    max-width: 100%;
    height: 180px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.community-card .img img{
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    padding: 5px;
    border-radius: 10px;
    background-color: white;
}

#mail_img{
    display: block;
    max-width: 100%;
    max-height: 300px;
    margin: 0 auto;
    background-color: white;
    padding: 5px;
    border-radius: 10px;
}

#main .mail_section input::placeholder,
#main .mail_section textarea::placeholder{
    opacity: 1 !important;
    color: #636363 !important;
}
.mail_section input,
.mail_section textarea{
    margin-bottom: 10px !important;
    /*border-color: #8944d5 !important;*/
}
.mail_section textarea{
    resize: none;
}


#main input[type="submit"], #main input[type="reset"], #main input[type="button"], #main button, #main .button,
#pre-footer .button{
    background-color: #c794ce;
    color: white !important;
}

#main input[type="submit"]:hover, #main input[type="reset"]:hover, #main input[type="button"]:hover, #main button:hover, #main .button:hover,
#pre-footer .button:hover {
    background-color: rgba(222, 222, 222, 0.25);
    color: #c794ce !important;
}


.spotlight.cs .image {
    margin-left: 0em; 
}

.partner-a{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border-bottom: none;
}

#wrapper:not(.big-nav) #header .slogan{
    display: none;
}
#wrapper:not(.big-nav) #header .logo img, 
#wrapper:not(.big-nav) #header.alt .logo img {
    max-width: 25%;
}

.statistics li{
    flex: unset;
}

.statistics li.style1{
    width: 25%;
}
.statistics li.style2{
    width: 20%;
}
.statistics li.style3{
    padding-right: 5%;
    width: 29%;
}
.statistics li.style4{
    /*padding-left: 5%;*/
    width: 26%;
}
@media screen and (max-width: 736px) {
    .statistics li {
        flex: 1;
        width: 100% !important;
    }
}

#news h3{
    text-align: center;
}


/* dark */
body.dark {
    background-image: url(images/overlay.png), linear-gradient(45deg, #8a4950 15%, #382e57 85%);
    color: white;
}

body.dark #main{
    background-color: #2e2e2e;
    color: white;
}

body.dark #nav{
    background-color: #1e1e1e;
    color: white;
}
body.dark #main input[type="submit"], 
body.dark #main input[type="reset"], 
body.dark #main input[type="button"], 
body.dark #main button, 
body.dark #main .button,
body.dark #pre-footer .button {
    color: white !important;
}
body.dark #pre-footer{
    background-color: #2e2e2e;
    color: white;
}

body.dark #pre-footer h2,
body.dark #main h1, 
body.dark #main h2, 
body.dark #main h3, 
body.dark #main h4, 
body.dark #main h5, 
body.dark #main h6 {
    color: #efa8b0;
}

body.dark #pre-footer .button.primary {
    color: #1e1e1e !important;
}


body.dark #nav ul li a.active {
    background-color: #2e2e2e;
}

body.dark #nav ul li a:hover {
    background-color: rgba(107, 107, 107, 0.25);
    color: white;
}


body.dark #main .mail_section input::placeholder,
body.dark #main .mail_section textarea::placeholder{
    opacity: 1 !important;
    color: white !important;
}


/* resize */

body[resize="0"] {
    font-size: 15pt;
}
body[resize="1"] {
    font-size: 16pt;
}
body[resize="2"] {
    font-size: 17pt;
}
body[resize="3"] {
    font-size: 18pt;
}

@media screen and (max-width: 1680px) {

    body[resize="0"] {
        font-size: 14pt;
    }
    body[resize="1"] {
        font-size: 15pt;
    }
    body[resize="2"] {
        font-size: 16pt;
    }
    body[resize="3"] {
        font-size: 17pt;
    }

}

@media screen and (max-width: 1280px) {

    body[resize="0"] {
        font-size: 12pt;
    }
    body[resize="1"] {
        font-size: 13pt;
    }
    body[resize="2"] {
        font-size: 14pt;
    }
    body[resize="3"] {
        font-size: 15pt;
    }

}

@media screen and (max-width: 360px) {

    body[resize="0"] {
        font-size: 11pt;
    }
    body[resize="1"] {
        font-size: 12pt;
    }
    body[resize="2"] {
        font-size: 13pt;
    }
    body[resize="3"] {
        font-size: 14pt;
    }

}

@media screen and (max-width: 480px) {
    #nav {
        max-width: calc(100% - 2em);
    }
}
#web-chat {
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 10px;
    right: 20px;
    display: inline;
    font-size: 25px;
    border-radius: 0;
    letter-spacing: 1px;
    text-align: center;
    line-height: 50px;
    color: #ffffff;
    font-weight: 900;
    border-radius: 20px;
    cursor: pointer;
    z-index: 12;
    background-color: #8cc9f0;
}

#web-chat-iframe {
    display: none;
    max-width: 90%;
    width: 420px;
    height: 540px;
    position: fixed;
    bottom: 70px;
    right: 20px;
    /*display: inline;*/
    border-radius: 15px 15px 3px 15px;
    /*transition: .2s;*/
    z-index: 21;
    box-shadow: -5px -5px 10px -3px rgba(0, 0, 0, 0.45);
    -webkit-box-shadow: -5px -5px 10px -3px rgba(0, 0, 0, 0.45);;
    -moz-box-shadow: -5px -5px 10px -3px rgba(0, 0, 0, 0.45);;
}

.training-card{
    border: solid 2px #c794ce;
    padding: 10px 20px;
    border-radius: 1px;
    border-left: none;
    border-right: none;
    background-image: url("/images/tl-bg_tr.png");
    background-size: 50%;
    background-repeat: no-repeat;
    background-position-x: calc(145% - 1px);
    background-position-y: 27%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}
.training-card h3{
    color: #73227d;
    margin-bottom: 0;
    
}
.training-card h3 a{
    border-bottom: none;
}
#nav.alt {
    z-index: 13;
}
#main .training-card .button{
    background-color: #705493;
}
#main input[type="checkbox"]:checked + label:before, 
#main input[type="radio"]:checked + label:before {
    background-color: #c794ce;
    border-color: #c794ce;
    color: #ffffff;
}
#main input[type="checkbox"] + label:before, 
#main input[type="radio"] + label:before {
    background: rgba(222, 222, 222, 0.25);
    border-color: #9b9b9b;
}
.ffl{
    font-weight: bold;
    color: #c794ce;
}
#main table tbody tr:nth-child(2n + 1) {
    background-color: unset;
}
body.dark #main table th{
    color: white;
}
body.dark #main input[type="checkbox"] + label, 
body.dark #main input[type="radio"] + label {
    color: white;
}

.map-down-cotainer{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 30px;
}
.map-down-cotainer a{
    font-weight: bold;
}
#dyk-card{
    border: solid 3px #c794ce;
    border-radius: 7px;
    padding: 10px 20px;
    margin-bottom: 25px;
    overflow: hidden;
}
#dyk-card legend{
    font-weight: bold;
    padding: 0 10px;
}
#dyk-card legend h3{
    font-size: 1.35em;
}

#dyk-card h3{
    margin-bottom: 0.2em;
}

#dyk-card p{
    margin-bottom: 0.2em;
}
#dyk-card a{
    float: right;
    font-weight: bold;
    color: #705493;
    border-bottom: none;
}
.glossary-card p::first-letter{
    text-transform: uppercase;
}
.glossary-card h3{
    border-bottom: solid 2px #c794ce;
    padding-bottom: 5px;
}
.progress-entry{
    margin-top: 20px;
}
.training-data{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.training-bar{
    width: 70%;
    background-color: #e7e7e7;
    border-radius: 3px;
    height: 10px;
    overflow: hidden;
}
.training-bar>div{
    height: 100%;
    background-color: #eea8b1;
    max-width: 100%;
    background: linear-gradient(90deg, #efa8b0 , #8cc9f0 );
    background-attachment: fixed;
}
.test-entry{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

}
.test-entry>h4{
    width: 70%;
}
.test-score{
    width: 44px;
    text-align: center !important;
}
.mapping-flag{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
    margin: 40px 0;
}
.mapping-flag span{
    display: block;
    width: 60px;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
    box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.5);
    -webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.5);
}
.mapping-flag .button{
    min-width: 7em;
}
#mapping-factchecks{
    display: block;
    width: 100%;
    max-width: 800px;
    height: 720px;
    margin: 10px auto;
}
.button.btn-center{
    display: block;
    width: fit-content;
    margin: 0 auto;
}
.training-duration{
    display: none;
}