/*!
Theme Name: Delco
Theme URI: http://underscores.me/
Author: Anunay D
Author URI: https://codeable.io/developers/anunay-d/
Description: Delaware County Democratic Committee
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: delco
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Delco is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
html.no-scroll{
overflow:hidden;
position:fixed;
bottom:0;
top:0;
height:100vh;
}

@media (max-width: 1070px) and (min-width: 992px){
header .main-navigation #navbar .navbar-nav li.nav-item {
    padding: 10px 5px;
}
}
@media(max-width:991px){
 header .main-navigation #navbar .navbar-nav.secondary-menu{
    align-items: normal !important;
    display: block;
    position: absolute;
    bottom: auto;
    top: auto;
}
}
.hero-banner-search .multistep-footer, .hero-banner-search .at-inner header, legend.at-legend, .hero-banner-search label small{
					display:none !important;
				}
				.hero-banner .hero-banner-wrapper .hero-banner-search {
				    max-width: 90%;
				    margin: 0 auto;
				}
				
				body .hero-banner .hero-banner-wrapper .hero-banner-search section.at-inner {padding:0;background-color:transparent;}
				body .hero-banner .hero-banner-wrapper .hero-banner-search section.at-inner form{display:flex;}
				body .hero-banner .hero-banner-wrapper .hero-banner-search .at-fieldset.ContactInformation{
				    max-width: 72%;
				    display: inline-block;
				    min-width: 72%;
				    padding: 0;
				}
				body .hero-banner .hero-banner-wrapper .hero-banner-search .at-fieldset.ContactInformation .at-row {
				    width: 50%;
				    display: inline-block;
				}
				body .hero-banner .hero-banner-wrapper .hero-banner-search .at-fieldset.ContactInformation .at-row.YesSignMeUpForUpdatesForBinder{display:none;}
				body .hero-banner .hero-banner-wrapper .hero-banner-search .at-fieldset.ContactInformation .at-row.EmailAddress{float:left;}
				body .hero-banner .hero-banner-wrapper .hero-banner-search .at-form-submit{
					width: 50%;
					float: left;
					padding:0;
				}
				body .hero-banner .hero-banner-wrapper .hero-banner-search .at-submit.btn-at.btn-at-primary{
				   border: none;
				    box-shadow: none;
				    border-radius: 0 50px 50px 0;
				    background: #00a3e4;
				    font-size: 14px;
				    font-weight: 500;
				    height: 47px;
				    line-height: 47px;
				    text-transform: uppercase;
				    color: #ffffff;
				    padding:0;
				    margin:0;
				    width:100%;
				}
				body .hero-banner .hero-banner-wrapper .hero-banner-search .at-fieldset.ContactInformation .at-row label{padding:0;margin:0;}
				body .hero-banner .hero-banner-wrapper .hero-banner-search .at-fieldset.ContactInformation .at-row label input{
					margin:0;
					border-radius:0;
				    width: 100%;
				    border: none;
				    box-shadow: none;
				    height: 47px;
				    line-height: 47px;
				    padding: 0 25px;
				}
				body .hero-banner .hero-banner-wrapper .hero-banner-search .at-fieldset.ContactInformation .at-row.PostalCode{border-left:1px solid #f1f1f1;}
				body .hero-banner .hero-banner-wrapper .hero-banner-search .at-fieldset.ContactInformation .at-row label input[type="email"]{
				    border-radius: 50px 0 0 50px;
				}
				body .hero-banner .hero-banner-wrapper .hero-banner-search .content.thankYou section{padding:0;}
				body .hero-banner .hero-banner-wrapper .hero-banner-search .content.thankYou section p{margin:0;color:#fff;font-size:16px;}
				body .hero-banner .hero-banner-wrapper .hero-banner-search .content.thankYou section p span br{display:none; }
				
				/* subscription-form */
				footer .footer-top .widget .subscription-form .ngp-form section.at-inner{padding:0;background:transparent;}
				footer .footer-top .widget .subscription-form .ngp-form section.at-inner header.at-title{display:none !important;}
				footer .footer-top .widget .subscription-form .ngp-form section.at-inner .at-fieldset.ContactInformation{padding:0;}
				footer .footer-top .widget .subscription-form .ngp-form section.at-inner .at-fieldset.ContactInformation .at-row label{padding:0;margin:0;}
				footer .footer-top .widget .subscription-form .ngp-form section.at-inner .at-fieldset.ContactInformation .at-row label small.error{display:none;}
				footer .footer-top .widget .subscription-form .ngp-form section.at-inner .at-fieldset.ContactInformation .at-row label.error input{border:1px solid red;}
				footer .footer-top .widget .subscription-form .ngp-form section.at-inner .at-fieldset.ContactInformation input {
				    border: none;
				    box-shadow: none;
				    border-radius: 0;
				    height: 47px;
				    line-height: 47px;
				    padding: 0 25px;
				    background: #000f34;
				    color: #ffffff;
				    margin-bottom:10px;
				}
				footer .footer-top .widget .subscription-form .ngp-form section.at-inner .at-fieldset.ContactInformation input::-webkit-input-placeholder {
				  font-size: 14px;
			              color:#a0a0a0;
			              opacity: 1;
				}
				footer .footer-top .widget .subscription-form .ngp-form section.at-inner .at-fieldset.ContactInformation input::-moz-placeholder {
				  font-size: 14px;
			              color:#a0a0a0;
			              opacity: 1;
				}
				footer .footer-top .widget .subscription-form .ngp-form section.at-inner .at-fieldset.ContactInformation input:-ms-input-placeholder {
				  font-size: 14px;
			              color:#a0a0a0;
			              opacity: 1;
				}
				footer .footer-top .widget .subscription-form .ngp-form section.at-inner .at-fieldset.ContactInformation input:-moz-placeholder {
				  font-size: 14px;
			              color:#a0a0a0;
			              opacity: 1;
				}
				footer .footer-top .widget .subscription-form .ngp-form section.at-inner form .at-form-submit {
				    padding: 0;
				    margin: 0;
				}
				footer .footer-top .widget .subscription-form .ngp-form section.at-inner form .at-form-submit input[type="submit"]{
				width:100%;
				    background: #00a3e4;
				        font-size: 16px;
    					font-weight: 500;
    					margin:5px 0 0 0;
    					text-transform:uppercase;
				
				}
				footer .footer-top .widget .subscription-form .ngp-form .content.thankYou section{padding:0;}
				footer .footer-top .widget .subscription-form .ngp-form .content.thankYou section p{margin:0;}
				footer .footer-top .widget .subscription-form .ngp-form .content.thankYou section p span br{display:none; }
				
				@media (max-width:814px){
				.hero-banner .hero-banner-wrapper .hero-banner-search {
				    max-width: 100%;
				    margin: 0 auto;
				}
				}

				/* Portrait */
				@media only screen 
				  and (min-width: 320px) 
				  and (max-width: 767px)
				  and (orientation: portrait) {
				  	body .hero-banner .hero-banner-wrapper .hero-banner-search {
				    		max-width: 100%;
					}
					body .hero-banner .hero-banner-wrapper .hero-banner-search section.at-inner form{display:block;}
					body .hero-banner .hero-banner-wrapper .hero-banner-search section.at-inner form .at-fieldset.ContactInformation{
					    max-width: 100%;
					    min-width: 100%;
					}
					body .hero-banner .hero-banner-wrapper .hero-banner-search section.at-inner form .at-fieldset.ContactInformation .at-row {
					    width: 100%;
					    margin-bottom:15px;
					}
					body .hero-banner .hero-banner-wrapper .hero-banner-search section.at-inner form .at-fieldset.ContactInformation .at-row label input,
					body .hero-banner .hero-banner-wrapper .hero-banner-search section.at-inner form .at-submit.btn-at.btn-at-primary{
						border-radius: 50px; 
						margin:0 auto;
					}
					body .hero-banner .hero-banner-wrapper .hero-banner-search section.at-inner form .at-form-submit {
					    width: 50%;
					    float: none;
					    padding: 0;
					    text-align: center;
					    margin: 0 auto;
					}
					body .hero-banner .hero-banner-wrapper .hero-banner-search .at-fieldset.ContactInformation .at-row.PostalCode{border:none;}
					
				}
/* footer */
.facebook-post iframe{
width:100%;
}
@media (max-width:991px){
.facebook-post{margin:50px 0;}
body footer .footer-top .footer-logo-section .footer-btn-group{margin-bottom:50px;}
.footer-top .widget .page-title,
.footer-top .widget{
text-align:center;
}
}

@media (max-width: 1199px) and (min-width: 992px){
body footer .footer-top .footer-logo-section .footer-btn-group .theme-button + .theme-button {
    margin-left: 30px;
    margin-top: auto;
}
}

@media (max-width:360px){
footer .footer-top .footer-logo-section .footer-btn-group .theme-button + .theme-button {
    margin-left: 10px;
}
}

.footer-logo-section{text-align:center;}
.no-overlay{}
.no-overlay:after{background: none !important; }
.home .news-post {margin-bottom:30px;}

/* =WordPress Core
-------------------------------------------------------------- */
.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%; /* Image does not overflow the content area */
    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: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/**
	Remove 'Delco sites' form breadcrumb
*/
.deloc-breadcrumb span[typeof]:nth-child(1){
	display: none!important;
}
.deloc-breadcrumb span[typeof]:nth-child(2):before{
	display: none!important;
}
