html {
    scroll-behavior: smooth;
}

:target {
    scroll-margin-top: 125px; /* Alto del header: barra superior + barra principal */
}

.full-height,
.full-height body,
.full-height header,
.full-height header .view {
    height: 100%;
}

.section .section-heading {
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.bg-light {
    background-color: #f8f9fa!important;
}

.navbar-brand {
    img{
        height:60px;
    }
}

@media (max-height: 600px) {
    .full-height,
    .full-height body,
    .full-height header,
    .full-height header .view {
        min-height: 100%;
        height: auto;
    }
}


@media (max-width: 740px) {
    .full-height,
    .full-height body,
    .full-height header,
    .full-height header .view {
        min-height: 100%;
    }
}

@media (min-width: 1200px) {
    .fixed-sn .page-footer .container-fluid, .fixed-sn main {
        margin-left: 2%;
        margin-right: 2%;
    }
}
b, strong{
    font-weight: bold;
}



/* LAYOUT */

@media (min-width:992px){
    .hidden-md-up{display:none!important}
}

/* FONTS */
body{
    font-family: 'Fira Sans', sans-serif;
    width:100%;
    color: #4f4f4f;
}

h1,h2,h3,h4,h5,h6{
    font-family: 'Fira Sans', sans-serif !important;
    font-weight: 400;
    color: #4f4f4f;
}

.text-pink{
    color: rgb(255, 0, 153) !important;
}

.pink-chd{
    background-color: rgb(255, 0, 153) !important;
}

.dark-grey-text{
    color: #535353;
}

.nav{
    font-family: 'Fira Sans', sans-serif;
}

/* SCROLLBAR */

::-webkit-scrollbar {
    width: 11px;
}
/* Track */

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
/* Handle */

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    // background: #your-color;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:window-inactive {
    // background: #your-color;
}


/* NAVBAR */

.navbar {
    box-shadow: none;
    /* El header público tiene dos filas: la barra superior y la principal (_main.nav.twig) */
    flex-wrap: wrap;
    padding-top: 0;
}

/* Barra superior: acceso a la aplicación e idioma, en pequeño y a la derecha.
   Se separa de la barra principal con una línea muy fina, que en la home (header
   transparente sobre la foto) queda apenas insinuada. */
.main-topbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
    font-size: .75rem;
    line-height: 1.2;
}

.main-topbar .main-topbar-link {
    display: inline-block;
    color: #4f4f4f;
    text-transform: uppercase;
    letter-spacing: .06em;
    /* Objetivo táctil cómodo sin engordar la barra */
    padding: .3rem .45rem;
}

.main-topbar .main-topbar-link:hover,
.main-topbar .main-topbar-link:focus {
    color: #29B6F6;
    text-decoration: none;
}

/* El idioma activo se distingue del otro sin recurrir al color */
.main-topbar .main-topbar-locales .main-topbar-link {
    color: #8a8a8a;
    padding-left: .3rem;
    padding-right: .3rem;
}

.main-topbar .main-topbar-locales .main-topbar-link.is-current {
    color: #4f4f4f;
    font-weight: bold;
}

.main-topbar .main-topbar-locales .main-topbar-link:hover,
.main-topbar .main-topbar-locales .main-topbar-link:focus {
    color: #29B6F6;
}

.main-topbar .main-topbar-sep {
    color: #d5d5d5;
    margin: 0 .5rem 0 .6rem;
}

.main-topbar .fa-sign-in {
    color: #29B6F6;
}

/* Las dos filas ocupan el ancho completo del header, una encima de otra.
   La especificidad sube a .navbar .main-topbar para ganar a .navbar > .container de Bootstrap,
   que reparte los hijos con space-between. */
.navbar .main-topbar,
.navbar .main-navbar-row {
    width: 100%;
}

.navbar .main-topbar {
    justify-content: flex-end;
}

.navbar .main-navbar-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: .25rem;
}
.navbar.top-nav-collapse{
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
}

.navbar .nav-item .nav-link {
    text-transform: uppercase;
    font-size: 0.9rem;
    line-height: 1.2rem;
    margin: 0 15px;
}

.top-nav-collapse {
    background-color: #fff !important;
}
@media (max-width: 768px) {
    .navbar:not(.top-nav-collapse) {
        background: #fff !important;
    }
}

@media (max-width: 1200px) {
    .navbar-brand img {
        height: 40px;
    }
}

.navbar-nav {
    li{
        display: flex;
        height:100%;
        align-items: center;
        justify-content: center;

    }

}

.navbar-collapse{
    @media (max-width: 992px) {
        background: #fff;
    }
}

/* HOME */

#carousel-home.carousel, #carousel-directory.carousel,
#carousel-tale.carousel, #carousel-faq.carousel,
#carousel-publications.carousel, #carousel-meetings.carousel{
    height: 50%;
}

@media (max-width: 600px) {
    #carousel-home.carousel, #carousel-directory.carousel,
    #carousel-tale.carousel, #carousel-faq.carousel,
    #carousel-publications.carousel, #carousel-meetings.carousel{
        height: 65%;
    }
}


#carousel-home.carousel .carousel-inner, #carousel-directory.carousel .carousel-inner,
#carousel-tale.carousel .carousel-inner, #carousel-faq.carousel .carousel-inner,
#carousel-publications.carousel .carousel-inner, #carousel-meetings.carousel .carousel-inner{
    height: 100%; }

#carousel-home.carousel .carousel-inner .carousel-item,
#carousel-home.carousel .carousel-inner .active,
#carousel-directory.carousel .carousel-inner .carousel-item,
#carousel-directory.carousel .carousel-inner .active,
#carousel-tale.carousel .carousel-inner .carousel-item,
#carousel-tale.carousel .carousel-inner .active,
#carousel-faq.carousel .carousel-inner .carousel-item,
#carousel-faq.carousel .carousel-inner .active,
#carousel-publications.carousel .carousel-inner .carousel-item,
#carousel-publications.carousel .carousel-inner .active,
#carousel-meetings.carousel .carousel-inner .carousel-item,
#carousel-meetings.carousel .carousel-inner .active {
    height: 100%; }

#carousel-home .view {
    background: url('../img/public/team.jpg') no-repeat center center;
    background-size: cover;
    height: 100%;
}

#carousel-publications .view {
    background: url('../img/public/back_publications.jpg') no-repeat center center;
    background-size: cover;
    height: 100%;
}

#carousel-publications .subtitle {
    max-width: 800px;
    margin: 0 auto;
}

/* Encuentros online (/encuentros-online) */
#carousel-meetings .view {
    background: url('../img/public/team.jpg') no-repeat center center;
    background-size: cover;
    height: 100%;
}

#carousel-meetings .subtitle {
    max-width: 800px;
    margin: 0 auto;
}



#carousel-tale.crab .view {
    background: url('../img/public/slider-crab.jpg') no-repeat center center;
    background-size: cover;
    height: 100%;
}

#carousel-tale.ornitorrinco .view {
    background: url('../img/public/slider-ornitorrinco.jpg') no-repeat center center;
    background-size: cover;
    height: 100%;
}

#carousel-faq .view {
    background: url('../img/public/faq-slider.jpg') no-repeat;
    background-size: cover;
    height: 100%;
}

#carousel-home h1, #carousel-directory h1{
    max-width: 600px;
    font-size: 2rem;
    margin: 0 auto;
}

#carousel-home .subtitle {
    max-width: 800px;
    margin: 0 auto 12px;
}



.btn-md.btn-flag{
    padding: .7rem;
}



/* Adjustment for mobile devices*/
@media (max-width: 776px) {
    .carousel {
        height: 100%; } }


.view video {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
}


.view .mask {
    position: absolute;
    width:100%;
    height: 100%;
}

.full-bg-img h1{
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size:62px;
    margin-bottom: 25px !important;
}
.full-bg-img h1 span{
    color: rgb(255, 0, 153);
}
.full-bg-img h5{
    font-family: 'Lato', sans-serif;
    font-size:24px;
    margin-bottom: 10px !important;
}
.full-bg-img h6{
    font-family: 'Lato', sans-serif;
    font-size:18px;
}

.feature-box .section-heading{
    margin-bottom:2rem;
}

.features-small p{
    font-size:14px;
}

.icon-area .circle-icon {
    display: inline-block;
    font-size: 35px;
    padding-bottom: 30px;
}

.icon-area .circle-icon i {
    background: #fff;
}
.icon-area .circle-icon i {
    -webkit-box-shadow: 0 8px 19px rgba(91,154,251,.41);
    box-shadow: 0 8px 19px rgba(91,154,251,.41);
    width: 90px;
    height: 90px;
}
.icon-area .circle-icon i {
    color: #29B6F6;
    border: 2px solid #fff;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    -webkit-box-shadow: 0 1px 10px rgba(0,0,0,.46);
    box-shadow: 0 1px 10px rgba(0,0,0,.46);
}

.section-directory-pros{
    background-color: #efefef;
}

.section-directory-pros .card-body h5,
.section-directory-school .card-body h5{
    min-height:48px;
}

.section-directory-pros .card-body h5 strong,
.section-directory-school .card-body h5 strong{
    font-weight: 300;
    font-family: Fira Sans, Serif;
}

.section-directory-school{

}

.section-science{
    background: url('../img/public/fondo-letras.png');
    background-attachment: scroll;
    background-size: cover;
}

.section-science .btn-floating{
    line-height: 36px;
    font-weight: bold;
}

.section-social{
    background-color: #e6e6e6;
    background: url('../img/public/mundo.png');
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
}

.section-for-who{
    background: url('../img/public/back-teachers.jpg');
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
}

.avatar-for-who{
    height: 96px;
    width: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    border: solid 4px #FFF;
    margin-top: -48px;
}

.col-30 {
    width: 32%;
    padding: 24px 12px;
    @media (max-width: 992px) {
        width: 100%;
    }
}

.col-30 > div {
    width: 100%;
    height: 100%;
}

.col-30 p{
    font-size: 0.9rem;
}

.col-40 {
    width: 36%;
    padding: 6px 12px;
    @media (max-width: 992px) {
        width: 100%;
    }
}

.col-40 > div {
    width: 100%;
    height: 100%;
}

@media (max-width: 992px) {
    .desktop-visible {
        display:none;
    }
}
@media (min-width: 993px) {
    .mobile-visible {
        display:none;
    }
}


.rounded-number{
    width:48px;
    height:48px;
    border-radius: 50%;
    background-color: #29B6F6;
    color: #fff;
    font-size: 24px;
    text-align: center;
    line-height: 48px;
    margin: 0 auto;
    margin-bottom: 10px;
}

.rounded-number-sm{
    width:24px;
    height:24px;
    border-radius: 50%;
    background-color: #29B6F6;
    color: #fff;
    font-size: 16px;
    text-align: center;
    line-height: 24px;
    margin: 0 auto;
}

.section-social .display-4{
    font-size: 2.5rem;
}

@media (max-width: 780px) {
    .full-bg-img h1{
        font-size:48px;
    }
    .full-bg-img h5{
        font-size:18px;
    }
    .full-bg-img h6{
        font-size:14px;
    }
}

.section-testimonials .carousel-multi-item{
    margin-bottom: 0;
}

.section-testimonials .carousel-multi-item .controls-top .btn-floating {
    background: #29B6F6;
}

.event-jumbotron {
    background: url('../img/public/fondo-letras.png');
    background-attachment: scroll;
    background-size: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.event-jumbotron .event-badge {
    display: inline-block;
    background-color: #29B6F6;
    color: #fff;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.event-jumbotron .event-img {
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.section-awards{
    background: url('../img/public/back_grey_wave.jpg');
    background-attachment: scroll;
    background-size: cover;
    background-position: center center;
}

.section-awards-heading{
    background: url('../img/public/back_grey_wave.jpg');
    background-attachment: scroll;
    background-size: cover;
    background-position: center center;
}

.section-awards-heading > div{
    flex-wrap: wrap;
}

.section-awards-heading .container img{
    height: 60px;
    opacity: 0.8;
    @media (max-width: 600px) {
        height: 40px;
        margin: 6px 0;
    }
}

.media{
    background-color: #eeeeee;
}

.media span, .partners span{
    color: #747474;
    font-size: 16px;
    font-style: italic;
}

/* FOOTER */
footer.page-footer .footer-copyright {
    overflow: hidden;
    background-color: #222;
    font-size: .9rem;
    color: rgba(255,255,255,.6);
}

footer.page-footer {
    background-color: #f3f3f3;
    color: #666;
}

footer .footer-dashboard{
    line-height:50px;
}

footer.page-footer a {
    color: #666 !important;
    text-decoration: underline;
}


footer .links-footer span{
    padding: 0 5px;
}

.btn-dyt {
    background-color: #29B6F6;
}

/* REGISTER */
.section_register{
    /*background: url('../img/public/background-home.jpg');*/
    /*background: url('../img/public/back_orig_50.jpg');*/
    /*background-attachment: scroll;*/
    /*background-size: cover;*/
    background: rgba(36,193,221,1);
    /*background: -moz-linear-gradient(top, rgba(36,193,221,1) 0%, rgba(53,202,188,1) 100%);*/
    /*background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(36,193,221,1)), color-stop(100%, rgba(53,202,188,1)));*/
    /*background: -webkit-linear-gradient(top, rgba(36,193,221,1) 0%, rgba(53,202,188,1) 100%);*/
    /*background: -o-linear-gradient(top, rgba(36,193,221,1) 0%, rgba(53,202,188,1) 100%);*/
    /*background: -ms-linear-gradient(top, rgba(36,193,221,1) 0%, rgba(53,202,188,1) 100%);*/
    background: linear-gradient(to bottom, rgba(36,193,221,1) 0%, rgba(53,202,188,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#24c1dd', endColorstr='#35cabc', GradientType=0 );
    height: 100%;
}

.section_register h2, .section_register h3{
    font-family: 'Montserrat', sans-serif;
    /*font-weight: 700;*/
    font-size: 40px;
    margin-bottom: 25px;
}

.section_register h2 span, .section_register h3 span {
    color: rgb(255, 0, 153);
}

.section_register h3{
    font-size:25px;
}
.section_register #professional_description h3,
.section_register #school_description h3,
.section_register #entity_description h3{
    font-size:18px;
}

.section_register .card .card-header h3 {
    font-size: 20px;
    padding: 0;
    margin:0;
    text-align: center;
}

.select-wrapper {
    position: relative;
    padding-left: 2rem;
    width: calc(100%);
}

.no-margin-select .select-wrapper {
    padding-left: 0;
    width: calc(100%);
}

.select-wrapper+label {
    position: absolute;
    top: -14px;
    font-size: .7rem;
}

.select-wrapper.mdb-select-alumnis{
    padding-left: 0;
}

.select-wrapper input.select-dropdown{
    height: 2.1rem;
    margin: 0;
}

.section_register .select-wrapper {
    height: calc(1.5em + .75rem + 2px);
    padding: 0 .375rem 0.75rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out
}

.section_register .select-wrapper input.select-dropdown {
    border-bottom: NONE;
    outline: 0;
    height: 38px;
    line-height: 2.9rem;
    width: 100%;
    font-size: 1rem;
    margin: 0 0 .94rem;
    padding: 0;
    display: block;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.section_register  .select-wrapper span.caret {
    right: 8px;
    top: .8rem;
}

@media (max-width: 992px) {
    .section_register .full-bg-img {
        padding-top: 75px;
    }

    .section_register h2{
        font-size: 24px;
    }

    .full-height.register_type_html{
        height: auto;
    }
    .full-height.register_type_html header .view,
    .full-height.register_html header .view{
        height: auto;
    }

    .full-height.register_html{
        min-height: 100%;
    }

    .section_register{
        height: auto;
    }
}

/* FORMS */

.md-form.form-sm label{
    width:100%;
}
.md-form.form-sm .mdb-select~label{
    font-size: 0.8rem
}
.md-form.form-sm label.active {
    -webkit-transform: translateY(-140%);
    -ms-transform: translateY(-140%);
    transform: translateY(-140%);
    font-size: .7rem;
}
.md-form.form-sm input{
    font-size: 0.8rem;
}
input.invalid+label:after{
    top: 30px !important;
    font-size: .7rem;
}
input.invalid+label.active:after{
    top: 48px !important;
}
.md-form.form-sm input[type=password]+label:after{
    top: 26px;
}
.md-form.form-sm input[type=password]+label.active:after{
    top: 48px;
}

.md-form.form-sm .g-recaptcha{
    margin: 0 auto;
}

.md-form.form-sm .error-ul{
    min-height: auto;
    color: #F44336;
    margin: 0 auto;
}
.md-form.form-sm .error-ul li{
    margin: 0;
    font-size:0.7rem;
}

.multiple-select-dropdown li [type=checkbox]+label {
    height: 10px;
    top: 0.14rem;
    width: auto;
}


#test-chart {
    width: 568px;
    height:150px;
    position: relative;
    margin: 0 auto 20px;
}

#test-chart .text {
    color: #707070;
    font-size: 20px;
    position: absolute;
}
#test-chart .text.risk {
    left: 0;
    bottom: 0;
}
#test-chart .text.norisk {
    right: 0;
    bottom: 0;
}

#test-chart .background {
    position: absolute;
    top: 50px;
    left: 0px;
}

#test-chart .pointer {
    position: absolute;
    top: 0px;
    left: 275px;
}

/* ERROR PAGES */
#error_page {
    width:100%;
    height:100%;
    background: url('../img/public/background-dyt-60.jpg');
    background-size: cover;
}
#error_page .wrap {
    max-width: 600px;
    text-align: center;
    position: relative;
    top: 50%;
    left:50%;
    -webkit-transform: translate(-50%, -60%);
    -ms-transform: translate(-50%, -60%);
    transform: translate(-50%, -60%);
}

#error_page .code{
    font-size: 6rem;
}

@media (max-width: 768px){
    #error_page .code{
        font-size: 4rem;
    }
}

/* STEPPER */

.stepper-vertical .step-content a.link-text{
    display: inline-block;
    padding:0;
}
.stepper-vertical .step-content a.btn{
    display: inline-block;
}

.stepper-vertical li .step-content ul {
    font-size: .88rem;
    padding: 0 20px 20px;
}


/* SWITCH */
.switch label {
    min-width: 125px;
}

/* TIMEPICKER */
#input_time {
    display: inline-block;
    width: 60px;
    text-align: center;
    border: solid 1px #ddd;
    font-size: 0.8rem;
    color: #666;
}

.blue-dyt{
    color: #29B6F6 !important;
}

.contact-button-link.youtube{
    background-color: #ff6565;
}
.contact-button-link.twitter{
    background-color: #5ea9df;
}

#contact-buttons-bar {
    top: 50%;
    margin-top: -170px;
}

.login_tutor_text{
    height:auto;
}
.login_alumni_text{
    /*height:112px;*/
    height:auto;
}
.login_alumni_btns{
    margin-top: 67px;
    /*margin-top: 30px;*/
}

@media (max-width: 992px) {
    .section_login .full-bg-img {
        padding-top: 75px;
    }

    .section_login {
        height:auto;
        padding-bottom: 40px;
    }
}

.footer-box{
    background-color: #dedede;
    height:270px;
    border-radius: 2rem!important;
}

.footer-box h5{
    font-family: 'Fira Sans',  sans-serif !important;
}

.modal.modal-content-clickable{
    bottom:0 !important;
}

.card.no-shadow{
    box-shadow: none !important;
}

.card-chd h4{
    height:50px;
}

.card-login{
    padding:40px;
    min-height:400px;
}

.card-login-left{
    border-radius: 0.25rem 0 0 0.25rem;
    background: #444;
}
.card-login h2{
    font-weight: 400;
    font-family: 'Fira Sans', sans-serif;
}

.btn-register-type{
    padding: .40rem 0.14rem;
    width: 33.33%;
}

.type_description, .register_step{
    display:none;
}
.type_description.active, .register_step.active{
    display:block;
}

.hidden{
    display:none;
}

.fixed-sn main {
    padding-left: 0;
    padding-top: 6.5rem;
}

.modal-body.small p{
    font-weight: 300;
}

.zoom {
    position: fixed;
    z-index: 100;
    bottom: 10px;
    right: 20px;
    height: 70px;
}

.zoom-fab {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: #009688;
    vertical-align: middle;
    text-decoration: none;
    text-align: center;
    transition: 0.2s ease-out;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    color: #FFF;
}

.zoom-fab:hover {
    background-color: #4db6ac;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 7px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
}

a.zoom-btn-large {
    width: 60px;
    height: 60px;
    line-height: 60px;
    color: #ffffff !important;
}

.zoom-menu {
    position: absolute;
    right: 65px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    height: 52px;
    width: 500px;
    list-style: none;
    text-align: right;
}

.zoom-menu li {
    display: inline-block;
    margin-right: 10px;
}

.zoom-card {
    position: absolute;
    right: 150px;
    bottom: 70px;
    transition: box-shadow 0.25s;
    padding: 24px;
    border-radius: 2px;
    background-color: #009688;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    color: #FFF;
}

.zoom-card ul {
    -webkit-padding-start: 0;
    list-style: none;
    text-align: left;
}

.scale-transition { transition: transform 0.3s cubic-bezier(0.53, 0.01, 0.36, 1.63) !important; }

.scale-transition.scale-out {
    transform: scale(0);
    transition: transform 0.2s !important;
}

.scale-transition.scale-in { transform: scale(1); }

.features .card-body div{
    min-height: 143px;
}


.form-private label{
    margin-bottom: 0px;
}

.form-private input, .form-private select{
    margin-bottom: 10px;
}

.timeline-main .stepper.stepper-vertical.timeline li  p a {
    padding: 0;
    display:inline;
    left: auto;
    align-self: auto;
    text-align: left;
}

.navbar-nav .badge{
    padding-top: 0;
    line-height: 14px;
    vertical-align: bottom;
}

/* Adjustment for mobile devices*/
@media (max-width: 776px) {
    #skills div{
        text-align:center;
    }

    .card-login{
        min-height:auto;
    }

    #contact-buttons-bar{
        display: none;
    }

    .h1-responsive, .section-heading h1 {
        font-size: 150% !important;
    }
}

table.dataTable.table-sm>thead>tr>th.select-checkbox,
table.dataTable tbody td.select-checkbox{
    padding:0;
    width: 36px !important;
}

span.row_id{
    display:none;
}


table.dataTable tbody td.select-checkbox:before, table.dataTable tbody th.select-checkbox:before{
    content: '';
    position: absolute;
    top: 12px;
    left: 14px;
    width: 18px;
    height: 18px;
    z-index: 0;
    border: 2px solid #8a8a8a;
    -webkit-border-radius: 1px;
    border-radius: 1px;
    margin-top: 3px;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}

table.dataTable tr.selected td.select-checkbox:before, table.dataTable tr.selected th.select-checkbox:before {
    border: none;
}

table.dataTable tr.selected td.select-checkbox:after, table.dataTable tr.selected th.select-checkbox:after{
    content: '';
    top: 22px;
    left: 8px;
    width: 12px;
    height: 1.375rem;
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    border-right: 2px solid #4285f4;
    border-bottom: 2px solid #4285f4;
    -webkit-transform: rotate(40deg);
    -ms-transform: rotate(40deg);
    transform: rotate(40deg);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}

#pricing_table{
    position: relative;
}
#pricing_table .overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height:100%;
    background: rgba(0,0,0,0.2);
    display: none;
}
#pricing_table .overlay .preloader-wrapper{
    top: 50%;
    margin-top: -34px;
    left: 50%;
    margin-left: -34px
}


#center_detail .center-logo{
    width: 100%;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
    text-align: center;
}
#center_detail .center-logo img{
    max-width: 100%;
    max-height: 140px;
    margin: 0 auto;
    display: block;
    padding:10px;
}

#center_detail ul li{
    margin-bottom: 10px;
}
#center_detail ul i{
    color: #4285f4;
    display: inline-block;
    float: left;
    padding-top: 3px;
    width: 15px;
}

#center_detail ul span{
    display: block;
}

@media (min-width: 1440px){
    .col-xxl-5 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33%;
        flex: 0 0 40%;
        max-width: 40%;
    }
}

.card .card-body h5 {
    font-size: 1rem;
    margin-bottom: 0;
}

.pricing-card .price h1, .pricing-card .price h2 {
    font-size: 5rem;
    padding: 1.5rem;
    font-weight: 300;
}

.pricing-card .price {
    position: relative;
    padding-top: 3rem;
}

.pricing-card .striped .fa-check {
    color: #4caf50;
}

.pricing-card .striped li {
    border-bottom: 1px solid rgba(153,153,153,.298039);
    margin-bottom: 1rem;
}

.md-form.md-outline label{
    width:auto;

}

.accordion-faq .fa{
    margin-top: -12px;
}

.login-divider{
    border-top: 1px solid #d9dadc;
    display: block;
    line-height: 1px;
    margin: 20px 0;
    position: relative;
    text-align: center;
}

.login-divider .divider-title {
    background: #fff;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 0 20px;
    text-transform: uppercase;
}

.btn-social-login .btn {
    margin: .375rem 0;
}

#alumnis_migrations td{
    padding-top: 15px;
    padding-bottom: 13px;
}

.environment {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 100%;
    color: white;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
}

.environment.staging{
    background: #e4ed64;
}

.environment.development{
    background: #9ff684;
    color: #0d0d0d;
}

#map-container {
    svg { width: 100%; max-width: 800px; }
    path {
        fill: #cce5ff;
        stroke: #333;
        cursor: pointer;
        transition: fill 0.3s;
    }
    path:hover { fill: #007bff; }
    .tooltip {
        position: absolute;
        padding: 5px 10px;
        background: #333;
        color: #fff;
        border-radius: 4px;
        font-size: 14px;
        pointer-events: none;
        display: none;
    }
}

.section-map {
    .row > div {
        padding: 36px;
        @media (max-width: 600px){
            padding: 24px;
        }
    }
}

#spain-map{
    height: 600px;
    @media (max-width: 600px){
        height: 400px !important;
    }
}

.ldBar {
    position: relative;
    width: 100% !important;
    height: 50% !important;
    @media (max-width: 600px){
        height: 200px !important;
    }
}
.ldBar.label-center > .ldBar-label {
    position: absolute;
    top: 35%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-shadow: 0 0 3px #fff;
}
.ldBar-label:after {
    content: "%";
    display: inline;
}
.ldBar.no-percent .ldBar-label:after {
    content: "";
}

.ldBar-label {
    font-family: 'Fira Sans', sans-serif;
    font-size: 3rem;
    color: #0f0d1a;
    @media (max-width: 600px){
        font-size: 2rem;
    }
}




/* El dropdown se ajusta al ancho del contenedor del input */
.dropdown-menu.school {
    min-width: 100% !important;  /* Ocupa el mismo ancho que el input */
    max-width: 450px;            /* Ajusta este valor si quieres permitir más ancho */
    font-size: 0.9rem;           /* Texto ligeramente más pequeño */
    white-space: nowrap;         /* Todo en una línea */
    overflow: hidden;
    text-overflow: ellipsis;     /* Añade "..." si el texto es demasiado largo */
}

#school-suggestions {
    max-height: 300px; /* o el valor que prefieras */
    overflow-y: auto;
    overflow-x: hidden;
}

/* Asegura que cada opción se vea bien con texto largo */
.dropdown-item.school {
    display: block;
    white-space: normal !important; /* Permite múltiples líneas */
    padding: 6px 12px;
    font-size: 0.8rem;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;

    &.active {
        background-color: #c4c5ca;
        color: #212529;
    }

    /* Primera línea: nombre del colegio */
    .school-option .school-name {
        font-weight: bold;
        color: #212529; /* color del texto */
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Segunda línea: provincia */
    .school-option .school-provincia {
        font-size: 0.8rem;
        color: #6c757d; /* texto gris */
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

.pointer{
    cursor: pointer;
}

.toggle-password, .info-email {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
}


.toggle-password:hover {
    color: #333;
}

.logo-top-section{
    display: block;
    max-height: 60px;
    max-width: 80%;
    margin: 20px auto;
}

.form-wrapper{
    position: relative;

    .form-mask{
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
        backdrop-filter: blur(2px);
    }
}

.btn-floating-chd {
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, .18), 0 4px 15px 0 rgba(0, 0, 0, .15);
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 1;
    vertical-align: middle;
    display: inline-block;
    overflow: hidden;
    -o-transition: all .2s ease-in-out;
    transition: all .2s
    ease-in-out;
    margin: 10px;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
}

.carousel-multi-item .controls-top .btn-floating-chd {
    background: #4285f4;
}

.carousel-multi-item .controls-top .btn-floating-chd i{
    color: #fff;
}

.carousel-multi-item .controls-top {
    text-align: center;
    margin-bottom: 12px;
}

.carousel-multi-item .carousel-indicators {
    margin-bottom: 0;
}

.carousel-multi-item {
    margin-bottom: 2rem;
}


element.style {
}

@media only screen and (max-width: 992px) {
    .carousel-multi-item .carousel-indicators li {
        margin-bottom: -1.88rem;
    }
}
.carousel-multi-item .carousel-indicators li {
    height: 1rem;
    width: 1rem;
    max-width: 1rem;
    background-color: grey;
    margin-bottom: -3.75rem;
}

.carousel-multi-item .carousel-indicators .active {
    height: 1rem;
    width: 1rem;
    max-width: 1rem;
    background-color: #4285f4;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

.publication-img {
    width: 60px;
}

.publication-img  img{
    border: solid 1px #ddd;
    border-radius: 2px;
    overflow: hidden;
}

.award-img {
    width: 40px;
}

.awards-list {
    max-width: 800px;
}

.w-20 {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
    padding: 16px;
}

.testimonial-carousel .board-slide {
    margin-right: 16%;
    margin-left: 16%;
}

.section-board{
    background: url('../img/public/fondo-letras.png');
    background-attachment: scroll;
    background-size: cover;
}

.board-bio-wrapper{
    top: 0;
    z-index: 10;
    height: 100%;
    width: 100%;
}

.board-bio-wrapper .bio-backdrop{
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.board-bio-wrapper .card{
    max-width: 80%;
    max-height: 80%;
}

.board-bio-wrapper .card .card-body{
    overflow: auto;
    padding-bottom: 12px;
}

@media (max-width: 600px) {
    .board-bio-wrapper .card{
        max-width: 96%;
    }
}

.steps-register{
    display: table;
    width: 100%;
    position: relative; }
.steps-register .steps-row {
    display: table-row; }
.steps-register .steps-row:before {
    top: 12px;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 100%;
    height: 2px;
    background-color: #7283a7; }
.steps-register .steps-row .step {
    display: table-cell;
    text-align: center;
    position: relative; }

.steps-register .steps-row .step p {
    margin-top: 0.5rem; }

.steps-register .steps-row .step button[disabled] {
    opacity: 1 !important;
    filter: alpha(opacity=100) !important; }

.steps-register .steps-row .step .btn-circle {
    width: 24px;
    height: 24px;
    border: 2px solid #59698D;
    background-color: white !important;
    color: #59698D !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.steps-register .steps-row .step .btn-circle.active {
    width: 24px;
    height: 24px;
    border: 2px solid #59698D;
    background-color: #59698D !important;
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.btn-group.account-type {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.btn-group.account-type .btn {
    width: 200px;
    margin-bottom: 16px;
}

.btn-group.account-type .btn.active {
    background-color: #4285f4 !important;
    color: white !important;
}


/*.steps-register .steps-row .step .btn-circle.active {*/
/*    width: 70px;*/
/*    height: 70px;*/
/*    border: 2px solid #59698D;*/
/*    background-color: #59698D !important;*/
/*    color: #fff !important;*/
/*    border-radius: 50%;*/
/*    padding: 22px 18px 15px 18px;*/
/*    margin-top: 2px; }*/
/*.steps-register .steps-row .step .btn-circle:hover {*/
/*    border: 2px solid #4285F4;*/
/*    color: #4285F4 !important;*/
/*    background-color: white !important; }*/
/*.steps-register .steps-row .step .btn-circle .fa {*/
/*    font-size: 1.7rem; }*/

.radio--buttons {

    input {
        display: none;
    }

    label {
        display: inline-block;
        position: relative;
        margin-right: 16px;
        padding-left: 24px;
        cursor: pointer;

        &:before {
            content: "";
            display: block;
            position: absolute;
            width: 16px;
            height: 16px;
            left: 0;
            top: 50%;
            margin-top: -8px;
            border: 1px solid #6c757d;
            border-radius: 8px;
        }

        &:after {
            content: "";
            display: block;
            position: absolute;
            width: 0;
            height: 0;
            top: 50%;
            left: 8px;
            margin-top: 0;
            background: #4285f4;
            border-radius: 4px;
            transition: .2s ease-in-out;
        }
    }

    :checked + label {
        &:after {
            height: 8px;
            width: 8px;
            margin-top: -4px;
            left: 4px;
        }
    }
}

.school-card{
    background: #6495ed;
    color: white;
}

.school-card h4{
    color: white;
}
