html {
	height: 100%;
}

body {
	font-family: 'Open Sans', sans-serif;
	font-size: 10pt;
	background-color: #262626;
	height: 100%;
}

#page {
	display: block;
	margin: auto;
	width: 100%;
	background-color: #fff;
}

.page-sizer {
	display: block;
	width: 100%;
	margin: auto;
	padding-bottom: 30px;
}

#logo-div {
	display: block;
	width: 100%;
	position: relative;
}

	#logo {
		display: block;
		width: 90%;
		padding: 1%;
		margin: auto;
		border: 0;
	}

	#logo-feather {
		display: block;
		position: absolute;
		bottom: -7px;
		left: 0;
		width: 100%;
		height: 7px;
		background:url(img/bg-logo.png) top left repeat-x;
	}

#nav {
	display: block;
	height: 40px;
	margin: 0;
	padding: 0 2%;
	list-style: none;
	background-color: #F38F1D;
	font-size: 10pt;
	font-weight: 300;
	text-transform: uppercase;
	text-align: center;
	border-bottom: solid 1px #B6121B;
}

	#nav > li {
		display: inline-block;
		width: 21%;
		height: 40px;
		text-align: center;
		margin: 0;
		padding: 0;
		color: #B6121B;
		line-height: 33pt;
		position: relative;
	}

		#nav > li > a {
			padding: 0 5%;
		}

		#nav a:link, #nav a:visited {
			text-decoration: none;
			color: #B6121B;
		}

		#nav a:hover {
			background-color: #B6121B;
			color: #fff;
			-webkit-transition: background-color 300ms linear, color 200ms linear;
			-moz-transition: background-color 300ms linear, color 200ms linear;
			-o-transition: background-color 300ms linear, color 200ms linear;
			-ms-transition: background-color 300ms linear, color 200ms linear;
			transition: background-color 300ms linear, color 200ms linear;
		}

		#nav > li > ul {
		display:none;
		position:absolute;
		z-index: 10;
		top: 40px;
		left: 0;
		width: 100%;
		padding: 0 10px;
		margin: 0;
		background-color: #F38F1D;
		border-left: solid 1px #B6121B;
		border-right: solid 1px #B6121B;
		border-bottom: solid 1px #B6121B;
		list-style: none;
		font-size:8pt;
		font-weight: 400;
		text-transform: uppercase;
		background: -moz-linear-gradient(top,  rgba(243,143,29,1) 0%, rgba(244,182,9,1) 100%);
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(243,143,29,1)), color-stop(100%,rgba(244,182,9,1)));
		background: -webkit-linear-gradient(top,  rgba(243,143,29,1) 0%,rgba(244,182,9,1) 100%);
		background: -o-linear-gradient(top,  rgba(243,143,29,1) 0%,rgba(244,182,9,1) 100%);
		background: -ms-linear-gradient(top,  rgba(243,143,29,1) 0%,rgba(244,182,9,1) 100%);
		background: linear-gradient(to bottom,  rgba(243,143,29,1) 0%,rgba(244,182,9,1) 100%);
		-moz-box-shadow: 0px 2px 4px #000;
		-webkit-box-shadow: 0px 2px 4px #000;
		-o-box-shadow: 0px 2px 4px #000;
		box-shadow: 0px 2px 4px #000;
}

#nav > li > ul > li {
text-align:center;
padding: 5px;
line-height:20pt;
}

.red {
	background-color: #B6121B;
	color: #fff;
	font-variant: small-caps;
}

	.red a:link, .red a:visited {
		color: #fff;
	}

#running-brands {
	display: block;
	position: relative;
	overflow: hidden;
	/*width: 100%;*/
	height: 50px;
	background: rgb(0,0,0);
	background: -moz-linear-gradient(top,  rgba(0,0,0,1) 0%, rgba(58,58,58,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,1)), color-stop(100%,rgba(58,58,58,1)));
	background: -webkit-linear-gradient(top,  rgba(0,0,0,1) 0%,rgba(58,58,58,1) 100%);
	background: -o-linear-gradient(top,  rgba(0,0,0,1) 0%,rgba(58,58,58,1) 100%);
	background: -ms-linear-gradient(top,  rgba(0,0,0,1) 0%,rgba(58,58,58,1) 100%);
	background: linear-gradient(to bottom,  rgba(0,0,0,1) 0%,rgba(58,58,58,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#3a3a3a',GradientType=0 );
}

/* Simplyscroll */

/* Container DIV - automatically generated */
.simply-scroll-container {
	position: relative;
}

/* Clip DIV - automatically generated */
.simply-scroll-clip {
	position: relative;
	overflow: hidden;
}

/* UL/OL/DIV - the element that simplyScroll is inited on
Class name automatically added to element */
.simply-scroll-list {
	overflow: hidden;
	margin: 0;
	padding: 0;
	list-style: none;
}

.simply-scroll-list li {
	padding: 0;
	margin: 0;
	list-style: none;
}

.simply-scroll-list li img {
	border: none;
	display: block;
	height: 38px;
	margin: 12px;
}

/* Custom class modifications - adds to / overrides above

.simply-scroll is default base class */

/* Container DIV */
.simply-scroll {
	width: 100%;
	height: 50px;
}

/* Clip DIV */
.simply-scroll .simply-scroll-clip {
	height: 50px;
}

/* Explicitly set height/width of each list item */
.simply-scroll .simply-scroll-list li {
	float: left; /* Horizontal scroll only */
	/*width: 290px;*/
	height: 38px;
}

/* Simplyscroll ends */

#Content {
	display: block;
	width: 96%;
	margin: 0 2%;
	padding: 2% 0;
}

.flex-4-col {
	display: block;
	width: 98%;
	margin-left: 1%;
}

#footer {
	display: block;
	width: 100%;
}

.social-icons a {
	text-decoration: none;
}

.social-icons img {
	margin: 0 10px;
}

/* brands */

.brand-item {
	display: block;
	float: left;
	width: 48%;
	height: 0;
	padding-bottom: 48%;
	margin: 1%;
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
}

	#footer div {
		display: inline-block;
		width: 100%;
	}

.brand-ad-image {
	width: 100%;
	margin: 1% 0;
	border: 0;
}

.brand-news-on-page {
	display: block;
	position: relative;
	width: 94%;
	margin: 10px 0;
	padding: 2%;
	background-color: #F38F1D;
	border-radius: 10px;
	color: black;
	background: rgb(243,143,29);
	background: -moz-linear-gradient(top,  rgba(243,143,29,1) 0%, rgba(255,188,81,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(243,143,29,1)), color-stop(100%,rgba(255,188,81,1)));
	background: -webkit-linear-gradient(top,  rgba(243,143,29,1) 0%,rgba(255,188,81,1) 100%);
	background: -o-linear-gradient(top,  rgba(243,143,29,1) 0%,rgba(255,188,81,1) 100%);
	background: -ms-linear-gradient(top,  rgba(243,143,29,1) 0%,rgba(255,188,81,1) 100%);
	background: linear-gradient(to bottom,  rgba(243,143,29,1) 0%,rgba(255,188,81,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f38f1d', endColorstr='#ffbc51',GradientType=0 );

	-moz-box-shadow: 0px 0px 5px #000000;
	-webkit-box-shadow: 0px 0px 5px #000000;
	-o-box-shadow: 0px 0px 5px #000000;
	box-shadow: 0px 0px 5px #000000;

	font-size: 1.1em;

}

.has-text {
	cursor: pointer;
}

.news-text {
	font-variant: normal;
	font-size: 9pt;
}

.news-text img {
	max-width: 100%;
}

.has-text .news-text  {
	display: none;
}

.expand {
	display: none;
	position: absolute;
	bottom: 0;
	right: 0;
}

.has-text .expand {
	display: block;
}

.brand-news-on-page h1, .brand-news-on-front h1 {
	color: white;
	margin: 0 0 .6em -2%;
	padding: 0 2%;
	font-size: 1.4em;
}



/* Frontpage */

	#frontpicture{
		display: block;
		position: relative;
		float: left;
		width: 65%;
		height: 0;
		padding-bottom: 34%;
		overflow: hidden;
	}

		#frontpicture h1 {
			display: block;
			position: absolute;
			width: 100%;
			bottom: 0;
			left: 0;
			font-weight: 300;
			text-align: center;
			font-size: 20pt;
			color: #B6121B;
			background: -moz-linear-gradient(top,  rgba(255,255,255,0.84) 0%, rgba(255,255,255,0.58) 100%);
			background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.84)), color-stop(100%,rgba(255,255,255,0.58)));
			background: -webkit-linear-gradient(top,  rgba(255,255,255,0.84) 0%,rgba(255,255,255,0.58) 100%);
			background: -o-linear-gradient(top,  rgba(255,255,255,0.84) 0%,rgba(255,255,255,0.58) 100%);
			background: -ms-linear-gradient(top,  rgba(255,255,255,0.84) 0%,rgba(255,255,255,0.58) 100%);
			background: linear-gradient(to bottom,  rgba(255,255,255,0.84) 0%,rgba(255,255,255,0.58) 100%);
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d6ffffff', endColorstr='#94ffffff',GradientType=0 );
		}

	.frontPictureSmall {
		display: block;
		position: relative;
		float: left;
		width: 35%;
		height: 0;
		padding-bottom: 17%;
		overflow: hidden;
	}

		#frontpicture, .frontPictureSmall {
			background-position: center;
			background-size: cover;
		}

		#frontpicture h1, .frontPictureSmall h1 {
			display: block;
			position: absolute;
			width: 100%;
			bottom: 0;
			left: 0;
			margin: 0;
			font-weight: 300;
			text-align: center;
			color: #B6121B;
			background: -moz-linear-gradient(top,  rgba(255,255,255,0.84) 0%, rgba(255,255,255,0.58) 100%);
			background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.84)), color-stop(100%,rgba(255,255,255,0.58)));
			background: -webkit-linear-gradient(top,  rgba(255,255,255,0.84) 0%,rgba(255,255,255,0.58) 100%);
			background: -o-linear-gradient(top,  rgba(255,255,255,0.84) 0%,rgba(255,255,255,0.58) 100%);
			background: -ms-linear-gradient(top,  rgba(255,255,255,0.84) 0%,rgba(255,255,255,0.58) 100%);
			background: linear-gradient(to bottom,  rgba(255,255,255,0.84) 0%,rgba(255,255,255,0.58) 100%);
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d6ffffff', endColorstr='#94ffffff',GradientType=0 );
		}

		#frontpicture h1 {
			font-size: 20pt;
		}

		.frontPictureSmall h1 {
			font-size: 14pt;
		}

		#frontpicture a:link, .frontPictureSmall a:link,
		#frontpicture a:visited, .frontPictureSmall a:visited {
			text-decoration: none;
			color: #B6121B;
		}

		#frontpicture a:hover, .frontPictureSmall a:hover {
			text-decoration: underline;
		}

.brand-news-on-front {
	display: inline-block;
	width: 91.9%;
	margin: 2%;
	padding: 2%;
	background-color: #F38F1D;
	border-radius: 10px;
	color: black;
	background: rgb(243,143,29);
	background: -moz-linear-gradient(top,  rgba(243,143,29,1) 0%, rgba(255,188,81,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(243,143,29,1)), color-stop(100%,rgba(255,188,81,1)));
	background: -webkit-linear-gradient(top,  rgba(243,143,29,1) 0%,rgba(255,188,81,1) 100%);
	background: -o-linear-gradient(top,  rgba(243,143,29,1) 0%,rgba(255,188,81,1) 100%);
	background: -ms-linear-gradient(top,  rgba(243,143,29,1) 0%,rgba(255,188,81,1) 100%);
	background: linear-gradient(to bottom,  rgba(243,143,29,1) 0%,rgba(255,188,81,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f38f1d', endColorstr='#ffbc51',GradientType=0 );

	-moz-box-shadow: 0px 0px 5px #000000;
	-webkit-box-shadow: 0px 0px 5px #000000;
	-o-box-shadow: 0px 0px 5px #000000;
	box-shadow: 0px 0px 5px #000000;

	font-size: 1.1em;
	text-decoration: none;

	/*height: 65px;*/

	vertical-align: top;
}

.brand-news-on-front p {
	color: #000;
}

.front-news-brand-image {
	max-width: 25%;
	margin: 0 0 1% 1%;
	float: right;
}

/* --- Plan ------- */

.building-block {
	display: block;
	width:98%;
	margin: 1%;
}

.floor-block {
	display: block;
	text-align: center;
}

.floor-block img {
	max-width: 100%;
	max-height: 200px;
}



#Mark {
	display: none;
	position: absolute;
	width: 200px;
	min-height: 50px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	background-color: #ff0000;
}

#MarkFoot {
	position: absolute;
	bottom: -23px;
	left: 135px;
}

#markContent {
	display: block;
	width: 90%;
	margin: 5%;
	text-align: center;
}


/* --- Admin ------ */

#door {
    position:absolute;
    bottom: 5px;
    right: 2px;
    display: none;
}

#door a, #door img {
    border: 0;
}

#admPanel22 {
    display:block;
    position:absolute;
    top:0px;
    left:0px;
    padding: 0px 10px 10px 10px;
    background-color: #999;
    opacity: .85;
    border: solid 1px #fff;
    overflow: hidden;
}

#admPanel22 a:link, #admPanel22 a:visited {
    color:#000;
}

#managed-media-icon {
	display:none;
	position: absolute;
	cursor: pointer;
	width: 20px;
}

#managed-media-dialog {
	font-size:8pt;
}

/* Utility */


.allwide {
    width: 100%;
}

.halfwide {
    width: 50%;
}

.half-or-full {
	width: 100%;
}

.pad10 {
    margin:10px;
}

.clear {
    clear: both;
}

.half {
    display: block;
    width: 49%;
    margin-right: 1%;
    float: left;
}

.clickable {
    cursor:pointer;
}

.itemHidden {
	opacity: .6;
}

.right-dashes {
	border-right: 2px dotted #F18D1B;
}
.center {
	text-align: center;
}
.max-100 {
	max-width: 100%;
}
.no-caps {
	font-variant: normal !important;
}

.hide {
	display: none;
}

.square {
	display: block;
	float: left;
	height: 0;
	width: 100%;
	padding-bottom: 100%;
}

.square-2 {
	width: 48%;
	padding-bottom: 48%;
	margin: 0 2% 2% 0;
}

.square-3 {
	width: 31%;
	padding-bottom: 31%;
	margin: 0 2% 2% 0;
}

.square-6 {
	width: 14.5%;
	padding-bottom: 14.5%;
	margin: 0 2% 2% 0;
}

.media-wrapper {
	background-size: cover;
}

.media-thumb {
	display: block;
	float: left;
	position: relative;
	width: 48%;
	margin: 0 2% 2% 0;
	/* Webkit (Safari/Chrome) */ -webkit-box-shadow: 0px 0px 7px 0px #000000;
	/* Mozilla Firefox */ -moz-box-shadow: 0px 0px 7px 0px #000000;
	/* Proposed W3C Markup */ box-shadow: 0px 0px 7px 0px #000000;
}

.red a.media-thumb {
	color: #000 !important;
}

.media-thumb h3 {

	position: absolute;
	left: 0;
	bottom: 0;
	background-color: rgba(255, 255, 255, .5);
	margin: 0;
	width: 100%;
	text-align: center;
	font-size: 10pt;
	font-weight: 400;
	overflow: hidden;

}

.thinHeader {
	font-weight: 300;
	font-size: 24pt;
	margin-top: 0;
}

.colorbox-dialog {
	padding: 20px;
	width: 400px;
	max-width: 95%;
}

.mandatory-missing {
    background-color: #ff9090;
}

.content-here {
	padding-top: 30px !important;
	padding-bottom: 30px !important;
}

/* Fixups */

.red input[type='text'], .red input[type='email'], .red textarea {
	color: #000 !important;
}

.button-warning {
            background: rgb(223, 117, 20) !important; /* this is an orange */
        }

/* Media queries */


@media screen and (min-width: 480px) {

	#logo {
		width: 60%;
	}


}

@media screen and (min-width: 600px) {

	#logo {
		width: 30%;
	}

	#footer div {
		width: 48%;
		margin-left: 1%;
		border-right: 2px dotted #F18D1B;
	}

	.half-or-full {
		width: 50%;
	}

	.brand-item {
		width: 31%;
		padding-bottom: 31%;
	}

	.flex-4-col {
		float: left;
		width: 48%;
	}

	.brand-news-on-front {
		width: 41.9%;
	}

	.media-thumb {
		width: 31%;
	}


}


@media screen and (min-width: 768px) {

	#logo {
		width: 20%;
	}

	#nav {
		font-size: 14pt;
	}

	#door {
		display: block;
	}

	.brand-item {
		width: 23%;
		padding-bottom: 23%;
	}

	.building-block  {
		float: left;
		width: 30%;
		margin: 1%;
	}

	.building-block img  {
		max-width: 100%;
	}

	.media-thumb {
		width: 23%;
	}
}

@media screen and (min-width: 1000px) {

	#logo {
		width: 20%;
	}

	#nav {
		font-size: 16pt;
	}

	.page-sizer {
		width: 78%;
	}


	#footer div {
		width: 23%;
	}

	.flex-4-col {
		width: 23%;
	}


	.brand-news-on-front {
		width: 28.9%;
		margin: 1%;
		padding: 1%;
	}

	.media-thumb {
		width: 14.5%;
	}
}

@media screen and (min-width: 1600px) {

	#logo {
		width: 20%;
	}

	#nav {
		font-size: 19pt;
	}

}

@media screen and (min-width: 1800px) {

	#logo {
		width: 10%;
	}

	#nav {
		font-size: 19pt;
	}
}
