@import url(//fonts.googleapis.com/css?family=Raleway:400,300,500,200);

figure {
	display: table !important;
	}

figure img {
	vertical-align: bottom;
	}

figcaption {
	display: table-caption !important;
    caption-side: bottom;
	}

img[style="float:left"], figure[style="float:left"], img[style="float: left;"], figure[style="float: left;"]  {
    float: left;
    margin: 0 15px 15px 0;
    }


img[style="float:right"], figure[style="float:right"], img[style="float: right;"], figure[style="float: right;"] {
    float: right;
    margin: 0 0 15px 15px;
    }

div[style="text-align:center"] figure, div[style="text-align: center;"] figure {
	margin: auto;
	margin-bottom: 15px;
	}


body {
	font-family: 'Raleway', sans-serif;
	font-weight: 400;
	font-size: 14px; font-size: .875rem;
	line-height: 16px; line-height: 1rem;
}

h1, h2, h3, h4, h5, h6, .subheader, input[type="text"], nav {
	font-family: 'Raleway', sans-serif;
	font-weight: 400;
}

body, form, .search, h1, h2, h3, h4 {
	margin:0;
	padding:0;
}

strong {
	font-weight: 500;
	color: inherit;
	}

.flex-wrapper {
	display: -moz-box;         
	display: -ms-flexbox;      
	display: -webkit-flex;     
	display: flex;             
}

.customBtn, .customBtn:visited {
	display: inline-block;
	padding: 10px 0px;
	background: #7A2533;
	margin: 20px 0;
	color: #fff;
	line-height: 20px;
	width: 100%;
	text-align: center;
}

.customBtn:hover {
	display: inline-block;
	background: #08172E;
	margin-bottom: 20px;
	color: #fff !important;
}

a, a:visited {
	color: #1B7CBD;
	text-decoration: none;
	word-wrap: break-word;
}

a:hover {
	color: #7A2533 !important;
}

body {
	background-image:url(../images/whitey.png);
	background-repeat: repeat;
	color: #000;
	padding-top: 20px;
}

p, ul {
	color:#000;
	line-height: 24px; line-height: 1.5rem;
}

.header .five.columns.alpha {
	padding-right: 20px;
	border-right: 1px solid #11345C;
	min-width: 245px;
}

h1 {
	margin-top: 10px;
}

h1 a {
	color: #11345C !important;
}

h2, h3, h4, h5, h6 {
	color: #696969;
}

h2, #contact h3, #social h3 {
	border-bottom: 1px solid #ccc;
	padding-bottom: 10px;
	margin-bottom: 15px;
}

h3, h4, h5, h6 {
	margin-bottom: 8px;
	margin-bottom: 0.5rem;
}

sup {
	color: #7A2533;
	}

#login {
	background: #eee;
	margin-top: 30px;
}

#login > div {
	padding: 10px;
}

#login h3 {
	margin-bottom: 10px;
	color: #696969;
}

#login a {
	display: inline-block;
	background: #11345C;
	margin: 5px 0px;
	width: 100%;
	padding: 10px 0px;
	color: #fff;
	line-height: 20px;
	text-align: center;
}

#login a:hover {
	background: #696969;
	color: #fff !important;
}

.featured h3 {
	border-bottom: none;
	padding-bottom: 10px;
	margin-bottom: 15px;
	border-bottom: 1px solid #ccc;
}

.featured li {
	list-style-type: none;
}


ul ul {
	margin:20px 0px 0px 10px;
}

ul ul li {
	border:none !important;
	line-height: 28px; line-height: 1.75rem;
	font-size: 12px; font-size: 0.75rem;
}

.four.columns {
	width: 211px !important;
}

hr {
	margin-bottom: 15px !important;	
}

/* search */

#gsa_search {
	line-height: 20px; line-height: 1.25rem;
}

#gsa_search h2 {
	display: none;
	}

.search {
	float: right;
}

input[type="text"] {
	margin-left: 5px;
	padding: 5px;
	width: 110px;
	height: 16px;	
	color: #7A2533;
	display:inline-block;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
}

input[type="text"]:focus {
	border: none;
}

input.main_search {
	border: none;
}

.search button, input[type="submit"] {
	border: none;
	margin: 0;
	display: inline-block;
	font-size: 12px;
	color: #fff;
	font-weight: 300;
	font-family: "Raleway", sans-serif;
	background: #7A2533;
	padding: 6px;
	border-radius: 0;
	text-shadow: none;
	-webkit-appearance: none; 
}

.search button:hover, input[type="submit"]:hover {
	background: #08172E;
	color: #fff;
	border: none;
	}

form#form1 p {
	display: inline;
	}
	
#query {
	margin: 0 10px 30px 10px;
	}

.result_item_text > a {
	color: #11345C;
}

.title_url {
	padding: 0 0 5px 0;
	font-weight: bold;
	}
	
.title_url a, .url_bottom a {
	color: #1B7CBD;
	}

.url_bottom {
	color: #1B7CBD;
	margin-bottom: 30px;
	word-wrap: break-word;
	}
	
.pagination_link a {
	color: #7A2533;
}

/* entire floating white box */

#box {
	background-color: #FFF;
	margin-top: 20px;
}

/* SIDEBAR items

\ */

#sidebar {
	padding: 0px 25px 0 20px !important;
	border-right: 1px solid #ccc;
	margin-top:20px;
}

nav {
	margin-bottom: 20px;
}
	
nav, nav ul li a {
	color: #1B7CBD;
	font-size: 16px; font-size: 1rem;
	text-decoration: none;
}

nav i.fa-angle-down {
	display: inline;
}

nav a:visited {
	text-decoration: none;
}

nav a:hover, nav li.active > a {
	color: #7A2533;
}

nav ul li {
	border-bottom: 1px solid #CCC;
	list-style-type:none;
	line-height: 24px; line-height: 1.5rem;
	padding-bottom: 15px;
	margin-bottom: 15px;
	font-weight: 400;
}

nav ul li ul li {
	margin-bottom: 0;
	}

nav ul li ul li a {
	font-size: 14px; font-size: 0.875rem !important;
}

ul#menu {
	margin-left: 0;
}

ul#menu li {
	margin-left: 0;
}

#navBtn {
	display: none;
}

/* other sidebar items: contact, social */

#contact, #social {
	margin: 50px 0;
}

#contact h4 {
	font-size: 14px;
}

#contact a, .featured a, #copyright a {
	color: #1B7CBD;	
}

#contact p {
	font-size: 13px; font-size: 0.8125em;
	line-height: 20px; line-height: 1.25rem;
	margin-bottom: 0;
}

#contact p a {
	font-size: 13px; font-size: 0.8125rem;
	line-height: 20px; line-height: 1.25rem;
	}

#contact img, .featured img {
	max-width: 100%;
	border: 2px solid #DDD;
}

#contact a img {
	margin-top: 20px;
	display: block;
}

#contact a img:hover {
	opacity: 0.8;
	}

#contact address {
	line-height: 20px; line-height: 1.25rem;
	font-size: 12px;
}

#social a {
	margin-right: 15px;	
	border: none;
	color: #1B7CBD;
}

#social a:hover {
	color: #7A2533;
}

/*breadcrumbs*/

.breadcrumbs {
	margin: 0;
	}
	
.breadcrumbs ul {
	margin: 0 0 20px 0 !important;
	padding: 0;
	list-style-type: none;
	}
	
.breadcrumbs ul li {
	display: inline;
	margin: 0;
	}
	
.breadcrumbs ul li a {
	color: #1B7CBD;
	text-decoration: none;
	}
	
.breadcrumbs ul li a:hover {
	color: #7A2533;
	text-decoration: none;
	}
	
.breadcrumbs li + li:before {
	font-family: 'FontAwesome';
	content:  '\f101';
	margin:   0 5px;
	}

.breadcrumbs i.fa-home {
	font-size: 14px;
	}

/* main content */

#main {
	margin-top: 20px;
	padding-left: 15px; /*edited*/
	line-height: 32px; line-height: 2rem;
	width: 691px;
}

#main p, address, table {
	font-size: 13px; font-size: 0.8125rem;
}

#main p:last-of-type {
	padding-bottom: 15px;
	margin-bottom: 15px;
}

#main .featured p:last-of-type, form p:last-of-type {
	border-bottom: none !important;
	padding-bottom: 0;
	margin-bottom: 0;
}


.padding_right {
	padding-right: 10px;
}

#featured {
	margin: 0;
	padding: 10px;
	border: 1px solid #ddd;
	padding: 10px;
	width: 667px;
}

.featured p, li {
	font-size: 12px; font-size: 0.75rem;	
}

.featured ul {
	margin-left: 0;
}

.featured li {
	border-top: 1px dashed #DDD;
	padding-top: 1.2em;
	margin-left: 0;
}

.featured li:first-child {
	border-top: none;
	padding-top: 0;
	}

.featured img {
	float:left;	
	margin: 0 10px 10px 0px;
}

.featured {
	padding-right: 10px;
}

.date {
	font-style: italic;
	line-height: 2.8em;
}

/*thyme calendar*/
a.thyme_item {
	display: block;
}

a.read_more {
	margin-left: 24px;
}

/* rss feedEk */

.news li a {
	font-size: 13px; font-size: 0.8125rem;
	}

.itemDate {
	margin: 0;
	}

/* footer */
footer {
	text-align: center;
	font-size: 10px; font-size: 0.625rem;
}

footer .sixteen.columns {
	margin: 0;
}
 
#copyright {
	float:right;	
	margin-right: 20px;
	border-top: 1px solid #ddd;
	padding-top: 10px;
}

#copyright p {
	text-align: left;
	font-size: 12px; font-size: 0.75rem;
	color: #696969;
}

#mobile {
	display: none;
}

.topPage {
	text-align: right;
	margin-top: 25px;
}

/* TinyMCE Styles */

a.rightDoubleArrow:after {
	font-family: 'FontAwesome';
	font-size: 12px;
	content: '\f101';
	margin: 0 0 0 5px;
	vertical-align: middle;
}

/* Page-Specific Styles */
.twelve.columns.omega.row {
	margin-left: 0px;
}

article.four.columns.omega > div.featured {
	padding-right: 0px;
}

/* 3 Column Home Page */

/* Table Styles */

table {
	width: 100%;
	line-height: 22px;
}

thead {
	background: #999;
	color: #fff;
	text-align: left;
}

th {
	padding: 5px;
}

tr {
	border-bottom: 1px solid #ddd;
}

tr:nth-child(even) {
	background: #eee;
}

td {
	padding: 5px;
}

/* Captivate Content */
#CaptivateContent { 
	height: 535px;
}

#CaptivateContent {
	text-align: center;
}

/* Misc Style */
nav > a[href$="/"]:after {
   font-family: 'FontAwesome';
   font-weight: 400;
   content: '\f107';
   padding: 0 0 0 3px;
}


/*Tooltipster*/

.hovertext {
	white-space: nowrap;
}

.hovertext-theme {
	border: 1px solid #7BA1CC;
	background: #fff;
	color: #000;
}
/* Use this next selector to style things like font-size and line-height: */
.hovertext-theme .tooltipster-content {
	font-family: inherit;
	font-size: 14px;
	line-height: 24px;
	padding: 15px;
	max-width: 40em;
}

/* #Media Queries
================================================== */

	/* Smaller than standard 960 (devices and browsers) */
	@media only screen and (max-width: 959px) {
		#main {
			margin-top: 20px;
			padding: 0px;
			line-height: 32px; line-height: 2rem;
		}
		.line {
			border-left: 1px solid #993399;
			padding: 5px;
			margin-left: 45px!important;
		}
		h1 {
			font-size:32px; font-size:2rem;
		}
		}

	/* Tablet Portrait size to standard 960 (devices and browsers) */
	@media only screen and (min-width: 768px) and (max-width: 959px) {

		.container .eleven.columns {
			max-width: 480px;
		}

		h3 {
			font-size: 18px; font-size: 1.125rem;
		}

		#main, article.twelve.columns.omega.row, .container .eight.columns {
			margin-left: 2px;
			width: 555px;
		}
		#featured {
			width: 530px;
		}

		.four.columns {
			width: 170px !important;
		}

		#two-col .container .four.columns {
			width: 546px !important;
			margin: 0;
		}

		#two-col .container header .four.columns {
			width: 220px !important;
			margin: 0;
		}

		#two-col .container header .eleven.columns.omega {
			margin-left: 20px;
		}

		#two-col article .featured {
			margin-bottom: 20px;
		}

		#login a {
			font-size: 12px;
		}

		#sidebar {
		  padding: 0px 15px 0 20px !important;
		  margin-right: 15px;
		  }

		}

	/* All Mobile Sizes (devices and browser) */
	@media only screen and (max-width: 767px) {

		.header .five.columns.alpha {
			border-right: none;
		}

		h1 {
			padding-left: 0;
			margin: 20px 0;
		}
		
		.search {
			float: right;
			background: #FFF;
			margin-bottom: 40px;
		}

		.flex-wrapper {
			display: block;
		}
		
		.line {
			border: none;
			padding: 0;
			margin: 0 !important;
		}

		#sidebar {
			padding: 0 !important;
			border-right: none;
			margin-top:10px;
		}

		#login {
			margin-bottom: 50px;
		}

		nav {
			padding: 0 20px;
			margin-bottom: 0;
		}
		
		#featured, #contact, #social {
			margin: 0px 0px 30px 0px;
		}
		
		#social a {
			border: none;
		}

		#main {
			margin-top: 10px;
			padding-left: 20px;
			line-height: 32px; line-height: 2rem;
		}

		#navBtn {
			display: block;
			text-align: right;
		}
		#menu.js {
			display: none;
		}
		.featured {
			padding-right: 0px;
		}
		.four.columns {
			width: 380px !important;
		}

		#main, #copyright, #featured, .container .eight.columns {
			width: 380px;
		}

		#featured {
			width: 360px;
		}

		.four.columns.alpha {
			margin-bottom: 20px;
		}

		#two-col .featured {
			margin-bottom: 50px;
		}



		}

	/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
	@media only screen and (min-width: 480px) and (max-width: 767px) {

		#desktop {
		display: none;	
		}
		
		#mobile {
		display: block !important;
		}

		.search {
			float: none;
		}

		.search input[type="text"] {
			width: 355px;
			margin: 0;
		}

		.search button {
			margin: 0;
			vertical-align: top;
		}
		
		}

	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (max-width: 479px) {

		#desktop {
		display: none;	
		}
		
		#mobile {
		display: block !important;
		}

		#main, #copyright, #featured, .container .eight.columns, .twelve.columns.omega.row {
			width: 260px;
		}

		.container .eight.columns {
			width: 260px;
		}

		#featured {
			width: 240px;
		}

		.search {
			float: none;
		}

		.search input[type="text"] {
			width: 235px;
			margin: 0;
		}

		.search button {
			margin: 0;
			vertical-align: top;
		}







		}