/*
=============================
    FORMs
=============================
*/

/* General Rules */

input, label, button {
    cursor: pointer;
}

/* MOBILE */

formfield .form-p {
    margin: 0px auto 10px;
    font-weight: bold;
}

formfield {
  width: 300px;
  margin: 0 auto;
}

.input {
  display: flex;
  width: 100%;
  margin-bottom: 10px
}

label {
    width: 80px;
    text-align: right;
}

input {
  width: 160px;
  height: 25px;
  margin-left: 5px;
  padding: 5px;
}

input[type="date"] {
   width: 100px;
}

.input .star, .date .star {
    width: 10px;
    color: #f00; /* Red */
    font-size: 0.5em;
    vertical-align: middle;
    margin-left: 5px;
}

.date {
   margin: 0 auto;
}

div select {
    width: 120px;
    margin-left: 5px;
    padding: 4px;
}

.checkbox {
    width: 100%;
    margin: 0px auto 10px;
}

input[type="checkbox"], input[type="radio"] {
    width: auto;
    margin-right: 10px;
    margin-left: 62px;
    vertical-align: top;
}

input[name="other"], input[name="edyear"], input[name="memberdetail"] {
  width: 120px;
}

input[type="submit"] {
    background-color: #df2590; /* Pink */
    display: block;
    max-width: 300px;
    height: auto;
    padding: 5px;
    color: #fff; /* White */
    margin: 10px auto;
    border-radius: 5px;
}

/*
===========================
 ENGLISH 2 SKYPE
===========================
 */

.eng2skype-form label {
  width: 450px;
}

.eng2skype-form input[name="edyear"], .eng2skype-form input[name="memberdetail"] {
  margin-left: 85px;
  margin-top: 5px;
}



input[class="blue"] {
    background-color: rgb(0, 112, 192); /* Blue */
}

@media screen and (min-width: 768px) {

  .eng2skype-form input[type="checkbox"], .eng2skype-form input[type="radio"] {
    margin-left: 82px;
  }

  .eng2skype-form input[name="edyear"], .eng2skype-form input[name="memberdetail"] {
    margin-left: 100px;
  }
}

/*
===========================
 REGISTER
===========================
 */

.register-form input[name="edyear"] {
  margin-left: 85px;
  margin-top: 5px;
}

@media screen and (min-width: 768px) {

  .checkbox:last-child {
    width: 450px;
    margin-right: -150px;
  }

  input[name="edyear"] {
    margin-left: 10px;
    margin-top: 0px;
  }
}

/*
===========================
 APPLY NOW
===========================
 */

input[name="EUDetail"], input[name="swDetail"], input[name="OtherDetail"] {
  margin-top: 15px;
}

#last {
  min-width: 280px;
  text-align: center;
}

#last input[type="checkbox"] {
  margin-left: 0px;
}

@media screen and (min-width: 375px) {

  .apply-form label {
    width: 120px;
  }

  input[name="EUDetail"], input[name="swDetail"], input[name="OtherDetail"] {
    margin-top: 0px;
  }

  .apply-form input[type="checkbox"] {
    margin-left: 82px;
  }
}

@media screen and (min-width: 425px) {

  .apply-form:nth-of-type(2) {
    width: 320px;
  }

  .apply-form input[type="checkbox"] {
    margin-left: 110px;
  }
}

@media screen and (min-width: 768px) {

  .extra-margin {
    margin-left: 110px;
  }

  .extra-margin label[for="swDetail"] {
    width: 125px;
  }

  #last {
    margin-top: 10px;
  }
}

/* TELL A FRIEND */

.tell-a-friend-form input, .tell-a-friend-form label {
   width: 120px;
}

@media screen and (min-width: 375px) {

   .tell-a-friend-form input, .tell-a-friend-form label {
      width: 140px;
   }
}

@media screen and (min-width: 768px) {

   .tell-a-friend-form.formfield {
      width: 400px;
   }

   .tell-a-friend-form label {
      width: 240px;
   }

   .tell-a-friend-form input  {
      width: 160px;
   }
}
