/*-- Modal Dialog Box (popup)
-----------------------------------------------------:-)-*/
#popup {
  width: 100%;
  height: 100%;
  min-height: 440px;
  padding: 0px;
  margin: 0;
  overflow: auto;
  background: #fff;
  position: relative;
}
#popup .top {
  padding: 10px 10px 0;
  position: relative;
}
#popup .bottom {
  background: #2097a4;
  margin: -10px 0 0;
  padding: 10px 10px;
  position: relative;
  overflow: auto;
}
#popup .bottom .newsletter .left {
  float: left;
  width: 48%;
}
#popup .bottom .newsletter .left table.forminput {
  width: 100%;
  /* removes all the table borders put in there by woocommerce :P */

}
#popup .bottom .newsletter .left table.forminput tbody tr:first-child th,
#popup .bottom .newsletter .left table.forminput tbody tr:first-child td,
#popup .bottom .newsletter .left table.forminput th,
#popup .bottom .newsletter .left table.forminput td {
  border-bottom: 0;
  border-right: 0;
  border-top: 0;
  padding: 0;
}
#popup .bottom .newsletter .left table.forminput input {
  background: #fff;
  border: 1px solid #eeeeee;
  color: #777777;
  margin-left: 0;
  margin-right: 2%;
  padding: 7px 7px;
  width: 89.6%;
}
#popup .bottom .newsletter .left table.forminput input.name-a,
#popup .bottom .newsletter .left table.forminput input.name-b {
  background: #ffffff url(images/user.png) no-repeat 2% 50%;
  padding-left: 30px;
}
#popup .bottom .newsletter .left table.forminput input.name-c {
  background: #ffffff url(images/mail.png) no-repeat 2% 50%;
  padding-left: 30px;
}
#popup .bottom .newsletter .right {
  float: right;
  width: 48%;
}
#popup .bottom .newsletter .right table.facebook {
  width: 100%;
}
#popup .bottom .newsletter .right table.facebook input#newsubmit {
  -webkit-border-top-right-radius: 4px;
  -webkit-border-bottom-right-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
  -webkit-border-top-left-radius: 4px;
  -moz-border-radius-topright: 4px;
  -moz-border-radius-bottomright: 4px;
  -moz-border-radius-bottomleft: 4px;
  -moz-border-radius-topleft: 4px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
  background: #555555;
  border: 1px solid #555555;
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  margin: 0;
  padding: 5px 7px;
  width: 100%;
}
#popup .bottom .newsletter .right table.facebook input#newsubmit:hover {
  background: #eb4827;
  border: 1px solid #eb4827;
  cursor: pointer;
}
#popup .bottom .newsletter .right table.facebook a.newsletter-fb {
  -webkit-border-top-right-radius: 4px;
  -webkit-border-bottom-right-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
  -webkit-border-top-left-radius: 4px;
  -moz-border-radius-topright: 4px;
  -moz-border-radius-bottomright: 4px;
  -moz-border-radius-bottomleft: 4px;
  -moz-border-radius-topleft: 4px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
  background: #3b5998 url(images/f.png) no-repeat 2% 50%;
  color: #fff;
  display: block;
  font-size: 11px;
  padding: 8px 7px 7px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  width: auto;
}
#popup .bottom .newsletter .right table.facebook a.newsletter-fb:hover {
  background: #4a6fc0 url(images/f.png) no-repeat 2% 50%;
  text-decoration: none;
}
#popup .bottom .newsletter .right table.facebook p.formcenter {
  color: #fff;
  text-align: center;
  margin: 5px 0;
}
