.sevone-webforms-modal div.ctools-modal-content {
  border-radius: 3px;
  padding: 1px;
  margin: 2px auto;
  height: auto !important;
  width: 100% !important;
  max-width: 800px;  
}

.sevone-webforms-modal div.ctools-modal-content .modal-content {
  width: 100% !important;
}

.sevone-webforms-modal div.ctools-modal-content .modal-header {
  padding: 15px 15px;
  border-radius: 3px 3px 0 0;
  background-color: #4574A5;
  color: white;
}

.sevone-webforms-modal div.ctools-modal-content .modal-title {
  font-weight: 600;
}
.sevone-webforms-modal div.ctools-modal-content .close {
  float: right;
  cursor: pointer;
}

.sevone-webforms-modal div.ctools-modal-content .modal-content {
  padding: 15px;
  width: 100% !important;
  min-width: 300px;
}

div#modalBackdrop.backdrop-default {
  z-index: 10002 !important;
}
div#modalContent.modal-default {
  z-index: 10003 !important;
}

#modalContent {
  position: fixed !important;
  top: 10% !important;
  bottom: 10% !important;
  left: 5%  !important;
  right: 5%  !important;
}

@media (min-width: 61.25em) {
  .sevone-webforms-modal .webform-client-form .mktoFormRow,
  .sevone-webforms-modal .webform-client-form .webform-component-textfield,
  .sevone-webforms-modal .webform-client-form .webform-component-email,
  .sevone-webforms-modal .mktoForm .mktoFormRow,
  .sevone-webforms-modal .mktoForm .webform-component-textfield, .mktoForm .webform-component-email {
    margin: 0;
    padding: 1%;
  }
}
.sevone-webforms-modal div.ctools-modal-content .form-item {
  padding: 1%;
  margin: 0;
}
.sevone-webforms-modal div.ctools-modal-content .resizable-textarea {
  margin: 0;
}
.sevone-webforms-modal div.ctools-modal-content .form-item label {
  width: auto;
  float: none;
}

.sevone-webforms-modal .webform-confirmation {
  text-align: center;
}