/*
COLORES
=======
FONDOS
nav-top #3D4020
carousel: rgb(61,64,32);
font-family: 'Cabin', sans-serif;
font-family: 'Cabin Condensed', sans-serif;
*/

:root {
  --bs-primary: #762b04;
  --bs-link-color: #393e18;
}

html {
  /* scrollbar fix (prevent ugly left pull for lower content sites) */
  overflow-y: scroll;
}
body {
  background: rgb(245, 245, 245);
  font-family: "Cabin", sans-serif;
  font-size: 1rem;
  color: #333;
}
img {
  width: auto;
  max-width: 100%;
}
a {
  text-decoration: none;
  color: #333;
}
header {
  background-color: rgb(246, 246, 246);
}
figure {
  margin: 1rem 0;
  position: relative;
  overflow: hidden;
  height: auto;
}
p {
  text-align: start;
  text-wrap: balance;
}
.element-invisible {
  display: none;
}
.main-wrapper {
  margin-bottom: 2.5rem;
}
.container-fluid {
  max-width: 85rem;
  margin: 0 auto;
}
.section-wrapper {
  max-width: 72rem;
  margin: 0 auto;
}

.hidden {
  display: none;
  visibility: hidden;
}

h3.secciones {
  background-color: #868e3f;
  color: #fff;
  margin: 0 !important;
  text-align: start;
  text-transform: uppercase;
  font-size: 0.825rem;
  padding: 0.75rem;
  line-height: 1;
  display: block;
  /* margin-bottom: -1rem; */
}

.secciones ul{
  margin-top:-1rem;
}
.category-module h4 {
  font-size: 1.25rem !important;
  color: var(--bs-primary);
}
figure {
  position: relative;
}
figcaption {
  position: absolute;
  inset: auto 0 0 0;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 0.825rem;
  line-height: 2.5;
  text-align: center;
}

/* Bootstrap navbar overrides to match BS5 styling */
.navbar-top {
  background: #383e15;
}
.navbar-top .navbar-toggler {
  border: none;
  padding: .25rem .4rem;
}
.navbar-top .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar-top .navbar-nav .nav-item {
  border-right: 1px solid #5d6d13;
  padding: .25rem .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.navbar-top .navbar-nav .nav-item:hover {
  color: #f0f0f0;
  background-color: #5d6d13;
}
.navbar-top .nav-item a {
  color: #7a901a;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.navbar-dark {
  background: #762b04;
}
.navbar-dark .navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}
.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(252,211,190,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar-dark .navbar-nav .nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.5rem;
}

.navbar-dark .nav-item a {
  color: #fcd3be;
  text-transform: uppercase;
  font-size: 1rem;
  line-height: 1.3;
  white-space: pre-wrap;
  font-family: "Cabin Condensed", sans-serif;
  font-weight: 300;
  text-align: center;
}
.navbar-dark .navbar-nav .nav-item.active,
.navbar-dark .navbar-nav .nav-item.show {
  background: transparent;
}

.btn-primary {
  background: rgb(133, 141, 60);
  border-color: rgb(133, 141, 60);
  transition: color;
}
.btn-default {
  border-color: #ccc;
  color: #333;
  transition: color;
  background-color: #fff;
}
.btn-default:hover {
  border-color: #333;
  color: #333;
  background-color: #f0f0f0;
}
.btn-primary:hover {
  background-color: rgb(105, 111, 45);
  border-color: rgb(105, 111, 45);
}

.icon-angle-left:before {
  content: "\f053";
  font-family: "FontAwesome";
}

.icon-angle-right:before {
  content: "\f054";
  font-family: "FontAwesome";
}

.icon-print:before {
  content: "\f02f";
  font-family: "FontAwesome";
}

.icon-envelope:before {
  content: "\f0e0";
  font-family: "FontAwesome";
}

.fotos li:before {
  content: "\e060";
  font-family: "FontAwesome";
}

.readmore {
  padding: 0.5rem 0;
}

.fotos li > a {
  padding-left: 1rem;
}
.btn-group {
  background-color: #e4e7d1;
}
.btn-group .dropdown-toggle {
  color: white;
}
.content-links .nav-tabs > li {
  max-width: 90%;
}
.content-links .nav-tabs > li > a {
  color: #333;
  font-size: 0.6875rem;
}
.content-links .nav-tabs > li > a:hover {
  background-color: transparent;
  color: #848f2f;
}
ul.pagination li:first-child,
ul.pagination li:last-child {
  display: none;
}
.pagination > .active > a,
.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
  background-color: #393e18;
  border-color: #393e18;
}
.pagination > li > a,
.pagination > li > span {
  color: #393e18;
}

/*  HOME */

#secciones li {
  padding-bottom: 1.25rem;
}

/* JOOMLA CLASSES */
body.historia,
body.actualidad,
body.cosmovision-y-espiritualidad,
body.arte,
body.etnogenesis-personal,
body.los-otros-inquietantes,
body.la-biblioteca,
body.estatica {
  background-color: rgb(193, 197, 154);
}
.historia figcaption,
.actualidad figcaption,
.cosmovision-y-espiritualidad figcaption,
.arte figcaption,
.etnogenesis-personal figcaption,
.los-otros-inquietantes figcaption,
.la-biblioteca figcaption,
body.estatica figcaption {
  height: auto;
  width: 100%;
  position: absolute;
  bottom: -1px;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  padding: 1.25rem 2.5rem;
}
.historia figcaption > h3,
.actualidad figcaption > h3,
.cosmovision-y-espiritualidad figcaption > h3,
.arte figcaption > h3,
.etnogenesis-personal figcaption > h3,
.los-otros-inquietantes figcaption > h3,
.la-biblioteca figcaption > h3,
.estatica figcaption > h3 {
  color: #b7bf8c;
}
.historia figcaption > p,
.actualidad figcaption > p,
.cosmovision-y-espiritualidad figcaption > p,
.arte figcaption > p,
.etnogenesis-personal figcaption > p,
.los-otros-inquietantes figcaption > p,
.la-biblioteca figcaption > p,
.estatica figcaption > p {
  color: white;
  font-size: 1.125rem;
}
.page-header {
  border: none;
  padding: 1rem 0;
}
.item-page.historia {
  padding-top: 1rem;
}
.item-page .icons:after {
  display: block;
  content: "";
  clear: right;
}
.category-desc {
  padding-top: 1rem;
}
.attachmentsContainer {
  font-size: 85%;
  font-weight: normal;
}
.icons ul > li {
  width: auto;
  display: inline-block;
  margin-left: 1rem;
  font-size: 85%;
  text-align: left;
}
.print-icon > a > span {
  font-family: "FontAwesome";
  content: "\f02f";
  padding-right: .5rem;
}
.email-icon > a > span {
  font-family: "FontAwesome";
  content: "\f003";
  padding-right: .5rem;
}
.muted {
  display: none;
}
.pathway .divider {
  display: none;
}
/*BLOG*/
.blog .items-leading .page-header,
.blog h2 {
  margin-top: 0;
  color: #81902b;
}
.blog .item h2 {
  font-size: 1rem;
}
.blog .items-leading p.lead,
.blog .item p.lead {
  font-size: 1rem;
}

.blog .item img {
  display: block;
  margin-bottom: 1rem;
}
/* SOCIAL SHARING */
/*#sthoverbuttons {top:30%!important;}*/
#sthoverbuttons #sthoverbuttonsMain {
  position: relative;
  z-index: 1000000;
  width: 2.5rem !important;
  padding: 0 !important;
}

/* FOOTER */
footer {
  background-color: #393e18;
  padding: 2.5rem 0;
}
.sitemap,
.sitemap > li {
  margin-left: 0;
  padding-left: 0;
  color: #83902d;
  font-size: .75rem;
}
.sitemap > li > a {
  color: white;
}

.auspicios-wrapper {
  padding: 1rem 0;
}

/* MEDIA QUERIES
*********************************************/
/* Extra small devices (phones, less than 76.5rem) */
/* No media query -> mobile first strategy */
/* Small devices (tablets, 76.5rem and up) */
@media (min-width: 76.5rem) {
  .search .inputbox {
    max-width: 12rem;
  }
  /* SLIDE SHOW HOME */
  #featured .carousel-inner,
  #featured .carousel-item {
    background: #3d4020;
    color: #fff;
  }

  #featured .carousel-control-prev,
  #featured .carousel-control-next {
    width: 2.5rem;
    height: 6.25rem;
    position: absolute;
    top: 50%;
    background-color: #696f2d;
    z-index: 999;
  }
  #featured .carousel-control-next {
    right: 0;
  }
  #featured .carousel-control-prev {
    left: 0;
  }
  #featured h2 {
    margin-top: 0;
    font-size: 3.25rem;
    color: #a2b134;
  }
  #featured .lead {
    font-size: 1.25rem;
    line-height: 130%;
    margin-bottom: 1rem;
  }
  #featured p:not(.lead) {
    font-size: 1rem;
    margin: 0;
  }

  .bannergroup {
    margin: 0 -1rem;
    width: auto;
    min-width: 100%;
  }
  .banneritem {
    width: auto;
    display: inline-block;
    margin: 0.75rem;
    max-width: 35rem;
  }
  .moduletable-home-secciones {
    float: left;
    margin-right: 0.75rem;
  }
  .moduletable-home-secciones.tiempo-sagrado {
    margin-right: 0;
  }
}
/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .search .inputbox {
    width: 15.5rem;
    max-width: 15.5rem;
  }

  .navbar-nav .nav-item {
    padding-top: 2px;
    padding-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #main-menu li {
    height: 2.75rem;
    border-right: 1px solid rgb(242, 208, 176);
  }
  #main-menu li:last-child {
    border: none;
  }
}
/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container-fluid {
    padding: 0 2rem;
  }
  .search .inputbox {
    width: 17.5rem;
    max-width: 17.5rem;
  }

  #featured {
    height: 36.25rem;
    margin: 0 -30px;
  }
  #featured .carousel-item {
    padding: 1.25rem 50px;
    height: 36.25rem;
  }
  .dosCol {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -moz-column-gap: 1rem;
    -webkit-column-gap: 1rem;
    column-gap: 1rem;
  }
}
@media (min-width: 1400px) {
  .container-fluid {
    padding: 0 6.25rem;
  }
  #featured {
    height: 36.25rem;
    margin: 0 -6.25rem;
  }
  #featured .carousel-item {
    padding: 1.25rem 6.25rem;
  }
}
/* Grid 13.75rem column */
.grid-5 {
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(5, minmax(13.75rem, 1fr));
}
@media (max-width: 1200px) {
  .grid-5 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 3 columns */
@media (max-width: 992px) {
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 2 columns */
@media (max-width: 76.5rem) {
  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 1 column */
@media (max-width: 480px) {
  .grid-5 {
    grid-template-columns: 1fr;
  }
}
