/*
Theme Name: Poniente Última Frontera
Description: Multi-Purpose Wordpress Theme
Author: Nazaries Intelligenia
Template: astra
Version: 1.0
Text Domain: poniente
*/

/* General */

:root {
	/* Colors: */
	--primary-color: #BD5348;
  --primary-dark: #ab4a3f;
  --color-white: #fff;
  --color-dark-green: #313D3A;
  --color-green: #515F5C;
  --color-blue: #2E4263;
  --light-green: #A9C6B8;

  /* Sizes */
  --sds-size-depth-100: 2px;
  --sds-size-depth-200: 4px;

  /* Width container */
  --width-container: 1320px;
}

/* Fonts */

/* Roundo Extra-Light */
@font-face {
  font-family: 'Roundo';
  src: url('assets/fonts/Roundo/roundo.extralight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

/* Roundo Light */
@font-face {
  font-family: 'Roundo';
  src: url('assets/fonts/Roundo/roundo.light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Roundo Regular */
@font-face {
  font-family: 'Roundo';
  src: url('assets/fonts/Roundo/roundo.regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Roundo Medium */
@font-face {
  font-family: 'Roundo';
  src: url('assets/fonts/Roundo/roundo.medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Roundo Semi-Bold */
@font-face {
  font-family: 'Roundo';
  src: url('assets/fonts/Roundo/roundo.semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Roundo Bold */
@font-face {
  font-family: 'Roundo';
  src: url('assets/fonts/Roundo/roundo.bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Amiri Regular */
@font-face {
  font-family: 'Amiri';
  src: url('assets/fonts/Amiri/Amiri-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Amiri Italic */
@font-face {
  font-family: 'Amiri';
  src: url('assets/fonts/Amiri/Amiri-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Amiri Bold */
@font-face {
  font-family: 'Amiri';
  src: url('assets/fonts/Amiri/Amiri-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Amiri Bold Italic */
@font-face {
  font-family: 'Amiri';
  src: url('assets/fonts/Amiri/Amiri-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

.roundo * {
  font-family: 'Roundo', sans-serif !important;
}

.amiri *, .cat-links.badge a, .single-blog-wrapper > span > a, .section-calendar .title-container .mec-categories-wrapper .mec-categories a, .mec-events-event-categories a, .mec-events-meta-group-tags a {
  font-family: 'Amiri', serif !important;
}


/* Common elements */

body * {
  font-family: 'Roundo', sans-serif;
}


.drop-shadow-h h2 {
    text-shadow: 0px 0px 5.3px var(--color-dark-green) !important;
}

.drop-shadow-p p {
    text-shadow: 0px 0px 5.6px var(--color-dark-green) !important;
}

pre {
  margin-bottom: 0;
}

ul {
    margin: 0 0 0.5em 3em;
}

.ast-pagination .navigation.pagination {
  margin-bottom: 40px;
}

.before-line::before {
    content: '';
    width: 200px;
    height: 0;
    border-top: 2px solid var(--primary-color);
    margin-left: -200px;
    position: absolute;
    bottom: 15px;
    left: -20px;
}

.after-line::after {
    content: '';
    width: 200px;
    height: 0;
    border-top: 2px solid var(--primary-color);
    position: absolute;
    bottom: 10px;
    right: -225px;
}

.hidden-mobile {
  display: none !important;
}

.ast-desktop .ast-primary-header-bar.main-header-bar {
  margin-top: 0;
  margin-bottom: 0;
}

.nit-related-posts-item-thumbnail {
    height: 250px;
    overflow: hidden;
    background-color: #e0e0e0;
}

.nit-related-posts-item-thumbnail img, .nit-single-additional-gallery-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Menu Mobile */
.ast-header-break-point .main-header-menu {
  background-color: var(--color-white);
}

/* Menu Translate */

.site-navigation .main-navigation .wpml-ls-item {
  background-color: var(--primary-color);
  padding: 0 5px;
}

.site-navigation .main-navigation .wpml-ls-item span {
  color: var(--color-white);
}

.site-navigation .main-navigation .sub-menu .wpml-ls-item {
  border: 1px solid var(--primary-color);
  background-color: var(--color-white);
}

.site-navigation .main-navigation .sub-menu .wpml-ls-item span {
  color: var(--primary-color);
}

.ast-builder-menu-1 .main-header-menu > .menu-item > .sub-menu {
  margin-top: 0;
}

.main-header-menu .wpml-ls-item .sub-menu {
  width: 73.25px;
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item {
    line-height: 50px;
}

/* Breadcrumb  */

body.home .ast-header-breadcrumb {
  display: none;
}

.ast-header-breadcrumb {
  border-bottom-width: 0;
}

.ast-header-breadcrumb .trail-end span {
  font-weight: 700;
}

.ast-breadcrumbs .trail-items li {
  color: var(--color-white);
}

/* Home slider */

.home-slider .n2-ss-slider-controls-absolute-left-center {
  left: calc(50% - 690px);
}

.home-slider .n2-ss-slider-controls-absolute-right-center {
  right: calc(50% - 690px);
}

.home-slider .nextend-arrow-next img.skip-lazy {
    background-image: url('assets/images/arrow-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 16px;
    width: 0px;
    height: 0px;
}

.home-slider .nextend-arrow-previous img.skip-lazy {
    background-image: url('assets/images/arrow-left.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 16px;
    width: 0px;
    height: 0px;
}

/* Te recomiendo */

.bx-wrapper {
  box-shadow: none !important;
  margin-bottom: 0 !important;
  border: 0 !important;
}

.bx-wrapper .bx-next {
  right: 60px !important;
  background: url(assets/images/arrow-right.svg) no-repeat !important;
}

.bx-wrapper .bx-prev {
  left: 60px !important;
  background: url(assets/images/arrow-left.svg) no-repeat !important;
}

.nit-featured-posts-slider-item {
  height: 436px;
  background-repeat: no-repeat;
  background-size: cover;
}

.entry-content .nit-featured-posts-slider-item-content * {
  color: var(--color-white);
}

.nit-featured-posts-slider-item-content h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--color-white);
}

.nit-featured-posts-slider-item-content-excerpt {
  color: var(--color-white);
}

.elementor .nit-featured-posts-slider-item-content a {
  text-decoration: underline;
  display: block;
  margin-top: 15px;
  color: var(--color-white);
}

.nit-featured-posts-slider-item-content a:hover {
  opacity: .75;
  color: var(--color-white);
}

.nit-featured-posts-slider-item-content {
  background-color: var(--primary-color);
  width: 485px;
  position: absolute;
  bottom: 40px;
  right: 133px;
  padding: 15px 20px;
}

.nit-featured-posts-slider-item h3 {
  color: var(--color-white);
}

/* Calendar */

.section-calendar .mec-wrap h3,
body.tax-mec_category .mec-wrap h3 {
  margin: 0 40px;
  text-transform: capitalize;
  color: var(--primary-color);
  font-size: 32px;
  font-weight: 700;
}

.section-calendar .mec-event-article .mec-event-meta-wrap {
    position: relative;
}

.section-calendar .mec-event-meta.mec-color-before *, .section-calendar .mec-event-list-standard .mec-event-meta .mec-venue-details span {
  font-size: 14px;
}

body[class*=mec-theme] .section-calendar .mec-wrap a.mec-booking-button {
  display: block;
  margin-top: 25px;
  text-decoration: underline;
}

.section-calendar .mec-event-meta i:before {
  font-size: 12px !important;
}

.section-calendar .mec-event-list-standard .mec-event-meta svg {
  width: 13px;
  height: 13px;
}

.section-calendar .mec-event-footer {
  display: none;
}

.section-calendar .mec-event-list-standard .mec-event-article, .mec-event-list-standard .mec-event-meta-wrap {
  border-color: var(--primary-color);
}

.section-calendar .mec-event-list-standard .mec-event-content {
  padding-top: 0;
}

.section-calendar .mec-month-divider:after, .section-calendar .mec-month-divider:before,
body.tax-mec_category .mec-month-divider:after, body.tax-mec_category .mec-month-divider:before {
  height: 1px;
  background: var(--primary-color);
}

.section-calendar .mec-load-more-button {
  border: 1px solid var(--primary-color);
  border-radius: 0;
  color: var(--primary-color);
}

.section-calendar .mec-load-more-button:hover {
  background-color: var(--primary-color);
  color: var(--color-white);
}

.section-calendar .e-n-tabs-heading {
  margin-left: 200px;
}

.section-calendar .mec-month-divider {
  margin-top: 15px;
}

.section-calendar .mec-calendar .mec-calendar-events-side .mec-table-side-day {
  border: 0;
}

.section-calendar .mec-event-list-standard .mec-event-meta svg path {
  fill: var(--color-dark-green);
}

.section-calendar .mec-wrap.colorskin-custom .mec-color-before :before {
  color: var(--color-dark-green);
}

.section-calendar .mec-event-sharing-wrap {
  display: none;
}

.section-calendar .mec-event-image {
  max-width: 229px;
}

.mec-wrap .mec-totalcal-box  {
  border: 1px solid var(--primary-color);
  background-color: var(--color-white);
}

.section-calendar .mec-event-meta.mec-color-before .mec-categories-wrapper, .section-calendar .mec-event-title .mec-sl-folder {
  display: none;
}

.section-calendar .title-container .mec-event-title {
  display: flex;
  align-items: center;
  font-weight: 700;
}

.section-calendar .title-container .mec-categories-wrapper {
  margin-bottom: 0;
}

.section-calendar .title-container .mec-categories-wrapper .mec-categories {
  background-color: var(--color-blue);
  padding: 5px 12px;
  margin-left: 20px;
}

.section-calendar .title-container .mec-categories-wrapper .mec-categories a {
  color: var(--color-white);
  font-style: italic;
  font-size: 16px;
}

.section-calendar .mec-load-more-wrap {
  padding-top: 0;
}

.section-calendar .mec-calendar {
  border: 1px solid var(--primary-color);
}

/* Single calendar */
.mec-container {
    max-width: var(--width-container);
    width: var(--width-container);
    padding: 0;
    margin-top: 50px;
}

.mec-container .mec-single-title {
  font-size: 40px;
  margin: 0;
  color: var(--primary-color);
  padding: 0 10px;
}

.mec-single-event .mec-event-info-desktop.mec-frontbox {
  position: relative;
  border: 1px solid var(--primary-color);
  overflow: inherit;
  padding: 50px 10px;
}

.mec-single-event .mec-event-info-desktop.mec-frontbox:before, .mec-single-event .mec-event-info-desktop.mec-frontbox:after, .right .nit-single-sidebar:before, .right .nit-single-sidebar:after {
  position: absolute;
  content: "";
  display: block;
  width: 97px;
  height: 99px;
  background: url(assets/images/logo-calendar.jpg) no-repeat;
  border: 10px solid var(--color-white);
  left: 50%;
  transform: translateX(-50%);
}

.mec-single-event .mec-frontbox:before, .right .nit-single-sidebar:before {
  top: -50px;
}

.mec-single-event .mec-frontbox:after, .right .nit-single-sidebar:after {
  bottom: -50px;
}

.mec-event-info-desktop h4, .nit-single-sidebar h3, .nit-single-additional-gallery h3,
.nit-single-additional-gallery h2,
.nit-single-additional-activities h2 {
  text-align: left;
  margin-top: 20px;
  font-size: 24px;
  font-weight: 700;
  padding: 0 14px;
}

.head-title {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.mec-events-event-categories {
  padding: 0 12px;
  margin: 0;
  background-color: var(--color-blue);
  height: 30px;
}

.mec-events-event-categories a {
  color: var(--color-white);
  font-style: italic;
  font-size: 16px;
}

.mec-events-event-categories a:hover, .mec-wrap.colorskin-custom .mec-color-hover:hover {
  color: var(--color-white);
  opacity: 0.75;
}

.mec-events-meta-group-tags a:hover {
  opacity: 0.75;
  background-color: #A9C6B8;
}

.mec-categories-wrapper .mec-color-hover:hover {
  opacity: 0.75;
  color: var(--color-white);
}

.mec-links-details {
  padding: 0 14px;
}

.mec-single-event .mec-event-social ul {
  justify-content: flex-start;
}

.mec-links-details .mec-event-social-icon *:before {
  color: var(--color-white) !important;
}

.mec-events-meta-group-tags a {
  margin: 0;
  padding: 0 12px;
  background-color: #A9C6B8;
  text-transform: lowercase;
  color: var(--color-white);
  font-size: 16px;
  border: 0;
  font-style: italic;
}

.mec-single-event .mec-event-meta dd {
  padding-left: 0;
}

.mec-event-meta abbr i:before {
  position: relative;
  top: -1px;
  font-size: 14px !important;
  margin-right: 10px;
}

.mec-event-cost, .mec-event-more-info, .mec-event-website, .mec-events-meta-date, .mec-local-time-details, .mec-single-event-additional-locations, .mec-single-event-additional-organizers, .mec-single-event-category, .mec-single-event-date, .mec-single-event-label, .mec-single-event-location, .mec-single-event-organizer, .mec-single-event-sponsor, .mec-single-event-time {
  padding: 0 14px;
  margin-bottom: 0;
}

.mec-single-event-additional-organizers img, .mec-single-event-location img, .mec-single-event-organizer img, .mec-sponsor img {
  padding-left: 0;
}

h4.save-event {
  margin-left: 5px;
  margin-bottom: 25px;
  font-weight: 700;
}

.mec-related-event-post figure {
  height: 245px;
  overflow: hidden;
}

.mec-related-event-content {
  box-shadow: 0px 0px 12.3px -2px #00000021;
  border: 0;
}

.mec-related-event-content span {
  display: none;
}

.mec-related-event-content h5 {
  font-weight: 700;
}

.mec-related-event-content h5 a {
  font-size: 24px;
}

.mec-single-event .mec-event-export-module {
  border: 1px solid var(--primary-color);
  margin-top: 80px;
}

.mec-single-event-label {
  display: none;
}

.mec-related-events-wrap h3.related-events, .title-blog, .nit-single-sidebar > h4 {
  display: flex;
  align-items: flex-end;
  font-weight: 700;
  font-style: Bold;
  font-size: 36px;
  text-transform: inherit;
  color: var(--primary-color);
  margin-bottom: 20px;
  margin-top: 20px;
}

.mec-related-events-wrap h3.related-events::after, .title-blog::after, .nit-single-sidebar > h4:after {
  content: "";
  display: block;
  width: 200px;
  height: 2px;
  background-color: var(--primary-color);
  margin-bottom: 11px;
  margin-left: 20px;
}

.mec-single-event .mec-event-content {
  padding: 40px 0 0;
}

.mec-events-meta-group-countdown {
  display: none;
}

/* Archive calendar */

body.tax-mec_category #main-content {
  margin: 1em 0 4em;
}

body.tax-mec_category h4.mec-event-title {
  margin: 0 0 10px;
  text-transform: none;
  color: var(--color-dark-green);
}

body.tax-mec_category h4.mec-event-title > a {
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -1px;
  color: var(--color-dark-green);
}

body.tax-mec_category h4.mec-event-title > a:hover {
  opacity: 1 !important;
  color: var(--color-dark-green) !important;
}

body.tax-mec_category  .mec-event-list-classic .mec-event-article {
  box-shadow: -1px 11px 17px -8px rgba(0,0,0,0.25);
  -webkit-box-shadow: -1px 11px 17px -8px rgba(0,0,0,0.25);
  -moz-box-shadow: -1px 11px 17px -8px rgba(0,0,0,0.25);
  padding: 20px 15px;
  margin-bottom: 30px;
}

body.tax-mec_category  .mec-wrap.colorskin-custom .mec-color-hover:hover {
  opacity: 1;
}

/* Map */
#nit-places-map,
#nit-route-map,
#nit-routes-map {
	height: 500px;
}

#nit-place-map {
  height: 250px;
}

.custom-marker {

}

.map-marker {
  position: absolute;
  top: -15px;
  left: -5px;
  background-color: var(--color-green);
  border-radius: 50% 50% 50% 0;
  border: 2px solid var(--color-white);
  width: 35px;
  height: 35px;
  transform: rotate(-45deg);
}

.map-marker::after {
  position: absolute;
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  margin-left: -5px;
  margin-top: -5px;
  background-color: var(--color-white);
}

/* Blog */

.blog.ast-page-builder-template .site-content {
  padding: 0 20px;
}

.title-blog {
  font-size: 40px;
}

.image-blog {
  margin-top: 50px;
}

body.blog #content, body.single-post #content {
  padding-bottom: 50px;
}
.blog .ast-article-post .ast-article-inner {
  position: relative;
  padding: 0;
}

.ast-blog-layout-4-grid .ast-article-post {
  width: 50%;
}

.blog .entry-title a,
h2.entry-title.ast-blog-single-element {
  color: var(--color-green);
}

.cat-links.badge a {
  position: absolute;
  top: 230px;
  right: 21px;
  padding: 10px 20px;
  font-size: 16px;
  font-style: italic;
  border-radius: 0;
}

.single-blog-wrapper > span > a {
  padding: 4px 10px;
  font-size: 16px;
  font-style: italic;
  background-color: var(--primary-color);
  color: white;
}

span.category-single-blog {
    position: relative;
    display: flex;
    justify-content: flex-end;
    margin-top: -20px;
    margin-right: 50px;
}

.single-blog-wrapper span.category-single-blog a:hover {
  background-color: var(--primary-dark);
}

.ast-blog-layout-4-grid .ast-article-inner {
  box-shadow: none;
}

.blog .ast-blog-layout-4-grid .ast-article-inner .wp-post-image {
  width: 100%;
}

.widget .wp-block-heading, .ast-archive-title {
  color: var(--color-dark-green);
  font-weight: 700;
}

.ast-separate-container.ast-two-container #secondary .widget {
  margin-bottom: 0;
  padding-bottom: 0;
}

.wp-block-latest-posts > li > a {
  color: var(--primary-color);
}

header.entry-header:not(.related-entry-header) .entry-title {
  font-size: 40px;
  color: var(--color-green);
}

body:not(.blog):not(.single-post):not(.archive) aside {
  display: none;
}

.sidebar-main {
  background-color: var(--color-white);
  padding: 28px;
  border: 1px solid var(--primary-color);
}

.sidebar-main .cat-item {
  line-height: 1.5;
}

.ast-page-builder-template .ast-pagination {
  padding: 0;
}

#secondary .wp-block-code {
  background-color: var(--primary-color);
}

#secondary .wp-block-code code {
  text-align: center;
}

#secondary .wp-block-code a {
  display: block;
  text-align: center;
  background-color: var(--color-white);
  padding: 10px 20px;
  margin-bottom: 20px;
}

#secondary .wp-block-code img {
  width: 100%;
  max-width: 142px;
}

#secondary li {
  margin-bottom: .5em;
}

.header-blog {
  max-width: var(--width-container);
  margin: 0 auto 50px auto;
}

.ast-separate-container.ast-right-sidebar #primary, .ast-right-sidebar #secondary {
  margin: 0;
}

#secondary {
  line-height: 1.2;
}

.wp-block-latest-posts:not(.is-grid) > li {
  margin-top: 0;
}

.ast-separate-container.ast-two-container #secondary .widget, .blog .widget.widget_block {
  margin-bottom: 1.2em;
}

.widget:first-child {
  margin-bottom: 0;
}

.sidebar-main .widget ul, .wp-block-latest-posts.wp-block-latest-posts__list {
  list-style: disc;
  margin-left: 25px;
}

.widget ul li::marker, .wp-block-latest-posts.wp-block-latest-posts__list li ::marker {
  color: var(--primary-color);
}

.widget ul a, .wp-block-latest-posts.wp-block-latest-posts__list a {
  text-decoration: underline;
}

.blog .post-thumb-img-content img {
  height: 255px;
}

.site .ast-single-related-posts-container {
  padding: 0;
}

.blog .read-more a {
  text-decoration: underline;
}

.blog-tag {
    margin-top: 80px;
    font-size: 16px;
    display: inline-flex;
    margin-bottom: 20px;
}

.blog-tag p {
    margin-right: 8px;
}

.blog-tag .tag-item {
    display: inline-block;
    margin-right: 8px;
    background: var(--light-green);
    padding: 2px 10px;
    font-style: italic;
}

.blog-tag .tag-item a {
  color: white;
}

.blog-tag .tag-item a:hover {
  cursor: pointer;
}

/* Single blog */
.ast-separate-container .ast-article-single, .ast-pagination .prev.page-numbers, .ast-separate-container.ast-two-container #secondary .widget {
  padding: 0;
}

.ast-separate-container .ast-article-single:not(.ast-related-post) {
  background-color: transparent;
}

.single-post #content .ast-container {
  padding: 0;
}

.single-post #content {
  padding: 0 20px;
}

.single-post h2.ast-related-posts-title {
  color: var(--primary-color);
  font-weight: 700;
}

.single-post h3.ast-related-post-title a {
  color: var(--color-green);
}

.single-post .navigation.post-navigation .nav-links a {
  border: 1px solid var(--primary-color);
  padding: 10px 15px;
  height: auto;
  line-height: 1;
}

.single-post .navigation.post-navigation .nav-links a:hover {
  color: var(--color-white);
  background-color: var(--primary-color);
}

.single-post .navigation.post-navigation .nav-links a span {
  display: none;
}

article h2.entry-title {
  margin-top: 50px;
}

.ast-separate-container .post-navigation {
  border-top: 1px solid #A9C6B8;
}

/* Footer */

.footer-row-1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-row-1 img {
  width: auto;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.footer-widget-area .widget_nav_menu h2 {
  text-align: left;
}

footer h2.widget-title {
  color: var(--color-white);
}

.footer-html-2 {
  display: flex;
  align-items: center;
  margin-left: -75px;
}

.footer-html-2 img {
  height: fit-content;
}

.footer-widget-area-inner, .footer-widget-area nav .menu  {
  display: flex !important;
}

.footer-widget-area .widget_nav_menu h2 {
  font-weight: 700;
  margin-bottom: 5px;
}

.footer-widget-area nav .menu-item {
  margin-right: 30px;
}

.footer-widget-area nav .menu-item a {
  text-decoration: underline;
  color: var(--color-white);
}

.footer-widget-area nav .menu-item a:hover {
  opacity: .75;
}

.ast-footer-html-2 .footer-html-2 {
  gap: 30px;
  padding-bottom: 15px;
}

.footer-widget-area {
  gap: 30px;
}

.ast-builder-social-element:hover {
  opacity: 0.75;
}

/* Places filters and loop */

.nit-list-places-results-loop-displaymode-selector > .nit-list-places-results-loop-displaymode-icon img {
  display: inline-block;
  width: 16px;
  height: 16px;
  position: relative;
}

.nit-list-places-results-loop-displaymode-selector > .nit-list-places-results-loop-displaymode-icon .icon:before {
  position: relative;
  cursor: pointer;
}

.nit-list-places-results-loop-displaymode-selector > .nit-list-places-results-loop-displaymode-icon .icon:hover:before {
  opacity: .7;
}

.nit-list-places-results-loop-single .nit-list-places-results-loop-single-type-color, .nit-top-place-item-type-color {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

/*Lugares*/

.lugares-tite-page h1, .lugares-tite-page h2 {
  color: var(--primary-color);
  font-weight: 700;
}

/*Elementor custom widgets*/

/*Elemento: Lista de lugares*/

.nit-list-places-results-loop-displaymode-selector {
  display: flex;
  justify-content: flex-end;
  padding: 10px;
  position: relative;
  top: -35px;
}

.nit-list-places-results-loop-single-type {
  display: flex;
  position: absolute;
  background-color: var(--color-white);
  align-items: center;
  margin-top: 15px;
  margin-left: 15px;
  z-index: 3;
  padding: 0px 10px;
  border-radius: 30px;
}

.nit-list-places-results-loop-single-type > a, .nit-top-place-item-type > a {
  color: inherit;
}

.nit-list-places-results-loop-single-type .nit-list-places-results-loop-single-type-text {
  font-family: 'Amiri',serif;
  font-style: italic;
  margin-left: 5px;
}

.nit-list-places {
  display: flex;
  gap: 50px;
}

.nit-list-places-filter {
  width: 25%;
}

.nit-list-places-results {
  width: 75%;
}

.nit-list-places-results-loop-loop.list-display-mode {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 20px;
  width: 100%;
}

.nit-list-places-results-loop-loop.boxes-display-mode .nit-list-places-results-loop-single-thumbnail img {
  min-height: 250px;
  height: 250px;
  width: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  margin-bottom: 20px;
}

.nit-list-places-results-loop-loop.list-display-mode .nit-list-places-results-loop-single-thumbnail {
  min-height: 180px;
  width: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  margin-bottom: 20px;
}

.nit-list-places-results-loop-single-content h3 {
  margin-bottom: 0px;
}

.nit-list-places-results-loop-single-content h3 a {
  font-family: 'Roundo', sans-serif;
  font-weight: 700;
  color: var(--color-dark-green);
}

.nit-list-places-results-loop-single-content h3 a:hover {
  text-decoration: underline;
  color: var(--primary-color);
}

.nit-pagination {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 80px 0px 80px;
}

.nit-pagination .page-numbers {
    display: flex;
    padding: 7px 20px;
    font-size: 16px;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.nit-pagination span.page-numbers.current {
    background-color: var(--primary-color);
    color: var(--color-white);
    border: 1px solid var(--primary-color);
}

.nit-pagination a.page-numbers:hover {
  color: var(--primary-dark);
}

.span.page-numbers.current a {
  display: flex;
}

.nit-list-places-results-loop-loop.boxes-display-mode .nit-list-places-results-loop-single {
  margin-bottom: 80px;
}

.leaflet-popup-content {
  width: 150px;
}

#nit-places-map h3 {
  margin-bottom: 10px;
}

#nit-places-map h3 > a, #nit-routes-map h3 > a {
  font-weight: 600;
  color: var(--color-dark-green);
}

#nit-places-map h3 > a:hover,  #nit-routes-map h3 > a:hover {
  text-decoration: underline;
}

#nit-places-map .map-marker-categories {
  font-family: 'Amiri', serif;
  font-style: italic;
  font-size: 16px;
}

.nit-filter {
  padding: 20px 40px;
  border: 1px solid var(--primary-color);
}

.nit-filter label {
  font-weight: bold;
}

.nit-filter-form-field-block {
  margin: 20px 0px;
}

.nit-filter-form-field-block:not(:last-child) {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--light-green);
}

.nit-filter-form-field-block input[type=submit] {
  margin-top: 40px;
  width: 100%;
  border: 1px solid var(--primary-color);
}

.nit-filter-form-field-block input[type=submit]:hover {
  background-color: var(--color-white);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.nit-filter-form-field-block input {
  width: 100%;
}

.nit-list-places-results-selector {
  display: inline-flex;
  margin: 0;
  position: relative;
  z-index: 5;
}

.nit-list-places-results-selector button {
  list-style-type: none;
  padding: 10px 20px;
  border: 1px solid var(--primary-color);
  margin-right: 20px;
  color: var(--primary-color);
  transition: 0.3ms;
  background-color: var(--color-white);
  line-height: 1.5;
}

.nit-list-places-results-selector-link.active {
  background-color: var(--primary-color);
  transition: 0.3ms;
  color: var(--color-white);
}

.nit-list-places-results-selector button:hover {
  background-color: var(--primary-color);
  color: var(--color-white);
  transition: 0.3ms;
}

.nit-places-map-container {
  margin: 40px 0px;
}

.nit-list-places-results-loop-displaymode-selector p {
  font-weight: bold;
  margin-right: 15px;
}

.nit-close-filter-mobile > span,
.nit-filter-mobile-icon > .icon {
  cursor: pointer;
}

.nit-filter-mobile-icon img {
  width: 16px;
}

.nit-filter-mobile-icon .nit-only-mobile-element {
  display: none;
}

.nit-filter-form-field-block select {
  width: -webkit-fill-available;
}

#oficia-turismo .nit-list-places-results {
  width: 100%;
}

/*En directo*/

.counter-weather-page {
  text-align: center;
}

.splw-main-wrapper {
  max-width: 100% !important;
}

/*Contacto*/

.form-wrapper .form-row {
  margin-bottom: 20px;
}

.form-wrapper .form-row .half-column {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 20px;
}

.form-wrapper .form-row .half-column div {
  width: 100%;
  margin: 0;
}

.form-wrapper .form-row textarea {
  height: 120px;
}

.form-wrapper label {
  font-weight: bold;
}

.form-wrapper small {
  margin-top: 20px;
}

.form-wrapper .wpcf7-list-item {
  margin: 0;
}

.nit-list-places-results-block.hidden {
  display: none;
}

.nit-list-places-results-selector .nit-list-places-results-selector-link {
  cursor: pointer;
}

/* Region sheet */

.nit-region-sheet {
  display: flex;
  flex-direction: column;
}

.nit-related-posts {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nit-related-posts-item {
    box-sizing: border-box;
    padding: 10px;
}

.nit-region-sheet .nit-region-sheet-content-title {
  font-family: 'Roundo', sans-serif;
  font-weight: 700;
  color: var(--color-green);
  margin-bottom: 10px;
}

.nit-single-sidebar .nit-rating-stars > img {
  width: 25px;
  height: auto;
}

.nit-region-sheet, .nit-region-sheet-image, .elementor .nit-region-sheet-image img {
  height: 100%;
}

.nit-region-sheet-image img {
  object-fit: cover;
}

/* Top 10 */

.nit-top-place-item {
  display: flex;
  position: relative;
  max-height: 400px;
  margin-bottom: 50px;
  border: 1px solid var(--primary-color);
  overflow: hidden;
  background-color: var(--color-white);
}

.nit-top-place-item-type {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--color-white);
  padding: 0px 10px;
  border-radius: 30px;
}

.nit-top-place-item-type span {
  font-family: 'Amiri', serif;
  font-style: italic;
}

.nit-top-place-item-number {
  position: absolute;
  right: 0;
  z-index: 1;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: var(--color-white);
}

.nit-top-place-item-type-color {
  position: relative;
  top: 2px;
  margin-right: 10px;
}

.nit-top-place-item-content {
  padding: 40px;
  width: 67%;
}

.nit-top-place-item-content h3 {
  font-weight: 700;
}

.nit-top-place-button {
  display: inline-block;
  font-size: 14px;
  border-bottom: 1px solid var(--primary-color);
  margin-top: 20px;
  line-height: 1;
}

.nit-top-place-item-thumbnail {
  position: relative;
  width: 33%;
  border-right: 1px solid var(--primary-color);
}

.nit-top-place-item-thumbnail img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

/* Top events */
.nit-featured-event-container {
  border: 1px solid var(--primary-color);
  padding: 20px;
  margin-top: 20px;
}

h2.nit-featured-event-content-title {
  font-family: 'Roundo', sans-serif;
  margin-top: 20px;
}

.nit-featured-event-box-date {
  font-family: 'Amiri', serif;
  font-style: italic;
  text-align: right;
  background-color: var(--color-green);
  color: var(--color-white);
  padding: 5px 20px;
}

.nit-featured-event-content-info img {
  width: 20px;
  margin-right: 10px;
}

.nit-featured-event-content-info {
  display: flex;
  align-items: center;
  padding: 5px 0;
}

/* Single place */

.nit-single {
  display: flex;
}

.single-place .ast-container,
.single-route .ast-container {
  display: block;
}

.nit-single .col-md-4 {
  padding-left: 20px;
}

.nit-single .col-md-8 {
  width: 66.66666666666666%;
}

.nit-single .col-md-4 {
  width: 33.33333333333333%;
}

.nit-single-sidebar-main-item {
  padding: 5px 0;
}

.nit-single .nit-single-sidebar-main-item-icon, .nit-single-sidebar-main-item-content {
  display: inline;
}

.nit-single .nit-single-sidebar-main-item-icon img {
  width: 14px;
  height: 14px;
  margin-right: 5px;
}

.nit-single-sidebar-main-item-content .route-season li {
  text-transform: capitalize;
}

.nit-single-sidebar {
  margin-bottom: 100px;
}

.right .nit-single-sidebar, .nit-single-additional-gallery {
  border: 1px solid var(--primary-color);
  padding: 50px 25px;
}

.nit-single-additional-gallery {
  padding: 40px;
}

.right .nit-single-sidebar {
  position: relative;
}

.right .nit-single-sidebar h3, .nit-single-additional-gallery h3, .nit-single-additional-gallery h2,
.nit-single-additional-activities h2 {
  padding: 0;
  color: var(--color-dark-green);
}

.nit-single-additional-gallery h3,
.nit-single-additional-gallery h2 {
  margin-top: 0;
  margin-bottom: 40px;
}

.nit-single-additional-activities h2 {
  margin-bottom: 25px;
}

.nit-single-additional-activities {
  margin-bottom: 40px;
}

.nit-single-additional-gallery-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
}

.nit-single-additional span {
  display: inline-block;
  margin-top: 50px;
  padding: 5px 10px;
}

.nit-single-additional .nit-single-route-map span {
  display: inline;
}

.single-place.single .post-navigation,
.single-route.single .post-navigation {
  display: none;
}

.nit-single-additional span {
  font-family: 'Amiri', serif;
  font-style: italic;
}

.nit-related-posts-item-content {
  background-color: #fff;
    margin: -40px 20px 15px;
    position: relative;
    max-width: 90%;
    padding: 10px 12px 16px 17px;
    box-shadow: 0px 0px 12.3px -2px
}

.nit-single-additional {
  margin: 50px 0;
}

.nit-related-posts-item-content h5 {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-dark-green);
}

/* Single Route */

.nit-route-map-legend {
  display: grid;
  grid-template-columns: 1fr;
  padding-top: 20px;
}

.nit-route-map-legend:has(.nit-route-map-legend-item:nth-child(4)) {
  grid-template-columns: 1fr 1fr;
}

.nit-route-map-legend .nit-route-map-legend-item {
  display: flex;
  margin-bottom: 5px;
}

.nit-route-map-legend-item .nit-route-map-legend-item-color {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.nit-route-map-legend-item .nit-route-map-legend-item-name {
  display: inline-block;
}

/* Routes list */

.nit-list-places-results-loop-single-content-title, .nit-list-routes-results-loop-single-content-data-item {
  display: flex;
}

.nit-list-routes-results-loop-single-content-data-item .nit-list-places-results-loop-single-content-data-item-content strong {
  margin-right: 10px;
}

.nit-list-places-results-loop-single-content-title {
  align-items: center;
  margin-bottom: 15px;
}

.boxes-display-mode .nit-list-places-results-loop-single.routes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.nit-routes-map-container {
  margin-bottom: 40px;
}

.nit-list-places-results-loop-single-content-title-color {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 10px;
}

.nit-list-places-results-loop-single-content-data-item-icon {
  width: 14px;
  height: 14px;
  margin-right: 5px;
  filter: invert(19%) sepia(2%) saturate(3472%) hue-rotate(134deg) brightness(93%) contrast(85%);
}

.boxes-display-mode .nit-list-places-results-loop-single-thumbnail.routes, .boxes-display-mode .nit-list-places-results-main-content {
  width: 50%;
}

.list-display-mode .nit-list-places-results-loop-single-thumbnail.routes, .elementor .list-display-mode .nit-list-places-results-loop-single-thumbnail.routes img {
  height: 180px;
  object-fit: cover;
}

.list-display-mode .nit-list-places-results-loop-single-thumbnail.routes {
  margin-bottom: 0;
}

.list-display-mode .nit-list-places-results-loop-single.routes .nit-list-places-results-main-content {
  padding: 20px;
  box-shadow: 0px 0px 12.3px -2px;
}

/* Single town */

.single-town h2.entry-title.ast-blog-single-element {
  max-width: var(--width-container);
  margin: 0 auto;
  font-weight: 700;
}

.single-town .post-navigation, .single-town .single-blog-image {
  display: none;
}

.single-town .post-navigation, .single-town .nit_interesting_places {
  padding: 0 20px 30px;
}

@media (min-width: 768px) {
  .single-town .post-navigation, .single-town .nit_interesting_places .nit_interesting_places_container {
    max-width: 1320px;
    margin: 0 auto;
  }
}

/*Accesibilidad*/

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    background-color: black;
    color: white;
    padding: 10px;
    z-index: 9999;
    width: auto;
    height: auto;
    overflow: visible;
    text-decoration: none;
}

button, a {
  outline: none;
}

button:focus {
  outline: 3px solid #005fcc;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
.wpcf7 input:not([type=submit]):focus-visible, .wpcf7 select:focus-visible, .wpcf7 textarea:focus-visible, input.wpcf7-form-control:focus-visible,
textarea:focus-visible,
select:focus-visible,
submit:focus-visible,
.nit-filter-form-field-block input[type=submit]:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 4px;
  border-radius: 4px;
}

.elementor-widget-n-tabs .e-n-tabs-heading {
  overflow-x: inherit !important;
}

/* Category blog */

body.archive .title-blog {
  line-height: 1.4em;
}

body.archive .ast-archive-description {
  padding: 0;
  border-bottom: 0;
  margin: 0;
  background-color: transparent;
}

body.archive .ast-archive-description .ast-archive-title {
  margin-bottom: .5rem;
  font-weight: 500;
}

body.archive .ast-article-inner {
  padding: 0;
}

body.archive.category #content {
  padding: 0 20px;
}

body.archive #secondary {
  margin: 4em 0;
}

.ast-article-post.remove-featured-img-padding .blog-layout-4 .post-content .ast-blog-featured-section .post-thumb-img-content {
    margin-left: 0;
    margin-right: 0;
}

.ast-article-post.remove-featured-img-padding .blog-layout-4 .post-content .ast-blog-featured-section .post-thumb-img-content img {
    height: 255px;
    object-fit: cover;
}

/* Category type */

.tax-tipos.archive .ast-archive-description .ast-archive-title {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

@media (min-width: 1360px) {
  .archive .site-content .ast-container {
    padding: 0;
  }
}

@media (max-width: 1380px) {
  .home-slider .n2-ss-slider-controls-absolute-left-center {
    left: 0;
  }

  .home-slider .n2-ss-slider-controls-absolute-right-center {
    right: 0;
  }
  .mec-container {
    width: auto;
  }
}

@media (max-width: 1360px) {
  .single-place .header-blog, .single-route .header-blog, .single-town .header-blog, .single-town h2.entry-title.ast-blog-single-element, .tag .header-blog, .archive .header-blog {
    padding: 0 20px;
  }
}

@media (max-width: 1330px) {
  .ast-builder-menu-1 .menu-item > .menu-link {
    font-size: 13px;
  }
}

@media (max-width: 1260px) {
  .ast-builder-menu-1 .menu-item > .menu-link {
    font-size: 12px;
  }
  header .custom-logo-link img {
    max-width: 120px;
    width: 120px;
  }
}

@media (max-width: 1150px) {
    .ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children > .ast-menu-toggle {
        top: 5px;
        right: 0;
    }
    .site-navigation .main-navigation .wpml-ls-item {
      background-color: transparent;
      padding: 0;
    }

    .site-navigation .main-navigation .wpml-ls-item span {
      color: var(--color-green);
    }

    .site-navigation .main-navigation .wpml-ls-item span.wpml-ls-native {
      padding: 12px;
      color: var(--color-white);
      background-color: var(--primary-color);
    }
    .site-navigation .main-navigation .sub-menu .wpml-ls-item {
      border: 0;
      background-color: var(--color-white);
    }
    .ast-mobile-header-wrap .ast-mobile-header-content {
      background-color: transparent;
    }
    .ast-builder-footer-grid-columns.site-primary-footer-inner-wrap.ast-builder-grid-row {
      grid-template-columns: 1fr 1fr;
    }
    .wpml-ls-item > .sub-menu {
      display: flex !important;
      position: absolute !important;
      top: 0;
      left: 50px !important;
      width: 130px !important;
    }
    .wpml-ls-item > .ast-menu-toggle {
      display: none !important;
    }
}

@media (max-width: 1024px) {
  .nit-single-additional-gallery-container {
    gap: 30px;
  }
  .nit-single-additional-gallery-container {
    grid-template-columns: 1fr 1fr;
  }
  .nit-region-sheet {
    flex-direction: column;
  }
  .nit-region-sheet .nit-region-sheet-image {
    order: 1;
  }
  .nit-list-places-results-loop-loop.list-display-mode {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog.ast-page-builder-template .site-content {
    padding: 0 25px;
  }
  .title-blog {
    font-size: 28px;
  }
  .single-mec-events .mec-wrap {
    padding: 0 15px;
  }
  .mec-wrap .mec-related-events .mec-related-event-post {
    padding: 0;
  }
  .mec-related-events {
    margin-right: 0;
    margin-left: 0;
  }
  .mec-related-events-wrap h3.related-events, .nit-single-sidebar > h4, .title-blog {
    font-size: 28px;
    flex-direction: column;
    align-items: flex-start;
  }
  .mec-related-events-wrap h3.related-events::after, .nit-single-sidebar > h4:after, .title-blog:after {
    margin-left: 0;
    margin-top: 10px;
  }
  .mec-event-info-mobile {
    margin-top: 50px;
  }
  .mec-related-event-content h5 a {
    font-size: 18px;
  }
  .mec-wrap h5 {
    margin-bottom: 0;
  }
  .mec-related-events-wrap {
    margin-top: 0;
  }
  .nit-related-posts-item-content h5 {
    font-size: 22px;
  }
  .mec-event-info-desktop h4, .mec-wrap h4, .nit-single-sidebar h3 {
    font-size: 26px;
  }
  .mec-container .mec-single-title {
    font-size: 28px;
  }
  .nit-filter {
    padding: 20px;
  }
  .nit-list-places {
    gap: 30px;
  }
  .single-place .header-blog, .single-route .header-blog, .single-place .ast-container, .single-town .header-blog, .single-town h2.entry-title.ast-blog-single-element, .tag .header-blog, .archive .header-blog {
    padding: 0 25px;
  }
  .footer-row-1 {
    justify-content: center;
  }
  .nit-region-sheet-content-description {
    margin-bottom: 20px;
  }
  .boxes-display-mode .nit-list-places-results-loop-single.routes {
    flex-wrap: wrap;
  }
  .boxes-display-mode .nit-list-places-results-loop-single-thumbnail.routes, .boxes-display-mode .nit-list-places-results-main-content {
    width: 100%;
  }
  .tax-tipos.archive .ast-archive-description .ast-archive-title {
    font-size: 28px;
  }
  article h2.entry-title {
    margin-top: 25px;
    font-size: 22px;
  }
  .single-town .post-navigation, .single-town .nit_interesting_places{
    padding: 0 25px 25px;
  }
}

@media (min-width: 922px) {
    .ast-right-sidebar #primary {
        border-right: 0;
    }
    .ast-right-sidebar #secondary {
        border-left: 0;
    }
}

@media (max-width: 936px) {
  #ast-desktop-header {
    display: none;
  }

  .ast-mobile-header-wrap .ast-button-wrap .menu-toggle.main-header-menu-toggle {
    border-radius: 0;
    margin: 0;
  }

  .ast-builder-layout-element .ast-site-identity {
    margin-left: 0;
  }

  .ast-header-break-point #masthead .ast-mobile-header-wrap .ast-primary-header-bar {
    padding: 0;
  }
}

@media (max-width: 921px) {
    .ast-blog-layout-4-grid .ast-article-post {
        width: 100%;
    }
    .cat-links.badge a {
      top: 22px;
    }
    .ast-page-builder-template.ast-left-sidebar #secondary, .ast-page-builder-template.ast-right-sidebar #secondary {
        padding-right: 0;
        padding-left: 0;
    }
    .post-thumb-img-content img {
      height: auto;
    }

    .single-post #content {
      padding: 0 25px;
    }

    .blog .ast-blog-layout-4-grid .ast-article-inner .wp-post-image {
      width: 100%;
    }
    .blog .post-thumb-img-content img {
      height: auto;
    }
    .ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children > .ast-menu-toggle {
        right: 0;
    }
    .main-header-menu .wpml-ls-item .sub-menu {
      width: 100%;
    }
    .site-navigation .main-navigation .sub-menu .wpml-ls-item {
      background-color: transparent;
    }
    .site-navigation .main-navigation .sub-menu .wpml-ls-item span {
      color: var(--color-white);
    }
    .nit-single {
      display: block;
    }
    .nit-single .col-md-8 {
      width: 100%
    }

    .nit-single .col-md-4 {
      width: 100%;
    }

    .nit-single .right {
      padding: 0;
      margin: 50px 0;
    }
    .ast-separate-container .ast-blog-layout-4-grid .ast-article-post {
      padding: 0;
    }
}

@media (max-width: 920px) {
  .footer-widget-area .widget_nav_menu h2 {
    text-align: left;
  }

  .ast-builder-grid-row-container.ast-builder-grid-row-tablet-full .ast-builder-grid-row {
    gap: 30px;
  }

  .footer-widget-area nav .menu-item {
    margin-right: 20px;
  }

}

@media (min-width: 768px) {
  .nit-region-sheet.reverse > .nit-region-sheet-content{
    order: 1;
  }

  .nit-region-sheet.reverse > .nit-region-sheet-image{
    order: 2;
  }
  .nit-only-mobile-element {
    display: none;
  }
  .nit-single-sidebar > .bx-wrapper {
    margin-left: -10px;
  }

}

@media (max-width: 768px) {

  .nit-list-places-filter {
    width: 100%;
  }

  .nit-list-places {
    display: block;
  }

  .nit-filter {
    display: inline-flex;
    margin-bottom: 40px;
  }

  .home-slider .n2-ss-slider .n2-ss-text, .home-slider p, .home-slider .n2-ss-slider .n2-ss-text a {
    text-align: center !important;
  }
  .home-slider .n2-ss-section-main-content {
    padding: 0 60px !important;
  }
  .home-slider h1 {
    font-size: 36px !important;
  }
  .home-slider .n2-ss-layer {
    align-self: center !important;
  }
  .before-line::before {
    width: 125px;
    border-top: 2px solid var(--primary-color);
    margin-left: -100px;
    left: 10px;
    bottom: 10px;
  }

  .after-line::after {
      width: 225px;
      right: -200px;
  }

  .hidden-desktop {
    display: none !important;
  }

  .hidden-mobile {
    display: block !important;
  }
  .nit-featured-posts-slider-item-content {
    right: auto;
    width: -webkit-fill-available;
    margin: 0 25px;
    bottom: 15px;
  }

  .section-calendar .mec-event-list-standard .mec-col-table-c.mec-event-content-wrap {
    min-height: 180px;
  }

  .footer-html-2 {
    flex-direction: column;
    margin-left: 0;
  }

  .section-calendar .mec-wrap h5 {
    margin: 0 20px;
  }

  .section-calendar .e-n-tabs-heading {
    margin-left: 0;
  }

  .bx-wrapper .bx-next {
    right: 20px !important;
  }

  .bx-wrapper .bx-prev {
    left: 20px !important;
  }
  .section-calendar .mec-calendar .mec-calendar-side, .section-calendar .mec-calendar .mec-calendar-events-side {
    padding: 10px;
  }
  .section-calendar .mec-calendar:not(.mec-liquid-custom-scrollbar) .mec-event-article {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .section-calendar .mec-month-divider{
     margin-bottom: 15px;
  }

  .section-calendar .mec-event-image {
    max-width: 100%;
  }

  .mec-event-export-module {
    margin-top: 60px;
  }

  .ast-header-breadcrumb .ast-container {
    padding: 0 25px;
  }
  .nit-list-places-results-selector {
    justify-content: start;
    margin-bottom: 40px;
  }
  .ast-container {
    padding: 0 25px;
  }
  .nit-related-posts-item {
    padding: 0;
  }
  .nit-related-posts-item-content h5 {
    text-align: center;
  }
  .nit-single-additional-gallery-container {
    grid-template-columns: 1fr;
  }
  .nit-single-additional-gallery {
    padding: 20px;
  }
  .nit-list-places-results-loop-displaymode-selector {
    display: none;
  }
  .section-calendar .mec-wrap h3 {
    font-size: 24px;
  }
  .title-blog {
    font-size: 22px;
  }
  .header-blog {
    margin: 0 auto 25px auto;
  }
  .mec-related-events-wrap h3.related-events {
    font-size: 22px;
  }
  .mec-event-info-desktop h4, .mec-wrap h4, .nit-single-sidebar > h4, .nit-single-sidebar h3, .nit-single-additional-gallery h3, .nit-related-posts-item-content h5 {
    font-size: 20px;
  }
  .nit-related-posts-item-content h5 {
    font-size: 18px;
  }
  .ast-builder-footer-grid-columns.site-primary-footer-inner-wrap.ast-builder-grid-row {
    grid-template-columns: 1fr;
  }
  .section-calendar .title-container .mec-event-title {
    margin-top: 10px;
    font-size: 24px;
  }
  .nit-route-map-legend, .nit-route-map-legend:has(.nit-route-map-legend-item:nth-child(4)) {
    grid-template-columns: 1fr;
  }
  .nit-list-places-results {
    width: 100%;
  }
  .nit-list-places-results-loop-loop.boxes-display-mode .nit-list-places-results-loop-single {
    margin-bottom: 40px;
  }
  .tax-tipos.archive .ast-archive-description .ast-archive-title {
    font-size: 24px;
  }
}

@media (max-width: 767px){
  /*filter mobile*/
  .nit-filter {
    display: none;
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    width: 100%;
    margin: 0px;
  }

  .nit-filter .nit-filter-form {
    background: white;
    padding: 20px;
    width: 100%;
    /* max-width: 400px; */
    border-radius: 8px;
    height: auto;
    flex-direction: column;
    overflow-y: scroll;
    max-height: 100vh; /* máximo igual a la altura total de la pantalla */
    overflow-y: auto;
  }

  .nit-filter .nit-filter-form .nit-filter-form-field-block {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .nit-filter.active{
    display: flex;
  }

  .nit-only-mobile-element.nit-close-filter-mobile {
    display: flex;
    justify-content: flex-end;
  }

  .nit-close-filter-mobile img {
    width: 16px;
  }

  .nit-filter-mobile-icon >span > p {
    font-weight: bold;
    margin-right: 10px;
  }

  .nit-filter-mobile-icon span {
    display: flex;
    justify-content: flex-end;
    padding: 15px;
    margin-bottom: 40px;
  }

  .nit-filter-mobile-icon span {
    border: 1px solid black;
    width: fit-content;
  }

  .nit-top-place-item {
    display: block;
    max-height: inherit;
  }

  .nit-top-place-item-thumbnail, .nit-top-place-item-content {
    width: 100%;
  }

  .nit-top-place-item-content {
    padding: 20px;
  }

}

/*mobile grande*/
@media (max-width: 575px) {
  .nit-list-places-results-loop-loop.list-display-mode {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }

}

/*mobile estandar*/
@media (min-width: 360px) and (max-width: 480px) {
  .nit-list-places-results-loop-loop.list-display-mode {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px 20px;
  }
}