Que va... Ya lo habia probado...
Código HTML:
/* Contact Form Modal
========================================================*/
.modal-open {
overflow: hidden;
position: absolute;
z-index:2000;
}
#contact-form .modal {
display: none;
overflow: auto;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1050;
font-family: 'Roboto', sans-serif;
font-size: 13px;
}
#contact-form .modal h4 {
font-size: 24px;
padding: 0;
margin: 0;
}
.modal.fade .modal-dialog {
-webkit-transform: translate(0, -25%);
-ms-transform: translate(0, -25%);
transform: translate(0, -25%);
-webkit-transition: -webkit-transform 0.3s ease-out;
-moz-transition: -moz-transform 0.3s ease-out;
-o-transition: -o-transform 0.3s ease-out;
transition: transform 0.3s ease-out;
}
.modal.in .modal-dialog {
-webkit-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
}
.modal-content {
position: relative;
background-color: #ffffff;
border: 1px solid #999999;
border: 1px solid rgba(0, 0, 0, 0.2);
-webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
background-clip: padding-box;
outline: none;
}
.modal-backdrop {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1040;
background-color: #000000;
}
.modal-backdrop.fade {
opacity: 0;
filter: alpha(opacity=0);
}
.modal-backdrop.in {
opacity: 0.5;
filter: alpha(opacity=50);
}
.modal-header {
padding: 15px;
border-bottom: 1px solid #e5e5e5;
min-height: 16.42857143px;
color: #333;
}
.modal-header .close {
margin-top: -2px;
position: relative;
z-index: 10;
}
.modal-title {
margin: 0;
line-height: 1.42857;
color: #333;
}
.modal-body {
position: relative;
padding: 20px;
color: #333;
}
.modal-dialog {
width: 600px;
margin: 10px auto;
}
@media only screen and (max-width: 768px) {
.modal-dialog {
position: relative;
width: auto;
margin: 10px;
}
}
/* Contact Form Close icon
========================================================*/
.close {
float: right;
font-size: 21px;
font-weight: bold;
line-height: 1;
color: #000000;
text-shadow: 0 1px 0 #ffffff;
opacity: 0.2;
filter: alpha(opacity=20);
z-index:3000;
}
.close:hover,
.close:focus {
color: #000000;
text-decoration: none;
cursor: pointer;
opacity: 0.5;
filter: alpha(opacity=50);
}
button.close {
padding: 0;
cursor: pointer;
background: transparent;
border: 0;
-webkit-appearance: none;
}
@media only screen and (max-width: 1199px) {
#contact-form {
padding-right: 0;
}
#contact-form label {
width: 100%;
float: none;
margin-left: 0 !important;
}
}
@media only screen and (max-width: 979px) {
#contact-form label {
width: 100%;
}
#contact-form .btn {
padding-left: 12px;
padding-right: 12px;
}
}