/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

@font-face {
    font-family: 'MagistralExtra';
    src:
        url('fonts/Magistral/magistral_extrabold-italic.woff2') format('woff2'),
        url('fonts/Magistral/magistral_extrabold-italic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    /* font-display: swap; */
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype-variations'),
         url('fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-primary: 'MagistralExtra', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --block-spacer-base: 5.25rem;
}

.section-block-mr {
    margin-top: var(--block-spacer-base) !important;
    margin-bottom: var(--block-spacer-base) !important;
}

.section-block-mr.only--bottom {
    margin-top: 0 !important;
    margin-bottom: var(--block-spacer-base) !important;
}

.section-block-mr.only--top {
    margin-top: var(--block-spacer-base) !important;
    margin-bottom: 0 !important;
}

.section-block {
    padding-top: var(--block-spacer-base) !important;
    padding-bottom: var(--block-spacer-base) !important;
}

.section-block.only--bottom {
    padding-top: 0 !important;
    padding-bottom: var(--block-spacer-base) !important;
}

.section-block.only--top {
    padding-top: var(--block-spacer-base) !important;
    padding-bottom: 0 !important;
}

.wpb_row.full-width-content,
body .full-width-section .row-bg-wrap {
    width: 100vw;
    margin-left: -50vw;
}

.w-full,
.w-full .img-with-aniamtion-wrap {
    width: 100% !important;
}

.nectar-cta[data-style=underline] .link_wrap .link_text:after {
    border-color: #fff;
}

.text-base {
    line-height: 1.25 !important;
    font-style: italic;
}

.font-italic {
    font-style: italic !important;
}

.text-uppercase {
    text-transform: uppercase !important;
}

.nectar-scrolling-tabs.tab-heading .scrolling-tab-nav a,
.nectar-scrolling-tabs.tab-heading  .scrolling-tab-nav h6,
.nectar-scrolling-tabs.tab-heading  .scrolling-tab-nav h5, 
.nectar-scrolling-tabs.tab-heading  .scrolling-tab-nav h4,
.nectar-scrolling-tabs.tab-heading  .scrolling-tab-nav h3,
.nectar-scrolling-tabs.tab-heading  .scrolling-tab-nav h2 {
    font-size: 22px;
    line-height: 1;
}

/* .nectar-scrolling-tabs.tab-heading .scrolling-tab-nav ul li {
    padding-bottom: 0;
} */

.nectar-scrolling-tabs.tab-heading .scrolling-tab-content > div {
    padding-top: 3.5%;
    padding-bottom: 3.5%;
}

.nectar-scrolling-tabs.tab-heading .scrolling-tab-content .ui-tabs-panel:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, .25);
}

/* NEWS */
.grid-news-custom .nectar-post-grid-item .post-heading > * {
    font-size: 18px !important;
    line-height: 1.15 !important;
}

.grid-news-custom.nectar-post-grid-wrap .load-more {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .15);
}

.grid-news-custom.nectar-post-grid-wrap .load-more:hover {
    color: #3E3E3E;
}

.featured-media-under-header h1 {
    max-width: 740px;
}

.featured-media-under-header__cat-wrap {
    display: none;
}

.featured-media-under-header__featured-media:not([data-has-img="false"]) {
    margin-top: 40px;
}

.featured-media-under-header__featured-media .post-featured-img img {
    border-radius: 10px;
}

.single-post div.featured-media-under-header__content { 
    max-width: 100%;
}

.nectar-social.vertical div.nectar-social-inner a {
    color: #3E3E3E;
    background-color: #EA7500;
}

.nectar-social.vertical .nectar-social-inner a i {
    position: relative;
    top: -1px;
}

.text-base a {
    color: #fff;
    text-decoration: underline;
}

.text-base a:hover {
    color: #EA7500;
}

body[data-button-style^="rounded"] #top nav > ul > li[class*="button_bordered"] > a:before {
    border-color: #fff;
}

body[data-button-style^="rounded"] #top nav > ul > li[class*="button_bordered"] > a:hover:before {
   background-color: #EA7500;
}

body[data-button-style^="rounded"] #top nav > ul > li.menu-item[class*="button_bordered"] > a:hover .menu-title-text {
   color: #fff !important;
}

#search-btn,
.gform_heading,
.mobile-search {
    display: none !important;
}

.link_wrap {
    display: inline-block;
}

.gform-theme--framework .gform-field-label:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
    --gf-local-color: #fff;
}

body .gform_wrapper .top_label .gfield_label {
    font-style: italic;
    margin-top: 0;
    margin-bottom: 0.65rem;
}

.gform-theme--foundation .gform_fields {
    --gf-form-gap-y: 20px;
    --gf-form-gap-x: 20px;
}

.gform-theme--framework input[type]:where(:not(.gform-text-input-reset):not([type=hidden]):not([type=checkbox])):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform-theme--foundation .gfield textarea {
   --gf-local-radius: 4px;
    --gf-local-padding-y: 1.5rem;
    --gf-local-padding-x: 1rem;

    font-weight: 600;
    font-style: italic;
}

.gform-theme--framework .gform-field-label--type-inline {
    font-style: italic;
}

.gform-theme--framework .gform-field-label--type-inline a {
    color: #fff;
    text-decoration: underline;
}

.gform-theme--framework .gform-field-label--type-inline a:hover {
    color: #EA7500;
}

.gform-theme--framework input[type]:where(:not(.gform-text-input-reset):not([type=hidden])):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus {
   outline: none;
}

.gform-theme--foundation .gfield input[type="checkbox"] {
    background-color: transparent;
    border: 1px solid #fff;
}

.gform-theme--framework input[type=checkbox]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *))::before {
    --gf-ctrl-choice-check-color: #fff;
}

.material input[type="submit"] {
    font-size: 18px !important;
    font-weight: 600 !important;
    font-style: italic;
    background-color: #EA7500 !important;
    color: #3E3E3E !important;
}

.material input[type="submit"]:hover {
    opacity: 0.8 !important;
}

#ajax-content-wrap .nectar-post-grid[data-columns="4"].layout-mixed > div:nth-child(10n + 1) .item-main .post-heading > *,
#ajax-content-wrap .nectar-post-grid[data-columns="4"].layout-mixed > div:nth-child(10n + 8) .item-main .post-heading > * {
    max-width: 360px;
    display: inline-block;
    font-size: 25px !important;
}

body #slide-out-widget-area-bg.fullscreen-alt.dark.open {
    opacity: 1 !important;
}

.single-event-header .content-inner {
    width: 100%;
}

.evento-logo img {
  max-width: 300px !important;
}

.event-dates-col .wpb_wrapper {
    justify-content: flex-end;
}

.single-event-header .img-with-aniamtion-wrap img {
    border-radius: 10px;
}

.single-event-header .text-base.wpb_text_column.wpb_content_element {
    max-width: max-content;
    margin: 0 0 0 auto;
}

.single-event-header .nectar-cta {
    margin-top: 1rem;
}

body:not(.woocommerce-cart) .main-content table,
body:not(.woocommerce-cart) .main-content table tr:nth-child(2n+1) {
    background-color: #3E3E3E;
}

body:not(.woocommerce-cart) .main-content .table-custom table {
    min-width: 750px;
}

body:not(.woocommerce-cart) .main-content .table-custom .wpb_wrapper {
    overflow-x: auto;
}

body:not(.woocommerce-cart) .main-content table {
    border-collapse: separate;
}

body:not(.woocommerce-cart) .main-content tr:first-child {
    background-color: #2a2a2a !important;
}

body:not(.woocommerce-cart) .main-content tr:first-child td:first-child,
body:not(.woocommerce-cart) .main-content table {
    border-top-left-radius: 20px;
}

body:not(.woocommerce-cart) .main-content table,
body:not(.woocommerce-cart) .main-content tr:first-child td:last-child {
    border-top-right-radius: 20px;
}

body:not(.woocommerce-cart) .main-content tr:last-child td:last-child {
    border-bottom-right-radius: 20px;
}

body:not(.woocommerce-cart) .main-content tr:last-child td:first-child {
    border-bottom-left-radius: 20px;
}


.gform-theme--foundation .gfield select {
    min-height: 50px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    /* Añadimos nuestra propia flecha (SVG) */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}

.nectar-post-grid-item__event-dates {
    font-size: 14px;
    padding-top: 0.75rem;
}

.nectar-post-grid-item__event-dates strong {
    color: #EA7500 !important;
    margin-right: 0.25rem;
}

#header-outer nav>ul>.megamenu.nectar-megamenu-menu-item>.sub-menu {
    border-radius: 0px 0px 15px 15px;
}

#header-outer nav>ul>.megamenu.nectar-megamenu-menu-item.custom-megamenu>.sub-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: dense;
    gap: 25px;
    border-top: 0;
    border-radius: 0px 0px 15px 15px;
}

#header-outer nav>ul>.megamenu.nectar-megamenu-menu-item.custom-megamenu.two-cols>.sub-menu {
    grid-template-columns: repeat(2, 1fr);
}

#header-outer nav>ul>.megamenu.nectar-megamenu-menu-item.custom-megamenu>.sub-menu > .menu-item:not(.megamenu-tall) a,
#header-outer nav>ul>.megamenu.nectar-megamenu-menu-item>.sub-menu>li.megamenu-tall > a {
   font-family: var(--font-primary);
}

.megamenu-tall {
 grid-column: 3;
}

.two-cols .megamenu-tall {
 grid-column: 2;
}

.megamenu-tall.span-2 {
  grid-row: span 2;
}

#header-outer nav>ul>.megamenu.nectar-megamenu-menu-item>.sub-menu>li.megamenu-tall {
    padding: 0;
}

body .inner-wrap > .inner .off-canvas-menu-container li.button-featured.menu-item > a,
body .inner-wrap > .inner .off-canvas-menu-container li.button-featured.menu-item > a:hover,
body #slide-out-widget-area.fullscreen-alt .inner .off-canvas-menu-container li.button-featured.menu-item a:hover{
	border: 2px solid var(--nectar-accent-color);
    border-radius: 34px;
    padding: 0.5rem 1.5rem !important;
    color: var(--nectar-accent-color) !important;
    font-weight: 500 !important;
}

@media (max-width: 1000px) {
    .event-dates-col .wpb_wrapper {
        justify-content: flex-start;
        padding: 1.5rem 0 1rem 0;
    }

    .single-event-header .text-base.wpb_text_column.wpb_content_element {
        margin: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --block-spacer-base: 2.5rem;
    }

    .nectar-scrolling-tabs.tab-heading .scrolling-tab-content > div {
        padding-top: 45px;
        padding-bottom: 45px;
    }
}

.cmplz-documents.cmplz-links ul li{
    list-style: none;
}
