/* Global style */

body{
  font-family: 'Lato', Arial;
  background: #f9f9f9;
}

.main-wrap{
  background: #fff;
  padding: 10px;
  max-width: 480px;
  margin: 20px auto;
  border: 1px solid #efefef;
  box-shadow: 0px 0px 1px #f3f3f3;
  border-radius: 3px;
}

.main-wrap legend{
  padding-bottom: 5px;
  margin-bottom: 7px;
  color: #d73c3c;
}

.main-wrap input[type="text"],
.main-wrap input[type="email"],
.main-wrap input[type="number"],
.main-wrap textarea{
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}

.main-wrap textarea{
  height: 34px;
}

.main-wrap .form-control:focus{
  border-color: #d73c3c;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(215,60,60,0.25);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(215,60,60,0.25)
}

.main-wrap label em{
  color: #d73c3c;
  font-style: inherit;
  margin-left: 3px;
}

label.error{
  color: #d73c3c;
  display: block;
  font-weight: 100;
  font-size: 12px;
}

.form-control.error{
  border-color: #d73c3c;
  box-shadow: none !important;
  background: #fff9f7;
}

/* Profile section style */
.profile{
  margin-bottom: 20px;
}

.profile .form-group:last-child{
  margin-bottom: 0;
}

.order-image-wrap{
  width: 99px;
}

.small-notif{
  font-size: 11px;
  color: #8e8e8e;
}

/* Order section style */
.order-list{
  display: none;
}

.order-list tr td{
  font-size: 13px;
}

.button-wrap{
  margin-bottom: 15px;
}

.button-wrap button,
.action-wrap .send-btn{
  width: 100%;
  border-radius: 3px;
  background: #d73c3c;
  border-color: transparent;
  padding: 5px 0;
  font-size: 16px;
  color: #fff;
}

.button-wrap button.btn.focus,
.button-wrap button.btn:focus,
.button-wrap button.btn:hover{
  color: #fff;
}

/* Return cost section */
.return-image{
  margin-bottom: 20px;
}

.return-image img{
  width: 100%;
}

.action-wrap button{
  width: 100%;
  margin-bottom: 10px;
}

.action-wrap button:last-child{
  margin-bottom: 0;
}

.get-voucher-wrap{
  border: 1px solid #54ca92;
  padding: 20px;
}

.get-voucher-wrap .get-voucher{
  margin-bottom: 0;
  position: relative;
}

.get-voucher button{
  height: 50px;
  background: #54ca92;
  position: relative;
  z-index: 1;
}

.get-voucher em{
  font-size: 13px;
  font-style: normal;
  margin-bottom: 10px;
  display: block;
}

.email-voucher{
  display: none;
}

.email-voucher input[type="text"]{
  margin-top: 15px;
}

.email-voucher .form-group{
  margin-bottom: 0;
}

.email-voucher .form-control:focus{
  border-color: #54ca92;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(84,202,146,0.2);
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(84,202,146,0.2);
}

.email-voucher em{
  font-size: 12px;
}

/* modal style */
#buktiFoto{
  top: 20%;
  /*margin-top: -155px;*/
}

#buktiFoto .modal-dialog{
  max-width: 462px;
  width: 100%;
}

#buktiFoto .modal-body{
  padding: 0;
}

#buktiFoto .modal-content{
  border-radius: 0;
  box-shadow: none;
  border-color: transparent;
}

.close-photo{
  position: absolute;
  right: 10px;
  top: 10px;
  color: #fff;
  opacity: 1;
  text-shadow: none;
}

/* Success icon */
.succes-icon {
  background: #54ca92;
  width: 100%;
  height: 50px;
  border-radius: 2px;
  position: absolute;
  top: 28px;
  z-index: 0;
}

.succes-icon svg{
  width: 70px;
  height: 50px;
  margin-top: -6px;
}

.succes-icon polyline {
  display: none;

  fill: none;
  stroke: #fff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 55;

  -webkit-animation: succesIconAnim 0.3s ease-in 1 paused;

  *-webkit-animation-name: succesIconAnim;
  *-webkit-animation-duration: 0.3s;
  *-webkit-animation-timing-function: ease-in;
  *-webkit-animation-iteration-count: 1;
  *-webkit-animation-play-state: paused;
}

@-webkit-keyframes succesIconAnim {
  from {
    stroke-dashoffset:50;
  }
  to {
    stroke-dashoffset:0;
  }
}


/* media query style for smartphone, tablet*/

@media screen and (max-width: 320px){
  .succes-icon{
    top: 46px;
  }
}

@media screen and (max-width: 480px){
  #buktiFoto .modal-dialog {
    max-width: inherit;
    width: auto;
  }
}

@media screen and (min-width: 481px) and (max-width: 640px){
  .main-wrap {
      max-width: 100%;
  }
}

@media screen and (min-width: 667px) and (max-width: 1024px){
  .main-wrap {
      max-width: 100%;
  }
}