/*
Theme Name: Strategic Medical
Theme URI: https://www.strateticmedical.ch/
Author: 
Author URI: 
Version: 1.0

* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
/******** FONTS *******/
/* montserrat - latin_latin-ext */
@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/montserrat-v31-latin_latin-ext-300.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/montserrat-v31-latin_latin-ext-regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 400;
    src: url('fonts/montserrat-v31-latin_latin-ext-italic.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/montserrat-v31-latin_latin-ext-500.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/montserrat-v31-latin_latin-ext-600.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/montserrat-v31-latin_latin-ext-700.woff2') format('woff2');
}

/*************** ROOT ***************/
:root {
    --primary-font: 'Montserrat', sans-serif;

    --primary-color: #1E1E1E;
    --secondary-color: #79B638;

    --dark-section: #F5F5F4;

    --dark-filter: brightness(0) saturate(100%) invert(12%) sepia(0%) saturate(123%) hue-rotate(133deg) brightness(87%) contrast(96%);
    --white-filter: brightness(0) saturate(100%) invert(100%) sepia(5%) saturate(383%) hue-rotate(331deg) brightness(116%) contrast(100%);
}

/*************** PREDEFINED ***************/
body {
    font-family: var(--primary-font);
    color: var(--primary-color);
    padding-top: 56px;
}

html {
    scroll-padding-top: 56px;
}
.btn {
    padding: 8px 30px;
    border-radius: 0;
    font-size: 15px;
    font-weight: 400;
    border: 1px solid #FFFFFF;
    line-height: 1;
}

.btn-primary {
    background: var(--primary-color);
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    background: #FFFFFF !important;
    color: var(--primary-color) !important;
    border: 1px solid #FFFFFF !important;
}
.modal .btn-primary:hover,
.modal .btn-primary:focus,
.modal .btn-primary:active,
.modal .btn-primary.active {
    border: 1px solid var(--primary-color) !important;
}
.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}
.bg-black {
  background-color: #000;
  color: #fff;
}
.text-primary {
    color: var(--primary-color) !important;
}


.section-title {
    font-size: 26px;
    line-height: 1.1;
    margin-bottom: 0;
    font-weight: 700;
    text-transform: uppercase;
}

.section-title span {
    font-weight: 300;
}

.section-padding {
    padding: 50px 0;
}

.section-text {
    max-width: 600px;
}

.section-text p {
    margin-bottom: 0;
}

.section-text img {
    max-width: 100%;
    height: auto;
    margin-top: 30px;
}

p {
    font-size: 15px;
    line-height: 1.6;
}

.grey-section {
    background-color: var(--dark-section);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    margin-bottom: 18px;
}

/******** HAMBURGER ***********/
.hamburger {
    padding: 8px;
    display: inline-flex;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    z-index: 2000;
    overflow: visible;
}

.hamburger:hover {
    opacity: 0.7;
}

.hamburger.is-active:hover {
    opacity: 0.7;
}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
    background-color: var(--primary-color);
}

.hamburger-box {
    width: 30px;
    height: 16px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 30px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 3px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -8px;
}

.hamburger-inner::after {
    bottom: -8px;
}

.hamburger--spin .hamburger-inner {
    transition-duration: 0.22s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--spin .hamburger-inner::before {
    transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in;
}

.hamburger--spin .hamburger-inner::after {
    transition: bottom 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--spin.is-active .hamburger-inner {
    transform: rotate(225deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger--spin.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out;
}

.hamburger--spin.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/******** NAVBAR ***********/
.navbar-brand img {
    width: 120px;
}

.navbar {
    padding: 12px 0;
	z-index: 300;
}

.container {
    padding: 0 20px;
}

.offcanvas {
    top: 56px !important;
	z-index: 200;
}

.offcanvas-backdrop.show {
    opacity: 0;
    z-index: 50;
}
.admin-bar .navbar {
    top: 46px;
}
.admin-bar .offcanvas {
    top: 102px !important;
}
.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 22px;
    transition: all .1s;
    text-transform: uppercase;
}

.navbar-nav .nav-item {
    min-height: 60px;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    font-weight: 700;
    font-size: 24px;
}

.offcanvas-body {
    padding: 40px 0;
}

/******** HERO ***********/
.hero-section-block {
    min-height: calc(100svh - 56px);
}

.hero-disturber {
    background: linear-gradient(78.73deg, #009FE3 0%, #BED000 100%);
    width: 135px;
    height: 135px;
    padding: 25px;
    line-height: 1.2;
    bottom: 50px;
    right: 5%;
    transform: rotate(-7deg);
    transition: all .3s;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.hero-disturber:hover {
    transform: rotate(0deg);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.section-links a {
    color: var(--secondary-color);
    text-decoration: none;
    padding-left: 16px;
    position: relative;
}

.section-links a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 12px;
    background-image: url('img/chevron-right-green.svg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.section-links a:hover {
    color: var(--primary-color);
}

.section-links a:hover::before {
    filter: var(--dark-filter);
}

.map-section {
    height: 400px;
}

.map-section iframe {
    width: 100%;
    height: 100%;
}


.bg-pill {
    position: absolute;
    inset: 0;
    content: '';
    background: linear-gradient(78.73deg, rgba(0, 159, 227, 0.4) 0%, rgba(190, 208, 0, 0.4) 100%);
    border-radius: 99999px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    right: 30%;
    max-height: 500px;
}


.contact-img {
    width: 246px;
}

.contact-info-box {
    margin-left: 0;
}

.contact-info-logo img {
    max-height: 100px;
    width: auto;
    max-width: 100%;
}



.impressionSwiper {
  margin-top: 30px;
}
.swiper-button-prev,
.swiper-button-next {
  width: 45px;
  height: 45px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: var(--primary-color);
}
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 18px;
  color: var(--primary-color);
  font-weight: 600;
}
.swiper-button-prev:hover::after,
.swiper-button-next:hover::after {
  color: #FFFFFF;
}
.swiper-button-prev:hover::after {
  margin-right: 4px;
}
.swiper-button-next:hover::after {
  margin-left: 4px;
}
.swiper-nav {
  gap: 16px;
  margin-top: 20px;
}
.impressionSwiper .swiper-slide img {
  height: 290px;
  object-fit: cover;
}

table  th {
  background-color: var(--primary-color) !important;
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}
table  td {
  font-size: 14px;
  white-space: nowrap;
  text-align: center;
  font-weight: 300;
  color: var(--primary-color);
}
table  th:first-child,
table  td:first-child {
  text-align: start;
  padding-left: 2px;
}
.flats-img-container {
  width: 100%;
}
.flats-img-container img{
  width: 100%;
}
.table-filters .form-select {
  border: 1px solid #D7D7D7;
  background-color: #EFEFEF;
  font-size: 17px;
  border-radius: 0;
  color: #999999;
  background-size: 18px 15px;
}
.table-filters .form-select:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}
#table-filter-nutzung,
#table-filter-status {
  color: #999999; 
}
#table-filter-nutzung:not([value="0"]),
#table-filter-status:not([value="0"]) {
  color: var(--primary-color);
}
.pdf-column img {
  width: 24px;
}
.btn-pdf img {
  width: 20px;
}
.table-filters {
  gap: 20px;
  margin-bottom: 20px;
}
.table-text-bottom p {
  font-size: 14px;
}
.modal-content {
  border-radius: 0;
}
.modal-flat-rows .row{
  border-bottom: 1px solid var(--primary-color);
  font-size: 15px;
  padding: 6px 0;
}
.footer-btns {
  gap: 20px;
}
.footer-copy {
  font-size: 15px;
  margin-top: 50px;
}
.footer-logo img {
  width: 200px;
}
.modal-header .btn-close {
  opacity: 1;
}
.modal-header .btn-close:focus {
  box-shadow: none;
}
.scroll-top {
    border: 1px solid #FFFFFF;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    transition: all .2s;
}
.scroll-top img {
    width: 50%;
}

html :where(.wp-block) {
    max-width: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
:root :where(.editor-styles-wrapper)::after {
    display: none !important;
}
.text-editor-content a {
    color: var(--primary-color);
}
.contact-info-box a {
    color: var(--primary-color);
    text-decoration: none;
}
.contact-info-box a:hover {
    text-decoration: underline;
}
#wpadminbar {
    position: fixed !important;
}
.mobile-row-header {
	background-color: var(--primary-color);
	color: #FFFFFF;
	font-weight: 600;
	font-size: 14px;
}
.mobile-row-header span {
	padding: 8px 2px;
	display: block;
	text-align: center;
}
.table-mob-btn {
	width: 30px;
	height: 30px;
	background-color: var(--primary-color);
	position: relative;
	border: 0;
}
.table-mob-btn::after {
	content: "";
	background-image: url(img/plus.svg);
	background-size: 55%;
	background-position: center;
	background-repeat: no-repeat;
	filter: brightness(0) saturate(100%) invert(100%) sepia(43%) saturate(0%) hue-rotate(196deg) brightness(101%) contrast(101%);
	width: 100%;
	height: 100%;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}
.flats-mob-row {
	padding: 4px;
	border-bottom: 1px solid #dee2e6;
	transition: all .2s;
}
.flats-mob-row span {
	font-size: 14px;
	font-weight: 300;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}
.flats-mobile-content {
	font-size: 14px;
	font-weight: 300;
}
.flats-mobile-content b {
	font-weight: 600;
}
.flats-mob-row:hover,
.flats-mob-row.is-open {
	background-color: #1E1E1E33;
}
.mobile-table-word {
	width: 100%;

}
/******** RESPONSIVE SM ***********/
@media (min-width: 576px) {
  .modal-dialog {
    max-width: 1400px;
  }
}

/******** RESPONSIVE MD ***********/
@media (min-width: 768px) {
    .section-title {
      font-size: 32px;
    }

    .hero-disturber {
      width: 200px;
      height: 200px;
      font-size: 22px;
      bottom: 80px;
      right: 10%;
    }

    .map-section {
        height: 600px;
    }

    .bg-pill {
        right: 35%;
        max-height: 100%;
    }
  
  .contact-info-box {
      margin-left: 55px;
  }
  .flats-right-container {
    max-width: 770px;
  }
  .modal-body {
    padding: 40px;
    padding-top: 0;
  }
	.admin-bar .navbar {
        top: 32px;
    }
    .admin-bar .offcanvas {
        top: 96px !important;
    }
}

/******** RESPONSIVE LG ***********/
@media (min-width: 992px) {
    body {
        padding-top: 64px;
    }
    
    html {
        scroll-padding-top: 64px;
    }
    .navbar-brand img {
        width: 140px;
    }

    .navbar {
        padding: 16px 0;
    }

    .hero-section-block {
        min-height: calc(100svh - 64px);
    }

    .offcanvas {
        top: 64px !important;
    }

    .map-section {
        height: 800px;
    }
    .border-modal {
      border-right: 1px solid var(--primary-color);
    }
    .scroll-top {
        width: 80px;
        height: 80px;
        border-width: 2px;
    }
}

/******** RESPONSIVE XL ***********/
@media (min-width: 1200px) {
    body {
        padding-top: 90px;
    }
    html {
        scroll-padding-top: 90px;
    }
    .offcanvas {
        top: 90px !important;
        min-width: 500px;
    }

    .admin-bar .offcanvas {
        top: 122px !important;
    }
    .hero-section-block {
        min-height: calc(100svh - 90px);
    }

    .section-padding {
        padding: 70px 0;
    }
    .modal .section-title,
    .section-title {
        font-size: 44px;
    }

    .hamburger-box {
        width: 60px;
        height: 34px;
    }

    .hamburger-inner,
    .hamburger-inner::before,
    .hamburger-inner::after {
        width: 60px;
        height: 6px;
    }

    .hamburger-inner::before {
        top: -13px;
    }

    .hamburger-inner::after {
        bottom: -13px;
    }

    .navbar-brand img {
        width: 160px;
    }

    .navbar {
        padding: 20px 0;
    }

    .offcanvas-body {
        padding: 60px 0;
    }

    .navbar-nav .nav-link {
        font-size: 24px;
    }

    .navbar-nav .nav-link:hover
    {
        color: var(--secondary-color);
    }

    .navbar-nav .nav-item {
        margin: 8px 0;
    }

    .map-section {
        height: 1000px;
    }
    .impressionSwiper {
      margin-top: 50px;
    }


  .swiper-button-prev,
  .swiper-button-next {
    width: 55px;
    height: 55px;
  }
  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 700;
  }
  .swiper-nav {
    gap: 20px;
    margin-top: 45px;
  }
  .footer-copy {
    font-size: 17px;
    margin-top: 100px;
  }
  .footer-logo img {
    width: 315px;
  }
  .modal-header .btn-close {
    width: 40px;
    height: 40px;
    background-size: 50%;
  }
  .btn {
		padding: 10px 40px;
		font-size: 17px;
	}
	.table-filters .form-select {
	  max-width: 170px;
	}
	.scroll-top:hover {
		background-color: #FFFFFF;
	}
	.scroll-top:hover img{
		filter: brightness(0) saturate(100%) invert(0%) sepia(38%) saturate(1143%) hue-rotate(328deg) brightness(84%) contrast(76%);
	}
}

/******** RESPONSIVE XXL ***********/
@media (min-width: 1400px) {
    body {
        padding-top: 110px;
    }
    .admin-bar .offcanvas {
        top: 142px !important;
    }
    html {
        scroll-padding-top: 110px;
    }
    .offcanvas {
        top: 110px !important;
    }

    .section-padding {
        padding: 120px 0;
    }

    

    p {
        font-size: 17px;
    }

    .navbar {
        padding: 30px 0;
    }

    .hero-section-block {
        min-height: calc(100svh - 110px);
    }

    .hero-disturber {
        width: 300px;
        height: 300px;
        font-size: 35px;
        bottom: 100px;
        right: 15%;
    }
    .impressionSwiper {
      margin-top: 90px;
    }
    .swiper-button-prev,
    .swiper-button-next {
      width: 75px;
      height: 75px;
    }
    .swiper-nav {
      margin-top: 60px;
    }
    table  th {
      padding:10px !important;
    }
    .scroll-top {
        width: 120px;
        height: 120px;
        border-width: 3px;
    }
}

/******** RESPONSIVE XXL ***********/
@media (min-width: 1600px) {
    .container {
        max-width: 1524px;
    }
    .section-title {
        font-size: 55px;
    }
}

/******** RESPONSIVE XXL ***********/
@media (min-width: 1800px) {
    .container {
        max-width: 1740px;
    }
}