.txt-box {

    padding: 20px;
    background-color: #f5f5f5 !important;
    font-size: 16px;
    line-height: 1.6;
    color:#333;
    font-weight: 600;
}
.txt-box a {

    color: #9F0027;
    text-decoration: underline;
}

.accordion-custom .panel-title a.bg-lighter {
    background-color: #fff !important;
}
/* COLORES */
.oferta-headings-azul{
    font-weight: bold !important;
    color: #323242 !important;
}


/* RUTAS TRANSPORTE */
.bg-theme-colored {
    background-color: #9F0027;
}

#rutas_transporte {
    width: 100%;
}
#rutas_transporte th:first-child, #rutas_transporte td:first-child {
    width: 20%;
}

/* EXTRAESCOLARES */
.accordion-custom .panel-title a {
    background-color: #fff !important;
}
.accordion-custom .panel .panel-title a.active::after {
    background-color: #9F0027 !important;
}

.nota-tabla {
    font-size: 0.9rem;
    color: #999;
}

/* #block-metod .service-block .content {
    height: 350px;
} */
/* #block-metod .service-block .content h2 {
    height: 75px;
}
#block-metod .service-block .content p {
    height: 200px;
} */

@media(min-width:1024px) {
    .accordion-custom .panel-title a {
        font-size: 1rem !important;
    }
}

@media(max-width:900px) {
    .nota-tabla {
        font-size: 1.1rem;
    }
}

@media(max-width:1023px) {
    .col-reverse-sm {
        display: flex;
        flex-direction: column-reverse;
    }
}

.title-number {
    color: #9F0027 !important;
    font-size: 2.1rem;
    margin-right: 1rem;
}

.libro-btn a {
    padding: 0px;
    border: 1px solid #9F0027;
    display: flex;
    width: 100%;
}
.libro-btn a .libro-btn-title {
    background: #ffffff;
    padding:10px 15px;
    color:#333333;
    font-weight: 600;
    width:75%;
}
.libro-btn a .libro-btn-download {
    background: #9F0027;
    padding:10px 15px;
    color:#ffffff;
    width:26%;
    text-align: center;
    font-size: 14px;
}
.libro-btn a .libro-btn-download i {
    margin-left:6px;
}
.libro-btn a:hover .libro-btn-download,
.libro-btn a:active .libro-btn-download,
.libro-btn a:focus .libro-btn-download {
    background: #101622;
}
.libro-btn a:hover,
.libro-btn a:active,
.libro-btn a:focus {
    border-color: #101622;
}
    @media (min-width:992px) and (max-width:1199px) {
        .libro-btn a .libro-btn-title {
            font-size:14px;
        }
        .libro-btn a .libro-btn-download {
            font-size:14px;
        }
    }
    @media (min-width:600px) and (max-width:900px) {
        .libro-btn a .libro-btn-title {
            font-size:14px;
        }
        .libro-btn a .libro-btn-download {
            font-size:14px;
        }
        .libro-btn {
            margin-bottom:12px!important;
        }
    }
    @media (max-width:599px) {
        .libro-btn a .libro-btn-title {
            font-size:13px;
            width:70%;
        }
        .libro-btn a .libro-btn-download {
            font-size:13px;
            width:31%;
        }
        .libro-btn {
            margin-bottom:12px!important;
        }
    }
.h2-services.h2-list {
    font-size:18px;
}
    @media (max-width:767px) {
        .box-xs {
            padding-left:10px!important;
            padding-right:10px!important;
        }
        .h2-services.h2-list {
            font-size:16px;
        }
    }

/** FOOTER **/
.first-footer-block {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px dashed #404040;
}
#footer {
    /* background: rgba(17, 17, 17, 0.9); */
    background: #232323;
}
.bg-black-141414 {
    background-color:#141414!important;
}
.logo-sello img {
    width:235px;
}
.logo-sello {
    text-align: right;
}
.divider .container.container-footer {
    padding-top: 30px;
}
.logo-sello-ipad {
    text-align: center;
}
.logo-sello-home {
    margin:0 auto;
    width:350px;
}
.logo-sello-page {
    width:350px;
    margin-top:30px;
}
    @media (min-width:992px) {
        .first-footer-block {
            display: flex;
            align-items: center;
        }
        .logo-sello-ipad {
            display: none!important;
        }
        #video_web_2 {
            display: none;
        }
    }
    @media (min-width:768px) and (max-width:991px) {
        .logo-sello {
            display: none!important;
        }
        .hide-768-991 {
            display: none!important;
        }
        .logo-sello-ipad {
            margin-top:7%;
        }
        .logo-sello-home {
            margin:10px auto 0;
        }
    }
    @media (max-width:991px) {
        .list-inline.text-right.social-foot {
            text-align: center!important;
            margin-top: 6px;
        }
        #video_web {
            display: none;
        }
    }
    @media (max-width:767px) {
        .footer-logo {
            margin-bottom:20px;
        }
        .p-footer {
            margin-bottom:30px!important;
        }
        .logo-sello {
            text-align: center;
        }
        .logo-sello-ipad {
            display: none!important;
        }
        .logo-sello-home {
            margin:10px auto 0;
            width: 300px;
        }
        .logo-sello-page {
            width:300px;
            margin:30px auto 0;
        }
    }
    #video_web .fluid-width-video-wrapper,
    #video_web_2 .fluid-width-video-wrapper {
        padding:0px!important;
    }
    #video_web .fluid-width-video-wrapper iframe,
    #video_web_2  .fluid-width-video-wrapper iframe {
        height:375px!important;
        position: relative;
    }
        @media (max-width:479px) {
            #video_web_2  .fluid-width-video-wrapper iframe {
                height:175px!important;
            }
        }

    @media (min-width:1200px) {
        #team .team-bottom-part {
            min-height: 290px;
        }
    }
    @media (min-width:992px) and (max-width:1199px) {
        #team .team-bottom-part {
            min-height: 310px;
        }
    }
    @media (min-width:768px) and (max-width:991px) {
        #team .team-bottom-part {
            min-height: 250px;
        }
    }

/* POLITICA COVID */

@media (min-width:1336px) {
    .row-3 {
        display: grid;
        grid-template-columns: repeat(3, 5fr);
        grid-gap: 30px;
        grid-auto-columns: minmax(400px, auto);
    }
}

.box-nbg {
    padding: 20px;
    margin-bottom: 30px;
}

.box-nbg h3 {
    margin-top: 0px;
    font-weight: 600;
    color: #9F0027;
    font-family: "Raleway",sans-serif;
    font-size: 20px;
    margin-bottom: 16px;
}

.box-nbg p {
    font-size: 15px;
    line-height: 1.5;
    font-family: 'Open Sans', sans-serif;
}

.panel-group .panel-title a::after {
    left: 0!important;
}

.panel-group .panel-title .open-sub {
    display: inline;
    position: relative;
    margin: 10px;
}

.accordion-custom .panel .panel-title a.active::after {
    width: 20px!important;
}

.breadcrumb-text {
    font-size:16px;
}

@media (max-width:900px) {
    .breadcrumb-text {
        font-size:15px;
    }

    .phone-header, .whatsapp-header {
        font-size: 36px;
        top: 5px;
    }

    .menuzord .showhide em {
        width: 30px;
        height: 4px;
        margin: 9px 20px 0;
    }

    #header.header-csj .menuzord-brand img {
        max-height: 70px;
    }

    .phone-header {
        right: 55px;
    }

    .whatsapp-header {
        right: 110px;
    }

    .main-content > .inner-header:first-child {
        margin-top: 70px;
    }

    .menuzord.orange .menuzord-menu > li > a {
        font-size: 15px;
    }

    .menuzord-responsive .menuzord-menu.menuzord-indented > li > ul.dropdown > li > a {
        font-size: 15px;
    }

    .btn {
        font-size: 15px;
        min-height: 48px;
        padding-top: 13px;
        padding-bottom: 13px;
    }
}

#contacto2 .cta-container {
    max-width: 758px;
}

#contacto2 .col-sm-12 {
    text-align: center;
}

#contacto2 .cta-parallax-title {
    font-size: 25px;
    color: #000;
}

#contacto1 .container {
    padding: 0;
    width: 100%;
}

#contacto1 .row {
    margin: 0;
}

#contacto1 .row>* {
    padding: 0;
}

#contacto1 .cta-parallax-title {
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 25px;
    color: #000;
    line-height: 1;
}

#contacto1 .box-contacto {
    padding-right: 50px;
    padding-left: 200px;
}

@media (max-width:900px) {
    #contacto1 .box-contacto {
        padding: 30px;
    }

    #contacto1 .cta-parallax-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 901px) {
    #contacto1 .box-contacto {
        aspect-ratio: 960/332;
    }
}

#contacto1 .box-contacto p {
    margin-bottom: 20px;
}

#contacto1 img {
    min-width: 100%;
    height: 100%;
}

/* COLORES */
.oferta-headings-azul{
    font-weight: bold !important;
    color: #323242 !important;
}

.fondo-azul-csj{
    background-color: #323242 !important;  
}

/* NUEVO BOTÓN ÁREA EDUCATIVA */
@media (min-width: 901px) and (max-width: 1199px) {
    .header-top .list-inline>li {
        padding-right: 0;
    }
}


/* NUEVA NORMATIVA COOKIES 2024 */

table.tabla-politicas thead {
    background-color: #eeeeee !important;
}
table.tabla-politicas thead th {
    border: 1px solid #dddddd !important;
}
table.tabla-politicas th, .tabla-politicas td {
    padding: 10px !important;
}
table.tabla-politicas td {
    border: 1px solid #eeeeee !important;
}
.mt-20 {
	margin-top: 30px;
}


/* PUNTO LARANXA */

.punto-laranxa .fila-laranxa {
    display: flex;
}
.btn-laranxa {
    background: #ed731a;
    color: #FFF;
}
.btn-laranxa:hover {
    color: rgb(240, 240, 240);
}
li.d-lg-none.punto-laranxa a {
    background-color: #ed731a !important;
        color: white !important;
}

@media (max-width: 991px) {
    .punto-laranxa .fila-laranxa {
        flex-direction: column;
    }
    .punto-laranxa .col-laranxa {
        order: 2;
        margin-top: 40px;
    }
}

@media (min-width: 901px) {
    .d-lg-none {
        display: none !important;
    }
}

.punto-laranxa .icon-box.info p {
    font-size: 15px;
}
.punto-laranxa .icon-box.alert p,
.punto-laranxa .icon-box.alert p strong {
    font-size: 14px;
    color: #93732e;
}
.punto-laranxa .icon-box.alert p {
    padding: 18px 15px 5px;
}
.punto-laranxa .icon-box.alert {
    background-color: #f8f3d6 !important;
}
.punto-laranxa .row.alerta {
    display: flex;
    align-items: center;
}
.punto-laranxa .row.alerta .col-md-1.p-0 {
    text-align: center;
}

.punto-laranxa  .icon-box.alert .icon.icon-top {
    top: 125px;
    width: 50px;
    height: 50px;
    background-color: #f8f3d6 !important;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .punto-laranxa  .icon-box.alert .icon.icon-top {
        top: 145px;
    }
}
@media (min-width: 717px) and (max-width: 767px) {
    .punto-laranxa  .icon-box.alert .icon.icon-top {
        top: 105px;
    }
}

@media (max-width: 382px) {
    .punto-laranxa  .icon-box.alert .icon.icon-top {
        top: 150px !important;
    }
}

/* PÁGINA DEPORTES */
@media(min-width:992px) {
    .carrusel-deporte .owl-carousel-1col.mb-sm-20.owl-carousel.owl-theme.owl-loaded,
    .carrusel-deporte .owl-carousel-1col.mb-sm-20.owl-carousel.owl-theme.owl-loaded .owl-stage-outer,
    .carrusel-deporte .owl-carousel-1col.mb-sm-20.owl-carousel.owl-theme.owl-loaded .owl-stage-outer .owl-stage, 
    .carrusel-deporte .owl-carousel-1col.mb-sm-20.owl-carousel.owl-theme.owl-loaded .owl-stage-outer .owl-stage .owl-item, 
    .carrusel-deporte .owl-carousel-1col.mb-sm-20.owl-carousel.owl-theme.owl-loaded .owl-stage-outer .owl-stage .owl-item .item,
    .carrusel-deporte .owl-carousel-1col.mb-sm-20.owl-carousel.owl-theme.owl-loaded .owl-stage-outer .owl-stage .owl-item .item img {
        height: 100% !important;
    }
    .carrusel-deporte .owl-carousel-1col.mb-sm-20.owl-carousel.owl-theme.owl-loaded .owl-stage-outer .owl-stage .owl-item .item img {
        object-fit:cover !important;
    }
}
@media(max-width:991px) {
    .carrusel-deporte {
        display: none !important;
    }
}
.bloq-recom {
    background-color:#F7F7F7;
    padding:10px 25px;
    border: 1px solid #e3e3e3;
    margin-bottom:20px;
}
.bloq-recom ul.ul-recom-com {
    margin-bottom: 15px !important;
}
ul.ul-recom-com {
    list-style: disc !important;
    padding-left: 25px !important;
    font-size: 16px !important;
    margin-bottom: 30px !important;
    color: #333 !important;
}
.bloque-rec-com h3 {
    margin-top:35px !important;
    font-weight:700;
}
@media(max-width: 900px) {
    .bloque-rec-com h4 {
        font-size:16px !important;
    }
}
.ul-recom-com.enlaces li, .ul-recom-com.enlaces li a {
    color: black !important;
}
.ul-recom-com.enlaces li a {
    text-decoration:underline;
}
.ul-recom-com.enlaces li a:hover, .ul-recom-com.enlaces li a:active, .ul-recom-com.enlaces li a:focus {
    opacity: .9 !important;
}
.row-flex-com {
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
}
.record {
    font-size:15px !important;
    text-align:center;
    margin-top:5px;
}
.row-flex-col {
    display:flex; 
    flex-direction: column;
    align-items:center;
    justify-content:center;
}
.row-display-flex {
    display:flex;justify-content:center;
    flex-wrap:wrap;
}
.row-display-flex .libro-btn {
    width: 100%;
}
@media (min-width: 1200px) {
    .header-nav-wrapper.bg-lightest .container {
        width: 1280px !important;
    }
}
@media (min-width: 1097px) and (max-width: 1199px) {
    #header .header-nav-wrapper.bg-lightest .container {
        width: 1100px !important;
    }
}
@media(max-width:1096px) and (min-width: 901px) {
    .menuzord-menu.menuzord-right {
        margin-top:15px !important;
        margin-bottom:10px !important;
    }
    .menuzord-menu.menuzord-right > li {
        padding: 0 !important;
    }
}
@media(max-width:1093px) {
    .menuzord-menu.menuzord-right {
        width:100% !important;
        display:flex;
        flex-wrap: wrap;
    }
}
.a-tiendalibros {
    font-size:18px;
    color:#323242;
}
@media(max-width:991px) {
    .banner-dobles .fondo-azul-csj:not(.col-12), .banner-dobles .bloque-gris {
        display:none;
    }
    .banner-dobles > .container.position-relative {
        padding: 0 !important;
        width:100% !important;
    }
    .banner-dobles > .container.position-relative > .row.align-items-stretch > .col-12 {
        padding: 40px 100px !important;
    }
}
@media(max-width:900px) {
    .margin-movil {
        margin-top: 20px !important;
    }
}
@media(max-width:680px) {
    .banner-dobles > .container.position-relative > .row.align-items-stretch > .col-12 {
        padding: 40px !important;
    }
}
@media(max-width:767px) {
    .a-tiendalibros {
        font-size:16px !important;
    }
}