/*
 Theme Name:     Folie Child Theme
 Theme URI:      https://www.codeless.co/folie
 Description:    Folie Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.codeless.co
 Template:       folie
 Version:        1.0.1
*/


/* =Theme customization starts here
------------------------------------------------------- */

/* Fotokacheln */

body #portfolio-entries.overlay-layout-center .overlay-wrapper {
	display: block;
}

body #portfolio-entries.overlay-layout-center .inner-wrapper {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: block;
}

/* Lightboxborder */

body .ilightbox-holder.metro-black {
	padding:0px;
	box-shadow: 0 0 100px rgba(0,0,0,.66);
}

/* 404 */

h2.not-found-404 {
	font-size: 120px !important;
	line-height: 80px !important;
}

/* Scroll To Top */

.scrollToTop {
	width:40px;
	height:40px;
}

.scrollToTop i{
	line-height:38px;
	font-size:16px;
}

/* Passwort */

body .post-password-form input[type="password"] {
	width: 250px;
	height: 50px;
	border: 1px dashed #bfe0ee !important;
	border-bottom: 1px solid #1e1e1e !important;
	box-shadow: none;
	padding-left: 15px;
	margin-right: 25px;
}

#pwmobile {
	padding-top:70px !important;);
}

#pwrow {
	margin-top:40px;
}

/* Mobile Navi */

body nav .codeless_custom_menu_mega_menu h6,
body nav .menu li ul.sub-menu li.hasSubMenu > a,
body .cl-mobile-menu nav > ul > li > a {
font-weight: 700;
line-height: 2.5;
}

/* IFrame Youtube */

.youtube-iframe {
	position: relative;
	width: 100%
}

.youtube-iframe:before {
	content: "";
	display: block;
}

.youtube-iframe iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.youtube-iframe.youtube-iframe-16-9:before {
	padding-top: calc(9 / 16 * 100%);
}

.youtube-iframe.youtube-iframe-1-1:before {
	padding-top: 100%;
}

.youtube-iframe.youtube-iframe-hcay:before {
	padding-top: calc(299 / 703 * 100%);
}

/* Abstand Video */

.cl_custom_code p:first-of-type {
	margin: 0;
}

/* Mobile Navi Bug */

.menu-item {
	opacity: 100 !important;
}

@media (max-width: 767px) {

	.post-password-form input[type="password"] {
		margin-bottom:25px;
	}

	#pwmobile {
		padding-top:20px !important;
	}

	#pwrow {
		margin-top:20px;
	}
}
