/*
Theme Name: TheGem Child
Description: Multi-Purpose Wordpress Theme
Author: Codex Themes.
Theme URI: http://codex-themes.com/thegem/
Author URI: http://codex-themes.com/thegem/
Template: thegem
Version: 1.0
Tags: one-column, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, full-width-template, theme-options, translation-ready, dark, light
License: GNU General Public License
License URI: license.txt
*/

@media only screen and (max-width: 768px){
     .block-content {
         padding-top: 50px !important;
		 padding-bottom: 50px !important;
     }   
     
     .page-title-background-overlay {
         background-color: #ffffffb8 !important;
     }

}

.title-xlarge{
	padding-top: 6px;
}

.startseite-element-3 > div > div > .quickfinder > div > a:active{
	pointer-events: none;
	cursor: default !important;
}


@media only screen and (min-width: 768px){	
	.startseite-element-3 > div > div > .quickfinder > div:nth-child(4),
	.startseite-element-3 > div > div > .quickfinder > div:nth-child(5),
	.startseite-element-3 > div > div > .quickfinder > div:nth-child(6){
		margin-bottom: 0px !important;
		padding-bottom: 0px !important;
	}
	.gem-team-style-4 .team-person {
		min-height: 250px !important;
		padding-bottom:10px !important;	
	}
}

.gem-team-style-4 .team-person {
	padding-bottom: 40px;	
}


.startseite-element-3 > div > div > .quickfinder{
	padding-top: 0 !important;
}

.vc_tta-tabs.vc_tta-has-pagination .vc_pagination{
	margin: 0 !important;
}

.startseite-element-3 > div > div > .quickfinder{
	padding-bottom: 90px !important;
}

.cf7ic_instructions, .cf7ic_instructions span {
	color: white !important;
}

.captcha-image.cf7ic-style1 {
	padding-top: 25px !important;
}

.cf7ic-icon-wrapper {
	display: block !important;
}

.custom-qf .quickfinder-item-title::after {
	background-color: #214099 !important;
}

.top-area .gem-button{
	pointer-events: none !important;
}
.custom-footer a:hover, .custom-footer a {
	color: white !important;
	text-decoration: underline;
}

/* SEO MENU */
.menu-seo-seitenleiste-container{
	position: fixed !important;
	left: 0 !important;
	top: 50% !important;
	width: 200px !important;
	z-index: 9999999999999999;
}

*[id^="menu-seo-seitenleiste"]{
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

*[id^="menu-seo-seitenleiste"] > li{
	height: 44px !important;
	background-color: #214099 !important;
	margin: 0px 0px 2px 0px !important;
	list-style: none !important;
}

*[id^="menu-seo-seitenleiste"] > li:last-child{
	margin-bottom: 0px !important;
}

*[id^="menu-seo-seitenleiste"] > li > a{
	width: 100% !important;
	height: 100% !important;
	float: left !important;
	color: #ffffff !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	box-sizing: border-box!important;
	width: 100% !important;
	height: 100% !important;
	float: left !important;
	padding: 9px 0px 9px 18px !important;
	font-size: 12px !important;
	line-height: 0 !important;
}

*[id^="menu-seo-seitenleiste"] > li > a:hover{
	color: #ffffff !important;
}

@media only screen and (max-width: 1200px){
	.menu-seo-seitenleiste-container{
		display: none;
	}
}

/* SEO PAGES */
.seo-wrapper,
.seo-row{
	width: 100%;
}

.seo-wrapper{
	max-width: 1300px;
	margin: auto;
}

.seo-row{
	display: flex;
	margin-bottom: 80px;
}

.seo-row:last-child{
	margin-bottom: 0px;
}

.seo-column{
	width: 50%;
	max-height: 100%;
	float: left;
	flex: 1;
	position: relative;
}

.seo-image-inner-left{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 80%;
    position: absolute;
	right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.seo-image-inner-right{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 80%;
    position: absolute;
	left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.seo-text{
	background-color: #214099;
}

.seo-text-inner,
.seo-text-inner > p,
.seo-text-inner > h3{
	color: #ffffff !important;
}

.seo-text-inner,
.seo-text-inner > p{
	font-size: 16px !important;
	line-height: 24px !important;
}

.seo-text-inner > h3{
	font-size: 26px !important;
	line-height: 30px !important;
	margin: 0px 0px 14px 0px !important;
}

.seo-text-inner{
	padding: 60px;
	box-sizing: border-box;
}

@media only screen and (max-width: 1200px){	
	.seo-row{
		flex-direction: column;
		margin-bottom: 40px;
	}
	
	.seo-column{
		width: 100%;
		min-height: 400px;
		flex: 0 0 100%;
	}
	
	.seo-row:nth-child(odd) > .seo-column:first-child{
		order: 2;
	}
	
	.seo-row:nth-child(odd) > .seo-column:last-child{
		order: 1;
	}
	
	.seo-text-inner{
		padding: 32px;
	}
	
	.seo-image-inner-left{
		height: 100%;
	}
	
	.seo-text-inner > h3{
		font-size: 24px !important;
	}
	
	.seo-text-inner,
	.seo-text-inner > p{
		font-size: 14px !important;
		line-height: 20px !important;
	}
}
/* RECHTLICHE UNTERSEITEN */
.imp-header-all{line-height: 1.2; margin-top: 20px; margin-bottom: 10px;}
.imp-paragraph{margin-bottom: 10px; line-height: 26px; font-size: 16px;}
.ds-header-all{line-height: 1.2; margin-top: 20px; margin-bottom: 10px;}
.ds-header-1{font-size:32px;}
.ds-header-2{font-size:28px;}
.ds-header-3{font-size:24px;}
.ds-wrapper{margin-left: 20px;}
.ds-paragraph{margin-bottom: 10px; line-height: 26px; font-size: 16px;}


#site-header.fixed.shrink .top-area-background:before, #site-header.fixed.shrink .header-background:before {
	opacity: 1 !important;
}