@import "../../../../styles/generic/variables";
@import url('https://fonts.googleapis.com/css?family=Open+Sans');

$open-sans: 'Open Sans';

.order-amount-wrapper{
    margin-top: 0;
    padding-right: 0;
    font-family: $open-sans, sans-serif;
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.43;
    letter-spacing: normal;
    text-align: right;
    color: $cart-text;
    padding-top: 38px;


    .summary-header {
        display: flex;
        justify-content: space-between;
        margin: 30px 24px 26px;

    }

   .form-wrapper{
       width: 346px;
       border-radius: 3px;
       box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.16), 0 1px 1px 0 rgba(0, 0, 0, 0.1);
       border: solid 1px #e9e9e9;
       background-color: white;
       padding: 0;
       float: right;
   }
    h4.summary-title {
        text-align: left;
        font-size: 20px;
        font-weight: 600;
        font-style: normal;
        font-stretch: normal;
        line-height: 1.1;
        letter-spacing: normal;
        color: $cart-text;
        display: inline-block;
        margin-bottom: 0;
    }
    .edit-link{
        font-family: 'Open Sans', sans-serif;
        font-size: 14px;
        font-weight: normal;
        font-style: normal;
        font-stretch: normal;
        line-height: normal;
        letter-spacing: normal;
        color: #047a9c;
        padding: 6px 0 0 0;
        display: inline-block;
        text-decoration: underline;
    }
    .show {
        display: block;
    }
    .item-qty.show, .cart-summary .show{
        display: inline-block;
    }
    .hidden, .cart-summary .hidden {
        display: none;
    }
    .has-cart-icon:before {
        content: '\f07a';
        font-family: FontAwesome;
        font-size: inherit;
        color: #4d4d4d;
        display: inline-block;
        padding-left: 6px;
        filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0);
        -webkit-transform: scale(-1,1);
        transform: scale(-1,1);
    }
    form.form-horizontal{
        .control-label {
            text-align: left;
            display: block;
        }
        .secure-label {
            font-family: $open-sans;
            font-size: 14px;
            font-weight: normal;
            font-style: italic;
            font-stretch: normal;
            line-height: normal;
            letter-spacing: normal;
            color: #6a7070;
            margin-top: 17px;
            text-align: center;
            margin-bottom: 0;
        }
        .secure-label:before {
            content: '\f023';
            font-family: FontAwesome;
            font-size: 16px;
            font-style: normal;
            color: #4d4d4d;
            display: inline-block;
            padding-right: 6px;
        }
        .cart-items {
            border-top: 1px solid $border-color;
        }
        .cart-titles{
            padding: 8px 25px;
            border-radius: 3px;
            border-bottom: solid 1px $border-color;

            .qty{
                margin-right: 10px;
            }
            .item{
                margin-right: 198px;
            }
            .price{
                margin-right: 25px;
            }
        }
        .cart-body{
            padding: 26px;
            width: 100%;
            text-align: left;
            padding-bottom: 0;
            margin-bottom: 27px;
            .item-qty{
                margin-right: 18px;
                margin-left: 6px;
            }
            .item-name{
                text-align: left;
            }
            #itemTotal, .itemTotal{
                float: right;
            }

        }

    }
    fieldset.outline.no-legend {
        padding-top: 20px;
    }
    .btn {
        font-size: 14px;
        line-height: 28px;
        padding: 0 12px;
        border-radius: 3px;
        box-shadow: none;
        font-weight: 500;
    }

    .btn-block {
        display: block;
        width: 100%;
    }
    .btn.btn-primary {
        color: #FFF;
        background-color: #107ACA;
        border-color: #0E6AB0;
        outline: 0;
        -moz-transition: background-color .2s ease-out;
        -webkit-transition: background-color .2s ease-out;
        -o-transition: background-color .2s ease-out;
        transition: background-color .2s ease-out;
    }
    .checkout-button-container {
        float: right;
    }
    .checkout-button-container a{
        text-decoration: none;
    }
    .checkout-button {
        width: 145px;
        height: 36px;
        border-radius: 18px;
        background-color: #047a9c !important;
        color: #ffffff;
        cursor: pointer;
        font-size: 16px;
        box-shadow: none;
        font-weight: 500;
        border: none;

        &:hover{
            background-image: none;
            background-color: #005a70 !important;
            border: solid 1px  #005a70;
        }
        &:active, &:focus{
            outline: 0;
            -webkit-box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1977d4;
            box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1977d4;
        }

    }
    .total-section{
        width: 100%;

        .total-headings{
            display: inline-block;
            width: 70px;

            label{
                display: block;
                margin-bottom: 10px;
            }
        }

        .total-amounts{
            display: inline-block;
            width: 70px;

            span{
                display: block;
                margin-bottom: 10px;
            }
        }
    }


    .order-total{
        height: 60px;
        padding: 25px 0 0 0;
        margin-bottom: 26px;
        margin-top: 31px;
        text-align: left;
        border-top: 1px solid $item-row;

        .order-total-title, .order-total-amount{
            font-size: 14px;
            font-weight: 600;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.29;
            letter-spacing: normal;
            color: $cart-text;
        }

        #orderTotal{
            float: right;
        }
    }
    .order-total.no-button{
        margin-bottom: 40px;
    }

}

