/*
Theme Name: Geothermie Child Theme
Description: Custom WordPress Theme für geothermie.ch. Online seit Ende 2015. Nur dieses Theme aktivieren!
Author: Author: Weblotion Markus Böniger
Author URI: https://weblotion.ch
Template: geothermie
Version: 1.0
Tags:


em.date {
	display:none !important;
}
*/

.default-form {
    overflow: hidden;
    margin: 27px 17px 34px 0;
}

.default-form .form-row {
    margin: 0 0 14px;
}

.default-form .form-row > label {
    float: left;
    width: 120px;
    margin: 8px 10px 0 0;
}

.default-form .form-row.alt {
    margin: -5px 0 15px;
}


.content-accordion li {
    list-style-type: disc;
}

.twocolumns a {
    color: #666;
    text-decoration: underline;
}

.documents-download-list a {
    text-decoration: none;
}


h4, .h4,
.h {
    color: #333;
    font-family: "Roboto", "Arial", "Helvetica Neue", "Helvetica", sans-serif;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 0.5em;
}


blockquote {
    border: none;
    border-top: 2px solid #ff8000;
    border-bottom: 2px solid #ff8000;
    padding: 20px 0 0 0;
    margin: 0 0 20px 0;
    background-color: #F5F3ED;
}

blockquote p {
    margin: 0 20px 20px 20px;
}

.table-holder .table-note, .wp-caption p {
    display: block;
    font-size: 14px;
    font-style: italic;
    font-weight: 300;
    border: 0px solid red;
}

th:last-child div,
td:last-child div {
    text-align: left;
}


.wpgmza_infowindow_title {
    border: 0px solid red;
    font-size: 14px;
}

#footer > .holder > .column .footer-nav {
    max-width: 57%;
}

button, select {
    text-transform: none;
    width: 60%;
}

/* Letzte Anpassungen */

ul {
    list-style-type: disc;
    margin-top: -10px;
}

.column em {
    font-size: 14px;
    font-style: italic;
    font-weight: 300;
    line-height: 1.4;
}

.column iframe {
    padding-bottom: 12px;
    /*border:1px solid red;*/
}

dl dt {
    width: 45px;
    float: left;
    padding: 2px 0px;
    font-weight: bold;
}

dd {
    font-size: 12px;
    padding-top: 15px;
    /*border:1px solid red;*/
}

ul#mapmenu {
    padding: 0;
}

ul#mapmenu li {
    display: inline;
    font-size: 12px;
    border: 0px solid red;
}

#header .top-bar .logo {
    left: 50%;
    margin: -35px 0 0 -196px;
    position: absolute;
    top: 50%;
}

#header .top-bar .logo_fr {
    left: 50%;
    margin: -35px 0 0 -182px;
    position: absolute;
    top: 50%;
}

#header .top-bar .logo_it {
    left: 50%;
    margin: -35px 0 0 -190px;
    position: absolute;
    top: 50%;
}

dl dt {
    width: auto;
    float: left;
    padding: 2px 0px;
    font-weight: bold;
}

#gallery-1 img,
#gallery-2 img,
#gallery-4 img {
    border: 0px solid #eae8e2 !important;
}


@media (max-width: 479px) {
    #header .top-bar .logo {
        margin: -20px 0 0 -100px;
        width: 200px;
    }
}

/*
|--------------------------------------------------------------------------
| Assets since home-2k18.
|--------------------------------------------------------------------------
*/
.home-2k18 .section-news .column {
    width: 100%;
}

/* Last point for laptop size */
@media (max-width: 1023px) {
    .home-2k18 .sidebar-2k18 {
        display: none;
    }
}

.section-slider .slide {
    pointer-events: none;
}

.section-slider .slide.active {
    pointer-events: all;
}

.slide.color-blank h2 {
    color: #ffffff;
}

.slide.color-orange h2 {
    color: #f07e31;
}

.slide.color-rouge h2 {
    color: #cd1719;
}

.slide.slide-video {
    overflow: hidden;
}

.slide.slide-video > div {
    margin-top: 0px;
    margin-top: var(--margin-top);
    margin-left: 0px;
    margin-left: var(--margin-left);
}

.slide.slide-video > div iframe {
    margin: 0;
    position:absolute;
    top:0;
    left:0;
    height:100%;
    width:100%;
    height: var(--video-size);
    width: var(--video-size);
}

.section-slider .pagination ul a {
    box-shadow: 0px 0px 2px #d6c5b9;
}

.compact .date.detail {
    padding: 0;
}

.compact .date.detail.has-icon {
    padding: 0 0 0 45px;
}

.compact .date.detail:before {
    width: 0;
    height: 0;
    content: none;
}

.compact .has-icon.date.detail:before {
    left: 0;
    top: 4px;
    content: "";
    width: 36px;
    height: 34px;
    position: absolute;
    background-position: 0 -250px;
}

.compact .post {
    padding: 22px 0 0;
}

.compact .post.sticky {
    border-top: 5px solid #cd1719;
    border-left: 1px solid #cd1719;
    border-right: 1px solid #cd1719;
    border-bottom: 5px solid #cd1719;
    padding-bottom: 2px;
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 1199px) {
    .compact .post.sticky {
        margin-bottom: 22px !important;
    }
}

.compact .post.sticky hr {
    display: none;
}

.section-news .column:first-child .post.sticky {
    border-top: 5px solid #cd1719;
}

.compact .post p time {
    font-size: 17px;
}

.column.flake-news .post .image-holder {
    width: 268px;
    float: left;
    margin: 4px 20px 0 0;
}

.compact.flake-news .post .title {
    margin: 0;
}

.compact .post h2, .compact .post p {
    margin-bottom: 5px;
}

.compact.flake-news .post .date {
    display: inline-block;
}

.compact.flake-news .post {
    margin-bottom: 0;

}

.compact .post .date {
    margin: 0 0 5px;
}

.compact .post .h2 {
    margin-bottom: 5px;
}

.compact.events {
    margin-bottom: 10px;
    border-top: 1px solid #bc001b;
    border-bottom: 1px solid #bc001b;
}

.view-all-events {
    margin-top: 13px;
}

.posts-list .post .image-holder {
    width: 268px;
    float: left;
    margin: 4px 20px 0 0;
}

@media (max-width: 767px) {
    .compact.flake-news h2.flake-title,
    .compact.flake-news .post p {
        display: inline-block;
        margin-top: 5px;
    }

    .posts-list .post h2.flake-title,
    .posts-list .post p {
        display: inline-block;
        margin-top: 5px;
    }

    .post .date {
        margin: 0 0 15px;
    }
}

.section-partners .holder {
    padding-top: 0;
}

.section-partners h2{
    color: #333;
    border-top: 1px solid #999;
    display: block;
    width: 100%;
    padding-top: 23px;
    font-size: 1.4em;
}

.partners-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.partners-row .partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    border: 1px solid #999;
    background: #fff;
    padding: 8px;
    aspect-ratio: 1 / 1;
}

.partners-row img {
    display: block;
}

.companies__filter-group {
    text-align: center;
    margin-top: 30px;
}

.companies__filter-group h3 {
    background: #a6a6a6;
    color: #000;
    font-weight: 400;
    padding: 5px 0;
    margin: 0;
}

.companies__filter-group h4 {
    background: #d4d3d1;
    color: #000;
    font-weight: 400;
    padding: 5px 0;
    margin: 0;
}

.companies__filter-terms {
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    justify-content: center;
    margin: 15px 0 20px 0;
}

.companies__filter-terms li {
    width: auto;
}

.companies__filter-terms button {
    width: 100%;
    border: none;
    background: #bc001b;
    border-radius: 5px;
    color: #ffffff;
    font-family: 'Raleway', Arial, sans-serif;
    padding: 8px 30px;
    text-transform: uppercase;
    line-height: 1.4em;
    font-weight: 600;
    font-size: 12px;
    outline: none;
    position: relative;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.companies__filter-terms button:disabled {
    background: #aca9a9;
    color: #e6e6e6;
}

.companies__filter-terms button:before {
    content: '';
    top: 0;
    right: 0;
    width: 0;
    position: absolute;
    height: 100%;
    background: #ffffff;
    opacity: 0.2;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-transition-delay: 0.15s;
    transition-delay: 0.15s;
}

.companies__filter-terms button:disabled:before {
    content: none;
}

.companies__filter-terms button:hover:before,
.companies__filter-terms button.selected:before {
    width: 38px;
    border-radius: 5px;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.companies__filter-terms button .label {
    display: inline-block;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.companies__filter-terms button:hover:not(:disabled) .label,
.companies__filter-terms button.selected:not(:disabled) .label {
    -webkit-transform: translate(-20px, 0px);
    transform: translate(-20px, 0px);
}

.companies__filter-terms button .icon {
    background: url('./assets/images/check-mark.svg') no-repeat;
    background-size: 14px 19px;
    right: 13px;
    position: absolute;
    width: 14px;
    opacity: 0;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.companies__filter-terms button:hover:not(:disabled) .icon,
.companies__filter-terms button.selected:not(:disabled) .icon {
    opacity: 1;
    -webkit-transition-delay: 0.15s;
    transition-delay: 0.15s;
}

.companies__posts-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.companies__posts-wrapper.loading {
    min-height: 300px;
}

.companies__posts-wrapper.loading .lds-dual-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.companies__posts-wrapper .companies__post-item,
.companies__posts-wrapper .grid-sizer {
    width: 33.33333333%;
}

@media (max-width: 990px) {
    .companies__posts-wrapper .companies__post-item,
    .companies__posts-wrapper .grid-sizer {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .companies__posts-wrapper .companies__post-item,
    .companies__posts-wrapper .grid-sizer {
        width: 100%;
    }
}

.companies__posts-wrapper .companies__post-box {
    background-color: #f5f3ed;
    border: 1px solid #dddddaff;
    margin: 14px;
    padding: 14px;
    min-height: 302px;
}

.companies__post-box .companies__post-title h2 {
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 25px !important;
    color: #000;
    font-weight: bold;
    width: 100%;
}

.companies__post-box .companies__post-thumbnails {
    height: 95px;
}

.companies__post-box .companies__post-thumbnails a {
    display: inline-block;
    height: 95px;
}

.companies__post-box .companies__post-thumbnails img {
    display: inline-block;
    max-width: 100%;
    width: auto;
    height: 100%;
    object-fit: contain;
}

.companies__post-box .companies__post-content {
    font-size: 14px;
    color: #000000;
    margin: 10px 0;
}

.companies__post-box .companies__post-content p:last-child {
    margin-bottom: 0;
}

.content.type-company .image-holder img {
    max-width: 300px;
}

.content.fancybox__content {
    max-width: 650px;
}

.filter-links__wrapper {
    border-top: 1px solid #999 !important;
    padding-top: 22px !important;
}

.filter-links__wrapper h2 {
    color: #333;
    font-size: 22px;
}

.filter-links__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-links__links li {
    margin-bottom: 25px;
}

.filter-links__links a {
    background: #c9394d;
    border: 1px solid #000;
    color: #fff;
    padding: 8px 60px 8px 30px;
    display: inline-block;
    font-weight: 400;
    font-size: 16px;
    border-radius: 5px;
    -webkit-transition: background 0.3s;
    transition: background 0.3s;
    position: relative;
}

.filter-links__links a .icon {
    position: absolute;
    top: 9px;
    right: 22px;
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 2px solid #000;
    border-radius: 100%;
    padding: 5px;
    -webkit-transition: background .3s;
    transition: background .3s;
}

.filter-links__links a .icon:before {
    border: solid #000;
    border-width: 0 2px 2px 0;
    content: "";
    height: 8px;
    width: 8px;
    margin: -4px 0 0;
    position: absolute;
    right: 6px;
    top: 50%;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: border-color .3s;
    transition: border-color .3s;
}

.filter-links__links a:hover {
    background: #a73949;
}

.filter-links__links a:hover .icon {
    background: #000;
}

.filter-links__links a:hover .icon:before {
    border-color: #a73949;
}

.fancybox__container  {
    --fancybox-bg: rgba(24, 24, 27, 0.4)!important;
}

.fancybox__container .fancybox__content.type-company > .f-button.is-close-btn {
    --f-button-color: #000;
    --f-button-hover-color: #000;
    top: 0;
}

.lds-dual-ring,
.lds-dual-ring:after {
    box-sizing: border-box;
}
.lds-dual-ring {
    display: inline-block;
    width: 80px;
    height: 80px;
}
.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6.4px solid currentColor;
    border-color: currentColor transparent currentColor transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}