/*
Theme Name: TaxNetUSA - Astra child theme
Author: Luke Weese
Author URI: https://www.taxnetusa.com
Description: TaxNetUSA child theme for Astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: taxnetusa-astra-child-theme
Template: astra
*/

body {
    /* --wp--style--block-gap: 1.5em; */
    --wp--style--block-gap: unset;
}

a, a:focus, a:hover, a:visited {
	text-decoration: underline;
}

.ast-small-footer a:hover {
    color: #FFF !important;
}

/* Custom classes */
.hide,
.main-header-menu .menu-item.tn-signed-in-show,
.tn-signed-in .main-header-menu .menu-item.tn-signed-in-hide {
    display: none;
}

.tn-signed-in .main-header-menu .menu-item.tn-signed-in-show {
    display: initial;
}

.pos-abs {
    position: absolute;
}
.pos-rel {
    position: relative;
}
.right-0 {
    right: 0;
}
.bottom-0 {
    bottom: 0;
}
.bottom--1 {
    bottom: -1em;
}

/* Fix column styles */
.wp-block-column:not(:first-child) {
	margin-left: 0;
}
.wp-block-column {
    margin: 0 1rem;
}
@media only screen and (max-width: 976px) {
    .wp-block-column {
        margin: 0;
        margin-bottom: 40px;
    }
    .wp-block-columns {
        margin-bottom: 0;
    }
}

/* Theme overrides */
.ast-page-builder-template.ast-no-sidebar .entry-content .alignwide {
/*	margin-left: 60px !important;
	margin-right: 60px !important;
*/
    margin: 60px !important;
    max-width: unset;
}
@media only screen and (max-width: 976px) {
    .ast-page-builder-template.ast-no-sidebar .entry-content .alignwide {
        margin-left: 20px !important;
        margin-right: 20px !important;
    }
    .uagb-ifb-image-content > img {
        width: 100% !important;
        max-width: auto;
    }
}

/* Menu a bit too wide for 1024 screens */
@media screen and (max-width: 1280px) {
    .main-header-menu .menu-link {
        padding: 0 0.5em;
    }
    .main-header-bar .main-header-bar-navigation .menu-item-has-children>.menu-link:after {
        margin-left: 4px;
    }
}


.has-tn-dark-background-color {
    background-color: #0A0908 !important;
}
.has-tn-dark-color {
    color: #0A0908 !important;
}
.has-tn-blue-background-color {
    background-color: #5D737E !important;
}
.has-tn-blue-color {
    color: #5D737E !important;
}
.has-tn-red-background-color {
    background-color: #8A3324 !important;
}
.has-tn-red-color {
    color: #8A3324 !important;
}
.has-tn-bright-background-color {
    background-color: #EAF2EF !important;
}
.has-tn-bright-color {
    color: #EAF2EF !important;
}
.has-tn-beige-background-color {
    background-color: #D6D5C9 !important;
}
.has-tn-beige-color {
    color: #D6D5C9 !important;
}
.has-tn-success-background-color {
    background-color: #95BF8F !important;
}
.has-tn-success-color {
    color: #95BF8F !important;
}
.has-tn-warn-background-color {
    background-color: #FFE433 !important;
}
.has-tn-warn-color {
    color: #FFE433 !important;
}

.border-primary {
    border: 2px solid #0A0908;
}

/* Infusionsoft form styles */
.infusion-field label {
    display: none;
}
input.infusion-field-input {
    min-width: 240px;
    margin-bottom: 8px;
}

/* Home page solution chooser styles */
.solution_chooser .row {
    display: flex;
    justify-content: center;
    align-items: center;
}
.solution_chooser a {
    background-color: transparent;
    border-radius: 100%;
    height: 120px;
    width: 120px;
    margin: 40px;
    text-align: center;
    justify-content: center;
    align-items: center;
    transition: 200ms;
    font-weight: 800;
    font-size: 1.6rem;
    text-decoration: none;
    color: #0A0908;
}
.solution_chooser a:hover {
    height: 160px;
    width: 160px;
    margin: 20px;
    font-size: 2rem;
}
.solution_chooser a .label {
    white-space: nowrap;
    display: block;

}

/* Sticky block css overrides */
.sticky-block-wrapper .wp-block-columns,
.sticky-block-wrapper .wp-block-column,
.sticky-block-wrapper h3,
.sticky-block-wrapper .wp-block-button {
    margin-bottom: 0;
}


/* About us - our team page */
.the-team blockquote {
    font-weight: 500;
    border: none;
    font-size: 14px;
    padding-top: 4px;
    padding-left: 54px;
    margin-top: 8px;
}
.the-team blockquote:before {
    display: block;
    content: "\201C";
    font-size: 80px;
    position: absolute;
    left: -5px;
    top: -40px;
    color: #5D737E;
    font-family: 'OPTICaslonFive';
}
@media only screen and (max-width: 976px) {
    .the-team blockquote {
        margin-left: 1.5em;
    }
}

.the-team-header {
    background-position: 0% 25% !important;
}

/* Astra Mega-menu overrides */
.ast-desktop .submenu-with-border .astra-full-megamenu-wrapper {
    border: none;
    padding-top: 1em;
}

.block-footer a,
 .site-footer a {
    text-decoration: none;
}
.block-footer h4 a,
 .site-footer h4 a {
    font-weight: bold;
    color: #FFF;
}
.block-footer a:focus, .block-footer a:hover,
 .site-footer a:focus,  .site-footer a:hover {
    text-decoration: underline;
}

/* Outline button padding fix caused by 5.8 upgrade */
.wp-block-button .wp-block-button__link, .is-style-outline>.wp-block-button__link, .wp-block-button__link.is-style-outline {
    padding: 14px 25px !important;
}
