/*
FORTNEY PACKAGES - STYLES
Author:		Jim Robinson
Modified:	11/21/2014
*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

header, footer {
	position: relative;
}

body {
	min-height: 600px;
	font: 100%/1.5 'Open Sans', Arial, sans-serif; /* 100% = 16px */
	margin: 0 auto;
	background: url("../images/bg_body.gif") repeat;
	-webkit-text-size-adjust: 100%; /* so iOS Safari doesn't attempt to scale up text */
}

img {
	max-width: 100%;
	-ms-interpolation-mode: bicubic;
}

p {
	line-height: 1.5;
	margin-bottom: 1em;
	text-align: left;
	text-indent: 1.5em;
	color: #444444;
}

p.no-indent {
	text-indent: 0;
}

p.block-indent {
	text-indent: 0;
	margin-left: 1.5em;
}

a {
	color: #663300;
	text-decoration: none;
	-o-transition: color .5s ease;
	-ms-transition: color .5s ease;
	-moz-transition: color .5s ease;
	-webkit-transition: color .5s ease;
	transition: color .5s ease;		
}

a:hover {
	color: #cc9933;
	text-decoration: none;
}

ul, ol {
	text-align: left;
	margin: 1em 0 1em 2.5em;
	color: #444444;
}

li {
	margin-bottom: 0.5em;
}

hr {
	border: 0;
	border-top: 1px solid #6a4e1e;
}

aside > img {
	display: block;
}

/*------------------------------------------------------------------------------
Header/Title styles
------------------------------------------------------------------------------*/
h1, h2, h3 {
	text-indent: 0;
	text-align: left;
	margin: 0;
	margin-bottom: 0.25em;
}

h1 {
	font: 24pt Oxygen, Arial, sans-serif;
	color: #663300;
}

h2 {
	font: 18pt Oxygen, Arial, sans-serif;
	color: #666666;
	padding: 0.2em 0;
}

h3 {
	font: 12pt 'Open Sans', Arial, sans-serif;
	color: #663300;
	text-align: left;
	line-height: 1.5;
	padding: 0;
}



/*------------------------------------------------------------------------------
Layout containers
------------------------------------------------------------------------------*/
#site-container {
	max-width: 1248px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

#header {
	position: relative;
	background-color: #D2BB94;
	text-align: left;
}

#content {
	background-color: #ffffff;
	padding: 1em;
	min-height: 600px;
	clear: both;
}

#footer {
	background-color: #D2BB94;
	color: #663300;
	padding: 3em 1em;
	font-size: 10pt;
}

#footer-boxes .fa {
	margin: 10px auto;
	text-align: center;
	font-size: 40pt;	
}

#fortney-logo {
	background-image: url("../images/fortney_logo.png");
	background-repeat: no-repeat;
	background-position: 0 0;
	background-size: 175px 75px;
	display: block;
	vertical-align: middle;
	width: 175px;
	height: 75px;
}

#address-contact {
	text-align:  center;
	padding: 1em;
	display: none;
}

#top-banner {
	position: relative; /*#9c632b*/
	background-color: #faf096;
	color: #9c632b;
	padding: 0.5em 1em;
	z-index: 100;
	vertical-align: middle;
	line-height: 1.5;
}

#top-banner:after {
	position: absolute;
	top: -18px;
	border-top: 18px solid transparent;
	border-left: 18px solid #faf096;
	content: '';
	left: 100px;
}

#top-banner a {
	color: #442200;
	text-decoration: underline;
}

#top-banner .fa {
	vertical-align: middle;
	margin-left: 3px;
	color: #663300;
}


/*------------------------------------------------------------------------------
Top Menu
------------------------------------------------------------------------------*/
#phone-menu,
#mobile-menu {
	display: block;
	height: 75px;
	font-size: 36px;
	line-height: 36px;
	vertical-align: middle;
	position: absolute;
	top: 18px;
	right: 18px;
	color: #663300;
	cursor: pointer;
}

#phone-menu {
	right: 75px;
}

#menu {
	background-color: #D2BB94;
	max-width: 1248px;
	position: relative;
	margin: 0;
	text-align: left;
	display: none;
	vertical-align: middle;
	padding: 0;
	z-index: 1000;
}

#menu > ul {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: left;
}

#menu > ul > li {
	display: block;
	margin: 0;
	position: relative;
}

#menu > ul > li > a {
	display: block;
	font: 12pt 'Open Sans', Arial, sans-serif;
	padding: 0.5em;
	text-decoration: none;
}

#menu a .fa {
	margin: 5px;
	color: #9c632b;
	font-size: 16pt;
}

#menu li:hover .fa,
#menu li.toggled .fa,
#menu a:hover .fa {
	color: #cc9933;
}

#menu > ul > li:hover,
#menu > ul > li.toggled {
	background-color: #663300;
}

#menu > ul > li:hover a,
#menu > ul > li.toggled a {
	color: #ffffff;
}

#menu > ul li > ul {
	list-style: none;
	margin: 0;
	display: none;
	width: auto;
	background-color: #663300;
	padding: 0 1em 1em 1em;
}

#menu > ul > li:hover > ul,
#menu > ul > li > ul.toggled {
	display: block;
}

#menu > ul > li:hover > ul li,
#menu > ul > li > ul.toggled li {
	margin: 0;
}

#menu > ul > li > ul a {
	display: block;
	color: #ffffff;
	padding: 0.5em;
}

#menu > ul > li > ul a:hover {
	background-color: #D2BB94;
	color: #663300;
}

/*------------------------------------------------------------------------------
Tables for tabular data
------------------------------------------------------------------------------*/
div.table-wrapper {
	max-width: 100%;
	overflow: hidden;
	overflow-x: scroll;
	margin-bottom: 1em;
}

div.table-wrapper:before {
	content: "Scroll or swipe horizontally to view table...";
	font-size: 9pt;
	line-height: 2;
	color: #999999;
}

div.table-wrapper th,
div.table-wrapper td {
	white-space: nowrap;
}

table {
	font: 12pt 'Open Sans', Arial, sans-serif;
	background-color: #d2bb94;
	margin-bottom: 1.0em;
	border-collapse: collapse;
	width: 100%;
	border-spacing: 0;
}

thead tr {
	background-color: #d2bb94;
	border-bottom: 1px solid #6a4e1e;
}

tbody tr {
	background-color: #f7f3eb;
}

thead th, tbody td {
	padding: 0.5em;
	vertical-align: middle;
}

th.border-right,
td.border-right {
	border-right: 1px solid #6a4e1e;
}

.color0 {
	background-color: #ffffff;
}

.color1 {
	background-color: #f7f3eb;
}

.color2 {
	background-color: #efe4d2;
}

/*------------------------------------------------------------------------------
Input Elements
------------------------------------------------------------------------------*/
select, input, textarea {
	border: 1px solid #D2BB94;
	border-radius: 2px;
	padding: 4px;
	margin: 2px 0;
}

select, input, textarea, optgroup, option, button {
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 14pt;
}

textarea {
	width: auto;
	min-width: 220px;
	min-height: 100px;
}

input:active,
input:focus,
textarea:active,
textarea:focus,
select:active,
select:focus {
	box-shadow: 0 0 12px #D2BB94; 
}

a.button {
	display: inline-block;
}

a.button,
button {
	font-size: 14pt;
	border: 0;
	padding: 0.35em 1em;
	color: #ffffff;
	background-position: center bottom;
	background-color: #9c632b;
	background-image: none;
	background: -moz-linear-gradient(top, #9c632b 0%, #663300 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9c632b), color-stop(100%,#663300));
	background: -webkit-linear-gradient(top, #9c632b 0%, #663300 100%);
	background: -o-linear-gradient(top, #9c632b 0%, #663300 100%);
	background: -ms-linear-gradient(top, #9c632b 0%, #663300 100%);
	background: linear-gradient(to bottom, #9c632b 0%, #663300 100%);
	box-shadow: 0 5px 5px #555555;
	cursor: pointer;
}

a.button:active,
button:active {
	box-shadow: none;
}

.ui-message {
	background-color: #efe4d2;
	color: #663300;
	border-radius: 4px;
	padding: 1em;
}

/*------------------------------------------------------------------------------
Image thumbnails
------------------------------------------------------------------------------*/
.fancybox,
.fancybox_video {
	position: relative;
	overflow: hidden;
	display: inline-block;
	border: 1px solid transparent;
	max-height: 300px;
	text-align: center;
	line-height: 0;
	-o-transition: border-color .5s ease;
	-ms-transition: border-color .5s ease;
	-moz-transition: border-color .5s ease;
	-webkit-transition: border-color .5s ease;
	transition: border-color .5s ease;
}

.fancybox_video {
	max-width: 534px;
	max-height: 300px;
}

.fancybox:hover,
.fancybox_video:hover {
	border: 1px solid #D2BB94;
	box-shadow: 0 0 5px #D2BB94;
}

.fancybox .zoom {
	display: block;
	position: absolute;
	width: 50px;
	height: 50px;
	line-height: 50px;
	top: 0;
	right: 0;
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	-o-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
	font-size: 25px;
	color: #cc9933;
}

.fancybox:hover .zoom {
	top: 50%;
	right: 50%;
	width: 100px;
	height: 100px;
	line-height: 100px;
	margin-right: -50px;
	margin-top: -50px;
	-webkit-transform: translate(0,0);
	-moz-transform: translate(0,0);
	-o-transform: translate(0,0);
	-ms-transform: translate(0,0);
	transform: translate(0,0);
	font-size: 50px;
	color: #cc9933;
	text-shadow: 2px 2px 5px #222;
}

.fancybox:hover .zoom

.fancybox_video .play {
	display: block;
	position: absolute;
	width: 50px;
	height: 50px;
	line-height: 100px;
	top: 50%;
	left: 50%;
	margin-left: -50px;
	margin-top: -50px;
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	-o-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
	font-size: 100px;
	color: #444444;
	text-shadow: 2px 2px 5px #000000;
}

.fancybox_video:hover .play {
	color: #663300;
}

/* break floated containers */
.ui-helper-clear {
	clear: both;
}

/* panel container with padding */
.ui-panel {
	border-top: 1px solid #D2BB94;
	padding: 1em;
}

.ui-margin {
	margin: 1em 0;
}

/* Fractions */
.n, .d {
	font-size: 75%;
}

.n {
	vertical-align: 0.8ex;
	margin-left: 2px;
}

.d {
	vertical-align: -0.3ex;
}

.ui-neat-align p {
	font-size: 11pt;
	margin-bottom: 0.75em;
	text-align: left;
	text-indent: 0;
}

.ui-neat-align p span.label {
	display: block;
}

.ui-neat-align p input,
.ui-neat-align p textarea,
.ui-neat-align p select,
.ui-neat-align p img,
.ui-neat-align p a {
	display: inline;
	vertical-align: middle;
	margin-bottom: 0.5em;
}

.category {
	padding: 1em;
	display: block;
	-webkit-transition: background-color 1s ease;
	-ms-transition: background-color 1s ease;
	-moz-transition: background-color 1s ease;
	-o-transition: background-color 1s ease;
	transition: background-color 1s ease;
}

.category img {
	height: 150px;
}

.category:hover {
	background-color: #efe4d2;
	border-radius: 4px;
}

span.caption {
	display: block;
	font: 12pt 'Open Sans', Arial, sans-serif;
	color: #663300;
	text-align: left;
	line-height: 1.5;
	padding: 0;
	margin-bottom: 0.25em;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

#back-to-top {
	position: relative;
	text-align: center;
	color: #6a4e1e;
	padding: 0.5em 0.5em 1em;
	background-color: #D2BB94;
	display: block;
	font-size: 20px;
}

.captcha-image,
.captcha-input {
	vertical-align: middle;
}

#contact-survey {
	padding: 1em;
	background-color: #efe4d2;
}


@media screen and (min-width: 761px) {

	h1 {
		font-size: 36pt;
	}

	h2 {
		font-size: 24pt;
	}

	h3, span.caption {
		font-size: 16pt;
	}

	textarea {
		min-width: 280px;
	}

	.category {
		padding: 1em;
		margin: 1em;
		display: inline-block;
		width: 33%;
		max-width: 300px;
		vertical-align: top;
	}

	.category img {
		height: auto;
	}

	aside > img,
	aside > div.sidetext {
		float: right;
		max-width: 500px;
	}

	div.sidetext {
		background-color: #efe4d2;
		padding: 1em;
		margin: 1em;
	}

	/* 2-column layout containers */
	.ui-2-column-left {
		float: left;
		width: 48%;
	}

	.ui-2-column-right {
		float: right;
		width: 48%;
	}

	.ui-2-column-left-75 {
		float: left;
		width: 73%;
	}

	.ui-2-column-right-25 {
		float: right;
		width: 23%;
	}

	.ui-2-column-left-25 {
		float: left;
		width: 23%;
	}

	.ui-2-column-right-75 {
		float: right;
		width: 73%;
	}

	/* 3-column layout container */
	.ui-3-column {
		float: left;
		width: 33.3%;
	}

	.ui-thumbnails {
		float: right;
	}

	/* Neat-align (for tableless alignment) */
	.ui-neat-align p span.label {
		display: inline;
		margin: 0;
		text-align: right;
		vertical-align: middle;
		float: left;
		width: 10em;
		padding-right: 1em;
		font-weight: normal;
		color: #777777;
	}

	.ui-neat-align p span.text {
		display: block;
		margin-left: 11em;
		text-align: left;
	}

	#fortney-logo {
		background-image: url("../images/fortney_logo@1.5x.png");
		background-size: 263px 113px;
		display: inline-block;
		width: 263px;
		height: 113px;
	}
	
	#phone-menu,
	#mobile-menu {
		display: none;
	}

	#menu {
		display: inline-block;
		vertical-align: middle;
	}

	#menu > ul {
		text-align: center;
	}

	#menu > ul > li {
		display: inline-block;
	}

	#menu > ul > li > a {
		font-size: 12pt;
	}

	#menu a .fa {
		display: block;
		font-size: 22pt;
	}

	#menu > ul li > ul {
		position: absolute;
		left: 0;
		z-index: 1;
		width: 200px;
		padding: 1em;
	}

	#top-banner:after {
		top: -24px;
		border-top-width: 24px;
		border-left-width: 24px;
		left: 150px;
	}

	#footer-message {
		margin: 0 auto;
		text-align: center;
		width: 80%;
	}

	#footer-boxes {
		display: inline-block;
		vertical-align: middle;
		width: 20%;
	}

	#footer-copyright {
		display: inline-block;
		vertical-align: middle;
		width: 70%;
	}

	#back-to-top {
		position: fixed;
		bottom: 5em;
		right: 1em;
		text-decoration: none;
		color: #6a4e1e;
		font-size: 25px;
		padding: 0.20em;
		margin: 0;
		display: none;
		width: 40px;
		height: 40px;
		text-align: center;
		border-radius: 999px;
		border: 3px solid #6a4e1e;
		background-color: #efe4d2;
	}

	#back-to-top:hover {
		background-color: #ffffff;
	}
}

@media screen and (min-width: 961px) {

	div.table-wrapper {
		overflow-x: auto;
	}

	div.table-wrapper:before {
		content: "";
		line-height: 0;
	}

	div.table-wrapper td {
		white-space: normal;
	}
}

@media screen and (min-width: 1025px) {

	#contact-survey {
		text-align: center;
	}
	#contact-survey div {
		width: 800px;
		margin: 0 auto;
	}
	#fortney-logo {
		background-image: url("../images/fortney_logo@2x.png");
		background-size: 350px 150px;
		display: inline-block;
		width: 350px;
		height: 150px;
	}

	#menu > ul > li > a {
		font-size: 16pt;
	}

	#menu a .fa {
		font-size: 30pt;
	}

	#top-banner {
		font-size: 16pt;
	}

	#top-banner:after {
		top: -30px;
		border-top-width: 30px;
		border-left-width: 30px;
		left: 200px;
	}

	#back-to-top {
		bottom: 2em;
		right: 2em;
		font-size: 30px;
		width: 50px;
		height: 50px;
	}
}

@media screen and (min-width: 1248px) {

	#site-container {
		border-left: 3px solid #6a4e1e;
		border-right: 3px solid #6a4e1e;
	}

	#address-contact {
		display: block;
		position: absolute;
		right: 2em;
		top: 50%;
		text-align: right;
		margin-top: -36px;
		padding: 0;
		color: #663300;
	}
}