/*-------------- RESET ------------------------ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
}

h4 {
    line-height: 2rem;
}

p {
    font-size: 1rem;
    line-height: 1.25rem;
    font-family: 'Roboto', sans-serif;
}

li {
    font-family: 'Roboto', sans-serif;
}

a {
    font-size: 0.875rem;
    font-family: 'Roboto', sans-serif;
    color: rgba(0, 0, 0, 0.5);
}

a:hover {
    cursor: pointer;
}

a:hover, a.active {
    color: #ED1A2F;
}

.text-color-gray {
    color: #E9E9E9;
}

.text-color-red {
    color: #ED1A2F;
}

.heading {
    margin-top: 5rem;
    margin-bottom: 3rem;
    font-size: 2.125rem;
}

.text-transform-none {
    text-transform: none;
}

.read-more {
    width: 150px;
    position: relative;
}

.read-more::after {
    content: '';
    position: absolute;
    background: url(../images/icon/icon-arrow-right.svg);
    width: 9px;
    height: 18px;
    right: 16px;
    top: 3px;
}

.background-lighter-gray {
    background: #E9E9E9;
}

.btn {
    font-size: 1.25rem;
}

.text-black-87 {
    color: rgba(0, 0, 0, 0.87);
}

/*-------------- END RESET ------------------------ */

/*-------------- #WRAPPER ------------------------ */
body {
    background: rgba(255, 255, 255, 1);
}

#wrapper, #footer #main-content {
    max-width: 1200px;
}

#header {
    height: 100px;
}   

#header #main-nav li {
    margin-left: 50px;
}

#header #main-nav li:first-child {
    margin-left: 0;
}

#header #main-nav li:last-child a {
    margin-left: 50px;
}

#header #main-nav li a {
    text-transform: uppercase;
}

#header #btn-login {
    font-family: 'Montserrat', sans-serif;
}

#banner h1 {
    font-size: 2.625rem;
}

#main-product-tab {
    border: 1px solid #E9E9E9;
    border-bottom: 0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    overflow: hidden;
}

#main-product-tab .nav-link {
    border: 0;
    text-transform: uppercase;
}

#main-product-tab .nav-link:hover, #main-product-tab .nav-link.active {
    border-bottom: 3px solid #ED1A2F;
    color: #ED1A2F;
}

#payment-tab {
    border-bottom: 0;
    margin-bottom: -2px;
}

#payment-tab .nav-item.show .nav-link,
#payment-tab .nav-link.active,
#payment-tab .nav-link:hover {
    background-color: #E9E9E9;
    border: unset;
}

#payment-tab .nav-link h4 {
    color: rgba(0, 0, 0, 0.87);
}

#payment-tab .nav-link span.read-more {
    color: rgba(0, 0, 0, 0.38);
}

#payment-tab .nav-link.active span.read-more {
    text-indent: -9999px;
}

#payment-tab .nav-link.active span.read-more::after {
    content: unset;
}

#payment-tab-content .detail {
    background-color: #E9E9E9;
}

#payment-tab-content .table-bordered,
#payment-tab-content .table-bordered td,
#payment-tab-content .table-bordered th {
    border: 2px solid #000;
}

#payment-tab-content .table-bordered td h5,
#payment-tab-content .table-bordered th h5 {
    text-transform: none;
    margin-bottom: 0;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    color: rgba(0, 0, 0, 0.87);
}

#payment-tab-content .note {
    padding: 1.5rem;
}

.qaqs-row {
    margin-bottom: 64px;
}

.question-qaqs {
    margin-left: 2rem;
}

.question-qaqs .item {
    margin-bottom: 1rem;
}

.question-qaqs .item .header a {
    position: relative;
}

.question-qaqs .item .header a::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 6px;
    background: url(../images/icon/icon-sub.svg) center center;
    top: 8px;
    left: -2rem;
}

.question-qaqs .item .header a.collapsed::before {
    content: '';
    position: absolute;
    background: url(../images/icon/icon-plus.svg) center center;
    width: 16px;
    height: 16px;
    top: 2px;
}

.question-qaqs .item .content {
    color: rgba(0, 0, 0, 0.5);
}

#footer {
    background: #000;
}

#footer .copyright {
    color: #fff;
}

#pre-footer {
    background: #E9E9E9;
}

#pre-footer #address .nav-item {
    padding-left: 2rem;
    margin-bottom: .5rem;
    position: relative;
    color: rgba(0, 0, 0, 0.5);
}

#pre-footer #address .location::before {
    content: '';
    position: absolute;
    background: url(../images/icon/icon-location.svg) center center;
    width: 19px;
    height: 19px;
    top: 2px;
    left: 0;
}

#pre-footer #address .email::before {
    content: '';
    position: absolute;
    background: url(../images/icon/icon-mail.svg) center center;
    width: 19px;
    height: 19px;
    top: 2px;
    left: 0;
}

#pre-footer #address .phone::before {
    content: '';
    position: absolute;
    background: url(../images/icon/icon-phone.svg) center center;
    width: 19px;
    height: 19px;
    top: 2px;
    left: 0;
}

#pre-footer #qcode .nav-item {
    color: rgba(0, 0, 0, 0.5);
}

#pre-footer #main-content {
    max-width: 1200px;
}

.qaqs-row .item .header a {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

#payment-tab a.nav-link:hover h4,
#payment-tab a.nav-link:hover span {
    color: #ED1A2F;
}

/*-------------- END #WRAPPER ------------------------ */
@media screen and (max-width: 1200px) {
    #pre-footer #main-content,
    #footer #main-content {
        max-width: calc(100% - 30px);
    }
}

@media screen and (max-width: 1100px) {
    #header #main-nav li {
        margin-left: 30px;
    }
    
    #header #main-nav li:last-child a {
        margin-left: 0;
    }
}

@media screen and (max-width: 950px) {
    #header #main-nav li {
        margin-left: 10px;
    }
}

@media screen and (max-width: 860px) {
    #header #main-nav li {
        margin-left: 0;
    }

    #header #main-nav li {
        display: none;
    }

    #header #main-nav li:last-child {
        display: block;
    }
}



@media screen and (max-width: 767px) {
    #header #btn-login {
        font-size: 1.125rem;
    }

    #main-product-tab {
        overflow-x: scroll;
        max-width: 200%;
    }

    #main-product-tab .nav.nav-tabs  {
        width: 200%;
    }

    .payment-tab .item {
        margin-bottom: 3rem;
    }

    .payment-tab .item-content {
        background-color: #E9E9E9;
        border: unset;
        text-align: center;
        padding: 1rem 0;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }

    .payment-tab .item-content a:not(.collapsed) span.read-more {
        text-indent: -9999px;
    }

    .payment-tab .item-content a:not(.collapsed) span.read-more::after {
        content: unset;
    }

    .payment-tab .item-content h4 {
        color: rgba(0, 0, 0, 0.87);
    }

    .payment-tab .item-content .read-more {
        color: rgba(0, 0, 0, 0.38);
    }

    .payment-tab .item .detail {
        background-color: #E9E9E9;
    }

    .payment-tab .item .note {
        padding: 1.5rem;
    }

    .payment-tab table td h5 {
        font-size: 1rem;
    }

    #pre-footer #qcode .nav-item {
        width: 100%;
        text-align: center;
    }

    .heading {
        margin-top: 0;
        margin-bottom: 0;
        font-size: 2.125rem;
    }

    .qaqs-row h4 {
        color: rgba(0, 0, 0, 0.87);
    }

    .detail.table-responsive table {
        width: 250%;
    }
    
}
