/* Overlay style */
.overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: #7d85b8f7;
	z-index: 3000;
	    top: -32px;
}

/* Overlay closing cross */
.overlay .overlay-close {
	width: 80px;
	height: 80px;
	position: absolute;
	right: 20px;
	top: 20px;
	overflow: hidden;
	border: none;
	background: url(/img/cross.png) no-repeat center center;
	text-indent: 200%;
	color: transparent;
	outline: none;
	z-index: 100;
}

/* Menu style */
.overlay nav {
text-align: left;
    position: relative;
    top: 50px;
    padding-left: 30px;
    /* height: 50%; */
    /* -webkit-transform: translateY(-50%); */
    /* transform: translateY(-50%); */}
.overlay nav .menu-item{
	pkadding-left: 50px;
}
.overlay nav .page_item_has_children div, .overlay nav .menu-item-has-children{
	    text-transform: uppercase;
        font-size: 1.8em;
    font-weight: 700;
}
.tn_button{
	    float: right;
    margin-right: 11px;
    padding: 9px;
    padding-left: 16px;
    mjargin-top: -18px;
    font-size: 12px;
    padding-right: 16px;
    width: 106px;
    font-weight: 100;
}
.tn_button a{font-weight: 100;}
.slider .tn_button{
	    float: unset;
    margin-right: unset;
    padding: 0px;
    padding-left: 16px;
    mjargin-top: -18px;
    font-size: 12px;
    padding-right: 16px;
    width: 106px;
    font-weight: 100;margin-top: 15px;
    line-height: inherit;
}
.slider .tn_button a{font-weight: 100;}

.overlay ul {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	display: inline-block;
	height: 100%;
	position: relative;
}

.overlay ul li {
	display: block;
	hheight: 25%;
	hehight: calc(90% / 5);
	m0in-height: 54px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.overlay .children{display: none !important;}
.page-item-62, #menu-item-1748{    padding-right: 19px;
    }
.page-item-62 a, #menu-item-1748 a{color: #003883 !important;}   
.overlay ul li a {
	font-size: 1.8rem;
	letter-spacing: -0.01em;
    font-weight: 300;
    display: block;
    color: #fff;
    text-transform: unset;
	font-family: Arial;
	-webkit-transition: color 0.2s;
	-moz-transition: color 0.2s;
	-ms-transition: color 0.2s;
	-o-transition: color 0.2s;
	transition: color 0.2s;
}

.overlay ul li a:hover,
.overlay ul li a:focus {
	color: #f0f0f0;
}

/* Effects */
.overlay-scale {
	visibility: hidden;
	opacity: 0;
	-webkit-transform: scale(0.9);
	transform: scale(0.9);
	-webkit-transition: -webkit-transform 0.2s, opacity 0.2s, visibility 0s 0.2s;
	transition: transform 0.2s, opacity 0.2s, visibility 0s 0.2s;
}

.overlay-scale.open {
	visibility: visible;
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);	
	-webkit-transition: -webkit-transform 0.4s, opacity 0.4s;
	transition: transform 0.4s, opacity 0.4s;
}

@media screen and (max-height: 30.5em) {
	.overlay nav {
		height: 70%;
		font-size: 34px;
	}
	.overlay ul li {
		min-height: 34px;
	}
}

@media screen and (max-width: 568px) {

	.overlay ul li a {
		    font-size: 1.6em;
    line-height: 26px;
    margin-bottom: 18px;
    text-decoration: none;
	}

}