/* ==========================================================================
# Fullscreen menu style - begin
========================================================================== */

.edgtf-header-full-screen{
	.edgtf-sticky-header{

		.edgtf-position-right-inner{
			height: 100%;

			&:before{
				content: '';
				display: inline-block;
				vertical-align: middle;
				height: 100%;
			}
		}

		.edgtf-search-opener,
		.edgtf-fullscreen-menu-opener{
			position:relative;
			display:inline-block;
			vertical-align: middle;
			width: auto;
			height: auto;
		}
	}

	.edgtf-page-header .edgtf-menu-area{
		background-color: #fff;
	}
}

/* Fullscreen general style - begin
========================================================================== */

.side_menu_button .edgtf-fullscreen-menu-opener {
	@include edgtfTransition(background-color 0.15s ease-out);
}

.edgtf-dark-header .edgtf-page-header > div:not(.edgtf-sticky-header) .edgtf-fullscreen-menu-opener:not(.opened) .edgtf-fullscreen-icon,
.edgtf-dark-header.edgtf-header-style-on-scroll .edgtf-page-header .edgtf-fullscreen-menu-opener:not(.opened) .edgtf-fullscreen-icon,
.edgtf-dark-header .edgtf-top-bar .edgtf-fullscreen-menu-opener:not(.opened) .edgtf-fullscreen-icon{
	color: $header-dark-color !important;
}


.edgtf-light-header .edgtf-page-header > div:not(.edgtf-sticky-header) .edgtf-fullscreen-menu-opener:not(.opened) .edgtf-fullscreen-icon,
.edgtf-light-header.edgtf-header-style-on-scroll .edgtf-page-header .edgtf-fullscreen-menu-opener:not(.opened) .edgtf-fullscreen-icon,
.edgtf-light-header .edgtf-top-bar .edgtf-fullscreen-menu-opener:not(.opened) .edgtf-fullscreen-icon{
	color: $header-light-color !important;
}

.edgtf-fullscreen-menu-opener {
    position: relative;
    display: inline-table;
    height: 100%;
    width: 100%;
    vertical-align: middle;
    text-align: center;
    @include edgtfTransition(background-color .15s ease-out);

    body.edgtf-fullscreen-icon-with-bckg &{
    	height: 85px;
    	width: 85px;
    }

    .edgtf-fullscreen-menu-opener-holder{
    	display: table-cell;
    	vertical-align: middle;
    }

    .edgtf-fullscreen-icon{
		position: relative;
		display: inline-block;
		vertical-align: middle;
		height: 29px;
		width: 25px;
		overflow: hidden;
		color: $first-main-color;

		@at-root %fs-lines {
			content:'';
			position: absolute;
			left: 0;
			background-color: currentColor;
			height: 2px;
			width:100%;
			@include edgtfTransform(translateX(-100%));
			@include edgtfTransition(all .2s);
		}

		&:before {
			@extend %fs-lines;
			top: 9px;
		}

		&:after {
			@extend %fs-lines;
			bottom: 9px;
		}

		.edgtf-line{
			position: absolute;
			left: 0;
			width: 100%;
			height: 2px;
			background-color: currentColor;
			-webkit-transition: -webkit-transform .2s;
			transition: transform .2s;

			&:first-child{
				top: 9px;
			}

			&:last-child{
				bottom: 9px;
			}
		}
    }

    @at-root .edgtf-fullscreen-menu-opened,
    &:hover {
    	.edgtf-fullscreen-icon {
    		&:before {
    			@include edgtfTransform(translateX(0));
    			-webkit-transition: -webkit-transform .2s .2s;
    			transition: transform .2s .2s;
    		}

    		&:after {
    			@include edgtfTransform(translateX(0));
    			-webkit-transition: -webkit-transform .2s .3s;
    			transition: transform .2s .3s;
    		}
    	}

    	.edgtf-line {
    		@include edgtfTransform(translateX(100%));

    		&:last-child {
    			-webkit-transition-delay: .1s;
    			transition-delay: .1s;
    		}
    	}
    }
}

.edgtf-fullscreen-menu-opener-inner {
	display: inline-block;
	position: relative;
	vertical-align: middle;
}


.edgtf-fullscreen-menu-opened {
	.edgtf-fullscreen-menu-opener,
	.edgtf-logo-wrapper {
		visibility: visible;
	}

	.edgtf-fullscreen-menu-holder-outer {
		visibility: visible !important;
		opacity: 1 !important;
	}

}

.touch {

	.edgtf-fullscreen-menu-holder-outer {
		display: none;
	}

	.edgtf-fullscreen-menu-opened .edgtf-fullscreen-menu-holder-outer {
		display: block;
	}

}

.edgtf-fullscreen-menu-holder-outer {
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	color: #fff;
	opacity: 0;
	overflow-x: hidden !important;
	visibility: hidden;
	z-index: 200;
	@include edgtfTransition(opacity .4s cubic-bezier(0.65, 0.05, 0.36, 1), visibility .4s);

	.edgtf-fullscreen-opening-side &{
		width: 50%;
		min-width: 400px;
	}

	.edgtf-fullscreen-opening-full &{
		width: 100%;
	}

	.edgtf-fullscreen-menu-top{
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		padding: 35px 50px 0;
		box-sizing: border-box;
		z-index: 10;

		.edgtf-fullscreen-menu-top-table{
			display: table;
			width: 100%;
			height: 100%;
		}
	}

	.edgtf-fullscreen-menu-logo-holder{
		display: table-cell;
		vertical-align: middle;

		.edgtf-logo-wrapper a img{
			display: block;

			&.edgtf-normal-logo{
				opacity: 0;
			}

			&.edgtf-light-logo{
				opacity: 1;
			}
		}

	}

	.edgtf-fullscreen-menu-close{		
		display: table-cell;
		vertical-align: middle;
		text-align: right;

		.edgtf-fullscreen-menu-close-line-holder{
			position: relative;
			display: inline-block;
			vertical-align: middle;
			width: 19px;
			height: 19px;
		}

		.edgtf-fullscreen-menu-close-line{
			position: absolute;
			top: 8px;
			left: -3px;
			display: inline-block;
			vertical-align: middle;
			width: 24px;
			height: 2px;
			background-color: #fff;

			&:first-child{
				@include edgtfTransform(rotate(45deg));
			}

			&:last-child{
				@include edgtfTransform(rotate(135deg));
			}
		}
	}
}

.edgtf-fullscreen-menu-holder {
	width: 100%;
	height: 100%;
	background-color: rgba(29,29,29,0.98);
	display: table;
	background-repeat: repeat;
	background-position: 0px 0px;
	box-sizing: border-box;

	.edgtf-fullscreen-opening-side &{
		padding-left: 50px;
	}

	.edgtf-fullscreen-opening-full &{
		padding: 0 25%;
	}

}

.edgtf-fullscreen-menu-holder-inner {
	position: relative;
	display: table-cell;
	vertical-align: middle;
	padding: 100px 0px;
}

nav.edgtf-fullscreen-menu {
	margin: 0 auto;
	position: relative;
	top: 0;
	text-align: left;

	ul {
		position: relative;
		list-style: none;
		padding: 0;
		margin: 0;

		li {
			margin: 0;
			padding: 0;
			text-align: left;
		}

		li h4,
		li a {
			display: block;
			position: relative;
			font-size: 67px;
			font-weight: 400;
			line-height: 1em;
			color: #fff;
			padding: 0;
			text-decoration: none;
			cursor: pointer;
			@include edgtfTransition(color 0.15s ease-out);
		}

		li a:hover,
		li h4:hover,
		li ul li a:hover,
		li ul li h4:hover{
			color: #ababab;
		}

		li a span,
		li h4 span {
			display: inline-block;
			vertical-align: middle;
		}

		li ul li {
            h4,
            a {
                font-size: 17px;
                font-weight: 300;
                line-height: 17px;
                color: #bababa;
                margin-bottom: 15px;

				&:hover{
					color: $default-background-color;
				}
            }

            &:first-child {
                margin-top: 14px;
            }

            &:last-child {
                a, h4 {
                    margin-bottom: 5px;
                }
            }
        }

		li ul li ul li a,
		li ul li ul li h4{
			font-size: 1em;
			line-height: 1em;
		}

	}

	> ul {
		display: block;
	}

	ul.sub_menu {
		display: none;
	}

}

.edgtf-fullscreen-below-menu-widget-holder {
	position: absolute;
	bottom: 36px;
	text-align: left;

	a{
		color: #fff;

		&:hover{
			color: $gray-color;
		}
	}
}

.edgtf-fullscreen-above-menu-widget-holder {
	text-align: left;
}

.edgtf-fullscreen-opening-full.edgtf-fullscreen-alignment-center{	
	.edgtf-fullscreen-below-menu-widget-holder{
		left: 50%;
		text-align: center;
		@include edgtfTransform(translateX(-50%));
	}

	nav.edgtf-fullscreen-menu ul li,
	.edgtf-fullscreen-above-menu-widget-holder{
		text-align: center;
	}
}

.edgtf-fullscreen-opening-full.edgtf-fullscreen-alignment-right{
	.edgtf-fullscreen-below-menu-widget-holder{
		right: 0;
		text-align: right;
	}

	nav.edgtf-fullscreen-menu ul li,
	.edgtf-fullscreen-above-menu-widget-holder{
		text-align: right;
	}
}

.edgtf-fullscreen-opening-full.edgtf-fullscreen-alignment-left{
	.edgtf-fullscreen-below-menu-widget-holder{
		left: 0;
		text-align: left;
	}

	nav.edgtf-fullscreen-menu ul li,
	.edgtf-fullscreen-above-menu-widget-holder{
		text-align: left;
	}
}

/* Fullscreen general style - end
========================================================================== */

/* Fullscreen fade animations general - begin
========================================================================== */

@-webkit-keyframes fade_out {
	0% {
		opacity:1;
		visibility: visible
	}
	100% {
		opacity:0;
		visibility: hidden
	}
}

@-moz-keyframes fade_out {
	0% {
		opacity:1;
		visibility: visible
	}
	100% {
		opacity:0;
		visibility: hidden
	}
}

@keyframes fade_out {
	0% {
		opacity:1;
		visibility: visible
	}
	100% {
		opacity:0;
		visibility: hidden
	}
}

@-webkit-keyframes fade_in {
	0% {
		opacity:0;
		visibility: hidden
	}
	100% {
		opacity:1;
		visibility: visible
	}
}

@-moz-keyframes fade_in {
	0% {
		opacity:0;
		visibility: hidden
	}
	100% {
		opacity:1;
		visibility: visible
	}
}

@keyframes fade_in {
	0% {
		opacity:0;
		visibility: hidden
	}
	100% {
		opacity:1;
		visibility: visible
	}
}

.edgtf-fade-push-text-right .edgtf-fullscreen-menu-holder-outer,
.edgtf-fade-push-text-top .edgtf-fullscreen-menu-holder-outer,
.edgtf-fade-text-scaledown .edgtf-fullscreen-menu-holder-outer {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.edgtf-fullscreen-opening-full{
	.edgtf-fullscreen-fade-out .edgtf-fullscreen-menu-holder-outer {
		backface-visibility:hidden;
		-webkit-backface-visibility:hidden;
		-webkit-animation: fade_out .25s linear both;
		animation: fade_out .25s linear both ;
	}

	.edgtf-fullscreen-menu-opened.edgtf-fullscreen-fade-in .edgtf-fullscreen-menu-holder-outer {
		backface-visibility:hidden;
		-webkit-backface-visibility:hidden;
		-webkit-animation: fade_in .25s linear both;
		animation: fade_in .25s linear both;
	}
}

.edgtf-fullscreen-opening-side{
	.edgtf-fullscreen-menu-holder-outer{
		@include edgtfTransform(translateX(100%));
		-webkit-transition: -webkit-transform .35s cubic-bezier(0.65, 0.05, 0.36, 1), opacity .0s .35s, visibility .0s .35s;
		transition: transform .35s cubic-bezier(0.65, 0.05, 0.36, 1), opacity .0s .35s, visibility .0s .35s;
	}
	
	&.edgtf-fullscreen-menu-opened .edgtf-fullscreen-menu-holder-outer{
		@include edgtfTransform(translateX(0));
		-webkit-transition: -webkit-transform .4s cubic-bezier(0.65, 0.05, 0.36, 1);
		transition: transform .4s cubic-bezier(0.65, 0.05, 0.36, 1);
	}
}

/* Fullscreen fade animations general - end
========================================================================== */

/* Fullscreen animation push text right - begin
========================================================================== */

@-webkit-keyframes push_text_right {
	0% {
		opacity:0;
		-webkit-transform:translateX(-60px);
	}
	100% {
		opacity:1;
		-webkit-transform:translateX(0);
	}
}

@-moz-keyframes push_text_right {
	0% {
		opacity:0;
		-moz-transform:translateX(-60px);
	}
	100% {
		opacity:1;
		-moz-transform:translateX(0);
	}
}

@keyframes push_text_right {
	0% {
		opacity:0;
		transform:translateX(-60px)
	}
	100% {
		opacity:1;
		transform:translateX(0)
	}
}

@-webkit-keyframes push_nav_right {
	0% {
		opacity:0;
		-webkit-transform:translateX(-60px);
	}
	100% {
		opacity:1;
		-webkit-transform:translateX(0);
	}
}

@-moz-keyframes push_nav_right {
	0% {
		opacity:0;
		-moz-transform:translateX(-60px);
	}
	100% {
		opacity:1;
		-moz-transform:translateX(0);
	}
}

@keyframes push_nav_right {
	0% {
		opacity:0;
		transform:translateX(-60px)
	}
	100% {
		opacity:1;
		transform:translateX(0)
	}
}

.edgtf-fullscreen-menu-opened.edgtf-fade-push-text-right .edgtf-fullscreen-menu-holder-outer nav > ul > li > a,
.edgtf-fullscreen-menu-opened.edgtf-fade-push-text-right .edgtf-fullscreen-menu-holder-outer .edgtf-fullscreen-below-menu-widget-holder > div,
.edgtf-fullscreen-menu-opened.edgtf-fade-push-text-right .edgtf-fullscreen-menu-holder-outer .edgtf-fullscreen-above-menu-widget-holder > div {
	-webkit-backface-visibility:hidden;
	backface-visibility:hidden;
	@include edgtfAnimation(push_text_right .4s cubic-bezier(0.175, 0.885, 0.32, 1) both);
}

.edgtf-fade-push-text-right.edgtf-push-nav-right .edgtf-fullscreen-menu-holder-outer nav,
.edgtf-fade-push-text-right.edgtf-push-nav-right .edgtf-fullscreen-menu-holder-outer .edgtf-fullscreen-below-menu-widget-holder,
.edgtf-fade-push-text-right.edgtf-push-nav-right .edgtf-fullscreen-menu-holder-outer .edgtf-fullscreen-above-menu-widget-holder {
	-webkit-backface-visibility:hidden;
	backface-visibility:hidden;
	@include edgtfTransition(all .35s cubic-bezier(0.175, 0.885, 0.32, 1));
	opacity: 0;
}

/* Fullscreen animation push text right - end
========================================================================== */

/* Fullscreen animation push text top - begin
========================================================================== */

@-webkit-keyframes push_text_top {
	0% {
		opacity:0;
		-webkit-transform:translateY(60px);
	}
	100% {
		opacity:1;
		-webkit-transform:translateY(0);
	}
}

@-moz-keyframes push_text_top {
	0% {
		opacity:0;
		-moz-transform:translateY(60px);
	}
	100% {
		opacity:1;
		-moz-transform:translateY(0);
	}
}

@keyframes push_text_top {
	0% {
		opacity:0;
		transform:translateY(60px);
	}
	100% {
		opacity:1;
		transform:translateY(0)
	}
}

.edgtf-fullscreen-menu-opened.edgtf-fade-push-text-top .edgtf-fullscreen-menu-holder-outer nav > ul > li > a,
.edgtf-fullscreen-menu-opened.edgtf-fade-push-text-top .edgtf-fullscreen-menu-holder-outer .edgtf-fullscreen-below-menu-widget-holder > div,
.edgtf-fullscreen-menu-opened.edgtf-fade-push-text-top .edgtf-fullscreen-menu-holder-outer .edgtf-fullscreen-above-menu-widget-holder > div {
	-webkit-backface-visibility:hidden;
	backface-visibility:hidden;
	@include edgtfAnimation(push_text_top .4s ease-out both .5s);
}

.edgtf-fade-push-text-top.edgtf-push-text-top .edgtf-fullscreen-menu-holder-outer nav,
.edgtf-fade-push-text-top.edgtf-push-text-top .edgtf-fullscreen-menu-holder-outer .edgtf-fullscreen-below-menu-widget-holder,
.edgtf-fade-push-text-top.edgtf-push-text-top .edgtf-fullscreen-menu-holder-outer .edgtf-fullscreen-above-menu-widget-holder {
	-webkit-backface-visibility:hidden;
	backface-visibility:hidden;
	@include edgtfTransform(translateY(-30px));
	@include edgtfTransition(all .75s ease-out);
}

/* Fullscreen animation push text top - end
========================================================================== */

/* Fullscreen animation fade text scaledown - begin
========================================================================== */

.edgtf-fullscreen-menu-opened.edgtf-fade-text-scaledown .edgtf-fullscreen-menu-holder-outer nav,
.edgtf-fullscreen-menu-opened.edgtf-fade-text-scaledown .edgtf-fullscreen-menu-holder-outer .edgtf-fullscreen-below-menu-widget-holder,
.edgtf-fullscreen-menu-opened.edgtf-fade-text-scaledown .edgtf-fullscreen-menu-holder-outer .edgtf-fullscreen-above-menu-widget-holder {
	backface-visibility:hidden;
	-webkit-backface-visibility:hidden;
	opacity:1;
	@include edgtfTransform(scale(1));
	@include edgtfTransition(all .25s linear 0.1s);
}

.edgtf-fade-text-scaledown .edgtf-fullscreen-menu-holder-outer nav,
.edgtf-fade-text-scaledown .edgtf-fullscreen-menu-holder-outer .edgtf-fullscreen-below-menu-widget-holder,
.edgtf-fade-text-scaledown .edgtf-fullscreen-menu-holder-outer .edgtf-fullscreen-above-menu-widget-holder {
	backface-visibility:hidden;
	-webkit-backface-visibility:hidden;
	opacity:0;
	@include edgtfTransform(scale(1.1));
	@include edgtfTransition(all .25s linear 0.1s);
}

/* Fullscreen animation fade text scaledown - end
========================================================================== */

/* ==========================================================================
# Fullscreen menu style - end
========================================================================== */