a.mgswpcf7-popup-btn { background-position: center left;
background-repeat: no-repeat;
background-color: #000;
color: #fff;
font-size: 16px;
padding: 8px 40px;
margin: 10px 10px 10px 0;
border-radius: 30px;
box-shadow: none;
-webkit-transition: all 0.5s ease 0s;
transition: all 0.5s ease 0s;
display: inline-block;
}
a.mgswpcf7-popup-btn:hover, a.mgswpcf7-popup-btn:focus {
color: #fff;
box-shadow: none;
background-position: center right;
}
.widget-area a.mgswpcf7-popup-btn, .widget a.mgswpcf7-popup-btn,
.widget-area a.mgswpcf7-popup-btn:hover, .widget-area a.mgswpcf7-popup-btn:focus,
.widget .mgswpcf7-popup-btn:hover, .widget a.mgswpcf7-popup-btn:focus {
box-shadow: none;
color: #fff;
transition: all 0.5s ease 0s;
}
.mgswpcf7popup-cFormbox {
background-color: #f00;
color: #fff;
width: 600px;
max-width: calc(100% - 30px);
max-height: calc(100vh - 60px);
overflow-y: auto;
margin: 0 auto;
padding: 30px 30px 0;
border: 1px solid transparent;
border-radius: 5px;
}
.mgswpcf7-popup-contactForm a.closebtn {
font-size: 32px;
font-weight: bold;
line-height: 28px;
border: none;
position: absolute;
top: 0px;
right: 0px;
box-shadow: none;
background-color: #ff0000;
color: #fff;
width: 32px;
height: 32px;
border: 1px solid #ff0000;
border-radius: 50%;
}
.mgswpcf7-popup-contactForm a.closebtn:hover {
background-color: #fff;
color: #ff0000;
box-shadow: none;
}
h3.mgswpcf7-popup-form-title {
font-size: 28px;
line-height: 1.48;
color: #fff;
border: 1px solid;
padding: 5px 15px;
margin: 0 0 20px;
border-radius: 10px;
}
.mgswpcf7-popup-contactForm label {
font-weight: normal;
color: #fff;
}
.mgswpcf7-popup-contactForm p {
margin: 0 0 10px;
}	
.mgswpcf7-popup-contactForm .wpcf7-form-control {
background-color: #e8eaed;
border: 1px solid #d0d0d0;
border-radius: 30px;
width: 100%;
max-width: 100%;
padding: 6px 10px;
}
.mgswpcf7-popup-contactForm .wpcf7-form-control.wpcf7-acceptance {
background-color: transparent;
border: none;
}
.mgswpcf7-popup-contactForm textarea.wpcf7-form-control {
height: 100px;
border-radius: 30px;
}	
.mgswpcf7-popup-contactForm select.wpcf7-form-control {
border-radius: 30px;
}
.mgswpcf7-popup-contactForm .wpcf7-form-control:focus {
box-shadow: 0 1px 1px rgba(190, 194, 203, 0.075) inset, 0 0 10px rgba(190, 194, 203, 0.7);
}
.mgswpcf7-popup-contactForm .wpcf7-form-control.wpcf7-submit {
position: relative;
left: 40px;
margin: 5px 40px 0;
background-color: #0000ff;
color: #fff;
font-size: 20px;
font-weight: inherit;
border-radius: 30px;
transition: all 0.5s ease 0s;
width: 180px;
height: 40px;
border: 1px solid #0000ff;
}
.mgswpcf7-popup-contactForm .wpcf7-form-control.wpcf7-submit:hover {
background-color: #fff;
border-color: #222;
color: #222;
}
.mgswpcf7-popup-contactForm .wpcf7-form .ajax-loader {
top: 5px;
}
.mgswpcf7-popup-contactForm .wpcf7-form {
margin: 20px 0;
}
.mgswpcf7-popup-contactForm .wpcf7-not-valid-tip {
background-color: #f7f60a;
color: #ce0606;
font-size: 12px;
border-radius: 3px;
display: inline-block;
margin: 2px 0 0;
padding: 0 10px;
width: auto;
}
.mgswpcf7-popup-contactForm {
text-align: center;
position: fixed;
display: table;
height: 100%;
width: 100% !important;
max-width: 100% !important;
top: 0;
left: 0;
-webkit-transform: scale(0);
-ms-transform: scale(0);
transform: scale(0);
z-index: 99999;
}
.mgswpcf7-popup-contactForm.mgswpcf7-PopFormpopupbox {
-webkit-transform: scale(0);
-ms-transform: scale(0);
transform: scale(0);
animation: mgscfspopFunfoldIn 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.mgswpcf7-popup-contactForm.mgswpcf7-PopFormpopupbox.outmgspopup {
-webkit-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
animation: mgscfspopFunfoldOut 1s 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.mgswpcf7-popup-contactForm.mgswpcf7-PopFormpopupbox .mgsmodal-background .mgswpcf7popup-cFormbox {
-webkit-transform: scale(0);
-ms-transform: scale(0);
transform: scale(0);
animation: mgscfspopFzoomIn 0.5s 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.mgswpcf7-popup-contactForm.mgswpcf7-PopFormpopupbox.outmgspopup .mgsmodal-background .mgswpcf7popup-cFormbox {
animation: mgscfspopFzoomOut 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.mgswpcf7-popup-contactForm .mgsmodal-background {
display: table-cell;
background: rgba(0, 0, 0, .7);
text-align: center;
vertical-align: middle;
}
.mgswpcf7-popup-contactForm .mgsmodal-background .mgswpcf7popup-cFormbox {
padding: 40px 40px 20px;
display: inline-block;
border-radius: 3px;
font-weight: 300;
position: relative;
}
@keyframes mgscfspopFunfoldIn {
0% {
-webkit-transform: scaleY(0.001) scaleX(0);
-ms-transform: scaleY(0.001) scaleX(0);
transform: scaleY(0.001) scaleX(0);
}
50% {
-webkit-transform: scaleY(0.001) scaleX(1);
-ms-transform: scaleY(0.001) scaleX(1);
transform: scaleY(0.001) scaleX(1);
}
100% {
-webkit-transform: scaleY(1) scaleX(1);
-ms-transform: scaleY(1) scaleX(1);
transform: scaleY(1) scaleX(1);
}
}
@keyframes mgscfspopFunfoldOut {
0% {
-webkit-transform: scaleY(1) scaleX(1);
-ms-transform: scaleY(1) scaleX(1);
transform: scaleY(1) scaleX(1);
}
50% {
-webkit-transform: scaleY(0.001) scaleX(1);
-ms-transform: scaleY(0.001) scaleX(1);
transform: scaleY(0.001) scaleX(1);
}
100% {
-webkit-transform: scaleY(0.001) scaleX(0);
-ms-transform: scaleY(0.001) scaleX(0);
transform: scaleY(0.001) scaleX(0);
}
}
@keyframes mgscfspopFzoomIn {
0% {
-webkit-transform: scale(0);
-ms-transform: scale(0);
transform: scale(0);
}
100% {
-webkit-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
}
}
@keyframes mgscfspopFzoomOut {
0% {
-webkit-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
}
100% {
-webkit-transform: scale(0);
-ms-transform: scale(0);
transform: scale(0);
}
}
@media screen and (max-width: 767px) {
.mgswpcf7popup-cFormbox {
width: calc(100% - 60px);
}
.mgswpcf7-popup-contactForm a.closebtn {
top: 0;
right: 0;
}
}
@media screen and (max-width: 480px) {
.mgswpcf7-popup-contactForm .wpcf7-form-control.wpcf7-submit {
left: 0;
}
}
@media screen and (max-width: 375px) {
.mgswpcf7-popup-contactForm .wpcf7-form-control.wpcf7-submit {
margin: 5px auto;
}
}