* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body,
html {
  height: 100%;
  font-family: 'Montserrat', sans-serif;
}

header {
  height: 90px;
  width: 100%;
  background-color: #000;
}

header .img {
  width: 100%;
  padding: 0;
  height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

header .img img {
  height: 60px;
  width: auto;
}

main {
  background-image: url(../images/girl.jpg);
  background-color: #000;
  width: 100%;
  height: calc(100% - 90px);
  min-height: 600px;
  margin: auto;
  background-repeat: no-repeat;
  background-position: center 0;
  background-size: cover;
  position: relative;
}

main h2 {
  background-color: #159512;
  color: #fff;
  padding: 10px 0;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  /*border-radius: 10px 10px 0 0;*/
  text-transform: uppercase;
  border-radius: 25px 0 0 0;
}

.hidden {
  display: none !important;
}

.content {
  background-color: #e9e9e9;
  width: 100%;
  max-width: 480px;
  position: absolute;
  left: 50%;
  bottom: 25%;
  transform: translateX(-50%);
  padding: 0px;
  box-shadow: 0 0 5px rgba(0, 0, 0, .8);
  border-radius: 25px 0 25px 0;
}

#regForm {
  margin: 0 auto;
  padding: 20px 30px 30px;
  max-width: 100%;
}

input,
select {
  background: #ffffff;
  padding: 10px;
  height: 50px;
  width: 100%;
  margin: 0 auto 20px;
  font-size: 15px;
  font-family: 'Montserrat', sans-serif !important;
  border: 1px solid #aaaaaa;
  border-radius: 8px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  border: 1px solid #ddd;
}

.select-container, .select-containertwo {
  position:relative; 
  display: inline;
}

.select-container:after, .select-containertwo:after {
  content:""; 
  width:0; 
  height:0; 
  position:absolute; 
  pointer-events: none;
}

.select-container:after {
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  top: .3em;
  right: .75em;
  border-top: 8px solid black;
  opacity: 0.5;
}

.select-containertwo:after {
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  top: 1.3em;
  right: .75em;
  border-top: 8px solid black;
  opacity: 0.5;
}

select::-ms-expand {
    display: none;
}

/*input:focus,
select:focus {
  border: 1px solid #ff4e8c;
  box-shadow: 0 0 1px #ff4e8c;
}*/

.step {
  display: none;
}

.step.active {
  display: block;
}

.step span {
  display: block;
  text-align: left;
  font-size: 20px;
  font-weight: 600;
  padding-bottom: 7px;
  padding-left: 5px;
}

.row {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.country {
  width: calc(30% - 10px);
}

.region {
  width: 70%;
}

.buttonnext {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
}

button {
  border: none;
  box-shadow: 0 2px 4px 0 rgba(155, 155, 155, 0.2);
  background-image: url(../images/background.jpg) !important;
  background-position: center;
  background-size: cover;
  background-color: transparent;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  border: none;
  outline: none;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
}

.terms {
  display: none;
  text-align: center;
  padding-top: 15px;
  font-size: 12px;
  line-height: 22px;
}

.terms a {
  font-size: 12px;
  color: #d40000;
  text-decoration: underline;
}

.main_footer {
  position: absolute;
  left: 50%;
  bottom: 5%;
  transform: translateX(-50%);
}

.main_footer p {
  background-color: rgba(0, 0, 0, .5);
  padding: 5px;
  font-size: 22px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}

.main_footer .free {
  color: #1efb02;
}

.main_footer .hours {
  text-transform: lowercase;
}

#errors {
  display: none;
}

#errors {
  text-align: center;
  color: #d20000;
  font-weight: 400;
  font-size: 16px;
  padding: 0;
  margin-top: -13px;
  margin-bottom: 10px;
}

@media only screen and (max-width: 1200px) {
  header .img {
    padding: 0;
    justify-content: center;
  }
}
  
@media only screen and (max-width: 700px) {
  .main_footer p {
    font-size: 20px;
  }
}

@media only screen and (max-width: 600px) {
  .main_footer p {
    font-size: 18px;
  }
}

@media only screen and (max-width: 550px) {
  .main_footer p {
    font-size: 16px;
  }
}

@media only screen and (max-width: 500px) {
  header {
    position: absolute;
    background-color: transparent;
    height: 70px;
    top:0;
    z-index: 1000;
  }

  header .img {
    height: 60px;
  }

  header .img img {
    height: 45px;
  }

  main {
    background-image: url(../images/girl-phone.jpg);
    height: 100%;
    min-height: 450px;
    background-position: center 0;
    background-size: cover;
  }

  .content {
    bottom: 20%;
    width: 85%;
  }

  main h2 {
    font-size: 18px;
  }

  .step span {
    font-size: 18px;
  }

  button {
    font-size: 18px;
    height: 45px
  }

  #errors {
    font-size: 14px;
  }

  .main_footer p {
    font-size: 14px;
  }
}

@media only screen and (max-width: 450px) {

  .hidden-mobile {
    display:none;
  }

  .main_footer p {
    font-size: 16px;
  }
}

@media only screen and (max-width: 410px) {

  main h2 {
    font-size: 17px;
  }

  input,
  select {
    font-size: 16px;
  }

  .content {
    width: 90%;
  }

  #regForm {
    padding: 20px 20px 25px;
  }

  .step span {
    font-size: 17px;
  }

  button {
    font-size: 17px;
  }

}

@media only screen and (max-width: 380px) {

  .main_footer p {
    font-size: 15px;
  }
}

@media only screen and (max-width: 360px) {

  .main_footer p {
    font-size: 14px;
  }
}

@media only screen and (max-width: 350px) {
  main h2 {
    font-size: 16px;
  }

  .step span {
    font-size: 16px;
  }

  input,
  select {
    font-size: 15px;
  }


  button {
    font-size: 16px;
  }

}

@media only screen and (max-width: 340px) {
  #regForm {
    padding: 20px 20px 25px;
  }

}

@media only screen and (max-width: 330px) {
  .main_footer p {
    font-size: 13px;
  }
}
