.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000000;
}
.modal-backdrop.fade {
  opacity: 0;
}
.modal-backdrop,
.modal-backdrop.fade.in {
  opacity: 0.8;
  filter: alpha(opacity=80);
}
.modal {
  position: fixed;
  top: 10%;
  left:0;
  right:0;
  z-index: 1050;
  width: 560px;
  margin-left: -280px;
  background-color: #ffffff;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 0.3);
  *border: 1px solid #999;
  /* IE6-7 */

  padding-bottom:30px;
  -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding-box;
  background-clip: padding-box;
  outline: none;
}
.modal.fade {
  -webkit-transition: opacity .3s linear, top .3s ease-out;
  -moz-transition: opacity .3s linear, top .3s ease-out;
  -o-transition: opacity .3s linear, top .3s ease-out;
  transition: opacity .3s linear, top .3s ease-out;
  top: -200%;
}
.modal.fade.in {
  top: 10%;
}
.modal-header {
  padding: 9px 15px;
  border-bottom: 1px solid #eee;
}

.modal-header h3 {
  margin: 0;
  line-height: 30px;
}
.modal-body {
  position: relative;
  overflow-y: auto;
  max-height: 400px;
  padding: 15px;
}
.modal-form {
  margin-bottom: 0;
}
.modal-footer {
  padding: 14px 15px 15px;
  margin-bottom: 0;
  text-align: right;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  -webkit-border-radius: 0 0 6px 6px;
  -moz-border-radius: 0 0 6px 6px;
  border-radius: 0 0 6px 6px;
  -webkit-box-shadow: inset 0 1px 0 #ffffff;
  -moz-box-shadow: inset 0 1px 0 #ffffff;
  box-shadow: inset 0 1px 0 #ffffff;
  *zoom: 1;
}
.modal-footer:before,
.modal-footer:after {
  display: table;
  content: "";
  line-height: 0;
}
.modal-footer:after {
  clear: both;
}
.modal-footer .btn + .btn {
  margin-left: 5px;
  margin-bottom: 0;
}
.modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}
.modal-footer .btn-block + .btn-block {
  margin-left: 0;
}

/* Custom */
#couponsModal{ background-color:#ccc; max-width:90%; margin:0 auto;}
#couponsModal .close{ position:absolute; right:15px; top:8px; background:transparent; border:none;}
#couponsModal .modal-title{ text-transform:uppercase; color:#333333; font-size:16px; font-family:"Roboto-Medium"}
#couponsModal .modal-header{ border:none; padding:0;}
#couponsModal .modal-content{ padding:20px;}

/* Login */
#loginModal{width:360px; background-color:#f2f2f2; max-width:90%; margin:0 auto;}
#loginModal .close{ position:absolute; right:15px; top:8px; background:transparent; border:none; font-size:25px;}
#loginModal .modal-header{ background-color:#89bb42; border:none; text-align:center; font-size:18px; text-transform:uppercase; color:#FFF; position:relative;}
#loginModal .modal-content{ padding:15px 30px;}
#loginModal input{  border-radius:0;border:none; border-bottom:1px solid #999999; background:transparent; padding:10px 10px 10px 0; margin-bottom:10px; width:100%; box-shadow:none; }
#loginModal #submitLogin{height:47px; width:93px; color:#333333; background-color:#99cc33; border:none; font-size:18px; border-radius:none;}
#loginModal h1.heading1{ font-size:14px; color:#666;}
#loginModal .signUpLink{ font-size:14px; color:#666666;}
#loginModal .signUpLink .signUpTxt{color:#0066cc; text-decoration:underline;}
#loginModal .signUpLink .freeTxt{color:#ff0000;}

/* Register */
#registerModal{width:360px; background-color:#f2f2f2; max-width:90%; margin:0 auto;}
#registerModal .close{ position:absolute; right:15px; top:8px; background:transparent; border:none; font-size:25px;}
#registerModal .modal-header{ background-color:#89bb42; border:none; text-align:center; font-size:18px; text-transform:uppercase; color:#FFF; position:relative;}
#registerModal .modal-content{ padding:15px 30px;}
#registerModal input{  border-radius:0;border:none; border-bottom:1px solid #999999; background:transparent; padding:10px 10px 10px 0; margin-bottom:10px; width:100%; box-shadow:none; }
#registerModal #submitRegister{height:47px; width:93px; color:#333333; background-color:#99cc33; border:none; font-size:18px; border-radius:none;}
#registerModal h1.heading1{ font-size:14px; color:#666;}
#registerModal .signUpLink{ font-size:14px; color:#666666;}
#registerModal .signUpLink .signUpTxt{color:#0066cc; text-decoration:underline;}
#registerModal .signUpLink .freeTxt{color:#ff0000;}


@media (max-width: 767px) {
  .modal {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    width: auto;
    margin: 0;
  }
  #loginModal .modal-header{font-size:14px;}
  .modal-content .heading1{margin:20px 0;}
  .modal.fade.in {
    top: 20px;
  }
  
  #loginModal{ margin:0; width:auto; }
  
}