/* 
=================================================
  Theme Name: Red Aliwen
  Author: Oscar Madrid Vargas - Agencia Merca.
  Description: Tema desarrollado por Oscar Madrid Vargas y diseñado por Agencia Merca, exclusivamente para Red Aliwen.
  Version: 1.0.0
  License: Sólo uso redaliwen.cultura.gob.cl
=================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;900&family=Source+Serif+4:opsz,wght@8..60,200;8..60,300;8..60,400;8..60,500;8..60,600;8..60,700;8..60,800;8..60,900&display=swap');



/* Variables */
:root {
  --verde: #53886F;
  --verde_claro: #48C187;
  --gris: #2E2E2D;
  --celeste: #49A7DB;
}

/*

  FONTS
  font-family: 'Inter', sans-serif;
  font-family: 'Source Serif 4', serif;

*/

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  background: #fff;
  color: var(--gris);
  font-weight: 400
}

body.logged-in {
  position: relative
}

img {
  border: 0
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Source Serif 4', serif;
  line-height: 1.2;
  font-weight: 500
}

h1 {
  font-size: 40px
}

h2 {
  font-size: 20px
}

b,
strong {
  font-weight: 700
}

p {
  margin-bottom: var(--margin_bottom)
}

a {
  color: var(--gris);
}

a:hover {
  background: var(--celeste);
  color: #fff;
  text-decoration: none
}

sup { 
  vertical-align: super;
  font-size: 11px;
  top: -.25em;
}

label {
  color: var(--gris);
  font-weight: 400;
  font-size: 15px;
  margin-bottom: 3px
}

input,
textarea,
select {
  border-width: 1px !important;
  border-style: solid !important;
  border-radius: 22px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  border-color: var(--celeste) !important
}

input::placeholder,
textarea::placeholder,
select::placeholder {
  font-weight: 100
}

textarea {
  height: 230px !important
}

input:focus,
textarea:focus {
  border-color: var(--crema) !important
}

input:focus,
textarea:focus,
button:focus,
a:focus,
select:focus {
  outline: none !important;
  box-shadow: none !important
}

button,
input[type="submit"] {
  font-size: 12px !important;
  height: 21px !important;
  background-color: var(--verde_claro) !important;
  width: auto;
  color: #fff !important;
  padding: 0 40px !important;
  border: 0 !important
}

button:hover,
input[type="submit"]:hover {
  background: var(--verde);
  color: #fff
}

small {
  font-size: 12px
}

iframe,
embed {
  border: 0
}

.wrapper {
  position: relative;
  overflow: hidden
}

.alignfull {
  margin-left: calc(-100vw / 2 + 100% / 2) !important;
  margin-right: calc(-100vw / 2 + 100% / 2) !important;
  max-width: 100vw !important;
  flex-basis: auto !important
}

.margin-bottom {
  margin-bottom: var(--margin_bottom)
}

.marca-de-agua {
  position: absolute;
  z-index: 20;
  left: 0;
  top: 10vh;
  height: 80vh;
  width: auto
}

body.single .marca-de-agua {
  display: none
}



/*
====================
     HEADER
====================
*/

/* Preheader */
.preheader .wp-block-image figure {
  margin: 0
}

.preheader .wp-block-image figure img {
  vertical-align: top
}

.preheader .wp-block-button__link {
  color: var(--gris)
}

header.transparente .preheader .wp-block-button__link {
  color: #fff !important
}

header.transparente .preheader .wp-block-button__link:hover,
.preheader .wp-block-button__link:hover {
  color: var(--verde_claro) !important
}




/* Header */
header {
  margin-bottom: 25px;
}

header.transparente {
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 999;
}

header a {
  color: var(--gris)
}

header a:hover {
  color: var(--crema);
  background: transparent
}


/* LOGOTIPO */
.logotipo {
  text-align: left
}

.logotipo img {
  max-width: 72px !important
}


/* Menú */

.nav-menu {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: flex-end;
  align-items: flex-end;
  justify-content: flex-end
}

nav.navbar {
  font-size: 15px;
  padding: 0
}

ul.navbar-nav {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none
}

ul.navbar-nav li.menu-item {
  margin-right: 12px;
  position: relative
}

ul.navbar-nav li.menu-item:last-child {
  margin-right: 0
}

ul.navbar-nav li.menu-item a {
  color: var(--gris);
  padding: 3px 7px
}

header.transparente ul.navbar-nav li.menu-item a {
  color: #fff
}

ul.navbar-nav li.menu-item-has-children > a {
  padding-right: 20px
}

ul.navbar-nav li.menu-item-has-children > a:after,
.pushy ul li.menu-item-has-children > a:after {
  content: "";
  display: block;
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  border-bottom: 2px solid var(--gris);
  border-right: 2px solid var(--gris)
}

header.transparente ul.navbar-nav li.menu-item-has-children > a:after {
  border-bottom-color: #fff;
  border-right-color: #fff
}

ul.navbar-nav .current-post-ancestor > a,
ul.navbar-nav .current-cat > a,
ul.navbar-nav .current-menu-item > a,
ul.navbar-nav .current-menu-ancestor > a,
ul.navbar-nav .current_page_item > a,
ul.navbar-nav .current_page_ancestor > a,
ul.navbar-nav li:hover a,
ul.navbar-nav .current-menu-item > a:hover,
ul.navbar-nav .current-menu-ancestor > a:hover,
ul.navbar-nav .current_page_item > a:hover,
ul.navbar-nav .current_page_ancestor > a:hover {
  background-color: rgba(72, 193, 135, .85);
  color: #fff !important
}

ul.navbar-nav li.menu-item-has-children > a:hover:after,
ul.navbar-nav li.menu-item-has-children:hover > a:after,
ul.navbar-nav .current-post-ancestor > a:after,
ul.navbar-nav .current-cat > a:after,
ul.navbar-nav .current-menu-item > a:after,
ul.navbar-nav .current-menu-ancestor > a:after,
ul.navbar-nav .current_page_item > a:after,
ul.navbar-nav .current_page_ancestor > a:after {
	border-color: #fff !important;
}

ul.navbar-nav li ul.sub-menu {
  position: absolute;
  margin: 0;
  padding: 12px 0 0;
  display: block;
  z-index: 100;
  left: 0;
  top: 100%;
  height: 0;
  overflow: hidden;
}

ul.navbar-nav li:last-child ul.sub-menu {
  left: inherit;
  right: 0;
}

ul.navbar-nav ul.sub-menu li {
  position: absolute;
  top: -9999px;
  height: 0; 
  display: block;
  margin: 0;
  padding: 0;
  text-transform: none;
  transition: height .2s ease-in;
  -webkit-transition: height .2s ease-in;
  -moz-transition: height .2s ease-in;
  -o-transition: height .2s ease-in;
  opacity: 0;
  text-align: left;
  white-space: nowrap;
}

ul.navbar-nav li ul.sub-menu li a {
  display: block;
  position: relative;
  padding: 0 15px;
  line-height: 40px;
  background: rgba(73, 167, 219, .85);
}

ul.navbar-nav li ul.sub-menu li a:hover {
  text-decoration: underline
}

ul.navbar-nav li:hover > ul.sub-menu {
  height: auto;
}

ul.navbar-nav li:hover > ul.sub-menu > li {
  position: relative;
  top: auto;
  opacity: 1;
  height: 40px;
}



/* Botón Menú Mobile */

.btn--menu_mobile {
  width: 30px; 
  box-sizing: border-box;
  height: 45px;
  position: relative;
  cursor: pointer;
  float: right
}

.btn--menu_mobile:before,
.btn--menu_mobile:after,
.btn--menu_mobile span {
  background: var(--gris);
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  position: absolute;
  left: 0;
  -webkit-transition: all linear 0.15s;
  -moz-transition: all linear 0.15s;
  transition: all linear 0.15s;
}

header.transparente .btn--menu_mobile:before,
header.transparente .btn--menu_mobile:after,
header.transparente .btn--menu_mobile span {
  background: #fff;
}

.btn--menu_mobile:before {
  top: 10px;
}

.btn--menu_mobile span {
  top: 20px;
}

.btn--menu_mobile:after {
  top: 30px;
}

.pushy {
  width: 350px;
  background-color: #fff;
  padding: 30px
}

.pushy-left {
  -webkit-transform: translate3d(-350px, 0, 0);
  -ms-transform: translate3d(-350px, 0, 0);
  transform: translate3d(-350px, 0, 0);
}

.pushy a {
  color: var(--gris);
  position: relative
}

.pushy ul li {
  border-bottom: 1px solid #ccc
}

.pushy ul li.current-post-ancestor > a,
.pushy ul li.current-cat > a,
.pushy ul li.current-menu-item > a,
.pushy ul li.current-menu-ancestor > a,
.pushy ul li.current_page_item > a,
.pushy ul li.current_page_ancestor > a {
  color: var(--verde_claro)
}

.pushy ul li a {
  padding: 18px 0
}

.pushy ul li.menu-item-has-children > a:after {
  top: 24px
}

.pushy ul li ul {
  margin-left: 15px
}

.pushy ul li:last-child,
.pushy ul li ul li {
  border-bottom: 0
}

.overlay-pushy.overlay-active {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9998;
    background-color: rgba(250,250,250,0.5);
    -webkit-animation: fade 500ms; 
    -moz-animation: fade 500ms; 
    -o-animation: fade 500ms;
    animation: fade 500ms;
}



/*
====================
       FOOTER
====================
*/

.container-xl.newsletter {
  max-width: 1140px !important
}

.container-xl.newsletter input {
  border: 0 !important
}

footer {
  background: var(--verde);
  color: #fff;
  padding: 95px 0 35px
}

footer .columnas-footer {
  margin-bottom: 140px
}

footer .innerblocks-wrap {
  gap: 30px
}

footer .wp-block-image {
  float: left
}

footer p a {
  color: #fff;
  text-decoration: underline
}

footer p a:hover {
  background: var(--verde_claro) !important
}

footer i {
  -webkit-transition: all linear 0.15s;
  -moz-transition: all linear 0.15s;
  transition: all linear 0.15s;
}

footer a.wp-block-button__link i {
  font-size: 19px
}

footer a.wp-block-button__link:hover i {
  color: var(--verde_claro)
}




/*
====================
     CONTACTO
====================
*/

input[type="submit"].btn-enviar-form {
  height: 50px !important;
  width: 180px;
  border-radius: 25px !important
}

.wpcf7-spinner {
  float: left;
  margin: 13px 24px 13px 0 !important
}

.wpcf7 form .wpcf7-response-output {
  border: 0 !important;
  margin-left: 0;
  margin-right: 0;
  text-align: center;
  border-radius: .25rem
}

.wpcf7 form.sent .wpcf7-response-output {
  background: #46b450; /* Green */
  color: #fff
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  background: #dc3232; /* Red */
  color: #fff !important
}

.wpcf7 form.spam .wpcf7-response-output {
  background: #f56e28; /* Orange */
  color: #fff
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  background: #ffb900;
  color: #000
}

.wpcf7-not-valid-tip {
  font-size: 12px !important;
  text-transform: uppercase;
  color: #dc3232 !important;
  margin-top: 5px
}




/*
===================
     HOMEPAGE
===================
*/

.box--descatado-home {
  position: relative;
  margin-bottom: 20px
}

.box--descatado-home:last-child {
  margin-bottom: 0
}

.box--descatado-home figure {
  position: relative;
}

.box--descatado-home figure img {
  width: 100%;
  max-width: none
}

.box--descatado-home figure:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: transparent linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.9) 100%) 0% 0% no-repeat;
}

.box--descatado-home p {
  margin-bottom: 0
}

.container--info-destacado-home {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  color: #fff
}

.container--info-destacado-home p {
  font-size: 14px;
  font-weight: 300
  
}

.container--info-destacado-home h2 {
  font-size: 30px
}

.container--info-destacado-home h2 a {
  color: #fff
}

.container--info-destacado-home h2,
.container--info-destacado-home p.categoria {
  font-weight: 500;
  margin-bottom: 10px
}

.box--loop-home {
  margin-bottom: 40px
}

.box--loop-home:last-child {
  margin-bottom: 0
}

.box--loop-home figure {
  margin-bottom: 20px
}

.box--loop-home p {
  font-size: 14px;
  font-weight: 300
}

.box--loop-home h2 {
  font-size: 20px
}

.box--loop-home h2,
.box--loop-home p.categoria {
  font-weight: 500;
  margin-bottom: 10px
}

.container--carousel-mujeres {
  margin-bottom: 215px;
  padding: 0 60px;
}

.boxCarousel--mujeres-creadoras {
  display: flex;
  -ms-flex-align: center!important;
  align-items: center!important;
  gap: 22px
}

.boxCarousel--mujeres-creadoras figure {
  -ms-flex: 0 0 180px;
  flex: 0 0 180px;
  max-width: 180px
}

.boxCarousel--mujeres-creadoras figure img {
  border-radius: 50%
}

.container--info-mujeres-creadoras h2 {
  font-size: 20px
}

.container--info-mujeres-creadoras p {
  font-size: 14px
}

.container--info-mujeres-creadoras h2,
.container--info-mujeres-creadoras p.categoria {
  font-weight: 500;
  margin-bottom: 10px
}

.carousel-mujeres-creadoras.owl-carousel .owl-nav button.owl-next,
.carousel-mujeres-creadoras.owl-carousel .owl-nav button.owl-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent !important;
  font-size: 21px !important;
  color: var(--celeste) !important
}

.carousel-mujeres-creadoras.owl-carousel .owl-nav button.owl-prev {
  left: -60px
}

.carousel-mujeres-creadoras.owl-carousel .owl-nav button.owl-next {
  right: -60px
}



/*
======================
     BREADCRUMBS
======================
*/

ul.breadcrumbs {
  position: relative;
  z-index: 50;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: left !important;
  justify-content: left !important;
  margin-bottom: 40px
}

ul.breadcrumbs li {
  display: -ms-flexbox;
  display: flex;
  font-size: 12px;
  margin: 0 5px
}



/*
======================
      CATEGORÍAS
======================
*/

.header--single-page-category {
  position: relative;
  height: 500px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: center!important;
  align-items: center!important;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 20px;
  color: #fff;
  padding-top: 120px
}

.header--single-page-category:before {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

.header--single-page-category .container-xl {
  z-index: 50
}

h1.title--single-page {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 10px
}

.header--single-page-category p {
  font-size: 25px;
  font-weight: 300
}

.container--top-category h3 {
  font-size: 25px;
  margin-bottom: 35px
}

.container--top-category p {
  font-size: 14px
}

.container--top-category figure {
  margin-bottom: 25px
}

.box--descatado-categoria p.categoria {
  display: inline-block;
  font-size: 14px;
  background-color: var(--celeste);
  color: #fff;
  padding: 0 15px;
  border-radius: 12.5px;
  line-height: 25px;
  margin-bottom: 10px;
}

.box--descatado-categoria h2.title-list {
  font-size: 30px;
  margin-bottom: 10px
}

.box--descatado-categoria p {
  font-size: 12px;
  font-weight: 300
}

ul.menu {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: center !important;
  justify-content: center !important;
  margin-bottom: 45px;
  gap: 8px
}

ul.menu li.menu-item {
  display: -ms-flexbox;
  display: flex;
  font-size: 15px;
}

ul.menu li.menu-item a {
  padding: 3px 20px
}

ul.menu li.menu-item a:hover,
ul.menu li.menu-item.current-menu-item a {
  background-color: var(--verde_claro);
  color: #fff
}

.container--info-post {
  margin-bottom: 50px
}

.container--info-post figure {
  position: relative;
  margin-bottom: 15px
}

span.fecha {
  position: absolute;
  top: 5px;
  left: 5px;
  display: inline-block;
  height: 25px;
  background-color: var(--verde_claro);
  color: #fff;
  padding: 0 15px;
  font-size: 12px;
  border-radius: 12.5px;
  line-height: 25px
}

.container--info-post .categoria {
  display: inline-block;
  font-size: 14px;
  background-color: var(--celeste);
  color: #fff;
  padding: 0 15px;
  border-radius: 12.5px;
  line-height: 25px;
  margin-bottom: 10px
}

.container--info-post h2 {
  font-size: 20px;
  margin-bottom: 10px;
  -webkit-transition: all .2s ease-in;
  -moz-transition: all .2s ease-in;
  transition: all .2s ease-in
}

.container--info-post p {
  font-size: 12px;
  font-weight: 300;
  margin-bottom: 0
}

.container--info-post a:hover {
  color: var(--gris);
  background: transparent
}

.container--info-post a:hover h2 {
  color: var(--celeste)
}



/*
======================
     PAGINACIÓN
======================
*/

.navigation {
  margin-bottom: 170px
}

.facetwp-pager,
.pagenavi ul {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: center !important;
  justify-content: center !important
}

.pagenavi li,
.facetwp-pager a {
  display: -ms-flexbox;
  display: flex !important;
}

.facetwp-pager a,
.facetwp-pager a.active,
.pagenavi li.current a,
.pagenavi li a {
  cursor: pointer;
  display: block;
  padding: 2px 10px;
  border-radius: 7px;
  color: var(--gris)
}

 .facetwp-pager a,
.pagenavi li a {
  padding: 4px 10px;
}

.facetwp-pager a:hover,
.pagenavi li a:hover {
  background: transparent;
  color: var(--celeste)
}

.facetwp-pager a.active,
.pagenavi li.current a {
  color: var(--celeste);
  border: 2px solid var(--celeste)
}

.facetwp-pager a.prev i,
.facetwp-pager a.next i,
.pagenavi li i {
  color: var(--verde_claro);
  line-height: 1.4
}



/*
=============================
  ARCHIVO MUJERES CREADORAS
=============================
*/

.mujeres-creadoras figure img {
	border-radius: 50%
}

.mujeres-creadoras h2 {
  font-size: 20px;
  -webkit-transition: all .2s ease-in;
  -moz-transition: all .2s ease-in;
  transition: all .2s ease-in
}

.mujeres-creadoras a:hover {
  background: transparent;
  color: var(--gris)
}

.mujeres-creadoras a:hover h2 {
  color: var(--celeste)
}



/*
=============================
      ARCHIVO RECURSOS
=============================
*/

.recursos p.categoria {
  font-size: 12px
}

.recursos h2 {
  font-size: 20px
}



/*
======================
        SINGLE
======================
*/

.header--single-page-category.single {
  height: 380px;
  margin-bottom: 27px
}

.container--categoria-fecha {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: left !important;
  justify-content: left !important;
  -ms-flex-align: start!important;
  align-items: flex-start!important;
  gap: 20px;
  margin-bottom: 10px
}

.container--categoria-fecha div {
  display: -ms-flexbox;
  display: flex
}

.container--categoria-fecha div.categoria {
  font-size: 14px;
  background-color: var(--celeste);
  color: #fff;
  padding: 0 15px;
  border-radius: 12.5px;
  line-height: 25px
}

.container--categoria-fecha div.fecha {
  height: 25px;
  background-color: var(--verde_claro);
  color: #fff;
  padding: 0 15px;
  font-size: 12px;
  border-radius: 12.5px;
  line-height: 25px;
}

h1.title-single {
  font-size: 40px;
  margin-bottom: 10px
}

h4.extracto {
  font-family: 'Source Serif 4', serif;
  font-size: 30px;
  margin-bottom: 30px
}

.container-content {
  position: relative;
  z-index: 50
}

.container-content p {
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 35px
}

.container-content.page p {
  max-width: 735px;
  margin-right: auto
}

.container-content blockquote {
  font-family: 'Source Serif 4', serif;
  max-width: 480px;
  margin-right: auto
}

.container-content blockquote p {
  font-size: 25px;
  font-weight: 600
}

.nav-links {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: center !important;
  justify-content: center !important;
  margin-top: 90px
}

.nav-links div {
  width: 50%;
  text-align: center;
  font-size: 14px
}

.nav-links div i {
  color: var(--celeste)
}

.nav-links div a:hover {
  background-color: transparent;
  color: var(--celeste)
}

figure.wp-lightbox-container button {
  display: none
}



/*
======================
  POSTS RELACIONADOS
======================
*/

p.categoria.posts-relacionados {
  display: inline-block;
  font-size: 14px;
  background-color: var(--celeste);
  color: #fff;
  padding: 0 15px;
  border-radius: 12.5px;
  line-height: 25px;
  margin-bottom: 10px;
}




/*
===================
       ERROR
===================
*/

.container--error_404 {
  min-height: 60vh
}

.container--text-error_404 {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: center !important;
  justify-content: center !important;
  -ms-flex-align: center !important;
  align-items: center !important;
}

.container--text-error_404 img {
  margin-right: 10px
}

.container--text-error_404 span {
  font-weight: 500 !important;
  font-size: 18px
}