html,body {
  font-size: 1.1em;
  font-family: Quicksand;
  background-color: #f6f6f6;
}

.container {
  width: 65%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 0;
  line-height: 1.7em;
  position: relative;
  top: 40px;
}

a {
  text-decoration: none;
  color: #3366CC;
}

.logo {
  font-family: "Sarala";
  width: auto;
  font-size: 1.5em;
  font-weight: 300;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 4px;
  user-select: none;
}

.logo-icon {
  width: 24px;
  vertical-align: middle;
  margin-bottom: 6px;
  margin-right: 10px;
  opacity: 0.8;
}

.crucial {
  font-family: "Source Sans Pro";
  font-weight: 300;
  font-size: 1.08em;
  animation: fadein 2s;
  -moz-animation: fadein 2s;
  -webkit-animation: fadein 2s;
  -o-animation: fadein 2s;
}

.human {
  font-weight: 300;
  animation: fadein 3.5s;
  -moz-animation: fadein 3.5s;
  -webkit-animation: fadein 3.5s;
  -o-animation: fadein 3.5s;
}

.summary {
  color: #111;
  font-size: 1em;
}

.job-title {
  font-weight: 600;
}

.job-summary {
  color: #111;
  font-size: 0.92em;
}

.powered {
  font-size: 13px;
  color: #999;
  text-align: center;
}

.listing {
  margin-bottom: 40px;
}

.header-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-bottom: 40px;
}

.button {
  background-color: #5DADE2;
  color: #fff;
  border-radius: 6px;
  padding: 8px 20px;
  font-size: 0.9em;
  user-select: none;
  cursor: pointer;
  transition: 0.2s;
  display: inline-block;
}

.button:hover {
  filter: brightness(110%);
}

.equal-statement {
  color: #666;
  font-size: 0.8em;
  margin-top: 40px;
}

h2 {
  margin-bottom: 50px;
}

h4 {
  padding-top: 20px;
}

section {
  padding-bottom: 20px;
}

li {
  margin-bottom: 10px;
}

.textbox {
  padding: 8px;
  border-radius: 5px;
  border: #ddd 1px solid;
  font-size: 0.9em;
  width: 70%;
  min-width: 200px;
  font-family: Quicksand, sans-serif;
  box-sizing: border-box;
}

.application-label {
  display: inline-block;
  text-align: right;
  min-width: 170px;
  margin-right: 20px;
  font-size: 0.85em;
  vertical-align: middle;
}

.field-container {
  margin-bottom: 20px;
}

hr {
  border: #e8e8e8 1px solid;
  height: 0;
  margin: 40px 0;
}

select {
  padding: 8px;
  border: #e8e8e8 1px solid;
  border-radius: 5px;
  font-size: 0.9em;
  box-sizing: border-box;
}

.job-application {
  display: none;
}


.modal {
  z-index: 5001;
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  margin: auto;
  background-color: #0e2739;
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  transform: translate(-50%, -50%);
  border-radius: 5px;
  color: #fff;
  padding: 40px;
}

.modal-close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: auto;
  height: auto;
  cursor: pointer;
  display: none;
}

.overlay {
  z-index: 5000;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  background-color: #0e2739;
}

.spinner {
  width: 40px;
  height: 40px;
  background-color: #ffffdd;
  margin: 0 auto;
  -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
  animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
  0% {
    -webkit-transform: perspective(120px);
  }
  50% {
    -webkit-transform: perspective(120px) rotateY(180deg);
  }
  100% {
    -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg);
  }
}

@keyframes sk-rotateplane {
  0% {
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
  }
  50% {
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  }
  100% {
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}

#error-msg-container {
  display: none;
}

#error-msg-text {
  color: #990000;
  font-size: 0.9em;
  font-weight: bold;
}

@media only screen and (min-width: 240px) and (max-width: 850px) {
  .container {
    width: 85%;
    padding-top: 0;
  }
  .crucial {
    font-size: 0.8em;
  }

  .human {
    font-size: 0.75em;
  }

  .logo-icon {
    width: 18px;
    margin-bottom: 0;
  }

  .header-section {
    flex-direction: column;
  }

  .logo {
    margin-bottom: 20px;
  }

  .textbox {
    width: 100%;
  }

  .application-label {
    width: 100%;
    text-align: left;
  }

  #modal-content {
    font-size: 0.9em;
  }
  
}
