:root {
  /* primary */
  --verisure-red: #ED002F;
  --verisure-white: #fff;
  /* web */
  --verisure-grey: #f1f1f1;
  --verisure-text: #262626;
  --verisure-old: #ff0033;
  /* secondary */
  --verisure-grey-1: #dcddde;
  --verisure-grey-2: #bec0c2;
  --verisure-grey-3: #b1b1b1;
  --verisure-grey-4: #8a8c8e;
  --verisure-grey-5: #636466;
  --verisure-stone: #dcd5cc;
  /* complimentary */
  --verisure-dark-red: #ab192d;
  --verisure-orange: #ff9254;
  --verisure-peach: #ffc7a6;
  --verisure-yellow: #ffef82;
  --verisure-straw: #fff8cc;
  /* green */
  --verisure-green: #00a37d;
  --verisure-green-2: #00bf9e;

  --red: var(--verisure-red) !important;
  --darkred: var(--verisure-dark-red);

  /* gradients */
  /* red - from top left --verisure-red to bottom right --verisure-dark-red  */
  /* grey- from left --verisure-grey-1 to right --verisure-grey-5*/
  /* orange- from left --verisure-peach to right --verisure-orange */
  /* yellow- from left --verisure-straw to right --verisure-yellow */
  /* green- from left --verisure-green to right --verisure-green-2 */

  /* Todo: This can override old styles soon, update red ff0033 to use var */
  /* --color-primary: var(--red);
  --color-primary-darker: var(--darkred);
  --color-primary-dark: var(--darkred);
  --color-primary-light: var(--darkred);
  --color-secondary: var(--verisure-text); */

}

.text-red {
  color: var(--red);
}

.bg-red {
  background-color: var(--red);
}

.text-old-red {
  color: var(--verisure-old);
}

.bg-old-red {
  background-color: var(--verisure-old);
}



/* fixes cls for sidebar */
@media(max-width: 991px) {
  .col-lg-4.radix-layouts-sidebar.panel-panel .block-region-sidebar span.sidebar-menu-trigger+nav {
    height: 0;
    overflow: hidden
  }

  .col-lg-4.radix-layouts-sidebar.panel-panel .block-region-sidebar span.sidebar-menu-trigger.menu-item--active-trail+nav {
    height: unset;
    overflow: visible
  }

  .col-lg-4.radix-layouts-sidebar.panel-panel .block-region-sidebar>nav ul li.menu-item {
    display: none;
  }

  .col-lg-4.radix-layouts-sidebar.panel-panel .block-region-sidebar>nav>ul>li.menu-item:first-child,
  .col-lg-4.radix-layouts-sidebar.panel-panel .block-region-sidebar span.sidebar-menu-trigger.menu-item--active-trail+nav ul li.menu-item {
    display: block;
  }
}

body:is(.page-node-4756,
  .page-node-4756,
  .page-node-4761,
  .page-node-4766,
  .page-node-4901,
  .page-node-4906,
  .page-node-4911,
  .page-node-4916,
  .page-node-4921,
  .page-node-4901,
  .page-node-4906,
  .page-node-4911,
  .page-node-4916,
  .page-node-4921,
  .page-node-4936,
  .page-node-4946,
  .page-node-4956,
  .page-node-4961,
  .page-node-5701,
  .page-node-5721,
  .page-node-5756,
  .page-node-5911,
  .page-node-5996) span.sidebar-menu-trigger:before {
  content: "Smart Alarm Technology";
}

body:is(.page-node-4966,
  .page-node-4971,
  .page-node-4976,
  .page-node-4981,
  .page-node-4991,
  .page-node-4996,
  .page-node-5676,
  .page-node-5681,
  .page-node-5691,
  .page-node-5696) span.sidebar-menu-trigger:before {
  content: "Learn more about Verisure"
}

span.sidebar-menu-trigger:before {
  content: "Explore related content";
  color: #666;
}

span.sidebar-menu-trigger {
  color: transparent;
}

.btn-red {
  background-color: var(--red) !important;
  color: white !important;
}

.btn-green {
  background-color: green;
  color: white !important;
}

.btn-outline {
  --color: var(--verisure-red);
  --padding: 1em;
  padding: var(--padding) !important;
  line-height: normal;
  --font-size: 25px;
  font-size: var(--font-size) !important;
  --border: 5px;
  border: var(--border) solid;
  border-color: var(--color);
  --height: calc(var(--padding)*2 + var(--font-size) + var(--border)*2);
  background-color: white !important;
  color: var(--color) !important;
  border-radius: var(--height) !important;
}

.btn-outline.btn-red {
  --color: var(--verisure-red);
}

.btn-outline.btn-green {
  --color: green;
}

.btn-outline {
  transition: all 0.5s;
}

.btn-outline.btn-red:hover {
  background-color: var(--verisure-red) !important;
  color: white !important;
}

.btn-outline.btn-green:hover {
  background-color: green !important;
  color: white !important;
}

.hero-quote {
  height: 450px;
}

.hero-quote p {
  color: black;
  font-weight: 300;
  margin-bottom: 0;
}
.form-wrapper.bg-white {
  border: 1px solid var(--color-grey-100);
  border-left: none;
  border-right: none;


}

/* new sidebar levels */
.block-region-sidebar ul.menu .menu-item--expanded ul.menu .menu-item--expanded.menu-item--active-trail>a,
.block-region-sidebar ul.menu .menu-item--expanded a.is-active {
  background: var(--verisure-grey);
  font-weight: 400;
  color: black;
}

.block-region-sidebar ul.menu .menu-item--expanded a.is-active {
  border-left-color: var(--verisure-old);
}

.block-region-sidebar ul.menu .menu-item--expanded ul.menu .menu-item--expanded ul.menu a {
  padding-left: 31px;
}

/* red arrows in red buttons - med-pri applies the after */
.btn-medium-primary.text-primary:after {
  background-image: url('/themes/custom/bootstrap_securitas/images/icons/svg/go_small.svg');
}

.mobile-quote-container {
  transition: top 1s;
  z-index: 10;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  box-shadow: inset 0 25px 10px -5px #00000026;
  transition: all 1s;
}

.mobile-quote-container .btn-start-quote {
  max-width: 250px;
  margin-left: auto;
  font-size: 18px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  color: #ff0033;

}

#block-mobilephoneheader a.btn-start-quote:before {
  display: none;
}

.btn-start-quote:after {
  background-image: url(/themes/custom/bootstrap_securitas/images/icons/svg/go_small.svg);
}

.fixed-header .mobile-quote-container:not(.d-none) {
  top: 78px;
  display: block !important;
}

.layout-container>header .region-header {
  flex-wrap: wrap;
  max-width: 1380px;
  margin-right: 0;
}

.line-height-1 {
  line-height: 1 !important; /* normal is important */
}

/* fix the search button  */
.block-views-exposed-filter-blockacquia-search-page-external-search input.form-submit {
  height: 41px;
  padding-top: 7px;
}

@media screen and (min-width: 1441px) {
  header .block-views-exposed-filter-blockacquia-search-page-external-search input.form-submit {
    height: 41px;
    padding-top: 7px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1440px) {

  /* check min */
  header .block-views-exposed-filter-blockacquia-search-page-external-search input.form-submit {
    background: transparent !important;
    padding-top: 0 !important;
  }

  header .block-views-exposed-filter-blockacquia-search-page-external-search .form-actions {
    top: 10px !important;
  }

}

@media screen and (min-width: 768px) and (max-width: 1439px) {
  #block-headerbutton {
    flex-grow: 1;
    justify-content: center;
  }

  #block-headerbutton .btn-medium-primary {
    margin-left: 0;
  }

}

@media screen and (max-width: 767px) {
  #views-exposed-form-office-lists-block-spain-list {
    text-align: center;
  }

  header .block-views-exposed-filter-blockacquia-search-page-external-search input.form-submit {
    height: 41px;
    padding-top: 6px !important;
  }

}

/* fix admin buttons */
.user-logged-in .block-local-tasks-block {
  /* margin-bottom: 0;
  z-index: 502;
  position: relative; */
}

.user-logged-in .tabs a {
  cursor: pointer;
  pointer-events: auto;
}

.user-logged-in .tabs li {
  width: unset;
}

.bootstrap-form-hero .row.no-gutters {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

/* fix moving header banner */

@media (min-width: 768px) {
  .hero-quote {
    height:420px;
  }
  .layout-container>header>.wrapper-header {
    padding: 10px;
  }

  .fixed-header.toolbar-tray-open.toolbar-vertical .layout-container>header {
    top: 32px;
  }

  .fixed-header.toolbar-tray-open .layout-container>header {
    top: 79px;
  }

  .menu--main .menu a {
    font-weight: 400;
  }

  .layout-container>header .site-header {
    height: 120px;
  }

  .layout-container main {
    padding: 170px 0 0;
  }

  #views-exposed-form-office-lists-block-spain-list .shs-container {
    width: 50%;
    margin: auto;
  }

  .fixed-header .layout-container>header.top-header-off {
    top: -145px;
  }


}


/* for fake hero */
.block-region-header .container-fluid h1 {
  font-size: 2.5rem;
  text-align: left;
}

.block-region-header .bg-img-fake-desktop {
  display: block;
  height: 100%;
  padding: 0;
}

.block-region-header .bg-img-fake-mobile {
  display: none;
}

.block-region-header .bg-img-fake-responsive-wrapper {
  height: 100%;
  left: 0;
  position: absolute;
  right: 0;
}

.block-region-header .bg-img-fake-responsive-wrapper+.row {
  min-height: 190px;
}

@media screen and (max-width: 768px) {
  .block-region-header .bg-img-fake-desktop img {
    margin-left: -30%;
    /* check used to be 769 */
  }


  /* horrible header fixes */
  .layout-container>header .region-header {
    justify-content: space-between;
    align-items: stretch;
  }

  .layout-container>header .region-header :is(#block-headerbutton, .menu--main,
    .block-views-exposed-filter-blockacquia-search-page-external-search) {

    display: none;
  }

  .layout-container>header .site-header .wrapper,
  #block-mobilephoneheader {
    display: flex;
    width: 61px;
    height: 78px;
    /* hardcoded padding? */
    position: relative;

  }

  .layout-container>header .region-header #block-verisure-uk-branding {
    margin-right: 0;
    display: flex;
    align-content: center;
  }

  .menu-slide-action,
  #menu-svg,
  .sliding-panel-content {
    display: block;
  }

  #block-mobilephoneheader {
    order: 3;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #block-mobilephoneheader a.email-call-to-action:before {
    content: "";
    background-image: none;
    display: none;
  }

  #block-mobilephoneheader a.email-call-to-action {
    font-size: 1.5rem;
    text-decoration: none;
    padding: 20px;
  }

  .block-system-branding-block .site-logo {
    margin-right: 0;
    height: 100%;
    display: flex;
  }

  a.site-logo img {
    object-fit: contain;
  }

  .layout-container>header .region-header .block-system-branding-block {
    transform: none;
  }

  #block-mobilephoneheader .phone-call-to-action a {
    padding: 10px 18px 22px;
    display: flex;
  }

}

@media screen and (max-width: 425px) {
  .block-region-header .bg-img-fake-desktop img {
    margin-left: -70%;
  }

  .mobile-quote-container .btn-start-quote {
    margin-right: auto;
  }
}

.page-title {
  display: flex;
  margin-bottom: 0.5rem;
}

.page-title img {
  margin-right: 1rem;
  height: 50px;
  width: 40px;
}

.page-title img+h1 {
  margin: 0;
  display: flex;
  align-items: center;
  text-transform: uppercase;
}

h1.title,
h2.title,
.container-fluid h1.title {
  font-size: 28px;
  font-weight: 300;
}

h3.title {
  font-size: 22px;
  font-weight: 300;
}

.title>strong,
.subtitle>strong,
.strong,
.title.strong,
.subtitle.strong {
  font-weight: 500;
}

.title>b,
.subtitle>b,
.bold,
.title.bold,
.subtitle.bold {
  font-weight: 400;
}

h2.subtitle {
  font-size: 26px;
  font-weight: 300;
}

h3.subtitle {
  font-size: 22px;
  font-weight: 300;
  margin-top: 0;
}

li>p {
  margin-bottom: unset;
}

/* who unset these styles
  set for just ul when updated markup */
ul.bullets {
  display: block;
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 40px;
}

p.fat,
a.fat {
  font-size: 18px;
  font-weight: 700;

}

a.fat {
  color: var(--default-text-color);
}

a.red {
  color: var(--color-primary);
}

input.search-bar {
  border-radius: 40px;
  padding-left: 1rem !important;
  outline: none;
}

.layout-container>header .menu--main .menu-level-1 {
  transition: none;
}

#offer-popup {
  display: none;
}

/* offer banner / popup */
.path-frontpage #special-offer #banner.d-none,
.page-node-6031 #special-offer #banner.d-none,
.page-node-6036 #special-offer #banner.d-none{
  display: block !important;
}

#special-offer .popup.hide {
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
}

#special-offer .popup {
  position: fixed;
  left: 0;
  bottom: 0;
  visibility: visible;
  opacity: 1;
  z-index: 1000;
  transition: all 0.5s;
  max-width: 425px;
  background: var(--verisure-grey);
  border: 1px solid var(--verisure-red);
  border-radius: 1rem;
}

#special-offer .popup-close {
  background-color: var(--verisure-old);
  color: white;
  --size: 30px;
  width: var(--size);
  height: var(--size);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 32px;
  font-weight: 500;
  text-transform: none;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
}

#special-offer .popup-close:hover {
  background-color: var(--verisure-dark-red);
}

#special-offer .popup-smallprint {
  background: white;
  margin: -1rem;
  border-radius: 1rem;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top: 1px solid var(--verisure-red);
}

#review-box ul.nav {
  gap: 1em;
}


#review-box .nav-link {
  color: white;
  padding: 2em;
  text-align: center;
  font-size: 21px;
  font-weight: 600;
}

.webform-submission-negative-review-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  margin-bottom: 2em;
}

.webform-submission-negative-review-form label {
  display: block;
}

.webform-submission-negative-review-form>.form-item {
  width: 100%;
  flex-basis: 100%;
  margin: 0;
}

@media (min-width: 375px) {

  .webform-submission-negative-review-form :is(.form-item-name, .form-item-email) {
    width: 50%;
    flex-basis: calc(50% - 0.5em);
  }
}

.webform-submission-negative-review-form .form-actions {
  margin: 0;
}

.webform-submission-negative-review-form .webform-button--submit {
  background: var(--verisure-red);
  color: white;
  padding: 1em;
  height: unset;
  line-height: unset;
  margin: 0;
  border-radius: 7px;
}

/* .bootstrap-form-hero picture {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}
.bootstrap-form-hero picture img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
} */

/* someone re-ordered d-none without lg in main-mw.css */
.d-none {
  display: none !important;
}

@media (min-width: 992px) {
  .d-lg-block,
  .d-none.d-lg-block {
    display: block !important;
  }

  .position-lg-absolute {
    position: absolute;
  }
}

.object-fit-cover,
.object-fit-cover img {
  object-fit: cover;
  object-position: center;
}

.object-fit-contain,
.object-fit-contain img {
  object-fit: contain;
  object-position: center;
}

.object-position-left,
.object-position-left img {
  object-position: left !important;
}
/* .hreo-preload-big or small might get deleted, this shows the other img which gets replaced by srcset */
.layout-content div.hero-img-container picture > img:only-of-type {
  display: block !important;
}