/*
Theme Name: Aitio Bags
Description: This is a custom child theme for Aitio Bags
Author: Christian Anttonen
Author URI:  https://www.linkedin.com/in/christiananttonen/
Template: assets
Version: 1.0
*/

/* Typography */

html,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-family: "Instrument Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "width" 100;
}

h1 {
    padding: 12px 0 64px;
    font-size: 3.4em;
}

h6 {
    font-weight: 600;
    line-height: 170%;
    letter-spacing: 1px;
}

h2 {
    font-size: 2.2em;
    padding: 4px 0 64px;
}

/* Header */

/* Main menu */

html,
body {
    background: #1c1c1c;
}

#et-top-navigation {
    float: left;
    transition: none !important;
    margin-left: 120px;
    padding-left: 0 !important;
}

nav#top-menu-nav {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
}

#et-top-navigation .et-cart-info {
    float: left;
    margin: -4px 0 0 32px;
    font-size: 15px;
}
#top-menu a,
#et-top-navigation .et-cart-info {
    color: #939292 !important;
}
#top-menu a:hover,
#et-top-navigation .et-cart-info:hover {
    color: white !important;
    transition: all 0.5s;
}

#top-menu li.current-menu-ancestor > a,
#top-menu li.current-menu-item > a,
#top-menu li.current_page_item > a {
    color: white !important;
}

/* Menu hover effect */

#et-top-navigation nav > ul > li > a {
    padding-bottom: 20px !important;
}
#top-menu-nav > ul > li > a {
    display: inline-block;
    position: relative;
    padding-bottom: 1px;
}

#top-menu-nav > ul > li > a:after {
    content: "";
    display: block;
    margin: auto;
    margin-top: 32px;
    margin-bottom: -20px;
    height: 1px;
    width: 0;
    background: transparent;
    transition:
        width 0.5s ease,
        background-color 0.5s ease;
}

#top-menu-nav > ul > li > a:hover:after,
#top-menu li.current-menu-item > a:after {
    width: 100%;
    background: white;
}

/* Homepage > Product */

button.single_add_to_cart_button.button.alt {
    width: 80%;
    cursor: pointer;
    transition: all 0.5s;
    margin-left: -16px;
}
button.single_add_to_cart_button.button.alt:hover {
    transition: all 0.5s;
}
.et_pb_wc_add_to_cart .quantity input.qty {
    height: 53px;
}

input#quantity_68c47a3dcb7ab {
    width: 93px !important;
    max-width: 99999px !important;
}
form.cart {
    margin: -16px !important;
}
.et_pb_wc_cart_totals_0_tb_body h2 {
    border-bottom: 0.5px solid #b2b2b2;
    padding: 12px;
}
tr.woocommerce-shipping-totals.shipping {
    display: none;
}

/* Checkout */

.checkout-page input {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px dashed #b2b2b2 !important;
    margin-top: 16px;
    margin-bottom: 4px;
}
.woocommerce .woocommerce-info {
    background: #303030;
    font-size: 12px !important;
    line-height: 150%;
}
ul.wc_payment_methods.payment_methods.methods {
    margin-bottom:;
}

.select2-selection {
    border: none !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
    background-color: #303030;
}
.select2-results__option {
    font-family: inherit;
    font-size: 14px;
    padding: 2px 8px;
}

.select2-results {
    display: block;
    padding: 8px;
    padding-bottom: 16px;
}
.checkout-page h3 {
    border-bottom: 0.5px solid #b2b2b2 !important;
    padding-bottom: 16px;
    margin-bottom: 32px;
}
.woocommerce .woocommerce-error {
    background-color: #303030;
    margin: -1px 17px;
}
.woocommerce-error a {
    color: white !important;
    font-size: 14px !important;
}
.checkout-inline-error-message {
    color: #9a1e1e !important;
    font-size: 12px;
}
button.button:disabled {
    font-size: inherit !important;
    border-radius: 0 !important;
}

header#main-header {
    background-color: #1c1c1c;
}

.mobile_menu_bar::before {
    color: white !important;
}

ul#mobile_menu.et_mobile_menu {
    background: #1c1c1c;
}

.et_mobile_menu li a,
.nav li li a {
    color: white !important;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.et_mobile_menu {
    border: none;
}

@media (max-width: 980px) {
    .et-cart-info {
        margin-top: 4px !important;
    }
    #et-top-navigation {
        float: right;
    }
}

label {
    color: #666;
}