/*
Theme Name: 	United Through Reading
Author:         Derek Ashauer
Author URI:     http://www.buchanandesign.com
*/

/* Resets */
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%; vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 120%; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
input { vertical-align: middle; }
input[type="submit"] { cursor: pointer; }
html,body { height: 100%; }

/* WordPress required styles */
.alignnone { margin: 5px 20px 20px 0; }
.aligncenter,
div.aligncenter { display: block; margin: 5px auto 5px auto; }
.alignright { float:right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.alignright { float: right; margin: 5px 0 20px 20px; }
a img.alignnone { margin: 5px 20px 20px 0; }
a img.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { background: #fff; border: 1px solid #f0f0f0; max-width: 96%; padding: 5px 3px 10px; text-align: center; }
.wp-caption.alignnone { margin: 5px 20px 20px 0; }
.wp-caption.alignleft { margin: 5px 20px 20px 0; }
.wp-caption.alignright { margin: 5px 0 20px 20px; }
.wp-caption img { border: 0 none; height: auto; margin: 0; max-width: 98.5%; padding: 0; width: auto; }
.wp-caption p.wp-caption-text { font-size: 80%; line-height: 1.2; margin: 0; padding: 0 4px 5px; }

/* ----------------------------------- */
/* COMMON
/* ----------------------------------- */
body { background: #FFF; text-align: center;  	}
p, div, li, h1, h2, h3, h4, td, th, input, select, textarea { font: normal 18px/1.48 "freight-sans-pro", sans-serif; color: #333; font-weight:400;font-variant-numeric: lining-nums !important;}
p, h1, h2, h3, h4, section ul, section ol, section table { margin-bottom: 15px; }
h1, h2, h3 { line-height: 1.1; }
a img, :link img, :visited img { border: none }
a { color: #009bda; text-decoration: none; }
a:hover { color: #009bda; text-decoration: none; }
div.clear { clear: both; overflow: hidden; height: 1px; }
input { vertical-align: middle; }
.cf:before, .cf:after { content: " "; display: table; }
.cf:after { clear: both; }
.cf { *zoom: 1; }
.gfield { margin-left: 0 !important; }
li.gsection {padding-top:40px !important;}
.gfield_label {font-weight:600 !important;}



#wrapper { position: relative; width: 100%; right: 0; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; text-align: left; }

.button { display: inline-block; border: none; background: #e1261c; color: #FFF; padding: 5px 30px; text-transform: uppercase; text-decoration: none; cursor: pointer; font-size: 18px; margin-bottom:5px; margin-top:5px;}
.button:hover { background: #0033a1; color: #FFF; }
#bluebutton {background:#20cbd4;}
#bluebutton:hover {background:#0033a1;}

/* ----------------------------------- */
/* HEADER
/* ----------------------------------- */
#top-bar { padding: 3px 0; background: #FFF;  }
#top-bar ul { float: right; }
#top-bar li { display: inline-block; margin: 0 0 0 15px; }
#top-bar a { color: #999999; text-decoration: none; text-transform: uppercase; font-size: 14px; line-height:14px;}
#top-bar a:hover { color: #000; }

#header { background: #0033a1; -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
    transition: transform .8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.stickyheader #header { position: fixed; top: 0; left: 0; width: 100%; z-index: 999; }
.headerstyle #header { box-shadow: 0 0 8px rgba(0,0,0,.1);  }
.scrolldown #header { transform: translateY(-100%); }


/*
.headerstyle #header { box-shadow: 0 0 8px rgba(0,0,0,.1);  }
.scrolldown #header { transform: translateY(-100%); }
*/

#logo img { float: left; margin: 12px 0; }

#donate-ribbon { position: relative; z-index: 5000; float: right; margin: 0 0 -20px 25px; width: 90px; height: 120px; text-indent: -5000px; background: transparent url(images/donate.png) center center no-repeat; }

/*
#header nav {
  text-align:center;
  width: 100%;
  padding: 0;
  margin: 0;
  position:relative;
}

#header nav ul li { display: inline-block; list-style: none; vertical-align: top; }

#header nav li a { color: #FFF; }
#header nav > ul > li { font-size: 18px; font-weight: 900; text-transform: uppercase; }
#header nav > ul > li a { padding: 0 15px 20px 15px; }
#header nav ul li a { display: block; }
#header nav ul > li:hover > a,
#header nav ul > li.current-menu-item > a,
#header nav ul > li.current-menu-ancestor > a { color: #ecaa00; }
*/

#header nav { float: right; margin: 45px 0 0 0; }
#header nav li { float: left; margin: 0 0 0 25px; list-style: none; position: relative; }
#header nav ul li a { display: block; color: #FFF; font-size: 15px; text-transform: uppercase; text-decoration: none; padding: 0 0 35px 0; font-weight:300;}
#header nav li a:hover, #header nav ul li:hover > a, #header nav li.current_page_ancestor > a, #header nav ul li.current_page_item > a { color: #009bda; }

#header nav li .sub-menu { left: -9999em; position: absolute; top: 57px; z-index: 9999; background: rgba(30,87,210,.9); padding: 5px 0 10px 0; }
#header nav li:hover > .sub-menu { left: -35px; }
#header nav li .sub-menu li { width: 100%; float: none; border: none; background: none; margin: 0; padding: 0; }
#header nav li .sub-menu li:before { display: none; }
#header nav li .sub-menu a { display: block; color: #FFF; background: none; padding: 4px 35px; white-space: nowrap; height: auto; line-height: 1.4; margin: 3px 0 0 0; font-size: 16px; font-weight: 600; text-transform: none; }
#header nav li .sub-menu a:hover { color: #CCC; }

#header nav li .sub-menu li:hover > .sub-menu { left: 100%; top: 0; }
#header nav li .sub-menu li:hover a { background: #0e44b8; color: #FFF; }
#header nav li .sub-menu li .sub-menu { background: #0e44b8; padding: 0 0 10px; }
#header nav li .sub-menu li .sub-menu a { padding: 2px 25px; font-weight: normal; }
#header nav li .sub-menu li .sub-menu a:hover { color: #009bdf; }

#mobile-menu { display: none; }

#secondary-menu { background: #009bda; }
#secondary-menu li { display: inline-block; padding: 5px 15px 7px; }
#secondary-menu li a { color: #FFF; font-size: 16px; font-weight: 600; }
#secondary-menu li a:hover, #secondary-menu li.current_page_item a, #secondary-menu li.current_page_ancestor a { color: #0033a1; }

/* ----------------------------------- */
/* HOME
/* ----------------------------------- */
#tagline { background: #20cbd4 url(images/lines.png) center bottom repeat-x; padding: 24px 0 35px 0; }
#tagline .container { max-width: 950px; }
#tagline h1 { color: #FFF; font-size: 28px; margin: 0; text-align: center; }

#slideshow li { height: 615px; background-size: cover; background-position: center; }
#slideshow li .container { 	position: relative; top: 50%; transform: translateY(-50%); }
#slideshow li h2 { color: #FFF; font-size: 44px; text-transform: uppercase; max-width: 33%; }
#slideshow .bx-wrapper { margin: 0; }
#slideshow .bx-wrapper .bx-pager { padding: 0; bottom: 25px; }
#slideshow .bx-wrapper .bx-pager.bx-default-pager a { background: transparent; height: 10px; width: 10px; border-radius: 50%; margin: 0 8px; border: 2px solid #FFF; }
#slideshow .bx-wrapper .bx-pager.bx-default-pager a:hover, #slideshow .bx-wrapper .bx-pager.bx-default-pager a.active { background: #FFF; }

#buttons { padding: 50px 0; }
#buttons li { list-style: none; float: left; width: 32%; margin: 0 0 0 2%; background-size: contain; background-repeat: no-repeat; }
#buttons li:first-child { margin: 0; }
#buttons li a { display: block; height: 170px; text-decoration: none; position: relative; }
#buttons li .button-text { display: block; position: absolute; left: 170px; top: 0; right: 0; bottom: 0; padding: 5%; line-height: 1; background: #e1261c; font-size: 28px; color: #FFF; text-decoration: none; font-weight: 600; }
#buttons li .button-text .more { display: block; margin: 10px 0 0 0; font-weight: 400; font-size: 18px; text-transform: uppercase; }
#buttons li .button-text:after {
	right: 100%;
	top: 25%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(136, 183, 213, 0);
	border-right-color: #e1261c;
	border-width: 20px;
	margin-top: -20px;
}
#buttons li:nth-child( 2 ) .button-text { background: #20cbd4; }
#buttons li:nth-child( 2 ) .button-text:after { border-right-color: #20cbd4; }
#buttons li:nth-child( 3 ) .button-text { background: #009bda; }
#buttons li:nth-child( 3 ) .button-text:after { border-right-color: #009bda; }

.welcome { background: #6d6e71 url(images/books.jpg) center center no-repeat; background-size: cover; }
.welcome-inside { background: transparent url(images/lines.png) center top repeat-x; padding: 65px 0 50px 0; }
.welcome-video { width: 55%; float: left; }
.welcome-content { width: 40%; float: right; }
.welcome-content h2, .welcome-content p, .welcome-content li { color: #FFF; }
.welcome-content h2 { font-size: 36px; text-transform: uppercase; }
.welcome-content a.button { background-color: #009bda; }
.welcome-content a.button:hover { background-color: #0033a1; }

.promo-image { height: 410px; background-size: cover; }

.text {
	padding: 50px 0;
background: #009bda; /* Old browsers */
background: -moz-linear-gradient(left,  #009bda 0%, #0033a1 100%);
background: -webkit-linear-gradient(left,  #009bda 0%,#0033a1 100%);
background: linear-gradient(to right,  #009bda 0%,#0033a1 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#009bda', endColorstr='#0033a1',GradientType=1 ); /* IE6-9 */
}
.text .container { max-width: 950px; text-align: center; }
.text p { font-size: 28px; color: #FFF; }
.text a { background: transparent; border: 2px solid #FFF; font-size: 18px; text-decoration: none; text-transform: uppercase; padding: 8px 20px; color: #FFF; }
.text a:hover { background: #FFF; color: #0033a1; }

#news { padding: 50px 0; }
#news h2 { font-size: 36px; text-transform: uppercase; text-align: center; margin: 0 0 30px 0; }
#news li { float: left; margin: 0 0 0 4%; width: 22%; list-style: none; }
#news li:first-child { margin: 0; }
#news li img { max-width: 100%; height: auto; margin: 0 0 10px 0; }
#news li h3 { font-size: 20px; font-weight: 600; color: #009bda; margin: 0 0 5px 0; }
#news li a { color: #009bda; }
#news li a:hover { color: #4a452a; }

/* ----------------------------------- */
/* SUB PAGES
/* ----------------------------------- */
#page-header { background: #0caab9 url(images/page-header.jpg) center center no-repeat; background-size: cover; padding: 35px 0 35px; }
#page-header h1 { text-align: center; font-size: 52px; color: #FFF; margin: 0; text-transform: uppercase; }

#banner { height: 390px; background-size: cover; background-position: center; }

#main { padding: 50px 0; }
.page-template-tpl-page-builder #main { padding: 0; }
#main section { float: left; width: 75%; }
#main.wide section { max-width: 780px; float: none; margin: 0 auto; }
#main section li { margin-left: 25px; }
#main section h1 { font-size: 38px; color: #009bda; text-transform: uppercase; }
#main section h2 { font-size: 34px; color: #0033a1; text-transform: none; font-weight:400;margin-bottom:10px;margin-top:30px;}
#main section h3 { font-size: 20px; color: #000; margin: 8px 0 4px 0; text-transform: none; font-weight:600;}
#main section h4 { font-size: 18px; color: #000; margin: 0 0 0 0; font-weight:500; }

#main section img { max-width: 100%; height: auto; }
#main section ul li {margin-bottom:5px;}
#main section ol li {margin-bottom:5px;}
#main section ul  {margin-bottom:20px; margin-top:0;}
#main section ol  {margin-bottom:20px; margin-top:0;}


#main select { -webkit-appearance: none; -moz-appearance: none; appearance: none; border: 1px solid #e1e1e1; padding: 5px 35px 5px 10px; background: #FFF; border-radius: 0; background: transparent url(images/down.png) right 10px center no-repeat; }

#main aside { float: right; width: 20%; }
#main aside h3 { color: #009bda; text-transform: uppercase; font-size: 20px; border-bottom: 1px solid #898b8e; padding: 0 0 5px 0; margin: 0 0 10px 0; }
#main aside .submenu { margin: 0 0 40px 0; }
#main aside li { list-style: none; margin: 0 0 7px 0; }
#main aside li a { color: #6d6e71; text-transform: uppercase; font-size: 16px; }
#main aside li a:hover { color: #009bda; }
#main aside li.current_page_item > a { font-weight: bold; }
#main aside li li a { display: inline-block; padding-left: 20px; font-size: 16px; text-transform: none; }

/*
#main aside .box { margin: 20px 0 0 0; padding: 20px 0 0 0; border-top: 1px solid #898b8e; }
*/
#main aside .widget { margin: 0 0 30px 0; }

/* Books */
#book-filters { border: 1px solid #e1e1e1; padding: 20px 30px; margin: 0 0 40px 0; }
.book-filter { float: left; margin: 0 40px 0 0; text-transform: uppercase; color: #009bda; font-size: 20px; }
.book-filter select { display: block; }

#main section #book-list li { list-style: none; clear: both; border-bottom: 1px solid #e1e1e1; padding: 0 0 30px 0; margin: 0 0 30px 0; }
#main section #book-list li img { float: left; }
#main section #book-list li h2, #main section #book-list li p { margin-left: 180px; text-transform: none; }
#main section p.author { margin-top: -10px; font-size: 14px; text-transform: uppercase; font-weight: bold; }
#main section #book-list li a { text-transform: uppercase; }

#book-image { width: 270px; float: left; }
#book-details { margin-left: 300px; }



.graphiclink ul li {width:18%; padding-top:90px; margin: 40px 2% 60px 0 !important; float: left; text-align: center; list-style: none;}
.graphiclink a {font-size:20px; text-transform:uppercase;  text-decoration:none; }

.threeup ul {float: left; clear:right;}
.threeup ul li {width:29%; margin: 0 3% 40px 0 !important; float: left; text-align: center; list-style: none;}
.threeup img {margin-bottom:5px !important;}
.threeup h3 {color:#0033a1 !important; margin-top:5px !important; }

.fourup ul li {width:21% !important; margin: 0 3% 40px 0 !important; float: left; text-align: center; list-style: none !important;}
.fourup img {margin-bottom:5px !important;}
.fourup h3 {color:#0033a1 !important; margin-top:5px !important; }

#inlist p {font-size:16px; color:#0033a1;}
#inlist ul li {margin-bottom:0 !important; }

.sponsor ul li {width:24%; padding-top:0; margin: 0 5% 0 0 !important; float: left; text-align: center; list-style: none;}
.sponsor ul li:last-child {width:70%; padding-top:0; margin: 0 0 30px 0 !important; float: left; text-align: left; list-style: none;}
.sponsor h2 {margin-top:0 !important; font-size:28px !important;}
.sponsor ul {padding-top:30px;margin: 30px 0; border-top: 1px #cccccc solid; clear:both;}
.sponsor img { max-height:120px !important; width:auto; max-width:100%;}

.document li:before {content: '\f016'; font-family: 'FontAwesome'; float: left; margin-left: -1.5em; color: #0074D9; font-size:16px;}
.document li { padding: 0; margin: 0; list-style: none;}

#videoslink {background-image: url('/wp-content/uploads/2017/08/media_Videos.png');background-position:top center;background-repeat:no-repeat; color:#009bdf;}
#photoslink {background-image: url('/wp-content/uploads/2017/08/media_Photos.png');background-position:top center;background-repeat:no-repeat; color:#009bdf;}
#pressreleaselink {background-image: url('/wp-content/uploads/2017/08/media_PressReleases.png');background-position:top center;background-repeat:no-repeat; color:#009bdf;}
#presskitlink {background-image: url('/wp-content/uploads/2017/08/media_PressKit.png');background-position:top center;background-repeat:no-repeat; color:#009bdf;}
#publicationslink {background-image: url('/wp-content/uploads/2017/08/media_Publications.png');background-position:top center; background-repeat:no-repeat; color:#009bdf;}


/* Timeline */
.beavertime .ctl-icon-img {height:24px !important; width:24px;}
.beavertime h1 {font-size: 38px !important; color: #009bda !important; text-transform: uppercase !important;}
.beavertime h2 {font-size:34px !important; font-weight:400 !important;}
.beavertime .content-details {text-align:left !important;}
.beavertime .ctl-right .clt-meta-date {text-align:left !important;}


/* Staff */
#main #staff li { width: 30%; padding: 0; margin: 0 3% 50px 0; float: left; text-align: center; list-style: none; }
#main #staff li:nth-child(3n+1) { clear: left; }
#main #staff li img { margin: 0 0 15px 0; }
#main #staff li h3 { font-size: 20px; color: #000000; margin-bottom: 2px; text-transform:none;}
#main #staff li p { font-size: 15px; color: #000000; margin-bottom:2px; text-transform:uppercase; line-height:16px;}
#main #staff li span { font-size: 14px; color: #666666; margin:0; text-transform:none; }
#main #staff li a { font-size: 14px; text-align: center; text-transform: uppercase;  }
.single-staff #main img.wp-post-image { float: left; max-width: 270px; }
#staff-content { margin-left: 300px; }
#main #staff-content p.title { font-size: 20px; text-transform: uppercase; margin: -10px 0 30px 0; }
#main #staffsingle {text-align:center;}
#main #staffsingle li { padding: 0; margin: 0 3% 50px 0; text-align: center; list-style: none; }
#main #staffsingle li h3 { font-size: 20px; color: #000000; margin-bottom: 2px;  }
#main #staffsingle li p { font-size: 15px; color: #000000; margin-bottom:2px; text-transform:uppercase; line-height:16px;}
#main #staffsingle li span { font-size: 14px; color: #666666; margin:0; text-transform:none; }

#thumbnails { width: 100%; display: flex; flex-wrap: wrap; }
#main section #thumbnails li { list-style: none; width: 30%; margin: 0 3% 25px 0; text-align: center; }
#main section #thumbnails li h2 { color: #000; font-size: 20px; font-weight: bold; margin: 0; text-transform:none; }
#main section #thumbnails li p { font-size: 16px; margin: 0; color: #898b8e; }
#main section #thumbnails li a { font-size: 14px; text-transform: uppercase; }

#main section article.post { border-bottom: 1px solid #e1e1e1; padding: 0 0 20px 0; margin: 0 0 20px 0; }
#main section article.post img { float: left; max-width: 270px; }
#main section article.post h2, #main section article.post p { margin: 0 0 5px 300px; }
#main section article.post p.post-data { font-weight: bold; font-size: 14px; color: #000; text-transform: uppercase; }
#main section article.post p a { text-transform: uppercase; font-size: 14px; }

/* Sub Section */
#sub-sections { background: #e1e1e1; }
.sub-section { border-top: 1px solid #FFF; padding: 50px 0; }
#sub-sections .container { max-width: 780px; }
#sub-sections h1 { background: #f9f9f9; margin: 0; font-size: 28px; color: #333; text-transform: uppercase; padding: 15px 0; border-top: 1px solid #e1e1e1; }
#sub-sections h2 { color: #009bdf; font-size: 24px !important; }
.sub-section.video .video-embed { width: 50%; float: right; }
.sub-section.video .video-content { width: 45%; float: left; }
.sub-section.testimonial .container { text-align: left; }
.sub-section.testimonial p { font-size: 18px; color:#333333;}
.sub-section.testimonial p.name { margin-top: -10px; text-transform: uppercase; color: #009bdf; font-size:16px; }
.sub-section.testimonial-image img { max-width: 200px; float: left; }
.sub-section.testimonial-image p { font-size: 18px; margin-left: 230px; color:#333333;}
.sub-section.testimonial-image h2 {margin-left: 230px;}
.sub-section.testimonial-image p.name { margin-top: -10px; text-transform: uppercase; color: #009bdf; }

/* Content Types */
#accordion { border-top: 1px solid #e1e1e1; margin: 0 0 40px 0; }
.accordion-item { border-bottom: 1px solid #e1e1e1; padding: 20px 0; }
#main section #accordion h3 { font-size: 20px; color: #009bda; margin: 0; padding: 0 0 0 25px; display: block; position: relative; cursor: pointer; font-weight: 300; }
#accordion h3:before { content: "\f0d7"; font-family: "FontAwesome"; color: #009bda; font-size: 20px; font-style: normal; margin: 0 15px 0 -25px; }
#accordion h3.active:before { content: "\f0d8"; }
#accordion .accordion-content { margin-top: 20px; margin-left: 25px; }
.accordion-content h4 { margin: 20px 0 5px 0; text-transform:uppercase; letter-spacing: 1px; }

/* Blog */
.single-post #main section h1 { margin: 0; }
.single-post #main section p.post-data { font-weight: bold; font-size: 18px; }

.widget_archive label, .widget_categories label { display: none; }
#main aside .widget_archive h3,
#main aside .widget_categories h3 { border-bottom: 0; padding: 0 0 5px 0; margin: 0; }
#main aside select { width: 100%; }

/* Events */
.tribe-mobile #main { padding-top: 50px; }
.tribe-bar-disabled { float: left;}
#tribe-events .tribe-events-loop,
#tribe-events-content-wrapper { max-width: 100% !important; }
.event { margin: 0 0 30px 0; padding: 0 0 30px 0; border-bottom: 1px solid #E1E1E1; }
#tribe-events .event-image { width: 40%; float: left; position: relative; }
#main section #tribe-events .event-image img { width: 100%; }
#tribe-events .event-date {
    position: absolute;
    top: 0; left: 0;
    width: 70px;
    height: 100%;
    background: rgb(0,154,221); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(0,154,221,1) 0%, rgba(255,255,255,.5) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0,154,221,1) 0%,rgba(255,255,255,.5) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0,154,221,1) 0%,rgba(255,255,255,.5) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#009add', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}
#tribe-events .event-date span { display: block; text-align: center; color: #FFF; line-height: 1; text-transform: uppercase; }
.event-day { font-size: 38px; padding: 15px 0 5px 0; }
.event-month { font-size: 24px; }
.event-year { font-size: 24px; }
.event-content { width: 55%; margin-left: 5%; float: left; }
#main .event-content h3 { color: #009ADD; font-size: 34px; margin: 0 0 5px 0; font-weight: normal; }
.event-content p a { text-transform: uppercase; }

.tribe-events-event-meta.primary .tribe-events-meta-group { width: 100%; }
.tribe-events-meta-group dt { color: #002EA4; font-size: 20px; text-transform: uppercase; }
.tribe-events-meta-group dd { font-size: 20px; margin: 0 0 15px 0; }

#main p.tribe-events-back a { font-weight: normal; text-transform: uppercase; }
#main #tribe-events .tribe-events-button { display: inline-block; border: none; background: #20CBD4; color: #FFF; padding: 5px 30px; text-transform: uppercase; text-decoration: none; cursor: pointer; font-size: 18px; border-radius: 0; font-weight: normal; }
#main #tribe-events .tribe-events-button:hover { background: #002EA4; color: #FFF; }

#main #tribe-events h2 { margin:30px 0; }

.single-tribe_events #main h2.single-event-title { color: #009ADD; font-size: 34px; margin: 0 0 5px 0; font-weight: normal; }
.single-tribe_events #main p.single-event-date { font-size: 20px; color: #002EA4; text-transform: uppercase; }

#next-prev { border-top: 1px solid #E1E1E1; padding: 7px 0 0 0; text-transform: uppercase; }
#next-prev span.next, #next-prev span.prev { display: block; float: left; }
#next-prev span.next { float: right; }

#tribe-events aside h2 { color: #009bda; text-transform: uppercase; font-size: 20px; border-bottom: 1px solid #898b8e; padding: 0 0 5px 0; margin: 0 0 10px 0; }


/* For sidebar events */
#main aside #tribe-events h2 { color: #009bda; text-transform: uppercase; font-size: 20px; border-bottom: 1px solid #898b8e; padding: 0 0 5px 0; margin: 0 0 10px 0; }

#main aside #tribe-events .event-image { width: 25%; }
#main aside #tribe-events .event-image img { display: none;; }
#main aside #tribe-events .event-date {
    position: static;
    width: 100%;
    height: auto;
    background: rgb(0,154,221);
    padding: 10px 0;
}
#main aside .event-day { font-size: 28px; padding: 0; }

#main aside .event-content { width: 70%; margin-left: 5%; float: left; }
#main aside .event-content h3 { font-size: 20px; color: #333333; border: 0; text-transform: none; }
#main aside .event-content .event-desc { display: none; }



/* 40 Million Stories */
.Fortymil h1 {color:#26cad3; font-style:italic; size:36px; font-family:abril-text; text-align:center; font-weight:400;}
.Fortymil h2 {color:#26cad3; font-style:italic; size:36px; font-family:abril-text; text-align:center; font-weight:400;}
.FortymilDonateNow {background-color:#e31d1a; margin-left:60px;}


#FortymilOverview p {color:#ffffff;line-height:24px;}
#FortymilOverview h3 {font-family:freight-sans-pro; color:#ffffff; font-weight:700; font-size:24px;}

#FortymilVideo h2 {color:#26cad3; font-style:italic; font-family:abril-text; text-align:center;}

#FortymilStories {text-align:left; }
#FortymilStories p {color:#003a70; font-style:italic; font-family:abril-text; }
#FortymilStories h2 {color:#ffffff; font-family:freight-sans-pro; size:36px ; font-weight:700;}

#FortymilStats {text-align:left;}
#FortymilStats h2 {color:#26cad3; font-style:italic; size:36px !important; font-family:abril-text; text-align:center;}
#FortymilStats h3 {color:#ffffff; text-transform:uppercase; font-weight:400; font-size:36px; font-family:freight-sans-pro; line-height:36px;}
#FortymilStats p {color:#ffffff ; font-family:freight-sans-pro; font-size:24px; line-height:24px; margin-top:5px;}
#FortymilStats strong {font-family:freight-sans-pro; font-size:24px; line-height:24px; margin-top:5px;}
#FortymilStats #achieve {color:#e31d1a ; }

#FortymilCTA h2 {color:#26cad3; font-style:italic; font-family:abril-text; text-align:center;}
#FortymilCTA p {color:#ffffff;}

/* Wide */
.page-template-tpl-wide #main.wide section { max-width: 1200px; width: 100%; }

/* Partners */
/*
.partners { display: flex; justify-content: space-between; flex-wrap: wrap; }
*/
.partner { display: inline-block; vertical-align: top; width: 31%; position: relative; text-align: center; margin: 0 1% 30px 1%; border: 1px solid #A19EA2; height: 250px; background: #FFF; }
.partner a { display: block; position: relative; width: 100%; height: 100%; }
.partner-image { position: relative; top: 50%; transform: translateY(-50%); }
.partner img { max-width: 80% !important; max-height: 220px; width: auto; height: auto; }
.partner-content-container { transition: opacity .3s linear; opacity: 0; position: absolute; top: 0; bottom: 0; padding: 0 8%; background: #EDEDED; }
.partner:hover .partner-content-container { opacity: 1; }
.partner-content { position: relative; top: 50%; transform: translateY(-50%); }
.partner-content p { color: #707070; font-size: 16px; line-height: 1; margin: 0; }

/* Partners block */
#partners { padding: 40px 0; background: #F9F9F9; }
#partners h2 { font-size: 28px; text-transform: uppercase; color: #333333; text-align: center; margin: 0 0 30px 0; }

/* Locator */
.wpsl-search { margin: 0; padding: 20px 30px; border-bottom: 1px solid #CCC; }
.wpsl-input label, #wpsl-radius label, #wpsl-category label, #wpsl-search-wrap div label { width: auto !important; font-size: 20px; float: none; line-height: auto; }
#wpsl-search-wrap .wpsl-input label { display: inline-block; margin: 0 10px 0 0; }
#wpsl-search-wrap input,
.wpsl-dropdown { border-radius: 0; border: none; }
#wpsl-search-wrap .wpsl-input { margin: 0 10px 0 0; }
#wpsl-search-wrap #wpsl-radius,
#wpsl-search-wrap #wpsl-results,
#wpsl-search-wrap #wpsl-category { display: inline-block; margin: 0 30px 0 0; }
#wpsl-radius label { display: none; }
#wpsl-category { clear: none; }
.wpsl-description, .wpsl-description p { color: #666; font-size: 15px; }

.wpsl-search form { display: flex; align-items: center; }
#wpsl-search-btn, #wpsl-search-wrap div { float: none; display: inline-block; vertical-align: middle; margin: 0; }
body #wpsl-search-btn { background: #009bda; color: #FFF; box-shadow: none; border: none; border-radius: 0; text-transform: uppercase !important; margin: 0; padding: 7px 20px; }

#wpsl-stores {
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top,  #ffffff 0%, #ededed 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #ffffff 0%,#ededed 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #ffffff 0%,#ededed 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
}

#wpsl-result-list { width: 33.5%; margin: 0; }
#wpsl-wrap #wpsl-result-list li { padding: 20px 30px; color: #666666; border-bottom: 1px solid #CCCCCC; }
#wpsl-wrap #wpsl-result-list li a { color: #666; }
#wpsl-wrap #wpsl-result-list li strong { display: block; color: #002EA4; }
#wpsl-wrap #wpsl-result-list li.embedded-story-station strong { color: #E42209; }
.wpsl-base { font-weight: bold; }

.wpsl-before { display: flex; justify-content: space-between; align-items: flex-end; margin: 0 0 30px 0; }
.wpsl-intro { width: 65%; }
.wpsl-categories { width: 30%; border-left: 1px solid #000; }
#main section .wpsl-categories ul { list-style: none; padding-left: 30px; margin: 0; }
.wpsl-categories li img { width: 20px; height: auto; display: inline-block; vertical-align: middle; margin-right: 10px; }

.locationexp { font-size:14px; margin-left:30px; color:#888888;}
.locationcallout { margin-top: 80px; }
.locationcallout h2 {font-size: 24px !important; text-transform: uppercase !important;}

/* In Page Subscribe */
.inpagesubscribe .gform_wrapper ul li.gfield {margin-top:0 !important;}

/* ----------------------------------- */
/* FOOTER
/* ----------------------------------- */
#footer { background: #898b8e url(images/lines.png) center top repeat-x; padding: 85px 0 0 0; }
#footer .col { width: 25%; float: left; }
#footer .col p, #footer .col li, #footer .col a { color: #FFF; font-size:15px;}
#footer .col li { width: 50%; float: left; list-style: none; }
#footer .col i { font-size: 30px; }

#footer .col p.footerheader { font-size: 20px; font-weight: 500; }

#subscribe-form { background: #FFF; padding: 5px 5px 5px 15px; display: inline-block; }
#footer .col #subscribe-form li { width: 100%; float: none; margin: 0; }
#subscribe-form  .gform_wrapper { margin: 0; position: relative; }
#subscribe-form  .gform_wrapper .top_label div.ginput_container { margin: 0; }
#subscribe-form .gform_wrapper .gform_footer { margin: 0; padding: 0; width: auto; position: absolute; right: 10px; top: 3px; }
#subscribe-form .gform_footer input.button, .gform_wrapper .gform_footer input[type=submit] { margin: 0; width: auto; padding: 0; }
#subscribe-form .validation_error { display: none !important; }
#subscribe-form label, #subscribe-form a.button { display: none; }
#subscribe-form input { background: transparent; border: none; }
#subscribe-form input[type="email"] { width: 190px; padding: 5px !important; }
#subscribe-form input[type="submit"] { font-family: "FontAwesome"; color: #009bda; }

#copyright { background: #FFF; padding: 10px 0 25px 0; margin: 50px 0 0 0; }
#copyright .container { font-size: 13px; color: #6d6e71; text-transform: uppercase; }
#copyright a { color: #6d6e71; }
#buchanan { float: right; }
#buchanan span { font-weight: bold; }

#search-popup { display: none; position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100%; background: rgba( 255,255,255,.9); }
#search-popup .container { padding: 200px 0 0 0; max-width: 500px; text-align: center; position: relative; }
#close-search-popup { position: absolute; right: -30px; top: 160px; font-size: 40px; color: #000; }
#search-popup form { background: #20cbd4; display: inline-block; padding: 15px 30px; }
#search-popup input { border: 0; background: none; padding: 0; font-size: 30px; }
#search-popup input[type="text"] { width: 400px; }
#search-popup input[type="submit"] { color: #FFF; font-family: "FontAwesome"; }


/* ----------------------------------- */
/* MOBILE
/* ----------------------------------- */
#header nav ul, #wrapper { transition: transform 0.3s; }

@media screen and (max-width: 1200px) {

	.container { padding-left: 5%; padding-right: 5%; width: 90%; }

    #header .container { text-align: center; position: relative; padding: 0; width: 100%; }
    #header #logo img { float: none; /*position: absolute; left: 50%; margin-left: -75px;*/ margin: 12px auto; }
    #header #donate-ribbon { margin-right: 5%; }

	#mobile-menu { float: left; display: block; margin: 30px 0 0 5%; font-size: 30px; color: #FFF; }
	#header nav { float: left; display: none; background: #009bdf; margin: 0; width: 100%; border-top: 1px solid #ffffff; }
    .nav-open #header nav { display: block; }
	/*.nav-open #header nav ul { transform: translateX( 300px ); }*/
	/*.nav-open #wrapper { transform: translateX( -300px ); }*/
	#header nav ul li { display: block; float: none; text-align: center; margin: 0; border-bottom: 1px solid #ffffff; }
    #header nav ul li a { color: #FFF; display: block; padding: 10px 0; font-size: 16px; font-weight: bold; }
    #header nav li a:hover, #header nav ul li:hover > a, #header nav li.current_page_ancestor > a, #header nav ul li.current_page_item > a { color: #0033a1; }
	#header nav ul li .sub-menu { display: none !important; background: #0074a4; position: static; width: 100%; height: auto; margin: 0; }
	#header nav ul li .sub-menu.active { display: block !important; }
	#header nav ul li .sub-menu li { display: block; text-align: left; padding: 5px 8%; margin: 0; border-bottom: 1px solid #009bdf; }
	#header nav ul li .sub-menu li a { font-weight: normal; text-transform: none; }
	#header nav ul li .sub-menu li a:hover {  }
    #header nav li .sub-menu li .sub-menu { background: transparent; padding: 0; }
    #header nav li .sub-menu li:hover a { background: transparent; }
    #header nav li .sub-menu li .sub-menu li { border: 0; }
    #header nav li .sub-menu li .sub-menu li:before { display: block; float: left; color: #FFF; margin: 0 7px 0 25px; content: "\f0da"; font-family: "FontAwesome"; }
    #header nav li .sub-menu li .sub-menu li a { padding: 0; }

	#secondary-menu { display: none; }

	#header nav ul li.current_page_item a {  }
	.sub-menu:before { display: none; }

    .partner { width: 47%; min-height: 250px; }


}

@media screen and (max-width: 900px) {
	.wpsl-before { display: block; }
    .wpsl-intro, .wpsl-categories { width: 100%; }
	.wpsl-categories { border:none; padding:0; margin-top: 30px }

    #main section .wpsl-categories ul { border: none; padding: 0; }
}


@media screen and (max-width: 768px) {

    .sub-section.video .video-embed,
    .sub-section.video .video-content { width: 100%; float: none; }
	.sub-section.testimonial-image img { width: 100%; float: none; max-width: 100%; }
	.sub-section.testimonial-image p { margin-left: 0 !important; }
	.sub-section.testimonial-image h2 { margin-left: 0 !important; }

    .wpsl-search form { display: block; }
     #wpsl-search-wrap div,
     #wpsl-radius label { display: block !important; }
    

    #wpsl-gmap, #wpsl-result-list { width: 100%; float: none; }
    #wpsl-stores { height: auto !important; }

}

@media screen and (max-width: 650px) {

    #header { position: fixed; top: 0; left: 0; width: 100%; z-index: 999; }

    #top-bar { display: none; }

    #tagline h1 { font-size: 22px; }

    #slideshow li { height: auto; padding-top: 200px; }
    #slideshow li h2 { font-size: 34px; font-weight: bold; max-width: 100%; }

    #buttons li { float: none; width: 100%; margin: 0 0 10px 0 !important; }
    #buttons li a { height: 120px; }
    #buttons li .button-text { left: 120px; font-size: 22px; }

    .welcome-video, .welcome-content { width: 100%; float: none; }

    .promo-image { height: 250px; }

    #news li { float: none; margin: 0 0 25px 0; width: 100%; }

    #footer .col { width: 100%; float: none; }

    #main section, #main aside { float: none; width: 100%; }

    #main #staff li { width: 100%; padding: 0; margin: 0 0 50px 0;  }

    #main section #thumbnails li { width: 100%; margin: 0 0 25px 0; }

    .sponsor ul li {width:100%; text-align:center;}
    .sponsor ul li:last-child {width:100%; }
    .sponsor ul {padding-top:30px;margin: 30px 0; border-top: 1px #cccccc solid; clear:both;}
    .sponsor img { max-height:120px !important; width:auto !important; max-width:250px !important;}

    .graphiclink ul li {width:100%; margin: 0 0 30px 0 !important; }
	.threeup ul li {width:100%; margin: 0 0 30px 0 !important; }
    .fourup ul li {width:100%; margin: 0 0 30px 0 !important; }

    .event { display: block; }
    .events-list .event-image,
    .events-list .event-content { width: 100%; margin-left: 0; }
    .events-list .event-image { margin: 0 0 20px 0; }
    .events-list .event-image img { width: 100%; height: auto; }

    .partner { display: block; width: 100%; height: auto; margin: 0 0 20px 0; }
    .partner-image { position: static; transform: translateY(0%); padding: 40px 0; }
    .partner-content-container { transition: none; opacity: 1; position: static; padding: 20px; }
    .partner-content { position: static; transform: translateY(0); }
	


}
@media screen and (max-width: 560px) {

    /*
    #donate-ribbon { width: 75px; height: 100px; background-size: cover; }
    */
    #header .container { overflow: hidden; }
    #logo img { max-width: 120px; height: auto; }

    #tagline h1 { font-size: 18px; }


}
