/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Feb 15, 2019, 10:21:40 PM
    Author     : Yogesh Bisht
*/

/*****************************/
/* GLOBAL FORM CUSTOM STYLES */
.below-nav-form {
  padding: 10rem 2rem;
  background: #fff;
  width: 100%;
  box-shadow: inset 0 0 0 100rem rgba(0, 0, 0, 0.4);
  background: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.form__banner {
  height: 100%;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

.form__title {
  text-transform: capitalize;
  font-size: 2rem;
  padding-left: 2rem;
  color: #fafafa;
}

.form__caption {
  padding-left: 2rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  color: #fafafacc;
  opacity: 0.8;
  user-select: none;
  -ms-user-select: none;
  -moz-user-modify: none;
  -webkit-user-select: none;
  pointer-events: none;
  font-size: 1.4rem;
}

.form-container {
  padding: 2rem;
  box-shadow: 0.1rem 0.1rem 1rem rgba(0, 0, 0, 0.2);
  margin-top: 1rem;
  margin-bottom: 4rem;
  max-width: 100rem;
  background: #fafafa;
}

.form-container .form-group {
  margin-bottom: 1rem;
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.form-container .form-group label {
  width: 100%;
  margin-right: 5%;
  font-size: 1.4rem;
  text-align: left;
}

.form-container .form-group div,
.form-container .form-group select,
.form-container .form-group input {
  flex: 2;
}

.form-container .form-group span {
  width: 100%;
  text-align: right;
  font-size: 1.2rem;
}

.form-container .form-control {
  height: 3.5rem;
  font-size: 1.5rem;
  border-radius: 2rem;
  padding-left: 2rem;
}

.form-container .form-group.smaller label {
  flex: 4;
  text-align: left;
}

.form-container .form-group.smaller .form-control {
  flex: 1;
}

.form-container .form-dob {
  display: flex;
  flex-flow: row;
  width: 100%;
  margin-left: -15px;
}

.form-container .form-dob .col-4 {
  padding-left: 0;
}

.form-container .form-dob .col-md-6 {
  padding-left: 0;
}

.form-container hr {
  margin-top: 0;
  margin-bottom: 2rem;
  border-top: 0.1rem solid #a0a0a0;
  width: 100%;
}

.form-container .form-info {
  background: #fff;
  padding: 0 2rem 0rem;
  border: 0.1rem solid #ececec;
}

.form-container .form-info button {
  width: calc(100% + 4rem);
  text-align: center;
  background: #ececec;
  border-radius: 0 !important;
  margin-left: -2rem;
}

.form-container .form-hint {
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.form-container .form-hint div {
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.form-container .form-hint p {
  font-size: 1.2rem;
  margin-bottom: 0rem !important;
}

.form-container .button-tooltip {
  display: inline-block;
  text-align: center;
  color: grey;
  border-radius: 50%;
  margin-left: 0.5rem;
}

.tooltip {
  font-size: 1.4rem !important;
}

.tooltip-inner {
  padding: 1rem 0.7rem !important;
}

.form-section__title {
  font-size: 1.4rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.btn-submit {
  margin-top: 3rem;
  margin-bottom: 3rem;
  min-width: 20rem;
  padding: 0.5rem 2rem;
  border-radius: 2rem;
  font-size: 1em;
  border: none;
  outline: none;
  background-color: #bd1000;
  color: #fafafa;
}

.btn-submit:hover,
.btn-submit:active,
.btn-submit:focus {
  background-color: #d62718;
  color: #fafafa;
}

.btn-submit.resume {
  border-radius: 0;
  max-width: 20rem;
}

.form-footer__title {
  text-transform: capitalize;
  font-size: 2rem;
  color: orangered;
  margin-bottom: 0.5rem;
}

.resume-input-container {
  display: flex;
  flex-flow: column;
  margin: 1rem;
  padding: 1rem;
}

.form-group .resume-input {
  cursor: pointer;
  margin-bottom: 2rem;
}

/****************************/
/* RESPONSIVE MEDIA QUERIES */
@media only screen and (min-width: 576px) {
  .below-nav-form {
    padding: 10rem 4rem;
  }

  .form-container {
    padding: 4rem;
  }
}

@media only screen and (min-width: 768px) {
  .form__title {
    font-size: 2.4rem;
  }

  .form-container .form-group label {
    flex: 2;
    text-align: right;
  }

  .form-container .form-group div,
  .form-container .form-group select,
  .form-container .form-group input {
    flex: 3;
  }

  .resume-input-container {
    flex-flow: row;
    margin: 1rem;
    padding: 1rem;
  }

  .form-group .resume-input {
    margin-right: 2rem;
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 992px) {
  .below-nav-form {
    padding: 10rem 8rem;
  }
}

@media only screen and (min-width: 1200px) {
  .below-nav-form {
    padding: 10rem;
  }
}
