html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
      -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*, *:before, *:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}

:root {
color-scheme: light;
}

input:focus,
select:focus,
textarea:focus,
button:focus,
video:focus {
  outline: none;
}

/* Font Smoothing */

body {
  font-family: 'Montserrat', sans-serif;
}

p {
  font-size: 16px;
  line-height: 20px;
}

#container {
  position: relative;
  margin: 0 auto;
  width: 750px;
  height: 525px;
}

#header {
  width: 100%;
  height: 50px;
  background: #555;
  /*background: #6EB1FE;*/
  text-align: center;
  line-height: 50px;
  color: white;
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
}

.main-content:after {
  content: "";
  display: table;
  clear: both;
}

.form {
  width: 500px;
  height: 425px;
  background: #F0F0F0;
  padding: 30px;
  float: left;
  display: none;
}

.form-heading {
  margin: 0 0 25px 0;
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  color: #555;
}

#video-container {
  width: 250px;
  height: 425px;
  background: white;
  float: right;
}

.input-group {
  margin: 0 0 20px 0;
}

.left-50 {
  float: left;
  width: 48%;
}

.right-50 {
  float: right;
  width: 48%;
}

.left-70 {
  float: left;
  width: 73%;
}

.right-30 {
  float: right;
  width: 22%;
}

/* Clear floats after the columns */
.input-split:after {
  content: "";
  display: table;
  clear: both;
}

label {
  color: #AAAAAA;
  font-weight: 700;
  margin: 0 0 5px 0;
  display: block;
  font-size: 14px;
}

input,
select {
  height: 40px;
  width: 100%;
  padding: 5px 15px 5px 15px;
  border: none;
  border-radius: 5px;
}

.input-group-select {
  margin: 0 0 20px 0;
}

.input-group-select a {
  color: #AAAAAA;
}

.input-group-select a:visited {
  color: #AAAAAA;
}

.input-group-select label {
  margin: 0 0 0 5px;
  display: inline-block;
  height: 15px;
}

.input-group-select input {
  height: 100%;
  width: inherit;
  padding: 0;
  height: 15px;
}

.input-group-radio {
  margin: 0 0 20px 0;
  color: #C1C1C1;
  font-weight: 400;
  font-size: 16px;
}


.input-group-radio label {
  margin: 0 0 10px 0;
  display: block;
  height: 15px;
}

.input-group-radio input {
  display: inline;
  height: 100%;
  width: inherit;
  padding: 0;
  height: 15px;
}

.input-action-group {
  margin: 20px 0 0 0;
  text-align: center;
}

.input-action-group-nm {
  margin: 0 0 0 0;
  text-align: center;
}

.error {
  border: 1px solid red;
}

label.error {
  color: red;
  border: 0px solid red;
}

.action-btn {
  width: 175px;
  height: 45px;
  margin: 0 5px 10px 5px;
  color: white;
  font-weight: 700;
  background: #555;
  line-height: 45px;
  border: none;
  border-radius: 5px;
}

.action-btn:hover {
  cursor: pointer;
  background: #999;
}

.terms {
  margin: 30px 0 0 0;
  background-color: white;
  width: 100%;
  height: 75px;
  overflow-y: scroll;
  color: #AAAAAA;
  font-size: 8px;
  padding: 5px;
  border-radius: 5px;
}

#footer {
  width: 100%;
  height: 50px;
  background: #555;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  line-height: 12px
  color: white;
}

#footer-links {
  padding: 0 0 0 20px;
  display: flex;
  align-items: center;
  height: 50px;
  width: 500px;
  float: left;
}

#footer-links span {
  color: white;
}

#footer-links a {
  color: white;
}

/* Clear floats after the columns */
#footer:after {
  content: "";
  display: table;
  clear: both;
}

#footer-logo {
  width: 250px;
  float: right;
  padding: 15px 0;
}

#footer-logo a {
  cursor: pointer;
}

.mt-40 {
  margin-top: 20px;
}

.modal-message {
  position: absolute;
  top: 0;
  left: 0;
  padding: 20px;
  background: rgba(255,255,255, .9);
  height: 525px;
  overflow: hidden;
  overflow-y: scroll;
  display: none;
  border: 5px solid #ddd;
  z-index: 9999999;
}

.modal-close-button {
  position: absolute;
  top: 0;
  right: 0;
  padding: 12.5px 20px;
  font-size: 20px;
}

.modal-close-button:hover {
  cursor: pointer;
  background: #eee;
}

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

  #container {
    margin: 0 auto;
    width: 100%;
    height: 100%;
    min-width: 320px;
  }

  #header {
    height: 50px;
    color: white;
    font-weight: 800;
    font-size: 14px;
    padding: 5px;
  }

.form {
    width: 100%;
    height: 100%;
    background: #F0F0F0;
    padding: 30px;
  }

  .left-50 {
    float: none;
    width: 100%;
  }

  .right-50 {
    float: none;
    width: 100%;
  }

  #video-container {
    margin: 0 auto;
    width: 250px;
    height: 425px;
    background: white;
    clear: both;
    float: none;
    display: block;
  }

  #footer {
    width: 100%;
    height: 100%;
    padding: 20px;
  }

  #footer-links {
    margin: 10px 0 20px 0;
    display: block;
    width: 100%;
    float: none;
    line-height: 20px;
  }

  #footer-logo {
    margin: 10px 0;
    display: block;
    width: 100%;
    float: none; 
  }
}
