/**
 * Theme Name: WPGlobus Avada
 * Author: WPGlobus
 * Author URI: https://wpglobus.com/
 * Description: WordPress theme for wpglobus.com
 * Template: Avada
 * Version: 0.0.1
 */

/**
 * Home page styling
 */

body.home #main {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

#wpg-home-hero {
    margin-bottom: 3em;
}

#wpg-home-hero h1 {
    color: white !important;
    padding: 2vw !important;
    font-size: 3vw !important;
    background: hsla(208, 42%, 53%, 0.7);
}

#wpg-home-hero .fusion-layout-column {
    margin: 0 !important;
}

#wpg-home-hero .fusion-title {
    margin-top: 2vw !important;
    margin-bottom: 2vw !important;
}

#wpg-home-boxes-general .fusion-content-boxes.content-boxes-icon-with-title .heading-with-icon {
    border-bottom: 2px solid hsl(201, 75%, 41%);
    padding-bottom: 1em;
}

#wpg-home-boxes-general div.content-container {
    padding-bottom: 1em;
    margin-bottom: 0;
    border-bottom: 1px dotted hsl(201, 75%, 41%);
}

@media only screen and (min-device-width: 1124px) {
    #wpg-home-boxes-general .content-container {
        min-height: 25em;
    }
}

@media only screen and (min-device-width: 769px) and (max-device-width: 1123px) {
    #wpg-home-boxes-general .content-container {
        min-height: 30em;
    }
}

@media only screen and (max-device-width: 768px) {
    #wpg-home-boxes-general .fusion-column {
        margin-top: 4em;
    }
}

/* Same height for products in loop */
ul.products h3.product-title {
    min-height: 3em;
}

/* Hide the current language in the switch */
.fusion-main-menu li.wpglobus-current-language {
    display: none;
}

.fusion-widget-cart-number {
    background-color: hsl(15, 74%, 48%) !important;
    color: hsl(0, 0%, 100%) !important;
}

#wpg-home-testimonials,
#wpg-home-testimonials a,
#wpg-home-testimonials .testimonial-thumbnail,
#wpg-home-testimonials .company-name,
#wpg-home-testimonials h1 {
    color: white !important;
}

#wpg-home-testimonials a {
    border-bottom: 1px dotted white !important;
}

/* WPGlobus tab on single product */
#tab-title-wpglobus_tab a {
    color: hsl(15, 74%, 48%);
    font-weight: 400;
    font-size: 1.2em;
}

#tab-title-wpglobus_tab a:before {
    content: "\f534";
    font-family: 'dashicons', fantasy;
    color: hsl(201, 75%, 41%);
    font-size: 1.3em;
    vertical-align: text-bottom;
    margin: 0 3px 0;
    line-height: 1em;
}

/*Fix the "API Keys" table row*/
tr.api-manager-domains > td:first-child {
    padding: 25px !important;
}

/*Make some links look like buttons*/
tr.api-manager-domains > td:first-child a,
td.api-manager-download a,
header.woocommerce-Address-title a.edit,
.subscription_details .button {
    border: 1px solid;
    padding: 2px 4px;
}

/*Hide the <hr> tags in the "Downloads" tab*/
td.api-manager-changelog hr,
td.api-manager-download hr {
    display: none;
}

/*Do not show "View Cart" on "My Account" pages.*/
.avada-myaccount-user .view-cart {
    display: none;
}

/*Minimize white space between gallery and tabs on Single Product page*/
.avada-single-product-gallery-wrapper {
    margin-bottom: 1em !important;
}

.woocommerce-tabs {
    padding-top: 1em !important;
}

/*Smaller Product Gallery thumbnails*/
.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
    width: 10% !important;
}

/*Do not wrap H1 in the title bar*/
.fusion-page-title-captions {
    width: auto;
}

/*Space between lines in sidebar lists*/
.fusion-content-widget-area .widget li {
    margin: 0 0 1em 0;
}

/*No underlines in sidebar menu*/
.fusion-widget-area .widget_nav_menu li {
    border-bottom: none;
    padding: 0 0 0 12px;
}

/*No italic font in the product titles in loop*/
.fusion-woo-product-design-clean .products .product-title, .fusion-woo-product-design-clean .slides .product-title {
    font-style: normal !important;
}

/*Change bg color of the "Sale" badge*/
.onsale {
    background-color: hsl(15, 74%, 48%) !important;
}

.fusion-read-more-button.fusion-content-box-button {
    float: none !important;
    margin: 18px auto !important;
    display: table !important;
}

/**
 * Underline links, except in specific areas.
 */
a {
    border-bottom: 1px dotted;
}

#wrapper > header a,
.fusion-breadcrumbs a,
.woocommerce-product-gallery a,
ul.social-share a,
.fusion-footer a,
#sidebar a,
h2 a,
.single-navigation a,
.fusion-social-networks a,
.fusion-content-boxes .heading a,
.product-thumbnail a,
.product-remove a {
    border-bottom: none;
}

/*Hilite monospace texts*/
code {
    color: hsl(199, 65%, 37%);
}

/*Style the "Zoom In" icon on single product image*/
.woocommerce-product-gallery .woocommerce-product-gallery__trigger:after {
    color: hsl(199, 65%, 37%) !important;
}

.woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    background-color: hsla(201, 64%, 72%, 0.1) !important;
}

/**
 * Post archive grid styling
 */
.fusion-blog-layout-grid .fusion-post-wrapper {
    background-color: hsl(200, 50%, 98%) !important;
}

/**
 * Megamenu styling
 */

/*No line break between icon and title in megamenu*/
.fusion-megamenu-title {
    white-space: nowrap;
    color: hsl(15, 74%, 48%) !important;
}

/**
 * Style Recently Updated posts on home page
 */
#wpg-home-news article {
    border-bottom: 1px dashed hsl(201, 75%, 41%);
    padding-bottom: 65px;
}

#wpg-home-news article h2 a {
    color: hsl(201, 75%, 41%) !important;
}

#wpg-home-news article h3 {
    color: hsl(15, 74%, 48%) !important;
}

#wpg-home-news article hr {
    border: 1px dotted hsl(201, 75%, 41%);
}

#wpg-home-news article hr {
    border-top-style: dashed;
    border-top-color: hsl(201, 75%, 41%);
    border-width: 1px 0 0 0;
    margin-top: 3em;
}

/*Align Stripe label on checkout*/
.woocommerce-checkout #payment .payment_method_stripe label[for=payment_method_stripe] {
    padding-left: 22px;
    padding-top: 2px;
}
