/* styles for popup window ***************************************************/

.popup-body {
    min-width: 5px;
    background: white;
    background-position: 50% -40px;
}
#popup-wrap {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}
#popup-wrap .header {
    font-weight: bold;
    height: 110px;
}
#popup-wrap .header p,
#popup-wrap .header h1 {
    margin: 0;
}
#popup-wrap .header p {
    margin-top: -8px;
}
#popup-wrap .content {
    padding: 20px;
    text-align: left;
}
#popup-wrap .clearfix:after {
    display: block;
    clear: both;
    content: "";
}
#popup-wrap .content label {
    float: left;
    width: 27%;
    padding-top: 5px;
    padding-right: 2%;
    text-align: right;
	display:none;
}
/* #popup-wrap .content .control {
    float: left;
    width: 50%;
    text-align: left;
} */
#popup-wrap .content .control:first-child {
    padding-bottom: 10px !important;
    text-align: center !important;
    width: 100% !important;
}
#popup-wrap .content .control del {
    color: red;
}
#popup-wrap .content .control del,
#popup-wrap .content .control ins {
    font-weight: normal;
    display: block;
}
#popup-wrap .content .control ins {
    font-weight: bold;
    text-decoration: none;
}
#popup-wrap .content .control span.name,
#popup-wrap .content .control span.price {
    font-size: 12px;
    font-weight: bold;
    display: block;
    padding-top: 5px;
    padding-bottom: 5px;
}
#popup-wrap .content .control span.price {
    padding-top: 0;
    padding-bottom: 0;
}
#popup-wrap input[type="text"] {
    font-size: 12px;
    /*width: 170px;*/
    width: 254px;
    margin-top: 2px; 
    margin-bottom: 10px;
    padding: 4px 7px 4px 7px;
    color: #7e7e7e;
    border: 1px solid #d4d4d4;
    background:none;
}
#popup-wrap input[type="text"]:focus {
    border-color: #999;
}
#popup-wrap button {
    
    margin-top: 5px;
    
}
#popup-wrap button:hover {
    background-position: 0 -26px;
}
#popup-wrap .actions {
}

#popup-wrap textarea {
    width: 100%;
    padding: 0 !important;
}
#popup-wrap label em {
    color: #f00;
    font-size: 16px;
    font-style: normal;
}

/* .askfordetails-button {
    font: bold 12px/19px Arial,Helvetica,sans-serif;
    display: block;
    height: 19px;
    padding: 0 8px;
    text-align: center;
    white-space: nowrap;
    color: #fff;
    border: 1px solid #de5400;
    background: none repeat scroll 0 0 #f18200;
} */

#askproForm > div > img {
    display: block;
    max-width: 80%;
    margin: 0 auto 20px;
}
#askproForm > div + p {
    margin-bottom: 10px;
}

@media only screen and (max-width: 450px) {
    #popup-wrap .content label {
        float: none;
        width: 100%;
        padding-right: 0;
        text-align: center;
    }
    #popup-wrap .content .control {
        float: none;
        width: 100%;
        max-width: 280px;
        margin: auto;
        text-align: center;
    }
    #popup-wrap button {
        margin: auto;
    }
}

/* end of styles for popup window ***************************************************/

#popup-wrap input[type="text"]{ background:none;border: 1px solid #d4d4d4;color: #7e7e7e;font-size: 12px;margin-bottom: 10px;margin-top: 0px;padding: 4px 7px;width: 100%; max-width:250px; }


/*===============updated====================*/
#popup-wrap{max-width:340px !important; padding:30px 10px !important;}
.popup-form-title {
    float: left;
    text-align: center;
    width: 100%;
    font-size: 22px !important;
    color: #000;
    font-weight: bold;
	margin-bottom:15px;
}
#popup-wrap .content .control span.name, #popup-wrap .content .control span.price, #popup-wrap .control.product-name span.name{
    float: left;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #f2f2f2;
    padding-bottom: 10px;
	font-size:14px;
	color:#333;
	font-weight:normal;
	padding-top:0
}
#popup-wrap .content .control{
    max-width: 250px;
    width: 100%;
    margin: 0 auto;
    display: table;
}
#popup-wrap textarea {
    float: left;
    width: 100%;
}
#popup-wrap button {
    margin: 10px auto 0;
    width: 100%;
    display: table;
    max-width: 200px;
	padding:6px !important;

}
.mfp-close {
    width: 34px !important;
    height: 34px !important;
    line-height: 34px !important;
    position: absolute;
    right: 5px !important;
    top: 5px !important;
    text-decoration: none;
    text-align: center;
    opacity: 1;
    padding: 0 0 18px 10px;
    color: #FFF;
    font-style: normal;
    font-size: 28px;
}
#popup-wrap .content
{
	padding:0 !important;
}
#popup-wrap .content .field:first-child .control {
    width: 100% !important;
    max-width: 100%;
}
#popup-wrap .content .control:first-child
{
		padding-bottom:0 !important;
}
.product-question-success button.button.popup-custom-form-close {
    margin-top: 50px;
    padding: 0 30px;
}
.product-question-success .thank-you-text {
    font-size: 14px;
    color: #000;
    margin-bottom: 15px;
}