@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700|Raleway');
@import url('https://fonts.googleapis.com/css?family=Dancing+Script');

body {
	margin-left: 0;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	font-size: 64%;
	font-family: 'Open Sans', sans-serif;
}

body.bodyBkg {
	background: url(/images/bkg-14.jpg) repeat-x left top;
	background-color: #fff;
}

#container {
	width: 980px;
	margin: 0 auto;
	padding: 0 6px 6px 6px;
}

#header {
	display: block;
	padding: 0;
	margin: 0 0 20px 0;
	width: 980px;
	height: 150px;
	background: #fbfbfb;
	z-index: 12;
}

/*
#displayname {
        display: inline;
        margin: -10px 0 0 0;
        padding: 0;
        float: left;
}
*/

#logoName {
	display: block;
	position: relative;
	float: left;
	margin: 15px 0 auto 15px;
	padding: 10px 0 0 0;
}

#logoName img {
	display: inline-block;
	position: relative;
	float: left; 
	margin: -13px 14px 10px 2px;
	padding: 4px 4px 20px 4px;
}

#logoName1 {
	display: block;
	font-family: 'Dancing Script', cursive;
	font-size: 2.65em;
	font-weight: light;
	font-weight: 200;
	color: #000;
	margin: 0 50px 0 0;
	text-align: left;
	vertical-align: middle;
}

#logoName2 {
	display: block;
	position: relative;
	margin: 5px 20px 0 0;
	padding: 2px 0 0 0;
	font-family: 'Raleway', Arial, sans-serif;
	font-size: 1.2em !important;
	font-weight: 400;
	text-transform: uppercase;
	text-align: left;
	color: #333;
}

#phone {
	display; block;
	height: 30px;
	font-family: 'Open Sans', sans-serif;
	font-size: 18px;
	font-weight: 300;
	color: #687d31;
	float: right;
	padding: 6px 6px 6px 9px;
	margin: 10px 0 0 0;
	z-index:500;
	text-shadow: 1px 1px 1px #999;
	text-align: right;
}

#horizBar {
	padding: 0;
	margin: 5px auto 0 auto;
	height: 350px;
	width: 950px;
	z-index: 2;
	border: solid 8px #fff;
	-moz-box-shadow: 1px 1px 5px 5px #ccc;
 	-webkit-box-shadow: 1px 1px 5px 5px #ccc;
 	box-shadow: 1px 1px 5px 5px #ccc;
}

.imageGallery {
	border: solid 2px #e7e7e7 !important;
	background-image: url(/images/video-thumbs-blue.jpg2);
	background-repeat: repeat-x;
	background-position: left top;
	background: #e7e9e6;
	border: solid 4px #fff;
	-moz-box-shadow: 1px 1px 5px 5px #ccc;
 	-webkit-box-shadow: 1px 1px 5px 5px #ccc;
 	box-shadow: 1px 1px 5px 5px #ccc;
	padding: 3px;
	margin-bottom: 14px;
}

#SidebarContent .imageGallery {
	padding: 3px;
	margin: 12px 0 0 0;
	background-color: #fbfbfb;
	border: solid 6px #fff;
	-moz-box-shadow: 1px 1px 3px 3px #ccc;
 	-webkit-box-shadow: 1px 1px 3px 3px #ccc;
 	box-shadow: 1px 1px 3px 3px #ccc;
}

.videothumbails_container {
	border: solid 2px #e7e7e7 !important;
	background-image: url(/images/video-thumbs-blue.jpg2);
	background-repeat: repeat-x;
	background-position: left top;
	background: #e7e9e6;
	border: solid 4px #fff;
	-moz-box-shadow: 1px 1px 3px 3px #ccc;
 	-webkit-box-shadow: 1px 1px 3px 3px #ccc;
 	box-shadow: 1px 1px 3px 3px #ccc;
	margin-bottom: 14px;
	width: 90%;
}

p {
	margin-top: 0em;
	margin-bottom: 1.5em;
}

td {
	font-size: 1.2em;
	line-height: 100%
}

td td, #contentWrapper ul ul {
	font-size: 100%;
}

#contentWrapper a, #contentWrapper a:visited {
	color: #0a368f !important;
}

a:hover, a:visited:hover {
	text-decoration: none;
}

h1 {
	font-family: 'Dancing Script', cursive;
	font-size: 3em;
	font-weight: 200;
	color: #687d31 !important;
	text-shadow: 1px 1px 1px #ccc;
	line-height: 40px;
	margin: 3px 0 6px 0;
}

h2 {
	font-family: 'Open Sans', sans-serif;
	font-size: 1.5em;
	font-weight: 300;
	color: #666 !important;
	line-height: 18px;
	margin: 7px 0 0 2px;
}

.module_bottom_spacer {
	height: 25px;
	display: block;
}

#mainContentWrapper {
	background-color: #fff;
	min-height: 553px;
	padding-bottom: 20px;
	margin-bottom: 14px;
}

#contentWrapper {
	position: relative;
	top: 20px;
	min-height: 500px;
	height: auto !important;
	height: 500px;
	width: 960px;
	margin-left: 14px;
	margin-right: 0;
	*margin-right: -8px;
	margin-bottom: 50px;
	text-align: center;
}

#mainContent {
	position: relative;
	height: auto;
	width: 936px;
	font-size: 1.2em;
	line-height: 16px;
	text-align: left;
	border-left: dotted 1px #ccc;
	padding: 0 12px;
}

#SidebarContent {
	display: block;
	width: 250px;
	float: right;
	clear: none;
	padding-left: 10px;
	padding-right: 3px;
	margin-left: 25px;
	margin-right: 12px;
	border: 1px solid #3791e0;
	text-align: left;
	height: 100% !important;
	min-height: 500px;
	height: 500px;
	overflow: hidden;
	background-color: #fbfbfb;
	border: solid 8px #fff;
	-moz-box-shadow: 1px 1px 5px 5px #ccc;
 	-webkit-box-shadow: 1px 1px 5px 5px #ccc;
 	box-shadow: 1px 1px 5px 5px #ccc;
}

#bottom {
	bottom: 0;
	left: 0;
	position: fixed;
	z-index: 150;
	_position: absolute;
	_top: expression(eval(document.documentElement.scrollTop + (document.documentElement.clientHeight - this.offsetHeight)));
	width: 100%;
	height: 50px;
	margin: 20px 0 0 0;
	padding: 0;
	background: url(/images/footer-14.png) no-repeat left top;
	background: #687d31;
	border-top: solid 1px #666;
	-webkit-box-shadow: 0 0 3px 3px #999;
	-moz-box-shadow: 0 0 3px 3px #999;
	box-shadow: 0 0 3px 3px #999;
	z-index: 1000;
}

#bottomNav {
	display: block;
	width: 98%;
	height: auto;
	min-height: 20px;
	margin: 4px auto 2px auto;
	padding: 1px 1px 0 0;
	text-align: center;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	border-radius: 5px;
}

#bottomNav ul {
	margin: 0;
	padding: 0;
	text-align: center;
}

#bottomNav li {
	display: inline;
	margin-left: 0;
	margin-right: 8px;
	padding: 0;
	list-style: none;
	width: auto;
}

#bottomNav a {
	font: 11px 'Open Sans', Arial, sans-serif;
	color: #fff;
	text-decoration: none;
}

#bottomNav a:hover {
	color: #fc0;
	text-decoration: underline;
}

#copyright {
	display: block;
	width: 98%;
	float: left;
	margin: 0 auto;
	text-align: center;
}

#copyright a {
	font-size: .85em;
	color: #999;
}

#copyright a:hover {
	font-size: .85em;
	color: #fff;
}

.clear {
	position: relative;
	clear: both;
	float: none;
	height: 1px;
	width: 100%;
}

.clear-block {
	clear: both;
	display: block;
}

#main-menu {
	position: absolute;
	display: block;
	height: 33px;
	width: 978px;
	top: 110px;
	background-color: #fbfbfb;
	text-align: right;
	margin: 0;
	padding: 0;
	z-index: 100;
}

.responsive-menu {
	position: relative;
	float: right;
	padding: 0;
	margin: 0;
	height: 23px;
	overflow: visible;
	text-align: right !important;
}

.responsive-menu ul {
	margin: 0;
	padding: 0;
	height: 23px;
}

.responsive-menu li {
	float: left;
	margin-top: 3px;
	margin-left: 0;
	margin-right: 8px;
	padding: 0;
	list-style: none;
	text-align: center;
	width: auto;
}

.responsive-menu li a {
	padding: 7px 5px 6px 5px;
	display: block;
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 12px;
	color: #656565;
	text-decoration: none;
}

.responsive-menu li a:hover {
	background-color: #ccc;
}

.responsive-menu ul ul {
	position: absolute;
	display: block;
	top: 33px;
	margin: -3px 0 2px 0;
	padding: 0;
	width: auto;
	height: auto;
	border-bottom: 1px solid #ccc;
	visibility: hidden;

	/* Safari 4-5, Chrome 1-9 */
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#cccccc), to(#999999)); 
	/* Safari 5.1, Chrome 10+ */
	background: -webkit-linear-gradient(top, #cccccc, #999999); 
	/* Firefox 3.6+ */
	background: -moz-linear-gradient(top, #cccccc, #999999); 
	/* IE 10 */
	background: -ms-linear-gradient(top, #cccccc, #999999); 
	/* Opera 11.10+ */
	background: -o-linear-gradient(top, #cccccc, #999999);
}

.responsive-menu ul ul li {
	text-align: center;
	width: 150px;
	clear: both;
	height: auto;
	margin: 0;
	padding: 0;
	background-color: #00529b;
}

.responsive-menu ul ul li a {
	background-color: #ccc;
	padding-top: 5px;
	display: block;
	border-bottom: 1px solid #999;
	border-collapse: collapse;
	height: auto;
	font: normal 12px;
	color: #fff;
	text-decoration: none;

	/* Safari 4-5, Chrome 1-9 */
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#cccccc), to(#999999)); 
	/* Safari 5.1, Chrome 10+ */
	background: -webkit-linear-gradient(top, #cccccc, #999999); 
	/* Firefox 3.6+ */
	background: -moz-linear-gradient(top, #cccccc, #999999); 
	/* IE 10 */
	background: -ms-linear-gradient(top, #cccccc, #999999); 
	/* Opera 11.10+ */
	background: -o-linear-gradient(top, #cccccc, #999999);
}

.responsive-menu ul ul li a:hover {
	color: #fc0;
	display: block;
	background-color: #003d73;
}

.responsive-menu ul ul img {
	display: none;
}

.responsive-menu ul ul ul {
	position: absolute;
	top: 0;
	left: 151px;
	margin: 0;
	padding: 0;
	width: auto;
	height: auto;
	visibility: hidden;
	border-bottom: 1px solid #ccc;
}

.responsive-menu ul ul ul li {
	text-align: center;
	width: 150px;
	clear: both;
	height: auto;
	margin: 0;
	padding: 0;
}

.responsive-menu ul ul ul li a {
	background-color: #00529b;
	padding-top: 5px;
	display: block;
	border-bottom: 1px solid #ccc;
	border-collapse: collapse;
	height: auto;
	font:normal 12px;
	color: #fff;
	text-decoration: none;
}

.responsive-menu ul ul ul li a:hover {
	color: #fc0;
	display: block;
	background-color: #003d73;
}

.responsive-menu li:hover ul, .responsive-menu li:hover li:hover ul {
	visibility: visible;
}

.responsive-menu li:hover ul ul {
	visibility: hidden;
}

/* ------------ EDITOR MODULE ------------------ */

.editor img {
	padding: 0;
	margin: 8px;
}

/* ------------ NEWS MODULE ------------------ */

.detailview {
	background-color: #fff;
}

.news {
	margin-bottom: .3em;
}

.news li {
	margin: 0 0 10px -25px;
	color: #fc0 !important;
}

.news li a {
	color: #ccc !important;
}

#SidebarContent .news li a {
	color: #687d31 !important;
}

.news a {
	font-size: 1em !important;
	font-weight: bold;
	color: #687d31 !important;
	line-height: 100%;
}

.news h2 a {
	text-decoration: none !important;
	font-size: 1.2em !important;
}

.article {
	color: #687d31 !important;
	font-size: 1.2em;
}

#mainContent .news h2 {
	font-size: 1.4em;
	margin-bottom: .3em;
	font-weight: bold;
}

#mainContent .news a {
	font-size: 1em !important;
	font-weight: bold;
	color: #687d31 !important;
	line-height: 100%;
}

#SidebarContent .news h2 {
	font-size: 1.4em;
	margin-bottom: .3em;
	font-weight: bold;
}
	
/* ------------ CONTACT FORM MODULE ------------------ */

#mainContent #contactform form {
	display: inline-block;
}

#mainContent #contactform .clear-block {
	padding: 7px 0;
}

#mainContent #contactform label {
	float: left;
	min-width: 150px;
	_width: 150px;
}

#mainContent #contactform .question_input {
	float: left;
}

#SidebarContent #contactform input, #SidebarContent #contactform textarea {
	max-width: 150px;
}

/* ------------ CALENDAR MODULE ------------------ */

.MonthNavigation {
	background-color: #d4e9fd !important;	
}

.Today {
	background-color: #d4e9fd !important;
}

.DateLabel, .Weekend {
	background-color: #f7f7ee !important;
}

.DateHeader {
	background-color: #edecda !important;
}

.Inactive {
	background-color: #f8f8f8 !important;
}

/* --------- IFRAME MODULE ------------- */

iframe {
	position: relative;
	z-index: 1;}
	
/* --------- SOCIAL MEDIA MODULE ------------- */

.socialNetworking {
	display: block;
	clear: both;
	float: none;
}

.socialNetworking div {
	float: left;
	margin: 10px 8px 15px 0;
}

/* MOBILE */

@media screen and (max-width: 979px) {
	#container {
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
	}
	#container img {
		max-width: 98% !important;
		height: auto;
	}
	#header {
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
	}
	#phone {
		display: none;
	}
	#horizBar {
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
	}
	#bottom {
		width: 100% !important;
		background-size: 100% 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
	}
	#contentWrapper {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-box-orient: vertical;
		-moz-box-orient: vertical;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		/* optional */
		-webkit-box-align: start;
		-moz-box-align: start;
		-ms-flex-align: start;
		-webkit-align-items: flex-start;
		align-items: flex-start;

		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
	}
	#mainContent {
		overflow: hidden;
		-webkit-box-ordinal-group: 1;
		-moz-box-ordinal-group: 1;
		-ms-flex-order: 1;
		-webkit-order: 1;
		order: 1;
		height: auto !important;

		width: 98% !important;
		margin: 10px auto !important;
		padding: 0 !important;
	}
	#SidebarContent {
		overflow: hidden;
		-webkit-box-ordinal-group: 2;
		-moz-box-ordinal-group: 2;
		-ms-flex-order: 2;
		-webkit-order: 2;
		order: 2;
		height: auto !important;

		width: 85% !important;
		margin: 10px auto !important;
	}
	#bottom, #bottom #bottomNav, #bottom #copyright {
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		float: none !important;
	}
	#contactform {
		max-width: 100%;
		margin: 0;
		padding: 0;
	}
	#contactform label {
		max-width: 80%;
	}
	#contactform input[type="text"] {
		max-width: 75%;
	}
	#contactform input[type="email"] {
		max-width: 75%;
	}
	#contactform textarea {
		max-width: 80%;
	}
	.editor table {
		border: solid 0px #ccc;
		display: block !important;
		max-width: 100% !important;
	}

	#contentWrapper {
		margin-bottom: 40px !important;
	}
	#bottomNav a {
		font-size: 8px;
	}
	#copyright {
		font-size: 8px;
	}
}
