*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

body{
    font-family: 'Arial', sans-serif;
    background: #dfdddd;
}
/*-menu*/
header{
    width: 100%;
    height: 80px;
    background: #ffffff;
    border-bottom: 4px solid #4a7cbc;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
}

.container-header{
    width: 100%;
    max-width: 1220px;
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: auto;
}

.container-logo img {
    width: 60px;
    margin: 10px 200px;
}

.menu{
    position: absolute;
    right: 10px;
    margin-top: 20px;
}

.menu ul{
    display: flex;
}

.menu ul li a {
    color: #5e5d5e;
}

.menu > ul li{
    list-style: none;
    font-size: 15px;
    font-weight: bold;
    color: #868686;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-top: 4px solid transparent;
    cursor: pointer;
    transition: border 300ms;
    position: relative;
}

.menu > ul > li:hover{
    border: 1px solid transparent;
    border-top: 4px solid #4a7cbc;
}

.menu ul li label,
.menu ul li span{
    color: #868686;
}

.menu ul li span{
    font-size: 14px;
    position: relative;
}

.menu ul li label{
    font-size: 22px;
    position: relative;
    top: -6px;
}

.menu ul li ul{
    width: 220px;
    position: absolute;
    top: 50px;
    left: 0;
    flex-direction: column;
    border: 1px solid #b9b9b9;
    background: white;
    border-bottom: 3px solid #4a7cbc;;
    padding: 10px;
}

.menu ul li ul li{
    padding: 12px 20px;
    border-bottom: 1px solid #b9b9b9;
    font-weight: 100;
    font-size: 14px;
    position: relative;
}

.menu ul li ul li:hover{
    background: #FAFAFA;
}

.menu ul li ul li ul{
    position: absolute;
    left: 207px;
    top: 0;
}

.icon-menu{
    display: none;
}

main{
    width: 100%;
    max-width: 1220px;
    margin: auto;
    position: relative;
    top: 100px;
}

/*slider*/
ul, ol{
    list-style: none;
}

.slideshow{
    width: 100%;
    position: relative;
}

.slider li, ul{
    width: 100%;
}

.slider li img{
    width: 100%;
    margin-top: 80px;
}

.pagination{
    position: absolute;
    top: 90%;
    width: 100%;
    display: flex;
    justify-content: center;
}

.pagination li{
    font-size: 20px;
    margin: 2px 5px;
    color: #9b9a9b;
    cursor: pointer;
}

.left, .right{
    position: absolute;
    top: 0;
    height: 115%;
    display: flex;
    align-items: center;
    color: #474747;
    font-size: 40px;
    cursor: pointer;
    z-index: 1;
}

.left{
    left: 10px;
}

.right{
    right: 10px;
}

.button_pro{
    margin-top: 50px;
}

/*** ESTILOS BOTÓN GROW SPIN ***/
.ov-btn-grow-spin {
    background: #fff; /* color de fondo */
    color: #4a7cbc; /* color de fuente */
    border: 2px solid #4a7cbc; /* tamaño y color de borde */
    padding: 16px 20px;
    border-radius: 3px; /* redondear bordes */
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: inline-block;
    }
    .ov-btn-grow-spin:hover {
    color: #fff;/* color de fuente hover */
    }
    .ov-btn-grow-spin::after {
    content: "";
    background: #4a7cbc; /* color de fondo hover */
    position: absolute;
    z-index: -1;
    padding: 16px 20px;
    display: block;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    transform: scale(0, 0) rotate(-180deg);
    transition: all 0.3s ease;
    }
    .ov-btn-grow-spin:hover::after {
    transition: all 0.3s ease-out;
    transform: scale(1, 1) rotate(0deg);
    }


/*gallery*/
.contenedor {
    margin: auto;
    width: 90%;
    text-align: center;
    overflow: visible;
    color: black;
    
}

.contenedor h2 {
    font-size: 30px;
    margin-bottom: 10px;
    text-align: center;
    color: #000000;
    position: relative;
    display: inline-block;
}

.contenedor h2::after, .contenedor h2::before{
    content: '';
    position: absolute;
    width: 300px;
    height: 3px;
    background-color: #398dc5;
    top: 0.6em;
}

.contenedor h2::before{
    left: -80px;
    top: -10px
}

.contenedor h2::after{
    left: -80px;
    top: 40px;
}

.contenedor h3 {
    font-size: 20px;
    margin-bottom: -10px;
    text-align: center;
    color: #4a7cbc;
}

.container{
    margin-left: 70px;
}

.contenedor-pro{
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3em;
    margin-bottom: 3em;
    grid-gap: 20px;
    text-align: center;
}

.col-lg-3{
    background-color: rgb(255, 255, 255);
    cursor: pointer;
    box-shadow: 5px 0 5px 0 rgba(0,0,0,.095);
    transition: all 300ms;
    position: relative;
    
}

.col-lg-3:hover {
    transform: scale(1.05);
}

.item-text{
    padding: 2em;
}

.item-text p{
    font-size: 15px;
    margin-bottom: 10px;
    text-align: center;
    color: #000000;
    position: relative;
    display: inline-block;
    
}

.img-responsive{
    margin-top: 25px;
    max-width: 100%;
    display: block;
}

/*** ESTILOS BOTÓN SLIDE LEFT ***/
.ov-btn-slide-left {
    background: #fff; /* color de fondo */
    color: #4a7cbc; /* color de fuente */
    border: 2px solid #4a7cbc; /* tamaño y color de borde */
    padding: 5px 20px;
    border-radius: 3px; /* redondear bordes */
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: inline-block;
  }
  .ov-btn-slide-left:hover {
    color: #fff; /* color de fuente hover */
  }
  .ov-btn-slide-left::after {
    content: "";
    background: #4a7cbc; /* color de fondo hover */
    position: absolute;
    z-index: -1;
    padding: 5px 20px;
    display: block;
    top: 0;
    bottom: 0;
    left: -100%;
    right: 100%;
    -webkit-transition: all 0.35s;
    transition: all 0.35s;
  }
  .ov-btn-slide-left:hover::after {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    -webkit-transition: all 0.35s;
    transition: all 0.35s;
  }
  
/**************/
.container-det{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    /*visibility: hidden;*/
    opacity: 1;/*cambio 0*/
    transition: all 600ms;
    z-index: 3;
}

.container-det:target{
    background: rgba(0,0,0,0.8);
    visibility: visible;
    opacity: 1;
}

.popup{
    width: 100%;
    max-width: 800px;
    height: 500px;
    position: relative;
    display: flex;
    background: white;
    /*visibility: hidden;
    top: -80%;
    left: -80%;
    transform: rotate(90deg) translate(-150% , 230%);
    transition: all 600ms;*/
}

.img{
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    
}

.context{
    width: 60%;
    padding: 50px;
    overflow-y: auto;
}

.context h1{
    font-size: 30px;
}

.context h5{
    font-size: 10px;
}

.e {
    margin-top: 20px;
    font-size: 16px;
    line-height: 150%;
}

.btn-close-popup{
    width: 50px;
    height: 50px;
    position: absolute;
    right: -20px;
    top: -20px;
    padding: 20px;
    background: #4a7cbc;
    color: white;
    border-radius: 50%;
    line-height: 10px;
}

.botom{
    margin-top: 50px;
    text-align: center;
}

/*** ESTILOS BOTÓN SLIDE CLOSE ***/
.ov-btn-slide-close {
    background: #fff; 
    color: #4a7cbc; 
    border: 2px solid #4a7cbc; 
    padding: 5px 50px;
    border-radius: 3px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: inline-block;
  }
  .ov-btn-slide-close:before, .ov-btn-slide-close:after {
    content: "";
    z-index: -1;
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    left: -50%;
    background-color:#4a7cbc; 
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  .ov-btn-slide-close:after {
    left: 100%;
  }
  .ov-btn-slide-close:hover {
    color: #fff; /* color de fuente hover */
  }
  .ov-btn-slide-close:hover:before {
    left: 0;
  }
  .ov-btn-slide-close:hover:after {
    left: 50%;
  }

  .ov-btn-slide-top {
    margin-top: 10px;
    background: #4a7cbc; 
    color: white; 
    border: 2px solid #4a7cbc; 
    padding: 5px 20px;
    border-radius: 4px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: inline-block;
}
.ov-btn-slide-top:hover {
    color: #4a7cbc;
}

.ov-btn-slide-top::after {
    content: "";
    background: white;
    position: absolute;
    z-index: -1;
    padding: 5px 20px;
    display: block;
    left: 0;
    right: 0;
    top: -100%;
    bottom: 100%;
    -webkit-transition: all 0.35s;
    transition: all 0.35s;
}

.ov-btn-slide-top:hover::after {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    -webkit-transition: all 0.35s;
    transition: all 0.35s;
}

.ov-btn-grow-skew {
    background: #fff; 
    color: #4a7cbc; 
    border: 2px solid #4a7cbc; 
    padding: 16px 20px;
    border-radius: 4px; 
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: inline-block;
}

.ov-btn-grow-skew:hover {
    color: #fff;
}

.ov-btn-grow-skew::after {
    content: "";
    background: #4a7cbc;
    position: absolute;
    z-index: -1;
    padding: 16px 20px;
    display: block;
    left: -20%;
    right: -20%;
    top: 0;
    bottom: 0;
    transform: skewX(-45deg) scale(0, 1);
    transition: all 0.3s ease;
}

.ov-btn-grow-skew:hover::after {
    transition: all 0.3s ease-out;
    transform: skewX(-45deg) scale(1, 1);
}

/*---------------------------------------footer-----------------------------------------*/


footer{
    width: 100%;
    padding: 50px 0px;
    background-image: url(../img/background-footer.svg);
    background-size: cover;
}

.container__footer{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    margin-top: 100px;
}

.box__footer{
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.box__footer .logo img{
    width: 300px;
    height: auto;
}

.box__copyright .mediospago img{
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.box__copyright .mediospago .mediospago2{
    width: 120px;
    height: 60px;
    object-fit: cover;
}

.box__footer .terms{
    max-width: 350px;
    margin-top: 20px;
    font-weight: 500;
    color: #9b9a9b;
    font-size: 18px;
}

.box__footer h2{
    margin-bottom: 10px;
    color: #4a7cbc;
    font-weight: 700;
}

.box__footer h3{
    size: 10px;
    margin-bottom: 10px;
    color: #616161;
    font-weight: 700;
}

.box__footer p{
    margin-bottom: 10px;
    color: #9b9a9b;
    font-weight: 700;
}

.box__copyright h2{
    margin-bottom: 5px;
    color: #4a7cbc;
    font-weight: 700;
}

.box__footer a{
    margin-top: 10px;
    color: #9b9a9b;
    font-weight: 600;
}

.box__footer a:hover{
    opacity: 0.8;
}

.box__footer a .fab{
    font-size: 20px;
}

.box__copyright{
    max-width: 1200px;
    margin: auto;
    text-align: center;
    padding: 0px 40px;
}

.box__copyright p{
    margin-top: 20px;
    color: #9b9a9b;
}

.box__copyright hr{
    border: none;
    height: 1px;
    background-color: #9b9a9b;
}
.slider li img{
    width: 100%;
    margin-top: 60px;
}
/*angie*/
@media all and (max-width: 900px){
    header{
        height: 60px;
    }
    
    .container-logo img {
        width: 45px;
        margin: 5px 20px;
    }
    
    .icon-menu{
        display: block;
        position: absolute;
        right: 20px;
        top: 10px;
        font-size: 30px;
    }
    
    body{
        transition: all 300ms;
    }
    
    .body2{
        transform: translateX(-300px);
    }

    .menu{
        width: 300px;
        height: 100vh;
        position: fixed;
        top: 0px;
        right: -300px;
        background: #4a7cbc;
        margin-top: 0px;
        overflow-y: scroll;
    }

    .menu ul li a {
        color: #ffffff;
    }
    
    .menu ul li span {
        color: #ffffff;
    }

    .menu ul {
        flex-direction: column;
    }
    
    .menu ul li{
        padding: 10px 20px;
    }
    
    .menu ul li ul{
        top: 0;
        border-bottom: 1px solid transparent;
        background: #2D2F30;
    }
    
    .menu ul li:hover{
        border: 1px solid transparent;
        border-top: 4px solid transparent;
    }
    
    .menu ul li ul{
        width: 100%;
        position: relative;
        border: none;
        padding: 2px; 
    }
    
    .menu ul li ul li{
        border-bottom: 1px solid #414141;
    }
    
    .menu ul li ul li:hover{
        background: #363636; 
    }
    
    .menu ul li ul li ul{
        width: 100%;
        position: relative;
        left: 0px;
        top: 6px;
    }
}
@media all and (max-width: 780px){
    
    header{
        height: 60px;
    }
    
    .container-logo img {
        width: 45px;
        margin: 5px 20px;
    }
    
    .icon-menu{
        display: block;
        position: absolute;
        right: 20px;
        top: 10px;
        font-size: 30px;
    }
    
    body{
        transition: all 300ms;
    }
    
    .body2{
        transform: translateX(-300px);
    }

    .menu{
        width: 300px;
        height: 100vh;
        position: fixed;
        top: 0px;
        right: -300px;
        background: #4a7cbc;
        margin-top: 0px;
        overflow-y: scroll;
    }

    .menu ul li a {
        color: #ffffff;
    }
    
    .menu ul li span {
        color: #ffffff;
    }

    .menu ul {
        flex-direction: column;
    }
    
    .menu ul li{
        padding: 10px 20px;
    }
    
    .menu ul li ul{
        top: 0;
        border-bottom: 1px solid transparent;
        background: #2D2F30;
    }
    
    .menu ul li:hover{
        border: 1px solid transparent;
        border-top: 4px solid transparent;
    }
    
    .menu ul li ul{
        width: 100%;
        position: relative;
        border: none;
        padding: 2px; 
    }
    
    .menu ul li ul li{
        border-bottom: 1px solid #414141;
    }
    
    .menu ul li ul li:hover{
        background: #363636; 
    }
    
    .menu ul li ul li ul{
        width: 100%;
        position: relative;
        left: 0px;
        top: 6px;
    }

    /*slider*/
    .left, .right{
        font-size: 40px;
    }*
    
    .slider li img{
        width: 100%;
        margin-top: 60px;
    }

/*gallery*/
.contenedor {
    width: 100%;;
    
}

.container{
    margin-left: 0px;
}

/**************/
.container-det{
    width: 100%;
    margin-left: -80px;
}

/*---contactos----*/
.results {
    width: 109.2%;
}


.numbers .number h4 {
    text-align: center;
    font-size: 40px;
}

}

@media all and (max-width: 490px){
    header{
        width: 100%;
    }
    
        /*slider*/
        .left, .right{
            font-size: 30px;
        }
    
        .slider li img{
            width: 120%;
            margin-top: 60px;
        }
    /*gallery*/
    .contenedor {
        width: 40%;;
        
    }
    
    .container{
        margin-left: 0px;
    }
    
    .right{
        right: -80px;
    }
    
    
    /*gallery*/
    .contenedor {
        width: 100%;
        text-align: center;
        
    }
    
    .contenedor h3 {
        text-align: center;
        
    }
    
    .item-text p{
        font-size: 10px;
        
    }
    
    .ov-btn-slide-left {
        border: 2px solid #4a7cbc; /* tamaño y color de borde */
        margin-left: -20px;
        padding: 5px 5px;
      }
    
      .contenedor h2::after, .contenedor h2::before{
        background-color: transparent;
    }
    
    /************/
    .container-det{
        width: 90%;
        margin-left: 20px;
    }
    
    .img{
        width: 40%;
        
    }
    
    .ov-btn-slide-close {
        padding: 10px 20px;
      }
    
    /*--------------------------------------------------- Contactanos-----------------------------------------------*/
    .results{
        width: 135%;
    }
    .numbers .number {
        background: transparent;
    }
    
    .numbers .number h4 {
        font-size: 25px;
    }
    
    
    .results-text {
        margin-top: 70px;
        width: 37%;
    }
    
    .results-text h4 {
        color: #fff;
        font-size: 15px;
    }

    .contenedor-video video{
        margin-right: -3%;
        text-align: center;
    }

    .comentarios{
        width: 120%;
    }

    footer{
        width: 120%;
    }

}

@media screen and (max-width: 380px){
    
body{
    margin-right: -200px;
}
    /*slider*/
    .left, .right{
        font-size: 20px;
    }

/*gallery*/
.contenedor {
    width: 100%;;
    
}

.container{
    margin-left: 0px;
}



/*gallery*/
.contenedor {
    width: 100%;
    text-align: center;
}

.contenedor h3 {
    text-align: center;
}

.item-text p{
    font-size: 10px;
    
}

.ov-btn-slide-left {
    border: 2px solid #4a7cbc; /* tamaño y color de borde */
    margin-left: -20px;
    padding: 5px 5px;
  }

  .contenedor h2::after, .contenedor h2::before{
    background-color: transparent;
}

/************/
.container-det{
    width: 90%;
    margin-left: 20px;
}

.img{
    width: 40%;
    
}

.ov-btn-slide-close {
    padding: 10px 20px;
  }

/*--------------------------------------------------- Contactanos-----------------------------------------------*/




.numbers .number {
    background: transparent;
}

.numbers .number h4 {
    font-size: 10px;
}


.results-text {
    margin-top: 70px;
    width: 37%;
}

.results-text h4 {
    color: #fff;
    font-size: 15px;
}
}