*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

.contenedor{
    background-color:#ccc;
}

body{
    background-color:#e9e9e9;
}


/* Encabezado */

header{
    background-color:#2c3e50;
    width: 100%;
    padding: 20px;

    /* Flex */
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo a img{
    width: 150px;
    transition: 0.2s;
}

.logo a img:hover{
    width: 160px;
}


/* Nav y Main */

.cuerpo{
    display: flex;
    flex-flow: row wrap;
}


/* Menu Lateral */

.contenedor__nav{
    background-color:#3A9DCD;

    /* flex */
    width: 20%;
}

.contenedor__nav nav{
    display: flex;
    flex-flow:column wrap;
}

.actual{
    background-color: #0a6fa2;
}

.actual:hover{
    color: #ffffff;
}

.contenedor__nav nav div{
    padding: 30px 10px;
    text-align: center;
}

.contenedor__nav nav a{
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    transition-duration: 0.4s;
}

.contenedor__nav nav div a{
    padding: 20px;
    width: 20px;
}

.contenedor__nav nav a:hover{
    background-color: #ffffff;
}

.contenedor__nav nav a:hover{
    color: #3A9DCD;
}

/* Contenido */

.main{
    background-color:#fff;
    width: 80%;
    padding: 36px;
}

.main h1{
    color: #3A9DCD;
    font-size: 55px;
    border-bottom: 3px solid #0a6fa2;
    padding-bottom: 10px;
    text-align:center;
}

.main p,h2{
    padding-bottom: 20px;
}

.parrafos{
    margin-top: 60px;
}


/* Pie de Página */

footer{
    background-color:#2c3e50;
    align-items: center;
    padding: 0px 40px;

    /* flex */
    display: flex;
    justify-content: space-between;
    align-content: center;
    flex-direction: column;
}

.Cap1{
    display: flex;
    justify-content: space-between; /* en el Jquery cambiarlo a center */
    align-items: center;
    width: 100%;
    padding-top: 15px;
    flex-wrap: wrap;
}

.Cap2{
    width: 100%;
    text-align: center;
    padding: 20px;
}

.links{
    padding-bottom: 20px;
}

.links nav{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.links nav a{
    color: #ffffff;
    text-decoration: none;
    padding: 10px;
    background-color: #3A9DCD;
}

.redes {
    display: flex;
    justify-content: center;
    padding: 10px;
}

.redes div a img:hover{
    transform: scale(1.2, 1.2)
}

.redes div a img{
    width: 68px;
    padding-left: 20px;
    transition:0.5s;
}

.credito h3{
    color: #ffffff;
    font-size: 20px;
}



/* Carrousel */

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
  }
  
  /* Hide the images by default */
  .mySlides {
    display: none;
  }
  
  /* Next & previous buttons */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
  }
  
  /* Caption text */
  .text {
    color: #000000;
    font-size: 25px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.6);
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* The dots/bullets/indicators */
  .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  .active, .dot:hover {
    background-color: #717171;
  }
  
  /* Fading animation */
  .fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1s;
    animation-name: fade;
    animation-duration: 1s;
  }
  
  @-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }
  
  @keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }



  /* Formulario */

  form{
	width:100%;
	padding:16px;
    margin: 15px;
	border-radius:10px;
	margin:auto;
	background-color:#69c8f7;
}

form label{
	width:100px;
	font-weight:bold;
	display:inline-block;
}

form input[type="text"],
form input[type="email"]{
	width:50%;
	padding:3px 10px;
	border:1px solid #FFFFFF;
	border-radius:3px;
	background-color:#FFFFFF;
	margin:8px 0;
	display:inline-block;
    outline:none;
    font-size: 17px;
}

form input[type="submit"]{
	width:100%;
	padding:8px 16px;
	margin-top:32px;
	border:1px solid #000;
	border-radius:5px;
	display:block;
	color:#fff;
	background-color:#236FA2;
} 

form input[type="submit"]:hover{
	cursor:pointer;
}

textarea{
	width:100%;
	height:100px;
	border:1px solid #FFFFFF;
	border-radius:3px;
	background-color:#FFFFFF;			
	margin:8px 0;
	/*resize: vertical | horizontal | none | both*/
	resize:none;
	display:block;
    outline: none;
    font-size: 17px;
}


/* Servicios */

.main__cont{
    padding: 80px 0;
}

.btn-info{
    display: flex;
    justify-content: center;
}



/* Media Query */

@media only screen and (max-width: 1125px) {
    .cuerpo{
        flex-flow: column wrap;
    }

    .contenedor__nav{
        width: 100%;
    }
    
    .contenedor__nav nav{
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .main{
        width: 100%;
    }

    .contenedor__nav nav div{
        width: 222px;
    }
}

@media only screen and (max-width: 673px) {
    .Cap1{
        justify-content: center;
    }    
}


