/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Child theme ofr the astra theme
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: astra-child
Template: astra
*/

/* Top Bar */
.top-header-bar {
    background-color: white;
}

.top-header-bar ul {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
}

.top-header-bar ul li a {
    color: #4e5768;
    padding: 0 15px;
}

@media (max-width: 921px) {
.top-header-bar ul {
    justify-content: center;
}
}

.ast-theme-transparent-header .top-header-bar {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 99;
    background: rgba(0,0,0,0.2);
}

.ast-theme-transparent-header .top-header-bar ul li a {
    color: white;
}

.top-header-bar ul li.current-menu-item > a {
    color: #75c32c;
}

.ast-theme-transparent-header .top-header-bar ~ #masthead {
    top: 27px;
}

@media (max-width: 768px) {
.ast-theme-transparent-header .top-header-bar {
    background: white;
}

.ast-theme-transparent-header .top-header-bar ul li a {
    color: #1a1a1a;
}
}

/* Header */
@media (max-width: 921px) {
.ast-header-break-point .site-header .site-branding {
    padding-bottom: 0;
}

.site-header .site-branding .site-logo-img {
    padding-right: 0;
}

.site-header .ast-mobile-menu-buttons {
    position: absolute;
    top: 1px;
    left: 0;
}

.site-header .ast-mobile-menu-buttons .menu-toggle {
    background: transparent;
    color: white;
    font-size: 1.8em;
}

.main-header-bar .main-header-bar-navigation.toggle-on {
    padding-top: 0;
}
}

@media (max-width: 768px) {
.site-header .ast-mobile-menu-buttons .menu-toggle {
    color: #1a1a1a;
}
}

@media (max-width: 544px) {
.site-header .ast-mobile-menu-buttons {
    width: auto !important;
    padding-top: 0 !important;
    top: -1px;
}
}

/* Single Product */
.woocommerce div.product form.cart .button.single_add_to_cart_button {
    padding: 13px 26px;
    margin-left: 10px;
}

@media (max-width: 768px) {
.woocommerce div.product form.cart .button.single_add_to_cart_button {
    padding: 12px 26px;
}
}

/* Cart */
.ast-theme-transparent-header .ast-masthead-custom-menu-items, .ast-theme-transparent-header .ast-masthead-custom-menu-items a {
    color: #4e5768;
}

.woocommerce-cart .woocommerce-cart-form .product-remove {
    width: 50px;
}

.woocommerce-cart .woocommerce-cart-form .product-remove label {
    width: 18px;
    height: 18px;
}

.woocommerce-cart .woocommerce-cart-form td.product-remove {
    text-align: left;
}

.woocommerce-cart .woocommerce-cart-form td.product-remove .msbn-cb, .woocommerce-cart .woocommerce-cart-form td.product-remove a.remove {
    vertical-align: middle;
}

.woocommerce-cart .woocommerce-cart-form td.product-remove a.remove {
    width: 18px;
    height: 18px;
    line-height: 14px;
}

.woocommerce-cart .woocommerce-cart-form td.actions button.button {
    padding: 10px 40px;
}

.woocommerce-cart .woocommerce-cart-form td.actions button.button[disabled]:hover {
    background-color: #75c22c;
    border-color: #75c32c;
}

@media (max-width: 768px) {
.woocommerce-cart .woocommerce-cart-form .product-remove {
    width: auto;
}

.woocommerce-cart .woocommerce-cart-form td.product-remove a.remove {
    margin-left: 15px;
}
}

@media (max-width: 544px) {
.woocommerce-cart .woocommerce-cart-form td.actions button.button {
    margin-left: 0 !important;
}

.woocommerce-cart .woocommerce-cart-form td.actions .coupon input {
    margin-right: 15px !important;
}
}

/* Mshop Address */
a.ms-open-popup-link, input[type=button].ms-open-popup-link {
    padding: 12px 14px;
    margin-left: 5px;
}

/* Account */
.woocommerce-account table.my_account_orders tr td:last-child {
    border-right: none;
}

.woocommerce-account.ast-separate-container .ast-article-single {
    padding: 3.36em 3.8em;
}

.woocommerce-account table.my_account_orders .button {
    padding: 8px 26px;
    margin-right: 5px;
}

.woocommerce-account table.my_account_orders .button:last-child {
    margin-right: 0;
}

@media (max-width: 768px) {
.woocommerce-account table.my_account_orders {
    border: none;
    margin-top: 50px;
}

.woocommerce-account table.my_account_orders tr {
    border: 1px solid #ebebeb;
    margin-bottom: 35px;
}

.woocommerce-account table.my_account_orders tr td {
    border-right: none;
}

.woocommerce-account table.my_account_orders tr td:first-child {
    border-top: none;
}    
}

@media (max-width: 544px) {
.woocommerce-account.ast-separate-container .ast-article-single {
    padding: 1.8em 2.1em;
}
}

/* Checkout Order Pay */
.woocommerce-order-pay table.shop_table tr th, .woocommerce-order-pay table.shop_table tr td {
    border-top: none;
}

.woocommerce-order-pay table.shop_table tfoot tr:last-child th, .woocommerce-order-pay table.shop_table tfoot tr:last-child td {
    border-bottom: 0;
}

.woocommerce-order-pay table.shop_table tbody tr td:last-child, .woocommerce-order-pay table.shop_table tfoot tr td {
    border-right: 0;
}

.woocommerce-order-pay table.shop_table tbody tr td, .woocommerce-order-pay table.shop_table tfoot tr td {
    padding-left: 12px !important;
}