:root{
    --color-brand: #e2231a;
}

.color-b{
    color: var(--color-brand) !important;
}

.bg-corporative{
    background: var(--color-brand) !important; 
}

#top-bar{
    background: var(--color-brand);
}

.valoracio-estrella:hover{
    cursor: pointer;
    transform: scale(1.5);
}

.icona_formacions_portlet{
    border-radius: 50%; 
    height: 80px !important; 
    width: 80px !important; 
    color: white !important; 
    text-align: center; 
    justify-content: center; 
    align-items: center; 
    display: flex;
}


.c-btn{display:inline-block;position:relative;overflow:hidden;}
.c-btn.type-1{font-size:14px;line-height:18px;font-weight:700;color:var(--color-brand);border:2px solid var(--color-brand);-moz-border-radius:5px;border-radius:5px;}
.c-btn.type-1 span,.c-btn.type-1 input{display:inline-block;position:relative;padding:15px 20px 15px 20px; /*padding:5%**/;z-index:2;}
.c-btn.type-1:before{content:'';display:block;position:absolute;top:0;left:0;bottom:0;width:0;background:var(--color-brand);-webkit-transition:all 300ms ease-in-out;-moz-transition:all 300ms ease-in-out;transition:all 300ms ease-in-out;}
.c-btn.type-1:after{content:'';display:block;position:absolute;top:0;right:0;bottom:0;width:0;background:var(--color-brand);-webkit-transition:all 300ms ease-in-out;-moz-transition:all 300ms ease-in-out;transition:all 300ms ease-in-out;}
.c-btn.type-1 input{background:transparent;border:0;font-size:inherit;line-height:inherit;text-transform:inherit;letter-spacing:inherit;font-weight:inherit;}
.c-btn.type-1.full{width:100%;text-align:center;}
.c-btn.type-1.color-2{border-color:#fff;color:#fff;}
.c-btn.type-1.color-2:before,
.c-btn.type-1.color-2:after{background:#fff;}
.c-btn.type-1:hover{color:#fff;}
.c-btn.type-1:hover:before,.c-btn.type-1:hover:after{width:51%;}
.c-btn.type-1.color-2:hover{color:#30373b;}



.cntct-button-2:disabled, .cntct-button-2[disabled]{
    border: 2px solid #999999 !important;
    border-color: #999999 !important;
    background-color: #cccccc !important; 
    background: #cccccc !important;
    color: #666666 !important;
}
input:disabled, input[disabled]{
    background-color: #cccccc !important; 
    color: #666666 !important;
    background: #cccccc !important;
}
.disabled-btn{
    border:1px solid #999999 !important;
}

/* CONTACTE */
.cntct-button-2 {
    position: relative;
    display: inline-block;
    padding: 10px 30px;
    text-align: center;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 1px;
    text-decoration: none;
    color: white;
    background: transparent;
    cursor: pointer;
    transition: ease-out 0.5s;
    border: 2px solid white;
    border-radius: 10px;
    box-shadow: inset 0 0 0 0 white;
    font-family: Quicksand, sans-serif;
    font-weight: 600;
    width: 200px;
    height: 48px;
    margin-bottom: 40px;
}

.cntct-button-2-header{
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
    text-decoration: none;
    color: white;
    background: transparent;
    cursor: pointer;
    transition: ease-out 0.5s;
    border: 1px solid white;
    border-radius: 30px;
    box-shadow: inset 0 0 0 0 white;
    font-family: Quicksand, sans-serif;
    font-weight: 600;
    width: 200px;
}

.cntct-button-2:hover {
    color: var(--color-brand);
    box-shadow: inset 0 -100px 0 0 white;
}

.cntct-button-2-header:hover {
    color: var(--color-brand);
    box-shadow: inset 0 -100px 0 0 white;
}


.cntct-button-2:disabled{
    transition: none !important;
    background: #cccccc !important;
    box-shadow: inset 0 -100px 0 0 #cccccc;

}

.cntct-button-2:active {
    transform: scale(0.9);
}


.bg-contactar{
    background: var(--color-brand); 
    padding: 40px 0px !important;
}

.swiper {
    width: 100%;
    height: 700px !important;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

element.style {
    transition-duration: 0ms;
    transform: translate3d(0px, 0px, 0px);
}
.swiper-android .swiper-slide, .swiper-wrapper {
    transform: translate3d(0px, 0, 0);
}
.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
    box-sizing: content-box;
}
.call-to-action {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: #fff;
    z-index: 1;
    text-align: center;
    padding: 40px 30px;
    background: var(--color-brand) !important;
    width: 30% !important;
}



/* BLOG */
#header-blog{
    background-position: top !important;
    /* background-size: contain !important; */
    background-size: cover !important;
    background-repeat: no-repeat !important;
}
.bg-img{
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}
.img-noticia{
    height: 200px;
}

.container-filter {
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 30px;
    padding: 0;
    text-align: center;
}

.container-filter li {
    list-style: none;
    display: inline-block;
}

.container-filter a {
    display: block;
    font-size: 14px;
    /* margin: 10px 5px; */
    text-transform: uppercase;
    cursor: pointer;
    font-weight: 400;
    line-height: 30px;
    -webkit-transition: all 0.6s;
    border-bottom: 1px solid transparent;
    color: #2E130C !important;
}

.container-filter a:hover {
    color: #2E130C !important;
}

.container-filter a.active {
    color: #2E130C !important;
    /* border-bottom: 1px solid #222222; */
    font-weight: 800;
}
.item-box {
    position: relative;
    overflow: hidden;
    display: block;
}

.item-box a {
    display: inline-block;
}


.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 20px; /* Ajusta el margen superior según sea necesario */
}

.pagination {
    /* Estilos personalizados para la paginación */
}

.pagination .page-item {
    margin: 0px 5px;
}

.pagination .page-link {
    border: 1px solid var(--color-brand) !important;     
    border-radius: 0px !important;   
    color:var(--color-brand) !important;
}

.page-link:focus{
    box-shadow: inherit !important;
}
.pagination .page-item.active .page-link {
    /* Estilos personalizados para el enlace de la página activa */
}
.page-link:hover {
    background-color: var(--color-brand) !important;
    color: #fff !important;
}
.page-item.active .page-link {
    color: #fff !important;
    background-color: var(--color-brand) !important;
    border-color: var(--color-brand) !important;
    border: 1px solid var(--color-brand) !important;     
    border-radius: 0px !important;
}
.swiperBlog{
    height: 300px;
}
.noticia:hover{
    cursor: pointer;
   /* -ms-transform: scale(1.15);
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
    z-index: 1000;*/
    overflow: hidden;
}

.noticia-info{
    font-weight: 400;
    font-size: 13px;
}
.saber-mes{
    font-size: 15px;
}
.noticia-url{
    font-weight: 500;
}
.bg-noticia{
    width: 100%;
    height: 500px;
    position: relative;
    text-align: center;
    cursor: pointer;
    /* margin-bottom: 20px; */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.parent:hover .bg-noticia, .parent:focus .bg-noticia {
    -ms-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
}

.parent:hover .bg-noticia:before, .parent:focus .bg-noticia:before {
    display: block;
}

.parent .row {
    position: relative;
}
.parent:hover a, .parent:focus a {
    display: block;
}
.parent {
    width: 100%;
    overflow: hidden;
    position: relative;
    float: left;
    display: inline-block;
    cursor: pointer;
    overflow: hidden;
}

.noticia-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

/* .bg-noticia:hover {
    background-size: 150%;
} */


/* END BLOG*/

.w-20{
    width: 20% !important;
}
.w-30{
    width: 30% !important;
}
.w-40{
    width: 40% !important;
}

input.form-control , textarea.form-control, select{
    border: 1px solid transparent !important;
    border-bottom: 1px solid black !important;
    border-radius: 0px !important;
}

.form-control:focus , textarea.form-control:focus, select:focus{
    color: #495057 !important;;
    border-bottom: 2px solid  var(--color-brand) !important;
    outline: 0 !important;;
    box-shadow: 0 0 0 .2rem rgba(255, 255, 255, 0) !important;
}


.btn-brand-cc {
    border: 0.75px solid var(--color-brand);
    border-radius: 0px;
    text-transform: uppercase;
    color: var(--color-brand);
    display: inline-block;
    width: 100%;
    font-weight: 500;
    background: transparent !important;
}

.btn-brand-cc:hover {
    border: 0.75px solid var(--color-brand);
    border-radius: 0px;
    text-transform: uppercase;
    color: white !important;
    display: inline-block;
    width: 100%;
    font-weight: 500;
    transition: ease-out 0.5s;
    -webkit-transition:all 300ms ease-in-out !important;
    -moz-transition:all 300ms ease-in-out !important;
    transition:all 300ms ease-in-out !important;
    text-decoration: none !important;
    box-shadow: inset 0 -100px 0 0 var(--color-brand) !important;
}

.btb {
    border-top: 1px solid var(--color-brand);
    border-bottom: 1px solid var(--color-brand);
}

.form-control-contact {
    /* width: 300px; */
    /* padding: 10px; */
    /* background: transparent !important; */
    border: 1px solid transparent !important;
    box-shadow: inset 0 0px 0px rgba(0, 0, 0, .075) !important;
    border-bottom: 1px solid white !important;
    border-radius: 0px !important;
    background: transparent !important;
    color: white !important;
}

.form-control-contact:focus {
    border-bottom-color: white !important; 
    border-bottom: 2px solid white !important;

}
.form-control-contact::placeholder {
    color: white !important;
    /* font-size: 1.5em; */
}

.white{
    color: white;
}

.underline-links a {
    text-decoration: underline !important; /* Asegura que el subrayado sea visible */
}

.tt-post-2-litle{
    color: white;
    font-size: 50px; 
    font-weight: 800;
}
/* Estilos específicos para fondo claro */
.light-background{
    background: #ffffff !important;
    color: #000000;
}
.light-background .form-control-contact {
    background: transparent !important;
    color: #000 !important;
}

.light-background .form-control-contact:focus {
    border-bottom-color: #000 !important;
    border-bottom: 2px solid #000 !important;
}

.light-background .form-control-contact::placeholder {
    color: #000 !important;
}

.light-background .label_contact {
    color: #000 !important;
}


.label_contact {
    color: white !important;
    font-size: 16px !important;
}

.form-control-n {
    border: 1px solid transparent !important;
    box-shadow: inset 0 0px 0px black !important;
    border-bottom: 1px solid black !important;
    border-radius: 0px !important;
    background: transparent !important;
    color: black !important;
}

.container2{
    padding: 0px 15px !important;
}

.form-control-n:focus {
    border-bottom-color: black !important; 
    border-bottom: 2px solid var(--color-brand) !important;
}

.input-group-text{
    background: transparent !important;
}

@media (max-width: 767px) {

    .call-to-action{
        width: 90% !important;
    }
}

 
.nav-subpagines {
    position: absolute;
    top: 100%;
    left: 0%;
    justify-content: normal;
    display: grid;
    box-shadow: 0 0 3.76px 0.24px rgb(0 0 0 / 15%);
}
.item-sub {
    padding: 15px 40px 15px 15px;
    background: #ffffffdf;
    /* border-bottom: 0.5px solid rgb(122, 122, 122); */
    text-align: left;
    color: black;
    color: black;
    text-decoration: none;
    width: 100% !important;
    min-width: 200px !important;
}

.item-sub:hover{
    color: var(--brand-color);
    text-decoration: none;
}

.bb-2{
    border-bottom: 1px solid #00000021;
}

label{
    color: black !important;
    /* text-transform: uppercase; */
}

@media(max-width: 767px){
    .icona_formacions_portlet{
        border-radius: 50%; 
        height: 200px; 
        width: 200px; 
        color: white !important; 
        text-align: center; 
        justify-content: center; 
        align-items: center; 
        display: flex;
    }
    
}
