/****************************** MAIN STYLES - backgorund,deviders ******************************/

/* Main Container */

img, embed, object, video {
	max-width: 100%;
}

/* Deviders */

div.line {
	height: 6px;
	background: url(../images/separator.png) 0 0 no-repeat;
	border-top: 2px solid #cfa0d1;
	display: block;
	margin: 0;
	position: relative;
	z-index: -99;
}

div.sepContainer {
	height: 4px;
	/* background-color: #6CBD7D; */
	/* background:#e1e8ed; */
	background: #BDEDA2;
	border-left: 20px solid #bdf5bd;
	display: block;
	margin: 20px 0;
}

div.sepContainer1 {
	height: 4px;
	background-color: #6CBD7D;
	/* background:#e1e8ed; */
	border-left: 20px solid #bdf5bd;
	display: block;
	margin: 10px 0 30px 0;
	position: relative;
	z-index: -99;
}

div.sepContainer2 {
	height: 4px;
	background-color: #6CBD7D;
	/* background:#e1e8ed; */
	border-left: 20px solid #bdf5bd;
	display: block;
	margin: 5px 0px;
	position: relative;
	z-index: -99;
}

div.blankSeparator {
	/* background-color: #8FCD9C; */
	background-color: #ddf6d0;
	height: 20px;
	margin: auto;
	display: block;
	position: relative;
	z-index: 1;
	/* width: 960px; */
	cursor: default;
}

div.blankSeparator1 {
	height: 1px;
	margin: 25px 0;
	display: block;
	position: relative;
	z-index: -99;
	cursor: default;
}

div.blankSeparator2 {
	height: 1px;
	margin: 10px 0;
	display: block;
	position: relative;
	z-index: -99;
	cursor: default;
}

/****************************** HOME - Content Part - Logo&Menu ******************************/

/* Header - Logo & Menu */

#header {
	/* */
	background: url(../images/home/schweine_background_400.png);
	margin-top: 0px;
	border-bottom: 1px solid #6d8696;
	position: relative;
	z-index: 5;
	padding-top: 280px;
	/* width: 100%; */
}

.logo {
	/* width: 15%; */
	/* background: url(../images/home/logo_desktop.png); */
	/* width: 100%; */
	float: left;
	left: 0px;
	margin-right: 10px;
	position: fixed;
	top: 0px;
	z-index: 1;
	/* margin-top:45px; */
	/* margin-bottom:10px; */
}

/*mobile screens */

/* @media only screen and (max-width: 479px) { */

/* .logo { */

/* float: left; */

/* left: 0px; */

/* margin-right: 10px; */

/* position: relative;  */

/* top: 0px; */

/* z-index: 1; */

/* } */

/* .desktop-logo { */

/* display: none !important;  */

/* } */

/* .tablet-logo { */

/* display: none !important;  */

/* } */

/* } */

/* smaller screens and tablets */

/* @media only screen and (max-width: 1299px) { */

/* .logo { */

/* float: left; */

/* left: 0px; */

/* margin-right: 10px; */

/* position: relative;  */

/* top: 0px; */

/* z-index: 1; */

/* } */

/* .tablet-logo { */

/* display: none !important;  */

/* } */

/* .mobile-logo { */

/* display: none !important;  */

/* } */

/* } */

@media only screen and (max-width: 480px) {
	#header {
		/* */
		background: url(../images/home/stroh_background.jpg);
		margin-top: 0px;
		border-bottom: 1px solid #6d8696;
		position: relative;
		z-index: 5;
		padding-top: 5px;
		/* width: 100%; */
	}
	.logo {
		float: left;
		left: 0px;
		margin-right: 10px;
		position: relative;
		top: 0px;
		z-index: 1;
	}
	.desktop-logo {
		display: none !important;
	}
	.mobile-logo {
		display: none !important;
	}
	img, embed, object, video {
		max-height: 350px;
		display: block; 
		margin: auto;
	}
}

@media only screen and (min-width: 481px) and (max-width: 960px) {
	#header {
		/* */
		background: url(../images/home/header_mobile.png);
		margin-top: 0px;
		border-bottom: 1px solid #6d8696;
		position: relative;
		z-index: 5;
		padding: 0px;
		/* width: 100%; */
	}
	.logo {
		float: left;
		left: 0px;
		margin-right: 10px;
		position: relative;
		top: 0px;
		z-index: 1;
	}
	.desktop-logo {
		display: none !important;
	}
	.mobile-logo {
		display: none !important;
	}
	img, embed, object, video {
		max-height: 350px;
	}
}

/* tablets maybe? */

@media only screen and (min-width: 961px) and (max-width: 1320px) {
	#header {
		/* */
		background: url(../images/home/schweine_background.png);
		margin-top: 0px;
		border-bottom: 1px solid #6d8696;
		position: relative;
		z-index: 5;
		padding: 0px;
		/* width: 100%; */
	}
	.logo {
		float: left;
		left: 0px;
		margin-right: 10px;
		position: relative;
		top: 0px;
		z-index: 1;
	}
	.tablet-logo {
		display: none !important;
	}
	.mobile-logo {
		display: none !important;
	}
	img, embed, object, video {
		max-height: 500px;
		display:block; 
		margin:auto;
	}
}

/* normal screen (devices and browsers) */

@media only screen and (min-width: 1285px) {
	.tablet-logo {
		display: none !important;
	}
	.mobile-logo {
		display: none !important;
	}
	img, embed, object, video {
		max-height: 600px;
		display:block; 
		margin:auto;
	}
}

#mainmenu {
	width: 75%;
	float: right;
	z-index: 76;
	margin-top: 60px;
	margin-bottom: 0px;
}

ul.sf-menu {
	margin-top: 0px;
}

/*** ESSENTIAL STYLES ***/

.sf-menu, .sf-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sf-menu {
	line-height: 1.0;
}

.sf-menu ul {
	position: absolute;
	top: -999em;
	width: 10em;
	/* left offset of submenus need to match (see below) */
}

.sf-menu ul li {
	width: 100%;
}

.sf-menu li:hover {
	visibility: inherit;
	/* fixes IE7 'sticky bug' */
}

.sf-menu li {
	float: left;
	position: relative;
}

.sf-menu a {
	display: block;
	position: relative;
	color: white;
}

.sf-menu li:hover ul, .sf-menu li.sfHover ul {
	left: 0;
	top: 2.5em;
	/* match top ul list item height */
	z-index: 99;
}

ul.sf-menu li:hover li ul, ul.sf-menu li.sfHover li ul {
	top: -999em;
}

ul.sf-menu li li:hover ul, ul.sf-menu li li.sfHover ul {
	left: 10em;
	/* match ul width */
	top: 0;
}

ul.sf-menu li li:hover li ul, ul.sf-menu li li.sfHover li ul {
	top: -999em;
}

ul.sf-menu li li li:hover ul, ul.sf-menu li li li.sfHover ul {
	left: 10em;
	/* match ul width */
	top: 0;
}

.sf-menu {
	position: relative;
	float: right;
	line-height: 12px;
	margin: 0;
	z-index: 50;
}

.sf-menu li {
	background: transparent;
	border-top: 2px solid transparent;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.sf-menu li:hover {
	/* visited pseudo selector so IE6 applies text colour*/
	/* background: rgba(210,226,110,0.6); */
	background: rgba(221, 246, 208, 0.6);
	/* background: #8FCD9C; */
	/* background: rgba(215, 234, 238, 0.3); */
	border-top: 2px solid #fff;
	/* opacity: 0.1; */
}

.sf-menu li a {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
	padding: 45px 15px 45px 15px;
	text-decoration: none;
	/* text-transform:uppercase; */
	font-weight: 600;
	color: #F8F8FF;
}

li a#visited {
	/* background:#bfd630; */
	/* background: #8FCD9C; */
	/* background: rgba(210, 226, 110, 0.3); */
	background: rgba(221, 246, 208, 0.3);
}

li a#visited:hover {
	/* background: #8FCD9C; */
	/* background: #DDF6D0; */
	background: rgba(221, 246, 208, 0.3);
}

/*** submenu ***/

.sf-menu li ul {
	border-bottom: 5px solid #bfd6e4;
	margin-top: 75px;
	z-index: 99;
}

.sf-menu ul li {
	/* visited pseudo selector so IE6 applies text colour*/
	border-top: none;
}

.sf-menu ul li:hover {
	/* visited pseudo selector so IE6 applies text colour*/
	border-top: none;
}

.sf-menu li ul li a {
	padding: 15px 15px 15px 15px;
	text-decoration: none;
	color: #fff;
	background: #8FCD9C;
	color: #fff;
	/* border: 0; */
	/* padding:15px; */
	font-weight: normal;
	font-size: 1em;
	/* text-transform:capitalize; */
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
    z-index: 99;
    line-height: 1.1em; 
}

.sf-menu li ul li a:hover {
	padding-left: 18px;
}

.sf-menu li li {
	border-bottom: 1px solid #606573;
}

/* apply hovers to modern browsers */

a:focus>.sf-sub-indicator, a:hover>.sf-sub-indicator, a:active>.sf-sub-indicator, li:hover>a>.sf-sub-indicator, li.sfHover>a>.sf-sub-indicator {
	background-position: -10px -100px;
	/* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */

.sf-menu ul .sf-sub-indicator {
	background-position: -10px 0;
}

.sf-menu ul a>.sf-sub-indicator {
	background-position: 0 0;
}

/* apply hovers to modern browsers */

.sf-menu ul a:focus>.sf-sub-indicator, .sf-menu ul a:hover>.sf-sub-indicator, .sf-menu ul a:active>.sf-sub-indicator, .sf-menu ul li:hover>a>.sf-sub-indicator, .sf-menu ul li.sfHover>a>.sf-sub-indicator {
	background-position: -10px 0;
	/* arrow hovers for modern browsers*/
}

span.home {
	margin-right: 10px;
}

#main {
	/* background: #e4eda8;  */
	background: #DDF6D0;
	z-index: 1;
}

/****************************** TOP - DOWN BUTTONS *********************************************/

img#goToTop {
	position: fixed;
	float: right;
	right: 2%;
	top: 25%;
}

img#goToComments {
	position: fixed;
	float: right;
	right: 2%;
	top: 75%;
}

@media only screen and (max-width: 1111px) {
	img#goToTop {
		display: none;
	}
	img#goToComments {
		display: none;
	}
}

/***************************** i frame responsiveness *********************************************/

.embed-container {
	position: relative;
	padding-bottom: 56.25%;
	/* ratio 16x9 */
	height: 0;
	overflow: hidden;
	width: 100%;
	height: auto;
}

.embed-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.embed-container img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/****************************** Combination of an image with the caption **************************/

/*mobile phone */

@media only screen and (max-width: 960px) {
	.imageCaptionCombination {
		margin: 0 auto;
		padding: 2px 5px 20px 5px;
		background: #8FCD9C;
		margin-bottom: 5px;
		border-bottom: 3px solid #c45d69;
	}
}

@media only screen and (min-width: 960px) {
	.imageCaptionCombination {
		margin: 0 auto;
		padding: 20px 25px 20px 25px;
		background: #8FCD9C;
		margin-bottom: 15px;
		border-bottom: 3px solid #c45d69;
	}
	.imageCaptionCombination img {
		max-width: 90%;
		margin-left: 5%;
	}
	.imageCaptionCombination video {
		max-width: 90%;
		margin-left: 5%;
	}
}

.imageCaptionCombination h2 {
	color: white;
	border-bottom: 1px solid white;
}

.imageCaption {
	/* zoom: 1; */
	/* width: 88%; */
	/* width: 765px;  */
	padding: 1%;
	margin-left: 0px;
	margin-right: 0px;
	position: relative;
	left: 0;
	bottom: 0;
	/* background:#6CBD7D; */
	background: #8FCD9C;
	color: #414558;
	font-size: 12px;
	line-height: 15px;
	/* width: 810px; */
}

.imageCaption p {
	font-weight: bold;
	font-family: "Arial", sans-serif;
	text-align: justify;
}

/* tablets maybe?  */

/* @media only screen and (min-width: 960px) and (max-width: 1284px) { */

/* } */

.navigationIcons {
	/* margin: 1%; */
	position: relative;
	padding: 0% 2% 2% 2%;
	/* border-style: solid; */
	/* border-width: 1px; */
}

#goBack {
	float: left;
	width: auto;
	height: auto;
	max-width: 30px;
	max-height: 30px;
}

#goWo {
	float: right;
	width: auto;
	height: auto;
	max-width: 30px;
	max-height: 30px;
}

/* /****************************** HOME - Content Part - FlexSlider ******************************/

/* * jQuery FlexSlider v1.8 */

/* * http://www.woothemes.com/flexslider/ */

/* * */

/* * Copyright 2012 WooThemes */

/* * Free to use under the MIT license. */

/* * http://www.opensource.org/licenses/mit-license.php */

/* Browser Resets */

.flex-container a, .flexslider a, .flex-container a:active, .flexslider a:active, .flex-container a:focus, .flexslider a:focus {
	outline: none;
}

.slides, .flex-control-nav, .flex-direction-nav {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* FlexSlider Necessary Styles */

/* *********************************/

*/ .flexslider {
	position: relative;
	margin: 0px 0 0 0;
	padding: 0;
	background: #fff;
	border-top: 1px solid #efefef;
	border-bottom: 5px solid #89a2b2;
	z-index: -1;
	width: 800px;
	height: 500px;
}

.flexslider .slides>li {
	display: none;
	-webkit-backface-visibility: hidden;
}

/* Hide the slides before the JS is loaded. Avoids image jumping */

.flexslider .slides img {
	padding-left: 80px;
	display: block;
	width: 800px;
	height: 500px;
	/* margin-left: auto; margin-right: auto; */
}

.flexslider .slides iframe {
	padding-left: 80px;
	display: block;
}

.flex-pauseplay span {
	text-transform: capitalize;
}

/* Clearfix for the .slides element */

.slides:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

html[xmlns] .slides {
	display: block;
}

* html .slides {
	height: 1%;
}

/* No JavaScript Fallback */

/* If you are not using another script, such as Modernizr, make sure you */

/* * include js that eliminates this class on page load */

.no-js .slides>li:first-child {
	display: block;
}

/* FlexSlider Default Theme */

*********************************/ .flexslider .slides>li {
	position: relative;
	z-index: -1;
}

/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */

.flex-container {
	/* zoom: 1; */
	position: relative;
	z-index: -1;
}

/* Caption style */

/* IE rgba() hack */

.flex-caption {
	/* zoom: 1; */
	/* width: 88%; */
	/* width: 765px;  */
	padding: 2%;
	/* margin-left: 80px; */
	/* margin-right:80px; */
	position: relative;
	left: 0;
	bottom: 0;
	background: #6CBD7D;
	color: #414558;
	font-size: 12px;
	line-height: 15px;
	box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1), 1px -1px 0px #efefef;
	border-bottom: 3px solid transparent;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	width: 810px;
}

.flex-caption:hover {
	cursor: default;
	border-bottom: 3px solid #c45d69;
	background: #8FCD9C;
}

.flex-caption th {
	font-weight: bold;
	padding-bottom: 1em;
}

.flex-caption td {
	padding-right: 5em;
	padding-bottom: 0.35em;
}

.flex-caption li {
	padding: 0.5em;
}

/* Direction Nav */

.flex-direction-nav {
	height: 0;
}

.flex-direction-nav a {
	width: 52px;
	height: 52px;
	margin: -15px 0 0;
	display: block;
	background: url(../images/flexslider/bg_direction_nav.png) no-repeat;
	position: absolute;
	/* top: 375px; */
	/* bottom: 2%; */
	top: 50%;
	cursor: pointer;
	text-indent: -999em;
}

.flex-direction-nav .flex-next {
	background-position: -52px 0;
	right: 0px;
}

.flex-direction-nav .flex-prev {
	left: 0px;
}

.flex-direction-nav .flex-disabled {
	opacity: .3;
	filter: alpha(opacity=30);
	cursor: default;
}

/* Control Nav */

.flex-control-nav {
	width: 100%;
	position: absolute;
	bottom: -30px;
	text-align: center;
}

.flex-control-nav li {
	margin: 0 0 0 5px;
	display: inline-block;
	zoom: 1;
	/* *display: inline; */
}

.flex-control-nav li:first-child {
	margin: 0;
}

.flex-control-nav a {
	width: 13px;
	height: 13px;
	display: block;
	cursor: pointer;
	text-indent: -999em;
}

.flex-control-nav a:hover {
	background-position: 0 -13px;
}

.flex-control-nav a.flex-active {
	background-position: 0 -26px;
	cursor: default;
	/* width: 800px;  */
	/* height: 500px;  */
}

.boxthree ul{
	list-style-type: circle;
}

.boxthree .one_third, .boxthree .one_half {
	/* background:#e1e8ed; */
	/* background: #2FBD83; */
	background: #6CBD7D;
	box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1), 1px -1px 0px #efefef;
	border-bottom: 3px solid transparent;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.boxthree .newsbox {
	background: #6CBD7D;
	box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1), 1px -1px 0px #efefef;
	border-bottom: 3px solid transparent;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	margin-right: 1em;
	padding: 2em 1.5em;
	word-wrap: normal;
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
}

/* .boxthree .one_third, .boxthree .one_half:hover { */

/* border-bottom:3px solid #c45d69; */

/* background: #8FCD9C; */

/* } */

.boxthreeleft, .boxthreecenter, .boxthreeright {
	padding: 20px 20px 15px 20px;
}

.boxthree img {
	opacity: 1;
	filter: alpha(opacity=100);
	-webkit-transition: opacity 0.5s linear;
	-moz-transition: opacity 0.5s linear;
	-o-transition: opacity 0.5s linear;
	-ms-transition: opacity 0.5s linear;
	transition: opacity 0.5s linear;
}

.boxthree img:hover {
	opacity: 0.7;
	filter: alpha(opacity=70);
	-webkit-transition: opacity 1s linear;
	-moz-transition: opacity 1s linear;
	-o-transition: opacity 1s linear;
	-ms-transition: opacity 1s linear;
	transition: opacity 1s linear;
}

.boxthree h3 {
	border-bottom: 1px solid #d2dbe2;
	font-weight: bold;
	color: white;
	line-height: 1.5;
}

.boxthree p {
	/* color: #D6F4EC; */
	color: white;
}

.boxone {
	background: #6CBD7D;
	box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1), 1px -1px 0px #efefef;
	border-bottom:3px solid transparent;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	width: 100%;
	padding: 1em; 
}
	
.boxone h2 {
	padding-top: 1em; 
	padding-left: 1em; 
	color: white; 
	text-align: center;
	font-size: calc(12px + (18 - 12) * ((100vw - 900px) / (1600 - 900)));
}

@media only screen and (max-width: 766px) {
	.overviewBoxImg {
	padding-top: 1.5em;
	}
	}
	.overviewBoxImg img, .overviewBoxImg video  {
		max-height: 250px;
	}
		
@media only screen and (min-width: 767px) {

	.overviewBoxImg {
		width: 45%; 
		float: left; 
		margin: 1.5em; 
	}
	
	.overviewBoxText {
		width: 45%; 
		float: right;
	}
}

.overviewBoxText p{
	color: white; 
	font-size: calc(13px + (20 - 13) * ((100vw - 900px) / (1600 - 900)));
	line-height: calc(1.3em + (1.5 - 1.1) * ((100vw - 900px)/(1600 - 900)));
}

.overviewBoxText ul{
	list-style-type: circle;
}

.overviewBoxText .links {
	float: right; 
	margin-right: 2em;
}

a.simple {
	color: #0B2720;
	font-size: 11px;
}

/* .boxthree .lastcolumn { */

/* margin-right: 0 !important; */

/* clear: right; */

/* } */

/****************************** HOME - Content Part - Box One ******************************/

.info .one_third, .info .full_width {
	background: #6CBD7D;
	/* background: #2FBD83; */
	box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1), 1px -1px 0px #efefef;
	border-bottom: 3px solid transparent;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.info .one_third:hover {
	cursor: default;
	border-bottom: 3px solid #c45d69;
	background: #8FCD9C;
}

.info .full_width:hover {
	cursor: default;
	border-bottom: 3px solid #c45d69;
	background: #8FCD9C;
}

.info .full_width, .infoleft, .infocenter, .inforight {
	padding: 20px 20px 15px 20px;
}

.info h2 {
	border-bottom: 1px solid #d2dbe2;
	color: white;
}

.info p {
	/* color: #D6F4EC; */
	color: white;
}

.info a {
	color: #89a2b2;
	margin-left: 0;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	cursor: pointer;
}

.info a:hover {
	margin-left: 4px;
	color: #738a99;
}

span.red {
	color: #c45d69;
}

span.green {
	color: #61bd68;
}

/****************************** HOME - Content Part - Box Three ******************************/

/****************************** HOME - Content Part - Scheme and Map ******************************/

/* Style the Image Used to Trigger the Modal */

#ablaufschema {
	border-radius: 5px;
	cursor: pointer;
	/* transition: 0.3s; */
	opacity: 1;
}

#karte {
	border-radius: 5px;
	cursor: pointer;
	/* transition: 0.3s; */
	opacity: 1;
}

#bauplan1 {
	border-radius: 5px;
	cursor: pointer;
	transition: 0.3s;
}

/* #ablaufschema:hover {opacity: 0.7;} */

/* #karte:hover {opacity: 0.7;} */

/* #bauplan1:hover {opacity: 0.7;} */

#operationelleGruppe:hover {
	cursor: pointer;
}

/* The Modal (background) */

.modal {
	display: none;
	/* Hidden by default */
	position: fixed;
	/* Stay in place */
	z-index: 99;
	/* Sit on top */
	padding-top: 10px;
	/* Location of the box */
	left: 0;
	top: 0;
	width: 100%;
	/* Full width */
	height: 100%;
	/* Full height */
	overflow: auto;
	/* Enable scroll if needed */
	background-color: rgb(0, 0, 0);
	/* Fallback color */
	background-color: rgba(0, 0, 0, 0.9);
	/* Black w/ opacity */
}

/* Modal Content (Image) */

.modal-content {
	opacity: 1;
	margin: auto;
	display: block;
	width: 80%;
	max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */

#captionBauplan1 {
	margin: auto;
	display: block;
	width: 80%;
	max-width: 700px;
	text-align: center;
	color: #ccc;
	padding: 10px 0;
	height: 150px;
}

#captionAblaufschema {
	margin: auto;
	display: block;
	width: 80%;
	max-width: 700px;
	text-align: center;
	color: #ccc;
	padding: 10px 0;
	height: 150px;
}

#captionKarte {
	margin: auto;
	display: block;
	width: 80%;
	max-width: 700px;
	text-align: center;
	color: #ccc;
	padding: 10px 0;
	height: 150px;
}

#captionOperationelleGruppe {
	margin: auto;
	display: block;
	width: 80%;
	max-width: 700px;
	text-align: center;
	color: #ccc;
	padding: 10px 0;
	height: 150px;
}

/* Add Animation - Zoom in the Modal */

.modal-content, #captionAblaufschema, #captionKarte, #captionBauplan1, #captionOperationelleGruppe {
	-webkit-animation-name: zoom;
	-webkit-animation-duration: 0.6s;
	animation-name: zoom;
	animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
	from {
		-webkit-transform: scale(0)
	}
	to {
		-webkit-transform: scale(1)
	}
}

@keyframes zoom {
	from {
		transform: scale(0)
	}
	to {
		transform: scale(1)
	}
}

/* The Close Button */

.close {
	position: absolute;
	top: 0px;
	right: 35px;
	color: #f1f1f1;
	font-size: 40px;
	font-weight: bold;
	transition: 0.3s;
}

.close:hover, .close:focus {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}

/* 100% Image Width on Smaller Screens */

@media only screen and (max-width: 700px) {
	/* The Modal (background) */
	.modal {
		display: none;
		/* Hidden by default */
		position: fixed;
		/* Stay in place */
		z-index: 99;
		/* Sit on top */
		padding-top: 25px;
		/* Location of the box */
		left: 0;
		top: 0;
		width: 100%;
		/* Full width */
		height: 100%;
		/* Full height */
		overflow: auto;
		/* Enable scroll if needed */
		background-color: rgb(0, 0, 0);
		/* Fallback color */
		background-color: rgba(0, 0, 0, 0.9);
		/* Black w/ opacity */
	}
	.modal-content {
		width: 100%;
	}
}

.scheme_map img {
	border-bottom: 6px solid #efefef;
	/* opacity: 0.5; */
	/* filter: alpha(opacity=50); */
	/* -webkit-transition: opacity 0.5s linear; */
	/* -moz-transition: opacity 0.5s linear; */
	/* -o-transition: opacity 0.5s linear; */
	/* -ms-transition: opacity 0.5s linear; */
	/* transition: opacity 0.5s linear; */
	cursor: pointer;
}

.scheme_map img:hover {
	opacity: 1;
	/* filter: alpha(opacity=100); */
	/* -webkit-transition: opacity 1s linear; */
	/* -moz-transition: opacity 1s linear; */
	/* -o-transition: opacity 1s linear; */
	/* -ms-transition: opacity 1s linear; */
	/* transition: opacity 1s linear; */
}

/****************************** HOME - PROJEKTPARNTER Part ************************************/

.container.partner{
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	flex-wrap: wrap;
	align-content: flex-start;
}

.flex_item{
	flex: 0 0 23%; 
	margin: auto; 
}

@media only screen and (max-width: 479px) {
    .flex_item{
        flex: 0 0 45%; 
        margin: auto; 
    }
}


/****************************** HOME - Content Part - Copyright ******************************/

#copyright {
	/* background:#ddf6d0; */
	background: #6CBD7D;
	border-top: 1px solid #414550;
	border-bottom: 5px solid #5c616f;
}

p.copyright {
	font-size: 14px;
	color: white;
	padding-top: 10px;
	/* float: right;  */
	/* width: 50%; */
}

@media only screen and (min-width: 900px) {
	p.copyright {
		font-size: 14px;
		color: white;
		padding-top: 10px;
		/* width: 50%; */
	}
}

p.copyright a {
	color: #bfd6e4;
}

ul.socials {
	margin-top: 10px;
	float: right;
}

ul.socials li {
	display: inline;
}

/****************************** ABOUT - Content Part ******************************/

.aboutoneleft p.quote, .aboutonecenter p.quote {
	color: #647884;
	font-style: italic;
	font-weight: bold;
	font-size: 11px;
}

.aboutoneleft img.raster, .aboutonecenter img.raster {
	float: left;
	margin-right: 10px;
	margin-top: 2px;
}

.aboutoneright img {
	border-bottom: 5px solid #bccfdb;
}

/* TOGGLE -------------------------------------------------*/

.toggle-trigger {
	text-decoration: none;
	color: #414550;
	font-weight: bold;
	padding: 10px 10px 10px 25px;
	cursor: pointer;
	border: 1px solid #b7c7d1;
	background: #dae4ea url(../images/about/toggle.png) no-repeat 5px 10px;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.toggle-trigger.active {
	border-bottom: 1px solid #b7c7d1;
	background: #bfd6e4 url(../images/about/toggle.png) no-repeat 5px -75px;
}

.toggle-trigger:hover {
	background-color: #bfd6e4;
}

.toggle-container {
	margin-bottom: 0px;
	padding: 5px 10px;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-left: 1px solid #ccc;
}

/***************** PORTFOLIO / Pagination*****************/

.portfolio .flexslider {
	margin: 0px 0 30px 0;
	padding: 5px;
	background: #fff;
	border: 1px solid #efefef;
}

.portfolio h2 {
	border-bottom: 1px dashed #cdcdcd;
	padding: 0px 0 5px 0;
}

.portfolio h4 {
	font-style: italic;
	font-size: 13px;
}

p.portfolio {
	margin-top: 25px;
	background: #fff;
	border: 1px solid #efefef;
	padding: 5px;
}

ul.pagination {
	padding: 22px 0px 10px 0px;
}

ul.pagination li {
	display: inline;
}

ul.pagination li a {
	background-color: white;
	border: #efefef solid 1px;
	color: #414550;
	font-weight: bold;
	width: 80px;
	height: 80px;
	padding: 9px 13px;
	margin-right: 5px;
	/* CSS3 Transition */
	transition: background-color 0.5s ease-in-out;
	-moz-transition: background-color 0.5s ease-in-out;
	-webkit-transition: background-color 0.5s ease-in-out;
	cursor: pointer;
}

ul.pagination li a:hover, ul.pagination li a#currentPage {
	text-decoration: none;
	background-color: #bfd6e4;
	color: white;
}

/****************************** Gallery ******************************/

.portfolio4columns .one_fourth {
	margin-bottom: 10px;
	background: #fff;
	box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1), 1px -1px 0px #efefef;
	border-bottom: 2px solid transparent;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.portfolio4columns .one_fourth:hover {
	border-bottom: 2px solid #bfd6e4;
}

.boxfour {
	padding: 10px 10px 4px 10px;
}

.portfolio4columns img {
	opacity: 1;
	filter: alpha(opacity=100);
	-webkit-transition: opacity 0.5s linear;
	-moz-transition: opacity 0.5s linear;
	-o-transition: opacity 0.5s linear;
	-ms-transition: opacity 0.5s linear;
	transition: opacity 0.5s linear;
}

.portfolio4columns img:hover {
	opacity: 0.9;
	filter: alpha(opacity=90);
	-webkit-transition: opacity 1s linear;
	-moz-transition: opacity 1s linear;
	-o-transition: opacity 1s linear;
	-ms-transition: opacity 1s linear;
	transition: opacity 1s linear;
}

/* #Tabs (activate in tabs.js)
================================================== */

ul.tabs {
	display: block;
	margin: 0 0 20px 0;
	background: #727888;
}

ul.tabs li {
	width: auto;
	height: 18px;
	padding: 10px 0px;
	float: left;
	margin-bottom: 0;
}

ul.tabs li a {
	text-decoration: none;
	width: auto;
	border-right: 1px solid #fff;
	padding: 0 20px;
	line-height: 10px;
	margin: 0;
	color: #bfd6e4;
	font-size: 16px;
}

ul.tabs li a.active {
	background: #7cbaca;
	padding: 5px 20px;
	position: relative;
	top: 0px;
	margin: 0 0 0 0px;
	color: #fff;
}

ul.tabs li:first-child a.active {
	margin-left: 0;
}

ul.tabs-content {
	margin: 0;
	display: block;
	color: #efefef;
}

ul.tabs-content>li {
	display: none;
}

ul.tabs-content>li.active {
	display: block;
}

/* Clearfixing tabs for beautiful stacking */

ul.tabs:before, ul.tabs:after {
	content: '\0020';
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

ul.tabs:after {
	clear: both;
}

ul.tabs {
	zoom: 1;
}

li#beauty, li#woman, li#people {
	-webkit-animation: slideLeft 0.5s ease-in-out forwards;
	-moz-animation: slideLeft 0.5s ease-in-out;
	-o-animation: slideLeft 0.5s ease-in-out;
	-ms-animation: slideLeft 0.5s ease-in-out;
	animation: slideLeft 0.5s ease-in-out;
}

@-webkit-keyframes slideLeft {
	0% {
		-webkit-transform: translateX(-20%);
		opacity: 0;
	}
	100% {
		-webkit-transform: translateX(0px);
		opacity: 1;
	}
}

@-moz-keyframes slideLeft {
	0% {
		-moz-transform: translateX(-20%);
		opacity: 0;
	}
	100% {
		-moz-transform: translateX(0px);
		opacity: 1;
	}
}

@-o-keyframes slideLeft {
	0% {
		-o-transform: translateX(-20%);
		opacity: 0;
	}
	100% {
		-o-transform: translateX(0px);
		opacity: 1;
	}
}

@-ms-keyframes slideLeft {
	0% {
		-ms-transform: translateX(-20%);
		opacity: 0;
	}
	100% {
		-ms-transform: translateX(0px);
		opacity: 1;
	}
}

@keyframes slideLeft {
	0% {
		transform: translateX(-20%);
		opacity: 0;
	}
	100% {
		transform: translateX(0px);
		opacity: 1;
	}
}

/****************************** BLOG - Content Part - Blog Page ******************************/

.post {
	margin-bottom: 40px;
	padding: 10px;
	background: #8FCD9C;
	border: 1px solid #efefef;
	opacity: 1;
	filter: alpha(opacity=100);
	-webkit-transition: opacity 0.5s linear;
	-moz-transition: opacity 0.5s linear;
	-o-transition: opacity 0.5s linear;
	-ms-transition: opacity 0.5s linear;
	transition: opacity 0.5s linear;
	margin: auto;
}

.blog img {
	background: #bfd6e4;
	margin-left: -10px;
	margin-bottom: 10px;
}

.blog img:hover {
	opacity: 0.7;
	filter: alpha(opacity=70);
	-webkit-transition: opacity 1s linear;
	-moz-transition: opacity 1s linear;
	-o-transition: opacity 1s linear;
	-ms-transition: opacity 1s linear;
	transition: opacity 1s linear;
}

.blog p.meta {
	font-size: 11px;
	margin-bottom: 10px;
	margin-top: 0px;
	border: 1px solid #dcdcdc;
	/* background:#efefef url(../images/blog.png) 97% center no-repeat; */
	background: #D6F4EC 97% center no-repeat;
	padding: 5px 0px 20px 10px;
	color: #414550;
}

.blog p.meta a {
	color: #5f637a;
}

span.left {
	padding: 0 10px;
	border-right: 1px solid #fff;
}

.blog h2 {
	color: #ebfaeb;
}

.blog h4 {
	font-style: italic;
	font-size: 12px;
	text-transform: capitalize;
	margin-top: -10px;
}

.posttwo {
	margin-top: 40px;
}

/***************** Blog/Sidebar *****************/

.sidebar h3 {
	background: #bfd6e4;
	border: 1px solid #fff;
	padding: 5px;
}

#blogSidebar {
	position: fixed;
	right: 50px;
}

ul.blogList a.about {
	color: #414558;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

ul.blogList a.about:hover {
	padding-left: 3px;
}

ul.blogList li {
	padding: 10px 20px;
	border-bottom: 1px solid #fff;
	background: url(../images/raster.png) left no-repeat;
}

li.activenavigationItem {
	font-weight: bold;
	color: #8990a3;
	font-style: italic;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

li.activenavigationItem:hover {
	color: #414558;
}

li.newsDate {
	color: #fff;
	font-style: bold;
	text-align: center;
	font-size: 20px;
	background: url(../images/raster.png) right !important;
}

.second, .third {
	margin-top: 30px;
}

.third h5 {
	text-transform: uppercase;
	font-size: 12px;
}

span.color {
	background: #c45d69;
	color: #fff;
	padding: 5px;
	font-weight: bold;
}

/******************************* BLOG / Blogpost  *******************************/

.postone {
	margin-bottom: 40px;
	padding: 10px;
	background: #fff;
	border: 1px solid #efefef;
	opacity: 1;
	filter: alpha(opacity=100);
	-webkit-transition: opacity 0.5s linear;
	-moz-transition: opacity 0.5s linear;
	-o-transition: opacity 0.5s linear;
	-ms-transition: opacity 0.5s linear;
	transition: opacity 0.5s linear;
}

.singleblog img {
	background: #bfd6e4;
	padding: 10px;
	margin-left: -10px;
	margin-bottom: 10px;
}

.singleblog img:hover {
	opacity: 0.7;
	filter: alpha(opacity=70);
	-webkit-transition: opacity 1s linear;
	-moz-transition: opacity 1s linear;
	-o-transition: opacity 1s linear;
	-ms-transition: opacity 1s linear;
	transition: opacity 1s linear;
}

.singleblog p.meta {
	font-size: 11px;
	margin-bottom: 10px;
	margin-top: 0px;
	border: 1px solid #dcdcdc;
	background: #efefef url(../images/blog.png) 97% center no-repeat;
	padding: 5px 0px 20px 10px;
	color: #414550;
}

.singleblog p.meta a {
	color: #5f637a;
}

.singleblog h4 {
	color: #6d8696;
	font-style: italic;
	font-weight: bold;
	font-size: 11px;
	border-left: 2px solid #c45d69;
	padding: 0 0 0 10px;
}

h4.tags {
	color: #414550;
}

.comments h2 {
	text-align: center;
}

div#comments {
	margin-bottom: -10px;
}

ul#articleCommentList li {
	overflow: hidden;
}

ul#articleCommentList li ul {
	margin-left: 50px;
}

.hentry .commentMeta {
	width: 100px;
	margin-right: 40px;
	float: left;
	text-align: right;
	overflow: hidden;
	background: #e4eda8;
}

.hentry .commentMeta p {
	text-transform: uppercase;
	color: #414550;
	float: left;
	font-size: 14px;
	margin-top: 0px;
	padding: 0 10px 0 0;
}

img.user {
	background: #fff;
	border: 1px solid #dcdcdc;
	padding: 5px;
}

div.commentBody {
	background-color: white;
	box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1);
	padding: 30px 15px 20px 15px;
	margin: 0px 0 20px 140px;
}

div.commentBody h3 {
	background-color: #6CBD7D;
	padding: 5px;
	font-size: 14px;
	margin-top: -10px;
	font-weight: bold;
	margin-bottom: 10px;
}

div.commentBody h3 a {
	color: white;
}

div.commentBody p {
	font-size: 12px;
}

span.adminIcon {
	color: #414550;
	font-size: 11px;
	background-color: #bfd6e4;
	padding: 6px 10px;
	width: 60px;
	text-align: center;
	margin-top: -10px;
}

h2#commentFormHeading {
	margin: 0px 0 30px 0;
}

div#comments a.buttonLink {
	margin-left: -30px;
}

#comments-list {
	list-style: none;
	margin: 0 1em;
}

#comments-list blockquote {
	background: #f8f8f8;
	clear: both;
	font-style: normal;
	margin: 0;
	padding: 15px 20px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

#comments-list footer {
	color: #888;
	padding: .5em 1em 0 0;
	text-align: right;
}

#comments-list li:nth-child(2n) blockquote {
	background: #F5f5f5;
}

/* Add a Comment */

#add-comment label {
	clear: left;
	float: left;
	text-align: left;
	width: 150px;
}

#add-comment input[type='text'], #add-comment input[type='email'], #add-comment input[type='url'] {
	float: left;
	width: 200px;
}

#add-comment textarea {
	float: left;
	height: 150px;
	width: 495px;
}

#add-comment p.req {
	clear: both;
	margin: 0 .5em 1em 0;
	text-align: right;
}

#add-comment input[type='submit'] {
	float: right;
	margin: 0 .5em;
}

#add-comment * {
	margin-bottom: .5em;
}

#comments {
	background: #fff;
	margin-bottom: 2em;
	overflow: hidden;
	padding: 20px 20px;
	width: 760px;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

#comments label {
	display: block;
}

#comments label:after {
	content: " *";
}

#comments ol li:nth-child(2n+1) {
	background-color: #F5F4EF;
}

#respond {
	margin-top: 40px;
}

#respond input[type='text'], #respond input[type='email'], #respond textarea {
	margin-bottom: 10px;
	display: block;
	width: 100%;
	border: 1px solid rgba(0, 0, 0, 0.1);
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	-ms-border-radius: 5px;
	-khtml-border-radius: 5px;
	border-radius: 5px;
	line-height: 1.4em;
}

#posts-list.has-comments li.no-comments {
	display: none;
}

/******************************* FEATURES / Resume  *******************************/

.resume {
	margin-top: 30px;
}

.resume .one_third {
	background: #bfd6e4;
	border-bottom: 2px solid #fff;
}

.resume .one_third h3 {
	padding: 10px;
}

.resume .two_third {
	background: #fff;
}

.resume .two_third p {
	padding: 10px;
}

.resume .two_third h4 {
	padding: 10px;
}

.resume .two_third ul {
	padding: 10px;
	margin-top: -20px;
}

.resume .two_third ul li {
	color: #8295a0;
}

.resume img {
	margin-bottom: -30px;
}

/******************************* CONTACT FORM -  for blog and contact page  *******************************/

#contactForm h2 {
	margin-top: 40px;
}

form#contact_form {
	/* background-color:#D6F4EC; */
	background-color: #8FCD9C;
	box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1);
	color: #414550;
}

form#contact_form .name {
	padding: 30px 0px 0 20px;
}

form#contact_form .email {
	padding-left: 20px;
	padding-top: 10px;
}

form#contact_form p {
	margin-bottom: 10px;
	padding-top: 5px;
	font-style: italic;
}

form#contact_form .message {
	padding-left: 20px;
	padding-top: 10px;
}

form#contact_form .sicherheitsfrage {
	padding-left: 20px;
	padding-top: 10px;
}


div#loader {
	margin-left: 20px;
	margin-bottom: 30px;
}

form#contact_form input[type="text"] {
	border: 1px solid #e1e5e9;
	background-color: white;
	height: 30px;
	padding: 0 10px;
	width: 250px;
	margin-bottom: 20px;
}

form#contact_form input#email {
	border: 1px solid #e1e5e9;
	background-color: white;
	height: 30px;
	padding: 0 10px;
	width: 250px;
	margin-bottom: 20px;
}

form#contact_form textarea {
	border: 1px solid #e1e5e9;
	background-color: white;
	width: 500px;
	margin-bottom: 20px;
}

form#contact_form label {
	margin-right: 20px;
	font-size: 12px;
	font-weight: bold;
	color: #414550;
	text-transform: uppercase;
}

form#contact_form label span {
	color: #414550;
}

form#contact_form input[type="text"]:focus, form#contact_form input[type="text"]:hover, form#contact_form textarea:focus, form#contact_form textarea:hover, form#contact_form input[type="text"]:focus, form#contact_form input[type="text"]:hover, form#contact_form textarea:focus, form#contact_form textarea:hover {
	background-color: #efefef;
}

form#contact_form input[type="submit"] {
	background: #2FBD83;
	border: none;
	padding: 5px;
	font-size: 11px;
	text-transform: uppercase;
	color: white;
	margin-bottom: 10px;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

form#contact_form input[type="submit"]:hover {
	color: #bfd6e4;
}

address {
	background: #8FCD9C;
	color: black;
	box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1);
	color: #414550;
	font-size: 25px;
}

.map-container {
	position: relative;
	padding-bottom: 20%;
	overflow: hidden;
	border-bottom: 5px solid #fff;
}

.map-container iframe, .map-container object, .map-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.contact1 {
	margin-top: -40px;
}

/***************** Contact/Sidebar *****************/

.contactsidebar h3 {
	background: #bfd6e4;
	border: 1px solid #fff;
	padding: 5px;
}

ul.contactsidebarList a.about {
	color: #414558;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

ul.contactsidebarList a.about:hover {
	padding-left: 3px;
}

ul.contactsidebarList li {
	color: #414558;
	padding: 10px 20px;
	border-bottom: 1px solid #fff;
	background: url(../images/raster.png) left no-repeat;
}

.second, .third {
	margin-top: 30px;
}

.third h5 {
	text-transform: uppercase;
	font-size: 12px;
}

span.color {
	background: #c45d69;
	color: #fff;
	padding: 5px;
	font-weight: bold;
}

/****************************** Shortcodes ******************************/

/* Content Shortcodes */

.full_width {
	width: 96%;
}

.one_half {
	width: 47%;
}

.one_third {
	width: 30.61%;
}

.two_third {
	width: 65.33%;
}

.one_fourth {
	width: 22%;
}

.one_fifth {
	width: 16.8%;
}

.one_sixth {
	width: 15%;
}

.full_width, .one_half, .one_third, .two_third, .one_fourth, .one_fifth {
	margin-right: 4%;
	margin-bottom: 10px;
	float: left;
}

.one_sixth {
	margin-right: 2%;
	margin-bottom: 20px;
	float: left;
}

.lastcolumn {
	margin-right: 0!important;
	clear: right;
}

/* #Page Styles
================================================== */

.content {
	padding-top: 20px;
}

.content.right {
	float: right;
}

/* #Media Queries
================================================== */

/* Smaller than standard 960 (devices and browsers) */

@media only screen and (max-width: 960px) {}

/* Tablet Portrait size to standard 960 (devices and browsers) */

@media only screen and (min-width: 768px) and (max-width: 960px) {
	.sf-menu li a {
		padding: 45px 10px 45px 10px;
	}
	.flex-caption {
		width: 100%;
	}
	.flexslider .slides img {
		padding: 0px;
		display: block;
	}
	.flexslider .slides iframe {
		padding: 0px;
		display: block;
	}
	.flex-direction-nav a {
		width: 52px;
		height: 52px;
		margin: -15px 0 0;
		display: block;
		background: url(../images/flexslider/bg_direction_nav.png) no-repeat;
		position: absolute;
		top: 50%;
		/* bottom: 0px; */
		cursor: pointer;
		text-indent: -999em;
	}
	span.left {
		padding: 0 5px;
	}
	.blog p.meta, .singleblog p.meta {
		background: #efefef;
	}
	form#contact_form textarea {
		width: 350px;
	}
}

/* All Mobile Sizes (devices and browser) */

@media only screen and (max-width: 960px) {
	#mainmenu {
		float: left;
		width: 100%;
		margin-top: -230px;
	}
	.one_half, .one_third, .two_third, .one_fourth, .one_fifth {
		width: 100%;
	}
	.one_sixth {
		width: 45%;
	}
	.flex-caption {
		width: 100%;
	}
	.flexslider .slides img {
		padding: 0px;
		display: block;
	}
	.flexslider .slides iframe {
		padding: 0px;
		display: block;
	}
	.flex-direction-nav a {
		width: 52px;
		height: 52px;
		margin: -15px 0 0;
		display: block;
		background: url(../images/flexslider/bg_direction_nav.png) no-repeat;
		position: absolute;
		top: 50%;
		/* bottom: 0px; */
		cursor: pointer;
		text-indent: -999em;
	}
	.blog p.meta, .singleblog p.meta {
		padding: 20px 0px 50px 10px;
		background: #efefef;
	}
	form#contact_form textarea {
		width: 300px;
	}
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */

@media only screen and (min-width: 480px) and (max-width: 767px) {
	ul.tabs {
		margin-top: 20px;
	}
	.flex-caption {
		width: 100%;
	}
	.flexslider .slides img {
		padding: 0px;
		display: block;
	}
	.flexslider .slides iframe {
		padding: 0px;
		display: block;
	}
	form#contact_form textarea {
		width: 300px;
	}
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */

@media only screen and (max-width: 479px) {
	ul.tabs {
		margin-top: 20px;
	}
	ul.tabs li {
		padding: 0 5px 0 0px;
	}
	/* .mainmenu { */
	/* float: left; */
	/* width: 100%; */
	/* margin-top:-340px; */
	/* } */
	.flex-caption {
		width: 100%;
	}
	.flexslider .slides img {
		padding: 0px;
		display: block;
	}
	.flexslider .slides iframe {
		padding: 0px;
		display: block;
	}
	.flex-direction-nav a {
		width: 52px;
		height: 52px;
		margin: -15px 0 0;
		display: block;
		background: url(../images/flexslider/bg_direction_nav.png) no-repeat;
		position: absolute;
		top: 50%;
		/* bottom: 0px; */
		cursor: pointer;
		text-indent: -999em;
	}
	ul.pagination li a {
		padding: 5px 8px;
	}
	.blog p.meta, .singleblog p.meta {
		padding: 10px 0px 60px 10px;
		background: #efefef;
	}
	form#contact_form textarea {
		width: 200px;
	}
	form#contact_form input[type="text"] {
		width: 150px;
	}
	form#contact_form input#email {
		width: 150px;
	}
	ul.tabs li {
		padding: 10px 0px;
	}
	ul.tabs li a {
		padding: 0px 10px;
		line-height: 10px;
	}
}

/* Responsive Menu
================================================== */

#mainmenu {
	visibility: visible;
	margin: auto;
}

#responsive-menu {
	display: none;
	float: left;
}

@media only screen and (max-width: 1150px) {
	#mainmenu {
		display: none !important;
		visibility: hidden;
		height: 0;
	}
	#responsive-menu {
		display: inline-block;
		width: 35%;
		margin-top: 50px;
		float: right;
	}
}
@media only screen and (min-width: 1151px) and (max-width: 1320px) {
	#mainmenu {
		display: block;
		visibility: visible;
		height: 0;
		/* margin-top: 60px;
		margin-bottom: 0px; */
	}
	#responsive-menu {
		display: none !important;
		width: 35%;
		margin-top: 50px;
		float: right;
	}
	p {
		font-size: 16px;
	}
}

