/* The Modal (background) */
.box-calculator-modal {
    display: none;
    position: fixed;
    z-index: 10;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content */
.box-calculator-content {
    max-width: 440px;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 45%;
}

/* The Close Button */
.box-calculator-close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.box-calculator-close:hover,
.box-calculator-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.b-calculator-inner-title {
    border-bottom: 1px solid #515151;
    font-size: 2em;
    font-weight: 300;
    text-align: center;
    text-transform: uppercase;
    padding-bottom: 15px;
}
.box-calculator-input,
.box-calculator-answer {
    text-align: center;
    border-bottom: 1px solid #515151;
    padding-bottom: 15px;
}
.box-calculator-input ul,
.box-calculator-answer ul,
.box-calculator-total ul {
    list-style: none;
    padding-left: 0px;
    margin-bottom: 10px;
}
.box-calculator-input li {
    display: inline-block;
}
.box-calculator-input li.unit {
    display: block;
}
.box-calculator-input li.unit li {
    padding: 10px;
    margin-bottom: 0px;
}
.box-calculator-input li.times {
    padding: 0px 20px;
}
.box-calculator-answer,
.box-calculator-total {
    padding: 10px 15px;
}
.box-calculator-answer .list-row {
    clear: both;
}
.box-calculator-answer .list-row li,
.box-calculator-total li {
    display: inline-block;
}
.box-calculator-answer .list-row li.label,
.box-calculator-total li.label {
    float: left;
}
.box-calculator-answer .list-row li.answer,
.box-calculator-total li.answer {
    float: right;
}
.box-calculator-total {
	margin-bottom: 20px;
}
.box-calculator-total li {
	font-size: 18px;
}
.input-text.area-input {
	width: 50%;
}
.c-product-bottom-total {
    display: none;
    overflow: hidden;
}
.c-product-bottom-total p {
    float: left;
    clear: left;
}
.c-product-bottom-total p:nth-child(1) {
    line-height: 2;
}
.c-product-bottom-total p #js-discount {
    font-weight: normal;
    display: block;
}
#js-total-discount-price-inc, #js-total-discount-price-remain {
    font-size: inherit;
    display: none;
}
#js-total-discount-price-remain { 
    font-weight: normal; 
}
.c-product-bottom-total p .js-total-price {
    font-size: 26px;
    line-height: 16px;
}
.c-product-bottom-total p .js-total-price::after {
    font-size: 14px;
}
.actions.box-calculator-action {
    margin-left: 3px;
}
span#js-total-discount-price-remain::after {
    display: none !important;
}

@media only screen and (max-width: 768px) {
    .box-calculator-content {
        padding: 25px;
        width: 75%;
    }
}

@media only screen and (max-width: 560px) {
    .box-calculator-input li.input,
    .box-calculator-input li.times {
        display: block;
    }
}

@media (min-width: 992px) {
    .c-product-bottom-total .col-md-7, .c-product-bottom-total .col-md-5 {
        float: left;
    }
    .c-product-bottom-total .col-md-7 {
        width: 58.33333333%;
    }
    .c-product-bottom-total .col-md-5 {
        width: 41.66666667%;
    }

}

