/*
 Theme Name:     Squawkfox-Avada
 Theme URI:      http://www.squawkfox.com
 Description:    Avada child theme for Squwakfox
 Author:         Squawkfox
 Template:       Avada
 Version:        1.0.29
*/
 
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed&family=Dancing+Script&display=swap');
@import url("../Avada/style.css");
 
/* Theme customization starts here
------------------------------------------------------- */

/*
 * Post heading stylings - override Avada > 'Post Title Typography'
 */

.fusion-blog-shortcode .fusion-blog-layout-grid .fusion-post-content-wrapper {
    padding: 0 !important;
}

/* Headings for medium layouts via shortcode (front page) 
 * Note - no space between classes is intentional; shared on same div
 *        different structure than grid layout! */
.fusion-blog-shortcode.fusion-blog-layout-medium h2 {
    font-size: 1.5em !important;
    margin-bottom: 0.5em;
}

 .fusion-blog-shortcode.fusion-blog-layout-large h2 {
    font-size: 2em !important;
    margin-bottom: 0.5em !important;
}


/* Headings for front-page sections (Hi I'm Kerry, Here are Some Logos, etc... */
.fusion-text h2 {
    font-size: 1.5em !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    margin-top: 0.25em !important;
    margin-bottom: 0.25em !important;
}

.fusion-archive-description {
    margin-bottom: 0 !important; /* Remove lower margin from the category description text which it inherits from .post */
}


 /*
  * Header 
  */


/* 
 * Push content down below header - transparent header otherwise overlaps everything.
 * See Avada -> Options -> Responsive for pixel widths
 */
@media (min-width: 800px) {
    #posts-container, /* Used for blog listing */
    section > article, /* Single article - but NOT post */
    .fusion-archive-description  
    {
        margin-top: 60px !important; /* - don't do this here for #content; it pushes the content that's below the slider image down as well. */
    }

    #sidebar {
        margin-top: 60px !important;
    }
}

@media (max-width: 799px) {
    #posts-container, 
    section > article,
    .fusion-archive-description  
    {
        margin-top: 50px !important; /* - don't do this here for #content; it pushes the content that's below the slider image down as well. */
    }

    .fusion-main-menu {
        display: none;  
    }

    .fusion-header {
        padding-top: 10px !important;
    }
}


/* Menu hover */
.fusion-main-menu ul li a:hover {
    text-decoration: underline !important; 
}


/* Dark page -- override menu colors */
.squawkfox-theme-dark .fusion-main-menu ul li a, /* Links in nav menu */
.squawkfox-theme-dark .fusion-flyout-menu-icons .fusion-icon::before /* Search Icon */
{
    color: #fff !important;
}

/* Search Icon, active */
.squawkfox-theme-dark .fusion-flyout-active .fusion-flyout-menu-icons .fusion-icon::before {
    color: #222 !important; 
}


.squawkfox-theme-dark .fusion-flyout-menu ul li a /* Links in flyout */
{
    color: #222 !important; /* Don't override flyout color */
}

/* Hamburger Menu */
.squawkfox-theme-dark .fusion-toggle-icon-line
{
    background-color: #fff !important;
}

/* Hamburger Menu - Active */
.squawkfox-theme-dark .fusion-flyout-active .fusion-toggle-icon-line
{
    background-color: #222 !important;
}


a.squawkfox-logo {
    font-family: Kanit !important;
    font-size: 28px;
    font-weight: 300 !important;
}

.squawkfox-theme-dark a.squawkfox-logo {
    color: #fff;
}

.logo-squawk {
    text-decoration: underline
}

.fusion-main-menu li.menu-item {
    padding-top: 15px;
    padding-bottom: 10px;
}

.fusion-main-menu > ul > li > a {
    font-weight: bold !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    letter-spacing: 0.15rem;
}

.fusion-flyout-menu-item-last {
    padding-bottom: 16px !important;
}



/* Flyout Menu - Overrides */

/* Menu (UL) inside the flyout - general styling for mobile & wide */
.fusion-header-has-flyout-menu .fusion-flyout-menu .fusion-menu,
.fusion-header-has-flyout-menu .fusion-flyout-menu .fusion-mobile-menu 
{
    text-align: left !important;
    margin-top: 60px !important; /* Bind to top, and push down a bit. */
}

/* non-mobile styling */
@media (min-width: 800px) {

    /* Flyout */
    .fusion-header-has-flyout-menu .fusion-flyout-menu-bg {
        width: 400px !important;
        left: auto !important; /* bind to right side */
        border-left: 2px solid #eee;
    }

    /* Menu (UL) inside the flyout - Shrink and bind to right side */
    .fusion-header-has-flyout-menu .fusion-flyout-menu .fusion-menu,
    .fusion-header-has-flyout-menu .fusion-flyout-menu .fusion-mobile-menu 
    {
        width: 400px !important;  /* match flyout width above */
        margin-left: auto !important; /* bind to right side */
        order: 2; 
        padding: 0 25px !important;
    }

    /* Big div that covers the entire UI - need to shrink and bind right so that user can interact with links */
    .fusion-header-has-flyout-menu .fusion-flyout-menu,
    .fusion-header-has-flyout-menu .fusion-flyout-search {
        width: 400px !important; /* match flyout width above */
        left: auto !important; /* bind to right side */
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    /* Hide top flyout menu items that are mirrored in the horizontal menu when not mobile. */
    .squawkfox-primary-menu {
        display: none !important;
        visibility: hidden !important;
    }
}

.fusion-header-has-flyout-menu .fusion-flyout-menu .fusion-menu li {
    padding: 10px 0 !important;
}

.squawkfox-menu-divider {
    width: 100%;
    padding: 11px 0 0 0 !important;
    margin: 0 0 12px 0 !important;
    border-bottom: 1px solid #222;
}

.fusion-header-has-flyout-menu .fusion-flyout-menu .squawkfox-primary-menu a,
.fusion-header-has-flyout-menu .fusion-flyout-menu .squawkfox-secondary-menu a {
    font-size: 1.5em !important;
    font-weight: 200 !important;
}

.fusion-header-has-flyout-menu .fusion-flyout-menu .squawkfox-tertiary-menu a {
    /* styling for lower "small" font menu in flyout */
}

.fusion-menu-description {
    display: none !important;
}

.menu-item-object-category {
    text-align: left !important;
}

/*
 * Sliders (used on front page, etc.)
 */

/* Anchor image to left side of screen - home page only! */
.home .tfs-slider .background-image,
#fusion-slider-5202 .tfs-slider .background-image, /* About */
#fusion-slider-5214 .tfs-slider .background-image /* Work with kerry */
{
   background-position: 0 0 !important;
}

/* Anchor image to left side of screen - home page only! */
#fusion-slider-5215 .tfs-slider .background-image /* Work with kerry */
{
   background-position: 50% 0 !important;
}


/*
 * As-Seen-On section in front page
 */

.as-seen-on img {
    height: 30px;
    padding: 0 15px;
    margin: 10px 0;
}

.as-seen-on img.bigger {
    height: 45px;
    margin-top: 2px;
}

.as-seen-on p {
    text-align: center;
}

.as-seen-on-carousel img {
    height: 50px !important;
}

/****** sectioned pages ******/
.dark-section {
    border-top: 5px solid #eb2727;
}


/* Make big buttons bigger */
.button-customlarge .button-xlarge {
    font-size: 24px !important;
    line-height: 1.2em !important;
}

/****** Tweaks for GravityForms subscription ******/
/* .squawkfox-subscribe-form is a div wrapping subscribe text plus the actual form shortcode. */
/* It's used in front page, sidebar, and footer. */

.squawkfox-subscribe-form {
    margin: 0; padding: 0;
    text-align: center;
}

/* General */
.squawkfox-subscribe-form img {
    display: inline;
}


/* Form element-specific */

.squawkfox-subscribe-form label {
    display: none;
}

.squawkfox-subscribe-form ul {
    margin: 0 auto;
}

.squawkfox-subscribe-form li {
    float: left;
    width: 47%;
}

.squawkfox-subscribe-form li:first-child {
    margin-right: 5%;
}

/* Text input boxes */
.squawkfox-subscribe-form .ginput_container input {
    height: 43px !important;
    border: 1px solid #999 !important;
    border-radius: 5px !important;
}

.squawkfox-subscribe-form .ginput_container input::placeholder {
    color: #333 !important;
    font-style: italic !important;
}

/* Hide honeypot validation container */
.gform_validation_container {
    display: none !important;
}

/* Subscribe button */
.squawkfox-subscribe-form .gform_footer {
    width: 100%;
    clear: none;
    text-align: left;
}

body .fusion-content-widget-area .button {
    margin-left: 0;
}

/* Small-screen styling */
@media screen and (max-device-width: 480px), (max-width: 480px) {
    .squawkfox-subscribe-form .gform_footer {
        clear: both;
        width: 100%;
    }

    .squawkfox-subscribe-form li {
        float: none;
        clear: both;
        width: 100%;
    }
}


/***** NEW POPUP *****/

/* wrappers for the form, not the popup content! */
.squawkfox-new-popup_wrapper {
    margin-top: 15px !important;
    margin-bottom: 0 !important;
    clear: both !important;
}

.squawkfox-new-popup .button {
    color: #fff !important;
    border-radius: 25px !important;
    font-weight: bold !important;
    font-family:Arial, Helvetica, sans-serif !important;
}

.squawkfox-new-popup .gfield_required {
    display: none !important;
}

.squawkfox-new-popup label {
    font-size: 80% !important;
}

.squawkfox-new-popup .ginput_container input {
    color: #000 !important;
}

.pum * {
    outline: 0 !important;
}

/* Desktop Hacks */
@media (min-width: 800px) {
    .squawkfox-mobile {
        display: none !important;
    }

    .squawkfox-desktop {
        
    }
}

/* Mobile Hacks */
@media (max-width: 799px) {
    .squawkfox-mobile {

    }

    .squawkfox-desktop {
        display: none !important;
    }
}


/*
 * Full-screen popup
 */

 /* Force popupmaker wrapper to go full height. Watch the theme name in class! */
.pum-theme-full-screen-1 .pum-content {
    height: 100% !important;
}

.squawkfox-popup-full {
    height: 100%;

    /* Diagonal stripe as background */
    background-image: url('images/popup-diagonal-background.png');
    background-position: 45% center;
    background-repeat: no-repeat;
    overflow: hidden !important;

    /* Inner layout */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Mobile - adjust background */
@media (max-width: 799px) {
    .squawkfox-popup-full {
        background-size: 4000px;
        font-size: 0.75em;
    }
}


/* Images for popups */

#popup-phone {
    background-image: url('images/squawkfox-phone.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
    position: absolute;
    filter: drop-shadow(4px 4px 10px #aaa);
}

#popup-ipad-bundle {
    background-image: url('images/budget-bundle-ipad.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
    position: absolute;
    filter: drop-shadow(4px 4px 10px #aaa);   
}

@media (min-width: 800px) {
    #popup-phone {
        top: 50%;
        left: 10%;
        height: 500px;
        width: 250px;
        transform: rotate(-8deg);
    }

    #popup-ipad-bundle {
        top: 60%;
        right: 62%;
        width: 500px;
        height: 375px;
        transform: rotate(-7deg);
    }
}

@media (max-width: 799px) {
    #popup-phone {
        bottom: -150px;
        left: 50%;
        height: 300px;
        width: 150px;
        transform: translate(-50%, 0); /* center origin horizontally so that 'left: 50%' works */
    }

    #popup-ipad-bundle {
        bottom: -65px;
        left: 50%;
        height: 188px;
        width: 250px;
        transform: translate(-50%, 0); /* center origin horizontally so that 'left: 50%' works */
    }
}

#popup-earbuds {
    background-image: url('images/earpods-transparent-notail.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
    position: absolute;
    width: 300px;
    height: 300px;
    transform: rotate(-90deg) scaleY(-1);
    top: -10px;
    right: -30px;
    filter: drop-shadow(-5px 5px 10px #bbb);
}

#popup-pencil-clips {
    background-image: url('images/budget-bundle-pencil-and-clips.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
    position: absolute;
    top: 10px; 
    right: 1%;
    width: 230px;
    height: 400px;
    filter: drop-shadow(4px 4px 10px #bbb);   
}

@media (min-width: 800px) {
    #popup-earbuds, #popup-pencil-clips {
        /* */
    }
}

@media (max-width: 799px) {
    #popup-earbuds, #popup-pencil-clips {
        display: none;
    }
}

/* content styling */
.squawkfox-popup-full {
    text-align: center;
    color: #333;
}

.squawkfox-popup-full p {
    margin: 0em;
}

.heading-text-1 {
    font-family: 'Dancing Script';
    font-size: 5em;
    margin-top: -0.125em !important;
}


.heading-text-2 {
    text-transform: uppercase;
    font-family: 'Barlow Condensed';
    font-size: 5em;
    line-height: 1;
}

/* Budget-bundle popup overrides */
.squawkfox-popup-budgetbundle .heading-text-1 {
    text-transform: uppercase;
    font-family: 'Barlow Condensed';
    font-size: 3.9em;
    line-height: 1.5;
}

.squawkfox-popup-budgetbundle .heading-text-2 {
    text-transform: none;
    font-family: 'Dancing Script';
    font-size: 6em;
    margin-top: 0;
    margin-bottom: 0.125em !important;
    text-decoration: underline #fff 2px;
}

.sub-text, .main-text {
    margin: 2em 0 0 0;
    line-height: 2;
}

.alt-text {
    margin: 2em 0 0 0;
    line-height: 1.5;
    font-size: 0.88em;
    color: #555;
}

@media (max-width: 799px) {
    .sub-text { 
        font-size: 1.25em;
    }
}

.squawkfox-popup-full a.button {
    display: block;
    margin: 2em 0;
}

.squawkfox-popup-full .link {
    font-style: italic;
    size: 0.75em !important;
    color: #777;
    display: block !important;
    text-align: center !important;
}

/* sign-up form styling */
#popup-actions-2 {
    width: 300px;
}

#popup-actions-2 label {
    display: none;
}

#popup-actions-2 input {
    margin: 0 0 5px 0;
    border: 1px solid #333 !important;
    padding: 20px 15px;
    background: none;
    font-size: 1em;
    font-family: "Barlow Condensed";
    text-transform: uppercase;
}

#popup-actions-2 input::placeholder {
    color: #777;
}

/* watch ID */
#input_5_2, #input_7_2 {
    width: 250px !important;
    float: left;
    height: 42px;
}

#popup-actions-2 input[type="submit"] {
    border-radius: 0 !important;
    border: 1px solid #333 !important;
    font-family: "Barlow Condensed" !important;
    color: #333 !important;
    text-transform: uppercase;

    background: no-repeat center center url('images/rightarrow-black.svg');
    background-size: 20px;

    float: left !important;
    width: 50px !important;
    height: 42px !important;
    margin-top: -1px;
    margin-left: -1px !important;
    padding: 0;
}

#popup-actions-2 input[type="submit"]:hover {
    background-color: #333 !important;
    background: no-repeat center center url('images/rightarrow-white.svg');
    background-size: 20px;
}

@media (max-width: 799px) {
    #popup-actions-2 input[type="submit"] {
        margin-top: 0px !important;
    }
}

/*
 * Global Button Styling (link-based)
 * Transparent background, turns dark or light on hover.
 */

.sf-button {
    border: 1px solid #333 !important;
    padding: 0.75em 2em;
    color: #333 !important;
    text-transform: uppercase;
    text-decoration: none !important;
    font-family: 'Barlow Condensed';
    font-size: 1.25em;
}

.sf-button:hover {
    background-color: #333;
    color: #fff !important;
}

.sf-button-light {
    border: 1px solid #fff;
    background-color: #fff;
    color: #333;
}

.sf-button-light:hover {
    background-color: #333;
    color: #fff;
}


/* 
 * Sidebar Styling
 */

 /* Hacks to keep the sidebar on the right edge */
 #main>.fusion-row {
    position: static !important;
 }

 #sidebar {
    position: absolute !important;
    right: 0 !important; 
 }

 #sidebar .widget {
     margin: 0 !important;
     clear: both;
 }

 /* Subscribe widget styling */
.sidebar-subscribe {
    top: 0;
    left: 0;
    
    background-color: #e6e6e6;
    position:relative;

    /* Inner layout */
    display: flex;
    flex-direction: column;
    align-items: left;
    padding: 6em 2em;
    overflow: hidden;
}

.sidebar-subscribe .heading-text {
    text-align: left;
    font-family: 'Barlow Condensed';
    text-transform: uppercase;
    font-size: 2em;
    margin: 0;
    overflow: hidden;
}

.sidebar-subscribe .subheading-text {
    text-transform: uppercase;
    font-size: 0.75em;
    text-align: left;
    margin: 0.5em 0;
}

.sidebar-subscribe .button-container {
    margin-top: 2em;
}

.sidebar-subscribe .earpods {
    position: absolute;
    top: -40px;
    right: 0;
    width: 210px;
    height: 210px;

    background-image: url('images/earpods-transparent-notail.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
    filter: drop-shadow(5px 5px 10px #888);
    transform: rotate(-40deg);
}

.sidebar-subscribe .iphone-container {
    position: absolute;
    height: 300px;
    width: 150px;
    background-image: url('images/squawkfox-phone.png');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100%;
    filter: drop-shadow(5px 5px 10px #bbb);

    right: 30px;
    bottom: -135px;

    /* JS adds .hover class with this transition. see squawkfox.js */
    transition: bottom 1s; 
}

.sidebar-subscribe .iphone-container.hover {
    bottom: -110px;
}

.sidebar-subscribe .sf-button {
    font-size: 1em !important;
    text-decoration: none !important;
}

#sidebar .widget_nav_menu {
    background-color: #e3f2fd !important;
    padding: 45px 30px;
}

#sidebar .widget_nav_menu h4 {
    text-align: center;
    font-family: 'Rubik';
    text-transform: uppercase;
    font-size: 0.75em;
    font-weight: normal;
    margin: 0 10em;
    padding: 8px 0;
    overflow: hidden;
    border-top: 0.5px solid #666;
}

#sidebar .widget_nav_menu ul {
    list-style: none !important;
}

#sidebar .widget_nav_menu li {
    /* Add own counter to allow more flexibilty vs. list styles */
    counter-increment: menu-counter;
}

/* Override mysterious :first-child added by avada... */
#sidebar .widget_nav_menu li,
#sidebar .widget_nav_menu li:first-child {
    display: list-item;
    padding: 15px 25px !important;
    border: none !important;
}

/* List counter numbers */
#sidebar .widget_nav_menu li a:before {
    content: counter(menu-counter);
    font-size: 2.25em;
    width: 1.5em;
    display: block;
    position: absolute;
    top: 0.33em;
    left: 1em;
    font-family: Taviraj, 'Times New Roman', Times, serif;
    font-style: oblique;
    font-weight: 200;
    text-decoration: underline;
    display: block;
}

/* List links */
#sidebar .widget_nav_menu li a {
    margin-left: 2.5em;
    font-size: 0.8em;
    display: block;
    min-height: 2.5em;
}

.fusion-social-networks {
    padding-top: 2em;
}

/***** Custom AWeber Signup Shortcode *****/
/* TODO: is this dead code? */

.squawkfox-landing {
    margin-top: 20px !important;
}

.squawkfox-landing label {
    display: none;
}

.squawkfox-landing .ginput_container input {
    height: 43px !important;
    border: 1px solid #999 !important;
    border-radius: 3px !important;
}

.squawkfox-landing .ginput_container input::placeholder {
    color: #333 !important;
}

.squawkfox-landing .ginput_container {
    float: left !important;
    margin-bottom: 20px !important;
    margin-right: 15px !important;
    width: 33% !important;
}

.squawkfox-landing .button {
    background-color: #3f92ec !important;
    font-weight: bold !important;
    color: #fff !important;
}

.squawkfox-landing .validation_error {
    color: red !important;
}

/****** Calculators/Tools ******/

.calculator table {
    width: 100%;    
}

.calculator th {
    text-align: left;
    padding-right: 20px;
}

.calculator td {
    padding: 5px 0;
}

.calculator table a {
    text-decoration: underline;
}

.calculator input[type='text'], .calculator select {
    color: #333 !important;
    width: auto !important;
}

.calculator button, .calculator input[type='button'] {
    background-color: #333;
    color: #fff !important;
    font-size: 1em;
    font-weight: bold;
    padding: 5px 8px;
    box-shadow: none;
    cursor: pointer;
    text-transform: uppercase;
}

.calculator p {
    margin: 1em 0;
}


/*
 * Blog Archive and Categories Grid Layout 
 */

/* Structure is:
 * article.fusion-post-grid
 *      .fusion-post-wrapper
 *          .fusion-flexslider (images container)
 *          .fusion-post-content-wrapper
 *              .fusion-post-content
 *                  .squawkfox-categories
 *                  h2.fusion-post-title
 *                  .squawkfox-author
 *                  .fusion-post-content-container
 */

 article.fusion-post-grid {
    padding-bottom: 0 !important;
}

/* Wrap for grid box (whole thing). */
article.fusion-post-grid .fusion-post-wrapper {
    border: none !important;
}

/* Wrap for the images section in grid box. */
article.fusion-post-grid .fusion-flexslider {
    border: none !important;
    border-bottom: 1px solid #ddd !important;
}

article.fusion-post-grid .fusion-post-content {
    display: flex !important;
    flex-direction: column;
}

/* Font-size for titles. Override Avada > 'Post Title Typography' */
article.fusion-post-grid h2 {
    font-size: 1.25em !important;
    font-weight: normal !important;
    margin: 5px 0 !important;
    order: 2 !important; /* Flex reordering */
}

article.fusion-post-grid .fusion-single-line-meta {
    font-size: 0.8em !important;
}

/* Category styling */
article.fusion-post-grid .squawkfox-categories {
    font-size: 0.8em !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    margin: 5px 0 0 0 !important;
    order: 1 !important; /* Flex reordering */
}

article.fusion-post-grid .squawkfox-categories a {
    text-decoration: none !important;
    color: #333 !important;
}

article.fusion-post-grid .squawkfox-categories a {
    text-decoration: none !important;
}

article.fusion-post-grid .squawkfox-categories a:hover {
    text-decoration: underline !important;
}

/* Byline styling */
article.fusion-post-grid .squawkfox-author {
    font-size: 0.8em;
    font-style: normal !important;
    font-family: Taviraj,Times,serif !important;
    margin: 0 0 15px 0 !important;
    order: 3 !important; /* Flex reordering */
}

/* Avada generates this as empty, but it still has volume */
article.fusion-post-grid .fusion-post-content-container {
    display: none !important;
}



/****** Misc tweaks ******/

/* Hide sidebar on mobile - completely. */
@media (max-width: 799px) {
    #sidebar {
        display: none;
    }
}


/*
 * Dropcaps!
 * Usage <span class='sfdropcap'>T</span>his is the beginning...
 */
.sfdropcap {
    font-family: Taviraj;
    font-weight: normal;
    float: left;
    font-size: 4.5em;
    line-height: 1;
    padding: 0.25em 0.4em;
    margin: 0 0.25em 0 0;;
    color: #333;
    background-color: #e3f2fd;
}



/* Hide dates in sidebar */
.fusion-tabs-widget .fusion-meta {
    display: none;
}

/*
 * Related Posts (below post body) 
 */

/* Hide meta in related posts */
.related-posts .fusion-carousel-meta {
    display: none;
}

/* Decrease font-size for related-posts titles 
 * This is an h4, based off of the in-post h4 styling*/
.related-posts .fusion-carousel-title {
    font-size: 1em !important;
    text-align: center !important;
    font-weight: normal !important;
}

/* 
 * Fix link styling 
 */

.post-content a {
    text-decoration: underline !important;
    color: #246fc8;
}

.post-content a.fusion-button {
    text-decoration: none !important;
}

.post-content a:hover {
    color: #6a71bb;
    text-decoration: none !important;
    transition: all .15s ease-in-out !important;
}

/* Remove underline for links in an H2 (i.e. front page blog boxes, etc. */
.post-content h2 a {
    text-decoration: none !important;
}

/* No underlines in links that are buttons */
.post-content .button-customlarge a,
.post-content .fusion-social-networks a {
    text-decoration: none !important;
}


/* Menu in footer */
footer li.menu-item {
    border: none !important;
    text-transform: uppercase !important;
    text-align: right;
}

footer li.menu-item a:before {
    content: none !important;
}

/* Headings in footer - need to override widget styles */
footer h3 {
    margin-top: 0 !important;
    color: #333 !important;
    font-size: 1em !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    text-align: center !important;
}

footer .textwidget p {
    text-align: center !important;
}

blockquote.squawkstyle {
    display: block;
    border: none;
    border-width: 2px 0;
    border-style: solid;
    border-color: #eee !important;
    padding: 1.5em 0 0.5em;
    margin: 2em 1em;
    padding: 1.25em 0.5em;
    position: relative;
    text-align: center;
    font-size: 1.5em;
    font-style: italic;
    background: none;
}

blockquote.squawkstyle footer {
    font-size: 0.75em;
}

blockquote.squawkstyle:before {
    content: '\201C';
    position: absolute;
    top: -0.25em;
    left: 50%;
    transform: translate(-50%, -00%);
    background: #fff;
    width: 4rem;
    height: 3rem;
    font: 6em/1.08em 'PT Sans', sans-serif;
    color: #666;
    text-align: center;
}

blockquote.squawkstyle:after {
    content: '\201D';
    position: absolute;
    bottom: 0.11em;
    left: 50%;
    transform: translate(-50%, 75%);
    background: #fff;
    width: 4rem;
    height: 4rem;
    font: 6em/1.08em 'PT Sans', sans-serif;
    color: #666;
    text-align: center;
}


/* 
 * Avada 'recent posts' element placed on front page
 * set in Avada under element options > "CSS Class".
 * Wraps entire listing of posts with a single div of this class
 */
.squawkfox-avada-recentposts-element h4 {
    font-size: 2em !important;
    font-weight: 400 !important;
    margin-bottom: 15px !important;
    margin-top: 20px !important;
    line-height: 1.3em;
}

.squawkfox-avada-recentposts-element a {
    color: #222 !important;
    text-decoration: none !important;
}

.squawkfox-avada-recentposts-element a:hover {
    color: #246fc8 !important;
    text-decoration: none !important;
    transition: all .15s ease-in-out !important;
}

.squawkfox-avada-recentposts-element p {
    line-height: 1.75em;
}

.squawkfox-avada-recentposts-element article {
    padding-right: 30px !important;
    margin-bottom: 2em !important;
}


/*
 * Newsletter custom post type - shortcode archive list
 */

 .newsletter-archive {     

}

/* Year-section container */
.section-year {
    margin: 2em 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

/* Breakpoint: wrap lists below their year headings */
@media only screen and (max-width: 800px) {
    .section-year {
        flex-wrap: wrap;
    }

    .section-year h2 { }
}

/* Year label */
.section-year h2 {
    margin: 0 2em 1em 0 !important;
    font-size: 1.5em;
    color: #666;
    min-width: 3em;
    line-height: 1em;
}

/* Listing for year  -- container for rows*/
.newsletter-archive ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.newsletter-archive a {
    text-decoration: none !important;
}

.newsletter-archive li {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin: 0 0 1em 0;
}

/* Breakpoint: wrap titles below their dates */
@media only screen and (max-width: 700px) {
    .newsletter-archive li  {
        flex-wrap: wrap;
    }
    .newsletter-archive .date {
        width: 100%;
    }
}

.newsletter-archive .link {
    margin-bottom: 0.25em;
}

.newsletter-archive .date {
    min-width: 5em;
    margin: 0 0 0.25em 0;
    text-transform: uppercase;
    color: #333;
    xfont-size: 0.85em;
    xtext-decoration: underline;
}

.newsletter-archive .subtitle {
    font-size: 0.9em;
    color: #444;
    font-style: italic;
}


