.popup {
  background: none repeat scroll 0 0 #FFFFFF;
  border: 5px solid #808080;
  height: 140px;
  left: 35% !important;
  padding: 10px;
  position: fixed !important;
  top: 30% !important;
  width: 300px;
  z-index: 1000;
}   

.popup
{
    color: #58585B;
    font-family: eplicabookitalictt;
    font-size: 15px;
    padding-left: 10px;
    padding-top: 15px;
    width: 300px;
}

.popup h2
{
    color: #BACB65;
    font-family: maya_samuelslight;
    font-size: 22px;
    padding: 0 30px 10px;
    text-align: center; 
}

.popup h2 {
  color: #BBCC66;
  font-family: maya_samuelslight;
  font-size: 16px;
  padding: 0 12px 15px !important;
}

form#registration_success p {
  color: #58595B;
  font-family: EplicaBookItalicTT;
  font-size: 12px;
  padding: 0 59px;
  padding: 0;
  text-align: center;
}



form#registration_success input.closePopup {
  background: none repeat scroll 0 0 #BACB65;
  border: 0 none;
  color: #FFFFFF;
  cursor: pointer;
  display: block;
  float: none;
  font-family: eplicabookitalictt;
  font-size: 15px;
  margin-bottom: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 3px 0;
  position: relative;
  top: 10px;
  width: 90px;
}

form#registration_success input.closePopup:hover {
  text-decoration: underline;
}

form#registration_success {
  border: 3px solid #C8CACC;
  box-shadow: 0 0 8px #666666;
}

#mask {
  position:absolute;
  left:0;
  top:0;
  z-index:9000;
  background-color:#fff;
  display:none;
}  
#boxes .window {
  position:absolute;
  left:0;
  top:0;
  width:440px;
  height:200px;
  display:none;
  z-index:9999;
  padding:20px;
}
#boxes #dialog {
  width:325px; 
  height:160px;
  padding:10px;
  background-color:#ffffff;
  box-shadow: 0 0 5px 5px #bbbbbb;
}

.pop1 {

  color: #BACB65;
  font-family: maya_samuelslight;
  font-size: 18px;
  padding: 5px 50px;
  text-align: center;
}

.pop2 {

  color: #58585B;
  font-family: eplicabookitalictt;
  font-size: 13px;
  padding: 20px 0 35px;
  text-align: center;
}

#dialog a.close {

  background: none repeat scroll 0 0 #BACB65;
  color: white;
  margin-left: 126px;
  padding: 5px 25px;
  text-align: center;
}

#dialog a.close:hover {

  text-decoration: underline;
}

form#access_failure input.closePopup {
  background: none repeat scroll 0 0 #BACB65;
  border: 0 none;
  color: #FFFFFF;
  cursor: pointer;
  display: block;
  float: none;
  font-family: eplicabookitalictt;
  font-size: 15px;
  margin-bottom: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 3px 0;
  position: relative;
  top: 10px;
  width: 90px;
}

form#access_failure input.closePopup:hover {
  text-decoration: underline;
}

form#access_failure {
  border: 3px solid #C8CACC;
  box-shadow: 0 0 8px #666;
}

form#access_success input.closePopup {
  background: none repeat scroll 0 0 #BACB65;
  border: 0 none;
  color: #FFFFFF;
  cursor: pointer;
  display: block;
  float: none;
  font-family: eplicabookitalictt;
  font-size: 15px;
  margin-bottom: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 3px 0;
  position: relative;
  top: 10px;
  width: 90px;
}

form#access_success input.closePopup:hover {
  text-decoration: underline;
}

form#access_success {
  border: 3px solid #C8CACC;
  box-shadow: 0 0 8px #666;
}