/*basic reset*/
* {
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  /*Image only BG fallback*/
  background: #E9E9E9;
}

body {
  font-family: montserrat, arial, verdana;
  width: 100%;
  overflow-x: hidden;
}

.cc-selector input {
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.hideradio {
  visibility: hidden;
  position: absolute;
  top: 5%;
  left: 0;
}

.cc-selector-2 input {
  position: absolute;
  z-index: 999;
}

.spacer {
  clear: both;
  height: 20px;
}

.erkek {
  background-image: url(../img/stepform/1a.png);
}

.kadin {
  background-image: url(../img/stepform/w1a.png);
}

.t1 {
  background-image: url(../img/stepform/1.png);
}

.t2 {
  background-image: url(../img/stepform/2.png);
}

.t3 {
  background-image: url(../img/stepform/3.png);
}

.t4 {
  background-image: url(../img/stepform/4.png);
}

.t5 {
  background-image: url(../img/stepform/5.png);
}

.t6 {
  background-image: url(../img/stepform/6.png);
}

.female .t1 {
  background-image: url(../img/stepform/w1.png);
}

.female .t2 {
  background-image: url(../img/stepform/w2.png);
}

.female .t3 {
  background-image: url(../img/stepform/w3.png);
}

.female .t4 {
  background-image: url(../img/stepform/w4.png);
}

.female .t5 {
  background-image: url(../img/stepform/w5.png);
}

.female .t6 {
  background-image: url(../img/stepform/w6.png);
}

.cc-selector-2 input:active + .drinkcard-cc, .cc-selector input:active +
.drinkcard-cc, .cc-selector-2 input:active + .error1 + .drinkcard-cc,
.cc-selector input:active + .error1 + .drinkcard-cc {
  opacity: 0.9;
}

.cc-selector-2 input:checked + .drinkcard-cc, .cc-selector input:checked +
.drinkcard-cc, .cc-selector-2 input:checked + .error1 + .drinkcard-cc,
.cc-selector input:checked + .error1 + .drinkcard-cc {
  -webkit-filter: none;
  -moz-filter: none;
  filter: none;
}

.drinkcard-cc {
  cursor: pointer;
  background-size: cover;
  /* background-repeat: no-repeat; */
  background-position: center !important;
  display: inline-block;
  width: 100px;
  height: 100px;
  -webkit-transition: all 100ms ease-in;
  -moz-transition: all 100ms ease-in;
  transition: all 100ms ease-in;
  -webkit-filter: brightness(1.2) grayscale(1) opacity(.7);
  -moz-filter: brightness(1.8) grayscale(1) opacity(.7);
  filter: brightness(1.2) grayscale(1) opacity(0.7);
}

.drinkcard-cc:hover {
  -webkit-filter: brightness(1.2) grayscale(.5) opacity(.9);
  -moz-filter: brightness(1.2) grayscale(.5) opacity(.9);
  filter: brightness(1.2) grayscale(0.5) opacity(0.9);
}

.drinkcard-cc.text {
  background: #F00;
  text-align: center;
  color: #FFF;
  font-weight: bold;
  display: block;
  height: auto;
  padding: 20px;
  margin: 20px auto;
  width: 100px;
}

/*form styles*/
.steps {
  width: 100%;
  margin: 10px auto;
  position: relative;
}

.steps fieldset {
  background: #FAFAFA;
  border: 1px solid #DDD;
  border-radius: 3px;
  /* box-shadow: 0 17px 41px -21px rgb(0, 0, 0); */
  padding: 10px 20px;
  /* border-top: 9px solid #7B1FA2; */
  box-sizing: border-box;
  width: 100%;
  /* margin: 0 10%; */
  /*stacking fieldsets above each other*/
  position: absolute;
}

/*Hide all except first fieldset*/
.steps fieldset:not(:first-of-type) {
  display: none;
}

/*inputs*/
.steps label {
  color: #333333;
  text-align: left;
  font-size: 15px;
  font-weight: 200;
  padding-bottom: 7px;
  padding-top: 12px;
  display: block;
  margin: auto;
  margin-top: 7px;
  /* width: 100%; */
  border: 1px solid #B0B0B0;
  max-width: 100%;
}

.steps input, .steps textarea, .steps select {
  outline: none;
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 10px 15px;
  border: 1px solid #D9D9D9;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  color: #837E7E;
  font-family: "Roboto";
  -webkti-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 14px;
  font-wieght: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transition: all 0.3s linear 0s;
  -moz-transition: all 0.3s linear 0s;
  -ms-transition: all 0.3s linear 0s;
  -o-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
}

.steps input:focus, .steps textarea:focus {
  color: #000;
}

.error1 {
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  -moz-box-shadow: 0 0 0 transparent;
  -webkit-box-shadow: 0 0 0 transparent;
  box-shadow: 0 0 0 transparent;
  position: absolute;
  left: 246px;
  /* margin-top: -54px; */
  top: -28px;
  padding: 0 10px;
  height: 39px;
  display: block;
  color: #FFFFFF;
  background: #E63C2F;
  z-index: 5;
  border: 0;
  font: 14px Corbel, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", Verdana, "Verdana Ref", sans-serif;
  line-height: 39px;
  white-space: nowrap;
}

.form-row .error1 {
  top: 5px;
}

.error1:before {
  width: 0;
  height: 0;
  left: -8px;
  top: 14px;
  content: '';
  position: absolute;
  border-top: 6px solid transparent;
  border-right: 8px solid #E63C2F;
  border-bottom: 6px solid transparent;
}

.error-log {
  margin: 5px 5px 5px 0;
  font-size: 19px;
  position: relative;
  bottom: -2px;
}

.question-log {
  margin: 5px 1px 5px 0;
  font-size: 15px;
  position: relative;
  bottom: -2px;
}

/*buttons*/
.steps .action-button, .action-button {
  width: 100px !important;
  background: #E63C2F;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 1px;
  cursor: pointer;
  padding: 10px 5px;
  margin: 0 auto;
  -webkit-transition: all 0.3s linear 0s;
  -moz-transition: all 0.3s linear 0s;
  -ms-transition: all 0.3s linear 0s;
  -o-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
  display: block;
}

.steps .post-button {
  width: 60% !important;
  background: #009688;
}

.steps .next, .steps .submit {
  float: right;
}

.steps .previous {
  float: left;
}

.steps .action-button:hover, .steps .action-button:focus, .action-button:hover,
.action-button:focus {
  background: #003349;
}

.steps .explanation {
  display: block;
  clear: both;
  width: 540px;
  background: #F2F2F2;
  position: relative;
  margin-left: -30px;
  padding: 22px 0px;
  margin-bottom: -10px;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  top: 10px;
  text-align: center;
  color: #333333;
  font-size: 12px;
  font-weight: 200;
  cursor: pointer;
}

/*headings*/
.fs-title {
  margin: 0 0 5px;
  line-height: 1;
  color: #003349;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}

.fs-subtitle {
  font-weight: normal;
  font-size: 13px;
  color: #837E7E;
  margin-bottom: 20px;
  text-align: center;
}

/*progressbar*/
#progressbar {
  margin-bottom: 13px;
  overflow: hidden;
  /*CSS counters to number the steps*/
  counter-reset: step;
  width: 100%;
  text-align: center;
}

#progressbar li {
  list-style-type: none;
  color: rgb(0, 0, 0);
  text-transform: uppercase;
  font-size: 12px;
  width: 25%;
  float: left;
  position: relative;
}

#progressbar li:before {
  content: counter(step);
  counter-increment: step;
  width: 20px;
  line-height: 20px;
  display: block;
  font-size: 10px;
  color: #333;
  background: #DBDBDB;
  border-radius: 3px;
  margin: 0 auto 5px auto;
}

/*progressbar connectors*/
#progressbar li:after {
  content: '';
  width: 100%;
  height: 2px;
  background: #DBDBDB;
  position: absolute;
  left: -50%;
  top: 9px;
  z-index: -1;
  /*put it behind the numbers*/
}

#progressbar li:first-child:after {
  /*connector not needed before the first step*/
  content: none;
}

/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before, #progressbar li.active:after {
  background: #E63C2F;
  color: white;
}

/* RESPONSIVE */
/* moves error logs in tablet/smaller screens */
@media (max-width: 1000px) {
  /*brings inputs down in size */
  .steps input, .steps textarea {
    outline: none;
    display: block;
    width: 100% !important;
  }
  
  /*brings errors in */
  .error1 {
    left: 175px;
    margin-top: 0;
  }
}

@media (max-width: 5px) {
  /*mobile phone: uncollapse all fields: remove progress bar*/
  .steps {
    width: 100%;
    margin: 50px auto;
    position: relative;
  }
  
  #progressbar {
    display: none;
  }
  
  /*move error logs */
  .error1 {
    position: relative;
    left: 0 !important;
    margin-top: 24px;
    top: -11px;
  }
  
  .error1:before {
    width: 0;
    height: 0;
    left: 14px;
    top: -14px;
    content: '';
    position: absolute;
    border-left: 6px solid transparent;
    border-bottom: 8px solid #E62163;
    border-right: 6px solid transparent;
  }
  
  /*show hidden fieldsets */
  .steps fieldset:not(:first-of-type) {
    display: block;
  }
  
  .steps fieldset {
    position: relative;
    width: 100%;
    margin: 0 auto;
    margin-top: 45px;
  }
  
  .steps .next, .steps .previous {
    display: none;
  }
  
  .steps .explanation {
    display: none;
  }
  
  .steps .submit {
    float: right;
    margin: 28px auto 10px;
    width: 100% !important;
  }
}

/* Info */
.info {
  width: 300px;
  margin: 35px auto;
  text-align: center;
  font-family: 'roboto', sans-serif;
}

.info h1 {
  margin: 0;
  padding: 0;
  font-size: 28px;
  font-weight: 400;
  color: #333333;
  padding-bottom: 5px;
}

.info span {
  color: #666666;
  font-size: 13px;
  margin-top: 20px;
}

.info span a {
  color: #666666;
  text-decoration: none;
}

.info span .fa {
  color: rgb(226, 168, 16);
  font-size: 19px;
  position: relative;
  left: -2px;
}

.info span .spoilers {
  color: #999999;
  margin-top: 5px;
  font-size: 10px;
}
