
/* GLOBAL */ 

body {
  font-family: "PT Sans", sans-serif;;
  background: #e9e9e9;
  font-size: 15px;
}

h1 {
  font-size: 17px;
  margin: 9px 0;
  font-weight: bold;
}

h2 {
  font-size: 15px;
  font-weight: normal;
  color: #5a5a5a;
  margin: 5px 0;
}

h2 span {
  font-weight: bold;
}

a {
  color: #818181;
}

a:hover, a:active, a:focus {
  outline: 0;
  text-decoration: none;
  color: #f6851f;
}



/* BOOTSTRAP */ 

.form-control {
   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) inset;
   font-size: 15px;
   height: 38px;
   transition: 0.3s;
}

.form-control:focus {
   transition: 0.3s; 
}


.container {
  width: 100% !important;
  padding: 0 30px;
  max-width: 450px;
}

.mid-container {
  max-width: 400px;
}

.text-content .mid-container {
  padding: 0;
}

/* CUSTOM */


.top-container {
  position: relative;
  padding: 30px 0 10px;
  text-align: center;
}

.top-container.text {
  padding-bottom: 25px;
}

.top-container .close {
  width: 14px;
  height: 15px;
  background: url('../img/close.png');
  display: block;
  position: absolute;
  top: 14px;
  right: 14px;
  opacity: 1;
}

#email-container {
  margin: 15px 0 10px;
}

.payment-tabs {
  border-top: 1px solid #d9d8d9;
}

.text-content,
.tab-content {
  box-shadow: 0 -4px 4px #d4d4d4 inset, 0 4px 4px #d4d4d4 inset;
}

.text-content {
  padding: 30px 10px;
  background: #f7f7f7;
  color: #5a5a5a;
}

.text-small {
  font-size: 13px;
}

.text-content .small {
  font-size: 13px;
  color: #818181;
  margin-top: 10px;
}

.payment-tabs > li {
  width: 50%;
  border: 0;
}

.payment-tabs > li > a {
  border-radius: 0;
  border: 0;
  border-top: 1px solid #fff !important;
  text-align: center;
  color: #5a5a5a;
  background: #e9e9e9;
  height: 38px;
  line-height: 36px;
  padding: 0;
  font-size: 15px;
}

.payment-tabs > li > a:hover {
  color: #f6851f;
  background: #e9e9e9;   
}

.payment-tabs > li.active > a, 
.payment-tabs > li.active > a:hover, 
.payment-tabs > li.active > a:focus {
   background: #f7f7f7;
   color: #f6851f;
   border-width: 1px 0 0 0;
}

.pay-container {
  padding-top: 45px;
  padding-bottom: 10px;
}

/*
.pay-container input:focus {
  position: relative;
  z-index: 5;
}
*/

#email-container input {
  background: url("../img/icon-email.png") no-repeat scroll 8px 12px #fff;
  padding-left: 30px;
  height: 38px;
}


#card-number-container {
  position: relative;
}

#card-number-container input {
  background: url("../img/icon-card.png") no-repeat scroll 8px 12px #fff;
  padding-left: 30px;
  border-bottom: 0 none;
  border-radius: 4px 4px 0 0;
}

#card-number-container .logo {
  position: absolute;
  right: 7px;
  top:9px;
  width: 32px;
  height: 20px;  
  transition: 0.4s;
  transform: scale(0.1) rotate(30deg);
  opacity: 0;
  z-index: 6;

}

#card-number-container.visa .logo {
  background: url("../img/card-visa.png") #fff;
  transition: 0.4s;
  transform: scale(1);
  opacity: 1;
  transition-timing-function: cubic-bezier(0.64, 0.57, 0.67, 1.53);
}


#card-date-container .input-group-addon {
  background: url("../img/icon-valid.png") no-repeat scroll 9px 11px #f5f5f5;
  padding-left: 30px;  
  font-size: 15px;
}

#card-date-container .input-group-addon,
#card-date-container .form-control {
  border-radius: 0;
}

#card-ccv-container {
  position: relative;
}

#card-ccv-container input {
  border-radius: 0 0 4px 4px;
  background: url("../img/icon-ccv.png") no-repeat scroll 8px 12px #fff;
  padding-left: 30px;
  border-top: 0;
}

#card-ccv-container .info {
  width: 30px;
  height: 34px;
  top: 0;
  right: 0;
  position: absolute;
  cursor: pointer;
}

#card-ccv-container .info:after {
  width: 20px;
  height: 20px;
  top: 8px;
  right: 7px;
  background: url('../img/info.png');
  position: absolute;
  content: ' ';
  display: block;
}

#card-ccv-container.hover .info:after {
  background-position: bottom;
}


.info-text {
  background: #b1b1b1;
  color: #fff;
  font-size: 13px;
  padding: 5px;
  border-radius: 4px;
  margin: 0 0 10px;
  position: relative;
  opacity: 0;
  margin-top: 0px;
  transition: 0.5s;
  text-align: center;
}

.info-text:after {
  transition: 0.5s;
  position: absolute;
  border: 8px solid;
  content: ' ';
  width: 0;
  height: 0;
  border-color: transparent transparent #b1b1b1;
  top: 0;
  right: 10px;
}

.hover .info-text {
  transition: 0.5s;
  margin: 10px 0 0;
  margin-bottom: 0;  
  opacity: 1;  
}

.hover .info-text:after {
  transition: 0.5s;
  top: -16px;
}

.content {
  background: #f7f7f7;
}

.bottom-container {
  background: #e9e9e9;
}

.bottom-container .confirm {
  margin: 15px 0;
  background: #f6851f;
  background: linear-gradient(to bottom, #f6851f 0%, #fa7a11 100%);
  border-radius: 4px;
  color: #fff;
  text-shadow: 0 1px 1px #c76411;
  display: block;
  padding: 5px;
  text-align: center;
  line-height: 28px;
  height: 38px;
  font-size: 17px; 
  font-weight: bold;
}


.transfer-cotnainer {
  padding: 20px 0;
  text-align: center;
  max-width: 600px;
}

.transfer-cotnainer a {
  border: 1px solid #d9d9d9;
  display: inline-block;
  margin: 3px;
  padding: 1px;
  transition: box-shadow 0.5s;
}

.transfer-cotnainer.error a {
  border: 1px solid #e96666;
  box-shadow: 0 0 5px #e96666;
}

.transfer-cotnainer a.active {
  border: 2px solid #66afe9 !important;
  padding: 0;
  box-shadow: 0 0 5px #66afe9;
  transition: box-shadow 0.5s, border-color 0.5s;
}

.transfer-cotnainer a:hover {
  border-color: #f6851f;
}

#payment-transfer {
  position: relative;
  padding-bottom: 15px;
}

.picked-transfer {
  background: #59a4e5;
  text-align: center;
  color: #fff;
  text-shadow: 0px 2px 0px #4a88bd;
  padding: 5px;
  width: 100%;
  display: none;
  font-size: 13px;
}


input[type=checkbox] {
  display: none;
}

input[type=checkbox] + label {
  position: relative;
  padding-left: 24px;
  font-weight: normal;
}

input[type=checkbox] + label:after {
  position: absolute;
  top: 0;
  left: 0;
  background: url('../img/checked.png') 2px -15px no-repeat #fff;
  border: 1px solid #cecece;
  width: 17px;
  height: 17px;
  border-radius: 4px;
  content: ' ';
  transition: 0.2s;
}

input[type=checkbox]:checked + label:after {
  background-position: 2px 3px;
  transition: 0.2s;
  transition-timing-function: cubic-bezier(0.64, 0.57, 0.67, 1.53);
}


input.error {
  border: 1px solid #e96666;
  box-shadow: 0 0 6px #e9b5b5, 0 2px 4px rgba(0, 0, 0, 0.1) inset;
}

input[type=checkbox].error + label:after {
  border: 1px solid #e96666;
  box-shadow: 0 0 6px #e9b5b5, 0 2px 4px rgba(0, 0, 0, 0.1) inset;
}


input:disabled {
  background-color: #f2f2f2 !important;
  color: #818181;
}


ul.errors {
  background: #ea7474;
  padding: 5px;
  margin: 0;
  list-style: none;
}

ul.errors li {
  text-align: center;
  color: #fff;
  font-size: 13px;
  text-shadow: 0 1px 1px #c26060;
}

.bevel {
  height: 0;
  border-top: 1px solid #d9d8d9;
  border-bottom: 1px solid #f7f7f7;
}

.footer {
  padding: 5px 10px;
  font-size: 13px;
  color: #818181;
}

.footer a {
  color: #5b5a5a;
}

.footer a:hover {
  color: #f6851f;
}

.site-logo {
  margin: 0 auto;
  width: 102px;
  height: 30px;
  background: url('../img/logo.png');
}

.result-container {
  padding: 50px 0;
  text-align: center;
  font-size: 17px;
  color: #5a5a5a;
}

.result-container .icon {
  position: relative;;
  margin: 20px auto;
  width: 64px;
  height: 64px;
  transform: scale(0.1);
  opacity: 0;
  background: url('../img/result.png');
}

.result-container .icon.show {
  transition-delay:0.5s;
  transform: scale(1);
  opacity: 1;
  transition-timing-function: cubic-bezier(0.64, 0.57, 0.67, 1.53);
  transition: opacity 0.5s, transform 0.5s;
}


.result-container .icon.success {
  background-position: -128px 0;
}

.result-container .icon:after {
  width: 0px;
  height: 64px;
  position: absolute;
  background: url('../img/result.png') -192px 0;
  top: 0;
  left: 0;
  content: ' ';
}

.result-container .icon.success:after {
  width: 64px;
  transition:1s;
  transition-delay:0.5s;
}


.result-container .icon.fail {
  background-position: -64px 0;
  transform: rotate(90deg);
}



/* Sticky footer */

body.sticky .bottom-container {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 20;
  box-shadow: 0 -4px 4px rgba(0,0,0,0.15);
}

body.sticky .text-content {
  box-shadow: 0 4px 4px #d4d4d4 inset;
}

body.sticky {
  background: #F7F7F7;
}

body.sticky-60 {
  margin-bottom: 60px;
}

body.sticky-104 {
  margin-bottom: 104px;
}

body.sticky .top-container {
  background: #e9e9e9;
}

body.sticky .stick-bottom {
  position: fixed;
  width: 100%;
  left: 0;
  z-index: 20;
}

body.sticky-104 .stick-bottom {
  bottom: 104px;
}

body.sticky .text-content,
body.sticky .tab-content {
  box-shadow: 0 4px 4px #d4d4d4 inset;
}

