/*
Theme Name: WP Utah State Capitol
Theme URI: http://dts.utah.gov
Description: DTS Boilerplate WordPress theme
Version: 1
Author: DTS User Experience Design Group
Author URI: http://dts.utah.gov
*/

/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
*/

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #000;
}

html {
    /* ADD CUSTOM FONTS HERE */
	font-size: 1em; /* 1em = 16px | generally do no change this value so you can override it easily for accessibility */
    line-height: 1.4;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
*/

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
*/

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
*/

audio,
canvas,
img,
video, 
.wp-caption {
    vertical-align: middle;
	max-width: 100% !important;
	/*height:inherit !important;*/
}

/*
 * Remove default fieldset styles.
*/

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
*/

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 31px 0 0;
    background: #ccc url("img/alert-icon-large.png") 15px center no-repeat;
    color: #000;
    padding: 20px 15px 20px 100px;

}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* These two basic classes are used throughout the site. Adjust widths to match your needs */
.site-full {
	width:100%;
	position:relative;
}
.site {
	max-width: 992px;
	margin:0 auto;
	position:relative;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body.home .site {
	max-width:1092px;
}


body {
	background-color:#24456f;
}

p,
address {
	margin:0 0 1em 0;
}

a {
  color: #CC0033;
  text-decoration: none;
}

a:hover {
	text-decoration:underline;
}

h1 {
  color:#00305E;
  font-family: "Times New Roman", Times, serif;
  font-size:1.5em;
  font-weight: normal;
  margin:0 0 4px 0;
  padding:0;
}

h2 {
  font-family: "Times New Roman", Times, serif;
  color:#00305E;
  font-size:1.25em;
  font-weight: normal;
  margin:0 0 4px 0;
  padding:0;
}

h3 {
  font-family: "Times New Roman", Times, serif;
  color:#00305E;
  font-size:1.125em;
  margin:0;
  padding:0;
}

h4 {
  font-family: Arial, Helvetica, sans-serif;
  color: #00305E;
  font-size:1.125em;
  font-weight: bold;
  margin:0;
  padding:0;
}

h5 {
  font-family: Arial, Helvetica, sans-serif;
  color: #00305E;
  font-size:1.125em;
  font-weight: normal;
  margin:0;
  padding:0;
}

/* ********************** Header ********************** */
#header-container {
	/*this contains all the header elements. (header, main menu, search, etc) Useful for stickey headers. */
	margin-top:31px; /* offset for Utah.gov header */
	background: #f6f6f6;
}
#header-container.sticky {
	margin-top:0;
	z-index: 2;
	position: fixed;
	top:0;
}
#header-container #header-wrapper {

}
#header-container #header-wrapper #header {

}


/* ******** Main Menu ******** */
#header-container #mainmenu-wrapper {
	background: #4a6d99; /* Old browsers */
	background: -moz-linear-gradient(top,  #4a6d99 0%, #254670 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4a6d99), color-stop(100%,#254670)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #4a6d99 0%,#254670 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #4a6d99 0%,#254670 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #4a6d99 0%,#254670 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #4a6d99 0%,#254670 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4a6d99', endColorstr='#254670',GradientType=0 ); /* IE6-9 */
}

#header-container #mainmenu-wrapper #mainmenu {
	z-index: 2000;
}

#header-container #mainmenu-wrapper ul#menu-mainmenu {
	margin:0;
	padding:0;
	list-style-type: none;
}
#header-container #mainmenu-wrapper ul#menu-mainmenu > li.menu-item {
	margin:0;
	padding:0;
	display: block;
	float:left;
	position: relative;
}
#header-container #mainmenu-wrapper ul#menu-mainmenu li.menu-item a {
	color:#FFF;
	padding:10px 15px;
	text-decoration: none;
	display:block;
}
#header-container #mainmenu-wrapper ul#menu-mainmenu li.menu-item a:hover {
	background:#FFF;
	color:#254670;
	/*text-decoration:underline;*/
}

#header-container #mainmenu-wrapper ul#menu-mainmenu li.menu-item ul.sub-menu li.menu-item a {
	color:#00305E;
}

#header-container #mainmenu-wrapper ul#menu-mainmenu li.menu-item ul.sub-menu li.menu-item a:hover {
	/*color:#C41230;*/
	color:#F5F5F5;
	background-color:#C41230;
}

#header-container #mainmenu-wrapper ul.sub-menu {
	margin:0;
	padding:0;
	display:none;
	position: absolute;
	left:0;
	top:0;
	z-index: 1;
	background:#ccc; /* change to match your site */
	list-style-type: none;
	min-width: 200px; /* change to match your site */
}
#header-container #mainmenu-wrapper ul.sub-menu li.menu-item {
	margin:0;
	padding:0;
}
#header-container #mainmenu-wrapper li.menu-item.menuover > ul.sub-menu {
	display:block;
}

#header-container #mainmenu-wrapper li.menu-item > ul.sub-menu > li.menu-item.menuover > ul.sub-menu {
	left:100%;
}
	
#header-container #mobilemenu {
	background: #4a6d99; /* Old browsers */
	background: -moz-linear-gradient(top,  #4a6d99 0%, #254670 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4a6d99), color-stop(100%,#254670)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #4a6d99 0%,#254670 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #4a6d99 0%,#254670 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #4a6d99 0%,#254670 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #4a6d99 0%,#254670 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4a6d99', endColorstr='#254670',GradientType=0 ); /* IE6-9 */
	display:none;
	padding:8px 0 8px 12px;
}

#header-container #mobilemenu a {
	color:#FFFFFF;
	text-decoration:none;
}

#mobile-mainmenu-button {
	background:url(img/Button-Main-Menu.png) left center no-repeat;
	padding:0 0 0 32px;
	display:block;
	height:20px;
}


/* ******** Site Search / Google Custom Search Field ******** */
#searchform_main {
	margin:0 auto 1em auto;
	text-align:center;
}

#searchform_main input[type="text"] {
	height: 24px;
	vertical-align: top;
}
#searchform_main .searchButton {
	background: #333 url("img/icon-search.png") no-repeat scroll center center;
    border: 2px solid #FFFFFF;
    border-radius: 5px 5px 5px 5px;
    height: 32px;
    width: 32px;
	position: relative;
	box-shadow: 0 0 4px rgba(0,0,0,.5);
	display:inline-block;
	color:rgba(0,0,0,0);
}
#searchform_main .searchButton:hover {
	background-color:#000;
}

/* ********************** Content ********************** */
/* change to match your site */
#content-wrapper {
	background-color:#24456f;
	background:#F5F5F5;
}

body.flash #content-wrapper {
	background-color:#FAEED3;
}

#content-wrapper img {
	height: inherit !important;
}

#content {
}

#content #content-secondary {
	width:26%;
	float:left;
	padding:0 0 1em 0;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body.home #content #content-secondary {
	/*border:1px dashed #FF6600;*/
	float:right;
	width:22%;
}

#home_slideshow {
	/*border:1px dashed #00FF00;*/
	width:30%;
	max-width:300px;
	float:left;
}

#content #content-main {
	padding:15px;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	float:right;
}

body.home #content #content-main {
}

body.flash #content #content-main {
	float:none;
	text-align:center;
}

body.flash #content #content-main object{
	margin:0 auto;
}

#content #content-secondary~#content-main {
	width:74%;
	/*float:left;*/
	/*margin-left:3%;*/
}

body.home #content #content-secondary~#content-main {
	width:49%;
	margin-left:1em;
	padding:0 0 15px 0;
	float:right;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#content #secondary-menu-button {
	background: #7b0000; /* Old browsers */
	background: -moz-linear-gradient(top,  #7b0000 0%, #c41230 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7b0000), color-stop(100%,#c41230)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #7b0000 0%,#c41230 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #7b0000 0%,#c41230 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #7b0000 0%,#c41230 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #7b0000 0%,#c41230 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7b0000', endColorstr='#c41230',GradientType=0 ); /* IE6-9 */
	display:none;
	padding:8px 0 8px 12px;
}


#content #secondary-menu-button a {
	color:#FFFFFF;
	text-decoration:none;
	background:url(img/Button-Main-Menu.png) left center no-repeat;
	padding:0 0 0 32px;
	display:block;
	height:20px;
}

body.calendar #content #content-main {
	float: none;
	width: 100%;
}

/*    ******************   CalendarizeIT Stuff   ******************    */
.rhcalendar.not-widget.rhc_holder {
	margin: 0 !important;
}




/*    *********    *********   Secondary Menu   *********    *********    */
#content-secondary .widget {
	padding:0 0 1em 1em;
}
#content-secondary .widget.top {
	padding:6px 0 0 0;
}

#content-secondary .widget_nav_menu h3 {	
	/*padding:8px;*/
	/*margin:0;*/
	/*background:#666;*/
	/*color:#fff;*/
	/*font-size:1.4em;*/
	margin-bottom:4px;
}
#content-secondary .widget_nav_menu ul.menu, 
#content-secondary .widget_nav_menu ul.menu ul.sub-menu {
	list-style-type: none;
	margin:0;
	padding:0;
}
#content-secondary .widget_nav_menu ul.menu ul.sub-menu {
	/* change to match your site */
	border-left:10px solid #333;
}
#content-secondary .widget_nav_menu ul.menu > li.menu-item {
	margin:0;
	padding:0;
}
#content-secondary .widget_nav_menu ul.menu > li.menu-item a {
	/* change to match your site */
	/*background: #eee;*/
	padding: 6px;
	display:block;
	/*text-decoration:none;*/
	/*border-bottom:1px solid #aaa;*/
	/*border-top:1px solid #fff;*/
	text-shadow: 0 1px 0 #fff;
	/*color:#444;*/
	/*font-weight: bold;*/
}
#content-secondary .widget_nav_menu ul.menu > li.menu-item a:hover, 
#content-secondary .widget_nav_menu ul.menu li.menu-item.current-menu-item > a {
}

#content-secondary .widget_nav_menu ul.menu > li.menu-item a .menu-arrow {
	/* change to match your site */
	display:inline-block;
	width:20px;
	height:20px;
	background:transparent url('img/secondary-menu-arrows.png') left top no-repeat;
	vertical-align: top;
	margin-right:10px;
}
#content-secondary .widget_nav_menu ul.menu > li.menu-item a .menu-arrow:hover, 
#content-secondary .widget_nav_menu ul.menu > li.menu-item a .menu-arrow.open {
	background-position-x: right;
}

#content-secondary .widget_nav_menu ul.menu > li.menu-item ul.sub-menu {
	display:none;
}
#content-secondary .widget_nav_menu ul.menu li.current-menu-parent > ul.sub-menu,
#content-secondary .widget_nav_menu ul.menu li.current-menu-ancestor > ul.sub-menu{
	display:block;
}


/* ***************   Social Media Stuff   *************** */
div.social-media {
	/*border:1px dashed #FF0000;*/
	width:100%;
	overflow:hidden;
}

div.social-media h3 {
	display:none;
}

div.social-media ul.menu,
#content-secondary div.social-media ul.menu {
	margin:0 0 0 0;
	padding:0;
	list-style-type: none;
	position:relative;
	float:left;
	left:50%;
}

#content-secondary div.social-media ul.menu {
	margin:0 0 1em 0;
}

div.social-media ul.menu > li.menu-item,
#content-secondary div.social-media ul.menu > li.menu-item {
	/*background-color:#FFFF00;*/
	margin:0 0 0 18px;
	padding:0;
	display: block;
	width:25px;
	height:25px;
	float:left;
	position: relative;
	right:50%;
}

div.social-media ul.menu > li.menu-item:first-child,
#content-secondary div.social-media ul.menu > li.menu-item:first-child {
	margin-left:0;
}

div.social-media ul.menu li.menu-item a,
#content-secondary div.social-media ul.menu li.menu-item a {
	border:none;
	display:block;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}

#content-secondary div.social-media ul li.menu-item.facebook a,
#content-secondary div.social-media ul.menu li.menu-item.twitter a,
#content-secondary div.social-media ul.menu li.menu-item.blogspot a,
#content-secondary div.social-media ul.menu li.menu-item.calendar a {
	background:none;
	padding:0;
}

div.social-media ul.menu li.menu-item.facebook {
	background:transparent url(img/socialmediaicons.png) no-repeat;
}

div.social-media ul.menu li.menu-item.twitter {
	background:transparent url(img/socialmediaicons.png) no-repeat;
	background-position:-41px 0px;
	
}

div.social-media ul.menu li.menu-item.blogspot {
	background:transparent url(img/socialmediaicons.png) no-repeat;
	background-position:-84px 0px;
}

div.social-media ul.menu li.menu-item.calendar {
	background:transparent url(img/socialmediaicons.png) no-repeat;
	background-position:-126px 0px;
}



/* ***************    Images and Captions   *************** */
.alignleft {
	float: left;
	margin:0 15px 15px 0;
}

.alignright {
	float: right;
	margin:0 0 15px 15px;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
p.aligncenter {
	text-align: center;
}


.wp-caption .wp-caption-text,
.gallery-caption,
.entry-caption {
	background-color:#ebebeb;
	font-style: italic;
	font-size: .79em;
	line-height: 1.5;
	color: #757575;
	padding:5px;
}

div.wp-caption {
	max-width: 100%;
}

p.wp-caption-text {
	max-width: 100%; /* Keep wide captions from overflowing their container. */
	text-align:center;
	padding:0;
	margin:0 10px 0 0;
}

.alignnone p.wp-caption-text {
	margin:0;
}

/* ********************** Footer ********************** */
#footer-wrapper {
	padding:1em;
}
#footer-wrapper a {
}

#footer-wrapper #footer {
	color:#CCCCCC;
}
#footer-wrapper #footer a {
	color:#FFFFFF;
}

#footer-wrapper #footer p, 
#footer-wrapper #footer address {
	text-align:center;
	font-style:normal;
	font-size:12px;
}


#uibar {
	position: absolute;
	top:0;
	left:0;
	z-index: 10;
	width:100%;
	line-height: 30px;
	font-size:12px;
	background-color:#222;
}
.admin-bar #uibar {
	top:32px;
}
#uibar #uibar-left {
	float:left;
	width:90%;
	border-right:1px solid #000;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#uibar #settings {
	width:10%;
	height:31px;
	float:right;
	background: url("img/utgov_hb1.jpg") repeat-x scroll center top transparent;
	border-left:1px solid #444;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	text-align: center;
}
#uibar #settings a {
	color:#fff;
	text-decoration:none;
	font-size:12px;
}
#uibar #settings a img {
	width:24px;
	margin-left:-10px;
}



/* ------------------ Widget Stuff ------------------ */
div.hide-title h3 {
	display:none;
}

div.logo {
	text-align:center;
}



/* ------------------ Site Settings Panel ------------------ */
#sitesettings-panel {
	position: absolute;
	top:31px;
	right:5px;
	border:1px solid #000;
	background: #fff;
	padding:15px;
	z-index: 100;
	box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
#sitesettings-panel h4 {
	color:#000;
	margin:10px 0 0 0;
	text-align:center;
}
#sitesettings-panel h4:first-child {
	margin:0;
}
#sitesettings-panel .button {
	margin-top:10px;
}
#sitesettings-panel .button.small {
	width:20%;
	float:left;
	margin-left:5%;
	font-size:1.9em;
	-moz-box-sizing: border-box;
	padding:0;
	text-align: center;
	box-sizing: border-box;
}
#sitesettings-panel .button.small.first {
	margin-left:0;
}
#sitesettings-panel .button.medium {
	width:50%;
	float:left;
	margin-left:5%;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#sitesettings-panel .closebutton {
	z-index: 100;
	position: absolute;
	right:-12px;
	top:-12px;
	width: 40px;
	height: 40px;
	background:transparent url('img/icon_closebutton_white.png') left top no-repeat;
}
#sitesettings-panel .closebutton:hover {
	background-position: left -40px;
}

/**************** Layout - Contact Form ***************        */
div.wpcf7 {
	background:#f5f5f5;
	border-radius: 10px;
	padding:15px;
}
form.wpcf7-form {}
form.wpcf7-form label {
	display: block;
	float: left;
	width: 35%;
	text-align: right;
	margin-right: 2%;
}
form.wpcf7-form .required {
	color: red;
}
form.wpcf7-form span.wpcf7-form-control-wrap {
	display: block;
	float: left;
	width: 63%;
}
form.wpcf7-form input, form.wpcf7-form textarea {
	height: 30px;
	border: 1px solid #333;
	border-radius: 5px;
	box-shadow: inset 0 2px 2px rgba(0,0,0,0.3);
	-moz-box-sizing: border-box;	
	box-sizing: border-box;
}
form.wpcf7-form textarea {
	width:100%;
	height:200px;
}
form.wpcf7-form input.small {
	width: 25%;
}
form.wpcf7-form input.medium {
	width: 50%;
}
form.wpcf7-form input.large {
	width: 100%;
}
form.wpcf7-form input[type="submit"] {
	padding:10px 40px;
	height: auto;
	font-size: 1.25em;
}
form.wpcf7-form .wpcf7-response-output+br
{
	display: none;
}
form.wpcf7-form .wpcf7-response-output+p
{
	margin:0;
}
.feedbackformwrapper {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.7);
	z-index: 2000;
	
}
.feedbackformarea {
	max-width: 900px;
	margin: 20px auto;
	background: #fff;
	padding: 20px;
	display: none;
	border-radius: 15px;
	position: relative;
	
}
.feedbackformarea .closebutton {
	z-index: 100;
	position: absolute;
	right:-10px;
	top:-10px;
	width: 40px;
	height: 40px;
	background:transparent url('img/icon_closebutton_white.png') left top no-repeat;
}
.feedbackformarea .closebutton:hover {
	background-position: left -40px;
}

#feedbackformbuttons {
	padding: 100px 50px;
}

/* ********************** Buttons ********************** */

 .button {
	color:#fff;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.4);
	display: block;
	padding:10px 20px;
	border-radius: 5px;
	text-decoration: none;
	font-weight: bold;
	-webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
	box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
	outline: 0;
	text-align: center;
}
.button:hover {
	-webkit-box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.75) inset;
	box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.75) inset;
}
.button.right {
	float:right;
}
a.button.left {
	float:left;
}

.revdropshadowtext, .revdropshadowtext h2, .revdropshadowtext a {
	color:#fff;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.4);
	font-weight: normal;
}
.revdropshadowtext a:hover {
	color:#eee;
}

/* ********************** Document Icons ********************** */
.documentdl {
	display: inline-block;
	padding-left: 20px;
	background: transparent url("img/document-default.png") left 3px no-repeat;
	min-height: 16px;
}
.documentdl.pdf {
	background-image: url("img/document-pdf.png");
}
.documentdl.excel {
	background-image: url("img/document-excel.png");
}
.documentdl.word {
	background-image: url("img/document-word.png");
}
.documentdl.zip {
	background-image: url("img/document-zipper.png");
}
.documentdl.video {
	background-image: url("img/icon-video-small.png");
}


/* ********************** Columns for Responsive Layout ********************** */
.row {
	display:block;
}
.row .column {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	float:left;
	display:block;
	margin-bottom: 15px;
}
.row .col2 {
	margin-left:4%;
	width:48%;
}
.row .col2:first-child,
.row .col2:nth-child(2n+3) {
	margin-left:0;
	clear:left;
}
.row .col3 {
	margin-left:3.5%;
	width:31%;
}
.row .col3:first-child,
.row .col3:nth-child(3n+4) {
	margin-left:0;
	clear:left;
}
.row .col4 {
	margin-left:4%;
	width:22%;
}
.row .col4:first-child, 
.row .col4:nth-child(4n+5) {
	margin-left:0;
	clear:left;
}
.row .col5 {
	margin-left:2.5%;
	width:18%;
	
}
.row .col5:first-child, 
.row .col5:nth-child(5n+6) {
	margin-left:0;
	clear:left;
}
.row .col6 {
	margin-left:2%;
	width:15%;
}
.row .col6:first-child, 
.row .col6:nth-child(6n+7) {
	margin-left:0;
	clear:left;
}

/* ==========================================================================
   Restricted Content Classes used in conjuction with a function in the main.js to hide and show content
   You also need a role-based plugin to manage restricted content such as the "Members" Wordpress plugin
   ========================================================================== */
.agency-restricted {
	display:none !important;
}
.state-restricted {
	display:none !important;
}
.agency-restricted.visible {
	display: inherit !important;
}
.state-restricted.visible {
	display: inherit !important;
}

/* ********************** Colors ********************** */

.gray-v {
	background: #666666; /* Old browsers */
	background: -moz-linear-gradient(top,  #666666 0%, #333333 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#666666), color-stop(100%,#333333)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #666666 0%,#333333 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #666666 0%,#333333 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #666666 0%,#333333 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #666666 0%,#333333 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#666666', endColorstr='#333333',GradientType=0 ); /* IE6-9 */
}






/* ==========================================================================
   Helper classes
   ========================================================================== */

/* Turn off image smoothing rendering in browsers */
.nosmoothing {
	image-rendering:optimizeSpeed;             /* Legal fallback */
	image-rendering:-moz-crisp-edges;          /* Firefox        */
	image-rendering:-o-crisp-edges;            /* Opera          */
	image-rendering:-webkit-optimize-contrast; /* Safari         */
	image-rendering:optimize-contrast;         /* CSS3 Proposed  */
	image-rendering:crisp-edges;               /* CSS4 Proposed  */
	image-rendering:pixelated;                 /* CSS4 Proposed  */
	-ms-interpolation-mode:nearest-neighbor;   /* IE8+           */
}

/*
 * Temp Show for measuring hidden elements. (See plugins.js)
*/
.temp-show {
	display:block;
}

/*
 * Image replacement
*/

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
*/

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
*/

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
*/

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
*/

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Media Queries for Responsive Design.
   ========================================================================== */
@media only screen and (max-width: 1110px) {
	#home_slideshow {
		display:none;
	}
	
	body.home #content #content-secondary~#content-main {
		width:62%;
	}
	
	body.home #content #content-secondary {
		width:34%;
	}
}


@media only screen and (max-width: 800px) {
	.row .col2,
	.row .col2:nth-child(2n+3),
	.row .col3,
	.row .col3:nth-child(3n+4) {
		margin-left:0;
		width:100%;
	}
	.row .col4,
	.row .col4:nth-child(4n+5) {
		margin-left:4%;
		width:48%;
		clear:none;
	}
	.row .col4:first-child,
	.row .col4:nth-child(2n+3) {
		margin-left:0;
		clear:left;
	}
	.row .col5,
	.row .col5:nth-child(5n+6),
	.row .col6,
	.row .col6:nth-child(6n+7) {
		margin-left:3.5%;
		width:31%;
		clear:none;
	}
	.row .col5:first-child,
	.row .col5:nth-child(3n+4),
	.row .col6:first-child, 
	.row .col6:nth-child(3n+4) {
		margin-left:0;
		clear:left;
	}
}
@media only screen and (max-width: 750px) {
	#uibar #settings a img {
		display:none;
	}
}
@media only screen and (max-width: 600px) {	
    /* Style adjustments for mobile screens (600px or lower) */
	/* Add other sizes to meet your needs */
	#header-container {
		margin-top:0;
	}
	#header-container #mobilemenu {
		display:block;
	}
	#header-container #mainmenu-wrapper {
		display:none;
	}
	#header-container #mainmenu-wrapper ul#menu-mainmenu > li.menu-item {
		float:none;
	}
	#header-container #mainmenu-wrapper ul.sub-menu {
		position: relative;
		min-width: 100%;
		margin-left:20px; /* change to match your site */
	}
	
	#content #content-secondary~#content-main {
		width:100%;
	}
	
	#content #content-secondary {
		display:none;
		width:92%;
		margin-left:0;
	}
	#content #secondary-menu-button {
		display:block;
	}
	#uibar {
		display:none;
	}
	
	body.home #content #content-secondary~#content-main {
		width:95%;
		float:none;
		margin-left:0;
		padding-left:1em;
	}
	
	body.home #content #content-secondary {
		display:block;
		width:95%;
		float:none;
		margin-left:0;
	}
	
	body.home #content #secondary-menu-button {
		display:none;
	}

}

@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
	#searchform_main .searchButton {
		background-image: url("img/icon-search2x.png");
		background-size: 24px;
	}
	#content-secondary .widget_nav_menu ul.menu > li.menu-item a .menu-arrow {
		background-image: url('img/secondary-menu-arrows2x.png');
		background-size: 42px;
	}
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
	*/

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
	
	#wpadminbar,
	#uibar,
	#mainmenu,
	#searchform_main,
	#home_slideshow,
	div.newswrapper,
	div.social-media {
		display: none;
	}
	
	body.home #content #content-secondary~#content-main {
		/*border: 1px dashed #FF0000;*/
		width: 75%;
		float:left;
	}
}

/*

Use this CSS to provide high-contrast and other accessible changes.
The following class is addded to the body when the user has chosen "High Contrast View"

.accessibilityview

*/

.accessibilityview .gray-v {
	background:#000;
}