@import "../variables";
@import "../mixins";
/*======= Checkout Styles =======*/


// Panel Group
.single-accordion{
    margin-bottom: 30px;
}
.mb--20{
    margin-bottom: 20px;
}


#checkout-accordion {}

input[type="submit"]{
    cursor: pointer;
}

// Panel Group
.single-accordion{
    margin-bottom: 30px;
}
.order-details .dcare__btn{
    border: 0 none;
}
//  Accordion Head
.accordion-head {
    background-color: $theme-color;
    color: #ffffff;
    display: block;
    font-size: 15px;
    font-weight: 700;
    height: 47px;
    line-height: 49px;
    padding: 0 12px 0 28px;
    position: relative;
    text-align: left;
    text-transform: uppercase;
    width: 100%;
    font-family: $body-font;
    &:focus, &:hover {
        color: #ffffff;
    }
    &.collapsed {
        background-color: #f1f2f3;
        color: #333;
        &:focus {
            color: #333;
        }
        &:hover {
            color: $theme-color;
        }
    }
}

//  Accordion Body
.accordion-body {
    overflow: hidden;
    padding: 30px;
    border: 1px solid $border-color-light;
    border-top: none;
}

//  Checkout Method
.checkout-method {}
.checkout-method-list {
    float: left;
    margin-bottom: 15px;
    width: 100%;
    padding-left: 0;
    list-style: none;
    & li {
        display: block;
        text-transform: capitalize;
        cursor: pointer;
        float: left;
        margin-right: 30px;
        &::before {
            content: "\f192";
            font-family: 'Fontawesome';
            float: left;
            line-height: 24px;
            padding-left: 1px;
            margin-right: 10px;
            font-size: 16px;
        }
        &.active {
            &::before {
                color: $theme-color;
            }
        }
    }
}

//  Shipping Method
.shipping-method {
    & h5 {
        font-size: 16px;
        text-transform: capitalize;
        margin-bottom: 15px;
        font-weight: 700;
        font-style: italic;
    }
    & p {
        & span {
            font-weight: 700;
            color: #333;
            text-transform: capitalize;
            margin-right: 10px;
        }
    }
}

//  Payment Method List
.payment-method-list {
    float: left;
    width: 100%;
    padding-left: 0;
    list-style: none;
    & li {
        display: block;
        text-transform: capitalize;
        cursor: pointer;
        float: left;
        margin-right: 30px;
        &::before {
            content: "\f192";
            font-family: 'Fontawesome';
            float: left;
            line-height: 24px;
            padding-left: 1px;
            margin-right: 10px;
            font-size: 16px;
        }
        &.active {
            &::before {
                color: $theme-color;
            }
        }
    }
}

//  Shipping Form Toggle
.shipping-form-toggle {
    display: inline-block;
    text-transform: capitalize;
    cursor: pointer;
    padding: 0;
    background-color: transparent;
    border: none;
    margin-bottom: 20px;
    &::before {
        content: "\f192";
        font-family: 'Fontawesome';
        float: left;
        line-height: 24px;
        padding-left: 1px;
        margin-right: 10px;
        font-size: 16px;
    }
    &.active {
        &::before {
            color: $theme-color;
        }
    }
}

//  Checkout Login Form
.checkout-login-form {
    float: left;
    width: 100%;
    & .input-box {
        & input {
            width: 100%;
            border: 1px solid #ededed;
            background-color: #ffffff;
            height: 40px;
            line-height: 24px;
            padding: 7px 15px;
            color: $body-color;
            font-size: 15px;
            float: left;
            &[type="submit"] {
                width: 120px;
                margin-right: 0;
                background-color: $theme-color;
                padding: 8px 15px;
                border: none;
                color: #ffffff;
                text-transform: uppercase;
                font-weight: 700;
                margin-bottom: 0;
                border-radius: 50px;
                &:hover {
                    background-color: darken($theme-color, 5);
                }
            }
        }
    }
}

//  Checkout Register Form
.checkout-register-form {
    display: none;
    float: left;
    width: 100%;
    & .input-box {
        & input {
            width: 100%;
            border: 1px solid #ededed;
            background-color: #ffffff;
            height: 40px;
            line-height: 24px;
            padding: 7px 15px;
            color: $body-color;
            font-size: 15px;
            float: left;
            &[type="submit"] {
                width: 120px;
                margin-right: 0;
                background-color: $theme-color;
                padding: 8px 15px;
                border: none;
                color: #ffffff;
                text-transform: uppercase;
                font-weight: 700;
                margin-bottom: 0;
                border-radius: 50px;
                &:hover {
                    background-color: darken($theme-color, 5);
                }
            }
        }
    }
}

//  Checkout Billing & Shipping Form
.checkout-form {
    float: left;
    width: 100%;
    &.billing-form {}
    &.shipping-form {
        display: none;
    }
    & input {
        width: 100%;
        border: 1px solid #ededed;
        background-color: #ffffff;
        height: 40px;
        line-height: 24px;
        padding: 7px 15px;
        color: $body-color;
        font-size: 15px;
        float: left;
    }
    & select {
        -moz-appearance: none;
        -webkit-appearance: none;
        appearance: none;
        background: rgba(0, 0, 0, 0) url("images/icons/select-arrow-down-2.png") no-repeat scroll right 5px center;
        width: 100%;
        border: 1px solid #ededed;
        background-color: #ffffff;
        height: 40px;
        line-height: 24px;
        padding: 7px 15px;
        color: $body-color;
        font-size: 15px;
        float: left;
        & option {
            padding: 5px 15px;
        }
    }
    & textarea {
        width: 100%;
        border: 1px solid #ededed;
        background-color: #ffffff;
        height: 120px;
        line-height: 24px;
        padding: 7px 15px;
        color: $body-color;
        font-size: 15px;
        float: left;
    }
}

//  Checkout Payment Form
.payment-form {
    float: left;
    width: 100%;
    display: none;
    & label {
        display: block;
        font-size: 15px;
    }
    & input {
        width: 100%;
        border: 1px solid #ededed;
        background-color: #ffffff;
        height: 40px;
        line-height: 24px;
        padding: 7px 15px;
        color: $body-color;
        font-size: 15px;
        float: left;
    }
    & select {
        -moz-appearance: none;
        -webkit-appearance: none;
        appearance: none;
        background: rgba(0, 0, 0, 0) url("images/icons/select-arrow-down-2.png") no-repeat scroll right 5px center;
        width: 100%;
        border: 1px solid #ededed;
        background-color: #ffffff;
        height: 40px;
        line-height: 24px;
        padding: 7px 15px;
        color: $body-color;
        font-size: 15px;
        float: left;
        & option {
            padding: 5px 15px;
        }
    }
    & a {
        color: $theme-color;
        font-size: 15px;
        margin-top: 5px;
    }
}

//  Oder Details Wrapper
.order-details-wrapper{
    & h2 {
        background: $theme-color;
        color: #ffffff;
        display: block;
        font-size: 14px;
        font-weight: 700;
        height: 45px;
        line-height: 45px;
        padding: 0 12px 0 28px;
        text-transform: uppercase;
        width: 100%;
        margin: 0;
    }
}

// Order Details
.order-details {
    background-color: #f1f2f3;
    padding: 10px 0;
    text-align: left;
    float: left;
    width: 100%;
    & ul {
        padding-left: 0;
        list-style: none;
        & li {
            border-bottom: 1px solid #e9e9e9;
            display: block;
            float: left;
            padding: 16px 28px;
            text-align: left;
            width: 100%;
            &:last-child {
                border-bottom: 0 solid transparent;
            }
            & p {
                color: #606060;
                display: block;
                margin: 0;
                width: 60%;
                float: left;
                &:last-child {
                    width: 40%;
                }
                &.strong {
                    color: #303030;
                    font-weight: 600;
                    text-transform: uppercase;
                }
                & input {
                    display: block;
                    float: left;
                    margin-right: 10px;
                    margin-top: 3px;
                }
                & label {
                    color: #606060;
                    display: block;
                    float: left;
                    font-weight: 300;
                    margin: 0;
                    overflow: hidden;
                    line-height: 20px;
                }
            }
        }
    }
}
