html {
	-webkit-text-size-adjust: none;
}

/* =Responsive Structure
----------------------------------------------- */

@media only screen and (min-device-width: 768px) and (orientation: portrait),
screen and (max-width: 994px) {
	/* Simplify the basic layout */
	#container {
		width: 100%;
		overflow: hidden;
	}
	#header #headerUtility {
		padding-top: 35px;
		padding-left: 0;
		float: right;
	}
	#header #wrapUtility ul li {
		float: left;
	}
	#header #wrapUtility ul li a, #header #quickSearch label {
		border: 0 none;
	}
	#header #quickSearch {
		float: none;
	}
	.slideshow {
		width: 800px;
		height: 375px;
	}
	.slideshow img {
		width: 800px;
	}
	.slideSet .content {
		bottom: 12px;
		height: 25%;
		width: 50%;
		font-size: 200%;
	}
	.slideSet .content a:after {
		border-width: 6px;
	}
	.slideNav {
		height: 10%;
	}
	.slideNav .navItems, .hasSlideSet .slideNav {
    	padding: 1% 6%;
	}
	#wrapNav ul li {
		padding-right: 2%;
		padding-left: 2%;
	}
	#wrapNav ul li a {
		font-size: 120%;
	}
	.home #contentPrimary .leftCol, .home #contentPrimary .centerCol, .home #contentPrimary .rightCol {
    	padding: 0 2%;
    	width: 38%;
	}
	.home #contentPrimary .leftCol {
		margin-left: 4%;
	}
	.home #contentPrimary .centerCol {
		float: right;
		margin-right: 4%;
	}
	.home #contentPrimary .rightCol {
		display: none;
	}
	.featurePhoto {
    	margin: 0 -2% 4em;
	}
	.featurePhoto img {
		width: 100%;
		max-width: 287px;
	}
	.imgCaption, .imgCaption_featured, #contentSecondary h2 {
		margin-right: -10%;
		margin-left: -10%;
	}
	#socialNetworkingBar h3 {
		background: none repeat scroll 0 0 transparent !important;
    	font-size: 100%;
    	line-height: 1em;
    	position: absolute;
    	right: 16px;
    	top: 1px;
	}
	#main #content {
		margin: 0 7.6%;
		width: auto;
	}
	#nav-below {
		border-bottom: 1px solid #ddd;
		margin-bottom: 1.625em;
	}
	#main #secondary {
		float: none;
		margin: 0 7.6%;
		width: auto;
	}
	#wrapFooter {
		width: auto;
	}
	/* Simplify the showcase template */
	.page-template-showcase-php .featured-posts {
		min-height: 280px;
	}
	.featured-posts section.featured-post {
		height: auto;
	}
	.page-template-showcase-php section.recent-posts {
		float: none;
		margin: 0;
		width: 100%;
	}
	.page-template-showcase-php #main .widget-area {
		float: none;
		margin: 0;
		width: auto;
	}
	.page-template-showcase-php .other-recent-posts {
		border-bottom: 1px solid #ddd;
	}
	/* Simplify the showcase template when small feature */
	section.featured-post .attachment-small-feature,
	.one-column section.featured-post .attachment-small-feature {
		border: none;
		display: block;
		float: left;
		height: auto;
		margin: 0.625em auto 1.025em;
		max-width: 30%;
		position: static;
	}
	article.feature-image.small {
		float: right;
		margin: 0 0 1.625em;
		width: 64%;
	}
	.one-column article.feature-image.small .entry-summary {
		height: auto;
	}
	article.feature-image.small .entry-summary p a {
		left: 0;
		padding-left: 20px;
		padding-right: 20px;
		width: auto;
	}
	/* Remove the margin on singular articles */
	.singular .entry-header,
	.singular .entry-content,
	.singular footer.entry-meta,
	.singular #comments-title {
		width: 100%;
	}
	/* Simplify the pullquotes and pull styles */
	.singular blockquote.pull {
		margin: 0 0 1.625em;
	}
	.singular .pull.alignleft {
		margin: 0 1.625em 0 0;
	}
	.singular .pull.alignright {
		margin: 0 0 0 1.625em;
	}
	.singular .entry-meta .edit-link a {
		left: 0;
		position: absolute;
		top: 0;
	}
	.singular #author-info {
		margin: 2.2em -8.8% 0;
		padding: 20px 8.8%;
	}
	/* Make sure we have room for our comment avatars */
	.commentlist {
		width: 100%;
	}
	.commentlist > li.comment,
	.commentlist .pingback {
		margin-left: 102px;
		width: auto;
	}
	/* And a full-width comment form */
	#respond {
		width: auto;
	}
	/* 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;
	}

}
@media screen and (max-width: 767px), screen and (max-device-width: 480px) {
	#container {
	}
	#wrapHeader {
		position: static;
	}
	#header .gutter {
		padding: 0;
	}
	#wrapLogo {
		float: none;
	}
	#header #headerUtility {
		float: none;
		clear: both;
		text-align: center;
		padding: 0.6em 0 1em;
		width:100%;
		/*box-shadow: 0 3px 6px #333;*/
	}
	#header #headerUtility:before {
		display: block;
	}
	#wrapUtility { float:none; }

	#wrapUtility ul {
		margin-top: 2px;
	}
	#wrapUtility ul li {
		/*display: none;*/
	}
	#wrapUtility ul li a {
		color: #FFF;
	}
	#quickSearch {
		margin: 0;
		display:none;
	}
	#quickSearch label {
		display: none;
	}
	#quickSearch input {
		width: 65%;
		background: url("images/search_webkit.png") no-repeat scroll 95% 2px #FFFFFF;
	}
	#wrapNav:before, #wrapNav:after {
		display: none;
	}
	a.menuToggle {
		display: block;
	}
	#wrapNav {
		z-index:99;
	}	
	#wrapNav ul {
		display: none;
		background: none repeat scroll 0 0 #f2f4d9;
		position:relative;
		top:50px;
		z-index:99;
	}
	#wrapNav ul li, #wrapNav ul li:hover {
		float: none;
		padding: 0;
		z-index:999;
	}
	#wrapNav ul li:hover, #wrapNav ul li.current-menu-item, #wrapNav ul li.current-page-ancestor {
		padding: 0;
	}
	#wrapNav ul li a, #wrapNav ul li a:hover, #wrapNav ul li a:hover, #wrapNav ul li:hover a, #wrapNav ul li.current-menu-item a, #wrapNav ul li.current-page-ancestor a {
		font-size: 100%;
		line-height: 1.5em;
		padding: 0.5em 1em;
		border-bottom: 1px dotted #DBBE5B;
		-moz-border-radius: 0;
		-webkit-border-radius: 0;
		border-radius: 0;
		color:#504b88;
	}
	#wrapNav ul li a:hover, #wrapNav ul li:hover a, #wrapNav ul li.current-menu-item a, #wrapNav ul li.current-page-ancestor a {
		border-color: #366DA3;
	}
	#wrapNav ul li ul.sub-menu {
		display: none !important;
	}
	.slideSet .content {
		bottom: 0;
    		font-size: 190%;
    		height: auto;
    		padding-bottom: 0.5em;
    		padding-top: 2.5em;
    		top: 0;
    		width: 45%;
	}
	.slideSet .content a:after {
		border-width: 4px;
		top: 2px;
		right: -16px;
		-webkit-transform: rotate(360deg);
   		-moz-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
   		-o-transform: rotate(360deg);
   		transform: rotate(360deg);
	}

	.slideSet .content a, .slideSet .content a:link {
  /*background: none repeat scroll 0 0 #fbc106;
  color: #504b88;
  display: inline-block;
  float: right;
  font-family: 'Myriad Pro',Tahoma,Geneva,sans-serif;
  font-size: 50%;
  font-weight: bold;*/
  height: auto;
  /*margin: 10px -50px 0 0;
  padding: 0 15px;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  width: 40%;*/
}

	.slideNav {
		height: 10px;
	}
	.slideshow {
		width: 100%;
		height: 225px;
	}
	.slideshow img {
		width: 480px;
	}
	#breadcrumb {
		left: 16px;
	}
	#breadcrumb .leftCol {
		width: 100%;
		margin:43px 0 0;
		text-align:center;
	}
	#breadcrumb .rightCol {
		width: 100%;
		top:10px;
		text-align:center;
	}
	#contentPrimary {
		width: 100%;
		min-height: 0 !important;
	}
	#contentPrimary .gutter {
		padding-left: 16px;
	}
	.home #contentPrimary .leftCol, .home #contentPrimary .centerCol, .home #contentPrimary .rightCol {
		float: none;
    	margin: 0 auto;
    	width: 95%;
		max-width: 300px;
		display: block;
	}
	.imgCaption, .imgCaption_featured, #contentSecondary h2 {
		font-size: 150%;
		-webkit-transform: rotate(0deg);
   		-moz-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
   		-o-transform: rotate(0deg);
   		transform: rotate(0deg);
	}
	#contentSecondary {
		position: static;
		width: 100%;
	}
	#contentSecondary .gutter {
		padding: 0;
	}
	#contentSecondary aside + aside {
		display: none;
	}
	#contentSecondary ul, #contentSecondary .widget {
		margin: 0;
	}
	#contentSecondary ul li a, #contentSecondary h3 {
		margin: 0;
		padding-right: 16px;
		padding-left: 16px;
	}
	#socialNetworkingBar {
		margin: 0;
	}
	#socialNetworkingBar .leftCol {
		width: 100%;
	}
	#socialNetworkingBar .rightCol, #socialNetworkingBar:before, #socialNetworkingBar:after, #wrapFooter:before, #wrapFooter:after, #contentSecondary h3:after, #contentSecondary h3:before {
		display: none;
	}
	#socialNetworkingBar ul {
		text-align: center;
	}
	#socialNetworkingBar ul li {
		margin-right: 3px;
	}
	#wrapFooter {
		background:url("/wp-content/uploads/2014/06/DSBG-FooterBG.png") no-repeat scroll 0 0 #419639;
	}
	#wrapFooter .gutter {
  		padding: 0 10px 0 10px;
	}
	#wrapFooter .twoColumn .leftCol {
		display: block;
		width:100%;
		margin:20px 0 0 0;
	}
	#wrapFooter p, #wrapFooter .widget { text-align:center; }
	#wrapFooter .widget_nav_menu {
		display: none;
	}
	#wrapFooter .twoColumn .rightCol {
		width: 100%;
		text-align: center;
		margin: 0px 0 0;
		padding:0 0 40px 0;
	}
	#wrapFooter h3 {
		text-align: center;
	}
	.facebookBox {
  		background: none repeat scroll 0 0 #fff;
	}
	#content .gallery-columns-2 .gallery-item {
		width: 45%;
		padding-right: 4%;
	}
	#content .gallery-columns-2 .gallery-item img {
		width: 100%;
		height: 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;
	}
	blockquote {
		margin: 0;
	}
	blockquote.pull {
		font-size: 17px;
	}
	/* Reposition the site title and description slightly */
	#site-title {
	}
	#site-title,
	#site-description {
		margin-right: 0;
	}
	/* Make sure the logo and search form don't collide */
	#branding #searchform {
		top: 1.625em !important;
	}
	/* Floated content doesn't work well at this size */
	.alignleft,
	.alignright {
		display: block;
		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;
	}
	/* Talking avatars take up too much room at this size */
	.commentlist > li.comment,
	.commentlist > li.pingback {
		margin-left: 0 !important;
	}
	.commentlist .avatar {
		background: transparent;
		display: block;
		padding: 0;
		position: static;
	}
	.commentlist .children .avatar {
		background: none;
		left: 2.2em;
		padding: 0;
		position: absolute;
		top: 2.2em;
	}
	/* Use the available space in the smaller comment form */
	#respond input[type="text"] {
		width: 95%;
	}
	#respond .comment-form-author .required,
	#respond .comment-form-email .required {
		left: 95%;
	}
	#content .gallery-columns-3 .gallery-item {
		width: 31%;
		padding-right: 2%;
	}
	#content .gallery-columns-3 .gallery-item img {
		width: 100%;
		height: auto;
	}
	#wrapLogo a {
	max-width: 678px;
	width: 100%;
    background-size: contain;
    height: 60px;
	}

}
@media screen and (max-width: 320px) {
	#wrapLogo a {
		margin: 0 auto;
		width: 290px !important;
		height: auto !important;
		background-size: 100%;
		-webkit-background-size: 100%;
	}
	.slideshow {
		width: 320px;
		height: 150px;
	}
	.slideshow img {
		width: 320px;
	}
	.slideSet .content {
		font-size: 125%;
	}
}
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
	body {
		padding: 0;
	}
	#page {
		margin-top: 0;
	}
	#branding {
		border-top: none;
	}

}