/*
	Theme Name: THV AG, Aarau
	Theme URI: None.
	Description: Individuelles Design. Programmierung: Digisol GmbH, Buchs AG. August 2015.
	Version: 1.0
	Author: Baldinger & Baldinger AG, Aarau
	Author URI: www.bald.ch
	Tags:
*/



/***********************************************************************

	Body

************************************************************************/
html, body { height: 100%; }
body { margin: 0px; border:0px; padding:0px; background-color:#FFFFFF; }
.no_display { display:none; }



/***********************************************************************

	Font Styles

************************************************************************/
* { font-family: "BellGothicBT-Roman", Helvetica, Arial, sans-serif; font-size: 20px; }
p, td, li { margin: 0px; font-size:20px; line-height:30px; font-weight: normal; color:#000000; letter-spacing:-0.3px; }
.small_text { font-size: 12px; line-height: 15px; }
b, strong, b > a { font-family: "BellGothicBT-Bold" !important; font-weight:bold; }
h1, h1 nobr { margin:0px 0px 26px 0px; color: #000000; font-size: 22px; line-height: 30px; font-family: "BellGothicBT-Black"; font-weight: normal; text-transform: uppercase; }
#infobox h1 { text-transform: inherit; }
#slider h1 { text-transform: inherit; }
h2, h2 nobr { margin:0px 0px 26px 0px; color: #9f4c58; font-size: 22px; line-height: 30px; font-family: "BellGothicBT-Black"; font-weight: normal; }
h3, h3 nobr { margin:0px 0px 8px 0px; color: #626262; font-size: 20px; line-height: 28px; font-family: "BellGothicBT-Black"; font-weight: normal; }
a { font-size:20px; line-height:30px; text-decoration:underline; color:#9f4c58; }
hr { border-color: #9f4c58; padding:0px; margin:0px; }
.center { text-align:center; }
.clear { clear:both; height:0px; font-size:0px; }
.alignleft { float:left; border:0px; margin-top:4px; margin-right:30px; margin-bottom:30px; }
.alignright { float:right; border:0px; margin-top:4px; margin-left:30px; margin-bottom:30px; }

#content ul { list-style: none; }
#content ul li:before { color: #000; content: "■"; position: relative; }
#content ul { padding-left: 15px; }
#content ul li:before { top:-3px; left: -7px; font-size: 14px; margin-left: -7px; }



/***********************************************************************

	Page Container

************************************************************************/
#service { position:relative; }
	#short_contact { position:absolute; font-family: "BellGothicBT-Bold"; display:block; }
	#short_contact a { text-decoration:none; color:#000000; font-family: "BellGothicBT-Bold"; }
	#short_contact a:hover { color:#9f4c58; }
	#short_contact a:active { color:#000000; }
	.short_contact_number { font-family: "BellGothicBT-Bold"; }
		#short_contact_br { display:none; height:3px; }
		#short_contact_br2 { display:none; }
	#language_selector { position:absolute; }
		#language_selector a { text-decoration:none; color:#a9aaaa; }
		#language_selector a:hover { text-decoration:underline; color:#000000; }
	#news_button a, #xs_news_button a { background-color: #9d4c54; }
	#news_button { position:relative; }
	#news_button a { font-weight: bold; color:#FFFFFF; text-decoration: none; z-index: 1; }
	#news_button a:hover { background-color: #afbf00; }
	#xs_news_button { text-align: center; width: 100%; }
	#xs_news_button a { display: block; height: 61px; width: 100%; padding-top: 16px; color: #FFFFFF; font-weight: bold; text-decoration: none; font-size: 18px; }
	#login_button a, #xs_login_button a { background-color: #9d4c54; }
	.login_button_active a { background-color: #afbf00 !important; }
	#login_button { position:relative; }
	#login_button a { font-weight: bold; color:#FFFFFF; text-decoration: none; z-index: 1; }
	#login_button a:hover { background-color: #afbf00; }
	#xs_login_button { text-align: center; width: 100%; }
	#xs_login_button a { display: block; height: 61px; width: 100%; padding-top: 16px; color: #FFFFFF; font-weight: bold; text-decoration: none; font-size: 18px; }

#head_container { background-color:#ffffff;  }

#head { position:relative; background-color:#ffffff; margin-left:auto; margin-right:auto; }
	#service_navigation { position:absolute; left:0px; }
	#haupt_navigation { position:absolute; left:0px; }
	#haupt_navigation_bg { position:absolute; z-index:99; display:none; background-image:url(images/bg.png); }
	.more { visibility:hidden; }
	#slogan { font-family: "BellGothicBT-Black"; position:absolute; }
	#slogan a { font-family: "BellGothicBT-Black"; text-decoration:none; color:#000000; }
	#logo { position:absolute; right:0px; }

#slider { position:relative; }

#content { position:relative; background-image:url(images/bg.png); margin-left:auto; margin-right:auto; }
	.advisors_preview,
	#advisors { margin-left:-15px; margin-right:-15px; }
	.advisors_preview a,
	#advisors a { font-family: "BellGothicBT-Bold"; font-weight:normal; text-decoration:none; color:#9d4c54; }
	.advisors_preview a { color:#000000; }
	.advisors_preview * { color:#000000 !important; }
	.advisors_preview a:hover,
	#advisors a:hover { text-decoration:underline; }
		#paging { position:absolute; top:38px; right:24px; z-index:2; }
		#paging div { display:inline-block; width:16px; margin-left:22px; }

	.collapseomatic { border-top:1px solid #9f4c58; width:100%; display: inline-block; padding-top:6px !important; padding-bottom:6px !important; font-family: "BellGothicBT-Bold"; font-weight:normal; text-decoration:none; color:#000000; background-image:url(images/zoom.png) !important; padding-left:60px !important; background-size: 24px 24px; background-position:16px 8px; }
	.collapseomatic:hover { text-decoration:none; }
	.collapseomatic_content { padding-left:50px !important; margin-left:10px !important; }
	.collapseomatic_last { border-bottom:1px solid #9f4c58 !important; }
	.colomat-close { background-image:url(images/zoom_down.png) !important; }
	.stretch { width:100%; }
	

/* Foot */
.foot { position:relative; background-image:url(images/bg.png); margin-left:auto; margin-right:auto; }
	.foot hr { margin-top: 14px; margin-bottom:12px; border-top:1px solid #000000; }
		.foot a { text-decoration:none; color:#000000 }
		.foot a:hover { text-decoration:underline; }


/* Address Spacer within Foot */
.address_spacer { display:inline-block; }

/* General Classes */
.white_background { background-color:#FFFFFF; }



/***********************************************************************

	Corrections

************************************************************************/
/* Bootstrap - no Gutter */
.no-gutter > [class*='col-'] {
    padding-right:0;
    padding-left:0;
}
/* Bootstrap - no outer Gutter */
.no-outer-gutter { margin-left:-15px; margin-right:-15px; }

/* Google Maps move up */
.gmaps { position:relative; top:-3px;}




/***********************************************************************

	Bootstrap Submenus

************************************************************************/
/* Service Navigation Correction */
#service_navigation a,
#service_navigation a.sel {
	font-family: "BellGothicBT-Bold";
	font-weight: normal;
	text-decoration:none;
}
#service_navigation .dropdown-menu {
	font-size:0px;
	-webkit-box-shadow:none;
	box-shadow:none;
	border:0px;
	padding:0px;
	border-radius:0px;
	position:absolute;
	left:0px;
	width:500px;
	background-color:transparent !important;
}

#service_navigation > ul > li > a { background-color:transparent; color:#a9aaaa; }
#service_navigation > ul > li > a.dropdown-toggle:focus,
#service_navigation > ul > li > a.dropdown-toggle:hover,
#service_navigation > ul > li > a:hover,
#service_navigation > ul > li > a.sel { background-color:transparent !important; color:#000000 !important; }

#service_navigation ul li ul li a { color:#a9aaaa; }
#service_navigation ul li ul li a.sel { color:#000000; background-color:transparent !important; }
#service_navigation ul li ul li a:hover { color:#000000; background-color:transparent !important; }

#service_navigation ul li ul li { display:inline-block;  }


/* Hauptnavigation bar Correction */
#haupt_navigation > .nav > li {
	line-height:0px;
}
#haupt_navigation a,
#haupt_navigation a.sel {
	font-family: "BellGothicBT-Black";
	font-weight: normal;
	text-decoration:none;
}
#haupt_navigation .dropdown-menu {
	-webkit-box-shadow:none;
	box-shadow:none;
	border:0px;
	padding:0px;
	background-color: transparent;
	border-radius:0px;
	font-size:0px;
}

#haupt_navigation > ul > li > a { background-color:#ffffff; color:#a9aaaa; }
#haupt_navigation > ul > li > a.dropdown-toggle:focus,
#haupt_navigation > ul > li > a.dropdown-toggle:hover,
#haupt_navigation > ul > li > a:hover,
#haupt_navigation > ul > li > a.sel { background-color:transparent !important; color:#000000 !important; }

#haupt_navigation ul li ul li a { color:#000000; font-family: "BellGothicBT-Bold"; }
#haupt_navigation ul li ul li a.sel { background-color:#transparent; }
#haupt_navigation ul li ul li a:hover { background-color:#ffffff; }

#haupt_navigation ul li ul li { display:inline-block;  }
#haupt_navigation .dropdown-menu { position:absolute; left:0px; width:870px; }



/* Slider general */
.flexslider { margin: 0px !important; }

/* Break */
.quote_br { display:inline; }
.quote_linebreak { display:inline; }

/* Slider Infoboard */
.caption-wrap {
	width:auto !important;
	bottom:auto !important;
	opacity:1 !important;
	background-color:#aec000 !important;
	color:#ffffff !important;
}


/* Slider Infoboard Text */
.caption-wrap h1 *,
.caption-wrap h1 { color:#ffffff; }
.caption-wrap * { font-family: "BellGothicBT-Black"; color:#9f4c58; }


/* Slider Arrows */
.flex-direction-nav a {
	transition: none !important;
	-moz-transition: none !important;
	background-color:#FFC4C5 !important;
}


/* Slider Paging */
.fixed {
	position:fixed !important;
}

.flex-control-paging li a {
	-webkit-border-radius: 0px !important; -moz-border-radius: 0px !important; -o-border-radius:0px !important; border-radius: 0px !important;
	background-color: #aec000 !important;
	box-shadow:none !important;
	font-size:0px !important;
}
.flex-control-paging li a.flex-active {
	background-color: #9f4c58 !important;
}
.flex-control-paging li a:hover {
	background-color: #9f4c58 !important;
}


/* Infobox */
#infobox { background-color:#aec000; color:#1d1d1b; }
#infobox * { color:#1d1d1b; }
#infobox ul {
	list-style: none;
}
#infobox ul li:before {
	color: #fff;
	content: "■";
	position: relative; 
}






/***********************************************************************

	xs

************************************************************************/
@media (max-width: 767px){

	#cookie-notice {
		padding:30px 15px !important;
	}

	.navbar { margin-bottom:0px; border:0px; }
	.navbar-header { background:#ffffff; height:100px; border-bottom:1px solid #000000; }
		.navbar-nav { margin-top:0px; }
		.navbar-collapse { border:0px; }
		.navbar-default { border:0px; background-color:transparent; background-image:url(images/bg.png); }
		.navbar-toggle { float:left !important; left:13px !important; border:0px solid #000000; left:2px; top:43px;}
		.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover { background-color:#ffffff; }
		.navbar-brand { float:right !important; right:15px; padding:9px 15px; }
		.navbar-toggle .icon-bar { border-radius:0px; margin-bottom:6px; height:3px; width:16px; margin-left:3px; background-color:#9d9d9c !important; }
		.navbar-toggle .icon-bar-dot { position:relative; display:inline-block; top:-16px; left:-14px; height:7px; width:7px; background-color:#9d9d9c; }

		.navbar-default .navbar-nav a, .navbar-default .navbar-text { color:#000000 !important; text-decoration:none; }
		.navbar-default .navbar-nav > li > a { border-bottom:1px solid #000000; }
		.nav .open > a, .nav .open > a:focus, .nav .open > a:hover { border-color:#000000; }

		.navbar-default .sel { font-family: "BellGothicBT-Black"; }

		.navbar-nav .open .dropdown-menu .dropdown-header, .navbar-nav .open .dropdown-menu > li > a { padding-top:10px; padding-bottom:10px; }

		.dropdown-menu a { white-space:normal !important; }

		.navbar-brand-slogan { font-family: "BellGothicBT-Black"; position:absolute; top:62px; right:15px; }
		.navbar-brand-slogan a { font-family: "BellGothicBT-Black"; text-decoration:none; color:#000000; font-size:15px; line-height:18px; }

		#phones { position:absolute; left:17px; top:2px; }
		#phones a { text-decoration:none; color:#000000; font-size:17px; }
		#phones img { position:relative; top:-2px; }
		#phones div { display:inline; margin-right:15px; }

	.more { visibility:visible; }

	/* Eine Idee menschlicher */
	#circle_image_text { margin-top:30px; }

	/* Slider Infoboard */
	.caption-wrap {
		position:relative !important;
		top:auto !important;
		bottom:auto !important; 
		left:0px !important;
		right:0px !important;
		padding:0px !important;
	}

	/* Break */
	.quote_br { display:none; }
	.quote_linebreak { display:none; }

	/* Slider Infoboard Text */
	.caption-wrap * { font-size:14px; line-height:24px;  }
	.caption-wrap h1 { font-size:18px; line-height:24px; margin-bottom:0px; display:inline; }
	/* Slider images */
	.flex-direction-nav a {
		top: 33% !important;
	}


	/* Slider Arrows */
	.flex-direction-nav {
		display:none;
	}


	/* Slider Paging */
	.flex-control-nav {
		display:none;
	}


	/* Content */
	#content { margin-top:0px; margin-left:0px; margin-right:0px; padding:30px 15px 80px 15px; width:auto; }
	.karte { border: 1px solid #9f4c58; margin-top: 20px; }


	/* Advisors Preview */
	.advisors_preview * { font-size:15px; line-height:19px; }

	/* Kundenmagazin Link */
	#kundenmagazin a { font-size:16px; line-height:20px; }

	/* Back / Paging Link */
	#paging a { color:#000000; text-decoration:none; text-shadow: 1px 0 0 #fff, -1px 0 0 #fff, 0 1px 0 #fff, 0 -1px 0 #fff, 1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff; }


	/* Infobox */
	#infobox { position:relative; top:0px; left:0px; margin-top:42px; width:auto; padding:20px 26px; z-index:1 }
	#infobox h1 { margin-bottom: 10px; }
	#infobox ul { padding-left: 14px; }
	#infobox ul li:before { top:-3px; left: -7px; font-size: 14px; margin-left: -7px; }


	/* Foot */
	.foot { width:auto; margin-left:0px; margin-right:0px; padding:10px 15px; margin-top:0px; }
	.foot * { font-size:16px; line-height:21px; }

	#language_selector_xs { }

	/* Google Maps integration */
	.themeblvd-gmap { height:340px !important; }


	/* Address Spacer within Foot */
	.address_spacer { width:10px; }
	.address_xs_break { width:0px; display:block; }

	.ngg-add-gallery-title { font-size:11px; line-height:15px; }

}
/***********************************************************************

	xxs

************************************************************************/
@media (min-width: 500px) and (max-width: 767px) {
	.ngg-add-gallery-title { font-size:16px; line-height:20px; }
}
/***********************************************************************

	sm

************************************************************************/
@media (min-width: 768px) and (max-width: 991px) {
	#service { height:38px; width:auto; padding-left:52px; }
		#short_contact { position:relative; display:inline; top:6px; left:0px; font-size:15px; line-height:22px; letter-spacing:-0.1px; }
		#short_contact a { font-size:15px; line-height:22px; letter-spacing:-0.1px; }
		.short_contact_number { font-size:15px; line-height:22px; letter-spacing:-0.1px; }
		#language_selector { position:relative; display:inline; top:6px; margin-left:15px; right:auto; }
		#language_selector *,
		#language_selector a { font-size:15px; line-height:22px; letter-spacing:-0.8px; }
		#news_button { display:inline; margin-left:15px; right:auto; }
		#news_button a { font-size:16px; line-height:22px; position: absolute; top:-2px; padding: 10px 10px 8px 10px; }
		#login_button { display:inline; margin-left:0px; right:auto; }
		#login_button a { font-size:16px; line-height:22px; position: absolute; top:-2px; padding: 10px 10px 8px 10px; }

	#head { height:64px; width:100%; }
		#service_navigation { position:relative; top:-31px; }
		#haupt_navigation { bottom:16px; }
		.more { visibility:visible; }
		#slogan { left:auto; right:165px; bottom:27px; }
		#slogan a { font-size:14px; line-height:18px; }
		#logo { bottom:18px; width:100px; left:auto; right:55px; }


		/* Navigation Correction (Left start) */
		#service_navigation { left:-10px; }
		#haupt_navigation { left:45px; }


		/* Service Navigation Elements in Dropdown */
		#service_navigation > .nav > li > a {
			padding:2px 10px !important;
		}
		/* Service Navigation Fontsize */
		#service_navigation a,
		#service_navigation a.sel {
			font-size: 15px;
			line-height: 18px;
		}
		/* Service Navigation Dropdown Correction (Left start) */
		#service_navigation .dropdown-menu {
			left:0px;
		}
		/* Service Navigation Dropdown Items Padding */
		#service_navigation .dropdown-menu a {
			padding:0px 10px !important;
		}


		/* Haupt Navigation Correction */
		#haupt_navigation > .nav > li > a {
			padding:10px 5px !important;
		}
		/* Haupt Navigation Font Size */
		#haupt_navigation a,
		#haupt_navigation a.sel {
			font-size: 18px;
		}
		/* Haupt Navigation Position of Dropdown Menu */
		#haupt_navigation .dropdown-menu {
			top:65px;
			left:16px;
			padding:8px 0px;
		}
		/* Haupt Navigation Dropdown Items Fontsize and Padding */
		#haupt_navigation .dropdown-menu a {
			font-size: 15px;
			padding:0px 5px !important;
		}


	/* Slider Infoboard */
	.caption-wrap {
		top:160px;
		left:10% !important;
		padding:15px 20px !important;
	}
	/* Slider Infoboard Text */
	.caption-wrap * { font-size:18px; line-height:18px; font-size: 1.1vw; line-height:1vw; }
	.caption-wrap h1 *,
	.caption-wrap h1 { font-size:28px; line-height:36px; margin-bottom:0px; font-size: 2vw; line-height:2.6vw; }
	/* Slider images */
	.flex-direction-nav a {
		top: 33% !important;
	}


	/* Slider Arrows */
	.flex-direction-nav a {
		height:77px !important;
		width:33px !important;
		background:url(images/slider_arrows_l.png) no-repeat !important;
	}
	.flex-direction-nav .flex-prev {
		left:20px !important;
	}
	.flex-direction-nav .flex-next {
		background-position: 100% 0 !important;
		right:20px !important;
	}


	/* Slider Paging */
	.flex-control-nav {
		bottom:0px !important;
		line-height:0px !important;
	}
	.flex-control-nav li {
		height:17px;
	}
	.flex-control-nav li a { margin: 7px 5px 0px 5px !important; }
	.flex-control-paging li a {
		width: 10px !important;
		height: 10px !important;
	}


	/* Content */
	#content { margin-top:35px; margin-left:25px; margin-right:25px; padding:40px 30px 80px 30px; width:auto; min-height: 600px; }
	.karte { border: 1px solid #9f4c58; position: relative; top: 59px; }
	.pum-container { top: auto !important; bottom: 40px !important; left: auto !important; right: 30px !important; }


	/* Infobox */
	#infobox { position:relative; top:30px; left:0px; width:405px; padding:20px 26px; z-index:1 }
	#infobox h1 { margin-bottom: 10px; }
	#infobox ul { padding-left: 14px; }
	#infobox ul li:before { top:-3px; left: -7px; font-size: 14px; margin-left: -7px; }


	/* Foot */
	.foot { width:auto; margin-left:25px; margin-right:25px; padding:10px 20px 10px 20px; margin-top:0px; }
	.foot * { font-size:13px; line-height:16px; }
	.foot_logo { width:100px; }

	/* Break Navigation into 4 Pieces */
	.navigation-repeat [class*="col-"]:nth-child(5) {
		clear:both;
	}

	.navigation-repeat [class*="col-"]:nth-child(2) {
		padding-bottom:38px;
	}

	/* Address Spacer within Foot */
	.address_spacer { width:10px; }
	.address_xs_break { width:0px; display:block; }

	.ngg-add-gallery-title { font-size:16px; line-height:20px; }

}
/***********************************************************************

	md

************************************************************************/
@media (min-width: 992px) and (max-width: 1499px) {
	#service { height:39px; width:870px; margin-left:auto; margin-right:auto; }

		#short_contact { position:relative; display:inline; top:6px; left:2px; font-size:15px; line-height:22px; letter-spacing:-0.1px; }
		#short_contact a { font-size:15px; line-height:22px; letter-spacing:-0.1px; }
		.short_contact_number { font-size:15px; line-height:22px; letter-spacing:-0.1px; }

		#language_selector { position:relative; display:inline; top:6px; margin-left:20px; right:auto; }
		#language_selector *,
		#language_selector a { font-size:15px; line-height:22px; letter-spacing:-0.8px; }
		#news_button { display:inline; margin-left:20px; right:auto; }
		#news_button a { font-size:16px; line-height:22px; position: absolute; top:-2px; padding: 10px 18px; }
		#login_button { display:inline; margin-left:0px; right:auto; }
		#login_button a { font-size:16px; line-height:22px; position: absolute; top:-2px; padding: 10px 18px; }

	#head { height:74px; width:870px; }
		#service_navigation { top:-31px; }
		#haupt_navigation { bottom:18px; }

		#slogan { left:570px; bottom:30px; font-size:22px; line-height:22px; }
		#slogan a { font-size:16px; line-height:22px; }

		#logo { bottom:19px; width:110px; }


		/* Navigation Correction (Left start) */
		#service_navigation { left:-10px; }
		#haupt_navigation { left:-10px; }


		/* Service Navigation Elements in Dropdown */
		#service_navigation > .nav > li > a {
			padding:2px 10px !important;
		}
		/* Service Navigation Fontsize */
		#service_navigation a,
		#service_navigation a.sel {
			font-size: 15px;
			line-height: 18px;
		}
		/* Service Navigation Dropdown Correction (Left start) */
		#service_navigation .dropdown-menu {
			left:0px;
		}
		/* Service Navigation Dropdown Items Padding */
		#service_navigation .dropdown-menu a {
			padding:0px 10px !important;
		}

		/* Haupt Navigation Correction */
		#haupt_navigation > .nav > li > a {
			padding:10px 10px !important;
		}
		/* Haupt Navigation Font Size */
		#haupt_navigation a,
		#haupt_navigation a.sel {
			font-size: 21px;
		}
		/* Haupt Navigation Position of Dropdown Menu */
		#haupt_navigation .dropdown-menu {
			top:67px;
			left:16px;
			padding:8px 0px;
		}
		/* Haupt Navigation Dropdown Items Fontsize and Padding */
		#haupt_navigation .dropdown-menu a {
			font-size: 17px;
			padding:0px 10px !important;
		}


	/* Slider Infoboard */
	.caption-wrap {
		top:150px;
		left:10% !important;
		padding:15px 20px !important;
	}
	/* Slider Infoboard Text */
	.caption-wrap * { font-size:18px; line-height:18px; font-size: 1.1vw; line-height:1vw; }
	.caption-wrap h1 *,
	.caption-wrap h1 { font-size:26px; line-height:34px; margin-bottom:0px; font-size: 1.8vw; line-height:2.3vw; }
	/* Slider images */
	.flex-direction-nav a {
		top: 33% !important;
	}


	/* Slider Arrows */
	.flex-direction-nav a {
		height:77px !important;
		width:33px !important;
		background:url(images/slider_arrows_l.png) no-repeat !important;
	}
	.flex-direction-nav .flex-prev {
		left:40px !important;
	}
	.flex-direction-nav .flex-next {
		background-position: 100% 0 !important;
		right:40px !important;
	}


	/* Slider Paging */
	.flex-control-nav {
		bottom:0px !important;
		line-height:0px !important;
	}
	.flex-control-nav li {
		height:18px;
	}
	.flex-control-nav li a { margin: 7px 6px 0px 6px !important; }
	.flex-control-paging li a {
		width: 12px;
		height: 12px;
	}


	/* Content */
	#content { margin-top:40px; padding:40px 30px 80px 30px;; width:926px; min-height: 600px; }
	.content_with_infobox { padding-right:385px !important; }
	.stretch { width:866px; }
	.karte { border: 1px solid #9f4c58; position: relative; top: 59px; }
	.pum-container { top: auto !important; bottom: 50px !important; left: auto !important; right: 40px !important; }


	/* Infobox */
	#infobox { position:absolute; top:160px; left:561px; width:405px; padding:20px 26px; z-index:1 }
	#infobox h1 { margin-bottom: 10px; }
	#infobox ul { padding-left: 14px; }
	#infobox ul li:before { top:-3px; left: -7px; font-size: 14px; margin-left: -7px; }


	/* Foot */
	.foot { width:926px; padding:10px 20px 10px 20px; margin-top:0px; }
	.foot * { font-size:13px; line-height:16px; }
	.foot_logo { width:110px; }


	/* Address Spacer within Foot */
	.address_spacer { width:10px; }

	.ngg-add-gallery-title { font-size:18px; line-height:22px; }

}
/***********************************************************************

	lg

************************************************************************/
@media (min-width: 1500px) {
	#service { height:39px; width:870px; margin-left:auto; margin-right:auto; }

		#short_contact { position:relative; display:inline; top:6px; left:2px; font-size:16px; line-height:22px; letter-spacing:-0.1px; }
		#short_contact a { font-size:16px; line-height:22px; letter-spacing:-0.1px; }
		.short_contact_number { font-size:15px; line-height:22px; letter-spacing:-0.1px; }

		#language_selector { position:relative; display:inline; top:6px; margin-left:20px; right:auto; }
		#language_selector *,
		#language_selector a { font-size:16px; line-height:22px; letter-spacing:-1px; left:20px; right:auto; }
		#news_button { display:inline; margin-left:20px; right:auto; }
		#news_button a { font-size:16px; line-height:22px; position: absolute; top:-2px; padding: 11px 23px; }
		#login_button { display:inline; margin-left:0px; right:auto; }
		#login_button a { font-size:16px; line-height:22px; position: absolute; top:-2px; padding: 11px 23px; }

	#head { height:90px; width:870px; }
		#service_navigation { top:-27px; }
		#haupt_navigation { bottom:20px; }

		#slogan { left:550px; bottom:32px; font-size:22px; line-height:22px; }
		#slogan a { font-size:16px; line-height:22px; }

		#logo { bottom:17px; width:130px; }


		/* Navigation Correction (Left start) */
		#service_navigation { left:-10px; }
		#haupt_navigation { left:-10px; }


		/* Service Navigation Elements in Dropdown */
		#service_navigation > .nav > li > a {
			padding:2px 10px !important;
		}
		/* Service Navigation Fontsize */
		#service_navigation a,
		#service_navigation a.sel {
			font-size: 15px;
			line-height: 18px;
		}
		/* Service Navigation Dropdown Correction (Left start) */
		#service_navigation .dropdown-menu {
			left:0px;
		}
		/* Service Navigation Dropdown Items Padding */
		#service_navigation .dropdown-menu a {
			padding:2px 10px !important;
		}


		/* Haupt Navigation Correction */
		#haupt_navigation > .nav > li > a {
			padding:10px 10px !important;
		}
		/* Haupt Navigation Font Size */
		#haupt_navigation a,
		#haupt_navigation a.sel {
			font-size: 21px;
		}
		/* Haupt Navigation Position of Dropdown Menu */
		#haupt_navigation .nav li {
			font-size:0px !important;
			line-height:0px !important;
		}
		#haupt_navigation .dropdown-menu {
			top:69px;
			left:16px;
			padding:8px 0px;
		}
		/* Haupt Navigation Dropdown Items Fontsize and Padding */
		#haupt_navigation .dropdown-menu a {
			font-size: 17px;
			padding:0px 10px !important;
		}


	/* Slider Infoboard */
	.caption-wrap {
		top:100px;
		left:10% !important;
		padding:15px 20px !important;
	}
	/* Slider Infoboard Text */
	.caption-wrap * { font-size:20px; line-height:20px; font-size: 1.1vw; line-height:1vw; }
	.caption-wrap h1 *,
	.caption-wrap h1 { font-size:36px; line-height:44px; margin-bottom:0px; font-size: 2vw; line-height:2.6vw; }
	/* Slider images */
	.flex-direction-nav a {
		top: 38% !important;
	}


	/* Slider Arrows */
	.flex-direction-nav a {
		height:77px !important;
		width:33px !important;
		background:url(images/slider_arrows_l.png) no-repeat !important;
	}
	.flex-direction-nav .flex-prev {
		left:60px !important;
	}
	.flex-direction-nav .flex-next {
		background-position: 100% 0 !important;
		right:60px !important;
	}


	/* Slider Paging */
	.flex-control-nav {
		bottom:0px !important;
		line-height:0px !important;
	}
	.flex-control-nav li {
		height:18px;
	}
	.flex-control-nav li a { margin: 7px 6px 0px 6px !important; }
	.flex-control-paging li a {
		width: 12px;
		height: 12px;
	}


	/* Content */
	#content { margin-top:40px; padding:40px 30px 80px 30px;; width:926px; min-height: 600px; }
	.content_with_infobox { padding-right:185px !important; }
	.stretch { width:866px; }
	.karte { border: 1px solid #9f4c58; position: relative; top: 59px; }
	.pum-container { top: auto !important; bottom: 60px !important; left: auto !important; right: 50px !important; }
	.berater_funktion_kurz *, .berater_telefon *, .berater_mail * { font-size: 18px; line-height: 24px; }
	.berater_funktion_kurz * { font-weight: 400; }
	.berater_funktion_kurz ul { margin-bottom: 5px; }


	/* Infobox */
	#infobox { position:absolute; top:160px; left:769px; width:405px; padding:20px 26px; z-index:1; clear:both; }
	#infobox h1 { margin-bottom: 10px; }
	#infobox ul { padding-left: 14px; }
	#infobox ul li:before { top:-3px; left: -7px; font-size: 14px; margin-left: -7px; }


	/* Foot */
	.foot { width:926px; padding:10px 20px 10px 20px; margin-top:0px; }
	.foot * { font-size:13px; line-height:16px; }
	.foot_logo { width:130px; }
	.foot_lastline { height:32px; }

	/* Address Spacer within Foot */
	.address_spacer { width:10px; }

	.ngg-add-gallery-title { font-size:20px; line-height:24px; }

}


/***********************************************************************

	Remove Focus from Links

************************************************************************/
a:hover, a:active, a:focus { outline:0 !important; }



/***********************************************************************

	Gallery

************************************************************************/
	.ngg-gallery-thumbnail-box { padding:0 1% 1% 0 !important; }
		.ngg-gallery-thumbnail { margin-right:0px !important; overflow:hidden !important; }
				.ngg-gallery-thumbnail img { border:0px !important; background-color:transparent !important; margin:0px !important; padding:0px !important; }
		.ngg-add-gallery-title { bottom:0px; text-align:center; }

/***********************************************************************

	xs

************************************************************************/
@media (max-width: 767px){
	.ngg-gallery-thumbnail-box { width:50% !important; }
}
/***********************************************************************

	sm

************************************************************************/
@media (min-width: 768px) {
	.ngg-gallery-thumbnail-box { width:33.3% !important; }
}


