/*
Theme Name: Rancho Cala Mesquida
*/
      /* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
.imagenparallaxportada {
  /* Set a specific height */
  height: 22rem;

  /* Create the parallax scrolling effect */
  background-attachment: scroll;
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}

.imagenparallax {
  /* Set a specific height */
  height: 25rem;

  /* Create the parallax scrolling effect */
  background-attachment: scroll;
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}

.imagenparallax2 {


  /* Set a specific height */
  height: 25rem;

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}

.imagenparallaxmovil {
  /* The image used */



  /* Set a specific height */
  height: 25rem;

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: top;
  background-repeat: no-repeat;
  background-size: auto;
}

.fondo {
  /* Set a specific height */
  height: 100%;

  /* Create the parallax scrolling effect */
  background-position: center;
  background-size: cover;
}
.bg-ranchocalamesquida {
		background-color: #8c4113;
	}
.bg-ranchocalamesquida2 {
		background-color: #c59a5e;
	}

.btn-ranchocalamesquida {
		background-color: #8c4113;
	}
.btn-ranchocalamesquida2 {
		background-color: #c59a5e;
	}
.i-ranchocalamesquida {
		background-color: #8c4113;
	}
.i-ranchocalamesquida:hover {
		background-color: #c59a5e;
	}
.i-ranchocalamesquida2 {
		background-color: #c59a5e;
	}
.i-ranchocalamesquida2:hover {
		background-color: #8c4113;
	}
.text-ranchocalamesquida {
		color: #8c4113;
		text-decoration-color: #c59a5e;
	}
.text-ranchocalamesquida2 {
		color: #c59a5e;
		text-decoration-color: #8c4113;
	}
.text-ranchocalamesquida2:hover {
		color: #8c4113;
		text-decoration-color: #c59a5e;
	}


@media all and (min-width: 992px) {
	.navbar .nav-item .dropdown-menu{ display: none; }
	.navbar .nav-item:hover .nav-link{ color: #c59a5e;  }
	.navbar .nav-item:hover .dropdown-menu{ display: block; }
	.navbar .nav-item .dropdown-menu{ margin-top:0; }
	}
.btn-primary {
	background-color: #c59a5e;
	border: none;

}
.btn-primary:hover {
	background-color: #8c4113;
}



a, a:hover {
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

#pageHeaderTitle {
  margin: 2rem 0;
  text-transform: uppercase;
  text-align: center;
  font-size: 2.5rem;
}

/* Cards */
.postcard {
  flex-wrap: wrap;
  display: flex;
  box-shadow: 0 4px 21px -12px rgba(0, 0, 0, 0.66);
  border-radius: 10px;
  margin: 0 0 2rem 0;
  overflow: hidden;
  position: relative;
  color: #8c4113;
}
.postcard.dark {
  background-color: #8c4113;
}
.postcard.light {
  background-color: #e1e5ea;
}
.postcard .t-light {
  color: #c59a5e;
}
.postcard a {
  color: inherit;
}
.postcard h1, .postcard .h1 {
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}
.postcard .small {
  font-size: 80%;
}
.postcard .postcard__title {
  font-size: 1.75rem;
}
.postcard .postcard__img {
  max-height: 180px;
  width: 100%;
  object-fit: cover;
  position: relative;
}
.postcard .postcard__img_link {
  display: contents;
}
.postcard .postcard__bar {
  width: 50px;
  height: 10px;
  margin: 10px 0;
  border-radius: 5px;
  background-color: #424242;
  transition: width 0.2s ease;
}
.postcard .postcard__text {
  padding: 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.postcard .postcard__preview-txt {
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: justify;
  height: 100%;
}
.postcard .postcard__tagbox {
  display: flex;
  flex-flow: row wrap;
  font-size: 14px;
  margin: 20px 0 0 0;
  padding: 0;
  justify-content: center;
}
.postcard .postcard__tagbox .tag__item {
  display: inline-block;
  background: rgba(83, 83, 83, 0.4);
  border-radius: 3px;
  padding: 2.5px 10px;
  margin: 0 5px 5px 0;
  cursor: default;
  user-select: none;
  transition: background-color 0.3s;
}
.postcard .postcard__tagbox .tag__item:hover {
  background: rgba(83, 83, 83, 0.8);
}
.postcard:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(-70deg, #424242, transparent 50%);
  opacity: 1;
  border-radius: 10px;
}
.postcard:hover .postcard__bar {
  width: 100px;
}

@media screen and (min-width: 769px) {
  .postcard {
    flex-wrap: inherit;
  }
  .postcard .postcard__title {
    font-size: 2rem;
  }
  .postcard .postcard__tagbox {
    justify-content: start;
  }
  .postcard .postcard__img {
    max-width: 300px;
    max-height: 100%;
    transition: transform 0.3s ease;
  }
  .postcard .postcard__text {
    padding: 1.5rem 3.3rem;
    width: 100%;
  }
  .postcard .media.postcard__text:before {
    content: "";
    position: absolute;
    display: block;
    background: #18151f;
    top: -20%;
    height: 130%;
    width: 55px;
  }
  .postcard:hover .postcard__img {
    transform: scale(1.1);
  }
  .postcard:nth-child(2n+1) {
    flex-direction: row;
  }
  .postcard:nth-child(2n+0) {
    flex-direction: row-reverse;
  }
  .postcard:nth-child(2n+1) .postcard__text::before {
    left: -12px !important;
    transform: rotate(4deg);
  }
  .postcard:nth-child(2n+0) .postcard__text::before {
    right: -12px !important;
    transform: rotate(-4deg);
  }
}
@media screen and (min-width: 1024px) {
  .postcard__text {
    padding: 2rem 3.5rem;
  }

  .postcard__text:before {
    content: "";
    position: absolute;
    display: block;
    top: -20%;
    height: 130%;
    width: 55px;
  }

  .postcard.dark .postcard__text:before {
    background: #18151f;
  }

  .postcard.light .postcard__text:before {
    background: #e1e5ea;
  }
}
/* COLORS */
.postcard .postcard__tagbox .green.play:hover {
  background: #79dd09;
  color: black;
}

.green .postcard__title:hover {
  color: #8c4113;
}

.green .postcard__bar {
  background-color: #c59a5e;
}

.green::before {
  background-image: linear-gradient(-30deg, rgba(121, 221, 9, 0.1), transparent 50%);
}

.green:nth-child(2n)::before {
  background-image: linear-gradient(30deg, rgba(121, 221, 9, 0.1), transparent 50%);
}


@media screen and (min-width: 769px) {
  .green::before {
    background-image: linear-gradient(-80deg, rgba(121, 221, 9, 0.1), transparent 50%);
  }

  .green:nth-child(2n)::before {
    background-image: linear-gradient(80deg, rgba(121, 221, 9, 0.1), transparent 50%);
  }
}

.circulo {
	width: 14rem;
	height: 14rem;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: white;
	text-shadow: #000000 1px 0 10px;
	font-weight: bold;
}

.card{border-radius:1;border:none;box-shadow:0 0 1rem rgba(0,0,0,0.1);transition:transform 200ms cubic-bezier(0.165, 0.84, 0.44, 1)}.card .card-header,.card .card-footer{background-color:transparent;border:none;padding:1rem;border-radius:0rem}.card .card-body{padding:1rem}.card .card-img{border-radius:0}.card:not(.no-hover):hover{box-shadow:0 0 1rem rgba(0,0,0,0.19);transform:scale(1.03)}

.nav-tabs .nav-link {
	color: #8c4113;
	background-color: lightgray;
}

.nav-tabs .nav-link:hover {
	color: #8c4113;
	background-color: white;
}

.active {
	color: #8c4113;
}

.btn-ranchocalamesquida2.active {
	color: #8c4113;
	background-color: #8c4113;
}
.demo{ background: #f8f8f8; }

.testimonial{
    margin: 0 20px 0px;
}
.testimonial .testimonial-content{
    padding: 35px 25px 35px 50px;
    margin-bottom: 35px;
    background: #fff;
    border: 1px solid #f0f0f0;
    position: relative;
}
.testimonial .testimonial-content:after{
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #fff;
    position: absolute;
    bottom: -10px;
    left: 22px;
    transform: rotate(45deg);
}
.testimonial-content .testimonial-icon{
    width: 50px;
    height: 45px;
    background: #c59a5e;
    text-align: center;
    font-size: 22px;
    color: #fff;
    line-height: 42px;
    position: absolute;
    top: 37px;
    left: -19px;
}
.testimonial-content .testimonial-icon:before{
    content: "";
    border-bottom: 16px solid #8c4113;
    border-left: 18px solid transparent;
    position: absolute;
    top: -16px;
    left: 1px;
}
.testimonial .description{
    font-size: 15px;
    font-style: italic;
    color: #8a8a8a;
    line-height: 23px;
    margin: 0;
}
.testimonial .title{
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #525252;
    text-transform: capitalize;
    letter-spacing: 1px;
    margin: 0 0 5px 0;
}
.testimonial .post{
    display: block;
    font-size: 14px;
    color: #8c4113;
}
.owl-theme .owl-controls{
    margin-top: 20px;
}
.owl-theme .owl-controls .owl-page span{
    background: #ccc;
    opacity: 1;
    transition: all 0.4s ease 0s;
}
.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span{
    background: #c59a5e;
}



/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 28rem;
}
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 28rem;
}

.carousel-item {
  height: 78vh;
  min-height: 350px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}


.marquee-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  background-color: #f8f9fa; /* Opcional: un fondo para la bandera */
  padding: 10px; /* Opcional: un poco de padding */
}

.marquee-content {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 50s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}