* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.TextPortada {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: 36px;
	transition-timing-function: .5s ease-in;
	align-items: flex-start;
}

.TextPortada p {	
	margin-top: 12px;
	margin-left: -140px;
	transition: 0.6s ease;
	color: #000000;
	font-variant: small-caps;
	text-align: center;
	background-color: rgba(255,255,255,0.50);
	font-weight: 900;
	float: none;
}


/* <uniquifier>: Use a unique and descriptive class name 
 <weight>: Use a value from 300 to 800 */

.open-sans {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

body {
  	font-family: "Open Sans", sans-serif;
    color: #333;
    background-color: #f9f9f9;}

.mySlides {
      display: none
    }

img {
  vertical-align: middle;
}


.topnav {
    overflow: hidden;
    background-color: #f1f1f1;
  }
  
.topnav h4 {
  text-align: left;
  float: left;
  display: flex;
  line-height: 80px;
  font-weight: 700;
}

.topnav a {
    float: none;
    color: black;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    line-height: 80px;
  }

.topnav-right a:hover {
    background-color: #387A5B;
    color: #ffffff;
  }

.topnav-right a.active {
	background-color: #B7A66D;
	color: #000000;
  }

  .topnav-right {
    float: right;
  }
  
/* Style the logo link (notice that we set the same value of line-height and font-size to prevent the header to increase when the font gets bigger */
.topnav img {
  height: 100px;
  float: left;
}

.topnav img:hover {
  background-color: #f1f1f1;
}

/*iconos redes sociales*/
.nav .fa {
  font-size: 22px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  margin: 5px 5px;
  line-height: 1.5;
}

.nav .fa:hover {
    opacity: 0.7;
    color: #000000;
}

  .topnav .icon {
    display: none;
  }
  
  .overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
  }



header {
    color: #fff;
    padding: 1em;
    text-align: center;
}

.nav {
    overflow: hidden;
    background-color: #387A5B;
  }
  
  .nav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
	  text-decoration: none;
  }
  
  .nav .fa:hover {
      color: #000000;
  }

  .nav a:hover {
    background-color: #dacfb1;
    color: #333;
  }
  
  .nav a.active {
    background-color: #B7A66D;
    color: black;
  }
  
  /* Create a right-aligned (split) link inside the navigation bar */
  .nav a.split {
    float: right;
    color: white;
  }
/* Video responsivo */
  .video-container {
    max-width: 100%; /* Set a pixel value instead if no parent container*/
    margin: 0 auto; /* Center the container */
  }

  .video-container video {
    width: 100%; /* Fill the available width */
    height: auto; /* Adjust height automatically */
    
}

main {
    flex-direction: column;
    align-items: center;
    padding: 1em;
}

section {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 1em;
}


h1 {
    font-weight: 900;
    font-size: 36px;
    margin-bottom: 10px;
    text-align: center;  
    letter-spacing: 2px;
  }

h3 {
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
  }


h2 {
  font-weight: bold;
  font-size: 28px;
  margin-bottom: 10px;
  text-align: center;
  font-weight: 700;
}

h4 {
  font-weight: 500;
  font-size: 18px;
  text-align: center;
  font-variant: small-caps;
  text-transform: lowercase;
  line-height: 1.1;
}

h5 {
  font-weight: 500;
  font-size: 21px;
  text-align: center;
  font-variant: small-caps;
  text-transform: lowercase;
  line-height: 1.1;
}

p {
  font-weight: 300;
  font-size: 18px;
  color: #000000;
}

section p {
  /* text-align: justify;
  text-align-last: center; */
  margin-left: 10%;
  margin-right: 10%;
  text-align: center;
}

  /* Slideshow container animation*/
.wrap {
  width: 100%;
  height: 840px;
  position: relative;
}  

.banner {
  width: 100%;
  height: 100%;
  animation: banner 10s infinite linear alternate;
  background-size: cover;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-repeat: no-repeat, repeat;
  background-position: center;
}

@keyframes banner {
  0% {background-image: url(../images/Slide1.png);}
  20% {background-image: url(../images/Slide1.png);}
  25% {background-image: url(../images/Slide2.png);}
  45% {background-image: url(../images/Slide2.png);}
  50% {background-image: url(../images/Slide3.png);}
  70% {background-image: url(../images/Slide3.png);}
  75% {background-image: url(../images/Slide4.png);}
  100% {background-image: url(../images/Slide4.png);}
}

.capa {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.info{
  z-index: 0;
  width: 100%;
  max-width: 550px;
  text-align: center;
}

.info h1{
  color: #f1f1f1;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-shadow: 2px 2px 5px #000000;
}

.info h3 {
  color: #f1f1f1;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px #000000;
}

.info a {
  color: #f1f1f1;
  text-decoration: none;
  background: #387A5B;
  display: inline-block;
}

 /* hero pages*/
 .wrapPages {
  width: 100%;
  height: 540px;
  position: relative;
}   

.bannerPages {
  width: 100%;
  height: 100%;
  background-size: cover;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-repeat: no-repeat, repeat;
  background-position: center;
}

.infoPages {
  z-index: 0;
  width: 100%;
  max-width: 550px;
  text-align: center;
}

.infoPages h5 {
  color: rgb(227, 225, 225);
  line-height: 1.7;
  margin-bottom: -220px;
  display: inline-block;
  text-shadow: 1px 1px 3px #000000;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 0 18px;
}

 /* Clear floats after image containers */
 .row {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  align-items: center;
  }

/* Create four equal columns that sits next to each other */
.column {
  -ms-flex: 16%; /* IE10 */
  flex: 16%;
  max-width: 16%;
  padding: 0 4px;
  position: relative;
}

.column {
  width: 100%;
}

  /* Imagenes servicios */
  .boxesContainer {
    width: 100%;
    height: 360px;
    position: relative;    
    top: 0;
    left: 0;

  }

  .cardBox {
    float: left;
    perspective: 800px;
    transition: all 0.3s ease 0s;
    width: 15.5%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 450px;
    margin-left: 1%;
    margin-top: 1%;
  }
  
  .cardBox:hover .cardHome {
    transform: rotateY( 180deg);
  }
  
  .cardHome {
    cursor: default;
    height: 350px;
    transform-style: preserve-3d;
    transition: transform 0.4s ease 0s;
    width: 100%;
    -webkit-animation: giro 1s 1;
    animation: giro 1s 1;
    text-align: center;
  }
  
  .cardHome .front,
  .cardHome .back {
    backface-visibility: hidden;
    box-sizing: border-box;
    display: block;
    font-size: 1.2em;
    height: 100%;
    position: absolute;
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 100%;
  
  }
  
  .cardHome .back {
    transform: rotateY( 180deg);
    background-color: #B7A66D;
    text-align: center;
    display: flex;
  }

  .cardHome .front {
    background-repeat: no-repeat, repeat;
    background-position: center;
    background-size: cover;
  }
  
  .cardHome .back a {
    color: #000000;
    text-decoration: none;
    border-radius: 1px;
    font-size: 0.9em;
    transition: all 0.2s ease 0s;
    margin-top: 90px;
    position: absolute;
    margin-bottom: 15px;
    border: #000000 solid;
  }

  .cardHome .back p {
    position: absolute;
  }

  .cardHome .back h4 {
    position: absolute;
    margin-bottom: 45px;
  }
  
  .cardHome .back a:hover {
    background: #dacfb1;
    color: #333;
    text-shadow: 0 0 1px #333;
    border: #387A5B solid;
  }
  
  .cardBox:nth-child(1) .cardHome .front {
    background-image: url(../images/slidetraslado.JPG);
  }
  
  .cardBox:nth-child(2) .cardHome .front {
    background-image: url(../images/SLIDEEBANCARIOS.png);
  }
  
  .cardBox:nth-child(3) .cardHome .front {
    background-image: url(../images/slideconteeo.jpg);
  }
  
  .cardBox:nth-child(4) .cardHome .front {
    background-image: url(../images/slideeseervcajas.jpg);
  }

  .cardBox:nth-child(5) .cardHome .front {
    background-image: url(../images/servicios2\ .JPG);
  }

  .cardBox:nth-child(6) .cardHome .front {
    background-image: url(../images/slideeseervepay.jpg);
  }
  
  .cardBox:nth-child(2) .cardHome {
    -webkit-animation: giro 1.5s 1;
    animation: giro 1.5s 1;
  }
  
  .cardBox:nth-child(3) .cardHome {
    -webkit-animation: giro 2s 1;
    animation: giro 2s 1;
  }
  
  .cardBox:nth-child(4) .cardHome {
    -webkit-animation: giro 2.5s 1;
    animation: giro 2.5s 1;
  }
  
  @-webkit-keyframes giro {
    from {
      transform: rotateY( 180deg);
    }
    to {
      transform: rotateY( 0deg);
    }
  }
  
  @keyframes giro {
    from {
      transform: rotateY( 180deg);
    }
    to {
      transform: rotateY( 0deg);
    }
  }

  /* teermina Imagenes servicios */

.col-container {
  width: 100%;
	align-items: center;
  padding: 24px;
}

.col-33left {
	width: 30%;
	float:left;
}

.col-33center {
	width: 40%;
	float:left;
}

.col-33right {
	width: 30%;
	float:right;
}
.col-20 {
	width: 20%;
	float:right;
}

.rowcolleft {
	display: -ms-flexbox; /* IE10 */
 	display: flex;
	align-items: center;
  border-color: #387A5B;
  border: #387A5B;
  border-style: solid;
  border-width: 2px;
  border-radius: 12px;  
  animation: scrolldownleft;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

 @keyframes scrolldownleft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes scrolldownleft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.rowcolleft:nth-child(1) {
  animation-delay: 0s;
   }
  
   .rowcolleft:nth-child(2) {
    animation-delay: 1.5s;
    }
    .rowcolleft:nth-child(3) {
      animation-delay: 3s;
    }
    .rowcolleft:nth-child(4) {
        animation-delay: 4s;
    }
    .rowcolleft:nth-child(5) {
          animation-delay: 5s;
    }
    .rowcolleft:nth-child(6) {
      animation-delay: 6s;
  }


 .rowcolright {
	display: -ms-flexbox; /* IE10 */
 	display: flex;
	align-items: center;
  border-color: #387A5B;
  border: #387A5B;
  border-style: solid;
  border-width: 2px;
  border-radius: 12px;  
  animation: scrolldownright;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

 @keyframes scrolldownright {
  from {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes scrolldownright {
  from {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.rowcolright:nth-child(1) {
  animation-delay: 0s;
   }
  
   .rowcolright:nth-child(2) {
    animation-delay: 1.5s;
    }
    .rowcolright:nth-child(3) {
      animation-delay: 3s;
    }
    .rowcolright:nth-child(4) {
        animation-delay: 4s;
    }
    .rowcolright:nth-child(5) {
          animation-delay: 5s;
    }
    .rowcolright:nth-child(6) {
      animation-delay: 6s;
  }

.colleft {
	width: 25%;
}

.colright {
	width: 75%
}

.col-40 {
  float: left;
  width: 40%;
}

.col-60 {
  float: right;
  width: 60%;
  padding: 12px;
  text-align: center;
}

.col-50 {
  float: left;
  width: 50%;
  padding: 12px;
  text-align: center;
}

.col-40left {
  float: right;
  width: 40%;
}

.col-60right {
  float: left;
  width: 60%;
  padding: 12px;
  text-align: center;
}

.containerForm input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  font-family: "Open Sans", sans-serif;
}

.containerForm label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

.containerForm input[type=submit] {
  background-color: #387A5B;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-variant: small-caps;
  font-size: 18px;
  float: right;
}

.containerForm input[type=submit]:hover {
  background-color: #B7A66D;
  color: #000000;
  font-weight: 700;
  font-variant: small-caps;
  
}

.TextosContacto {
  text-align: left;
  float: left;
}

.TextosContacto p{
  text-align: left;
}

.TextosContacto h4{
  text-align: center;
  font-size: 22px;
}

.containerForm {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  margin-right: 24px;
  margin-bottom: 24px;
  text-align: left;
}


.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}

.col-75 {
  float: right;
  width: 75%;
  margin-top: 6px;
}

.col-25 p{
  text-align: left;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

footer {
    padding: 1em;
    clear: both;
    background-color: #dacfb1;
}

 .rowFooter {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  }

  .separadordorado {
    background-color: #b7a66D;
  } 

  .col-25Form {
    float: left;
    width: 25%;
    padding: 10px;
  }

.rowcol-25::after {
  content: "";
  display: table;
  clear: both;
}

.containerFormFooter {
padding: 20px;
}

.containerFormFooter input[type=text], .containerFormFooter input[type=tel], .containerFormFooter input[type=email] {
  padding: 12px;
  border: 1px solid #ccc;
  width: 100%;
  resize: vertical;
}

.containerFormFooter input[type=submit] {
  background-color: #dacfb1;
  color: #000000;
  border: none;
  cursor: pointer;
  padding: 12px;
  width: 100%;
  text-transform: lowercase;
  font-variant: small-caps;
  font-weight: 900;
  font-size: 18px;
}

.containerFormFooter input[type=submit]:hover {
  opacity: 0.8;
}

.containerFormFooter label {
  margin: 10px 10px 10px 10px;
  display: inline-block;
  color: #f1f1f1;
}

.col-70left {
  float: left;
  width: 80%;
  text-align: left;
  color: #000000;
}

.col-30right {
  float: right;
  width: 20%;
}

.col-70left img, .col-30right img {
  height: 90px;
  padding-left: 20px;
}

.col-70left p, .col-30right p {
text-align: left;
position: relative;
color: #000000;
font-size: 12px;
}

.col-70left .fa, .col-30right .fa  {
  color:#000000;
	  font-size: 18px;
	text-align: left;
}

.col-70left a, .col-30right a {
  color:#000000;
	font-size: 22px;
	text-align: left;
  padding: 5px;
}

.copyright {
  background-color: #387A5B;
  color: #ccc;
  line-height: 36px;
  font-size: 12px;
text-align: center;
margin-top: 200px;
}

/*Carrousel*/
.carousel-wrap {
  margin: auto;
  padding: 0 5%;
  width: 100%;
  position: relative;
}

/* fix blank or flashing items on carousel */
.owl-carousel .item {
  position: relative;
  z-index: 100; 
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden; 
}

/* end fix */
.owl-nav > div {
  margin-top: -26px;
  position: absolute;
  top: 50%;
  color: #cdcbcd;
}

.owl-nav i {
  font-size: 52px;
}

/* css agregado */
/* .pie{
  position: absolute;
  padding-top:35px;
  left: 65px;
 
  }
  .pie p{
    font-size: 18px;
    text-align: justify;
    
  }
  .pie a{
    text-decoration: none;
    color: #000000;
    

  }
  .pie2{
    position: absolute;
    padding-top:35px;
    left:200
   
    }
    .pie2 p{
      font-size: 18px;
      text-align: justify;
      
    }
    .pie2 a{
      text-decoration: none;
      color: #000000;
      
  
    } */
    .container-fluid{
      display: flex; 
      justify-content: space-between; 
      align-items: center; 
      width: 100%; 
      max-width: 1200px; 
      gap: 20px; 
      padding: 0 20px; 
      box-sizing: border-box; 
}
  
    .box {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 390px; 
      height: 150px; 
      color: white;
      font-size: 18px;
      font-weight: bold;
      border-radius: 10px;
  }
  

  .box1 {
      background-color: #ff6b6b;
  }
  
  .box2 {
      background-color: #6bc1ff;
  }
  
  .box3 {
      background-color: #ffd93d;
  }
  
  .box4 {
      background-color: #4caf50;
  } 

  


/* Responsive design */

@media screen and (max-width: 1320px) {
  .boxesContainer {
    height: 600px;
  }

  .cardBox {
    margin-left: 2.8%;
    margin-top: 3%;
    width: 29.5%;
    height: 250px;
  }

  .cardHome {
    height: 250px;
  }
  .wrap {
    width: 100%;
    height: 720px;
    position: relative;
  }  

  .wrapPages {
    height: 360px;
  }
  .col-70left {
    width: 70%;
  }
  
  .col-30right {
    width: 30%;
  }
}


 @media screen and (max-width: 720px) {
  .column {
    -ms-flex: 30%;
    flex: 30%;
    max-width: 30%;
  }
	 
  .text {
    color: #387A5B;
    font-size: 18px;
    padding: 16px 16px;
	  font-weight: 900;
	  font-variant: small-caps;
	  border-style: solid;
    background: rgba(56, 122, 91,);
  }
}

@media screen and (max-width: 720px) {
    .topnav a:not(:first-child) {
        display: none;
    }

    .topnav-right:not(:first-child) {
        display: none;
    }
  }

  @media screen and (max-width: 720px) {
    .topnav .logo {
        max-width: 30%;
        float: none;
      }

      .topnav a {
        float: none;
        display: block;
        line-height: 5px;
      }

      .topnav-right {
        float: none;
      }

      .nav {
        overflow: hidden;
        background-color: #387A5B;
        display: none;
        opacity: 0;
      }

      span {
        display: block;
        opacity: 100%;
        background-color: #387A5B;
        font-size: 24px;
        font-variant: small-caps;
      }

      .overlay a {
        font-size: 18px
    }
      .overlay .closebtn {
      font-size: 40px;
      top: 15px;
      right: 35px;
      }
    

  .overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
  }
  
  .overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
  }
  
  .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 28px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  
  .overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
  }
  
  .overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 48px;
  }
  .overlay social{
    font-family: "SocialShapes";
  }
	  

  .content {
    text-align: center;
    position: absolute;
    top: 10%;
    transform: translate(-50%, 285%);
    color: white;
  }

  .cardBox {
    margin-left: 2.8%;
    margin-top: 3%;
    width: 33%;
  }
  .card {
    height: 250px;
  }

  .cardHome {
    height: 250px;
  }

  .cardBox:last-child {
    margin-bottom: 3%;
  }


h1 {
    font-size: 24px;
}

h2 {
  font-size: 21px;
}

p {
    font-size: 14px;
    margin-left: 7%;
    margin-right: 7%;
}

h3 {
    font-size: 18px;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 16px;
}

section p {
  text-align: justify;
  text-align-last: center;
  margin-left: 7%;
  margin-right: 7%;
}

  .column {
    -ms-flex: 46%;
    flex: 46%;
    max-width: 46%;
  }  
	  

.col-25, .col-75, input[type=submit] {
    width: 100%;
    margin-top: 0;
  }
	  
  .col-70left {
    width: 100%;
  }
  
  .col-30right {
    width: 100%;
  }

  .col-70left img {
    height: 70px;
  }
  .col-30right img {
    height: 70px;
  } 

  .col-33center {
    width: 100%;
  }

  .col-33left {
    width: 100%;
  }
  .col-33right {
    width: 100%;
  }

  .col-25Form {
    float: left;
    width: 50%;
    padding: 5px;
  }
  
	  /* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

.copyright {
  line-height: 1.1;
  height: 40px;
  justify-content: center;
  align-items: center;
  display: flex;
}


}
  @media only screen and (max-width: 480px) {
    .prev, .next,.text {font-size: 11px}
  
.textSlide {
  color: #f2f2f2;
  font-size: 18px;
  padding: 6px 6px;
  position: absolute;
  bottom: 12px;
  width: 100%;
  text-align: center;

  }

  .text {
    color: #387A5B;
	background-color: #B7A66D;  
    font-size: 12px;
    padding: 4px 4px;
	font-weight: 900;
	text-transform: uppercase;
	  
  } 
	    .column {
    -ms-flex: 80%;
    flex: 80%;
    max-width: 80%;
  }

.info h1{
  color: #f1f1f1;
  font-size: 32px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.cardBox {
  width: 45.5%;
  height: 180px;
}

.cardHome {
  height: 180px;
}

.card {
  height: 180px;
}


.topnav img {
  height: 80px;
  margin-left: -30px;
}

.topnav h4 {
  font-size: 16px;
}

.col-25Form {
  float: none;
  width: 100%;
  padding: 5px;
}

}