#ouibounce-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
}
#ouibounce-modal .underlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.5);
  cursor: pointer;
  -webkit-animation: fadein 0.5s;
  animation: fadein 0.5s;
}
#ouibounce-modal .modal {
  width: 600px;
  height: 600px;
  background-color: white;
  z-index: 1;
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 0;
  -webkit-animation: popin 0.3s;
  animation: popin 0.3s;
}
#ouibounce-modal .modal-title {
  font-size: 18px;
  background-color: #1f262e;
  color: #fff;
  padding: 10px;
  margin: 0;
  /*border-radius: 4px 4px 0 0;*/
  text-align: center;
}

#ouibounce-modal .modal-title h2{
  font-size: 5.4rem;
  line-height: 6rem;
  margin: 20px 0;
  padding: 0;
  letter-spacing: 0.05rem;
}

#ouibounce-modal h3 {
  color: #fff;
  font-size: 1.3rem;
  line-height: 1.3rem;
  margin: 0.2em;
  text-transform: none;
  font-weight: 300;
  font-family: Roboto;
}
#ouibounce-modal .modal-body h2{
  padding: 5px 35px;
  font-size: 2rem;
  margin: 0;
  line-height: 2rem;
  letter-spacing: 0.05rem;
}
#ouibounce-modal form input[type=text] {
  padding: 12px;
  font-size: 1.2em;
  width: 300px;
  /*border-radius: 4px;*/
  border: 1px solid #ccc;
  -webkit-font-smoothing: antialiased;
}
#ouibounce-modal form input[type=submit] {
  /*border-radius: 4px;*/
  border: none;
  cursor: pointer;
}

#ouibounce-modal form input[type=checkbox]{
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
  appearance: checkbox;
}
#ouibounce-modal form input[type=radio]{
  -webkit-appearance: radio;
  -moz-appearance: radio;
  appearance: radio;
}

#ouibounce-modal .modal-footer {
  position: absolute;
  bottom: 20px;
  text-align: center;
  width: 100%;
  color: #ccc;
}
#ouibounce-modal .modal-footer p {
  text-transform: capitalize;
  cursor: pointer;
}

#ouibounce-modal fieldset{
  border: 0;
}

.next1,
.next2,
.next3,
.next4,
.ms-submit{
  background: #ee1d25;
  color: white;
  cursor: pointer;
  transition: 1s ease;
}
.next2,
.next3,
.next4,
.ms-submit{
  font-family: "Kizo";
  font-size: 2rem;  
  margin: 0 auto;
  width: 300px;
  letter-spacing: 0.1rem;
}
#fs1{
  font-family: "Kizo";
  font-size: 2.6rem;
  margin: 35px auto;
  width: 330px;
  
}
.next1:hover,
.next1:focus,
.next2:hover,
.next2:focus,
.next3:hover,
.next3:focus,
.next4:hover,
.next4:focus,
.ms-submit:hover,
.ms-submit:focus
{
  background: #3297fd;
}

#msform input, #msform textarea {
  padding: 15px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  
  -webkit-appearance: normal;
  -moz-appearance: normal;
  appearance: normal;
}
.mslabel{

}
.ms-other{
  margin-left: 35px;
}
/*buttons*/


/* checkbox radio*/


#ouibounce-modal form input[type="checkbox"],
#ouibounce-modal form input[type="radio"] { display: none; }

#ouibounce-modal form input[type="checkbox"] + label,
#ouibounce-modal form input[type="radio"] + label{
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 5px;
  margin-left: 35px;
  
  cursor: pointer;
  -webkit-user-select: non;
  -moz-user-select: none;
  -ms-user-select: none;
}

#ouibounce-modal form input[type="checkbox"] + label:last-child,
#ouibounce-modal form input[type="radio"] + label:last-child { margin-bottom: 0; }

#ouibounce-modal form input[type="checkbox"] + label:before,
#ouibounce-modal form input[type="radio"] + label:before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border: 3px solid #3297FD;
  position: absolute;
  left: 0;
  top: 0;
  opacity: .6;
  -webkit-transition: all .12s, border-color .08s;
  transition: all .12s, border-color .08s;
}

#ouibounce-modal form input[type="checkbox"]:checked + label:before,
#ouibounce-modal form input[type="radio"]:checked + label:before {
  width: 10px;
  top: -5px;
  left: 5px;
  border-radius: 0;
  opacity: 1;
  border-top-color: transparent;
  border-left-color: transparent;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* end chechbox radio */

.disablefs{
    display: none;
}

#msform input{
    /*margin: 5px 10px 7px 0;*/
    /*display: inline-block;*/
}
#msform textarea,
#phonepoll{
  width: 505px;
  margin: 0 35px;
}
#ouibounce-modal form input[type="text"]{
    height: auto;
    padding: 5px;
}



@-webkit-keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
@-ms-keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
@keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
@-webkit-keyframes popin {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 0;
  }

  85% {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}
@-ms-keyframes popin {
  0% {
    -ms-transform: scale(0);
    transform: scale(0);
    opacity: 0;
  }

  85% {
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    opacity: 1;
  }

  100% {
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes popin {
  0% {
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    opacity: 0;
  }

  85% {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width:766px) {
  #ouibounce-modal .modal{
    width: 100%;
    height: 100%;
  }
  #msform textarea, #phonepoll {
    width: 80%;
  }
  #ouibounce-modal .modal-title h2 {
    font-size: 3.4rem;
    line-height: 4rem;
  }
  #ouibounce-modal .modal-body h2 {
    padding: 5px 20px;
    font-size: 1.6rem;
    margin: 0;
    line-height: 1.6rem;
  }
  .ms-other {
    margin-left: 20px;
    font-size: 0.85rem;
  }

}
