@font-face {
    font-family: 'MuseoSans';
    src: url('../myfonts/exljbris_-_museosans-300-webfont.woff2') format('woff2'),
         url('../myfonts/exljbris_-_museosans-300-webfont.woff') format('woff'),
         url('../myfonts/exljbris_-_museosans-300-webfont.svg#museo_sans300') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'MuseoSans';
    src: url('../myfonts/exljbris_-_museosans-300italic-webfont.woff2') format('woff2'),
         url('../myfonts/exljbris_-_museosans-300italic-webfont.woff') format('woff'),
         url('../myfonts/exljbris_-_museosans-300italic-webfont.svg#museo_sans300_italic') format('svg');
    font-weight: normal;
    font-style: italic;

}

@font-face {
    font-family: 'MuseoSans';
    src: url('../myfonts/exljbris_-_museosans-500-webfont.woff2') format('woff2'),
         url('../myfonts/exljbris_-_museosans-500-webfont.woff') format('woff'),
         url('../myfonts/exljbris_-_museosans-500-webfont.svg#museo_sans500') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'MuseoSans';
    src: url('../myfonts/exljbris_-_museosans-500italic-webfont.woff2') format('woff2'),
         url('../myfonts/exljbris_-_museosans-500italic-webfont.woff') format('woff'),
         url('../myfonts/exljbris_-_museosans-500italic-webfont.svg#museo_sans500_italic') format('svg');
    font-weight: normal;
    font-style: italic;

}

@font-face {
    font-family: 'MuseoSans';
    src: url('../myfonts/exljbris_-_museosans-700-webfont.woff2') format('woff2'),
         url('../myfonts/exljbris_-_museosans-700-webfont.woff') format('woff'),
         url('../myfonts/exljbris_-_museosans-700-webfont.svg#museo_sans700') format('svg');
    font-weight: 700;
    font-style: normal;

}


@font-face {
    font-family: 'MuseoSans';
    src: url('../myfonts/exljbris_-_museosans-700italic-webfont.woff2') format('woff2'),
         url('../myfonts/exljbris_-_museosans-700italic-webfont.woff') format('woff'),
         url('../myfonts/exljbris_-_museosans-700italic-webfont.svg#museo_sans700_italic') format('svg');
    font-weight: 700;
    font-style: italic;

}

body {
  font-family: MuseoSans, Arial, sans-serif;
  color: #222e39;
  font-size: 13px;
  font-weight: 500;
  background-color: #f7f9fa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
  margin:0;
}

.gen-container {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.08);
  background-color: #ffffff;

  box-sizing: border-box;
}

.page-title {
  font-family: MuseoSans;
  display: inline-block;
  margin-left: 0;
  font-size: 20px !important;
  color: #000014;
  font-weight: 500;
  width: 100%;
  text-align: center;
}

.content {
  background:white;
  height: 20px;
}

.input-fields {
  padding: 10px;
  font-size:13px;
  flex: 1 1 0;
  min-width: 40%;
  max-width: 50%;
  box-sizing: border-box;
}

.input-fields input[type="text"], .input-fields select, .input-fields input[type="button"] {
  display: block;
  width: 100%;
  height: 30px;
  margin: 10px 0;
  border-radius: 4px;
  border: solid 1px #d7dbda;
  background-color: #ffffff;
  font-size: 12px;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #495761;
  box-sizing: border-box;
  padding: 8px 10px;
}

.input-fields select {
  padding: 0 10px;
}

.input-fields input:focus, .input-fields select, .input-fields input[type="button"]:focus {
  outline: none;
}

.input-fields input[type="button"] {
  cursor: pointer;
  border-radius: 4px;
  background-color: #2ba3d5;
  font-family: MuseoSans;
  font-size: 12px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #ffffff;
}

.input-fields input[type="button"]:hover {
  background-color: #2179b4;
  cursor: pointer;
}

.input-fields input[type="button"]:active {
  background-color: #2fb6dc;
  cursor: pointer;
}

.input-fields input[type="checkbox"] {
   border-radius: 2px;
   border: solid 1px #a1abb1;
   background-color: #ffffff;
   cursor: pointer;
   margin:0;
   width: 20px;
   height: 20px;
}

.input-fields input[type="checkbox"]:hover {
  border-radius: 2px;
  border: solid 3px #f0f2f1;

}

.options {
  height: auto;
}

.options input, .ar input {
  display: inline-block;
  margin-right: 5px;
}

.options label, .ar label {
  margin-right: 10px;
  vertical-align: top;
}

.options div {
  min-height: 20px;
  line-height: 20px;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.options div label {
  line-height: 20px;
  height: 20px;
  margin-left: 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.section-group div label + div {
  min-width: 90px;
  max-width: 150px;
  height: auto;
  margin: 5px 0 16px;
  border-radius: 4px;
  background-color: rgba(73, 87, 97, 0.9);
  padding: 14px;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0s ease;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-group div:nth-child(4) div {
  margin-left: -60px;
}

.options .section-group {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.options.section-content {
  padding-bottom: 10px;
}

.red {
  color: #d32b38;
}

.section-title {
  background: #f7f8f8;
  padding: 10px;
  text-align: center;
  margin-top: 20px;
  border-radius: 4px 4px 0 0;
  border: 1px solid #e7e9e9;
  border-bottom:0 ;
}

.section-content {
  background: #FFF;
  border-radius: 0 0 4px 4px;
  padding: 10px 10px 20px 10px;
  border: 1px solid #e7e9e9;
}

.center {
  margin: auto;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between;

}

.center.mid {
  justify-content: space-around;
}

.container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.selections {
  display:grid;
  grid-template-columns: auto;
  grid-template-rows: repeat(1fr);
}

.section-group {
  display:grid;
  margin: 20px;
}

.section-group2 {
  display:grid;
  /*margin: 20px 0px 20px 0px;*/
  padding-top: 12px;
  align-items: center;
  justify-content: center;
  /*grid-template-rows: 1fr 1fr;*/
}

.selections > .section-group2:nth-child(2) {
  grid-template-rows: 19% auto;
}

.selections > .section-group2:nth-child(2) {
  margin-top: -25px;
  padding-top: 17px;
}

.selections > .section-group2:nth-child(2) label {
  padding-top: 54px;
}

.selections > .section-group2:nth-child(2) input {
  justify-self: center;
}

.content {
  flex: 1 1 0;
  height: auto;
}

.content > div {
  padding: 20px;
  margin: 0 10px 10px 10px;
  border-radius: 0 0 4px 4px;
}

.required {
  border: solid 1px #d32b38!important;
  background-color: transparent;
}

.requiredText {
  color: #d32b38;
}

.required + span::after {
  content:"Required field cannot be left blank";
  font-family: MuseoSans;
  font-size: 11px;
  font-weight: 500;
  color: #d32b38;
  display:block;
  margin: -6px 0 10px 0;
  padding-top:0;
}

.requiredText + div::before {
  content:"Must click on agree to terms before submit";
  font-family: MuseoSans;
  font-size: 11px;
  font-weight: 500;
  color: #d32b38;
  display:block;
  margin: -6px 0 10px 0;
  padding-top:0;
}

.required.emailerror + span::after {
  content:"Invalid email format";
}

.maxed + span::after {
  content:"The number of characters entered exceed the allowable limits";
  font-family: MuseoSans;
  font-size: 11px;
  font-weight: 500;
  color: #d32b38;
  display:block;
  margin: -6px 0 10px 0;
  padding-top:0;
}

label.label_pos.required::before {
  content:"Must select at least one positive answer";
  font-family: MuseoSans;
  font-size: 11px;
  font-weight: 500;
  color: #d32b38;
  display:block;
  margin: -30px 0 10px 0;
  padding-top:0;
  position: absolute;
  width: 150px;
}

label.label_pos.required {
  border: none !important;
}

.submit {
  margin-top: 20px;
  margin-bottom: 10px;
}

.submit input[type="button"] {
  height: 60px;
  cursor: pointer;
  font-size: 14px;
}

.submit.error::before {
  content:"Error(s) in form field(s)";
  font-family: MuseoSans;
  font-size: 11px;
  font-weight: 500;
  color: #d32b38;
  display:block;
  margin: -6px 0 10px 0;
  text-align:center;
  padding-top:0;
}

.logo-container {
    display: grid;
    align-items: center; 
    width: 100%;
    grid-gap: 10px;
    grid-template-columns: 25% 50% 25%;
}

.header-container {
  display: flex;
  align-items: center;
  width: 100%;
  height: 80px;
  box-shadow: 0 1px 1px 1px rgba(144,144,144,0.2);
}

.logo-container .logo {
  padding: 0 2em;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  height: 2.5rem;
}

.date {
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
  text-align: center;
  padding: 5px 0;
}

.text {
  font-family: 'Courier New', Courier, monospace;
}

#successmg {
  font-size: 18px;
  text-align: center;
  vertical-align: middle;
  padding-top: 20px;
  margin-top: 10px;
  display: none;
}

.hide {
  display: none;
}

.show {
  display: block !important;
}

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

  .logo-container {

    grid-template-columns: 100%;
    grid-template-rows: 55% auto;

  }

  .input-fields {
    min-width: 70%;
    max-width: 94%;
  }

  .page-title {
    margin-top: 8px;
    margin-left: 25px;
    font-size: 17px !important;
    width: 100%;
    text-align: left;
  }

  .header-container {

    height: 120px;
  
  }

  .options div label {
    font-size: 12px;
  }

  .logo-container .logo {
    height: 2.25rem;
  }

}

@media only screen
  and (min-device-width: 375px)
  and (max-device-width: 667px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {

    .submit {
      margin-bottom: 20px;
    }

  
}