/* =Mobile Menu
---------------------------------------------------------------------- */

#mobile-menu, #mobile-screen, #mobile-header {
	display: none;
}
#mobile-menu {
	background: #181818;
	right: -77%;
	width: 77%;
	overflow: auto;
	transform: translatez(0);
	-o-transform: translatez(0);
	-ms-transform: translatez(0);
	-moz-transform: translatez(0);
	-webkit-transform: translatez(0);
}
#mobile-screen {
	background: rgba(0,0,0,0.5);
	left: 0;
	width: 23%;
	height: 100%;
}
#mobile-screen, #mobile-menu {
	position: relative;
	z-index: 50000;
	display: none;
	float: right;
}
#mobile-header {
	width: 100%;
	background: #323232;
	float: left;
}
#mobile-logo {
	text-decoration: none;
	height: 37px;
	padding: 18px 10px 10px;
}
#mobile-logo img {
	float: left;
}
#mobile-header-icon {
	font-size: 47px;
	color: #f0f0f0;
	cursor: pointer;
	float: right;
}
#mobile-header-icon:before {
	padding: 0 11px 8px;
}
#mobile-menu-wrapper ul {
	margin: 0px;
	float: left;
	width: 100%;
}
#mobile-menu-wrapper li {
	margin: 0px;
	float: left;
	width: 100%;
}
#mobile-menu-wrapper li.menu-item-has-children > a:before {
	content: 'c';
	font-family: 'proto2'!important;
	font-style: normal!important;
	font-weight: normal!important;
	font-variant: normal!important;
	text-transform: none!important;
	speak: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	margin-left: -14%;
	width: 20%px;
	float: left;
	font-size: 21px;
	color: #f0f0f0;
	transition: 0.1s transform;
	-ms-transition: 0.1s -ms-transform;
	-webkit-transition: 0.1s -webkit-transform;
}
#mobile-menu-wrapper li.menu-item-has-children > a.open:before {
	transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-webkit-transform: rotate(90deg);
}
#mobile-menu-wrapper .sub-menu {
	display: none;
}
#mobile-menu-wrapper a {
	color: #f8f8f8;
	line-height: 21px!important;
	font-size: 16px;
	text-align: left;
	text-decoration: none;
	display: inline-block;
	float: left;
	width: 78%;
	padding: 11px 5% 11px 17%;
}
#mobile-menu-wrapper #menu-main-menu > li > a {
	border-bottom: 1px dotted #3f3f3f;
}
#mobile-menu-wrapper .sub-menu {
	background-color: #303030;
}
#mobile-menu-wrapper .sub-menu a {
	border-bottom: 1px dotted #555555;
}
#mobile-menu-wrapper .sub-menu .sub-menu {
	background-color: #404040;
}
#mobile-menu-wrapper .sub-menu .sub-menu a {
	border-bottom: 1px dotted #666666;
}
#mobile-menu-wrapper .sub-menu .sub-menu .sub-menu {
	background-color: #505050;
}
#mobile-menu-wrapper .sub-menu .sub-menu .sub-menu a {
	border-bottom: 1px dotted #777777;
}
#mobile-menu-wrapper .sub-menu .sub-menu .sub-menu .sub-menu  {
	background-color: #606060;
}
#mobile-search {
	float: left;
	width: 100%;
	display: inline-block;
	clear: both;
	margin: 19px 0 10px;
}
#mobile-search label {
	display: none;
}
#mobile-search #searchform {
	float: left;
	padding-left: 16.5%;
	width: 60%;
	margin-right: 16px;
}
#mobile-search input[type="text"] {
	line-height: 17px;
	font-size: 13px;
	color: #ffffff;
	padding: 7px;
	text-decoration: none;
	float: left;
	margin: 0!important;
	width: 97%!important;
	border: 1px solid #7c7c7c;
	border-radius: 3px;
	background: #181818;
}
#mobile-search input[type="text"]:focus {
	border: 1px solid #b7b7b7;
}
#mobile-search #searchsubmit {
	display: none;
}
#mobile-search-icon:before {
	font-size: 26px;
	line-height: 34px;
	float: left;
	color: #f0f0f0;
	cursor: pointer;
}

.mobile-slider {
	width: 100%;
}
.flexslider {
		margin:0!Important;
		border: 0px!important;
		-webkit-border-radius: 0!important;
		-moz-border-radius: 0!important;
		-o-border-radius: 0!important;
		border-radius: 0!important;
		box-shadow: 0 0 0 !important;
		-webkit-box-shadow: 0 0 0 !important;
		-moz-box-shadow: 0 0 0 !important;
		-o-box-shadow: 0 0 0 !important
		position:relative;
}
.flex-control-nav {}
.flex-control-paging li a.flex-active {
	background:#fff!important;
}
.flex-control-paging li a {
	background:#14252f!important;
}
.flexslider li {
	position: relative;
	width: 100%;
}
.flexslider li img {
	width: 100%;
}
.flexslider h2 {
	font-size: 3em;
	font-weight: 200;
	text-transform: uppercase;		
	z-index: 100;
	position: absolute;
	background: url('images/black-50.png');
	padding: 3% 7%;
	bottom: 0;
	color: #ffffff;
	width: 86%;
	margin: 0;
}




/* =Media Queries
---------------------------------------------------------------------- */

@media (max-width: 1220px) {
	/* General */
	html {
		font-size: 76%;
	}
	.inner-page {
		width: 90%!important;
	}
	
	/* Header */
	#main {
		margin-top: 55px;
		background-size: 120% auto;
	}
	#logo {
		height: 40px;
	}
	#socials {
		padding: 16px 0 0 0;
	}
	.header-icon {
		font-size: 11px;
		padding: 6px 6px 4px;
		margin-left: 10px;
	}
	#main-menu a {
		font-size: 1.07em;
		font-weight: 600px;
	}
	#main-menu ul ul {
		top: 4em;
	}
	
	/* Body */
	#gallery-slider {
		height: 350px;
	}
	#gallery-prev, #gallery-next {
		height: 34px;
		width: 34px;
	}
	#featured-image img {
		width: 100%;
		height: auto;
	}
	.connected-carousels .stage, .connected-carousels .navigation {
		display:none; 
	}
	.mobile-slider {
		display: inline-block;
		height: 400px;
		overflow: hidden;
	}
	.flexslider, .flex-viewport, .flex-viewport > ul, .flex-viewport > ul > li {
		height: 100%;
	}
	#latest-news {
		height: 42em;
	}
	.news-column-text {
		height: 18em;
	}
	article p {
		font-size: 1em;
	}
	.blog-entry img {
		float: left;
		width: 44.4%;
	}
	.blog-entry .entry-remainder {
		width: 48%;
	}
	#content table {
		width: 100%;
	}
	
	/* Footer */


	/* Forms & Buttons */


}

@media (max-width: 650px) {
	/* General */
	html {
		font-size: 67%;
	}
	#main {
		margin: 0;
		padding: 14px 0 0 0;
		background: none;
	}

	/* Header */
	#header {
		display: none;
	}
	#mobile-header {
		display: inline-block;
	}

	/* Body */
	#sidebar {
		display: none;
	}
	#content, #content.flexible-content {
		width: 100%;
	}
	.flexslider h2 {
		font-size: 2em;
	}
	#latest-news {
		height: 50em;
	}
	.news-column {
		width: 100%;
	}
	.news-column p {
		font-size: 1.08em;
	}
	.news-column-text {
		height: 15em;
	}
	.ca-nav-prev:before, .ca-nav-next:before {
		color: #808080;
	}
	.entry-title {
		font-size: 2.7em;
	}
	#content img:not(#featured-image) {
		width: 100%;
		height: auto;
	}
	#sort-buttons {
		display: none;
	}
	.library-item {
		width: 32.33333%
	}
	#content .wp-pagenavi a.page, #content .wp-pagenavi .current {
		display: none;
	}
	.blog-entry .entry-remainder {
		padding: 5%;
		width: 90%;
	}
	.mobile-slider {
		height: 185px;
	}
	#content iframe {
		width: 98%;
		display: block;
		margin: 0 auto 5%;
		height: 200px;
	}
	#gallery-slider {
		height: 180px;
	}
	#gallery-prev, #gallery-next {
		height: 30px!important;
		width: 30px!important;
	}

	/* Footer */
	.logo-wrapper {
		clear: both;
		display: block;
		margin: 30px auto;
		width: 68%;
	}
	.logo-wrapper img {
		width: 100%;
	}
	.feed {
		width: 100%;
	}
	.feed h1 {
		text-align: center;
	}
	.feed li, #cff .cff-link-caption, .cff-item {
		font-size: 14px!important;
	}
	#footer-3 {
		padding: 5% 0 4%;
	}
	#footer-3 p {
		line-height: 12px;
		text-align: right;
	}
	#footer-3 a {
		line-height: 12px;
		display: block;
		clear: both;
		text-align: right;
	}
	#footer-3 img {
		height: 24px;
		margin-right: 7px;
	}
	#cff .cff-item {
		height: auto;
	}

	/* Forms & Buttons */
	.gform_wrapper input[type="submit"] {
		padding-left: 0;
		padding-right: 0;
		width: 100%;
		display: table;
		margin: 14px 0;
	}

}

@media (max-width: 430px) {
	html {
		font-size: 60%;
	}
}