/*!
Author:             Akina Technology
Author URI:         https://akinatech.com
Version:            3.0
License:            GNU General Public License v2 or later
License URI:        http://www.gnu.org/licenses/gpl-2.0.html

This Template, is licensed under the GPL.

FontAwesome License: SIL Open Font License - http://scripts.sil.org/OFL
Images License: GNU General Public License v2 or later
*/

body.overflow-hidden {
    /* prevent 2 vertical scrollbars on ie and firefox when the cart is visible */
    overflow: hidden;
}

#cd-cart ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.cd-img-replace {
    /* replace text with a background-image */
    display: inline-block;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
}

.cd-menu {
    display: none;
}

.cd-header {
    position: fixed;
    top: 0;
    left: 0;
    height: 50px;
    width: 100%;
    background: rgb(38, 41, 47);
    text-align: center;
    z-index: 999999999999;
}

#main-nav ul {
    margin: 0;
}

#main-nav li {
    list-style: none;
    margin-left: 0;
}

@media only screen and (min-width: 1200px) {
    .cd-header {
        height: 60px;
    }
}

#logo {
    /* delete this property if you don't want your logo to scale down on mobile devices */
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
    margin: auto;
}

@media only screen and (min-width: 1200px) {
    #logo {
        padding-top: 5px;
        position: absolute;
        /* logo left margin on Dekstop */
        left: 2.4em;
        top: 0;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}

#cd-hamburger-menu, #cd-cart-trigger {
    position: absolute;
    top: 0;
    height: 100%;
}

#cd-hamburger-menu a, #cd-cart-trigger a {
    width: 60px;
    height: 100%;
}

#cd-hamburger-menu {
    left: 0;
    border-right: 1px solid #FFF
}

#cd-hamburger-menu a {
    background: #26292f url("/assets/images/cd-hamburger-menu.svg") no-repeat center center;
}

@media only screen and (min-width: 1200px) {
    #cd-hamburger-menu {
        display: none;
    }
}

#cd-cart-trigger {
    right: 0;
    border-left: 1px solid #FFF
}

#cd-cart-trigger a {
    background: #26292f url("/assets/images/cd-cart.svg") no-repeat center center;
}

@media only screen and (min-width: 1200px) {
    #cd-cart-trigger {
        /* cart right margin on desktop */
        right: 0;
    }

    #cd-cart-trigger a {
        position: relative;
        width: 100px;
        border-left: none;
    }
}

#main-nav, #cd-cart {
    position: fixed;
    top: 0;
    height: 100%;
    width: 90%;

    padding-top: 50px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    z-index: 3;
}

@media only screen and (min-width: 768px) {
    #main-nav, #cd-cart {
        width: 350px;
    }
}

@media only screen and (min-width: 1200px) {
    #main-nav, #cd-cart {
        width: 30%;
        /* header height has changed */
        padding-top: 80px;
    }
}

#main-nav {
    left: -100%;
    background: #FFF;
    -webkit-transition: left 0.3s;
    -moz-transition: left 0.3s;
    transition: left 0.3s;
}

#main-nav.speed-in {
    left: 0;
}

#main-nav ul a {
    display: block;
    height: 50px;
    line-height: 50px;
    padding: 0 1em;
    border-bottom: 1px solid #e0e6ef;
}

#main-nav ul .current {
    box-shadow: inset 3px 0 #435779;
}

@media only screen and (max-width: 768px) {
    .orderItems{
        width: 100%;
        font-size: 13px;
        line-height: 13px;
        display: inline-block;
        border-bottom: 1px solid #dedede;
        padding: 5px;
    }
    .orderItem {
        float: left;
        padding-right: 5px;
        width: 80%;
    }
    .orderItemRight {
        text-align: right;
        width: 20%;
    }
}
.modal {
    text-align: center;
    margin-top:100px;
}

@media only screen and (min-width: 768px) {
    .orderItems{
        padding: 5px;
        width: 100%;
        display: inline-block;
        border-bottom: 1px solid #dedede;
    }
    .orderItem {
        float: left;
        padding-right: 15px;
        width: 90%;
    }
    .orderItemRight {
        text-align: right;
        width: 10%;
    }
}
@media only screen and (min-width: 1200px) {
    #main-nav {
        /* reset main nav style */
        position: absolute;
        height: auto;
        width: auto;
        left: auto;
        right: 8em;
        padding-top: 0;
        top: 0;
        background: transparent;
        box-shadow: none;
        line-height: 60px;
        z-index: 4;
    }

    #main-nav li {
        display: inline-block;
        margin-left: 1em;
    }

    #main-nav ul a {
        display: inline-block;
        height: auto;
        line-height: 1;
        padding: 1em 1.4em;
        border-bottom: none;
        color: #FFF;
        border-radius: 0.25em;
        font-weight: bold;
    }

    #main-nav ul a.current {
        box-shadow: none;
        background: #435779;
        color: #FFF;
    }

    .no-touch #main-nav ul a:hover {
        background: #435779;
        color: #FFF;
    }
}

.no-js #main-nav {
    position: fixed;
}

#cd-cart {
    right: -100%;
    background: #FFF;
    -webkit-transition: right 0.3s;
    -moz-transition: right 0.3s;
    transition: right 0.3s;
}

.logo-img {
    display: initial;
    max-height: 50px;
}
#cd-hamburger-menu span {
    position: absolute;
    left: 3px;
    top: 54%;
    font-size: 10px;
    color: #FFF;
    text-transform:uppercase;
}
#cd-cart.speed-in {
    right: 0;
}

#cd-cart > * {
    padding-left: 10px;
    padding-right: 10px;
}

#cd-cart h2 {
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
    margin: 1em 0;
}

#cd-cart .cd-cart-items {
    padding: 0;
}

#cd-cart .cd-cart-items li {
    position: relative;
    padding: 5px;
    border-top: 1px solid #e0e6ef;
}

.mini_cart_item i {
    color: #b70707;
    cursor: pointer;
}

#cd-cart li i {
    color: #b70707;
    cursor: pointer;
}

#cd-cart .cd-cart-items li:last-child {
    border-bottom: 1px solid #e0e6ef;
}

#cd-cart .cd-qty, #cd-cart .cd-price {
    color: #a5aebc;
}

.cd-price {
    float: right;
}

#cd-cart .cd-cart-total {
    padding-top: 1em;
    padding-bottom: 1em;
}

#cd-cart .cd-cart-total span {
    float: right;
}

#cd-cart .cd-cart-total::after {
    /* clearfix */
    content: '';
    display: table;
    clear: both;
}

#cd-cart .checkout-btn {
    display: block;
    width: 100%;
    height: 60px;
    line-height: 60px;
    background: #7dcf85;
    color: #FFF;
    text-align: center;
}

.no-touch #cd-cart .checkout-btn:hover {
    background: #a2dda8;
}

#cd-cart .cd-go-to-cart {
    text-align: center;
    margin: 1em 0;
}

#cd-cart .cd-go-to-cart a {
    text-decoration: underline;
}

@media only screen and (min-width: 1200px) {
    #cd-cart > * {
        padding-left: 10px;
        padding-right: 10px;
    }

    #cd-cart .cd-cart-items li {
        padding: 5px;
    }
}

#cd-shadow-layer {
    position: fixed;
    min-height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(67, 87, 121, 0.6);
    cursor: pointer;
    z-index: 2;
    display: none;
}

#cd-shadow-layer.is-visible {
    display: block;
    -webkit-animation: cd-fade-in 0.3s;
    -moz-animation: cd-fade-in 0.3s;
    animation: cd-fade-in 0.3s;
}

.scrollup {
    width: 40px;
    height: 40px;
    text-indent: -9999px;
    opacity: 0.3;
    position: fixed;
    bottom: 50px;
    z-index: 999;
    right: 20px;
    display: none;
    background: url('/assets/images/icon_top.png') no-repeat;
}

.paymentSelector {
    float: left;
    border: 1px solid #dadada;
    border-radius: 4px;
    padding: 5px;
    width: 100%;
    text-align: center;
    font-size: 12px;
    margin-bottom:5px;
    cursor: pointer;
}

.paymentSelector:hover {
    border-color: #127836;
}

.paymentSelector-active {
    box-shadow:1px 1px 10px 3px rgba(18, 120, 54, 0.32) inset;
    background-color: #F5F5F5;
    color: #127836;
    font-weight: bold;
    border-color: #127836;
}

.paymentSelector span {
    display: block;
}

.paymentSelector img {
    height: 60px;
    display: block;
    margin: 0 auto;
}

.timeLeft {
    float: left;
    width: 50%;
}

.loadTopCart .cd-cart-total p{
    margin-left: 10px;
}

.loadTopCart .cd-cart-total p span{
    margin-right: 10px;
    float:right;
}
.loadTopCart .checkout-btn{
    font-weight: bold;
    text-align: center;
    background-color: #e32947;
    padding: 10px;
    width: 90%;
    color: #FFF;
    display: block;
    margin: auto;
}

/* --------------------------------

xkeyframes 

-------------------------------- */
@-webkit-keyframes cd-fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes cd-fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes cd-fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
