/**
 * Mageplaza
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Mageplaza.com license sliderConfig is
 * available through the world-wide-web at this URL:
 * https://www.mageplaza.com/LICENSE.txt
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade this extension to newer
 * version in the future.
 *
 * @category    Mageplaza
 * @package     Mageplaza_CallForPrice
 * @copyright   Copyright (c) Mageplaza (https://www.mageplaza.com/)
 * @license     https://www.mageplaza.com/LICENSE.txt
 */

.mpcpf_request_quote_popup {
    margin-top: 22px;
}

.mp_modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    overflow: initial;
}

.mp_popupquote-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 5px 20px 20px 20px;
    border: 1px solid #888;
    width: 50%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: relative;
    z-index: 9;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#mp_message.success {
    color: green;
}

#mp_message.error {
    color: #a32b1c;
}

.mp_popupquote-content .actions-toolbar {
    margin-top: 20px;
}

.mp_popupquote-content .popup-loading-request {
    margin: 10px 0;
    width: 100%;
    height: auto;
}

.callforprice-action {
    float: inherit;
    width: 100%;
    margin-bottom: 10px;
}

.mp_modal {
    overflow: scroll;
}

/*Responsive screen monitor 1300px*/
@media all and (max-width: 1300px) {
    .mp_popupquote-content {
        width: 30%;
    }

    .mp_popupquote-content .fields .field {
        width: 100% !important;
    }
}

/*Responsive screen monitor 768px*/
@media all and (max-width: 1024px) {
    .mp_popupquote-content {
        width: 35%;
    }

}

/*Responsive screen monitor 768px*/
@media all and (max-width: 768px) {
    .mp_popupquote-content {
        width: 45%;
    }
}

/*Responsive screen monitor 500px*/
@media all and (max-width: 500px) {
    .mp_popupquote-content {
        width: 80%;
    }

    .mpcpf_request_quote_popup {
        left: 0;
    }
}

/*Responsive screen monitor 320px*/
@media all and (max-width: 320px) {
    .mpcpf_request_quote_popup {
        left: -6px;
    }
    #mp_request_button_submit {
        text-align: center;
        padding: 6px;
    }
}

.mpcfp-icon {
    height: 14px;
}

.mp_popupquote-content .fields .field {
    margin: 1% 2% 20px;
    display: inline-block;
    width: 45%;
    vertical-align: top;
}
#mp_request_field_terms_condition{
    width:100%;
}

#mp_request_field_contact_time .contact_date.date {
    width: 40%;
}
#mp_request_field_contact_time .contact_time.time input, #mp_request_field_contact_time .contact_time.time p{
    width: 30px;
    padding: 0 5px;
    display: inline;
}
#mp_request_field_contact_time .contact_time.time p{
    padding:0;
}
#mp_request_field_contact_time .contact_time.time select{
    width: 60px;
    padding: 0 5px;
    display: inline;
}

#mp_request_field_contact_time .contact_time.time{
    width: 40%;
}
#mp_request_field_contact_time .contact_date.date, #mp_request_field_contact_time .contact_time.time {
    display: inline-block;
    min-width: 155px;
    float: left;
}
#mp_request_field_contact_time .contact_date.date{
    padding-right: 35px;
}
#mp_request_field_contact_time .control label {
    font-weight: 600;
    font-size: 13px;
}
.contact_date.date label{
    float: left;
    width: 100%;
}
#mp_contact_time{
    float: left;
    width: 117px;
}
#mp_request_field_contact_time .contact_date.date .ui-datepicker-trigger{
    float: left;
    padding: 7px 1px;
}
#mp_contact_time-error{
    float: left;
}
/*hide default message error*/
div.mage-error[for='contact_time[mm]'],div.mage-error[for='contact_time[hh]'] {
    display: none !important;
}
/*make custom error message like magento*/
.mpcfp-time-error, .mpcfp-time-error-require {
    display: none;
    color: #e02b27;
    font-size: 1.2rem;
    margin-top: 7px
}