.block-content-type-template_block {
  background-color: #fff;
}

.site-footer {
  z-index: 1;
}

/* Styles for front page */
.path-frontpage .lp-hero-webform,
.path-frontpage .lp-hero-webform .bg-desktop,
.path-frontpage .lp-hero-shadow {
  max-height: 100vh;
  min-height: 750px;
  max-width: 100%;
  height: 100vh;
}

.path-frontpage .lp-hero-shadow {
  display: block;
}

.path-frontpage .lp-hero-webform,
.path-frontpage .lp-hero-webform .bg-desktop{
  top: 0;
  left: 0 !important;
  position: fixed;
}

.verisure-se.path-frontpage:not(.fixed-header):not(.user-logged-in) .layout-container > header .wrapper-header .site-header div.region-header .menu--secondary-menu ul.menu li.menu-item a {
  color: #fff;
}

@media screen and (min-width: 61.9375rem) {
  .path-frontpage.verisure-se:not(.user-logged-in):not(.fixed-header) .layout-container > header .wrapper-header .site-header div.region-header {
      padding-top: 12px !important;
  }
}

@media (min-width: 0) and (max-width: 990px) {
  .path-frontpage .lp-hero-webform {
    position: static;
    max-height: unset;
    height: auto;
  }
  
  .path-frontpage .lp-hero-shadow {
    display: none;
  }
  
  .path-frontpage .lp-hero-webform,
  .path-frontpage .lp-hero-webform .bg-mobile {
    min-height: 100vh;
  }
  
  .path-frontpage .lp-hero-webform .container {
    margin-top: 45vh;
  }
}

@media (min-width: 1081px) {
  .path-frontpage .lp-hero-webform .container {
    margin-top: 80px;
  }
}

/* End styles front page*/


  
.lp-hero-webform * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.lp-hero-webform {
  position: fixed;
  max-width: 1920px;
  width: 100%;
  height: 100vh;
  max-height: 650px;

}

.lp-hero-webform .bg-desktop {
  width: 100%;
  height: 100vh;
  max-height: 650px;
  position: fixed;
  left: 0;
  max-width: 1920px;
  object-position: center !important;
}

.lp-hero-shadow {
  height: 100vh;
  max-height: 650px;
}

@media (min-width: 1200px) and (max-width: 1600px) {
  .lp-hero-webform,
  .lp-hero-webform .bg-desktop,
  .lp-hero-shadow {
    max-height: 600px;
  }
  
  .lp-hero-webform .select-propertytype .cta-buttons-propertytype .cta-button-property a {
    width: 90px !important;
  }
  
  .lp-hero-webform .headings h3 {
    line-height: 1.2;
  }
}


.lp-hero-webform .container {
  display: flex;
  align-items: center;


}
    
@media (min-width: 1200px) {
  .lp-hero-webform .container {
      max-width: 1140px;
  }
}

@media (min-width: 1360px) {
  .lp-hero-webform .container {
      --container-max-width: 1260px;
      max-width: var(--container-max-width);
  }
}
  
@media (min-width: 1540px) {
  .lp-hero-webform .container  {
      --container-max-width: 1400px;
      max-width: var(--container-max-width);
  }
}
    

.lp-hero-webform.form-clean.lp-hero-webform .webform-submission-form {
  max-width: 350px;
  margin: auto;
  color: #fff;
  position: relative;
  min-height: 100px;
  margin-top: 15px;
  width: 100%;
}

.lp-hero-webform.form-clean.lp-hero-webform .webform-submission-form * {
  margin-top: 0;
  margin-bottom: 0;
}

.lp-hero-webform.form-clean.lp-hero-webform form input[type='text'],
.lp-hero-webform.form-clean.lp-hero-webform form input[type='tel'] {
  background-color: transparent;
  text-align: left;
  border: none;
  box-shadow: none;
  border-radius: 0 !important;
  position: relative;
  color: #fff !important;
  font-size: 18px;
  letter-spacing: .025em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.lp-hero-webform.form-clean.lp-hero-webform .form-item-phone {
  position: relative;
}

.lp-hero-webform.form-clean.lp-hero-webform .form-item-phone:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 15px;
  top: 40px;
  left: 0;
  z-index: 0;
  border-bottom: 2px solid #fff;
  border-radius: 10px;
}

.lp-hero-webform.form-clean.lp-hero-webform .form-submit {
  margin: 0 auto;
  border-radius: 50px;
  background-color: #fff;
  border: none;
  color: #262626;
  padding: 0 20px;
  margin-top: 15px;
  height: 30px;
  line-height: 30px;
  position: absolute;
  right: 10px;
  top: 10px;
  margin: 0;
}


.lp-hero-webform.form-clean.lp-hero-webform .form-submit:hover {
  background-color: #262626 !important;
  color: #fff !important;
  border: none !important;
}

.lp-hero-webform.form-clean.lp-hero-webform form input[type='text']::-webkit-input-placeholder,
.lp-hero-webform.form-clean.lp-hero-webform form input[type='tel']::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #fff !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  text-align: left;
}

.lp-hero-webform.form-clean.lp-hero-webform form input[type='text']::-moz-placeholder,
.lp-hero-webform.form-clean.lp-hero-webform form input[type='tel']::-moz-placeholder {
  /* Firefox 19+ */
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
  text-align: left;
}
    
.lp-hero-webform.form-clean.lp-hero-webform .form-item.messages-box.message-notice .messages-inner-wrapper {
  font-size: 15px;
  margin-bottom: 30px;
  padding: 0 15px;
  line-height: 1.5;
}

.lp-hero-webform.form-clean.lp-hero-webform .form-item.messages-box .messages-inner-wrapper {
  background: transparent;
  color: white;
  font-size: 12px;
  padding: 0 30px;
  text-align: center;
  position: absolute;
  bottom: 0;
  font-weight: 600;
  margin: 0;
}


.parallax-hero form input:-webkit-autofill,
.parallax-hero form input:-webkit-autofill:hover,
.parallax-hero form input:-webkit-autofill:focus,
.parallax-hero form textarea:-webkit-autofill,
.parallax-hero form textarea:-webkit-autofill:hover,
.parallax-hero form textarea:-webkit-autofill:focus,
.parallax-hero form select:-webkit-autofill,
.parallax-hero form select:-webkit-autofill:hover,
.parallax-hero form select:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff !important;
}
    
.lp-hero-webform-headings:after{
  content: '';
  border-top: 1px solid #fff;
  display: block;
  margin: 24px auto 0;
  width: 100px;
}



.lp-hero-webform .select-propertytype .cta-buttons-propertytype .cta-button-property {
  height: 65px;
}

.lp-hero-webform.lp-hero .select-propertytype .cta-buttons-propertytype .cta-button-property a img {
  width: 20px !important;
  height: 20px !important;
}


.lp-hero.lp-hero-webform .select-propertytype .cta-buttons-propertytype .cta-button-property:hover {
  background-color: #262626 !important;
  transition: all .2s ease;
}

.lp-hero .select-propertytype .cta-buttons-propertytype .cta-button-property:hover a {
  color: #fff !important;
}

.lp-hero .select-propertytype .cta-buttons-propertytype #cta-button-business:hover a img.white,
.lp-hero .select-propertytype .cta-buttons-propertytype #cta-button-apartment:hover a img.white,
.lp-hero .select-propertytype .cta-buttons-propertytype #cta-button-house:hover a img.white,
.lp-hero .select-propertytype .cta-buttons-propertytype #cta-button-summerhouse:hover a img.white {
  display: block !important;
}

.lp-hero .select-propertytype .cta-buttons-propertytype #cta-button-business:hover a img.black,
.lp-hero .select-propertytype .cta-buttons-propertytype #cta-button-apartment:hover a img.black,
.lp-hero .select-propertytype .cta-buttons-propertytype #cta-button-house:hover a img.black,
.lp-hero .select-propertytype .cta-buttons-propertytype #cta-button-summerhouse:hover a img.black {
  display: none;
}
    

@media (max-width: 1080px) {
  .lp-hero-shadow {
    display: none;
  }
  
  .lp-hero-webform {
    position: static;
    height: auto;
    max-height: unset;
    min-height: calc(100vh - 90px);
  }

  .lp-hero-webform .bg-desktop {
    display: none !important;
  }

  .lp-hero-webform .bg-mobile {
    position: fixed;
    min-height: calc(100vh - 90px);
    left: 0;
    object-fit: cover;
    object-position: top !important;
    display: block !important;
        /*aspect-ratio: 9 / 16;*/

  }


      
.lp-hero-webform h2:after{
  margin: 18px auto 0;
}



.lp-hero .cta-buttons-propertytype {
  margin: 0 auto;
  gap: 10px;
}

.lp-hero-webform .headings h3 {
  padding: 0 20px;
}

.lp-hero-webform.lp-hero .select-propertytype .cta-buttons-propertytype .cta-button-property {

  margin: 0 !important;
}



     

.lp-hero-webform .container {
  justify-content: center;
  margin-top: 40vh;
  align-items: end;
}
      
.lp-hero-webform .container .col-12 {
  width: 100%;
  min-width: 100vw;
  border-radius: 0 !important;
}
      
.lp-hero-webform .container .col-12:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;

  height: 40px; /* hur mycket av toppen som ska blurra */
  
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  /* mjuk övergång */
  mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1),
    rgba(0,0,0,0)
  );
  pointer-events: none;
}

}

@media (max-width: 480px) {
      
.lp-hero-webform.parallax-hero .cta-buttons-propertytype {
  max-width: 350px;
}


.lp-hero-webform .select-propertytype .cta-buttons-propertytype .cta-button-property a {
  width: 125px !important;
}

.lp-hero-webform.form-clean form .form-item {
  margin: .5rem 0 0;
}

.lp-hero-webform.form-clean form .form-item.messages-box {
  margin: 0;
}

.lp-hero-webform.form-clean.lp-hero-webform .webform-submission-form {
  max-width: 300px;
}

      
}



@media (max-width: 375px) {
  
  .lp-hero-webform .container {
    justify-content: center;
    margin-top: 35vh;
  }
  
}

@media (min-width: 1921px) {
  .lp-hero-webform,
  .lp-hero-webform .bg-desktop {
    left: calc((100% - 1920px) / 2)
  }
}
