/*
Theme Name: Allschwilerstrasse Template
Author: Portalworks
Version: 1.0.0
*/

/* noto-sans-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 100;
  src: url('fonts/noto-sans-v39-latin-100.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/noto-sans-v39-latin-100.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* noto-sans-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 200;
  src: url('fonts/noto-sans-v39-latin-200.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/noto-sans-v39-latin-200.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* noto-sans-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/noto-sans-v39-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/noto-sans-v39-latin-300.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* noto-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/noto-sans-v39-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/noto-sans-v39-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* noto-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/noto-sans-v39-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/noto-sans-v39-latin-500.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* noto-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/noto-sans-v39-latin-600.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/noto-sans-v39-latin-600.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* noto-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/noto-sans-v39-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/noto-sans-v39-latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* noto-sans-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/noto-sans-v39-latin-800.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/noto-sans-v39-latin-800.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* noto-sans-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/noto-sans-v39-latin-900.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/noto-sans-v39-latin-900.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

  
/***************************************************************
                         ROOT
***************************************************************/
:root {
    --font-primary: 'Noto Sans', sans-serif;
    --primary-color: #6F7284;
    --primary-color-darker: #616473;
    --primary-color-lighter: #878B9D;
    --table-different-row-color: rgba(111, 114, 132, 0.1);
    --text-color-light: #fff;
    --text-color-dark: #333333;
    --background-color: #fff;
}

/*************************
        BODY
**************************/
.admin-bar .navbar{
	top: 46px;
}
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    color: var(--text-color-light);
    padding-top: 85px;
    background-color: var(--background-color) !important;
}
html {
    scroll-padding-top: 85px; 
}
.error404 {
	.primary-bg {
		background-color: var(--primary-color) !important;
	}
	h1, h2, h3, p {
		color: var(--primary-color) !important;
	}
}
/*************************
    PRE-DEFINED CLASSES
**************************/
.primary-bg {
    background-color: var(--primary-color);
}
.primary-bg-dark {
    background-color: var(--primary-color-darker);
}
.primary-bg-light {
    background-color: var(--primary-color-lighter);
}
.primary-text-color {
    color: var(--primary-color);
}

.discplaimer-text{
	font-size: 14px;
	font-weight: 300;
}

.section-padding {
    padding-top: 70px;
    padding-bottom: 70px;
}
.section-padding-sm {
    padding-top: 43px;
    padding-bottom: 43px;
}



.btn {
    font-size: 20px;
    line-height: 0.7;
    font-weight: 700;
    background-color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    border-radius: 0;
    padding: 13px 28px;
    color: var(--primary-color);
    letter-spacing: 0%;
    transition: all 0.3s ease-in-out;
}

.btn:hover,
.btn:active,
.btn:focus,
.btn:focus-visible,
.btn:first-child:active {
    background-color: var(--secondary-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}
.primary-bg .editor {
	p, a, ul li, ol li, .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6, p, ul, ol {
		color: var(--text-color-light);
	}
}
.editor {
    .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6, p, ul, ol {
        color: var(--text-color-light);
    }
    h1, h2 {
        line-height: 1.4;
        font-weight: 700;
    }
    p {
        line-height: 1.5;
        font-weight: 400;
    }
	a, ul li, ol li, p a {
		color: var(--text-color-light);
	}
}
.lage-section .editor {
    .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6, p, ul, ol {
        color: var(--primary-color);
    }
	
	li {
		color: var(--text-color-dark);
	}
}



.container {
    padding-left: 20px;
    padding-right: 20px;
}
#wpadminbar {
	position: fixed !important;
}
@media (min-width: 768px) {
	.admin-bar .navbar{
		top: 32px;
	}
}
@media (min-width: 992px) {

    .position-lg-absolute {
        position: absolute;
    }
    .w-lg-50 {
        width: 50%;
    }
    .editor {
        h1, h2 {
            font-size: 45px;
            line-height: 1.4;
            font-weight: 700;
            margin-bottom: 30px;
        }
        p {
            font-size: 18px;
            line-height: 1.5;
            font-weight: 400;
        }
        ul li {
            font-size: 16px;
            color: var(--text-color-dark);
            line-height: 1.62;
        }
    }
    body {
        padding-top: 126px;
    }
    html {
        scroll-padding-top: 126px; 
    }
    .section-padding {
        padding-top: 100px;
        padding-bottom: 100px;
    }
    .section-padding-half {
        padding-top: 250px;
        padding-bottom: 100px;
    }
    .section-padding-lg {
        padding-top: 210px;
        padding-bottom: 250px;
    }

}
@media (min-width: 1400px){

    .container {
        max-width: 1429px;
        padding: 0 20px;
    }
    .container-fluid {
        max-width: 1720px;
        padding: 0 20px;
    }
    .container-lg {
        max-width: 1760px;
    }
}
.navbar {
    background-color: var(--background-color);
}

.navbar-brand {
    position: relative;
    top: -8px;
    max-width: 220px;
    padding: 18px 20px;
    img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
    }    
}
.navbar-toggler:focus {
    box-shadow: none;
    outline: 0;
}
.navbar-toggler {
    width: 40px;
    height: auto;
    border-radius: 0;
    border: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    span {
        transition: all 0.2s ease-in-out;
        width: 100%;
        height: 2px;
        background-color: var(--primary-color);
        display: inline-block;
    }
}
.navbar-toggler.collapsed {
    span.middle {
        transform: scale(1);
        opacity: 1;
    }
    span.top {
        transform: rotate(0) translate(0, 0);
        transform-origin: center;
    }
    span.bottom {
        transform: rotate(0);
    }
}
.navbar-toggler {

    span.middle {
        transform: scale(0);
        opacity: 0;
    }
    span.top {
        transform: rotate(135deg) translate(7px, -6px);
    }
    span.bottom {
        transform: rotate(-135deg) translate(6px, 7px);
    }
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: var(--text-color-dark);
}
.navbar-nav .nav-link {
    text-align: center;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    line-height: 30px;
    text-transform: uppercase;
}
/* .navbar {
    transition: all 0.3s ease-in-out;
}
.navbar.scrolled {
    background-color: #fff;
    .navbar-nav .nav-link {
        color: var(--text-color-dark);
    }
} */
/* //////////// HERO ////////*/
.swiper-slide {
    height: auto;
    max-height: 800px;
}
.arrows-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}
.swiper-button {
    color: #fff;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: #fff;
}
.swiper-button::after {
    font-size: 16px;
    color: var(--primary-color);
}
.scroll-down {
    bottom: 40px;
}

/***** ANGEBOT ******/
.wohnungen-table {
    min-width: 520px;
}
.gewerbe-table {
    max-width: 575px;
}
.table-striped > tbody > tr:nth-of-type(2n+1) > * {
    --bs-table-bg-type: var(--primary-color-darker);
}
.table > :not(caption) > * > * {
    background-color: rgba(244, 244, 244, 0.2)
}
.table th {
    background-color: var(--primary-color);
    border: 0;
    font-weight: 700;
    font-family: var(--font-primary);
    font-size: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    &:first-child {
        text-align: start;
    }
}

.table tbody, .table td, .table tfoot, .table th, .table thead,.table  tr {
    color: #fff !important;
    text-align: center;
}
.table td {
    font-size: 14px;
    padding-top: 12px;
    padding-bottom: 12px;
    &:first-child {
        text-align: start;
    }
}
.table-title {
	color: var(--text-color-light);
    margin-top: 55px;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0.48;
}
.iframe-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}
.map {
    min-height: 300px;
}
.table.table-secondary th {
    background-color: var(--background-color);
}
.table-striped.table-secondary > tbody > tr:nth-of-type(2n) > * {
    --bs-table-bg-type: #6F72841A;
}
.table-striped.table-secondary > tbody > tr:nth-of-type(2n+1) > * {
    --bs-table-bg-type: var(--background-color);
}
.table-secondary {
    tbody, td, tfoot, th, thead, tr {
        color: var(--text-color-dark) !important;
    }
    &.table td {
        font-size: 13px;
    }
}
.lage-table {
    min-width: 445px;
}
.icon-box {
    height: 30px;
    width: auto;
    img {
        width: auto;
        height: auto;
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
    }
}
/*************************************
            KONTAKT FORM
*************************************/
.wpcf7-form input, .wpcf7-form textarea, .wpcf7-form select {
    width: 100%;
}
.form-label, .checkboxes-label {
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1;
    color: var(--text-color-light);
    span {
        color: #E60000;
    }
}
form {
    margin-top: 50px;
    input, select, textarea {
        color: #333333;
        padding: 14px 9px;
        font-size: 16px;
        line-height: 1;
        border: 1px solid #C9C9C9;
        border-radius: 3px;
        background-color: #fff;
    }
    select:focus-visible {
        outline: 0;
        box-shadow: none;
    }
    input:focus-visible {
        outline: 0;
        box-shadow: none;
    }
    .wpcf7-list-item {
        margin-right: 35px;
        margin-left: 0;
    }
    .wpcf7-list-item  label {
        display: flex;
        align-items: center;
        justify-content: start;
        width: auto;
    }
    .wpcf7-list-item-label {
        font-size: 13px;
        font-weight: 400;
        color: var(--text-color-light);
        line-height: 1;
    }
	.checkboxes-label span {
		color: #E60000;
	}
    .zimmer-checkboxes input[type="radio"] {
		apperance: none;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        appearance: none;
        flex-shrink: 0;
        padding: 0;
        background-color: transparent;
        border: 1px solid #fff;
        position: relative;
        margin-right: 12px;
        &::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%) scale(0);
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: #fff;
            transition: all 0.15s ease-in-out;
            transform-origin: center;
        }
    }
    input[type="radio"]:checked {
        &::before {
            transform: translate(-50%,-50%) scale(1);
        }
    }
    .wpcf7-acceptance {
        input{
            width: 16px;
            height: 16px;
            margin-right: 8px;
            appearance: none;
            padding: 0;
            border: 2px solid #86878A;
            transition: all 0.15s ease-in-out;
        }
        input:checked {
            background-color: #B7CACD;
            background-image: url(images/Checkmark.svg);
            background-position: center;
            background-size: 8px;
            background-repeat: no-repeat;
        }
        label, a  {
            font-size: 14px;
            color: var(--text-color-light);
            & .req {
                color: #E60000;
            }
        }
        
    }
    .wpcf7-submit {
        padding: 18px;
        font-size: 16px;
		font-weight: 500;
        background-color: var(--primary-color-lighter) !important;
        color: var(--text-color-light);
        border-radius: 3px;
        border: 0;
    }
    p {
        margin: 0;
    }
    .wpcf7-select {
        appearance: none;
        background-image: url('images/chevron-down.svg');
        background-position: 90% 20px;
        background-repeat: no-repeat;
        height: 50px;
    }
}

.privacy-links {
    a {
        display: block;
        font-size: 12px;
        color: var(--text-color-dark);
        text-decoration: none;
        line-height: 1.5;
    }
	a:hover {
		text-decoration: underline;
	}
    .devider {
        font-size: 13px;
        line-height: 1.5;
        color: var(--text-color-dark);
    }
}
/*************************************
            RESPONSIVE
*************************************/

@media (min-width: 576px) {

}

/* // Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

}

/* // Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .navbar-brand {
        max-width: 260px;
        padding: 29px 35px;  
    }
    .navbar-nav .nav-link {
        margin-right: 30px;
        &:last-child {
            margin-right: 0;
        }
    }
    .table-title {
        font-size: 24px;
    }
    .table th {
        font-size: 16px;
    }
    .table td {
        font-size: 18px;
    }
    .container-sm {
        max-width: 870px;
    }
    /* .table-secondary {
        &.table td {
            font-size: 14px;
        }
    } */
    /* .icon-box {
        height: 35px;
    } */
}

/* // X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .table-secondary {
        &.table td {
            font-size: 16px;
        }
    }
    .icon-box {
        height: 40px;
    }
}

/* // XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) { 
	.navbar-brand {
		max-width: 375px;
	}
}
