/*
GENERAL STYLES CONTENT TYPE PORTADA
 */
@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');

.node-cover span,
.node-cover p,
.node-cover div,
.node-cover ul,
.node-cover li,
.node-cover ol,
.node-cover h1,
.node-cover h2,
.node-cover h3,
.node-cover h4,
.node-cover h5,
.node-cover h6 {
    font-family: 'Montserrat', sans-serif;
}

.node-type-cover .bloque-registro,
.node-type-cover .bloque-registro {
    display: none;
}

.flexslider .flex-direction-nav,
.flexslider .flex-direction-nav {
    display: none;
}

/*
GADGET ITEM
*/

.gadget-item {
    display: flex;
    /*align-items: center;*/
    margin: 40px 0;
}

.gadget-item img {
    width: 100%;
    height: auto;
}

.gadget-item .group-left,
.gadget-item .group-right {
    padding: 0 20px;
    box-sizing: border-box;
    width: 50%;
}

.gadget-item .group-right .field-name-field-texto-g-item,
.gadget-item .group-left .field-name-field-texto-g-item {
    /*padding: 15px 0;*/
}

.gadget-item .group-left h1,
.gadget-item .group-right h1 {
    margin-top: 0;
    margin-bottom: 20px;
}

.gadget-item h2,
.gadget-texto h2 {
    text-transform: uppercase;
    font-size: 40px;
    color: #000;
    font-weight: bold;
    line-height: 1.1em;
    margin-bottom: 15px;

}

.gadget-item h3,
.gadget-texto h3 {
    text-transform: uppercase;
    font-size: 28px;
    color: #000;
    font-weight: bold;
    line-height: 1.1em;
}


/*.gadget-item h2:after,*/
/*.gadget-texto h2:after {*/
/*    content: '';*/
/*    display: block;*/
/*    width: 216px;*/
/*    height: 5px;*/
/*    background-color: #E1AD07;*/
/*    margin: 10px 0 20px;*/
/*}*/

.gadget-item h2.rtecenter:after,
.gadget-texto h2.rtecenter:after {
    display: block;
    margin: auto;
}

.gadget-item h4,
.gadget-texto h4 {
    text-transform: uppercase;
    font-size: 26px;
    color: #000;
    font-weight: bold;
    line-height: 1.1em;
}

.gadget-galeria {
    width: 100%;
}

.gadget-galeria.view-mode-slider {
    margin-top: 40px;
    width: 100%
}

.gadget-galeria.view-mode-slider ul.flex-direction-nav {
    height: 50px;
    position: relative;
    display: block;
}

.gadget-galeria.view-mode-slider ul.flex-direction-nav li:first-child {
    position: absolute;
    left: 0;
}

.gadget-galeria.view-mode-slider ul.flex-direction-nav li:last-child {
    position: absolute;
    right: 0;
}

.gadget-galeria.view-mode-slider ul.flex-direction-nav .flexslider .flex-direction-nav a, .flexslider .flex-direction-nav a {
    display: block;
    color: black;
    margin: 0;
    top: initial;
    z-index: 99999;
    overflow: visible;
    opacity: 1;
    font-size: 24px;
    height: 100%;
    width: 100%;
    text-indent: initial;
    text-shadow: none;
}

.gadget-galeria.view-mode-slider ul.flex-direction-nav .flexslider .flex-direction-nav a, .flexslider .flex-direction-nav a.flex-prev,
.gadget-galeria.view-mode-slider ul.flex-direction-nav .flexslider .flex-direction-nav a, .flexslider .flex-direction-nav a.flex-next {
    color: transparent;
    font-size: 10px;
    position: relative;
}

.gadget-galeria.view-mode-slider ul.flex-direction-nav .flexslider .flex-direction-nav a, .flexslider .flex-direction-nav a.flex-next:after,
.gadget-galeria.view-mode-slider ul.flex-direction-nav .flexslider .flex-direction-nav a, .flexslider .flex-direction-nav a.flex-prev:after {
    content: '';
    height: 40px;
    width: 40px;
    visibility: visible;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: center center;
}

.gadget-galeria.view-mode-slider ul.flex-direction-nav .flexslider .flex-direction-nav a, .flexslider .flex-direction-nav a.flex-prev:after {
    background-image: url(../../assets/images/flecha-hacia-la-izquierda.png);
}

.gadget-galeria.view-mode-slider ul.flex-direction-nav .flexslider .flex-direction-nav a, .flexslider .flex-direction-nav a.flex-next:after {
    background-image: url(../../assets/images/flecha-hacia-la-izquierda.png);
    transform: rotate(180deg);
}

/*.gadget-item h3:after,*/
/*.gadget-texto h3:after {*/
/*    content: '';*/
/*    display: block;*/
/*    width: 180px;*/
/*    height: 5px;*/
/*    background-color: #E1AD07;*/
/*    margin: 10px 0 20px;*/
/*}*/

.gadget-item p,
.gadget-item li,
.gadget-item span,
.gadget-texto p,
.gadget-texto li,
.gadget-texto span {
    font-size: 16px;
}


/*
Gadget botón
*/

.entity-gadget.gadget-bot-n.view-mode-normal {
    justify-content: center;
    color: #000;
    height: 230px;
}

.entity-gadget.gadget-bot-n.view-mode-normal .field-name-field-ppal-boton {
    text-align: center;
    padding: 30px 0;
}

.entity-gadget.gadget-bot-n.view-mode-normal .field-name-field-enlace {
    text-align: center;
    width: 100%;
}

.entity-gadget.gadget-bot-n.view-mode-normal .field-name-field-enlace .field-items {
    text-align: center;
    display: grid;
    justify-items: center;
}

.entity-gadget.gadget-bot-n.view-mode-normal .field-name-field-enlace .field-items .field-item.even {
    max-width: 200px;
    text-align: center;
    width: 100%;
}

.entity-gadget.gadget-bot-n.view-mode-normal .field-name-field-enlace .field-items .field-item.even .ext {
    float: none;
}

.entity-gadget.gadget-bot-n.view-mode-normal a {
    background-color: #000;
    border: 1px solid #000;
    color: #fff;
    padding: 15px 20px;
    font-size: 16px;
    border-radius: 0;
    text-transform: uppercase;
    transition: 0.4s;
    display: block;
    float: left;
}

.entity-gadget.gadget-bot-n.view-mode-normal a:hover {
    background-color: #fff;
    color: #000;
    transition: 0.4s;
}

.entity-gadget.gadget-bot-n.view-mode-normal a .ext {
    display: none !important;
}

.entity-gadget.gadget-bot-n.view-mode-subrayado {
    padding: 0 25px;
}

.entity-gadget.gadget-bot-n.view-mode-subrayado a {
    font-weight: bold;
    color: #000 !important;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: block;
}

.entity-gadget.gadget-bot-n.view-mode-subrayado a:after {
    content: '';
    display: block;
    width: 80px;
    background-color: #000;
    height: 2px;
    transition: 0.4s;
    margin-top: 5px;
}

.entity-gadget.gadget-bot-n.view-mode-subrayado:hover a:after {

    width: 120px;
    transition: 0.4s;
}

.entity-gadget.gadget-bot-n.view-mode-subrayado a .ext {
    display: none;
}

.entity-gadget.gadget-slider {
    position: relative;
}

.entity-gadget.gadget-slider .flex-caption {
    display: none !important;
}

.entity-gadget.gadget-slider .field-name-slide-item-title .field-items {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 190px;
    background-color: rgba(0, 0, 0, 0.4);
}


.gl-row .gl-row-contenedor {
    max-width: 80%;
    margin: auto;
}

.entity-gadget.gadget-imagen img {
    width: 100%;
    height: auto;

}


.entity-gadget.gadget-separator .size-small {
    padding-top: 10px;
    padding-bottom: 10px;
    display: block;
}


.entity-gadget.gadget-separator .size-medium {
    padding-top: 20px;
    padding-bottom: 20px;
    display: block;
}


.entity-gadget.gadget-separator .size-large {
    padding-top: 40px;
    padding-bottom: 40px;
    display: block;
}

/* NEW STYLES */

.gadget-slider.view-mode-slider .field-name-slide-item-title * {
    /*color: #fff;*/
    font-weight: 700;
    font-size: 48px;
    line-height: 1.1em;
}

.gadget-slider.view-mode-slider .field-name-slide-item-title .field-item {
    width: 100%;
    padding-right: 190px;
}

.gadget-texto .field-name-field-texto-gadget {
    padding: 0 20px;
}

.gl-row .gl-hollow-50 {
    padding-right: 20px;
}

.gl-row .gl-hollow-50 + .gl-hollow-50 {
    padding-left: 20px;
    padding-right: 0;
}

/*Wysiwyg lineas de colores*/

/*Blue color*/
h2.title-blue:after {
    content: '';
    display: block;
    width: 216px;
    height: 5px;
    background-color: #006daf;
    margin: 10px 0 20px;
}

/*Red color*/
h2.title-red:after {
    content: '';
    display: block;
    width: 216px;
    height: 5px;
    background-color: #c50000;
    margin: 10px 0 20px;
}

/*Green color*/
h2.title-green:after {
    content: '';
    display: block;
    width: 216px;
    height: 5px;
    background-color: #9bcdb6;
    margin: 10px 0 20px;
}

/*Yellow color*/
h2.title-yellow:after {
    content: '';
    display: block;
    width: 216px;
    height: 5px;
    background-color: #e1ad07;
    margin: 10px 0 20px;
}

/*Orange color*/
h2.title-orange:after {
    content: '';
    display: block;
    width: 216px;
    height: 5px;
    background-color: #d27044;
    margin: 10px 0 20px;
}

/*Pink color*/
h2.title-pink:after {
    content: '';
    display: block;
    width: 216px;
    height: 5px;
    background-color: #b072ab;
    margin: 10px 0 20px;
}

/*black color*/
h2.title-black:after {
    content: '';
    display: block;
    width: 216px;
    height: 5px;
    background-color: #000;
    margin: 10px 0 20px;
}

/*LAYOUT*/
.node-type-cover .gl-row-33-34-33 > .gl-hollow {
    width: 33.33% !important;
}

.ds-1col.entity.entity-gadget.gadget-texto.view-mode-full {
    margin-top: 30px;
}

.ds-1col.entity.entity-gadget.gadget-texto.view-mode-full .field-name-field-titulo {
    text-align: center;
    font-size: 2.5em;
    font-weight: bold;
    padding: 20px;
    color: #000;
    letter-spacing: 10px;
    line-height: 40px;
}


.ds-1col.entity.entity-gadget.gadget-texto.view-mode-full .field-name-field-g-texto-txt {
    text-align: justify;
}

.gadget-item.ds-2col .field-name-field-image-g-item {
    margin-left: -20px;
    margin-right: -20px;
}

.gadget-item.ds-2col .field-name-field-image-g-item .field-item {
    text-align: center;
}

.gadget-item.ds-2col .field-name-field-image-g-item .field-item img {
    width: 100%;
}

.node-type-cover #section-main-content .container {
    padding: 0 !important;
}

.ds-1col.entity.entity-gadget.gadget-redes-sociales.view-mode-def.clearfix {
    margin-top: 50px;
}

.ds-1col.entity.entity-gadget.gadget-redes-sociales.view-mode-def.clearfix .paragraphs-items.paragraphs-items-field-red.paragraphs-items-field-red-full.paragraphs-items-full .field-items:first-child {
    /*max-width: 400px;*/
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /*justify-content: center;*/
}

.ds-1col.entity.entity-gadget.gadget-redes-sociales.view-mode-def.clearfix .paragraphs-items.paragraphs-items-field-red.paragraphs-items-field-red-full.paragraphs-items-full .field-item {
    margin-bottom: 15px;
    width: 20%;
}

.ds-1col.entity.entity-gadget.gadget-redes-sociales.view-mode-def.clearfix .paragraphs-items.paragraphs-items-field-red.paragraphs-items-field-red-full.paragraphs-items-full .field-name-field-imagen-red .field-item {
    width: 100%;
    text-align: center;
}

.ds-1col.entity.entity-paragraphs-item.paragraphs-item-redes-sociales .field-name-field-imagen-red {
    width: 100%;
}

.ds-1col.entity.entity-paragraphs-item.paragraphs-item-redes-sociales .field-name-field-imagen-red .field-item {
    /*margin-top: 10px;*/
    width: 25%;
}

.ds-1col.entity.entity-paragraphs-item.paragraphs-item-redes-sociales .field-name-field-url-red {
    margin-left: -50px;
}

.ds-1col.entity.entity-paragraphs-item.paragraphs-item-redes-sociales .field-name-field-url-red .field-item {
    width: 100%;
}


/*.field.field-name-field-red.field-type-paragraphs.field-label-hidden > .field-items {*/
/*    border-left: 1px solid lightgray;*/
/*}*/

.ds-1col.entity.entity-paragraphs-item.paragraphs-item-redes-sociales.view-mode-full {
    width: 100%;
    display: flex;
    align-items: center;
}

.ds-1col.entity.entity-paragraphs-item.paragraphs-item-redes-sociales.view-mode-full img {
    width: 60px;
}

.ds-1col.entity.entity-paragraphs-item.paragraphs-item-redes-sociales.view-mode-full a {
    font-size: 15px;
}


/*RESPONSIVE*/
@media all and  (max-width: 1260px) {
    /*GADGET SLIDER*/
    .gadget-slider .field-name-slide-item-image {
        /*height: 450px;*/
        overflow: hidden;
    }

    .gadget-slider .field-name-slide-item-image img {
        /*width: 150%;*/
        /*max-width: 200%;*/
        width: 100%;
    }

    .ds-1col.entity.entity-gadget.gadget-redes-sociales.view-mode-def.clearfix {
        margin-top: 70px;
        padding-left: 0;
    }

    .entity-gadget.gadget-slider .field-name-slide-item-title .field-items .field-item * {
        font-size: 56px !important;
    }

    /*.entity-gadget.gadget-texto,*/
    /*.entity-gadget.gadget-item,*/
    /*.entity-gadget.gadget-separator,*/
    /*.entity-gadget.gadget-boto-n,*/
    /*.entity-gadget.gadget-redes-sociales {*/
    /*    padding: 20px;*/
    /*}*/
    .ds-1col.entity.entity-gadget.gadget-texto.view-mode-full .field-name-field-titulo {
        line-height: 40px;
    }

}

@media all and  (max-width: 992px) {
    .node-type-cover #section-main-content {
        padding-top: 0 !important;
    }

    /*GADGET SLIDER*/
    .gadget-slider .field-name-slide-item-image img {
        width: 190%;
    }

    .entity-gadget.gadget-slider .field-name-slide-item-title .field-items {
        padding-left: 30px;
        padding-right: 30px;
    }

    .gadget-slider.view-mode-slider .field-name-slide-item-title .field-item {
        padding-right: 0;
    }

    /*GADGET TEXTO*/
    .gadget-item h2, .gadget-texto h2 {
        font-size: 32px;
    }

    /*GADGET SEPARATOR*/
    .entity-gadget.gadget-separator .size-large {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    /*LAYOUT*/
    .node-type-cover .gl-row-50-50 {
        display: block;
    }

    .node-type-cover .gl-hollow-50 {
        display: block;
        width: 100% !important;
        max-width: 100%;
        padding: 0 !important;
    }

    /*GADGET IMAGEN*/
    .gadget-imagen {
        max-width: 700px;
        margin: 0 auto;
    }


    .entity-gadget.gadget-bot-n.view-mode-normal a {
        margin-top: -10px;
    }

    .ds-1col.entity.entity-gadget.gadget-redes-sociales.view-mode-def.clearfix {
        margin-top: 35px;
    }

    /*MOTOR DE BUSQUEDA*/

}

@media all and  (max-width: 768px) {
    /*GADGET SLIDER*/
    .gadget-slider .field-name-slide-item-image {
        /*height: 350px;*/
    }

    .entity-gadget.gadget-slider .field-name-slide-item-title .field-items .field-item * {
        font-size: 48px !important;
    }

    /*GADGET TEXTO*/
    .gadget-item h2, .gadget-texto h2 {
        font-size: 28px;
    }

}

@media all and  (max-width: 640px) {
    /*GADGET SLIDER*/
    .gadget-slider .field-name-slide-item-image img {
        /*width: 300%;*/
        /*max-width: 300%;*/
        /*margin-left: -100px;*/
        width: 100%;
        margin-left: 0;
    }

    .entity-gadget.gadget-slider .field-name-slide-item-title .field-items .field-item * {
        font-size: 32px !important;
    }

    /*GADGET TEXTO*/
    .gadget-item h2, .gadget-texto h2 {
        font-size: 24px;
        line-height: 1.3em;
    }

    .gadget-item h3, .gadget-texto h3 {
        font-size: 22px;
        line-height: 1.3em;
    }

    /*LAYOUT 2 COL*/
    .gadget-item.ds-2col {
        display: block;
        margin-bottom: 15px;
        margin-top: 0;
    }

    .gadget-item.ds-2col > * {
        float: none;
        width: 100%;
    }

    .gadget-item.ds-2col .field-name-field-image-g-item {
        margin: 0;
    }

    .gadget-item.ds-2col .field-name-field-image-g-item .field-item {
        text-align: center;
    }

    .gadget-item.ds-2col .field-name-field-image-g-item .field-item img {
        width: 100%;
    }

    .gadget-item .group-right .field-name-field-texto-g-item {
        margin-top: 20px;
    }

    .entity-gadget.gadget-bot-n.view-mode-normal .field-name-field-ppal-boton {
        padding-bottom: 10px;
        padding-top: 10px;
    }
    .entity-gadget.gadget-bot-n.view-mode-normal .field-name-field-enlace .field-items .field-item.even {
        display: grid;
    }
    .gadget-item .group-left, .gadget-item .group-right {
        padding: 0;
    }
}

@media all and  (max-width: 480px) {
    .entity-gadget.gadget-slider .field-name-slide-item-title .field-items .field-item * {
        font-size: 28px !important;
    }

    /*GADGET TEXTO*/
    .gadget-item h2, .gadget-texto h2 {
        font-size: 22px;
    }

    .gadget-item h3, .gadget-texto h3 {
        font-size: 18px;
        line-height: 1.3em;
    }

    .entity-gadget.gadget-separator .size-large {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    /*LAYOUT*/
    .gl-row-33-34-33 {
        display: block;
    }

    .node-type-cover .gl-row-33-34-33 > .gl-hollow {
        float: none;
        width: 100% !important;
        max-width: 100% !important;
        display: block;
        border-bottom: 5px solid #000000;
    }

    .node-type-cover .gl-row-33-34-33 > .gl-hollow:last-child {
        border-bottom: 0;
    }

    .entity-gadget.gadget-bot-n.view-mode-normal a {
        margin-bottom: 20px;
    }

    .gadget-item .group-right .field-name-field-texto-g-item {
        margin-top: 20px;
    }

}


