/* =============================================================================
   Responsive Structure
   ========================================================================== */

@media (max-width: 2504px) {
body {
	background-size: auto;
}

}
@media (max-width: 1060px) {
body {
	padding: 0 1em;
}
.outertabs > h3 {
	font-size: 1.8em;
}
ul.tab-links li a {
	padding: 20px 5px 5px 21px;
}

}
@media (max-width: 1024px) {
.mobile-buttons #view-responsive {
	display:none;
}	
#supplementary #first	{
	width: 49%;
	line-height: 1.3em;
}
#supplementary #second	{
	width:50%;
}
#supplementary #third	{
	width:50%;
}
#text-3 .textwidget {
	width:63%;
}
.addthis_toolbox {
	margin: 0;
}
.addthis_32x32_style .dummy .at300bs,
.addthis_32x32_style .at300bs,
.addthis_32x32_style .at15t {
	float: left;
	margin: 0 10px 0 0;
}
#access a {
	padding: 0 5px 10px;
}
.tagline-contain {
  margin: 24px 0 0 2%;
  width: 54%;
}

}
@media (max-width: 1010px) {
	.adleft {
	    width: 61%;
	}
}
@media (max-width: 995px) {
#access a {
	padding: 0 3px 10px;
}
.home-right,
.home-left {
	width: 100%;

}
ul.tab-links li a {
	padding: 20px 15px 5px 28px;
}
.home-feat-story {
	min-height: 0;
}
.home-feat-story li {
	border-top: none;
	float: left;
	margin: 0 1%;
	padding: 1%;
	width: 46%;
	min-height:130px;
}
.home-feat-story h4 {
	float: none;
	width:100%;
}
.feat-story-each p {
	clear: none;
}
.home-more-articles a {
	font-size: 1.6em;
}

}
@media (max-width: 950px) {
#access {
	background: #c32022; /* Old browsers */
	background: -moz-linear-gradient(top, #c32022 33%, #6a0809 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(33%,#c32022), color-stop(100%,#6a0809)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #c32022 33%,#6a0809 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #c32022 33%,#6a0809 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #c32022 33%,#6a0809 100%); /* IE10+ */
	background: linear-gradient(to bottom, #c32022 33%,#6a0809 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c32022', endColorstr='#6a0809',GradientType=0 ); /* IE6-9 */
	clear: both;
	display: block;
	float: left;
	margin: 15px auto 0;
	width: 100%;
	padding:8px 0;
}
#access ul {
	display: none;
}
#access select {
	display: inline-block !important;
	margin: 0 5%;
	padding: 4px 0;
	width: 90%;
}
.header-right {
  width: 51%;
}
.logo-contain	{
	width:45%;
	margin:10px 0 0 2%;
}
.tagline-contain {
	float:right;
	margin: 5px 5% 0 0;
	width: 95%;
}
.header-right #searchform {
  margin: 10px 20px 0 0;
}
.tagline-contain img {
  float: right;
}
.header-right #searchform {
	margin: 10px auto 0;
	display: block;
	float: none;
	clear: both;
	width: 220px;
}
.tagline-contain img {
  float: none;
}
.tagline-contain {
  clear: both;
  display: block;
  float: none;
  margin: 5px auto 0;
  text-align:center;
}

}
@media (max-width: 900px) {
#supplementary #first	{
	width: 46%;
}
#supplementary #second	{
	width:53%;
}
#supplementary #third	{
	width:53%;
}
.category-articles-contain {
	padding: 0 2% 10px;
	margin:10px 0;
	width: 96%;
	background:#fff;
	-webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
	-moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
	box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
	padding-top:10px;
}
#branding {
	margin: 0 auto;
}
.home-recent-5,
.home-recent-6,
.home-recent-7,
.home-recent-8	{
	display:none;
}
.recent-column-1,
.recent-column-2,
.recent-column-3 {
	display: block;
	float: none;
	width: 100%;
}
.home-more-articles .inner {
	padding: 0;
}
.home-more-articles a {
	font-size: 1.6em;
	padding: 12px 0;
}
.recent-column-1 > .inner,
.recent-column-2 > .inner {
	padding: 0;
}
.home-recent-article .inner {
	display: block;
	float: left;
	margin: 0 2% 0 0;
	overflow: visible;
	padding: 0;
	width: 30%;
	max-height:150px;
}
.recent-article-heading {
	background: none repeat scroll 0 0 transparent;
	bottom: 0;
	display: block;
	position: relative;
	width: auto;
	padding:0;
}
.home-recent-1 .recent-article-heading {
  padding: 0;
}
.category-articles-contain a .home-recent-article h3 {
  clear: none;
  color:#000;
}
.home-recent-1,
.home-recent-2,
.home-recent-3,
.home-recent-4,
.home-recent-5 {
	border: medium none;
	font-size: 1.2em;
	height: auto;
	margin: 0 0 10px;
	width: 100%;
}
.category-articles-contain a:hover .home-recent-article	{
	border-bottom:none;
}
.category-articles-contain a:hover .recent-article-heading	{
	-webkit-background: none;
	moz-background: none;
	background: none;
	filter: none;
}
.home-excerpt	{
	display:inline;
}
.home-recent-article 	{
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
.home-recent-article:hover	{
	background:#d3e2f8;
}
	
}
@media (max-width: 850px) {
ul.tab-links li a {
	padding: 20px 10px 5px 23px;
}
	
}
@media (max-width: 800px) {
/* Simplify the basic layout */
#main #content {
	margin: 0 3%;
	width: auto;
}
#nav-below {
	border-bottom: 1px solid #ddd;
	margin-bottom: 1.625em;
}
#main #secondary {
	float: none;
	margin: 0;
	width: auto;
	clear:both;
}

/* No need to float footer widgets at this size */
	#colophon #supplementary .widget-area {
	float: none;
	margin-right: 0;
	width: auto;
}
/* No need to float 404 widgets at this size */
.error404 #main .widget {
	float: none;
	margin-right: 0;
	width: auto;
}
.handheld .mobile-buttons {
	display: block;
	padding-bottom: 10px;
}
.handheld .mobile-buttons .button {
  display: block;
  margin: 5px 0;
}
.onipad .callus {
	display:none;
}
#first .widget {
	padding: 10px 3%;
}
#first #execphp-2 {
	width:45%;
	float:left;
	margin-right:2%;
	padding:10px 2%;
	clear:none;
	min-height:138px;
}
#first #execphp-5 {
	width:45%;
	float:left;
	padding:10px 2%;
	clear:none;
	min-height:138px;
}
.oc-but {
  top: -68px;
}
.header-right {
  width: 55%;
}
.logo-contain	{
	width:41%;
}
.side-feat-story li {
	border-top: none;
	float: left;
	margin: 0 1%;
	padding: 1%;
	width: 46%;
	min-height: 250px;
}
.side-feat-story h4 {
	float: none;
	width:100%;
}
.side-story-each p {
	clear: none;
}
.side-feat-story {
  min-height: 0;
}

}
@media (max-width: 790px) {
.out-and-about-contain {
  display: none;
}

}
@media (max-width: 714px) {
#first .widget {
	padding: 10px 3%;
}
#first #execphp-2,
#first #execphp-5 {
	width:96%;
	float:left;
	margin-right:0;
	clear:both;
	min-height:0;
	padding:10px 3%;
}
.adleft {
	float: none;
	width: 100%;
	margin:0 auto 5px;
	text-align:center;
}
.adright {
	float: none;
	margin: 0 auto;
}
.adright div {
	max-width: 300px;
	margin:0 auto;
}

}
@media (max-width: 650px) {
/* Reduce font-sizes for better readability on smaller devices */
	body, input, textarea {
	font-size: 13px;
}
#site-title a {
	font-size: 24px;
}
#site-description {
	font-size: 12px;
}
#access ul {
	font-size: 12px;
}
article.intro .entry-content {
	font-size: 12px;
}
.entry-title {
	font-size: 21px;
}
.featured-post .entry-title {
	font-size: 14px;
}
.singular .entry-title {
	font-size: 28px;
}
.entry-meta {
	font-size: 12px;
}

/* Floated content doesn't work well at this size */
	.alignleft, .alignright {
	float: none;
	margin-left: 0;
	margin-right: 0;
}
/* Make sure the post-post navigation doesn't collide with anything */
	#nav-single {
	display: block;
	position: static;
}
.singular .hentry {
	padding: 1.625em 0 0;
}
.singular.page .hentry {
	padding: 1.625em 0 0;
}

/* nav-wrap */
#nav-wrap {
	position: relative;
}

/* menu icon */
#menu-icon {
	color: #000;
	width: 42px;
	height: 30px;
	background: #ecebeb url(../images/menu-icon.png) no-repeat 10px center;
	padding: 8px 10px 0 42px;
	cursor: pointer;
	border: solid 1px #666;
	display: block; /* show menu icon */
}
#menu-icon:hover {
	background-color: #f8f8f8;
}
#menu-icon.active {
	background-color: #bbb;
}
.menu-primary-container {
	position:relative;
}
/* main nav */
#menu-primary {
	clear: both;
	position: absolute;
	top: -1px;
	width: 160px;
	z-index: 10000;
	padding: 5px;
	background: #f8f8f8;
	border: solid 1px #999;
	display: none; /* visibility will be toggled with jquery */
}
#menu-primary li {
	clear: both;
	float: none;
	margin: 5px 0 5px 10px;
}
#menu-primary a, 
#menu-primary ul a {
	font: inherit;
	background: none;
	display: inline;
	padding: 0;
	color: #666;
	border: none;
}
#menu-primary a:hover, 
#menu-primary ul a:hover {
	background: none;
	color: #000;
}

/* dropdown */
#menu-primary ul {
	width: auto;
	position: static;
	display: block;
	border: none;
	background: inherit;
}
#menu-primary ul li {
	margin: 3px 0 3px 15px;
}
#access ul ul {
	box-shadow: none;
	display: block;
	float: none;
	left: 0;
	margin: 0;
	position: relative;
	top: 0;
	width: 100%;
	z-index: 99999;
}
#access ul ul a {
	border:none;
	padding:5px;
}
.logo-contain {
	width: 100%;
	margin: 0 auto;
	float: none;
	clear: both;
	text-align:center;
}
.header-right {
	width: 94%;
	margin:0 3%;
}
.menu-secondary-container ul {
	display: table;
	float: none;
	list-style: none outside none;
	margin: 12px auto 0;
	padding: 0;
	font-size: 1.2em;
}
.home-feat-story li,
.side-feat-story li {
	margin: 0 1% 10px;
	width: 96%;
	min-height:0;
}
.home-feat-story img,
.side-feat-story img {
  margin: 0 3% 10px 0;
  width: 13%;
}

}
@media (max-width: 568px) {
.copy {
	text-align: center;
}
.oc-but {
	display:block;
	width:125px;
	margin:0 auto;
	position: relative;
	right: 0;
	top: 0;
}
.addthis_toolbox {
	display: block;
	left: 0 !important;
	margin: 0 auto;
	position: relative;
	text-align: center;
	top: 0 !important;
	width: 300px;
	float: none;
}
#execphp-3	{
	display:none;
}
#execphp-9	{
	display:block;
}
#menu-mobile-quick-links li	{
	display:block;
	float:left;
	width:48%;
	margin:0 1%;
}
#menu-mobile-quick-links li a {
	background: none repeat scroll 0 0 #0B244E;
	color: #FFFFFF;
	display: block;
	margin: 1px 0;
	padding: 10px 0;
	text-align: center;
	text-transform: uppercase;
}
#menu-mobile-quick-links li a:hover {
	background: none repeat scroll 0 0 #091e42;
	-webkit-box-shadow:inset 0px 3px 3px 2px rgba(0,0,0,0.3);
	-moz-box-shadow:inset 0px 3px 3px 2px rgba(0,0,0,0.3);
	box-shadow:inset 0px 3px 3px 2px rgba(0,0,0,0.3);
	text-decoration:none;
}

}
@media (max-width: 450px) {
#content .gallery-columns-2 .gallery-item {
	width: 45%;
	padding-right: 4%;
}
#content .gallery-columns-2 .gallery-item img {
	width: 100%;
	height: auto;
}
#menu-mobile-quick-links li	{
	width:98%;
}
.home-recent-article .inner {
  margin: 0;
  width: 100%;
  max-height:auto;
}
.category-articles-contain a .home-recent-article h3 {
  clear: both;
  color: #000000;
  background:#fff;
  display: block;
  height: auto;
  padding:8px 20px 10px;
}
.home-recent-1, .home-recent-2, .home-recent-3, .home-recent-4, .home-recent-5 {
  margin: 0 0 10px;
}
.category-articles-contain a:hover .recent-article-heading > h3 {
	background:#d3e2f8;
}
.home-three-each {
	min-height: 0;
	width: 96%;
}
.home-three-border {
  border-bottom: 1px solid #325992;
  border-right: none;
}

}
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
body {
	padding: 0;
}
#page {
	margin-top: 0;
}
#branding {
	border-top: none;
}
.addthis_toolbox {
	width: 100%;
	float: left;
}
}

