#ouibounce-modal {
  font-family: 'Open Sans', sans-serif;
  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: 700px;
  height: 350px;
  background-color: #FFFFFF;
  z-index: 1;
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 4px;
  -webkit-animation: popin 0.3s;
  animation: popin 0.3s;
    max-height: 100%;
    overflow-y: auto;
}
#ouibounce-modal .modal-debt {
  width: 600px;
  height: 400px;
  background-color: #FFFFFF;
  z-index: 1;
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 4px;
  -webkit-animation: popin 0.3s;
  animation: popin 0.3s;
}
#ouibounce-modal .modal-title {
  background-color: #16662a;
  color: #fff;
  padding: 10px;
  margin: 0;
  border-radius: 4px 4px 0 0;
  text-align: center;
}
#ouibounce-modal .modal-title-tax {
  background-color: #a31a1a;
  color: #fff;
  padding: 10px;
  margin: 0;
  border-radius: 4px 4px 0 0;
  text-align: center;
}
#ouibounce-modal .modal__title {
  color: #fff;
  font-size: 1.2em;
  margin: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  background: none;
}
#ouibounce-modal .modal-body {
  padding: 5px 35px;
    padding-bottom: 0;
}
#ouibounce-modal p {
  color: #344a5f;
  line-height: 1.4em;
  margin: 1em 0;
}
#ouibounce-modal form {
  text-align: center;
  margin-top: 35px;
}
#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] {
  text-transform: uppercase;
  font-weight: bold;
  padding: 12px;
  font-size: 1.1em;
  border-radius: 4px;
  color: #fff;
  background-color: #16662a;
  border: none;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
}

#ouibounce-modal .button2 {
  text-transform: uppercase;
  font-weight: bold;
  padding: 12px;
  text-align: center;
  font-size: 1.5em;
  border-radius: 4px;
  color: #fff;
  background-color: #16662a;
  border: none;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
}

#ouibounce-modal .button1 {
	width:307px;
	height:53px;
	background:url(/assets/images/button-en.png) bottom no-repeat;
	border:none;
	cursor:pointer;
	margin-top:-10px;
	margin-bottom:10px;
}

#ouibounce-modal .taxbutton {
	width:315px;
	height:59px;
	background:url(../taxdebt/images/button_consultation.png) bottom no-repeat;
	border:none;
	cursor:pointer;
	margin-top:-10px;
	margin-bottom:10px;
}

#ouibounce-modal .taxbutton-popup {
	width:315px;
	height:59px;
	background:url(/assets/images/tax-button-popup.png) bottom no-repeat;
	border:none;
	cursor:pointer;
	margin-top:-10px;
	margin-bottom:10px;
}
#ouibounce-modal .esbutton-popup {
	width:315px;
	height:59px;
	background:url(/assets/images/es-button-popup.png) bottom no-repeat;
	border:none;
	cursor:pointer;
	margin-top:-10px;
	margin-bottom:10px;
}

#ouibounce-modal .taxbutton1 {
	width:315px;
	height:59px;
	background:url(../images/button_tfc.png) bottom no-repeat;
	border:none;
	cursor:pointer;
	margin-top:-10px;
	margin-bottom:10px;
}

#ouibounce-modal form p {
  text-align: left;
  margin-left: 35px;
  opacity: 0.8;
  margin-top: 1px;
  padding-top: 1px;
}
#ouibounce-modal .modal-footer {
  /*position: absolute;*/
  bottom: 20px;
  text-align: center;
  width: 100%;
}
#ouibounce-modal .modal-footer p {
  text-transform: capitalize;
  cursor: pointer;
  display: inline;
  border-bottom: 1px solid #344a5f;
}

#ouibounce-modal .modal__title {
    margin: 0;
}
#ouibounce-modal .taxbutton-popup {
    display: inline-block;
}
#ouibounce-modal .esbutton-popup {
    display: inline-block;
}

#ouibounce-modal .modal-button-container {
    text-align: center;
}
#ouibounce-modal p {
    color: #344a5f;
    line-height: 1.25em;
    margin: 0.8em 0;
}

#ouibounce-modal .modal__btn {
    font-size: 0;
    vertical-align: top;
    margin-top: 15px;
    margin-bottom: 20px;
    width: 310px;
    height: 54px;
    outline-width: 1px;
}

#ouibounce-modal .modal__btn:focus {
    outline-width: 1px;
}

@-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 screen and (max-width: 600px) {

	#ouibounce-modal {
		display: none !important;
	}
}
