/*****************************************************************************

NOMBRE DEL PROYECTO
Proyecto desarrollado por Y3K Web
http://www.y3kwebsolutions.com/

******************************************************************************

ÍNDICE

1. Webfonts
2. Clear fix
3. Reset personalizado
4. Ventana modal
5. Aspecto general
6. Animaciones

*****************************************************************************/





/**************************************
***************************************
1. Webfonts
***************************************
**************************************/





/**************************************
***************************************
2. Clear fix
***************************************
**************************************/
/**
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}





/**************************************
***************************************
3. Reset personalizado
***************************************
**************************************/

body {
	font-size: 1em;
	line-height: 100%;
	text-align: left;
	overflow-x: hidden;
  padding-bottom: 30px;
}

@media screen and (max-width: 800px) {
  body {
    padding-bottom: 0;
  }
}

div, section, header, footer, aside, article, main, nav, a, input, password, select, textarea {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
	font-size: 1em;
    font-weight: normal;
    line-height: 100%;
	margin: 0;
}

.error {
	font-size: 0.88em;
	line-height: 120%;
	color: #E42126;
}

.error ul {
	margin-top: 0;
}

p, ul, figure {
    margin: 0;
    padding: 0;
}

blockquote {
    margin: 0;
}

form * {
	background: none;
}

input[type=text], input[type=password], input[type=submit], textarea, button, select {
	/*-webkit-appearance: none;
	-moz-appearance: none;*/
	border: solid 1px gray;
	background: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	padding: 0;
	margin: 0;
}





/**************************************
***************************************
4. Ventana modal
***************************************
**************************************/
/* http://redeando.blogspot.com.es/2013/01/ventana-modal-solamente-con-css3.html */

/*
.modalDialogo {
	position: fixed;
	font-family: Arial, Helvetica, sans-serif;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
}

.modalDialogo:target {
	opacity:1;
	pointer-events: auto;
}

.modalDialogo > div {
	width: 700px;
	display: table;
	position: relative;
	margin: 2% auto;
	padding: 40px 47px 44px 153px;
	border-radius: 60px;
	background: #fff;
	background: -moz-linear-gradient(#fff, #fff);
	background: -webkit-linear-gradient(#fff, #fff);
	background: -o-linear-gradient(#fff, #fff);
}

.cerrar {
	font-family: Arial, Helvetica, sans-serif;
	background: #6dae26;
	color: #FFFFFF;
	line-height: 25px;
	position: absolute;
	right: -1px;
	text-align: center;
	top: -10px;
	width: 24px;
	text-decoration: none;
	font-weight: bold;
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	border-radius: 25px;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
}

.cerrar:hover {
	background: #84d12e;
	text-decoration: none;
}
*/





/**************************************
***************************************
5. Aspecto general
***************************************
**************************************/

body {
	background-color: #f1f1f1;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: gray;
}

body > h1 {
	display: none;
}

body > h1 {
	display: none;
}

body > #zona-segura {
	width: 960px;
    margin: 10px auto 0;
    padding: 25px 40px 50px;
    background-color: white;
    -webkit-box-shadow: 0 0 4px 0 #808080;
    box-shadow: 0 0 4px 0 #808080;
    position: relative;
}

@media screen and (min-width: 481px) and (max-width: 800px) {
    body > #zona-segura {
        width: 90%;
        min-width: 432px;
        max-width: 720px;
        padding: 25px 16px 50px;
    }
}

@media screen and (max-width: 480px) {
    body > #zona-segura {
        width: 95%;
        max-width: 456px;
        padding: 25px 16px 50px;
    }
}

body > #zona-segura > header {
	margin-bottom: 30px;
}

@media screen and (min-width: 481px) and (max-width: 800px) {
    body > #zona-segura > header {
        margin-bottom: 30px;
    }
}

body > #zona-segura > header > #menu-idiomas {
	position: absolute;
    right: 40px;
    top: 4px;
}

@media screen and (max-width: 800px) {
    body > #zona-segura > header > #menu-idiomas {
        right: 16px;
        top: 4px;
    }
}

body > #zona-segura > header > #menu-idiomas > h1 {
	display: none;
}

body > #zona-segura > header > #menu-idiomas > ul {
	display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

body > #zona-segura > header > #menu-idiomas > ul > li {
	color: #333;
    list-style: square;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .75em;
    margin-right: 24px;
}

body > #zona-segura > header > #menu-idiomas > ul > li:first-child {
	list-style: none;
}

body > #zona-segura > header > #menu-idiomas > ul > li:last-child {
	margin-right: 0;
}

body > #zona-segura > header > #menu-idiomas > ul > li > a {
	color: gray;
    text-decoration: underline;
}

body > #zona-segura > header > a.boton-menu-principal {
	display: none;
}

@media screen and (max-width: 480px) {
	body > #zona-segura > header > a.boton-menu-principal {
		display: block;
		width: 100%;
		height: 34px;
		padding: 8px 10px;
		background-color: #28417b;
		background-image: url(../img/boton-de-menu.png);
		background-repeat: no-repeat;
		background-position: 10px 5px;
		font-family: Arial, Helvetica, sans-serif;
		color: white;
		text-align: right;
		font-weight: bold;
		font-size: .8em;
		text-decoration: underline;
	}
}

body > #zona-segura > header > #menu-principal {
	background-color: #28417b;
	overflow: hidden;

	-webkit-transition: height 1s ease;
    -moz-transition: height 1s ease;
    -ms-transition: height 1s ease;
    -o-transition: height 1s ease;
    transition: height 1s ease;
}

@media screen and (max-width: 480px) {
	body > #zona-segura > header > #menu-principal {
		height: 0;
	}

	body#arriba:target > #zona-segura > header > #menu-principal {
		height: 430px;
	}
}

body > #zona-segura > header > #menu-principal > h1 {
	display: none;
}

body > #zona-segura > header > #menu-principal > ul {
	list-style: none;

    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;

    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;

    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;

    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}

@media screen and (max-width: 480px) {
    body > #zona-segura > header > #menu-principal > ul {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

body > #zona-segura > header > #menu-principal > ul > li {
	-webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

@media screen and (max-width: 480px) {
    body > #zona-segura > header > #menu-principal > ul > li {
        flex: none;
        width: 100%;
        border-bottom: solid 2px white;
    }

    body > #zona-segura > header > #menu-principal > ul > li:last-child {
        border-bottom: none;
    }
}

body > #zona-segura > header > #menu-principal > ul > li > a {
	font-family: Arial, Helvetica, sans-serif;
    color: white;
    font-size: 1em;
    display: block;
    text-align: center;
    padding: 15px 0;

    -webkit-transition: background-color .25s ease;
    -moz-transition: background-color .25s ease;
    -ms-transition: background-color .25s ease;
    -o-transition: background-color .25s ease;
    transition: background-color .25s ease;
}

@media screen and (min-width: 481px) and (max-width: 800px) {
    body > #zona-segura > header > #menu-principal > ul > li > a {
        font-size: .625em;
    }
}

@media screen and (max-width: 480px) {
    body > #zona-segura > header > #menu-principal > ul > li > a {
        text-transform: uppercase;
    }
}

body > #zona-segura > header > #menu-principal > ul > li > a:hover {
	text-decoration: none;
    background-color: #4276aa;
}

body > #zona-segura > header > #menu-principal > ul > li > a#seleccionado {
	background-color: #4276aa;
}

body > footer {
	width: 960px;
    margin: 25px auto;
}

@media screen and (max-width: 800px) {
    body > footer {
        width: 90%;
        max-width: 800px;
        margin: 15px auto;
        display: block;
    }
}

body > footer > #firma {
	font-family: Times New Roman, serif;
    font-style: italic;
    font-size: 1em;
    color: gray;
	display: table;
	margin: 30px auto 0;
}

@media screen and (max-width: 800px) {
    body > footer > #firma {
        margin: 30px auto 100px;
    }
}

#privacidad-cintillo {
  display: block;
  width: 100%;
  padding: 5px 5%;
  background-color: #28417b;
  font-size: .625em;
  color: white;
  text-decoration: none;
  text-align: center;

  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 1000;
}




/*
  MIEL
*/

form #website {
  display: none;
}




/*
    MENU SECUNDARIO
*/

#menu-secundario h1 {
    display: none;
}

#menu-secundario ul {
    /* border: solid 1px green; */

    list-style: none;

    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
	
	-webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    
    -webkit-justify-content: space-around;
    -ms-flex-pack: justify;
    justify-content: space-around;
    
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}

#menu-secundario ul li a {
    display: inline-block;
    color: #555;
    text-decoration: underline;
    font-style: italic;
    font-weight: bold;
    font-size: .9em;
}

@media screen and (max-width: 800px) {
    #menu-secundario ul li a {
        color: #555;
        text-decoration: underline;
        font-style: italic;
        font-weight: bold;
        font-size: .9em;
        padding: 5px;
        margin: 5px;
    }
}




/*
    BOTÓN "IR ARRIBA"
*/

.ir-arriba {
	display: none;
    width: 58px;
    height: 58px;
	background-color: #aaa;
	font-size: 2em;
	color: white;
	cursor: pointer;
	position: fixed;
	right: 10px;
	bottom: 75px;
	z-index: 1001;
	opacity: .7;

    -webkit-border-radius: 5px;
	border-radius: 5px;

	-webkit-transition: opacity .25s ease;
    -moz-transition: opacity .25s ease;
    -ms-transition: opacity .25s ease;
    -o-transition: opacity .25s ease;
    transition: opacity .25s ease;

    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
	
	-webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;

    -moz-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.ir-arriba:hover {
	opacity: 1;
}




/*
    BOTÓN "WHATSAPP"
*/

#boton-whatsapp {
	display: block;
    width: 58px;
    height: 58px;
	cursor: pointer;
	position: fixed;
	right: 10px;
	bottom: 10px;
	z-index: 1001;
}