/*
Theme Name: Do Right By Kids
Author: Universal Web Services, LLC
Version: 1.4
*/

/* Reset */ html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}

html, body { background: #fff; }
html { font: normal 100%/1em 'Gill Sans', 'Calibri', sans-serif; }
h3 { margin: 1em 0 .25em 0; font-size: 1.5em; }
p { margin: .5em 0; }
h3 + p { margin-top: 0; }
b, strong { font-weight: bold; }
em { font-style: italic; }

.container { max-width: 960px; margin: 0 auto; }

.site-header { background-color: #31319c; }
.site-header { padding: 24px 0 0 0; }
.site-header a { padding-left: 32px; }
.site-header a + a { float: right; padding: 0 8px 0 0; }
.site-header a + a img { margin-top: 12px; }
.site-header a + a.fb-header img { margin: 24px 16px 0 0; }

.quick-links { color: #fff; background-color: #000; padding-right: 8px; }
.quick-links .container:before { content: ' '; display: inline-block; vertical-align: middle; width: 24%; height: 44px; margin-left: 4px; background-color: #009933; background-image: url(/src/nav-header.gif); background-repeat: repeat-y; }
.quick-links ul, .quick-links li, .quick-links form { display: inline-block; vertical-align: middle; }
.quick-links li a { display: block; padding: 10px 0 8px 0; font-size: 13px; color: #fff; text-decoration: none; }
.quick-links form { float: right; padding: 8px 0 8px 8px; }
.quick-links form input { padding: 4px; border-radius: 0; -webkit-appearance: none;}

.quick-links li { margin-left: 8px; }
.quick-links li a:before { content: ''; position: relative; top: -1px; display: inline-block; width: 8px; height: 8px; padding: 2px; margin-right: 4px; border-radius: 50%; background-color: #ffcc00; border: 4px solid #ffcc00; vertical-align: middle; transition: background-color .5s; }
.quick-links li + li a:before { border-color: #009933; background-color: #009933; }
.quick-links li + li + li a:before { border-color: #3cb8b5; background-color: #3cb8b5; }
.quick-links li + li + li + li a:before { border-color: #993300; background-color: #993300; }
.quick-links li a:hover:before { background-color: #000; }

.clearfix { clear: both; }

.home #breadcrumbs { display: none; }

#primary, #secondary { display: inline-block; vertical-align: top; }
#primary { float: right; width: 68%; margin-left: 3.75%; margin-bottom: 64px; padding: 20px 4% 20px 0; }
#secondary { float: left; width: 24%; padding: 16px 0; background-color: #e7b508; }

#breadcrumbs a { line-height: 1.25em; border: 0 !important; font-weight: normal !important; }

h1 { margin: 24px 0 24px 0; font-size: 36px; color: #31319c; }
h2 { margin: 24px 0 12px 0; font-size: 28px; color: #000; }
.entry-content p { line-height: 1.25em; }


.group-blog h2 { margin-top: 4px; margin-bottom: 32px; }
.post .entry-content p, .post .entry-content li { line-height: 1.5em; }
.post .entry-content ol { list-style-type: decimal; margin: 0 0 0 16px; padding: 0;  }


#main a { font-weight: bold; color: #3cb8b5; text-decoration: none; border-bottom: 1px solid #fff; transition: border-color .5s; }
.entry-content a:hover { border-bottom: 1px solid #3cb8b5; }
.entry-content a strong { color: #ff6633; cursor: help; }

.entry-content th, .entry-content td { padding: 8px; }
.entry-content th { background-color: #e7b508; text-align: left; border: 1px solid #ff6633; font-weight: bold; }
.entry-content td { border: 1px solid #ff6633; }

.group-blog .entry-content td { border: 0; }
.group-blog .entry-content span, .group-blog .entry-content p { background: none !important; }

.entry-content ul { margin: 0 0 0 20px; list-style-type: disc; }
.entry-content li { margin: 8px 0; }

.widget_pages h2 { display: none; }
.widget_pages li { margin: 0 0; line-height: 1.25em; font-size: 16px; }

.widget_pages li ul { display: none; }
.widget_pages li.current_page_ancestor ul, .widget_pages li.current_page_item ul { display: block; }

.widget_pages li a { display: block; padding: 8px 16px; color: #fff; text-decoration: none; transition: background-color .5s; }
.widget_pages li li a { color: #000; padding-left: 32px; font-size: 14px; }

.widget_pages li.current_page_item > a, .widget_pages li a:hover { background-color: #fff; color: #000; }

.site-footer { position: relative; z-index: 1; background-color: #000; color: #fff; padding: 24px; text-align: center; font-size: 12px;  }
.site-footer a { color: inherit; }


.subscribe-form label { display: block; margin-top: 16px; font-size: 18px; }
.subscribe-form input, .subscribe-form select { display: block; width: 50%; min-width: 240px; margin-top: 4px; padding: 8px; box-sizing: border-box; }
.subscribe-form label span { display: block; width: 50%; min-width: 240px; margin-top: 2px; color: #888; line-height: 1.25em; font-size: 14px; }
.subscribe-form label .wpcf7-form-control-wrap { width: 100%; }

input[type=submit], a.button-link { margin-top: 16px; padding: 16px 24px; color: #fff; font-size: 18px; border: 0; background-color: #009933; transition: background-color .5s; }
input[type=submit]:hover, a.button-link { background-color: #10a943; cursor: pointer; }
a.button-link { display: inline-block; color: #fff !important; }

.page-item-105, .page-item-331 { display: none; }


/* subscribe widget */
.home #text-2, .page-id-108 #text-2 { display: none; }
#text-2 a { display: block; margin: 16px; padding: 16px 24px; color: #fff; font-size: 22px; border: 0; background-color: #009933; text-align: center; text-decoration: none; transition: background-color .5s; }
#text-2 a span { display: block; margin-top: 8px; font-size: .75em; line-height: 1.25em; }
#text-2 a:hover { background-color: #10a943; cursor: pointer; }


@media all and (max-width: 960px)
{
	.quick-links .container:before { margin-left: 0; }
}

@media all and (max-width: 900px)
{
	.nomo { display: none !important; }
}

@media all and (min-width: 500px) {
	aside#secondary { min-height: 760px; }
}


@media all and (max-width: 500px)
{
	.site-header a { padding-left: 8px; }
	.site-header a + a { padding-right: 16px; }
	.quick-links .container:before { content: none; }
	
	.quick-links { padding-right: 0; }
	.quick-links form { margin-top: 12px; padding: 0 4%; width: 92%; }
	.quick-links a { }
	.quick-links form input { width: 80%; float: right; }
	
	#primary { float: none; width: 91.5%; margin: 0; padding: 0 4%; }
	#secondary { position: fixed; z-index: 1; left: -250px; top: 0; width: 45%; max-width: 250px; height: 100%; }

	.quick-links li { margin-left: 5px; }
	.quick-links li:first-child { padding-left: 6px; } 

	#breadcrumbs { margin-top: 12px; }

	.mobile-nav {
	  position: relative;
	  padding-left: 1.25em;
	  display: inline-block;
	  top: 4px;
	  padding: 12px !important;
	}
	.mobile-nav:before {
	  content: "";
	  position: absolute;
	  left: 0;
	  top: 0.25em;
	  width: 1em;
	  height: 0.15em;
	  background: black;
	  box-shadow: 
	    0 0.25em 0 0 black,
	    0 0.5em 0 0 black;
	}
}

@media all and (max-width: 360px)
{
	.quick-links li a { font-size: 12px; }
	.quick-links li a:before { width: 2px; height: 2px; }	
}