/*
 Theme Name:   AVOW Texas
 Theme URI:    https://avowtexas.org/
 Description:  AVOW Texas theme based on Astra.
 Author:       RECSPEC
 Author URI:   https://recspec.co
 Template:     astra
 Version:      1.0
 Text Domain:  astra-child
*/

/* Custom RECSPEC styles */

h3 {font-family: "Barlow", Sans-serif !important;}

.footer-adv .widget-title {font-family: "Barlow", Sans-serif !important;}


.at .btn-at-primary:hover {
	background-color: #FDB714 !important;
	color: #095641 !important;
}

.blog-layout-1 {
	padding-bottom: 4em !important;
}


/* Socialico */
@font-face {
	font-family: 'Socialico';
	src: url('../fonts/socialico/Socialico.eot');
	src: local('☺'), url('../fonts/socialico/Socialico.woff') format('woff'), url('../fonts/socialico/Socialico.ttf') format('truetype'), url('../fonts/socialico/Socialico.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

.font-socialico {
    font-family: 'Socialico';
}


body .elementor-button.elementor-size-sm,
body .elementor-button.elementor-size-xs,
body .elementor-button.elementor-size-md,
body .elementor-button.elementor-size-lg,
body .elementor-button.elementor-size-xl,
body .elementor-button {
    border-radius: 0!important;
}

.elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a.arrow-cta {
    color:#fff;
    font-size:3rem;
}

.elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a.arrow-cta:hover {
    color:#095641;
}

.ast-logo-title-inline .site-logo-img {
    padding-right: 0!important;
    text-align: center;
    margin: 0 auto;
}

#primary-menu ul.sub-menu {
    margin-top: -2em;
}

.ast-header-break-point.ast-header-custom-item-outside .ast-masthead-custom-menu-items {
    width: 100%;
    text-align: center;
}

.main-header-menu .menu-item {
	font-weight: 800;
	text-transform: uppercase;
}

.ast-desktop .main-header-menu.submenu-with-border .sub-menu,
.ast-desktop .main-header-menu.submenu-with-border .astra-full-megamenu-wrapper {
	border: none;
	border-color: transparent;
}

.ast-theme-transparent-header .main-header-menu .menu-item .sub-menu .menu-item .menu-link,
.ast-theme-transparent-header .main-header-menu .menu-item .sub-menu .menu-item > .ast-menu-toggle {
    text-transform: none;
    text-decoration: underline;
    font-weight: 400;
}

.elementor-column.cta-min-400 {
    min-height: 400px;
}

.press-blog-posts h5 {
    display: none;
}

.press-blog-posts li,
.press-blog-posts li a {
    color: #F26A36;
    text-decoration: underline;
    list-style: none;
}

.press-blog-posts ol,
.press-blog-posts ul {
    margin: 0 0 1.5em 0;
}

.press-blog-posts article a {
    margin-left: .25rem;
    text-decoration: underline;
    font-size: 20px;
    font-family: 'Barlow',sans-serif;
}

.press-blog-posts article a:focus,
.press-blog-posts article a:hover {
    color: #fdb714;
}

.press-blog-posts article:before {
    content: "→ ";
    color: #fdb714;
    font-size: 20px;
}

a.elementor-button-link.elementor-button.elementor-size-xl {
    min-width: 150px;
}

.blog.ast-page-builder-template article {
    max-width: 1140px;
    margin: 0 auto;
    float:none;
}

.blog.ast-page-builder-template .entry-header {
    padding-left: 0;
}

.single-post .entry-content {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-adv .widget-title, .footer-adv .widget-title a {
    text-transform: uppercase;
    font-weight:  800;
}

.footer-adv-widget {
    font-size: .9rem;
}

#social {
    margin-bottom: 2rem;
}

#social li {
    display: inline-block;
}

i.fa {
    background-color: #f26a36;
    border-radius: 2rem;
    color: #d9e6dc;
    height: 2rem;
    line-height: 2rem;
    margin: auto 3px;
    width: 2rem;
    font-size: 1rem;
    text-align: center;
}

i.fa:hover {
    background-color: #fdb714;
}

ul.font-socialico li {
    display: inline;
    font-size: 3rem;
}

footer .ast-container {
    max-width: 100%!important;
    padding-left: 20px;
    padding-right: 20px;
}

.ast-header-break-point .main-navigation ul.sub-menu .menu-item .menu-link:before {
    content: "";
}


@media (max-width: 921px) {
    .ast-theme-transparent-header #masthead {
        position: relative!important;
    }
    .ast-header-break-point .main-navigation ul .menu-item .menu-link {
        color: #095641;
    }
    .ast-header-break-point .main-navigation ul .menu-item .menu-link:hover {
        color: #f26a36;
    }
}

@media screen and (max-width: 400px) {
    .site-footer {
        color: #fff;
        text-align: center;
    }
    .ast-row {
        display: flex;
        flex-direction: column;
    }
    .footer-adv-widget-2 {
        order: 2;
    }
    .footer-adv-widget-3 {
        order: 3;
    }
    .footer-adv-widget-4 {
        order: 1;
    }
}

@media screen and (min-width: 400px) {
    footer .ast-container {
        padding-left: 35px;
        padding-right: 35px;
    }
}

@media screen and (min-width: 922px) {
    .ast-theme-transparent-header #masthead {
        position: relative!important;
    }
}



.subtitlepage {
	color: #ffffff;
	text-align: center;
}

a:focus {
	color: #fff;
}

h1.entry-title {
	font-weight: 600;
	font-size: 40px !important;
}

.press-blog-posts li, .press-blog-posts li a:hover {
	color: #FDB714;
}

.press-blog-posts li, .press-blog-posts li {
	font-size: 20px;
}


section.at-inner {background-color:transparent;}
header.at-title {font-family: "Fjalla One", Sans-serif !important;
color: #4C7329 !important;}
.at fieldset legend {display:none;}
.at .btn-at-primary {
    background-color: #F26A36 !important;
    color: #095641 !important;
    font-weight: 700 !important;
}
.at .btn-at-primary:hover {
    background-color: #095641 !important;
    color: #F26A36 !important;
    font-weight: 700 !important;
}
.at .btn-at-primary:hover {
    color: #ffffff;
}

h3 {font-weight: 800 !important;}

h4 {font-weight: 600 !important;}

.ast-custom-button:hover {background-color: #095641 !important;}


/* Voter guide 2022 */
.elementor-element-87b6b07 section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    transition: opacity .5s ease-in-out;
    -moz-transition: opacity .5s ease-in-out;
    -webkit-transition: opacity .5s ease-in-out;
    padding-bottom: 2rem;
}

.elementor-element-87b6b07 section.show-ballot {
    opacity: 1;
}

.elementor-element-87b6b07 section div {
    flex: 1 0 50%;
}

.elementor-element-87b6b07 h2 {
    text-align: center;
    opacity: 0;
    transition: opacity .5s ease-in-out;
    -moz-transition: opacity .5s ease-in-out;
    -webkit-transition: opacity .5s ease-in-out;
}

.elementor-element-87b6b07 h2.show-ballot {
    opacity: 1;
    font-family: 'Barlow',sans-serif !important;
    font-weight: 600;
    font-size: 1.5em;
}

.elementor-element-87b6b07 h3 {
    padding: .25rem;
    text-align: center;
    font-family: 'Barlow',sans-serif;
    font-size: 1.8em;
    font-style: bold;
}

.elementor-element-87b6b07 h3.democrat {
    background-color: #B4D6E3;
}

.elementor-element-87b6b07 h3.republican {
    background-color: #E3B4B4;
}

.elementor-element-87b6b07 h3.other,
.elementor-element-87b6b07 h3.libertarian {
    background-color: #CEC3E6;
}

.elementor-element-af00bd6 #voter-filter--reset {
    display: none;
}

@media screen and (min-width:768px) {
    .elementor-element-87b6b07 section {
        flex-direction: row;
    }
}
