/* Overlay style */
.overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	min-width: 980px;
	min-height: 600px;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.9);
	z-index: 10;
}

/* Overlay closing cross */
.overlay .overlay-close {
	width: 16px;
	height: 16px;
	position: absolute;
	right: 34px;
	top: 32px;
	overflow: hidden;
	border: none;
	background: url(../img/cross.png) no-repeat center center;
    background-size: cover;
	text-indent: 200%;
	color: transparent;
	outline: none;
	z-index: 100;
}

@media only screen and (min-width: 1600px), only screen and (-webkit-min-device-pixel-ratio: 2),
  only screen and (-o-min-device-pixel-ratio: 2/1),
  only screen and (min-device-pixel-ratio: 2),
  only screen and (min-resolution: 192dpi),
  only screen and (min-resolution: 2dppx) {
    .overlay .overlay-close {
        background: url(../img/cross@2x.png) no-repeat center center;
        background-size: cover;
    }
  }

.overlay h1, .contact h2 {
    position: relative;
    margin-left: 10%;
    font-weight: 900;
	font-size: 29px;
	letter-spacing: 1px;
	/*text-transform: uppercase;*/
	top: 15%;
	color: #fff;
	opacity: 0;
}

.overlay h1 {
    margin-left: 7.5%;
    padding-left: 42px;
}

@media only screen and (min-width: 1600px) {
    .overlay h1 {
        padding-left: 63px;
    }
}

.contact h2 {
    font-size: 29px;
    top: 0;
    margin: 0;
    margin-left: 25px;
}

@media only screen and (min-width: 1600px) {
    .contact h2 {
        font-size: 20px;
    }
}

.contact {
    position: absolute;
    width: 485px;
    bottom: 8.875%;
    right: 10%;
}

@media only screen and (min-width: 1600px) {
    .contact {
        width: 570px;
    }
}

.line {
    position: relative;
    top: -3px;
    left: 13px;
    display: inline-block;
    width: 0;
    height: 1px;
    background-color: white;
    vertical-align: middle;
}

.contact .line {
    height: 1px;
}

.contact a, .phone-contact {
    font-weight: normal;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.05em;
    color: white;
}

@media only screen and (min-width: 1600px) {
    .contact a, .phone-contact {
        font-size: 15px;
    }
}

.adress-holder img {
    float: left;
    margin-top: 25px;
    margin-right: 10px;
    margin-left: 25px;
}

.img-holder {
    display: inline-block;
    vertical-align: top;
    margin-top: 21px;
    position: relative;
    left: 75px;
}

.icon-email-contact {
    margin-bottom: 10px;
    top: 4px;
    position: relative;
}

.icon-phone-contact {
    left: 4px;
    position: relative;
}

.adress, .contact p {
    display: inline-block;
    vertical-align: top;
    margin-top: 21px;
}

.contact p {
    position: absolute;
    right: 0;
}

.contact > p > a, .contact > p > span {
    display: block;
}

.adress {
    float: left;
}

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

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

.overlay ul li {
	display: block;
	margin-left: 7.5%;
	height: 20%;
	height: calc(100% / 5);
	min-height: 54px;
	margin-bottom: 10px;
}

.overlay ul li a {
	font-weight: 900;
	font-size: 75px;
	letter-spacing: 1px;
	/*text-transform: uppercase;*/
	display: inline-block;
	color: #fff;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
}

.social {
    position: absolute;
    height: 18px;
    min-height: 13px;
    /*margin: 30px 0 0 30px;*/
    z-index: 99;
    width: 300px;
    margin-left: 7.5%;
    padding-left: 38px;
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
    -webkit-transition: -webkit-transform 0.2s ease-in .5s, opacity 0.3s ease-in .5s;
	-moz-transition: -moz-transform 0.2s ease-in .5s, opacity 0.3s ease-in .5s;
	transition: transform 0.2s ease-in .5s, opacity 0.3s ease-in .5s;
}

.social img {
    height: 100%;
    display: inline-block;
    margin-right: 9px;
    vertical-align: bottom;
}

.open .social{
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.swiper-wrapper {
  transition-duration: 400ms !important;
}

@media only screen and (min-width: 1600px) {
    .overlay ul li a {
        font-size: 120px;
    }

    .social{
    	padding-left: 56px;
    }
}

.overlay ul li a:hover,
.overlay ul li a:focus {
	outline: none;
}

/* Effect 1: Brackets */
.overlay ul li a::before,
.overlay ul li a::after {
	display: inline-block;
	opacity: 0;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.2s;
	-moz-transition: -moz-transform 0.3s, opacity 0.2s;
	transition: transform 0.3s, opacity 0.2s;
}

.overlay ul li a::before {
	position: relative;
	margin-right: 10px;
	top: -5px;
	content: '[';
	-webkit-transform: translateX(20px);
	-moz-transform: translateX(20px);
	transform: translateX(20px);
}

.overlay ul li a::after {
	position: relative;
	margin-left: 10px;
	top:-5px;
	content: ']';
	-webkit-transform: translateX(-20px);
	-moz-transform: translateX(-20px);
	transform: translateX(-20px);
}

.overlay ul li a:hover::before,
.overlay ul li a:hover::after,
.overlay ul li a:focus::before,
.overlay ul li a:focus::after {
	opacity: 1;
	-webkit-transform: translateX(0px);
	-moz-transform: translateX(0px);
	transform: translateX(0px);
}

/* Effects */
.adress-holder, .contact p, .contact .img-holder{
	opacity: 0;
	-webkit-transition: opacity 0.3s ease-in .9s, visibility 0s 0.5s;
	transition: opacity 0.3s ease-in .9s, visibility 0s 0.5s;
}

.open .adress-holder, .open .contact p, .open .contact .img-holder{
	opacity: 1;
}

.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 h1, .overlay-hugeinc h2{
    -webkit-transition: opacity 0.5s;
	transition: opacity 0.5s;
    transition-delay: 0.5s;
}

.overlay-hugeinc .line {
    -webkit-transition: width 0.2s;
	transition: width 0.2s;
    transition-delay: 0.8s;
}

.overlay-hugeinc.open h1, .overlay-hugeinc.open h2{
    opacity: 1;
}

.overlay-hugeinc.open .line {
    width: 318px;
}

@media only screen and (min-width: 1600px) {
    .overlay-hugeinc.open .line {
        width: 318px;
    }
}

.overlay-hugeinc.open .contact .line {
    width: 318px;
}

@media only screen and (min-width: 1600px) {
    .overlay-hugeinc.open .contact .line {
        width: 318px;
    }
}

.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;
	}
}
