.custom-form-wrapper.form-popup .cover {
    padding: 40px 30px 30px;
    background-color: #fff;
    box-shadow: 1px 1px 7px #888;
    border: 1px solid #4db3cf;
    position: relative;
}
.custom-form-wrapper .close-button {
    position: absolute;
    right: 16px;
    top: 21px;
    width: 24px;
    height: 24px;
    display: block;
    background-image: url(../images/sprite_icons.png);
    background-position: -231px -51px;
    background-repeat: no-repeat;
    display: inline-block;
    cursor: pointer;
    background-color: unset;
}
.custom-form-wrapper h2 {
    font-weight: 600;
    font-size: 36px;
    margin-top: 0;
    margin-bottom: 20px;
}
.custom-form-wrapper label {
    margin-bottom: 5px;
    display: block;
    font-size: 14px;
    font-weight: 600;
}
.custom-form-wrapper label.text-lg {
    font-size: 20px;
}
.custom-form-wrapper .radio-gr span {
    display: inline-block;
    margin-right: 10px;
}
.custom-form-wrapper .radio-gr input {
    margin-right: 5px;
}
.custom-form-wrapper .radio-gr input, .custom-form-wrapper .radio-gr label {
    display: inline-block;
}

/* Must use section */
.custom-form-wrapper.form-popup{
position: fixed;
z-index: 99999;
top: 5%;
right: 7%;
width: 380px;
display: none;
}
.custom-form-wrapper .message{
	margin-top: 10px;
	font-size: 16px;
	text-align: center;
}
.custom-form-wrapper .message.error{
	color: #bb0000;
}
.custom-form-wrapper .message.success{
	color: #009900;
}
.custom-form-wrapper button[type='submit']{
	width: auto;
	padding: 0 16px;
}
.form-gr textarea.sr-input-field{
	height: 200px;
    width: 100%;
    resize: none;
}
.custom-form-wrapper span.error{
	display: block;
}
.custom-form-wrapper select{
	min-width: 295px;
	border: 1px solid #bbb;
	padding: 7px;
	background: #fff;
}
.custom-form-wrapper .radio-gr label {
    bottom: 3px;
    position: relative;
}
.custom-form-wrapper.order-feedback select{
        background-color: #e5f8ff;
    }
/* ---------------Custom Form Media Query -------------------- */
@media screen and (max-width:1024px) {
}

@media screen and (max-width:768px) {
    .custom-form-wrapper.form-popup {
        position: fixed;
    }

}

@media screen and (max-height:600px) {
     .custom-form-wrapper.form-popup {
        position: absolute;
    }
}

@media screen and (max-width:640px) {
    .custom-form-wrapper.form-popup {
        width: 100%;
        top: 0;
        right: 0;
        padding: 20px;
    }
    .custom-form-wrapper.form-popup .cover{
        padding: 16px;
    }
    .custom-form-wrapper.form-inline select{
        width: 100%;
    }
    .custom-form-wrapper .close-button{
        top: 14px;
    }
}

@media screen and (max-width:480px) {
    .custom-form-wrapper h2 {
        font-size: 20px;
    }

}

@media screen and (max-width:320px) {
    .custom-form-wrapper label.text-lg {
        font-size: 14px;
    }

    .custom-form-wrapper .submitBtn {
        width: 100%;
    }

}

/* ---------------Custom Form Media Query -------------------- */