/*
Theme Name: Territorios para la vida
Author: Paulo Carvajal
Author URI: https://paulocarvajal.com/
Description: A child theme of Goodwish Theme
Version: 1.0
Template: goodwish
*/

:root {
    --font-regular: url('assets/fonts/Futura.ttf');
    --font-bold: url('assets/fonts/Futura-Bold.ttf');
    --color-main: #c7955d;
	--color-accent: #ffb422;
    --color-white: #fff;
    --color-black: #000;
}

@font-face {
    font-family: 'Futura';
    src: var(--font-regular);
}

@font-face {
    font-family: 'Futura Bold';
    src: var(--font-bold);
}



body {
    font-family: 'Futura';
}

p {
    font-family: 'Futura';
}

h1, h2, h3, h4, h5 {
    font-family: 'Futura Bold', arial;
}

.futura_bold {
    font-family: 'Futura Bold';
}

/* Header */
.edgtf-top-bar a:hover {
	color: var(--color-accent) !important;
}

.edgtf-drop-down .edgtf-menu-narrow .edgtf-menu-second .edgtf-menu-inner ul li ul {
    background-color: #141414 !important;
}


/* Home */
.home-img-hero .vc_col-has-fill>.vc_column-inner {
	padding-top: 0;
}
.home-img-hero figure,
.home-img-hero a,
.home-img-hero a > img {
	width: 100%;
	max-width: initial;
}

/* Proyectos */
.proyecto_titulo h1 {
    font-family: 'Futura Bold';
}

.proyecto_que_es {
    columns: 1;
}
@media (min-width: 768px){
    .proyecto_que_es {
        columns: 2;
    }
}


.color_blanco {
    color: #fff;
}

.texto_muynegrita{
    font-weight: 900;
}


.hero {
    padding: 60px 0px;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: calc(100vh - 150px) !important;
    box-sizing: border-box;
}

.admin-bar .hero{
    height: calc(100vh - 182px) !important;
}

.hero.hero_territorio {
    height: calc(100vh - 236px) !important;
}

.admin-bar .hero.hero_territorio{
    height: calc(100vh - 268px) !important;
}

.terlab-title {
    height: calc(100vh - 150px) !important;
    background-position: right 100px center !important;
    background-repeat: no-repeat !important;
}



.admin-bar .terlab-title{
    height: calc(100vh - 182px) !important;
}
.terlab-title.terlab-title-image-not-responsive .terlab-title-image {
    display: none !important;
}
.terlab-title .terlab-title-holder {
    height: 100% !important;
}

.terlab-title.terlab-title-medium-text-size h1 {
    font-size: 40px;
    letter-spacing: 0;
}
.terlab-title-subtitle-holder-inner {
    display: flex;
    flex-direction: column;
    flex-flow: column-reverse;
}

@media (max-width: 1024px) {
    #menu_anclas {
        display: none;
    }
    .vc_row.hero_inicio {
        text-align: left;
        background-position: center top 30px !important;
        background-size: 300px !important;
        padding-top: 350px;
        max-height: auto;
        height: auto !important;
    }
    .terlab-title.terlab-has-background {
        padding: inherit !important;
        background-color: #20201f!important;
        background-image: url("/wp-content/uploads/2019/10/ico_teritorios_claro.png") !important;
        height: calc(100vh - 150px) !important;
        background-position: right 100px center !important;
        background-repeat: no-repeat !important;
    }

    .admin-bar .terlab-title.terlab-has-background{
        height: calc(100vh - 182px) !important;
    }
    .terlab-title .terlab-title-holder {
        height: 100% !important;
    }
    h1 {
        font-size: 30px;
    }
    .terlab-title .terlab-title-holder h1 {
        font-size: 30px;
    }
    .terlab-title .terlab-title-holder .terlab-separator-holder, .terlab-title .terlab-title-holder .terlab-subtitle {
        display: block;
    }
}
.anclas_territorio ul {
    margin: 0;
    display: inline-flex;
    list-style-type: none;
}

.anclas_territorio li a {
    font-size: 12px;
    text-transform: uppercase;
    color: #000;
    padding: 15px;
    font-weight: 900;
    font-family: 'Futura Bold';
}

.contenido_centrado {
    text-align: center;
}

.anclas_territorio {
    text-align: center;
    background-color: #C7955D;
    padding: 30px;
}
.anclas_territorio li a:hover {
    color: #fff;
}

.terlab-logo-wrapper a {
    height: auto !important;
    max-height: 77px !important;
    width: 250px;
}

img {
    display: block;
}
.color_principal{
    color: #C7955D;
}


.terlab-top-bar .widget:after{
    display: none;
}

.terlab-top-bar a {
    font-size: 15px;
    line-height: 22px;
    font-weight: 700;
}

.terlab-top-bar a:hover {
    color: #fff;
}

a.terlab-search-opener:hover {
    color: #fff !important;
}

.wpb_text_column.wpb_content_element.titulo_seccion p, .wpb_text_column.wpb_content_element.titulo_seccion h2 {
    font-size: 30px;
    line-height: 40px;
    font-weight: 900;
    text-transform: uppercase;
    font-family: 'Futura Bold';
    padding-bottom: 30px;
}

.terlab-mobile-header .terlab-mobile-logo-wrapper a {
    max-width: 250px;
}

@media (min-width: 768px){
    .seccion_con_titulo {
        min-height: 400px;
    }
    .seccion_estudio_eu {
        min-height: 550px;
    }

    .seccion_con_titulo > .terlab-section-inner > .terlab-section-inner-margin > .wpb_column > .vc_column-inner > .wpb_wrapper {
        padding-left: 80px;
        position: relative;
    }

    .wpb_text_column.wpb_content_element.titulo_seccion {
        position: absolute;
        top: 0;
        left: 10px;
    }

    .wpb_text_column.wpb_content_element.titulo_seccion p, .wpb_text_column.wpb_content_element.titulo_seccion h2 {
        white-space: nowrap;
        font-size: 40px;
        line-height: 48px;
        position: absolute;
        right: 0;
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
        transform-origin: right;
    }
}
.fondo_derecha {
    background-position: right 100px top 100px !important;
}

.boton_ter {
    border-radius: 0;
    padding: 10px !important;
    border-width: 3px !important;
    font-family: Futura;
}

.boton_ter.boton_color_principal {
    color: #c7955d !important;
    border-color: #c7955d !important;
}

.boton_ter.boton_color_principal:hover {
    color: #fff !important;
    background-color: #c7955d !important;
}

.fila_video .wpb_single_image.vc_align_center {
    text-align: center;
    margin-top: calc(25% - 93px);
    margin-bottom: calc(25% - 93px) !important;
}


a.vc_single_image-wrapper:hover:after {
    background: none;
}

.terlab-image-gallery .terlab-image-gallery-grid {
    margin: 0;
}
.terlab-gallery-image {
    padding: 0 !important;
    margin: 0 !important;
}
.terlab-image-gallery .terlab-image-gallery-grid .terlab-gallery-image a {
    display: block;
}

.numero_fondo p {
    position: absolute;
    /*top: calc(50% - 100px);
    left: calc(50% - 60px);
    font-size: 200px;
    line-height: 200px;*/
    top: calc(50% - 75px);
    left: calc(50% - 45px);
    font-size: 130px;
    line-height: 120px;
    font-weight: 900;
    color: #C7955D;
    z-index: 3;
}
.texto_front {
    position: relative;
    z-index: 999;
}

.terlab-footer-widget-title {
    color: #C7955D !important;
    font-weight: 900;
}

footer {
    margin-top: -50px;
}

footer .widget ul li a {
    color: #fff;
    font-family: Futura;
}

footer img {
    max-width: 200px;
    margin-bottom: 20px;
}

footer .terlab-container-inner {
    padding: 50px 0 30px 0 !important;
}

.terlab-sticky-header img {
    max-height: 60px !important;
}

p.fecha_evento, p.lugar_evento, p.nombre_evento {
    font-size: 25px;
    line-height: 30px;
    margin-bottom: 15px;
}
p.nombre_evento {
    font-family: 'Futura Bold';
    letter-spacing: 1px;
}

span.terlab-item-text {
    font-family: 'Futura Bold';
    font-size: 12px;
}


footer .widget ul li {
    padding-bottom: 0;
}

footer a {
	font-family: 'Futura' !important;
}

.terlab-drop-down .terlab-menu-narrow .terlab-menu-second .terlab-menu-inner ul li {
    width: 250px;
}

.terlab-drop-down .terlab-menu-second {
    border: 0;
}

.terlab-drop-down .terlab-menu-second .terlab-menu-inner ul li, .header-widget.widget_nav_menu ul.menu li ul li {
    border-bottom-width: 2px;
}

.terlab-page-header .terlab-sticky-header .terlab-sticky-holder {
    border-bottom: 0;
}

.terlab-drop-down .terlab-menu-second {
    top: calc(100%);
}

.terlab-header-standard .terlab-fullscreen-menu-opener, .terlab-header-standard .terlab-search-opener {
    color: #fff;
}

body .hero_pag {
    min-height: 450px !important;
    background-position: right 100px center!important;
    box-sizing: border-box;
    /*animation: animatedBackground 0.5s linear;*/
}


ul {
    color: #141414;
    font-family: Futura;
    font-size: 18px;
    line-height: 24px;
}

.terlab-mobile-header-holder {
    background-color: #000;
}

.terlab-mobile-header .terlab-mobile-menu-opener a {
    color: #fff;
}

.terlab-page-header {
    background-color: #000;
}


.min_400{
    min-height: 400px;
}

.admin-bar #menu_anclas.stick {
    position: fixed;
    top: 32px;
    z-index: 9999;
}
#menu_anclas.stick {
    position: fixed;
    top: 0;
    z-index: 9999;
    width: 100%;
}

.anclas-territorio ul li.menu-active a {
    color: #fff !important;
}

ul ul, ul ul ul {
    margin-top: 15px;
}

.terlab-container.terlab-container-bottom-navigation {
    margin-bottom: 50px;
    background-color: #C7955D;
}

.terlab-container.terlab-container-bottom-navigation a {
    color: #fff !important;
}

.terlab-container.terlab-container-bottom-navigation a:hover {
    color: #000 !important;
}
.terlab-container.terlab-container-bottom-navigation li.active span {
    color: #000 !important;
}

.hero_inicio {
    text-align: left;
}

.hero_inicio .terlab-section-inner-margin {
    max-width: 650px;
}

.titulo {
    font-size: 28px;
    line-height: 34px;
}

.subtitulo {
    font-size: 18px;
    line-height: 22px;
}

.texto_mayusculas {
    text-transform: uppercase;
}

.seccion_flex .terlab-section-inner-margin {
    display: flex;
    align-items: center;
}

h3.terlab-item-title.entry-title, .terlab-excerpt {
    color: #fff;
}

.widget_icl_lang_sel_widget ul {
    list-style: none;
    margin-left: 0px;
    display: flex;
}

.widget_icl_lang_sel_widget .wpml-ls-item {
    padding: 0px 10px;
    border-right: 2px solid #141414;
    line-height: 10px;
}

.widget_icl_lang_sel_widget a {
    line-height: 15px;
}

.widget_icl_lang_sel_widget ul .wpml-ls-last-item {
    border: 0px !important;
}

.terlab-sidebar .terlab-separator-holder.terlab-sidebar-title-separator:before {
    background-color: #C7955D;
}
.vc_separator h4 {
    font-size: 20px;
}
.single-post .terlab-sidebar {
    margin-bottom: 60px;
}

.terlab-blog-list-holder.terlab-image-in-box .terlab-item-image {
    vertical-align: top;
}


.terlab-light-header .terlab-top-bar .terlab-search-opener, .terlab-header-standard .terlab-fullscreen-menu-opener, .terlab-header-standard .terlab-search-opener {
    color: #212121 !important;
}

.terlab-light-header .terlab-top-bar .terlab-search-opener:hover, .terlab-header-standard .terlab-fullscreen-menu-opener:hover, .terlab-header-standard .terlab-search-opener:hover {
    color: #FFF !important;
}


.terlab-event-date {
    display: none !important;
}

.terlab-event-single-holder .terlab-full-width-inner {
    padding-top: 150px;
}

.terlab-social-share-holder.terlab-list .terlab-social-share-title {
    font-family: Futura;
}

.terlab-event-list-holder.terlab-event-list-standard .terlab-el-item .terlab-el-item-content .terlab-el-item-location-title-holder .terlab-el-item-location, .terlab-event-list-holder.terlab-event-list-standard .terlab-el-item .terlab-el-item-content .terlab-el-item-location-title-holder .terlab-el-item-time {
    font-family: Futura;
}

.terlab-event-list-holder.terlab-event-list-standard .terlab-el-item .terlab-el-item-date {
    font-family: Futura;
    background-color: #C7955D;
}

.terlab-sidebar .widget .terlab-search-wrapper input[type=text] {
    font-family: Futura;
}

.terlab-blog-list-holder .terlab-item-info-section {
    font-family: Futura;
}

.terlab-blog-holder article .terlab-post-info {
    font-family: Futura;
}

.terlab-sidebar .widget ul:not(.product_list_widget) li:not(.terlab-blog-list-item) {
    font-family: Futura;
}
.terlab-blog-holder article .terlab-post-info-bottom .terlab-post-info-bottom-left a {
    font-family: Futura;
}
.terlab-sidebar select {
    font-family: Futura;
}

.wpb_raw_code.wpb_content_element.wpb_raw_html.svg_home a svg {
    max-width: 180px;
}

.widget_media_image {
    width: 120px;
}
.widget_media_image img {
    width: 100%;
}

.terlab-logo-wrapper a img {
    width: 300px;
}

.terlab-mobile-header .terlab-mobile-logo-wrapper a {
    display: block;
    max-height: 80px;
    height: auto !important;
    width: 300px;
}

footer .widget_media_image {
    width: 300px;
    max-width: 100%;
}

.terlab-sticky-header .terlab-search-opener {
    color: #fff !important;
}

.terlab-sticky-header .terlab-search-opener:hover  {
    color: #C7955D !important;
}

.terlab-blog-list-holder .terlab-item-info-section>div a:hover {
    color: #fff;
}



.terlab-event-single-holder {
    margin-bottom: 120px;
}

.h3-size {
    font-size: 26px !important;
    line-height: 36px !important;
}

#respond input[type=text], #respond textarea, .post-password-form input[type=password], .wpcf7-form-control.wpcf7-date, .wpcf7-form-control.wpcf7-number, .wpcf7-form-control.wpcf7-quiz, .wpcf7-form-control.wpcf7-select, .wpcf7-form-control.wpcf7-text, .wpcf7-form-control.wpcf7-textarea {
    background-color: transparent;
    border: 0;
    border-bottom: 2px solid #fff;
    border-radius: 0;
    color: #141414;
    font-family: Futura;
}

#respond input[type=text]:focus, #respond textarea:focus, .post-password-form input[type=password]:focus, .wpcf7-form-control.wpcf7-date:focus, .wpcf7-form-control.wpcf7-number:focus, .wpcf7-form-control.wpcf7-quiz:focus, .wpcf7-form-control.wpcf7-select:focus, .wpcf7-form-control.wpcf7-text:focus, .wpcf7-form-control.wpcf7-textarea:focus {
    border: 0;
    border-bottom: 2px solid #141414;
}

.wpcf7 label {
    color: #fff;
    margin-top: 30px !important;
    display: block;
}

form.wpcf7-form {
    max-width: 600px;
}

.texto_peque {
    font-size: 16px;
    line-height: 24px;
}

.wpcf7-submit {
    color: rgb(255, 255, 255) !important;
    border-color: rgb(255, 255, 255) !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    background-color: rgba(0, 0, 0, 0) !important;
    border-radius: 0 !important;
    padding: 10px !important;
    border-width: 3px !important;
    font-family: Futura !important;
}

input.wpcf7-form-control.wpcf7-submit:hover {
    background-color: #fff !important;
    color: #c7955d !important;
}

.terlab-mobile-nav {
    max-width: 250px;
    box-sizing: border-box;
}

.terlab-mobile-nav .terlab-grid {
    width: 100%;
}

.terlab-mobile-nav ul {
    background-color: #000;
}

.terlab-mobile-header .terlab-mobile-nav li {
    position: relative;
    border-bottom-style: solid;
    border-bottom-color: #c7955d;
    border-bottom-width: 2px;
    padding: 0;
}

.terlab-mobile-header .terlab-mobile-nav a, .terlab-mobile-header .terlab-mobile-nav h4 {
    display: block;
    position: relative;
    text-transform: uppercase;
    line-height: 17px;
    letter-spacing: 0;
    color: #ffffff;
    font-size: 12px;
    line-height: 15px;
    font-style: normal;
    font-weight: 600;
    margin: 0 0 0 21px;
    padding: 15px 4px;
    border-bottom: 0;
}

.mobile_arrow {
    color: #ffffff;
    font-size: 30px;
    padding-top: 4px;
}

.terlab-mobile-nav a:hover span {
    color: #c7955d !important;
}

@media (max-width: 1200px){
    .terlab-page-header .terlab-grid {
        width: 1100px;
        max-width: 100%;
    }
}

@media (max-width: 768px){
    .terlab-top-bar {
        display: block;
    }

    .terlab-top-bar .widget_media_image {
        width: 80px;
        margin-right: 0;

        padding-right: 0;
    }

    .terlab-top-bar .terlab-grid {
        width: 100%;
    }

    .terlab-top-bar #nav_menu-3 {
        display: none;
    }

    .terlab-top-bar .terlab-search-opener {
        display: none !important;
    }

    .terlab-top-bar .terlab-vertical-align-containers.terlab-50-50 .terlab-position-center-inner,
    .terlab-top-bar .terlab-vertical-align-containers.terlab-50-50 .terlab-position-left-inner,
    .terlab-top-bar .terlab-vertical-align-containers.terlab-50-50 .terlab-position-right-inner {
        width: initial;
    }

    p.fecha_evento, p.lugar_evento, p.nombre_evento {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 15px;
    }
    .fila_video .vc_single_image-img {
        max-width: 70px;
        margin: 50px;
    }
    .icono_material {
        max-width: 150px;
        box-sizing: border-box;
        text-align: left !important;
        margin-bottom: 30px !important;
    }
    .seccion_flex .terlab-section-inner-margin {
        display: block;
        align-items: center;
    }
    #scnb-cookie-bar .wrap{
        flex-direction: column;
    }

    .wpb_raw_code.wpb_content_element.wpb_raw_html.svg_home a svg {
        max-width: 150px;
    }
}

.terlab-el-item-title {
    font-size: 18px !important;
    line-height: 24px !important;
}
.terlab-post-title.entry-title, .terlab-item-title.entry-title {
    font-size: 18px !important;
    line-height: 24px !important;
}

p.pp_description {
    display: none !important;
}

@media (min-width: 1025px) and (max-width: 1033px){
    .terlab-main-menu.terlab-default-nav > ul > li > a, .terlab-page-header #lang_sel > ul > li > a, .terlab-page-header #lang_sel_click > ul > li > a, .terlab-page-header #lang_sel ul > li:hover > a {
        color: #ffffff;
        font-size: 10px;
        text-transform: uppercase;
    }
    .terlab-main-menu.terlab-sticky-nav > ul > li > a {
        color: #ffffff;
        font-size: 10px;
        line-height: 15px;
        text-transform: uppercase;
    }
}
@media (min-width: 1034px) and (max-width: 1080px){
    .terlab-main-menu.terlab-default-nav > ul > li > a, .terlab-page-header #lang_sel > ul > li > a, .terlab-page-header #lang_sel_click > ul > li > a, .terlab-page-header #lang_sel ul > li:hover > a {
        color: #ffffff;
        font-size: 11px;
        text-transform: uppercase;
    }

    .terlab-main-menu.terlab-sticky-nav > ul > li > a {
        color: #ffffff;
        font-size: 11px;
        line-height: 15px;
        text-transform: uppercase;
    }
}

.terlab-event-single-holder .terlab-event-info-item .terlab-event-info-item-title {
    width: 50%;
}

@keyframes animatedBackground {
    from { background-position: right -200px center; }
    to { background-position: right 100px center!important; }
}

.terlab-event-list-holder.terlab-event-list-standard .terlab-el-item .terlab-el-item-date .terlab-el-item-my .terlab-el-item-year {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 15px;
    text-transform: lowercase;
}

@media (max-width: 480px){
    .botones_centrados {
        text-align: center;
    }

    .botones_centrados a.terlab-btn {
        margin-bottom: 5px !important;
        display: inline-block;
    }
}

table, table tr {
    border: 2px solid #000;
}
table tr {
    border-bottom: 2px solid #000 !important;
}
table td, table th {
    border-right: 2px solid #000;
    color: #141414;
    text-align: left;
}
table td{
    font-size: 18px;
    line-height: 24px;
    padding: 5px 10px 15px 10px!important;
}
table tbody th {
    border-right: 2px solid #000;
    background-color: #C7955D;
}

#scnb-cookie-bar .wrap {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px 10px 15px;
}

.scnb-text {
    width: auto !important;
}
.scnb-buttons {
    width: auto !important;
    min-width: 140px;
    text-align: right;
}

.terlab-item-text br {
    display: none;
}

@media (max-width: 1440px){
    .terlab-item-text br {
        display: block !important;
    }
    .terlab-item-text .espacio_menu {
        display: none;
    }
}

.sa_vert_center{
    max-width: 1300px !important;
    margin: 0 auto;
    position: relative !important;
    top: 200px !important;
    z-index: 2;
}

.sa_vert_center p{
    max-width: 650px !important;
}

.sa_vert_center h1, .sa_vert_center h2, .sa_vert_center h3, .sa_vert_center h4, .sa_vert_center h5, .sa_vert_center p {
    color: #fff !important;
    font-weight: bold;
    margin-bottom: 20px;
}

.sa_vert_center a {
    color: #fff;
    border: 2px solid;
    padding: 10px;
    margin-top: 20px !important;
    display: inline-block;
}

#slider_boton .sa_hover_container::before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1;
}

.sa_hover_buttons {
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    margin: 0 !important;
}


body .white .sa_owl_theme .owl-item .sa_hover_container:hover .sa_hover_buttons .sa_slide_link_icon {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100%;
    height: 100%;
    background: none !important;
}


body .white .sa_owl_theme .owl-item .sa_hover_container:hover .sa_hover_buttons .sa_slide_link_icon:hover {
    background-color: rgba(0,0,0,0.4) !important;
}

.terlab-drop-down > ul > li:hover > .terlab-menu-second {
    z-index: 20;
    visibility: visible;
    opacity: 1;
}

/* Footer 4 images */
.wp-image-23356 {
    width: 160px !important;
}
.wp-image-23353 {
    width: 143px !important;
}

.widget_media_image img {
    width: 180px;
}


/* Custom Team widget */
.team-container {
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 1rem 1rem;
}

.team-member {
    background-color: var(--color-white);
    padding: 1.4rem;
    border-radius: 0.5rem;
    box-shadow: 0px 0px 5px 1px #00000022;
}
.team-member__title {
    font-family: 'Futura Bold', sans-serif;
    text-transform: uppercase;
    padding-bottom: 0.7rem;
}
.team-member__img {
    padding-bottom: 1rem;
    border-radius: 0.5rem;
}

@media (min-width: 760px){
    .team-container {
        grid-template-columns: 1fr 1fr;
    }
    .team-member {
        padding: 1rem;
    }
}
@media (min-width: 1024px){
    .team-container {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
