﻿.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    *zoom: 1;
}

.contentBodyContainer.-warm-grey .contentBody {
    margin: 48px auto 56px auto;
    max-width: 1440px;
    box-sizing: border-box;
    position: relative;
}

.contentBodyContainer.with-banner {
    padding: 5px 0;
    background-color: #e7451f;
    background-image: url(/assets/images/aant-banner.jpg);
    background-size: cover;
    padding: 5px 0;
}

.contentImageTop {
    margin: 0 auto;
    max-width: 1920px;
    width: 100%;
    height: 19vw;
    min-height: 180px;
    max-height: 370px;
    background: #ffe600;
    display: table;
    background: url(/assets/images/risky-road-banner.jpg) right center;
    background-size: cover !important;
    box-sizing: border-box;
    padding: 40px 48px;    
}

.contentImageTop .center {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.contentImageTop .bottom {
    display: table-cell;
    vertical-align: bottom;
    text-align: left;
}

.contentImageTop h1 {
    font-size: 5vw;
    line-height: 5vw;
    margin: 0px;
    padding: 0px;
    margin-bottom: 1vw;
    color: #ffffff;
    text-shadow: 0px 2px 4px rgba(0,0,0,.5);
}

.note-text {
    font-size: 14px;
    line-height: 16px;
    margin-top: 5px;
    margin-bottom: 0;
}

#cboxContent {
    padding-top: 0;
    background: #E1E1E1;
    border-radius: 4px;
}

.contentImageTop .subtitle {
    color: #ffffff;
    text-shadow: 0px 2px 4px rgba(0,0,0,.5);
    font-size: 2.3vw;
    line-height: 2.3vw;
}

@media only screen and (min-width: 1300px) {

    .contentImageTop h1 {
        font-size: 64px;
        line-height: 64px;
        margin-bottom: 15px;
    }
}

@media only screen and (min-width: 1024px) {
    .contentImageTop .subtitle {
        font-size: 23px;
        line-height: 23px;
    }
}
        

@media only screen and (max-width: 859px) {
    .contentImageTop{
        height:auto;
        padding: 24px 16px;
    }
}  


@media only screen and (max-width: 640px) {
    .contentImageTop{
        height:auto;
        padding: 24px 16px;
    }
    .contentImageTop h1 {
        font-size: 28px!important;
        line-height: 28px;
    }
    .contentImageTop .subtitle {
        font-size: 16px;
        line-height: 16px;
    }
}


.addCorners {
  position: relative;
}
.addCorners:before,
.addCorners:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  z-index: 2;
}
.addCorners:before {
  top: -1px;
  left: -1px;
  border-top: solid 130px #fff;
  border-left: solid 130px #fff;
  border-bottom: solid 130px transparent;
  border-right: solid 130px transparent;
}
.addCorners:after {
  bottom: -1px;
  right: -1px;
  border-bottom: solid 70px #fff;
  border-right: solid 70px #fff;
  border-top: solid 70px transparent;
  border-left: solid 70px transparent;
}

.alert-box .footer .button,
.content button,
.content a.button {
    position: relative;
    display: inline-block;
    padding: 13px 30px;
    border: 2px solid rgba(0, 0, 0, 0);
    margin-top: 10px;
    background: #FFA100;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none !important;
    vertical-align: middle;
    text-align: center;
    color: #000;
    font-size: 15px;
    line-height: 23px;
    cursor: pointer;
    -webkit-transition: all 250ms;
    transition: all 250ms;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.alert-box .footer .button:hover,
.content button:hover,
.content a.button:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.alert-box .footer .button:focus,
.actions .button.next:focus,
.content button:focus,
.content a.button:focus {
  -webkit-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.alert-box .footer .button > span,
.content button > span,
.content a.button > span {
  display: block;
  font-weight: normal;
  font-size: 13px;
  line-height: 17px;
  text-transform: none;
}

.content button > span.icon,
.content a.button > span.icon {
  display: inline-block;
  font-size: 26px;
  vertical-align: middle;
}
.content button.disabled,
.content a.button.disabled {
  background: #ced2d6;
  border-color: #ced2d6;
  color: #7f7f7f;
  pointer-events: none;
}

.alert-box .footer .button.outline,
.content button.btn-keyline,
.content a.button.btn-keyline {
  background: #fff;
  border-color: #c0c4c7;
  color: #333333;
}

.alert-box .footer .button:hover {
    transform: scale(1.05);
    transform: scale(1.05);
}

/*.alert-box .footer .button.outline:hover,
.content button.btn-keyline:hover,
.content a.button.btn-keyline:hover {
    background-color: #e8e2d3;
    border-color: #e8e2d3;
}*/

.thank-you{
    margin: 48px 0;
}

.question {
    max-width: 620px;
    margin-bottom: 34px;
}

.question.long {
  max-width: 750px;
}

.short {
  max-width: 410px;
}

.very-short {
  max-width: 205px;
}

.question.long.road-only {
  margin-top: 38px;
}

.actions .button {
  width: 220px;
  padding: 6px 20px;
}

.actions .button span {
  text-transform: uppercase;
}

.question.checkbox-array{
    margin-top: 24px;
}

.content label {
    display: block;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}
.content label.checkbox {
  display: block;
  clear: both;
  margin-left: 30px;
  position: relative;
  font-weight: 500;
}

.content input:not([type="radio"]),
.content select,
.content textarea {
    border-radius: 4px;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    width: 100%;
    padding: 10px;
    border: 1px solid #b5b5b5;
    background-color: #fff;
    box-shadow: none;
    font-size: 16px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: "Open Sans", Arial, sans-serif;
}
.content input:not([type="radio"]):focus,
textarea:focus {
  border-width: 2px;
}
.content select {
  padding: 9px;
  background-image: url(/assets/images/down-arrow.png);
  background-position: 100% 50%;
  background-repeat: no-repeat;
}
.content input[type="radio"],
.content input[type="checkbox"] {
  width: auto;
  margin-right: 4px;
}

.content input[type="checkbox"] {
  display: none;
}
.content input.ui-autocomplete-loading {
  background: url(/assets/images/form-input-loading.gif) right 10px center
    no-repeat;
}

.question.error label {
    color: #9f2241;
}

.show-errors label.checkbox span.checkbox.invalid,
.show-errors input:not([type="radio"]).invalid,
.show-errors select.invalid,
.show-errors textarea.invalid,
.show-errors input[type="radio"].invalid + label {
  border-color: #b00020;
  background-color: rgba(176, 3, 32, 0.1) !important;
}

.show-errors input[type="text"].invalid {
  border-width: 2px;
}
textarea + div.error-message,
input[type="text"] + div.error-message {
  margin-top: 10px;
}

.radio-style {
  display: flex;
}

.section-choice {
  border: solid 1px #b5b5b5;
  border-top: none;
  position: relative;
}

.section-choice:first-child {
  border-top: solid 1px #b5b5b5;
}

.section-choice:first-child.active {
  margin-top: 0;
}

.section-choice .title {
  padding: 24px;
  font-size: 18px;
  font-weight: bold;
  position: relative;
}

.section-choice .title:hover {
  background-color: #e8e2d3;
  border-color: #e8e2d3;
}

.section-choice .title:after {
  font-family: "Font Awesome\ 5 Pro";
  content: "\f107";
  font-size: 24px;
  line-height: 24px;
  font-weight: 300;
  float: right;
  position: absolute;
  right: 24px;
  top: 32%;
}

.section-choice.active .title:after {
  content: "\f106";
}

.section-choice.active {
  margin-top: 24px;
  border-top: solid 1px #b5b5b5;
}

.section-choice .items {
  margin: 24px;
  display: none;
}

.section-choice.active .items {
  display: block;
}

.location-message,
.error-message {
  display: none;
  font-size: 14px;
  line-height: 14px;
  color: #9f2241;
}

.location-message {
  margin-top: 10px;
}

.error .error-message {
  display: block;
}

label.radioFauxButton {
  flex: 1 1 1px;
  display: block;
  min-width: 100px;
  padding: 16px;
  margin-bottom: 10px;
  border: solid 2px #c0c0c0;
  border-left-width: 1px;
  border-right-width: 1px;
  background: #fff;
  box-sizing: border-box;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  line-height: 19px;
  -webkit-transition: background 250ms, border 250ms;
  transition: background 250ms, border 250ms;
  cursor: pointer;
}

.soft-break {
  display: block;
}

input[type="radio"].radioFauxButton:first-child + label.radioFauxButton {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-left-width: 2px;
}

input[type="radio"].radioFauxButton + label.radioFauxButton:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-right-width: 2px;
}

input[type="radio"].radioFauxButton {
  position: absolute;
  left: -99999px;
}

input[type="radio"].radioFauxButton:checked + label.radioFauxButton,
.slim input[type="radio"].radioFauxButton:checked + label.radioFauxButton {
  background: #000;
  border-color: #000;
  color: #fff;
}
label.radioFauxButton:hover {
  background-color: #e8e2d3;
}

.intro {
  margin-bottom: 56px;
  max-width: 1100px;
}

.lt-ie9 input[type="radio"].radioFauxButton {
  position: static;
}
.lt-ie9 label.radioFauxButton {
  padding: 0;
  border: none;
  background: none;
  font-size: 15px;
  text-align: left;
  font-weight: normal;
}
.lt-ie9 label.radioFauxButton:hover {
  background: none;
}

/*input[type="checkbox"] {
	position: absolute;
	left: -99999px;
}*/
label.checkbox {
  margin-bottom: 15px;
}
label.checkbox span.checkbox {
  position: absolute;
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  left: -30px;
  top: 2px;
  margin-right: 10px;
  background: #fff;
  border: solid 2px #b9b9b9;
  border-radius: 2px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
input[type="checkbox"]:disabled + span.checkbox {
  background: #dcdde0;
  border-color: #dcdde0;
}
input[type="checkbox"]:checked + span.checkbox {
  background: #212121;
  border-color: #212121;
  color: #fff;
}

input[type="checkbox"]:checked + span.checkbox:after {
  font-family: "Font Awesome\ 5 Pro";
  content: "\f00c";
  position: absolute;
  left: 0;
  top: 0;
  line-height: 15px;
  font-size: 15px;
}

input[type="checkbox"] {
  -webkit-appearance: checkbox !important;
  -moz-appearance: checkbox !important;
  appearance: checkbox !important;
}

.lt-ie9 input[type="checkbox"].special {
  position: static;
}
.lt-ie9 label.checkbox.special span.checkbox {
  display: none !important;
}

h2 > a {
  float: right;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
  font-weight: bold;
}
h4 {
  font-weight: bold;
}

table th,
table td {
  padding: 5px 30px 5px 0;
}

.centered {
  text-align: center;
}

.subHeading {
  margin: 40px 0;
  font-size: 24px;
  line-height: 1.4;
}
.subHeading > a {
  border-bottom: dotted 2px #000;
  font-weight: bold;
  -webkit-transition: all 250ms;
  transition: all 250ms;
}
.subHeading > a:hover {
  color: #666;
  border-bottom-color: #666;
}
.subHeading > div.icon {
  float: left;
  margin-right: 20px;
}

.content > img {
  width: 100%;
}

html:not(.mobile) .twoCol {
  float: left;
  width: 49%;
  margin-left: 2%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html:not(.mobile) .twoCol:nth-of-type(2n + 1) {
  clear: left;
  margin-left: 0;
}

html:not(.mobile) .twoCol:nth-of-type(2n) {
  margin-bottom: 0px;
}

h4 {
  padding-top: 10px;
}

div.questions {
  margin-top: 15px;
}


.hidden {
    display: none !important;
    visibility: hidden;
}

.note {
  font-size: 12px;
  color: #444;
}

.question:not(.optional) span.optional {
  display: none;
}

.checkbox-array h4 {
  clear: both;
  margin-top: 15px;
  margin-bottom: 10px;
}

.readout {
  margin: 16px;
  margin-top: 0;
  font-size: 20px;
}

.ui-corner-all {
  border-radius: 0;
}

.ui-menu .ui-menu-item {
  padding: 10px 0;
}

html:not(.mobile)
  #AddressQuestions
  > .clearfix
  > .twoCol
  > .question.road-only.slim
  > input[type="radio"]
  + label {
  margin-bottom: 0;
  margin-top: 14px;
  width: 37%;
  margin-right: 2%;
}
html:not(.mobile)
  #AddressQuestions
  > .clearfix
  > .twoCol
  > .question.road-only.slim
  > input[type="radio"]:nth-of-type(2)
  + label {
  margin-right: 0;
}
html:not(.mobile) #AddressQuestions > .question.road-only.section-only {
  margin-top: 14px;
}
html:not(.mobile) #AddressQuestions > .clearfix > div.twoCol:first-child {
  margin-bottom: 15px;
}

.part-4 .question.member input[type="radio"] + label,
.part-4 .question.gender input[type="radio"] + label {
    width: 38%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.part-4 .question.age input[type="radio"] + label {
  width: 18.4%;
  min-width: 0;
  padding-left: 0;
  padding-right: 0;
}

div.actions {
    clear: both;
    margin-bottom: 48px;
    display: flex;
}

div.actions .button.back {
  float: left;
  margin-right: 20px;
}

#ExtraInfoWrapper {
  margin-top: 27px;
  float: left;
}

#ExtraInfoWrapper .countdown-text {
    text-align: right;
    top: -30px;
    right: 5px;
    position: relative;
}

.gray-out {
  color: #dcdde0;
}
#NoPinError {
    width: 100%;
    max-width: 620px;
    margin-left: 0;
    padding: 15px;
    position: relative;
    float: left;
    box-sizing: border-box;
    background-color: #f17a85;
    border-radius: 5px;
    margin-bottom: 15px;
    overflow: hidden;
}

#NoPinError div {
  height: 100%;
}

#NoPinError div {
  height: 100%;
}

#NoPinError div:first-child span {
  font-size: 16px;
  vertical-align: middle;
  font-weight: bold;
  line-height: 22px;
  width: calc(100% - 36px);
  padding-left: 10px;
  display: inline-block;
  box-sizing: border-box;
}
#NoPinError div:first-child i {
  font-size: 36px;
  width: 34px;
  text-align: center;
  vertical-align: middle;
}

#UseAnyway label {
    margin: 10px 3px 0;
}

#UseAnyway label * {
  vertical-align: middle;
  line-height: 21px;
}

.mobile #NoPinError {
  margin-bottom: 15px;
}

.mobile #UseAnyway label {
  margin-top: 10px;
}

label[for="chkNoMarker"] span:last-child {
  width: calc(100% - 36px);
  padding-left: 36px;
  display: inline-block;
  box-sizing: border-box;
}
label[for="chkNoMarker"] .checkbox {
  margin-right: 0 !important;
}
#MobCheckHolderRoad > div,
#MobCheckHolderIntersection > div {
  margin-top: 0;
}

.part-3 .question.clearfix label {
  margin-bottom: 10px;
}

textarea:focus::-webkit-input-placeholder,
input:focus::-webkit-input-placeholder {
  opacity: 0;
}
textarea:focus:-moz-placeholder,
input:focus:-moz-placeholder {
  opacity: 0;
}
textarea:focus::-moz-placeholder,
input:focus::-moz-placeholder {
  opacity: 0;
}
textarea:focus:-ms-input-placeholder,
input:focus:-ms-input-placeholder {
  opacity: 0;
}

#Map {
    height: 240px;
    max-width: 620px;
    margin-bottom: 34px;
}

.message-box label.checkbox span.checkbox {
    left: 5px;
    background: #f17a85;
    border-color: rgba(0,0,0,0.54);
}

.message-box input[type="checkbox"]:checked + span.checkbox {
    color: rgba(0,0,0,0.54);
}

.part-4 .summary .summary__details {
    float: left;
}

/*.part-4 .summary .summary__map {
    float: right;
    position: absolute;
    right: 5%;
    width: 30%;
    max-width: none;
}*/

.part-4 .summary .summary__map {
    float: right;
    width: 45%;
    max-width: none;
    margin-right: -15%;
}

.part-4 .summary .summary__row {
    padding: 10px 0;
    border-bottom: 1px solid #D9D9D9;
    max-width: 420px;
}

.part-4 .summary .summary__row p{
    margin: 0;
}

.part-4 .summary .summary__row .summary__hight_light {
    font-size: 19px;
    font-weight: 600;
}

.part-4 .summary .summary__row a{
    margin-left: 7px;
    text-decoration: underline;
    color: #E51610;
}

.part-4 .summary .summary__row a:hover{
    text-decoration: none;
}

.popUpContent {
    max-width: 360px;
    margin: 0 auto;
}

.popUpContent {
    display: none;
}

.alert-box {
    padding: 15px 20px 35px 20px;
}

.alert-box h3 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 20px;
}

.alert-box p {
    padding-right: 80px;
}

.alert-box .footer {
    text-align:right;
}

.alert-box .footer .button {
    min-width: 100px;
    padding: 13px;
}

@media (max-width: 1370px) {
    .part-3 .question.clearfix label {
    margin-bottom: 20px;
  }
}

@media (max-width: 1100px) {
    .part-4 .summary .summary__map {
        width: 40%;
        margin-right: -30px;
    }
}

@media (max-width: 900px) {
    .content.content__inner {
        margin: 48px auto;
    }
}

@media (max-width: 769px) {
    .part-4 .summary .summary__map {
        float: none;
        position: inherit;
        right: 0;
        width: 100%;
        margin-bottom: 48px;
    }

    .part-4 .summary .summary__details {
        float: none;
    }    
}

@media (max-width: 760px) {
  .question.long {
    max-width: 100%;
  }
}

@media (max-width: 650px) {
  .question {
    max-width: 100%;
  }
}


@media (max-width: 360px) {
    .alert-box .footer {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .message-box label.checkbox span.checkbox {
         left: -22px;         
    }

    label[for="chkNoMarker"] span:last-child {
        padding-left: 5px;
    }

    div.actions .button.back {
            margin-right: 0; 
    }

  label.radioFauxButton {
    font-size: 14px;
    min-width: 0;
    padding: 16px 4px;
  }

  .content button,
  .content a.button {
    width: auto;
  }

  div.actions a.button {
    flex: 1;
    margin-left: 12px;
  }

  div.actions a.button.hidden + a.button,
  div.actions a.button:first-child {
    margin-left: 0;
  }

  div.actions a.button:last-child{
    margin-left: 12px !important;
  }

  .radio-style.long {
    display: block;
  }

  .section-choice .title {
    font-size: 15px;
  }

  .radio-style.long label.radioFauxButton {
    border-left-width: 2px;
    border-right-width: 2px;
    border-radius: 4px;
  }

  .radio-style.long
    input[type="radio"].radioFauxButton:first-child
    + label.radioFauxButton {
    border-right-width: 2px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
  }

  .radio-style.long
    input[type="radio"].radioFauxButton
    + label.radioFauxButton:last-child {
    border-left-width: 2px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
  }

  div.actions {
    margin-top: 10px;
  }

    #UseAnyway {
        margin-left: 30px;
    }

    .section-choice .title {
        padding: 20px 40px 20px 20px;
    }
}
