/* Reset CSS
 * --------------------------------------- */
 *, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,
form,fieldset,input,textarea,p,blockquote,th,td {
  padding: 0;
  margin: 0;
}
a {
  text-decoration:none;
}
table {
  border-spacing: 0;
}
fieldset,img {
  border: 0;
}
address,caption,cite,code,dfn,em,strong,th,var {
  font-weight: normal;
  font-style: normal;
}
strong{
  font-weight: bold;
}
ol,ul {
  list-style: none;
  margin:0;
  padding:0;
}
caption,th {
  text-align: left;
}
h1,h2,h3,h4,h5,h6 {
  font-weight: normal;
  font-size: 100%;
  margin:0;
  padding:0;
  line-height: 1;
}
q:before,q:after {
  content:'';
}
abbr,acronym { border: 0;
}
::-moz-selection{
  background: #333;
  color: #fff;
  text-shadow: none;
}
::selection {
  background: #333;
  color: #fff;
  text-shadow: none;
}
img {
  display: block;
  margin: 0 auto;
}
.wrapper:after {
  clear: both;
  content: ".";
  display: block;
  font-size: 0;
  height: 0;
  line-height: 0;
  overflow: hidden;
}

/* General CSS
 * --------------------------------------- */
html,
body {
  height: 100%;
  font-family: 'Source Sans Pro', sans-serif;
}
body{
  background: #fff;
  color: #444;
  font-size: 1em;
}
.wrapper {
  margin: 0 auto;
  width: 98%;
  max-width: 960px;
}

/* header */
header {
  padding: 2em 0 2.5em;
}
#logo {
  display: inline-block;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  margin: 0;
}
#logo:hover {
  opacity: .7;
}
#logo img {
  display: block;
  height: auto;
  width: 100%;
}
header select {
  width: 90px;
  font-family: 'Source Sans Pro', sans-serif;
  float: right;
  font-size: 1em;
  background: none;
  border: none;
  color: #fff;
  margin: .5em 0 0;
}

header select option {
  color: black;
}

/* Headings & Typo */
h1 {
  font-size: 2.875em;
  font-weight: 900;
  margin: 0 0 .5em;
}
h2 {
  font-size: 1.625em;
  font-weight: 700;
  margin: 0 0 .5em;
  color: #222;
}
h3 {
  font-size: 1.438em;
  font-weight: 700;
  margin: 0 0 .5em;
  color: #222;
}
h3.search-title {
  margin-bottom: 1.5em;
}
h3.search-title:before {
  content: url("../img/loop.png");
  margin-right: 7px;
  display: inline-block;
  vertical-align: middle;
}
h4 {
  font-size: 1.125em;
  margin-bottom: 1em;
}

a {
  color: #179ecc;
  text-decoration: underline;
}
a:hover {
  color: #222;
}

p {
  font-size: 1em;
  line-height: 1.625em;
  margin: .7em 0;
}

blockquote {
  background: #f2f2f2;
  font-size: 1.313em;
  font-style: italic;
  font-weight: 600;
  padding: 1.5em 2em;
  text-align: center;
  margin-bottom: 2.5em;
  line-height: 1.5em;
}

/* Buttons */
.btn,
input[type="button"] {
  background: #ffe21f;
  border-width: 0 0 5px;
  border-style: solid;
  border-color: #d7ab10;
  color: #222;
  font-weight: 700;
  font-size: 1.125em;
  padding: .8em .5em;
  margin: .7em 0;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.btn:hover,
input[type="button"]:hover {
  opacity: .85;
}

.btn-trans {
  background: rgba(255, 255, 255, .08);
  border-width: 2px;
  border-color: #94d7ee;
  color: #fff;
  font-size: 1em;
  padding: .65em 1em;
}
.btn-action {
  background: #78ca16;
  border-width: 0 0 3px;
  border-color: #599e07;
  color: #fff;
  font-size: 1em;
  text-transform: none;
  padding: .45em 1em;
  margin: 0;
}

/* form */
form {
  display: inline-block;
  width: 100%;
}
label {
  padding: 0 0 .3em;
  display: inline-block;
  width: 100%;
  cursor: pointer;
  font-weight: 300;
}
input,
textarea {
  width: 100%;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #9d9d9d;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1em;
  font-weight: 400;
  padding: .6em;
  margin-bottom: .5em;
  color: #222;
}
input[type="radio"] {
  text-align: left;
  width: auto;
}
textarea {
  margin-bottom: 1em;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border: 1px solid #179ecc;
}

/* Layout parts */
#top {
  background: #179ecc url("../img/bg.jpg") no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  color: #fff;
}

#cta {
  display: inline-block;
  width: 100%;
}

.form-holder {
  background: #fff;
  color: #222;
  float: left;
  width: 48%;
  max-width: 360px;
  padding: 3em 2em 1em;
  margin: 0 0 2.2em;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.form-holder h3 {
  margin-bottom: 1em;
}

.promo {
  float: right;
  width: 100%;
  max-width: 540px;
}
.promo p {
  font-size: 1.125em;
  line-height: 1.556em;
  margin: 0;
}
.promo h3 {
  color: #ffe21f;
  display: inline-block;
  width: 100%;
  margin: 0;
}
.promo h3:before {
  content: "";
  width: 100%;
  max-width: 315px;
  height: 1px;
  background: #80cae4;
  display: block;
  margin: 1em 0;
}
.promo a.btn {
  margin: 1em 0;
}

#main {
  padding: 2.5em 0;
  min-height: 40em;
}

.featured {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 1em 0 0;
}
.featured .block {
  display: inline-block;
  vertical-align: top;
  width: 33%;
  padding:0 5% 0 80px;
  text-align: left;
  margin-bottom: 1em;
  position: relative;
}
.featured .block:first-of-type {
  padding:0 5% 0 65px;
}
.featured .block:last-of-type {
  padding:0 0 0 50px;
}
.featured .block p {
  font-weight: 300;
}
.featured .block img {
  position: absolute;
  left: 0;
  top: 0;
}
.featured .block select {
  position: absolute;
  top: -5px;
  right: 0;
  color: #222;
  font-size: .875em;
  height: 2em;
  line-height: 2em;
  padding: 0 1em 0 .55em;
  font-family: 'Source Sans Pro', sans-serif;
  border: 1px solid #9d9d9d;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  background: rgb(255,255,255);
  background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(237,237,237,1) 100%);
  background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(237,237,237,1) 100%);
  background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(237,237,237,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 );
}

.faq-block {
  display: inline-block;
  width: 100%;
  padding: 2em 0;
}
.faq-nav {
  padding: 1.5em 1em 1.5em 2em;
  background: #f2f2f2;
  float: left;
  width: 38%;
  font-size: 1.125em;
}
.faq-nav li {
  padding: .25em 0;
}
.faq-nav li a {
  text-decoration: none;
  color: #222;
}
.faq-nav li a:hover,
.faq-nav li.active a {
  text-decoration: underline;
}
.faq-nav li.active:after {
  content: "\2192";
  margin-left: 7px;
}
.faq-content {
  float: right;
  width: 60%;
  padding: 2em 0 0 0;
}
.faq-content p {
  font-weight: 300;
}

/* table */
table {
  background: #f2f2f2;
  border-collapse: collapse;
  border-spacing: 0;
  border-width: 0;
  margin: 0 0 1.6em;
  width: 100%;
}
table.result-holder {
  border-collapse: separate;
  border-spacing: 20px;
}
table tr {
  padding: 1.5em 0;
}
table th,
table td {
  padding: 0 1.5em;
}
table th {
  border-left: 1px solid #ccc;
  color: #999;
  font-size: .938em;
}
table th:first-of-type {
  border: 0;
}
table td {
  color: #444;
  vertical-align: top;
}

/* footer */
#footer {
  background: #474747;
  padding: 3em 0;
}
#footer .copyright {
  float: right;
  border-left: 1px solid #7f7f7f;
  padding: 0 0 .5em 2em;
  margin: 0;
  color: #d9d8d8;
  max-width: 370px;
  line-height: 1.625em;
}
#footer .copyright strong {
  display: block;
  color: #fff;
}

/* responsive */
@media screen and (max-width:980px) {
  .wrapper { width: 95%; max-width: 800px; }
  .form-holder { padding: 3em 1.5em 1em; }
  .promo { width: 50%; }
  .faq-nav { padding: 1.5em 0.5em 1.5em 1.4em; }
}
@media screen and (max-width:800px) {
  .wrapper { max-width: 600px; }
  #main { min-height: inherit; }
  #cta { text-align: center; }
  .form-holder { width: 100%; max-width: 400px; float: none; display: inline-block; }
  .promo { width: 100%; max-width: inherit; float: none; display: inline-block; padding-bottom: 2em; }
  .promo h3:before { max-width: inherit; }
  .featured .block { width: 100%; margin-bottom: 2em; }
  .faq-block { padding: 1em 0 0; }
  .faq-nav, .faq-content { width: 100%; }
  /* table responsive */
  table.result-holder { padding: 0; border-collapse: collapse; border-spacing: 0; border: 1px solid #999; }
  table th { border: 0; display: none; }
  table td { display: block; position: relative; padding: 10px 10px 10px 120px; border-top: 1px solid #999; }
  table td:first-of-type { border: none; }
  table td:before { 
    background: #d3d3d3;
    border-right: 1px solid #999; 
    content: attr(data-th)": "; 
    font-weight: bold;
    padding: 10px 3px 3px 10px; 
    width: 110px; 
    height: 100%;
    display: inline-block; 
    position: absolute; 
    left: 0; top: 0; }
}
@media screen and (max-width:600px) {
  h1 { font-size: 2em; }
  blockquote { font-size: 1.2em; padding: 1em; }
  .form-holder { padding: 2em 1em 1em; }
  #footer #logo { margin: 0 auto; }
  #footer .wrapper { text-align: center; }
  #footer .copyright { border: 0; padding: 0; max-width: inherit; width: 100%; }
}

.payment_gateway {
  margin-bottom: 20px; 
  width: 100%; 
  font-size: 16px;
}

.required-field {
  color: red;
}

div.errors {
  color: red;
  margin-bottom: 7px;
  font-size: 0.9em;
}

.search-in-progress {
  color: #777;
}

.popup-common {
    width: 100%;
    min-height:100%;
    background-color: rgba(0,0,0,0.5);
    overflow: hidden;
    position: fixed;
    top: 0px;
    z-index: 100;
}

.popup-dialog {
    position: relative;
    margin: 40px auto 0px auto;
    width: 300px;
    padding: 15px;
    background-color: #f0f0f0;
    border-radius: 5px;
    box-shadow: 0px 0px 10px #000;

    text-align: center;
}

.popup-dialog p, .popup-dialog div, .popup-dialog button {
    text-align: center;
}

.popup-dialog h1 {
    font-weight: bold;
    font-size: 1.5em;
}

.popup-dialog button {
    background-color: #dddddd;
    border: solid 1px #000000;
    width: 100%;
    padding: 5px;
    min-height: 45px;
    margin: 10px 0 0 0;
    cursor: pointer;
}

.popup-dialog .downsellPrice {
    font-weight: bold;
}

.popup-dialog button.downsell {
    background-color: #ddddff;
}

.close-button {
    position: absolute;
    right: 5px;
    top: -5px;
    font-size: 1.5em;
    cursor: pointer;
}
