/* ---------------------------------------------------------------------------------------------

    Custom stylesheet for this site.
     
   --------------------------------------------------------------------------------------------- */

body {
    background-color: #7db9e8;
}

div.gradient {
    /* This gradiant was created at http://www.colorzilla.com/gradient-editor/ */
    background: #7db9e8; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzFlNTc5OSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM3ZGI5ZTgiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #1e5799 0%, #7db9e8 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #1e5799 0%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #1e5799 0%,#7db9e8 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #1e5799 0%,#7db9e8 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #1e5799 0%,#7db9e8 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 ); /* IE6-8 */
}

div.header {
    position: relative;
    height: 164px;
    background-color: #FFFFFF;
    background-image: url('/images/layout/header-bg.jpg');
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

div.header div.header-logo {
    position: absolute;
    top: 4px;
    left: 34px;
    width: 400px;
    height: 100px;
    margin: 0 0;
    background-color: transparent;
}

div.header div.header-contact {
    position: absolute;
    top: 40px;
    right: 25px;
    width: 300px;
    height: 100px;
    margin: 0 0;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    line-height: 28px;
    text-align: right;
    background-color: transparent;
}

div.header div.header-contact a, div.header div.header-contact:visited {
    color: #ffffff;
}

div.header div.header-contact a:hover {
    color: #ffffff;
}

div.header div.header-contact div.header-contact-logos {
    margin-top: 7px;
}

div.header div.header-contact div.header-contact-logos img {
    margin-left: 4px;
}

div.menu {
    /* This gradiant was created at http://www.colorzilla.com/gradient-editor/ */
    background: #a42627; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzcyMDgwOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNhNDI2MjciIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #720808 0%, #a42627 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#720808), color-stop(100%,#a42627)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #720808 0%,#a42627 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #720808 0%,#a42627 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #720808 0%,#a42627 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #720808 0%,#a42627 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#720808', endColorstr='#a42627',GradientType=0 ); /* IE6-8 */
}

div.footer {
    font-size: 16px;
    color: #FFFFFF;
    line-height: 24px;
    /* This gradiant was created at http://www.colorzilla.com/gradient-editor/ */
    background: #a42627; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzcyMDgwOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNhNDI2MjciIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #720808 0%, #a42627 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#720808), color-stop(100%,#a42627)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #720808 0%,#a42627 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #720808 0%,#a42627 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #720808 0%,#a42627 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #720808 0%,#a42627 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#720808', endColorstr='#a42627',GradientType=0 ); /* IE6-8 */
}

div.footer a, div.footer a:visited {
    color: #FFFFFF;
}

div.footer a:hover {
    color: #EEEAAA;
}

div.content h1, div.content h2, div.content h3, div.content h4, div.content h5, div.content h6 {
    /* color: #122051; */ /* Commented out by Sam T. */
    color: #CC0000;
    text-align: center;
}

.photo {
    border: 1px solid #000000;
}

/* ---------------------------------------------------------------------------------------------
/* Custom home page styles. */

div.news-headlines {
    margin-bottom: 24px;
    padding:20px;
    background-color:#F0F0F0;
    border: 1px solid #000000;
}

div.news-headlines ul {
    margin: 0 0;
    padding: 0 0;
    list-style: none;
}

div.news-headlines ul li {
    text-align: center;
}

/* ---------------------------------------------------------------------------------------------
/* Custom contact page styles. */

table.contact-info {
    margin: 0 auto;
    width: auto;
}

table.contact-info tr td {
    padding: 0 0 24px 0;
}

table.contact-info tr td.contact-info-left {
    padding-right: 4px;
    font-weight: bold;
    text-align: right;
    vertical-align: top;
}

table.contact-info tr td.contact-info-right {
    padding-left: 4px;
    text-align: left;
    vertical-align: top;
}

div.contact-service-area {
    padding: 20px 20px;
    border: 1px solid #000000;
    background-color: #F0F0F0;
}

div.contact-service-area table {
    width: 640px;
    margin: 0 auto;
}

table tr td, div.contact-service-area table td {
    vertical-align: top;
}

.map-iframe {
    margin: 0 0;
    border: 1px solid #000000;
}

.map-caption {
    display: inline-block;
    margin: 0 0 8px 0;
    text-align: center;
}

/* Contact page form. */

div.contact-form
{

}

div.contact-form fieldset {
    padding: 20px 20px;
}

div.contact-form div.submit-wrapper
{
    width: 312px;
    margin: 15px Auto 0px Auto;
    text-align: center;
}

div.contact-form div.submit-wrapper input#btnSubmit
{
    margin-top: 0px;
}

div.contact-form div#valSum
{
    font-size: 14px;
    line-height: 21px;
}

div.contact-form div.seperator
{
    height: 0px;
    font-size: 0px;
    line-height: 0px;
    margin-bottom: 10px;
}

div.contact-form label
{
    display: inline-block;
    margin-bottom: 2px;
    font-size: 14px;
    font-weight: normal;
    line-height: 21px;
}

div.contact-form .contact-text
{
    width: 473px;
    resize: none;
}

div.contact-form table.citystatezip td
{
    padding-right: 4px;
}

div.contact-form .contact-text-city
{
    width: 300px;
}

div.contact-form .contact-text-state
{
    width: 42px;
}

div.contact-form .contact-text-zip
{
    width: 80px;
}

div.contact-form table#radContact td
{
    padding-right: 15px;
}

div.contact-form table#radContact input
{
    margin-right: 6px;
}

div.contact-form div.captcha
{
    width: 312px;
    margin: 10px Auto 0 Auto;
}

div.contact-form hr
{
    height: 0px;
    font-size: 0px;
    line-height: 0px;
    border-top: 1px solid #CCCCCC;
}

div.contact-form div.error-message {
    margin: 0 auto 20px auto;
    padding: 15px 15px;
    color: #DD0000;
    border: 1px solid #DD0000;
    background-color: #FFF8F8;
}

div.contact-form div.error-message p {
    margin-bottom: 0px;
}

div.contact-form div.error-message ul {
    margin-bottom: 0px;
}

/* ---------------------------------------------------------------------------------------------
/* Flyers. */

div.flyer-pages {
    position: relative;
    text-align: center;
}

div.flyer-pages ul {
    margin: 0 0;
    padding: 0 0;
    list-style: none;
}

div.flyer-pages ul li {
    display: inline;
    margin: 0 0;
    padding: 0 0 0 24px;
    white-space: nowrap;
}

div.flyer-pages ul li:first-child {
    padding: 0 0;
}

div.flyer-picture {
    margin: 16px 0;
    text-align: center;
}

div.flyer-picture img {
    border: 1px solid #000000;
}

div.flyer-none p {
    text-align: center;
}

/* ---------------------------------------------------------------------------------------------
/* Facebook icon in the menu bar. */

div.menu div.facebook {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 30px;
    font-weight: normal;
    line-height: 50px;
}

div.menu div.facebook a, div.menu div.facebook a:visited {
    color: #FFFFFF;
}

div.menu div.facebook a:hover {
    color: #DDDDDD;
}

/* ---------------------------------------------------------------------------------------------
/* Custom Nivo-Slider styles. */

.theme-default .nivoSlider {
    width: 1024px;
    height: 400px;
    border: 1px solid #000000;
}

.theme-default .nivo-controlNav {
	text-align: center;
	padding: 5px 0 0 0;
}

.theme-default .nivo-caption {
    text-align: center;
    font-weight: bold;
}

/* ---------------------------------------------------------------------------------------------
/* JavaScript Marquee styles. */

.marquee-wrapper {
    width: 1024px;
    height: 64px;
    margin: 8px 0 20px 0;
    border: 1px solid #000000;
    /* This gradiant was created at http://www.colorzilla.com/gradient-editor/ */
    background: #a42627; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzcyMDgwOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNhNDI2MjciIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #720808 0%, #a42627 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#720808), color-stop(100%,#a42627)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #720808 0%,#a42627 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #720808 0%,#a42627 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #720808 0%,#a42627 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #720808 0%,#a42627 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#720808', endColorstr='#a42627',GradientType=0 ); /* IE6-8 */
}

.marquee {
    width: 1020px;
    height: 64px;
    margin: 0 2px;
    font-size: 24px;
    font-weight: bold;
    color: #FFFFFF;
    line-height: 64px;
}

/* ---------------------------------------------------------------------------------------------
/* Custom Superfish styles. */

.sf-menu {
	float: left;
	margin: 0 0;
    padding: 0 0;
}

.sf-menu ul {
	min-width: 12em; /* allow long menu items to determine submenu width */
	*width: 14em; /* no auto sub width for IE7, see white-space comment below */
    background-image: none;
    background-color: #450505;
}

.sf-menu a {
	padding: 0 20px;
    font-size: 16px;
    font-weight: bold;
    line-height: 50px;
	text-decoration: none;
	zoom: 1; /* IE7 */
}

.sf-menu li ul li a {
    font-size: 16px;
}

.sf-menu a, .sf-menu a:visited {
	color: #FFFFFF;
}

.sf-menu li {
	white-space: nowrap; /* no need for Supersubs plugin */
	-webkit-transition: background .2s;
	transition: background .2s;
}

.sf-menu li ul {
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}

.sf-menu ul li {
    background-image: none;
    background-color: #450505;
}

.sf-menu ul ul li {
    background-image: none;
    background-color: #450505;
}

.sf-menu li:hover, .sf-menu li.sfHover {
    background-image: none;
    background-color: #720808;
    background-color: rgba(0,0,0,.4);
	-webkit-transition: none;
	transition: none;
}

.sf-menu li ul li:hover, .sf-menu li ul li.sfHover {
    background-image: none;
    background-color: #720808;
}

/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul {
	padding-right: 40px;
	*padding-right: 20px; /* no CSS arrows for IE7 (lack pseudo-elements) */
}

/* styling for both css and generated arrows */
.sf-arrows .sf-with-ul:after {
	content: '';
	position: absolute;
	top: 50%;
	right: 1em;
	margin-top: -3px;
	height: 0;
	width: 0;
	/* order of following 3 rules important for fallbacks to work */
	border: 5px solid transparent;
	border-top-color: #FFFFFF; /* edit this to suit design (no rgba in IE8) */
	border-top-color: rgba(255,255,255,1.0);
}

.sf-arrows > li > .sf-with-ul:focus:after, .sf-arrows > li:hover > .sf-with-ul:after, .sf-arrows > .sfHover > .sf-with-ul:after {
	border-top-color: white; /* IE8 fallback colour */
}

/* styling for right-facing arrows */
.sf-arrows ul .sf-with-ul:after {
	margin-top: -5px;
	margin-right: -3px;
	border-color: transparent;
	border-left-color: #FFFFFF; /* edit this to suit design (no rgba in IE8) */
	border-left-color: rgba(255,255,255,1.0);
}

.sf-arrows ul li > .sf-with-ul:focus:after, .sf-arrows ul li:hover > .sf-with-ul:after, .sf-arrows ul .sfHover > .sf-with-ul:after {
	border-left-color: white;
}

div.rotator {
    position: relative;
}

div.home-rotator {
    width: 320px;
    height: 240px;
    background-color: #666666;
}

hr {
    border-color:#CC0000;
}