@font-face {
  font-family: BebasNeue-Regular;
  src:url(fonts/BebasNeue-Regular.ttf);
}
@font-face {
  font-family: Swiss721CondensedBT;
  src:url(fonts/Swiss721CondensedBT.ttf);
}
/*----------------Base-----------------*/
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    }
body{
    font-family: 'Swiss721CondensedBT';
    }
img{
    display: block;
    width: 100%;
    max-width: 100%;
    }
h2{
    letter-spacing: 0.03em;
    font-family: 'BebasNeue-Regular';
    color:#4cafe1;
    font-size: 28px;
    }
h3{
    letter-spacing: 0.03em;
    font-family: 'BebasNeue-Regular';
    color:#fff;
    font-size: 28px;
    font-weight: 200;
    }
p{
    font-size: 22px;
}
/*----------------Header-----------------*/
.header{
    width: 100%;
    background-image: url(../images/fondo-logo.png);
    background-repeat: no-repeat;
    background-size:100%;    
    }
.logo{
    width: 50%;
    margin: auto;
    padding-bottom: 10px;
    }
.barra-menu{
    background-color: #ece7e7;
    padding: 15px;
    margin-top: -2px;
    }
.barra-menu p{
    font-weight: bold;
    }
/*-------------Estilos del Menu--------------*/
.menu_bar {
    display:block;
    width:100%;
    position: relative;
    background:#4cafe1;
    height: 40px;
    margin-top: 1px;
    }
.menu_bar .bt-menu {
    display: block;
    padding: 8px 15px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    }
.menu_bar span {
    float: right;
    font-size: 23px;
    }
nav {
    width: 100%;
    background-color: #ece7e7;
    position: absolute;
    right:100%;
    margin: 0;
    transition: right .4s linear; 
    z-index: 2000;
    }
nav ul {
    margin: 0;
    padding: 10px;
    font-family: 'BebasNeue-Regular';
    }
nav ul li {
    display: block;
    border-bottom:1px solid rgba(255,255,255,.5);
    padding: 8px 0;
    }
nav ul li:hover {
    background-color:#4cafe1;
    }
nav ul li a {
    color:#000;
    font-size: 18px;
    text-decoration: none;
    letter-spacing: 0.03em;
    }
nav ul li span[class*="icon-"]{
    padding: 5px;
    color:#085d88;
}
.mostrar{
    right:0;
    }
/*-------------Slider--------------*/
/*estilos de la sección del Slider*/
#jssor_1{
    position:relative;
    margin: 0 auto;
    width:720px;
    height:280px;
    overflow:hidden;
    visibility:hidden;
  }
.jssorl-009-spin{
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    text-align:center;
    background-color:rgba(0,0,0,0.7);
}
/*-----------Sección Medio-------------------*/
.medio{
    padding: 10px;
    display: block;
    text-align: center;
}
.medio .item{
    padding: 5px;
    text-align: justify;
}
.itemfuera{
    margin: 0 10px;
}
.itemfuera p{
    font-size: 22px;
}
.medio img{
    display: block;
    width: 100%;
    margin: auto;
    margin-top: 1px;
    border-radius: 10px;
}
.medio p{
    margin-top: 10px; 
    border-bottom: 2px solid #cac4c4;
    padding-bottom: 10px;
}
.barra-texto{
    padding: 15px;
    text-align: center;
    }
.slider {
        width: 100%;
        margin: 15px auto;
        padding: 10px;
    }

    .slick-slide {
      margin: 0px;
    }

    .slick-slide img {
      width: 95%;
      margin: 5px auto;
      border-radius: 10px;
    }
    .slick-slide {
      transition: all ease-in-out .3s;
      opacity: .2;
    }
    
    .slick-active {
      opacity: .5;
    }

    .slick-current {
      opacity: 1;
    }
/*-------------footer------------------*/
footer{
    background-color: #4cafe1;
    padding: 1px;
    text-align: center;
}
footer .info{
    margin: 15px 0;
    border-bottom: 1px solid #fff;
}
footer span[class*="icon-"]{
    color: #fff;
    font-size: 24px;
    margin: 5px;
}
footer p{
    color: #fff;
}
footer .redes{
    margin: 10px; 0;
}
footer .redes a{
    text-decoration: none;
}
.copy{
    font-size: 11px;
    color:#fff;
    background-color: #4cafe1;
    text-align: center;
    padding-bottom: 10px
    }
#gracias {
    text-align: center;
    color: #fff;
    font-size: 25px;
    background: rgba(0,0,0,0.5);
    margin: 50px auto;
    border-radius: 5px;
    padding: 20px;
}
/*----------Form----------------*/
#gris {
    width: 100%;
    padding: 10px;
    text-align: center;
    color: #fff;
    font-size: 23px;
    background: rgba(0,0,0,.6);
    margin: 20px auto;
    border-radius: 7px;
    height: max-content;
}
form {
    padding: 0 20px;
    box-sizing: border-box;
    border-radius: 7px;
}

input, textarea {
    width: 100%;
    margin-bottom: 20px;
    padding: 7px;
    box-sizing: border-box;
    font-size: 17px;
    border-radius: 8px;
}

textarea {
    min-height: 100px;
    max-height: 200px;
}

#boton{
    display: block;
    background: #4cafe1 ;
    color: #fff;
    font-weight: bold;
    padding: 15px;
    width: 200px;
}

#boton:hover {
    cursor: pointer;
}
/*--------------MEDIA QUERY----*/
@media(min-width:640px) {
    h2{
        font-size: 24px;
    }
    p{
        font-size: 17px;
    }
    .medio img{
        width: 100%;
    }  
    footer{
        display: flex
    }
    footer p{
        font-size: 12px
    }
    footer .info{
        width: 33.3%;
        margin-top: 0;
        border-bottom: 0;
        border-right: 1px solid #fff;
        padding: 10px;
    }
    footer .info:nth-child(3){
        border-right:0;
    }
}
@media(min-width:800px) {
    .medio{
        display: flex;
    }
    .medio img{
        width: 100%;
        margin: auto;
    }
     h2{
        font-size: 25px;
    }
    p{
        font-size: 15px;
    }
    .medio p{
        border-bottom: 0px;
    }
    .medio .item{
        padding: 10px
    }
    .medio .variables{
        width: 50%;
    }
    footer p{
        font-size: 14px;
    }
    section-flex{
      display: flex;
      background: #fff;
    }
    #gris {
        width: 50%;
        margin: 20px 10px;
      }
}
@media(min-width:1024px) {
    .contenedor{
        width: 1024px;
        margin: auto;
    }
    .flex2{
        margin-top: 2px;
        display: flex;
        background-image: url(../images/fondo-logo.png);
        background-repeat: no-repeat;
        background-size:100%;          
    }
    .header{
        width: 50%;
        background-image: none;
    }
    .logo{
    width: 100%;
    margin: auto;
    padding-bottom: 10px;
    }
    .menu_bar{
        display: none;
    }
    nav{
        position: relative;
        right: 0; 
        background-color: transparent;
        margin: auto;
    }
    nav ul{
         display: flex;
    }
    nav ul li {
    display: flex;
    margin: 10px;
    height: 65px;
    width: 150px;
    background-color: transparent;
    border:none;
    background-image: url(../images/fondoli.png);
    background-size: 150px 65px;
    background-repeat: no-repeat;
    justify-content: center;
    align-items: center;
    }
    
    nav ul li:hover {
    background-color: transparent;
    background-image: url(../images/fondolihover.png);
        background-size: 150px 65px;
        background-repeat: no-repeat;
    }
    nav ul li span[class*="icon-"]{
    color:#fff;
    }
    nav ul li a{
        color: #fff;
        font-size: 22px;
    }
    h2{
        font-size: 24px;
    }
    p{
        font-size: 16px;
    }
    .medio .item:nth-child(5){
        border-right: 0;
    }
    footer p{
        font-size: 17px;
    }
}
























