/* Overlay style */
.overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(49,90,162,1);
    z-index: 999;
}

/* Overlay closing cross */
.overlay .overlay-close {
	width: 25px;
	height: 25px;
	position: absolute;
	right: 35px;
	top: 50px;
	overflow: hidden;
	border: none;
	background: url(../img/cross.png) no-repeat center center;
	text-indent: 200%;
	color: transparent;
	outline: none;
    z-index: 99999;
    cursor: pointer;
}

/* Menu style */
.overlay nav {
	text-align: center;
	position: relative;
	top: 50%;
	height: 60%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.overlay ul {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	display: inline-block;
	height: 100%;
	position: relative;
}

.overlay ul li {
	display: block;
	height: 20%;
	height: calc(100% / 5);
	min-height: 54px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
    float: none;
}

.overlay ul li a {
	font-size: 38px;
	font-weight: 100;
	display: block;
	color: #fff;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
    text-decoration: none;
    color: #ffffff;
}

.overlay ul li a:hover,
.overlay ul li a:focus {
	color: #30b2ed;
}

/* Effects */
.overlay-hugeinc {
	opacity: 0;
	visibility: hidden;
	-webkit-transition: opacity 0.5s, visibility 0s 0.5s;
	transition: opacity 0.5s, visibility 0s 0.5s;
}

.overlay-hugeinc.open {
	opacity: 1;
	visibility: visible;
	-webkit-transition: opacity 0.5s;
	transition: opacity 0.5s;
}

.overlay-hugeinc nav {
	-webkit-perspective: 1200px;
	perspective: 1200px;
}

.overlay-hugeinc nav ul {
	opacity: 0.4;
	-webkit-transform: translateY(-25%) rotateX(35deg);
	transform: translateY(-25%) rotateX(35deg);
	-webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
	transition: transform 0.5s, opacity 0.5s;
}

.overlay-hugeinc.open nav ul {
	opacity: 1;
	-webkit-transform: rotateX(0deg);
	transform: rotateX(0deg);
}

.overlay-hugeinc.close nav ul {
	-webkit-transform: translateY(25%) rotateX(-35deg);
	transform: translateY(25%) rotateX(-35deg);
}

@media screen and (max-height: 30.5em) {
	.overlay nav {
		height: 70%;
		font-size: 34px;
	}
	.overlay ul li {
		min-height: 34px;
	}
}

.encabezado{
    background-color: #ffffff;
    width: 100%;
    height: auto;
    display: block;
    position: fixed;
    z-index: 99;
}
.menu_idioma{
    width: 100%;
    min-height: 30px;
    height: auto;
    display: block;
    background-color: #315aa2;
    background-image: url('../img/sombra_idioma.png');
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
}
.menu_mobile{
    text-align: center;
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    padding: 20px;
}
.idiomas{
    text-align: right;
}
.tit_idioma{
    display: inline-block;
    vertical-align: top;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 30px;
    margin: 0 5px;
}
.idioma{
    width: 26px;
    height: auto;
    display: inline-block;
    vertical-align: top;
    margin: 2px 5px
}
.idioma_activo{
    filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'https://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
    pointer-events: none!important;
}
.menu_site{
    text-align: left;
    position: relative;
}
.logo_header{
    max-width: 150px;
    width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: top;
    margin: 10px 0;
    
}
.logo_header_chico{
    max-width: 120px!important;
}
.conj_items{
    width: calc(100% - 275px);
    height: auto;
    display: none;
    vertical-align: top;
}
.conj_items_chico{
    width: calc(100% - 120px);
}
.item_site{
    display: inline-block;
    text-decoration: none;
    color: #315aa2;
    font-size: 12px;
    line-height: 12px;
    vertical-align: top;
    padding: 0 20px;
}
.item_site_chico{
    line-height: 12px!important;
}
.item_site:hover{
    color: #ffffff;
    background-color: #315aa2;
}
.item_activo{
    color: #ffffff;
    background-color: #315aa2;
    pointer-events: none;
}
.item_mobile{
    display: block;
    text-decoration: none;
    color: #ffffff;
    font-size: 12px;
    line-height: 12px;
    vertical-align: top;
    padding: 0 20px;
    background-color: grey;
    width: 100%;
    height: 30px;
    line-height: 32px;
    margin: 10px auto;
    border-radius: 5px;
}
.sombra_header{
    width: 100%;
    height: auto;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100px;
    bottom: auto;
    pointer-events: none;
}
.sombra_header_chico{
    top: 85px;
}
.banda_rss{
    width: 100%;
    height: 50px;
    display: block;
    background-color: #30b2ed;
    text-align: center;
}
.seg{
    display: inline-block;
    vertical-align: top;
    font-style: italic;
    color: #ffffff;
    font-size: 14px;
    line-height: 50px;
    margin: 0 10px;
}
.rss{
    vertical-align: top;
    margin: 11px 5px 12px;
    width: 28px;
    height: 28px;
    display: inline-block;
    
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -ms-transition: all .4s ease-in-out;
}
.rss:hover{
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}
.footer{
    background-color: #b0becc;
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    padding: 30px 0 30px;
}
.disclaimer{
    width: 90%;
    height: auto;
    display: block;
    vertical-align: top;
    color: #564f50;
    text-align: center;
    font-size: 10px;
    margin: 0 auto 20px
}
.disclaimer > span{
    font-weight: bolder;
    display: block;
    font-size: 11px;
}
.logo_footer{
    width: 100%;
    height: auto;
    display: block;
    vertical-align: top;
    text-align: center;
    margin: 0 auto;
}
.log_f{
    max-width: 170px;
    width: 100%;
    height: auto;
    display: inline-block;
}
.burger{
    position: absolute;
    width: 30px;
    height: auto;
    top: 22px;
    left: auto;
    right: 20px;
    bottom: auto;
    display: block;
    cursor: pointer;
}
.burger_chico{
    top: 14px;  
}
.bajada p{
    font-size: 12px
}
@media screen and (min-width:850px){
    .bajada p{
        font-size: 14px
    }
    .encabezado{
        background-color: #ffffff;
        width: 100%;
        height: auto;
        display: block;
        position: fixed;
        z-index: 99;
    }
    .menu_idioma{
        width: 100%;
        height: 30px;
        display: block;
        background-color: #315aa2;
        background-image: url('../img/sombra_idioma.png');
        background-position: center bottom;
        background-size: cover;
        background-repeat: no-repeat;
    }
    .idiomas{
        text-align: right;
    }
    .tit_idioma{
        display: inline-block;
        vertical-align: top;
        color: #ffffff;
        text-transform: uppercase;
        font-size: 12px;
        line-height: 30px;
        margin: 0 5px;
    }
    .idioma{
        width: 26px;
        height: auto;
        display: inline-block;
        vertical-align: top;
        margin: 2px 5px
    }
    .idioma_activo{
        filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'https://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale"); /* Firefox 10+, Firefox on Android */
        filter: gray; /* IE6-9 */
        -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
    }
    .menu_site{
        text-align: left;
    }
    .logo_header{
        max-width: 275px;
        width: 100%;
        height: auto;
        display: inline-block;
        vertical-align: top;
        margin: 10px 0;
    }
    .logo_header_chico{
        max-width: 120px!important;
    }
    .conj_items{
        width: 440px;
        height: auto;
        display: inline-block;
        vertical-align: top;
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        left: auto;
    }
    .conj_items_chico{
        width: 440px;
        height: auto;
        display: inline-block;
        vertical-align: top;
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        left: auto;
    }
    .item_site{
        display: inline-block;
        text-decoration: none;
        color: #315aa2;
        font-size: 12px;
        line-height: 14px;
        vertical-align: top;
        padding: 44px 16px 45px;
    }
    .item_site_chico{
        padding: 22px 16px;!important;
    }
    .item_site:hover{
        color: #ffffff;
        background-color: #315aa2;   
    }
    .item_activo{
        color: #ffffff;
        background-color: #315aa2;
        pointer-events: none;
    }
    .burger{
        display: none;
    }
    .sombra_header{
        width: 100%;
        height: auto;
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: 132px;
        bottom: auto;
        pointer-events: none;
    }
    .sombra_header_chico{
        top: 85px;
    }
    .banda_rss{
        width: 100%;
        height: 80px;
        display: block;
        background-color: #30b2ed;
        text-align: center;
    }
    .seg{
        display: inline-block;
        vertical-align: top;
        font-style: italic;
        color: #ffffff;
        font-size: 20px;
        line-height: 80px;
        margin: 0 10px;
    }
    .rss{
        vertical-align: top;
        margin: 24px 5px 23px;
        width: 33px;
        height: 33px;
        display: inline-block;
    }
    .footer{
        background-color: #b0becc;
        width: 100%;
        height: auto;
        display: block;
        position: relative;
        padding: 40px 0 60px;
    }
    .disclaimer{
        width: calc(100% / 3);
        height: auto;
        display: inline-block;
        vertical-align: top;
        color: #564f50;
        text-align: left;
        font-size: 12px;
    }
    .disclaimer > span{
        font-weight: bolder;
        display: block;
        font-size: 12px;
    }
    .logo_footer{
        width: calc(100% / 3);
        height: auto;
        display: inline-block;
        vertical-align: top;
        text-align: right;
    }
    .duns{
        text-align: center !important;
    }
    .log_f{
        max-width: 170px;
        width: 100%;
        height: auto;
        display: inline-block;
    } 
}