* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

.cabecera {
	background-color: rgb(255,255,255);
	display: grid;
	grid-template-columns: repeat(autofit, minmax(100px, 1fr));
	grid-template-rows: repeat(autofit, minmax(100px, 1fr));
	grid-template-areas: 
		"head-1 head-2";
}

.head-1 {
	grid-area: head-1;
	height: auto;
}

.head-2 {
	grid-area: head-2;
	height: auto;
    margin: 6px;

	display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/*---- ESTILOS ----*/
.cabecera .head-1 .logo {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	margin-left: 20px;
}

.cabecera .head-1 .logo img {
	width: 300px;
	height: 100%;
	border-radius: 2px;
}

.cabecera .head-2 .emergencias {
	display: flex;
	justify-content: space-between;
}

.cabecera .head-2 .emergencias .fa-headset {
	display: flex;
	justify-content: center;
	align-items: center;

	font-size: 40px;
	margin: 12px 15px 12px 0;
	color: #050829;
	transition: .6s;
}

.cabecera .head-2 .emergencias .asistencias a {
	color: #050829;
	font-size: 14px;
    transition: .8s ease;
    font-family: 'Patrick Hand', cursive;
}

.cabecera .head-2 .emergencias .asistencias  a:hover {
    color: #fb4f14;
    background-color: #fff;
    transition: .8s ease;
    border-radius: 2px;
    text-decoration: underline;
}

.cabecera .head-2 .acceso,
.cabecera .head-2 .bandera,
.cabecera .head-2 .membresia {
	margin-right: 15px;
}

.head-2 .acceso .blog {
    display: flex;
    justify-content: center;
    align-items: center;
}

.head-2 .acceso .blog img {
    width: 20px;
}
.head-2 .acceso .blog a {
    font-family: 'Yanone Kaffeesatz', sans-serif;
    letter-spacing: 1px;
    font-size: 20px;
    padding: 5px;
    color: rgb(5,26,58,.88);
}
.head-2 .acceso .blog a:hover {
    text-decoration: underline;
}
    /*----bandera------*/
.cabecera .head-2 .bandera {
    display: flex;
    justify-content: center;
    align-items: center;
}
.cabecera .head-2 .bandera img {
    width: 30px;
}
.cabecera .head-2 .bandera a {
    font-family: 'Yanone Kaffeesatz', sans-serif;
    letter-spacing: 1px;
    font-size: 20px;
    padding: 5px;
    color: rgb(5,26,58,.88);
}
.cabecera .head-2 .bandera a:hover {
    text-decoration: underline;
}

    /*----MEMBRESIA------*/
.cabecera .head-2 .membresia {
    display: flex;
    justify-content: center;
    align-items: center;
}
.cabecera .head-2 .membresia img {
    width: 25px;
}
.cabecera .head-2 .membresia a {
    font-family: 'Yanone Kaffeesatz', sans-serif;
    letter-spacing: 1px;
    font-size: 20px;
    padding: 5px;
    color: rgb(5,26,58,.88);
}
.cabecera .head-2 .membresia a:hover {
    text-decoration: underline;
}


.cabecera .head-2 .ico {
    padding: 10px;
    color: #050829;
    transition: .8s ease;
    border-radius: 4px;
}
.cabecera .head-2 .ico:hover {
    color: #fb4f14;
    background-color: #fff;
    transition: .8s ease;
    border-radius: 10px;
    cursor: pointer;
}

@media screen and (max-width: 650px){
    .cabecera {
        grid-template-areas: 
        	"head-1 head-1"
        	"head-2 head-2";
    }

    .cabecera .head-1 .logo {
		display: flex;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: center;
		margin-left: 0;
		margin: 0 5px;
	}

	.cabecera .head-1 .logo img {
		width: 100%;
		height: 100%;
		margin: 2px; 	
	}

	.cabecera .head-2 {
		display: flex;
		justify-content: space-around;
		margin: 5px;
		margin-right: 65px;
	}
      
}

@media screen and (max-width: 410px){
	.cabecera .head-2 {
		flex-wrap: nowrap;
	}
    .head-2 .acceso .blog a,
    .cabecera .head-2 .bandera a,
    .cabecera .head-2 .membresia a {
       font-size: 14px; 
    }
      
}
/*------ FIN HEADER ---- ---- ---- ----*/

/*---- ----- --- NAV ---- ---- ---- ---*/
.menu-boton {
	display: none;
}
.sidenav a{
	display: none;
}

.navegador {
	background-color: rgb(5,26,58,.88);

	display: grid;
	grid-template-columns: repeat(autofit, minmax(100px, 1fr));
	grid-template-rows: repeat(autofit, minmax(100px, 1fr));
	grid-template-areas:
		"home navegacion";
}

.navegador .home {
	grid-area: home;
	height: 50px;
}

.navegador .navegacion {
	grid-area: navegacion;
	height: 50px;
}

.navegador .home {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;  
    
    margin-left: 40px;
}
.navegador .home a {
	color: #fff;
	padding: 10px;
	font-size: 16px;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    transition: .6s ease;
}

.navegador .home a:hover {
    color: #051A3A;
    background-color: #fff;
    transition: .5s ease;
    border-radius: 2px;
    text-decoration: underline;
}

.navegador .navegacion {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.navegador .navegacion a {
	color: #fff;
	padding: 12px 10px;
	font-size: 16px;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    transition: .5s ease;
}
.navegador .navegacion a:hover {
	color: #051A3A;
    background-color: #fff;
    transition: .5s ease;
    border-radius: 2px;
    text-decoration: underline;
}

@media screen and (max-width: 650px){
	.navegador {
		display: none;
	}
    .menu-boton {
        display: inline-block;
        position: absolute;
        right: 0;
        padding: 8px;
        margin-right: 2px;
        margin-top: -40px;
        font-size: 20px;
        background-color: rgb(5,26,58,.88);
        color: #fff;
        font-family: 'Yanone Kaffeesatz', sans-serif;
        border-radius: 2px;
    }
.sidenav {
    width: 0;
    position: fixed;
    z-index: 1;  
    top: 100px;
    right: 0;
    padding: 10px 0;
    background-color: #4091ec;
    overflow-x: hidden;
    transition: 0.7s;
    cursor: pointer;
    border-radius: 4px;
    font-family: 'Yanone Kaffeesatz', sans-serif;
	}

.sidenav a {
    padding-left: 20px;
    font-size: 22px;
   	padding: 5px;
    color: #fff;
    display: block;
    transition: 0.3s;
	}

.sidenav a:hover {
    color: rgb(5,26,58);
    transition: .6s;
	}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 36px;
	}
}
/*---- ---- ---- ---- FIN DEL NAV ---- ---- ----*/

/*---- ---- INICIO SLIDE ---- ---- ----*/
.banner {
    display: grid;
    grid-template-columns: auto-fit, minmax(300px, 1fr);
    grid-template-rows: minmax(100px, 1fr);
    z-index: -1;
    width: 100%;
    height: 600px;
    position: absolute;
    top: 0;
    overflow: hidden;
}

slider {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #0e246d;
    overflow: hidden;
    position: absolute;
    box-shadow: 5px 5px 15px rgb(0,0,57);  
}

slide {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    animation: slide 20s infinite;
    overflow: hidden;
}
slide:nth-child(4) {
    left: 0%;
    animation-delay: -4s;
    background-image: url(../img/banner-1.jpg);
    background-size: cover;
    background-position: center;
    
}slide:nth-child(3) {
    animation-delay: 1s;
    background-image: url(../img/banner-2.jpg);
    background-size: cover;
    background-position: center;
}
slide:nth-child(2) {
    animation-delay: 6s;
    background-image: url(../img/banner-3.jpg);
    background-size: cover;
    background-position: center;
}
slide:nth-child(1) {
    left: 0%;
    animation-delay: 11s;
    background-image: url(../img/banner-4.jpg);
    background-size: cover;
    background-position: center;
}

@keyframes slide {
    0% {left: 100%; width: 100%;}
    5% {left: 0%;}
    25% {left: 0%;}
    30% {left: -100%; width: 100%;}
    30.0001% {left: -100%; width: 0%;}
    100% {left: 100%; width: 0%;} 
}

@media screen and (max-width: 650px) {
	slide p {
		font-size: 50px;
		margin-top: 400px;
	}
}
/*--=======================--*/
/*--=======================--*/


/*---- ---- ---- FIN SLIDE ---- ---- ----*/


/*--===============================--*/
/*--===========Presentacion========--*/
.first_container {
    margin-top: 450px;
    width: 100%;
    min-height: 700px;
    padding: 30px 10px;
    
    background-image: url(../img/back_us.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.container_box_presentacion {
    width: 90%;
    margin: 0 auto;
    min-height: 700px;
    background-color: aliceblue;
    border-radius: 12px;
    -webkit-box-shadow: inset 1px 1px 14px 12px rgba(175,223,223,1);
    -moz-box-shadow: inset 1px 1px 14px 12px rgba(175,223,223,1);
    box-shadow: inset 1px 1px 14px 12px rgba(175,223,223,1);
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.box_presentacion_img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: #fff;
    
    background-image: url(../img/presentacion_img.png);
    background-position: center;
    background-size: cover;
    
}
.box_presentacion_txt {
    max-width: 800px;
    min-height: 400px;
    background-color: #fff;
    background-color: aliceblue;
    border-radius: 12px;
    -webkit-box-shadow: inset 1px 1px 14px 12px rgba(175,223,223,1);
    -moz-box-shadow: inset 1px 1px 14px 12px rgba(175,223,223,1);
    box-shadow: inset 1px 1px 14px 12px rgba(175,223,223,1);
}
    /*---======---*/

.txt_box_nosotros {
    font-family: 'Patrick Hand', cursive;
    font-weight: 500;
    font-size: 15px;
    color: #000;
    text-align: left;
    padding: 2px 8px;
}

.txt_box_nosotros span {
    color: #3399ff;
    font-weight: 600;
    letter-spacing: 1px;
}

.txt_box_nosotros strong {
    color: #0e246e;
    font-weight: 600;
    letter-spacing: 1px;
}


.title-box_presentacion {
    width: 100%;
    min-height: 50px;
    background-color: #040a21;
    
}

.title-box_presentacion h1 {
    color: #fff;
    padding: 10px;
    
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 35px;
    text-align: center;
}

.box_presentacion_txt address {
    font-family: 'Patrick Hand', cursive;
    font-size: 15px;
    color: #000;
    padding: 5px 12px;
}

/*--===============================--*/
/*--=======Fin Presentacion========--*/



/*--============================--*/
/*--============Nosotros========--*/

.container_nosotros {
    width: 100%;
    min-height: 500px;
    margin-top: 90px;
    padding: 50px 0 10px 0;
    background-image: url(../img/playita.png);
    background-size: auto;
    background-repeat: no-repeat;
}

.title_nosotros {
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-weight: 600;
    font-size: 50px;
    color: #000;
    text-align: center;
    padding: 18px;
    margin-top: 90px;
    text-decoration: underline;
}
    /*--========--*/

.tab {
    overflow: hidden;
    text-align: center;
}

/* Style the buttons inside the tab */
.tab button {
    background-color: inherit;
    border: none;
    outline: none;
    cursor: pointer;

    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-weight: 200;
    font-size: 30px;
    color: #0e24ed;
    text-align: center;
    padding: 8px 16px;
    transition: .5s;
}

/* Change background color of buttons on hover */
.tab button:hover {
    color: #4091ec;
    transition: .5s;
}

/* Create an active/current tablink class */
.tab button.active {
    text-decoration: underline;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s;
}

.tabcontent h3 {
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #000;
    text-align: left;
    padding: 2px;
}

.tabcontent p {
    font-family: 'Patrick Hand', cursive;
    font-weight: 400;
    font-size: 16px;
    color: #000;
    text-align: left;
    padding: 2px 8px;
}

.tabcontent span {
    color: darkblue;
    font-weight: 600;
}

/* Fade in tabs */
@-webkit-keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}
    /*--===================--*/

.container_img_nosotros {
    width: 100%;
    min-height: 200px;
    margin-top: 90px;
    
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    
    background-image: url(../img/back_us.png);
    background-size: cover;
    background-position: center;
    
    
}

.img_nosotros_box {
    width: 200px;
    height: 200px;
    margin: 2px;
    border-radius: 50%;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(198,200,204,1);
    -moz-box-shadow: 0px 0px 10px 0px rgba(198,200,204,1);
    box-shadow: 0px 0px 10px 0px rgba(198,200,204,1);
}



/*--============================--*/
/*--========Fin Nosotros========--*/


/*--====================--*/
/*--=========US=========--*/

.us_container {
    width: 100%;
    min-height: 600px;
    padding: 40px 20px;
    
    background-image: url(../img/back_us.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.box_us,
.box_us_txt {
    width: 500px;
    min-height: 500px;
    margin: 10px; 15px;
    overflow: hidden;
}

.box_us img {
    width: 100%;
    height: auto;
}
    /*--==--*/

.box_us_txt {
    background-color: rgba(7,18,55,.8)
}

.title_us {
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-weight: 100;
    font-size: 50px;
    color: #fff;
    text-align: center;
    padding: 12px;
    text-decoration: underline;
}

.txt_us {
	font-family: 'Yanone Kaffeesatz', sans-serif;
    font-weight: 100;
    font-size: 20px;
    color: #fff;
    text-align: left;
    padding: 8px ;
    margin: 5px;
}

.txt_us span {
	color: #ffae3b;
}

.txt_us a {
    color: yellow;
    text-decoration: underline;
    letter-spacing: 1px;
    font-size: 24px;
    transition: .5s
}
.txt_us a:hover {
    transition: .5s;
    color: #4091ec;
}
    /*--==--*/

.img_us {
    width: 100%;
    min-height: 200px;
    padding: 10px;
    margin-bottom: 20px;
    
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.box_img_us {
    width: 200px;
    height: 200px;
    overflow: hidden;
    padding-bottom: 8px;
    margin: 10px 5px;
    border-radius: 50%;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(255,255,255,1);
    -moz-box-shadow: 0px 0px 10px 0px rgba(255,255,255,1);
    box-shadow: 0px 0px 10px 0px rgba(255,255,255,1);
}

/*--====================--*/
/*--=========FIN US=====--*/


/*--=================--*/
/*--======FOOTER=====--*/
.final {
    width: 100%;
    min-height: 600px;
    background-color: #343a40; 
    padding-top: 90px;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.final .caja-img-pie,
.final .caja-form-pie {
    width: 400px;
    min-height: 400px;
    margin: 20px;
}

.final .caja-txt-pie {
    max-width: 400px;
    min-height: 400px;
    position: relative;
}

.container-caja-pie-1 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.img-caja-1-a {
    background-image: url(../img/boda1.jpg);
    background-size: cover;
    background-position: center;
    width: 150px;
    height: 150px;
}
.img-caja-1-b {
    background-image: url(../img/boda2.jpg);
    background-size: cover;
    background-position: center;
    width: 150px;
    height: 150px;
}

.img-caja-2-a {
    background-image: url(../img/mice1.jpg);
    background-size: cover;
    background-position: center;
    width: 150px;
    height: 150px;
}
.img-caja-2-b {
    background-image: url(../img/mice2.jpg);
    background-size: cover;
    background-position: center;
    width: 150px;
    height: 150px;
}

.title-caja-1-img {
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 28px;
    font-weight: 300;
    text-align: center;
    margin: 15px 5px;
    padding: 8px;
    color: #fff;
}

.txt-caja-1-img {
    font-family: 'Patrick Hand', cursive;
    font-size: 16px;
    font-weight: 100;
    text-align: center;
    margin: 0;
    padding: 0;
    color: #fff;
}

.caja-link-pie {
    display: flex;
    justify-content: center;
    align-items: center;
}
.link-caja-pie-1 {
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 22px;
    font-weight: 300;
    text-align: center;
    margin: 5px;
    padding: 10px;
    color: #3399ff;
    transition: .6s;
    cursor: pointer;
}
.link-caja-pie-1:hover {
    transition: .6s;
    color: #ccc;
    text-decoration: underline;
}
/*---========---*/

.txt-caja-2-img {
    font-family: 'Patrick Hand', cursive;
    font-size: 16px;
    font-weight: 100;
    text-align: center;
    margin: 10px;
    padding: 14px;
    color: #fff;
}

.caja-imagenes-caja-2 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

    padding-top: 50px;
}

.para-img1-caja2 {
    width: 100px;
    height: 100px;
    margin: 10px;
    border-radius: 2px;
    background-image: url(../img/logo-qr.jpg);
    background-size: cover;
    background-position: center;
}
.para-img2-caja2 {
    width: 100px;
    height: 100px;
    margin: 10px;
    border-radius: 2px;
    background-image: url(../img/logo-mitur.jpg);
    background-size: cover;
    background-position: center;
}
.para-img3-caja2 {
    width: 100px;
    height: 100px;
    margin: 10px;
    border-radius: 2px;
    background-image: url(../img/qr-bre.png);
    background-size: cover;
    background-position: center;
}
/*--====--*/

.caja-form-pie {
    max-width: 400px;
    background-color: transparent;
    margin: 0 auto;
    padding: 10px;
    /*box-shadow: 0px 1px 2px rgba(0, 0, 0, .5);*/
}


.formulario input[type='text'],
.formulario textarea{
    width: 100%;
    margin-bottom: 15px;
    padding: 8px 20px;
    border: 1px solid #999;
    color: #999;
    font-family: 'Open Sans',sans-serif;
    font-weight: 400;
    outline: 0;
}

.formulario textarea {
    max-width: 100%;
    min-width: 100%;
    min-height: 100px;
    max-height: 150px;
}

.formulario input[type='text']:focus,
.formulario textarea:focus {
    border: 1px solid #15CF8A;
}

.formulario button {
    padding: 12px 30px;
    border: transparent;
    background: #e11030;
    color: #fff;
    cursor: pointer;
    float: right;
    transition: .6s;
}
.formulario button:hover {
    transition: .6s;
    background-color: #4091ec;
    text-decoration: underline;
}
/*--===--*/

.info {
    padding-top: 20px;
    margin-top: 20px;
}

.info .col {
    width: 100%;
    display: flex;
    margin-bottom: 15px;
    margin-top: 15px;
    font-size: 16px;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.info .col .icono {
    color: #fff;
    margin-right: 10px;
}

.info .col p,
.info .col a {
    color: #a3caf5;
    font-family: 'Patrick Hand', cursive;
    transition: .6s;
}
.info .col p:hover,
.info .col a:hover {
    transition: .6s;
    color: #4091ec;
}

.info .redes-s {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.info .redes-s a {
    display: flex;
    width: 40px;
    height: 40px;
    background: #3399ff;
    color: #fff;
    margin: 5px;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    border-radius: 50%;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, .4);
    transition: .6s;
}
.info .redes-s a:hover {
    box-shadow: 0px 3px 8px #a3caf5;
    transition: .6s;
}
/*--==================--*/
/*--===FIN FOOTER=====--*/

































