/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

/* @import url('http://example.com/example_style.css'); */

/***********************************************/
/* CSS @imports must be at the top of the file */
/* Add them above this section                 */
/***********************************************/

/*****************************************/
/* Start your style declarations here    */
/*****************************************/

/* header override */
.header-wrapper.lp-header {
    min-height: 0;
}

/* @media only screen and (max-width: 767px) {
    .dnd-column .row-number-7 .row-fluid {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
            -ms-flex-direction: column-reverse;
                flex-direction: column-reverse;
    }
}
 */
#dynamic-lead-form {

}
#dynamic-lead-form > div.panel.active {
  display: flex !important; 
  flex-direction: column !important;
  justify-content: center !important;
  margin: 0;

}
form#dynamic-lead-form.form {margin-left: 0 !important;padding-left: 10%; padding-right: 10%;}

#hs_cos_wrapper_widget_1653206372618 { 
display: flex!important;
  justify-content: center!important;
  flex-direction: row!important;
  margin:0;
  width: auto;
}
#dynamic-lead-form {
display: flex!important;
  justify-content: center!important;
  flex-direction: column!important;
  margin:0;
  width: auto;
}

#dynamic-lead-form > div.panel.active > div:nth-child(3) > span {
  margin-bottom: 1rem;}

#dynamic-lead-form > div.panel.active > div.form-group.input-error > span > span { margin-bottom: 1rem;}
#dynamic-lead-form > div.panel.active > div:nth-child(3) > span > span {
margin-bottom: 2rem;
}

#dynamic-lead-form .form-field {
    display: flex;
    width:100%;
    margin:0px;
    vertical-align:top;
}
#dynamic-lead-form label {
    display:block;
    width:80%;
    vertical-align:top;
    padding-top: 9px;
}
#dynamic-lead-form select {
    width:100%;
}
#dynamic-lead-form select, #dynamic-lead-form input {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
}
#globalHeaderContainer {
  background-color: #022133; 
  height: 90px;
}
#headerBoxA {
  display: flex;
  justify-items: space-between;
  padding: 8px;
  width: 100%;
}
#logoBox {
width: 300px; margin-top: 10px; margin-left: 94.5%;
}
#phoneIcon {
width: 32px;
  margin-top: 8px;
}
.hicLogo {
width: 35vw; align-items: center; justify-content: center; margin-right: 15%; padding-top: 25px;
}

.hicNumber {
width: 60vw; align-items: center; justify-content: flex-end;margin-left: 27%;
}
#numberLink {font-size: 40px; font-weight: 700; color: white; text-decoration: none; font-family: sofia Pro;}

#logoBoxx {
width: 300px; margin-top: 10px; margin-left: 20.5%;
}
#phoneIconx {
width: 32px;
  margin-top: 8px;
}
.hicLogox {
width: 35vw; align-items: center; justify-content: center; margin-right: 15%; padding-top: 25px;
}

.hicNumberx {
width: 60vw; align-items: center; justify-content: flex-end;margin-left: 39%;
}
#numberLinkx {font-size: 40px; font-weight: 700; color: white; text-decoration: none; font-family: sofia Pro;}

#type_of_cover_dropdown {
width: auto;
}
#fname {
width: auto;
}

#lname {
width: auto;
}

#postal {
 min-width: 40vw;
}
.mapClick:hover {
background-color: rgba(0,0,0, 0.2);
}

#do_you_smoke_dropdown {
min-width: 40vw;
}
#policy_start_date {
width: auto;
}

#year_of_birth {
min-width: 40vw;
}
#phone {
width: auto;
}

#email {
width: auto;
}

#dynamic-lead-form > div.panel.active > div:nth-child(2) > label > span {
margin-left: 0;
  font-weight: 800;
}
#dynamic-lead-form > div.panel.active > div:nth-child(1) > label > span {
margin-left: 0;
  font-weight: 800;
}
#dynamic-lead-form > div.panel.active > div:nth-child(3) > label > span {
margin-left: 0;
  font-weight: 800;
}
#dynamic-lead-form > div.panel.active > div:nth-child(4) > label > span {
margin-left: 0;
  font-weight: 800;
}

#headerBox {
display: flex;
  flex-direction: row;
}

span.error-messages span {
    border: 1px solid red;
    color: red;
    display: flex;
    width:80%;
    padding:5px;
    margin-bottom:5px;
  margin-bottom: -40px;
  margin-left: 100px;
}
label em {
    font-size: 12px;
}
#button-container {
  display: flex !important;
  flex-direction: row;
  justify-content: space-between !important;
  width: auto;
}
#question1 {
  justify-content: center;
margin-top: -150px;
  width: auto;
  padding: 0 !important;
  font-weight: 100;
}
#question2 {
  align-items: center;
margin-top: -162px;
  width: auto;
  padding: 0 !important;
  font-weight: 100;
}
#question3 {
  align-items: center;
  width: auto;
  padding: 0 !important;
  margin-top: -170px;
  font-weight: 100;
}
#question4 {
  align-items: center;
margin-top: -170px;
  width: auto;
  padding: 0 !important;
  font-weight: 100;
}
#question5 {
  align-items: center;
margin-top: -170px;
  width: auto;
  padding: 0 !important;
  font-weight:100;
}
#question6 {
  align-items: center;
margin-top: -170px;
  width: auto;
  padding: 0 !important;
  font-weight:100;
}
#question7 {
  align-items: center;
margin-top: -170px;
  width: auto;
  padding: 0 !important;
  font-weight: 100;
}
#question8 {
  align-items: center;
margin-top: -170px;
  width: auto;
  padding: 0 !important;
  font-weight: 100;
}

button {
display: show;
}
button#back-button {
    background-color: #022133;
  justify-content: center;
   text-align: center;
    border: 0px;
    color: #84d300;
    width: auto;
    border-radius: 6px;
    padding: 12px;
  padding-left: auto;
    font-size: 26px;
    cursor:pointer;
    font-weight: bold;
  margin-right: 10px;
}
button#next-button {
  display: inline-block !important;
  justify-content: center;
   text-align: center;
    background-color: rgba(132,211,0,1.0);
    border: 0px;
    color: #fff;
  height: 60px;
    width: auto;
    border-radius: 6px;
    padding: 12px;
  padding-left: 45%;
    font-size: 26px;
    cursor:pointer;
    font-weight: bold;
  padding-left: 50px;
  padding-right: 30px;
  margin-top: 20px;
  z-index: 2;
}

#dynamic-lead-form button#submit {
width: auto;
  z-index: 999;
}


.blueSwirl {
  padding-top: 180px;
background-image: url('https://7978886.fs1.hubspotusercontent-na1.net/hubfs/7978886/footer-1.png') !important;
  background-size: cover !important;
  width: 100% !important;
  height: 50vh;
  margin-bottom: 0 !important;
  
}

.cookies {
 padding-top: 180px;
background-color: #022133;
  width: 100% !important;
  height: 35vh;
  margin-bottom: 0 !important;
}

.marginFooter {
  padding-left: 70px;
  padding-right: 70px;
 margin-bottom: 0;
}

.footerTextWhite {
color: white;
  font-size: 16px;
  margin: 0px;
}
.footerButtons {
  margin-top: -25px;
padding-left: 70px;
  padding-bottom: 25px;
}
.columnFooter{
display: flex;
  flex-direction: column;
  margin-bottom: 0 !important;
}
#menuAnchors {
z-index: 500; display: flex; flex-direction: row; margin-left: -10%;
}

#mapUkContainer {
  margin: 10px;
  padding: 60px;
  margin-bottom: 5%;
}
#innerMainContainer {
height: 70%; 
  width: 70%;
  padding: 10px;

}
#ageContainerMain {
display: flex; flex-direction: column; justify-content: center; align-items: center; background: linear-gradient(70deg, #021825, #032d46); padding: 50px; height: 400px;
}

#buttonMaleGroup {
display: flex; flex-direction: row; width: 100%; margin-bottom: 15px; margin-top: 15px;
}

#buttonFemaleGroup {
display: flex; flex-direction: row; width: 100%; margin-top: 15px;
  
}

#sectionThreeBanner {
display: flex; flex-direction: column; justify-content: flex-end; padding-left: 830px; padding-top: 100px;
}

.benefitSize {height: 300px; width: 300px;}

@media (min-width: 768px) and (max-width: 1259px){
#sectionThreeBanner {
display: flex; flex-direction: column; justify-content: center; padding-left: 35% !important; background-color: rgba(2, 33, 51, 0.7);padding-top: 11.5% !important;padding-bottom: 11% !important; padding-right: 20% !important;
}
  .hicNumber {
width: 40vw; align-items: center; justify-content: flex-end;margin-left: 18%;
}
  #logoBox {
width: 300px; margin-top: 10px; margin-left: 18%;
}
}

@media (min-width: 1300px) {
  .benefitSize { height: 320px!important; width: 320px !important;}
  
  #dynamic-lead-form .transparent{
      -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    font-family: inherit;
    line-height: 1.15;
    margin: 0;
    overflow: visible;
    text-transform: none;
    flex-direction: row;
    justify-items: flex-end;
    -webkit-appearance: button;
    width: 28.7% !important;
  cursor: not-allowed;
    margin-left: 130px;
    display: show;
    border: 0;
    border-radius: 6px;
    font-size: 22px;
    font-weight: 700;
    margin-top: 25px;
    color: transparent !important;
    background-color: transparent !important;
    padding: 15px 70px;
    text-align: center;
}
  button#back-button {width:auto;
    justify-content: center;
     text-align: center;
   padding-left: 70px;
  padding-right: 70px;
  }
  button#next-button {
  display: inline-block !important;
    justify-content: center;
     text-align: center;
    background-color: rgba(132,211,0,1.0);
    border: 0px;
    color: #fff;
  height: 60px;
    width: auto;
    border-radius: 6px;
    padding: 12px;
    font-size: 26px;
    cursor:pointer;
    font-weight: bold;
  padding-left: 70px;
  padding-right: 70px;
  margin-top: 5px;
}
  #dynamic-lead-form button#submit {
width: auto;
}
  #globalHeaderContainer {
  background-color: #022133; 
  height: 90px;
}
#headerBoxA {
  display: flex;
  justify-content: space-around;
  padding: 8px;
  width:100%;
}
#logoBox {
width: 300px; 
  margin-left: -80px;
}
#phoneIcon {
width: 32px;
  margin-top: 8px;
}
.hicLogo {
width: 35vw; align-items: center; justify-content: center; padding-top: 25px; margin-left: 35%;
}

.hicNumber {
width: auto; align-items: center; justify-content: flex-end; margin-left: -100px;
}
  #logoBoxx {
width: 300px; margin-top: 10px; margin-left: 265%;
}
#phoneIconx {
width: 32px;
  margin-top: 8px;
}
.hicLogox {
width: 35vw; align-items: center; justify-content: center; padding-top: 25px; margin-left: 35%;
}

.hicNumberx {
width: 60vw; align-items: center; justify-content: flex-end;margin-left: 51.5%; 
}

  #fname {
width: auto;
}

#lname {
width: auto;
}
  
  #type_of_cover_dropdown {
min-width: 40vw;
}
  
  #postal {
 min-width: 40vw;
}

#do_you_smoke_dropdown {
width: auto;
}
#policy_start_date {
min-width: 40vw;
}

#year_of_birth {
  min-width: 40vw;
}
#phone {
width: auto;
}

#email {
width: auto;
}
  
  #question1 {
    justify-content: center;
  align-items: center;
margin-top: -120px;
  width: auto;
  padding: 0 !important;
  font-size: 32px;
}
#question2 {
  justify-content: center;
  align-items: center;
margin-top: -162px;
  width: auto;
  padding: 0 !important;
  font-size: 32px;
}
#question3 {
  justify-content: center;
  align-items: center;
margin-top: -175px;
  width: auto;
  padding: 0 !important;
  font-size: 32px;
}
#question4 {
  justify-content: center;
  align-items: center;
margin-top: -170px;
  width: auto;
  padding: 0 !important;
  font-size: 32px;
}
#question5 {
  justify-content: center;
  align-items: center;
margin-top: -170px;
  width: auto;
  padding: 0 !important;
  font-size: 32px;
}
#question6 {
  justify-content: center;
  align-items: center;
margin-top: -170px;
  width: auto;
  padding: 0 !important;
  font-size: 32px;
}
#question7 {
  align-items: center;
margin-top: -170px;
  width: auto;
  padding: 0 !important;
  font-size: 32px;
}
#question8 {
  align-items: center;
margin-top: -170px;
  width: auto;
  padding: 0 !important;
  font-size: 32px;
}
  #sectionThreeBanner {
display: flex; flex-direction: column; justify-content: flex-end; padding-left: 70%; padding-top: 100px; padding-right: 70px;
}
}


@media screen and (max-width: 768px) {
  #dynamic-lead-form > div.panel.active > div:nth-child(3) > span {
  
  }
  #buttonMaleGroup {
display: flex; flex-direction: column; width: 100%; margin-bottom: 15px; margin-top: 15px;
}
  
  #ageContainerMain {
display: flex; flex-direction: column; justify-content: center; align-items: center; background: linear-gradient(70deg, #021825, #032d46); padding: 50px;
}
   #dynamic-lead-form .transparent{
    display: none;
}
  #logoBox {
width: 270px; margin-top: 5px; margin-left: 90px;
}
  #numberLink {font-size: 32px;}
#phoneIcon {
width: 32px;
  margin-top: 8px;
}
.hicLogo {
width: 35vw; align-items: center; justify-content: center; margin-right: 15%; padding-top: 25px;
}

  #globalHeaderContainer {
    padding-top: 10px;
  height: 130px;
  }
  #headerBoxA {
  display: flex !important;
    flex-direction: column !important;
    justify-items: center;
    align-items: center;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  .hicNumber {
    margin-top: 2px;
  margin-left: 90px;
    padding-left: 0;
    width: 350px;
  }
  
    #logoBoxx {
width: 250px; margin-top: 5px; margin-left: -15px;
}
#phoneIconx {
width: 32px;
  margin-top: 8px;
}
.hicLogox {
width: 35vw; align-items: center; justify-content: center; padding-top: 5px;
}

.hicNumberx {
width: 400px; align-items: center; justify-content: center;
}
  #numberLinkx {
  width: 400px;
    padding: 0;
    font-size: 32px;
  }
  
  .body-container-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  #fname {
width: auto;
}

#lname {
width: auto;
}
  
  #type_of_cover_dropdown {
width: auto;
}
  
  #postal {
 width: auto;
}

#do_you_smoke_dropdown {
width: auto;
}
#policy_start_date {
width: auto
}

#year_of_birth {
width: auto;
}
#phone {
width: auto;
}

#email {
width: auto;
}
  
  #button-container {
  display: flex !important;
    flex-flow: column-reverse;
  justify-content: space-between !important;
  width: auto;
}
  button#back-button {
    background-color: #022133;
    justify-content: center;
     text-align: center;
    border: 0px;
    color: #84d300;
    width: auto;
    border-radius: 6px;
    padding: 15px;
    padding-right: 70px;
  padding-left: 50%;
    font-size: 26px;
    cursor:pointer;
    font-weight: bold;
    display: flex !important;
}
  #dynamic-lead-form > div.panel.active > div.form-group.input-error > span {
    width: auto;
  }
  
  #dynamic-lead-form > div.panel.active > div.form-group.input-error > span > span {
    width: auto;
  }
  #dynamic-lead-form > div.panel.active > div:nth-child(3) > span > span:nth-child(2) {
  margin-top: 50px;
  }
  
button#next-button {
  display: flex !important;
  justify-content: center;
  text-align: center;
    background-color: rgba(132,211,0,1.0);
    border: 0px;
    color: #fff;
    width: auto;
    border-radius: 6px;
    padding: 15px;
  padding-right: 70px;
  padding-left: 70px;
    font-size: 26px;
    cursor:pointer;
    font-weight: bold;
}

#dynamic-lead-form button#submit {
width: auto;
  padding: 15px;
  padding-right: 70px;
  padding-left: 70px;
}
  #dynamic-lead-form > div.panel.active > div:nth-child(2) > label > span {

}
  #dynamic-lead-form > div.panel.active > div:nth-child(1) > label > span {

}
  #dynamic-lead-form > div.panel.active > div:nth-child(3) > label > span {
  
  }
  
  
   #question1 {
     display: flex;
     flex-direction: column;
     justify-content: center;
  align-items: center;
margin-top: -140px;
  width: auto !important;
  padding: 0 !important;
  font-size: 20px !important;
}
#question2 {
  align-items: center;
margin-top: -162px;
  width: 80vw !important;
  padding: 0 !important;
  font-size: 20px;
}
#question3 {
  align-items: center;
margin-top: -175px;
  width: 80vw !important;
  padding: 0 !important;
  font-size: 20px;
}
#question4 {
  align-items: center;
margin-top: -170px;
  width: 80vw !important;
  padding: 0 !important;
  font-size: 20px;
}
#question5 {
  align-items: center;
margin-top: -170px;
  width: 80vw !important;
  padding: 0 !important;
  font-size: 20px;
}
#question6 {
  align-items: center;
margin-top: -170px;
  width: 80vw !important;
  padding: 0 !important;
  font-size: 20px;
}
#question7 {
  align-items: center;
margin-top: -130px;
  width: 80vw !important;
  padding: 0 !important;
  font-size: 20px;
}
#question8 {
  align-items: center;
margin-top: -170px;
  width: 80vw !important;
  padding: 0 !important;
  font-size: 20px;
}

  .blueSwirl {
  height: 80vh;
    padding 0px !important;
  }
  .footerButtons {
  margin-top: 70px;
padding-left: 70px;
  padding-bottom: 25px;
    width: 350px;
}
  .footerTextWhite {
color: white;
    width: 100% !important;
  font-size: 16px;
  margin: 0px;
  padding: 0px;
}
  .marginFooter {
  padding-left: 5px;
  padding-right: 5px;
 margin-bottom: 0;
}
  #menuAnchors {
  margin-left: 120px;
    margin-bottom: 80px;
  }
  #mapUkContainer {
  height: 500px; width: 500px;margin-top: 120px;
  }
  #sectionThreeBanner {
  padding-left: 90px;
    padding-top: 60px;
    padding-bottom: 100px;
    padding-right: 90px;
    background-color: rgba(2, 33, 51, 0.8);
  }

}