
.all{width:1018px;margin: 0 auto;position:relative;}
.logo{width: 100%;text-align: center;display: block;margin: 65px 0;}
.one,.two,.three{float:left;display: block;width: 100%;}
.two{margin-bottom: 20px;}
.three{margin-bottom: 30px;}
.one .left, .three .left{float:left;width:50%;position:relative;}
  .one .left img, .three .left img{margin: auto; width: auto;height: auto;}
.one .right, .three .right{float:right;width:50%;position:relative;}
.one .right p, .three .right p{color:#a48a7a;font-size:16px;font-family: Arial,sans-serif;font-weight: normal;line-height: 21px;margin: 0}
.three .right p{line-height: 23px;}
.one .left h1{position:absolute;color:#ffffff;text-align: center;left: 0;right: 0;top:32%;bottom: 0;font-size:40px;font-family: Arial,sans-serif;font-weight: normal;text-transform:uppercase; }
.two h2{text-align: center;margin:60px 0;color:#0a3b59;text-transform: uppercase;font-size: 20px;font-family: Arial,sans-serif; font-weight: normal;}
.three .right h3{text-transform: uppercase;color: #0a3b59;font-size: 20px;font-weight: normal;font-family: arial, sans-serif;width:248px;line-height:70px;border-bottom: 1px solid #0a3b59;}
.three span{color:#0a3b59;font-size:12px;margin: 30px 0 0;float:left;font-family: Arial,sans-serif;font-weight: normal;clear: both;}

div.mask{cursor:pointer;position: absolute; left:0; right: 0; top: 0; bottom: 0; background: rgba(0,0,0,0.7); z-index: 100;}
div.card{position:absolute; width:484px; height:483px; border:1px solid #a48a7a; background:#ffffff; left:0; bottom: 0; right:0; top:0; margin: auto;  z-index: 110;}
.card .close{float: right;margin:19px 26px 0 0; cursor: pointer;}
.card h3{color: #0a3b59; font-family: Arial, sans-serif; font-size: 36px; font-weight: normal; position:absolute; top:85px; left:53px; border-bottom: 2px solid #a48a7a; width: 266px; line-height: 72px; text-transform: uppercase;}
.card .response{position: absolute; bottom: 135px; left: 53px;font-family: Arial, sans-serif; font-weight: normal; font-size: 14px; color: #a48a7a;}
.card .note{position: absolute; bottom: 47px; left: 53px;font-family: Arial, sans-serif; text-transform: uppercase; font-weight: normal; font-size: 16px; color: #0a3b59;}

/* form starting stylings ------------------------------- */
.group { 
  width:48.5%;
  position:relative; 
  margin-bottom:45px; 
}
.group.left{float:left;}
.group.right{float:right;}
input         {
  font-family: Arial,sans-serif;font-weight: normal;
  padding:10px 10px 10px 5px;
  display:block;
  width:100%;
  border:none;
  border-bottom:1px solid #757575;
}
::-webkit-input-placeholder { color:#a48a7a;font-style: italic;font-size: 16px;}
::-moz-placeholder { color:#a48a7a;font-style: italic;font-size: 16px;} /* firefox 19+ */
:-ms-input-placeholder { color:#a48a7a;font-style: italic;font-size: 16px;} /* ie */
input:-moz-placeholder { color:#a48a7a;font-style: italic;font-size: 16px; }

input:focus     { outline:none; }

/* LABEL ======================================= */
label          {
  color:#0a3b59; 
  font-size:16px;
  font-family: Arial,sans-serif;font-weight: normal;
  pointer-events:none;
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}
form input[type="submit"]{cursor:pointer;height:53px;width:116px;font-size:16px;float:right;font-weight: normal;text-transform: uppercase; text-align: center;background: white;border: 2px solid #a48a7a;color:#a48a7a;}
/* active state */
input:focus ~ label, input:valid ~ label    {
  top:-20px;
  font-size:14px;
  color:#5264AE;
  font-family: Arial,sans-serif;font-weight: normal;
}

/* BOTTOM BARS ================================= */
.bar  { position:relative; display:block; width:100%; }
.bar:before, .bar:after   {
  content:'';
  height:2px; 
  width:0;
  bottom:1px; 
  position:absolute;
  background:#5264AE; 
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}
.bar:before {
  left:50%;
}
.bar:after {
  right:50%; 
}

/* active state */
input:focus ~ .bar:before, input:focus ~ .bar:after {
  width:50%;
}

/* HIGHLIGHTER ================================== */
.highlight {
  position:absolute;
  height:60%; 
  width:100px; 
  top:25%; 
  left:0;
  pointer-events:none;
  opacity:0.5;
}

/* active state */
input:focus ~ .highlight {
  -webkit-animation:inputHighlighter 0.3s ease;
  -moz-animation:inputHighlighter 0.3s ease;
  animation:inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
  from { background:#5264AE; }
  to  { width:0; background:transparent; }
}
@-moz-keyframes inputHighlighter {
  from { background:#5264AE; }
  to  { width:0; background:transparent; }
}
@keyframes inputHighlighter {
  from { background:#5264AE; }
  to  { width:0; background:transparent; }
}
@media (max-width: 1017px){
  .all{width:auto;margin: 0 20px;position:relative;}
  .one .left, .three .left{float:left;width:100%;position:relative;text-align: center;}
  .one .left img, .three .left img{margin: auto;}
  .one .right, .three .right{float:left;width:100%;position:relative;}
  form input[type="submit"]{width: 100%;}
}
@media (max-width: 487px){
  .one .left img, .three .left img{margin: auto; width: 100%;height: auto;}
}