#dpr-header.vertical-header {
	position: fixed;
    top: 0;
    width: 300px;
    max-width: 100%;
    height: 100%;
    border-bottom: none;
    z-index: 3000;
    @include transition( all .3s ease-in-out );
	
    &.has-scrolled {
    	background-color: $color-1;
    }

    &.has-shadow {
    	@include box-shadow( 10px 0px 20px 0px rgba(0,0,0,0.19) );
    }
    &.center-vmenu {
    	.dropdown-menu li {
		text-align:center;
		}
    }
    &.right-vmenu {
    	.dropdown-menu li {
		text-align:right;
		}		
		#dpr-navigation-wrapper .dropdown-menu li > a .dropdown-toggle {
		left:0 !important;
		}

    }
    #dpr-header-inner {
    	display:flex;
    	flex-direction:column;
    	justify-content: space-between;
	    max-width: 100%;
    	padding: 50px;
    	overflow: hidden;

    	> *:not(#dpr-navigation-wrapper) {
    		padding: 0;
    	}
	}

    &.left-logo #dpr-logo {
    	text-align: left;
    }

    &.center-logo #dpr-logo {
    	text-align: center;
    }

    &.right-logo #dpr-logo {
    	text-align: right;
    }

    #dpr-logo,
    #dpr-logo #dpr-logo-inner {
	    display: block;
    	float: none;
	    height: auto;
    }

    #dpr-logo {
	    margin: 20px 0 45px;
    }

    .has-social #dpr-navigation-wrapper {
	    right: auto;
	}

	#dpr-navigation-wrapper {
	    float: none;
	    right: auto;
    	@include transition( all .3s ease-in-out );

		.dropdown-menu li {
			display: block;
		    float: none;
		    position: relative;
			border-bottom: 1px solid rgba(0, 0, 0, 0.05);

			&:last-child {
				border-bottom: none;
			}

		    > a {
		    	position: relative;
			    line-height: 1;
			    padding: 17px 0px;

			    background:transparent !important;

				.dropdown-toggle {
                    position: absolute;
				    right: 0;
				    top: 0;
				    width: 50px;
				    height: 100%;
				    line-height: 1;
				    cursor: pointer;
				    text-align: center;

                    &:before {
                    	font-family: 'dpr-icomoon';
                        content: '\e91d';
                        font-size: 11px;
					    position: absolute;
					    top: 50%;
					    left: 50%;
					    line-height: 20px;
					    margin-top: -10px;
					    margin-left: -10px;
                    }
					&:after {
					display:none!important;
					}
                }
			}

            &.active > a > .dropdown-toggle:before {
                content: '\e923';
            }
		}

		.dropdown-menu .sub-menu {
			display: none;
		    position: relative;
		    top: 100%;
		    left: 0;
		    border: none;
		    @include box-shadow( none );
		}

	    .nav-arrow,
	    .sidebar-box {
		    display: none;
		}
	}

	#vertical-searchform {
		margin-top: 30px;

		form {
			position: relative;

    		&.search-filled label {
				@include opacity( 0 );
			    @include transition-duration( 150ms );
			}

			input {
				position: relative;
				font-size: 14px;
			    border-width: 0 0 2px;
			    background-color: transparent !important;
			    border-color: rgba(0, 0, 0, 0.04);
			    padding: 10px 12px;
			    z-index: 2;
			}

			label, button {
				position: absolute;
			    top: 50%;
			    margin: 0;
			    @include transform( translateY(-50%) );
			}

			label {
			    left: 12px;
			    cursor: text;
			    @include opacity( .5 );
			    z-index: 1;
			}

			button {
			    right: 0;
			    width: 30px;
			    height: 100%;
			    line-height: 1;
			    padding: 0;
			    background-color: transparent;
			    color: #777;
			    border: none;
			    z-index: 2;
			    @include transition( all .3s ease );

			    &:hover {
			    	color: #333;
			    }
			}

			.search-bg {
				position: absolute;
			    top: 0;
			    bottom: 0;
			    left: 0;
			    right: 0;
				background-color: rgba(0, 0, 0, 0.03);
			}
		}
	}

	.dpr-adeline-social-menu {
	    float: none;
	    display: block;
	    justify-content: flex-end;
	    margin-top: 30px;

	    &.minimal-social {
		    right: auto;
		}

		.social-menu-inner {
		    display: block;
		    height: auto;
		}
	}

	.custom-header-nav #dpr-navigation-wrapper #dpr-navigation {
		display: block;

		.dropdown-menu > li > a {
			padding-left: 0;
    		padding-right: 0;
		}
	}

	.vertical-toggle {
		display: none;
		position: absolute;
	    top: 40px;
	    width: 50px;
	    height: 30px;
	    line-height: 30px;
	    padding: 0 !important;
	    text-align: center;
		
			.opener {
				display: inline-block;
				width: 23px;
				height: 2px;
				position: relative;
				top: 2px;
				background-color: $color-2;
				vertical-align: middle;
				white-space: nowrap;
				@include transition( all ease .3s );
	
				&:before, &:after {
					position: absolute;
					content: '';
					display: inline-block;
					width: 23px;
					height: 2px;
					left: 0;
					background-color: $color-2;
					outline: 1px solid transparent;
					@include transition( all ease .3s );
				}
	
				&:before {
					top: -8px;
				}
	
				&:after {
					top: 8px;
				}
			}
		}
	
}

.vertical-header-overlapping-used .is-sticky #dpr-header.vertical-header {
    background-color: $color-1;
}

body.vertical-header-style {
    &.left-header {
    	#dpr-header.vertical-header {
    		left: 0;

			.vertical-toggle {
			    right: 0;
			}
    	}

    	#dpr-outer-wrapper {
    		margin-left: 300px;
    	}
    	.dpr-footer.parallax-footer {
    	padding-left:300px;
    	}
    }

    &.right-header {
    	#dpr-header.vertical-header {
    		right: 0;
			
			&.has-shadow {
    			@include box-shadow( -10px 0px 20px 0px rgba(0,0,0,0.19) );
			}
			.vertical-toggle {
			    left: 0;
			}
    	}

    	#dpr-outer-wrapper {
    		margin-right: 300px;
    	}
   		.dpr-footer.parallax-footer {
    	padding-right:300px;
    	}
    }

    &.vertical-header-overlapping-used {
	    &.left-header #dpr-outer-wrapper {
	    	margin-left: 0;
	    }

	    &.right-header #dpr-outer-wrapper {
	    	margin-right: 0;
	    }
    }

    &.vh-expandable {
		&.left-header #dpr-header.vertical-header {
			left: -250px;
		}

		&.left-header #dpr-outer-wrapper {
			margin-left: 50px;
		}

		&.right-header #dpr-header.vertical-header {
			right: -250px;
		}

		&.right-header #dpr-outer-wrapper {
			margin-right: 50px;
		}

	    &.vh-opened {
		    &.left-header {
		    	#dpr-header.vertical-header {
		    		left: 0;
		    	}
		    }

		    &.right-header {
		    	#dpr-header.vertical-header {
		    		right: 0;
		    	}
		    }

		    #dpr-header.vertical-header #dpr-navigation-wrapper {
		    	padding-right: 0;
			}
	    }

		#dpr-header.vertical-header {
			.vertical-toggle {
				display: block;
			}

			#dpr-navigation-wrapper {
			    padding-right: 50px;
			}
		}
    }
}

/*------------------------------------*
	All Devices under 1280px
*------------------------------------*/
@media only screen and (max-width: 1280px) {

	body.vertical-header-style {
	    &.left-header {
	    	#dpr-header.vertical-header {
	    		left: -250px;
	    	}

	    	#dpr-outer-wrapper {
	    		margin-left: 50px;
	    	}
	    }

	    &.right-header {
	    	#dpr-header.vertical-header {
	    		right: -2250px;
	    	}

	    	#dpr-outer-wrapper {
	    		margin-right: 50px;
	    	}
	    }

	    &.vh-opened {
		    &.left-header {
		    	#dpr-header.vertical-header {
		    		left: 0;
		    	}
		    }

		    &.right-header {
		    	#dpr-header.vertical-header {
		    		right: 0;
		    	}
		    }

		    #dpr-header.vertical-header #dpr-navigation-wrapper {
		    	padding-right: 0;
			}
	    }
	}

	#dpr-header.vertical-header {
		.vertical-toggle {
			display: block;
		}

		#dpr-navigation-wrapper {
		    padding-right: 50px;
		}
	}

}
.admin-bar #dpr-header.vertical-header {
	padding-top: 32px;
}

body.vertical-header-style.vh-expandable.vh-opened #dpr-header.vertical-header .vertical-toggle .opener  {
	
			background-color: transparent !important;
	
	
				&:before {
					@include transform( translateY(8px) rotateZ(-45deg) );
				}
	
				&:after {
					@include transform( translateY(-8px) rotateZ(45deg) );
				}
}

body.vertical-header-style.vh-expandable:not(.vh-opened) #dpr-header.vertical-header .vertical-toggle:hover {
			.opener {
				  animation-duration: 0.7s;
				  animation-name: openerwidth;
				  animation-iteration-count: infinite;
				  animation-direction: alternate;
				  
					&:before {
					  animation-duration: 0.6s;
					  animation-name: openerwidth;
					  animation-iteration-count: infinite;
					  animation-direction: alternate;
					}
					
					&:after {
					  animation-duration: 0.5s;
					  animation-name: openerwidth;
					  animation-iteration-count: infinite;
					  animation-direction: alternate;
					}
			}
		}
.vh-expandable  #dpr-header.vertical-header #dpr-header-inner {
	visibility:hidden;
    opacity:0;
    transition:visibility 0.15s linear,opacity 0.15s linear;
}
.vh-expandable.vh-opened  #dpr-header.vertical-header #dpr-header-inner {
	visibility:visible;
    opacity:1;
}