/* Card */
.naeca-normal-card {
  float: left;
  min-width: 38%;
  width: 100%;
  min-height: 200px;
  margin: 20px 1% 0 0;
}
.naeca-fields-card {
  padding: 0;
  float: left;
  min-width: 38%;
  margin: 0 1% 0 0;
  border: 1px solid #0077cc;
}
.naeca-fields-card h2 {
  margin: 0 0 10px;
  padding: 20px;
  border-bottom: 1px solid #07c;
  background-color: #0095ff;
  color: white;
}
.naeca-fields-card table {
  margin: 0 20px;
}
.naeca-fields-card p.submit {
  /*background-color: #f9f9f9;*/
  margin: 10px 0 0;
  padding: 20px !important;
  border-top: 1px solid #07c !important;
}
.naeca-fields-basic {
  border-color: #489bb9;
}
.naeca-fields-basic h2 {
  border-color: #489bb9;
  background-color: #52accc;
}
.naeca-fields-card.naeca-fields-basic p.submit {
  border-color: #489bb9 !important;
}
.naeca-fields-pro {
  border-color: #cd0022;
}
.naeca-fields-pro h2 {
  border-color: #cd0022;
  background-color: #cd0022;
}
.naeca-fields-card.naeca-fields-pro p.submit {
  border-color: #cd0022 !important;
}
.naeca-fields-card .form-table td {
  text-align: center;
}

.wp-core-ui .button.basic-submit-class {
  background-color: #489bb9;
  border-color: #489bb9;
  color: #fff;
  padding: 7px 20px;
}
.wp-core-ui .button.basic-submit-class:hover {
  background-color: #52accc;
  border-color: #52accc;
  color: #fff;
}
.wp-core-ui .button.pro-submit-class {
  background-color: #cd0022;
  border-color: #cd0022;
  color: #fff;
  padding: 7px 20px;
}
.wp-core-ui .button.pro-submit-class:hover {
  background-color: #bb0322;
  border-color: #bb0322;
  color: #fff;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 27px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #4fb845; /* ed6f6f & 4fb845 */
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 19px;
  width: 19px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #ed6f6f;
}

input:focus + .slider {
  box-shadow: 0 0 1px #ed6f6f;
}

input + .slider:before {
  -webkit-transform: translateX(23px);
  -ms-transform: translateX(23px);
  transform: translateX(23px);
}
input:checked + .slider:before {
  -webkit-transform: translateX(0px);
  -ms-transform: translateX(0px);
  transform: translateX(0px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 26px;
}

.slider.round:before {
  border-radius: 50%;
}

@media (max-width:1199px) {
  .naeca-fields-card {
    width: 48%;
    margin: 0 2% 0 0;
  }
}
@media (max-width:782px) {
  .naeca-fields-card {
    max-width: 80%;
    width: 100%;
    margin: 0 0 30px;
  }
  .naeca-fields-card .form-table th {
    display: table-cell;
    padding: 0;
  }
  .naeca-fields-card .form-table td {
    padding-top: 10px;
  }
}