/*   
Theme Name: POLC 2015
Theme URI: http://polc.org
Description: Custom theme for POLC
Author: Ignite Media LLC
Author URI: http://chooseignite.com
Version: 2
*/
a { color:#0F1D7F; }
article a { text-decoration:underline; }
h2 a, .btn { text-decoration:none; }
body,h1,h2,h3,h4,h5 { letter-spacing: -0.0325em;}
table td { padding:10px; border-bottom:1px solid #ddd; }
.container.top { background:url('images/flag-bg.png') no-repeat center right; background-color:#001a36; }
.primary-navigation { background:#fff;background:-moz-linear-gradient(top,#fff 0,#f3f3f3 50%,#ededed 51%,#fff 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#fff),color-stop(50%,#f3f3f3),color-stop(51%,#ededed),color-stop(100%,#fff));background:-webkit-linear-gradient(top,#fff 0,#f3f3f3 50%,#ededed 51%,#fff 100%);background:-o-linear-gradient(top,#fff 0,#f3f3f3 50%,#ededed 51%,#fff 100%);background:-ms-linear-gradient(top,#fff 0,#f3f3f3 50%,#ededed 51%,#fff 100%);background:linear-gradient(to bottom,#fff 0,#f3f3f3 50%,#ededed 51%,#fff 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ffffff', GradientType=0); }
.blog-navigation { background:#001327;background:-moz-linear-gradient(top,#001327 0,#001a36 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#001327),color-stop(100%,#001a36));background:-webkit-linear-gradient(top,#001327 0,#001a36 100%);background:-o-linear-gradient(top,#001327 0,#001a36 100%);background:-ms-linear-gradient(top,#001327 0,#001a36 100%);background:linear-gradient(to bottom,#001327 0,#001a36 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#001327', endColorstr='#001a36', GradientType=0); }
.small-nav { color:white; padding:5px 5px 0 0; margin-bottom:5px; }
.small-nav a { color:white; }
.bluebg { background-color:#001a36; color:white; }
.graybg { background-color:#c8cace; }
.whitebg { background-color:white;}
.footer { background:url('images/polc-footer-bg.jpg') no-repeat right center; background-size:cover; padding:50px 0; color:white; font-size:.9em; }
.footer a { color:white; }
hr { clear:both; }
.primary-navigation, .blog-navigation { -webkit-box-shadow: 2px 4px 5px -1px rgba(0,0,0,0.75);
-moz-box-shadow: 2px 4px 5px -1px rgba(0,0,0,0.75);
box-shadow: 2px 4px 5px -1px rgba(0,0,0,0.75); z-index:99;}
.mapo-btn { clear:both; margin:5px 0 0; }
.mapo-btn:last-of-type {margin-bottom: 10px;}
.mapo-btn > a { display:inline-block; }
.mapo-btn a > img { display:inline-block; border-radius:5px; }

.banner {position: absolute; right: 0; top: 18vw; height: auto; z-index: 99;}

.news-tab { position:absolute; top:-26px; right:320px; background-color:white; padding:3px 20px; -webkit-border-top-left-radius: 5px;
-webkit-border-top-right-radius: 5px;
-moz-border-radius-topleft: 5px;
-moz-border-radius-topright: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px; font-weight:bold; color:#001a36; text-transform:uppercase; z-index:-99; -webkit-box-shadow: 2px 4px 5px -1px rgba(0,0,0,0.75);
-moz-box-shadow: 2px 4px 5px -1px rgba(0,0,0,0.75);
box-shadow: 2px 4px 5px -1px rgba(0,0,0,0.75);}

.success-member article h2 { font-weight:900; text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.43); color:white; letter-spacing: -0.0525em; }
.success-member article h2 span.label { font-size:50%; vertical-align:middle; letter-spacing: -0.0325em; }
.sidebar .panel, .archive-sidebar .panel, .success-member .panel { padding:10px; line-height:1.2em; }
.sidebar .panel h4, .archive-sidebar .panel h4, .success-member .panel h4 { font-weight:bold; color:#001a36; margin:0 0 5px; }
.sidebar .panel a, .archive-sidebar .panel a, .success-member .panel a { color:#001a36; }
.sidebar .panel small, .archive-sidebar .panel small, .success-member .panel small { line-height:.8em; }
.sidebar .panel p:last-child, .archive-sidebar .panel p:last-child, .success-member .panel p:last-child { margin-bottom:0; clear:both; }
.panel.graybg { padding:10px; }

.slick-container { padding:0 40px; }
.slick-container figure { width:95%; height:auto; position:relative;}
.slick-image { max-width:100%; height:auto; }
.slick-container figure p { position:absolute; display:block; bottom:0; width:100%; padding:6px; background-color:rgba(0,0,0,.85); color:white; margin:0 0 0; font-size:.8em; }
.slick-container figure p a { color:white; }

.fp-news header {}
.fp-news header h2 { font-weight:900; margin:0; text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.43); color:white; letter-spacing: -0.0525em; padding:20px 20px 35px 20px; }
.fp-news header h2 .label { font-size:.6em; }
.fp-news article { padding:10px 20px; background-color:white; color:#535353; }
.fp-news article h4 { text-transform:uppercase; font-weight:700; }

article h2 { font-weight:900;}

.archive-post { padding:15px; background-color:white; margin-bottom:10px; }
.archive-post article h2 { margin:5px 0 10px; }
.archive-title { margin-bottom:10px; }
.archive-title h1 { font-size:3em; margin:0; padding:35px 20px; font-weight:900; margin:0; text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.43); color:white; }
.archive-title h1 .label { font-size:.6em; }
.years h4 { margin:0 0 10px; }
.years .posts li { margin-bottom:3px; }
.archive-sidebar article h2, .sidebar article h2 {
    color: white;
    font-weight: 900;
    letter-spacing: -0.0525em;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.43);
}
.archive-sidebar article .label, .sidebar article .label { display:inline-block; font-size:.5em; letter-spacing:0px; margin-bottom:-20px; }

/* PAGE */
.page-title { margin-bottom:10px; }
.page-title h1 { font-size:3.5em; margin:0; padding:20px 20px 20px 0; font-weight:900; margin:0; color:#001a36; }
.page-title h1 .label { font-size:.4em; padding:5px 20px; }
article { overflow:hidden; }
.photo-gallery { clear:both; }
.photo-gallery li, .publications { opacity:.75; transition: opacity .25s ease-in-out; -moz-transition: opacity .25s ease-in-out; -webkit-transition: opacity .25s ease-in-out;}
.photo-gallery li:hover, .publications:hover { opacity:1; }
.entry { overflow:hidden; }
.person-thumb img { min-width:100%; height:auto; }

/* EVENTS */
.event { border:1px solid #0d3c6f; }
.event span { display:block; text-align:center; padding:1px 0; text-transform:uppercase; font-weight:800; background-color:#001a36; color:white; }
.event span.day { font-size:2em; }
.event span.year { background-color:#d1d1d1; color:#001a36; }
.event-description h2 { margin:0 0 10px; }
/* SIDEBAR */
.sidebar article { margin:0 0 25px; }
.contact-sidebar h3, .protecting-sidebar h3 { margin:0 0 10px; font-weight:bold;}
.contact-sidebar p { margin:0; font-size:16px; line-height:1.4em; letter-spacing:normal; }
.contact-sidebar p#phone { font-weight:bold;}
.protecting-sidebar p { font-size:14px; font-weight:600; line-height:1.8em; }

.calendar-events .row { padding:20px 0; }
.calendar-events .row:nth-child(even) { background-color:#f7f7f7; }

/* BOOTSTRAP OVERRIDES */

.navbar-default { background-color: transparent; border-color: transparent; }
.navbar-collapse { padding-left:0px; padding-right:0px; }
.navbar-nav > li > a { padding-bottom:3px; padding-top:3px; padding:8px 6px; font-weight:300; }
.navbar-default .navbar-nav > li > a { color:#001a36; }
.blog-navigation .navbar-default .navbar-nav > li > a { color:#ffffff; }
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus { text-decoration:underline; }
.navbar { min-height:20px; margin-bottom:0; }
.blog-navigation .navbar-default .navbar-nav > li.current-menu-item > a { color:#001a36; }
.nopadding { padding: 0 !important; margin: 0 !important; }
.nopaddingleft { padding-left:0!important; margin-left:0!important; }
.nopaddingright { padding-right:0!important; margin-right:0!important; }
.carousel-inner .item { max-height:500px; }
.carousel-inner .item img { min-width:100%; height:auto; }

.carousel-caption { left:0; right:0; bottom:0; width:100%; text-align:left!important; padding:20px; background-color:rgba(0,0,0,.5); }
.carousel-caption h3 { margin:0 0 10px; font-weight:bold;}

.slider-control { position:absolute; bottom:20px; right:20px; z-index:99;}

hr { border-top: dotted 1px; }


/* GRAVITY OVERRIDES */
#gform_fields_1{margin:0;padding:0;list-style:none}
#gform_fields_1 label{display:none}
#gform_fields_1 gform_footer top_label{float:left}
#input_1_1{height:35px}
input#gform_submit_button_1, input.gform_button button {-moz-user-select:none;background-image:none;border:1px solid transparent;border-radius:4px;cursor:pointer;display:inline-block;font-size:14px;font-weight:400;line-height:1.42857;margin-bottom:0;padding:6px 12px;text-align:center;vertical-align:middle;white-space:nowrap;background-color:#001a36;border-color:#0d3c6f;color:#fff}
input#gform_submit_button_1:hover{background-color:2752;border-color:#0d3c6f;color:#fff}
#gform_1 .gform_body { float:left; }
#gform_1 .gform_footer{float:left}
.gform_wrapper .gform_footer{clear:none!important;padding:0!important}
#gform_wrapper_1 label{display:none}
#gform_wrapper_1,#gform_wrapper_1 *{margin:0}
#gform_submit_button_1{padding-left:20px;padding-right:20px}
input#input_1_1{width:100%}
.list-group { clear:both; }

/* WP CORE */
.alignnone{margin:5px 20px 20px 0}.aligncenter,div.aligncenter{display:block;margin: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.alignleft,.wp-caption.alignnone{margin:5px 20px 20px 0}.wp-caption.alignright{margin:5px 0 20px 20px}.wp-caption img{border:0;height:auto;margin:0;max-width:98.5%;padding:0;width:auto}.wp-caption p.wp-caption-text{font-size:11px;line-height:17px;margin:0;padding:0 4px 5px}.screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute!important;height:1px;width:1px;overflow:hidden}.screen-reader-text:active,.screen-reader-text:focus,.screen-reader-text:hover{background-color:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;color:#21759b;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}


@media(max-width:767px){
.archive-title h1 { font-size:1.5em; margin:0; padding:30px 0; text-align:center; font-weight:900; margin:0; text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.43); color:white; }
.archive-title h1 .label { font-size:.5em; }
.navbar-collapse { padding-left:15px; padding-right:15px; }
	.carousel-caption { position:relative; padding:10px; background-color:rgba(0,0,0,.9); }
	.nopadding { padding: 0 !important; margin: 0 !important; }
.nopaddingleft { padding:0!important; margin:0!important; }
.nopaddingright { padding:0!important; margin:0!important; }
	
}
@media(min-width:768px){
	.polc-frame {	width:750px; margin:0 auto; -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.5);
-moz-box-shadow:    0px 0px 30px 0px rgba(0, 0, 0, 0.5);
box-shadow:         0px 0px 30px 0px rgba(0, 0, 0, 0.5);}

.banner {position: fixed; right: calc(50% - 375px); top: 13vw; height: auto; z-index: 99;}


}
@media(min-width:992px){
	
	.polc-frame { width:970px; margin:0 auto; -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.5);
-moz-box-shadow:    0px 0px 30px 0px rgba(0, 0, 0, 0.5);
box-shadow:         0px 0px 30px 0px rgba(0, 0, 0, 0.5);}

.banner {right: calc(50% - 485px);}


}
@media(min-width:1200px){
	
	.polc-frame { width:1170px; margin:0 auto; -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.5);
-moz-box-shadow:    0px 0px 30px 0px rgba(0, 0, 0, 0.5);
box-shadow:         0px 0px 30px 0px rgba(0, 0, 0, 0.5); }

.banner {right: calc(50% - 585px);}
	
}