
/*============================================================================

 Copyright © 2018 Shopify App. All rights reserved.
 Capacity Web Solutions Pvt. Ltd.

/*============================================================================*/


/*------------------------------------------------
	Reques A Quote Shopify App
--------------------------------------------------*/

label {
    display: block;
    font-size: 15px;
    margin-bottom: 5px;
}

legend {
    font-weight: 600;
    text-transform: uppercase;
    padding: 0 10px;
}

p {
    font-size: 15px;
}

center h4 {
    font-size: 36px;
    margin-bottom: 25px;
}


/*------------------------------------------------
	Button
--------------------------------------------------*/

.btn {
    width: auto;
    height: auto;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    padding: 10px 18px;
    font-weight: 400;
    font-size: 16px;
}

.quote_options {
    word-wrap: break-word;
    white-space: normal;
    margin-right:2px;
}

/*------------------------------------------------
	Quote Message
--------------------------------------------------*/

#qmp_message .qmp_buttons {
    display: inline-block;
    width: 100%;
}

#qmp_message .prd_msg {
    font-size: 15px;
}

#qmp_message .btn {
    padding: 5px 12px;
    font-size: 14px;
}

#qmp_message .view_quote {
    float: left;
}

#qmp_message .continue_btn {
    float: right;
}

#quotes_found h3 {
    text-align: center;
    font-size: 25px;
    margin-bottom: 15px;
}

.qmp_container {
    margin-bottom: 30px;
}

.quote_button {
    background-color: #000;
    color: #fff;
}

.err_detail {
    display: none;
    font-size: 13px;
    font-weight: 400;
}

.err_detail span,
.err_text {
    color: red;
    font-weight: 500;
}

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

input[type=button]:disabled,
input[type=submit]:disabled {
    cursor: not-allowed;
}

.success_text {
    color: green;
    font-weight: bold;
}

/*------------------------------------------------
	Quote Product
--------------------------------------------------*/

#quote_products {
    table-layout: fixed;
    border-collapse: collapse;
    width: 100%;
    display: inline-table !important;
}

#quote_products td,
#quote_products th {
    border: 1px solid #ddd;
    text-align: center;
    padding: 10px;
	vertical-align: middle;
}

#quote_products tr {
    display: table-row;
}

#quote_products tr:nth-child(even) {
    background-color: #f7f7f7;
}

#quote_products tr:hover {
    background-color: #ddd;
}

#quote_products th {
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #000;
    color: #fff;
    text-align: center;
}

#quote_products a {
    display: block;
    text-align: center;
    font-size: 15px;
}

.qty-box {
    text-align: center;
}

.qty-box .qtyminus,
.qty-box .qtyplus {
    width: 25px;
    height: 40px;
    display: inline-block;
    padding: inherit;
    background-color: #f3f3f3;
    border: 2px solid #ddd;
    color: #000;
}

.qty-box .list-product-qty {
    height: 40px;
    border: 2px solid #ddd;
    border-left: none;
    border-right: none;
    text-align: center;
    display: inline-block;
    width: 60px;
}


/*------------------------------------------------
	Quote Form
--------------------------------------------------*/

#quote_form {
    max-width: 600px;
}

#quote_form input,
#quote_form textarea {
    width: 100%;
}

.quote_field {
    margin: 10px 0;
}

#captcha_element {
    margin: 15px 0 0;
}

#submit_quote {
    margin-top: 15px;
    margin-bottom: 15px;
}

.stock_status {
    color: red;
    font-weight: bold;
    font-size: 16px;
}

.cart_to_quote,
a.cart_to_quote:hover {
    background-color: #000;
    color: #fff;
	margin-left: 10px;
	margin-right: 10px;
}

.add_to_quote,
.add_to_quote:disabled,
.submit_quote,
.submit_quote:disabled {
    color: #fff;
    background-color: #000;
}

.quote_options {
    background-color: #000;
}


/*------------------------------------------------
	Quote Model
--------------------------------------------------*/

.qmp_modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}


/* Variant Modal Content */
/* Message Modal Content */

.qmp_message_modal_content,
.qmp_variant_modal_content {
    width: 90%;
    max-width: 400px;
    background: #fff;
    padding: 0;
    box-shadow: 0 0 7px #585858;
    border-radius: 3px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.qmp_message_modal_content{
	max-width: 370px;
}

/* Add Animation */

@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}


/* The Close Button */
.qmp_modal_close {
    float: right;
    font-size: 22px;
    font-weight: bold;
    line-height: 23px;
    padding: 0 5px 3px;
    color: #fff;
    background-color: #000;
    border: none;
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
}

.qmp_modal_close:hover,
.qmp_modal_close:focus {
    background-color: #000;
    text-decoration: none;
    cursor: pointer;
}

.qmp_modal_header {
    padding: 10px 15px;
    background-color: #555;
    color: white;
}

.qmp_modal_body {
    padding: 10px;
}

.qmp_variant_list .product-pricing {
    color: #4d4d4d;
    font-size: 20px;
    font-weight: bold;
}

.qmp_variant_list .price--compare-at .money {
    text-decoration: line-through;
}

.qmp_variant_list .badge--sale {
    color: red;
    font-size: 18px;
    font-weight: bold;
}


/*------------------------------------------------
	Loader Image
--------------------------------------------------*/

#quote_pro_loading,
.qmp_loader {
    margin: 0 auto;
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    top: 20%;
    height: 70px;
    width: 70px;
    box-shadow: 0 0 5px #888;
    background-color: #fff;
}

#quote_pro_loading img,
.qmp_loader img {
    padding: 5px;
}


/*------------------------------------------------
	Sticky Quotation Side Cart
--------------------------------------------------*/

.quote_items_cart {
    position: fixed;
    z-index: 1;
    background-color: rgba(0, 0, 0, 1);
    background-image: none;
    background-repeat: repeat;
    background-position-x: 0%;
    background-position-y: 0%;
    background-size: auto auto;
    height: 50px;
    width: auto;
    bottom: 50%;
    right: 0;
    background-image: url(cws_quotation_icon.png);
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: 10px center;
    border-radius: 3px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding: 5px 10px 0 40px;
    color: #fff;
    font-size: 15px;
    line-height: 50px;
    z-index: 1024;
}

.quote_items_cnt {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    vertical-align: middle;
}

.quote_items_cart .label {
    color: #fff;
    font-weight: 700;
}

.qmp_modal.qmp_variant_list {}

.qmp_modal_header h2 {
    margin: 0;
    font-size: 18px;
	color: #fff;
}

.qmp_variant_modal_content h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.qmpproduct_options select {
    width: 100%;
    font-size: 15px;
    padding: 10px;
    height: auto;
}

.qmp_quote_btn {
    margin-top: 20px;
}

.quote_buttons #proposal,
.quote_buttons #checkout {
    float: left;
    margin: 0 5px;
}

#lineitems_found h3 {
    margin: 0 0 40px;
    font-size: 26px;
}

#quoteCommentForm {
    margin-top: 10px;
}

#quoteCommentForm #send_comment {
    margin-top: 10px;
}

.qmp_form_container fieldset {
    padding: 20px;
    margin: 0;
}



/*------------------------------------------------
	Responsive View
--------------------------------------------------*/

@media (max-width: 999px) {

}

@media (max-width: 767px) {
    .btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    #quote_products th,
    #quote_products td,
    #quote_products th {
        width: 100%;
        display: block;
        font-size: 15px;
        padding: 8px;
    }
    #quote_products tr {
        margin-bottom: 20px;
        display: block;
    }
    .qty-box .qtyminus,
    .qty-box .qtyplus {
        width: 35px;
        height: 35px;
    }
    .qty-box .list-product-qty {
        height: 35px;
    }
    center h4 {
        font-size: 26px;
        margin-bottom: 15px;
    }
    #quotes_found h3 {
        ;
        font-size: 18px;
    }
    .remove_quote_item {
        font-size: 12px;
        padding: 5px 12px;
    }
    #quote_form {
        max-width: 100%;
    }
    .qmp_modal_header h2 {
        font-size: 15px;
    }
    .quote_buttons {
        clear: both;
        width: 100%;
        margin: 0 0 20px;
    }
    #lineitems_found h3 {
        margin: 0 0 30px;
        font-size: 24px;
    }
    .quote_buttons .btn {
        font-size: 14px !important;
    }
    .qmp_message_modal_content {
        width: 90%;
    }
    .qmp_message_modal_content .qmp_buttons .btn {
        margin: 5px 0;
    }
}



@media (max-width: 480px) {
    p {
        font-size: 13px;
    }
    .quote_buttons #proposal,
    .quote_buttons #checkout {
        float: left;
        margin: 5px 0;
        clear: both;
    }
    #qmp_message {
        text-align: center;
    }
    #qmp_message .btn {
        font-size: 13px;
    }
    #qmp_message .view_quote,
    #qmp_message .continue_btn {
        float: none
    }
    #captcha_element {
        width: 234px;
    }
    .qmp_modal_close {
        font-size: 21px;
        line-height: 22px;
        right: -5px;
    }
    .rc-anchor-normal {
        width: 234px !important;
    }
    .rc-anchor-logo-portrait {
        margin: 10px 0 0 0 !important;
    }
}

.qmp_variant_list .badge--sale span {
    background-color: transparent;
}