/**
 Theme Name: Bücher Dillier
 Theme URI: https://www.atrox.ch
 Version: 1.0
 Description: 
 Template: wps
 Author: Michael Ligabue
 Text Domain: cdt
*/

body {
    font-family: "europa", sans-serif;
    color: var(--anthrazit-color);
    font-size: 28px;
    line-height: 37px;
    overflow-x: hidden;
}

.post-edit-link {
    display: none;
}

iframe {
    width: 100%;
}

/* Site Header */
/* Social Media */
.site-header .socialmedia-links {
    display: flex;
    align-items: flex-end;
    line-height: 1;
    margin-bottom: -10px;
}

.site-header .socialmedia-links a {
    display: block;
    padding: 10px;
    text-decoration: none;
}

.site-header .socialmedia-links a:not(:last-child) {
    margin-right: 10px;
}

.site-header .socialmedia-links img {
    display: block;
    height: 26px;
    width: auto;
}

@media only screen and (min-width: 1081px) {
    .site-header {
        display: flex;
        position: sticky;
        width: 1760px;
        max-width: 100%;
        top: 0;
        margin: 0 auto;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-end;
        z-index: 101;
        padding: 0 20px 25px;
    }

    .site-header:before {
        display: block;
        position: absolute;
        content: "";
        width: 100vw;
        height: 100%;
        top: 0;
        left: 50%;
        margin-left: -50vw;
        background-color: var(--white-color);
        transition: all 0.2s ease-out;
    }

    .site-header-fixed .site-header:before,
    body:not(.home) .site-header:before {
        height: calc(100% + 46px);
    }

    .site-header .column-4 {
        display: none;
    }

    /* logo */
    .site-header .column-1 {
        display: flex;
        justify-content: center;
        width: 100%;
        padding-top: 50px;
        height: 105px;
        margin: 0 auto 43px;
        transition: all 0.2s ease-out;
    }

    .site-header-fixed .site-header .column-1,
    body:not(.home) .site-header .column-1 {
        margin-bottom: -50px;
    }

    .site-header .column-1 .logo {
        position: fixed;
        top: 50px;
        z-index: 102;
    }

    /* Main Menu */
    .site-header .column-2 {
        height: 35px;
        width: 80%;
    }

    .site-header .nav-menu {
        position: absolute;
        top: 0;
        left: 0;
    }

    /* Main menu expanded */
    body.home:not(.site-header-fixed) .site-header .menu {
        display: flex;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    body.home:not(.site-header-fixed) .site-header .menu>.menu-item {
        display: flex;
        position: relative;
        align-items: center;
        height: 33px;
        padding-left: 20px;
    }

    body.home:not(.site-header-fixed) .site-header .menu>.menu-item:first-child {
        border-left: 1px solid var(--kiwi-color);
    }

    body.home:not(.site-header-fixed) .site-header .menu>.menu-item:not(:last-child) {
        padding-right: 20px;
        border-right: 1px solid var(--kiwi-color);
    }

    body.home:not(.site-header-fixed) .site-header .menu>.menu-item>a {
        color: inherit;
        text-decoration: none;
        font-size: 24px;
        line-height: 1;
        transition: all 0.2s ease-out;
    }

    body.home:not(.site-header-fixed) .site-header .menu>.menu-item:hover>a,
    body.home:not(.site-header-fixed) .site-header .menu>.current-menu-item>a,
    body.home:not(.site-header-fixed) .site-header .menu>.current-menu-ancestor>a {
        color: var(--kiwi-color);
    }

    body.home:not(.site-header-fixed) .site-header .menu>.menu-item>.sub-menu {
        position: absolute;
        top: 100%;
        left: -1px;
        padding: 13px 0 0 1px;
        margin: 0;
        list-style: none;
        font-size: 24px;
        line-height: 32px;
        background-color: var(--white-color);
        border-left: 1px solid var(--kiwi-color);
        transform-origin: top left;
        transition: transition 0.2s ease-out, opacity 0.2s ease-out;
    }

    body.home:not(.site-header-fixed) .site-header .menu>.menu-item:not(:hover)>.sub-menu {
        transform: scaleY(0);
        opacity: 0;
    }

    body.home:not(.site-header-fixed) .site-header .menu>.menu-item>.sub-menu>.menu-item>a {
        display: block;
        padding: 12px 18px 12px 18px;
        color: var(--anthrazit-color);
        text-decoration: none;
        white-space: nowrap;
    }

    body.home:not(.site-header-fixed) .site-header .menu>.menu-item>.sub-menu>.menu-item:first-child>a {
        padding-top: 9px;
    }

    body.home:not(.site-header-fixed) .site-header .menu>.menu-item>.sub-menu>.menu-item:last-child>a {
        padding-bottom: 15px;
    }

    /* Fixed Menu */
    body.site-header-fixed .site-header .menu,
    body:not(.home) .site-header .menu {
        position: absolute;
        top: 106px;
        margin: 0;
        list-style: none;
        padding: 20px 0 20px 0;
        transform-origin: top left;
        width: 1760px;
        max-width: 100vw;
        /*transition: all 0.2s ease-out;*/
    }

    body.site-header-fixed .site-header .menu:before,
    body:not(.home) .site-header .menu:before {
        display: block;
        position: absolute;
        content: "";
        top: 0;
        left: 50%;
        margin-left: calc(-50vw - 20px);
        height: 100%;
        width: 100vw;
        border-bottom: 1px solid var(--kiwi-color);
        background-color: var(--white-color);
        box-shadow: 0 16px 16px rgba(0, 0, 0, 0.16);
    }

    body.site-header-fixed .site-header .nav-menu:not(.nav-menu-active) .menu,
    body:not(.home) .site-header .nav-menu:not(.nav-menu-active) .menu {
        transform: scaleY(0);
        opacity: 0;
    }

    body.site-header-fixed .site-header .menu>.menu-item,
    body:not(.home) .site-header .menu>.menu-item {
        position: relative;
        width: 360px;
        padding: 0 20px 0 0;
    }

    body.site-header-fixed .site-header .menu>.menu-item:not(:first-child),
    body:not(.home) .site-header .menu>.menu-item:not(:first-child) {
        margin-top: 28px;
    }

    body.site-header-fixed .site-header .menu>.menu-item>a,
    body:not(.home) .site-header .menu>.menu-item>a {
        font-size: 24px;
        font-weight: 600;
        color: var(--black-color);
        text-decoration: none;
        transition: all 0.2s ease-out;
    }

    body.site-header-fixed .site-header .menu>.menu-item>.sub-menu,
    body:not(.home) .site-header .menu>.menu-item>.sub-menu {
        margin: 13px 0 0 28px;
        padding: 0;
        list-style: none;
        font-size: 24px;
        line-height: 32px;
    }

    body.site-header-fixed .site-header .menu>.menu-item>.sub-menu>.menu-item>a,
    body:not(.home) .site-header .menu>.menu-item>.sub-menu>.menu-item>a {
        color: var(--black-color);
        text-decoration: none;
        transition: all 0.2s ease-out;
    }

    body.site-header-fixed .site-header .menu>.menu-item>a:hover,
    body:not(.home) .site-header .menu>.menu-item>a:hover,
    body.site-header-fixed .site-header .menu>.current-menu-item>a,
    body:not(.home) .site-header .menu>.current-menu-item>a,
    body.site-header-fixed .site-header .menu>.current-menu-ancestor>a,
    body:not(.home) .site-header .menu>.current-menu-ancestor>a,
    body.site-header-fixed .site-header .sub-menu>.menu-item>a:hover,
    body:not(.home) .site-header .sub-menu>.menu-item>a:hover,
    body.site-header-fixed .site-header .sub-menu>.current-menu-item>a,
    body:not(.home) .site-header .sub-menu>.current-menu-item>a {
        color: var(--kiwi-color) !important;
    }

    /* Menu icon */
    .nav-menu-icon {
        display: flex;
        align-items: center;
        position: absolute;
        top: 0;
        left: 0;
        padding: 0;
        border: none;
        background-color: transparent;
        cursor: pointer;
        opacity: 0;
        transition: all 0.2s ease-out;
        height: 34px;
    }

    .site-header-fixed .nav-menu-icon,
    body:not(.home) .nav-menu-icon {
        opacity: 1;
    }

    .nav-menu:not(.nav-menu-active) .nav-menu-icon-close,
    .nav-menu.nav-menu-active .nav-menu-icon-open {
        display: none;
    }

    .nav-menu-icon-component {
        position: relative;
        display: flex;
        align-items: center;
        font-size: 24px;
        color: var(--kiwi-color);
        height: 34px;
        width: 33px;
    }

    .nav-menu-icon-component span {
        display: none;
    }

    .nav-menu-icon-component img {
        display: block;
        flex: 0 0 auto;
        height: auto;
        width: 33px;
    }
}

/* Content */
main {
    width: 1760px;
    max-width: 100%;
    margin: 0 auto 228px;
    padding: 0 20px;
}

body:not(.home) main {
    margin-top: 40px;
}

h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 53px;
    margin: 0 0 65px;
}

.entry-content p>a {
    color: var(--kiwi-color);
    text-decoration: none;
}

/* Site Footer */
.site-footer {
    display: flex;
    position: fixed;
    justify-content: space-between;
    width: 1760px;
    max-width: 100%;
    bottom: 0;
    left: 50%;
    margin: 0 auto;
    padding: 15px 20px 60px;
    transform: translateX(-50%);
    font-size: 24px;
    transition: all 0.2s ease-out;
    z-index: 90;
}

.site-footer:before {
    display: block;
    position: absolute;
    content: "";
    width: 100vw;
    height: 100%;
    left: 50%;
    margin-left: -50vw;
    top: 0;
    background-color: var(--white-color);
    border-top: 1px solid var(--kiwi-color);
}

body.site-header-fixed .site-footer:not(:hover),
body:not(.home) .site-footer:not(:hover) {
    transform: translate(-50%, 110px);
}

.site-footer .widget-area {
    display: flex;
    padding-top: 13px;
}

.site-footer .widget-area .widget:not(:last-child) {
    margin-right: 40px;
}

.site-footer .widget-area p {
    margin: 0;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease-out;
}

.site-footer a:hover {
    color: var(--kiwi-color);
}

/* Employees */
.cdt-employees {
    display: flex;
    flex-wrap: wrap;
}

.cdt-employee {
    width: calc((100% - 117px) / 4);
    margin-bottom: 61px;
}

.cdt-employee:not(:nth-of-type(4n)) {
    margin-right: 39px;
}

.cdt-employee h2 {
    font-size: 28px;
    line-height: 37px;
    font-weight: 400;
    line-height: 1;
    margin: 20px 0 0;
}

.cdt-employee img {
    width: 100%;
    height: auto;
}

/* Tiles */
.cdt-tiles {
    display: flex;
    flex-wrap: wrap;
    width: 1606px;
    max-width: 100%;
    margin: 0 auto -128px;
}

.cdt-tile {
    flex: 0 0 auto;
    height: 450px;
    width: 450px;
    margin-bottom: 128px;
}

.cdt-tile:not(:nth-child(3n)) {
    margin-right: 128px;
}

.cdt-tile-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.cdt-tile-bg img {
    display: block;
    width: auto;
    height: 100%;
}

.cdt-tile-inner {
    height: 100%;
    padding: 24px;
    color: var(--white-color);
}

.cdt-tile-inner>h3 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 400;
    margin: 0;
}

.cdt-tile a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
}

.cdt-tile-content {
    margin-top: 50px;
    font-size: 40px;
    line-height: 52px;
}

.cdt-tile-content> :first-child {
    margin-top: 0;
}

.cdt-tile-content> :last-child {
    margin-bottom: 0;
}

/* Page child Nav */
.cdt-child-pages ul {
    margin: 1em 0;
    padding: 0;
    list-style: none;
}

.cdt-child-pages ul>li {
    display: flex;
    align-items: center;
}

.cdt-child-pages ul>li:before {
    display: block;
    position: relative;
    content: "";
    height: 20px;
    width: 40px;
    margin-right: 20px;
    background-image: url(/wp-content/themes/cdt/assets/svg/arrow-right.svg);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
}

.cdt-child-pages ul>li>a {
    font-size: 24px;
    line-height: 38px;
    color: var(--kiwi-color);
    text-decoration: none;
    transition: all 0.2s ease-out;
}

.cdt-child-pages ul>li>a:hover {
    opacity: 0.5;
}

/* Events */
.cdt-events>.cdt-event {
    border-top: 1px solid var(--kiwi-color);
    padding: 40px 0 20px;
    overflow: hidden;
    transition: all 0.2s ease-out;
}

.cdt-events>.cdt-event .cdt-event-inner {
    display: flex;
    align-items: flex-start;
}

.cdt-event header {
    cursor: pointer;
}

.cdt-event h2 {
    font-size: 40px;
    line-height: 53px;
    font-weight: 400;
}

.cdt-event-content {
    flex: 0 0 auto;
    width: 798px;
    max-width: 100%;
    margin-right: 80px;
}

.cdt-events>.cdt-event .cdt-event-inner>img {
    max-width: 570px;
    height: auto;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.2s ease-out;
}

.cdt-events>.cdt-event.cdt-event-active .cdt-event-inner>img {
    opacity: 1;
    transform: none;
}

.cdt-event-description {
    margin-bottom: 40px;
}

.cdt-event-toggle {
    position: absolute;
    right: 0;
    top: 0;
    height: 100px;
    width: 100px;
    padding: 0;
    background-color: transparent;
    border: none;
    background-image: url(/wp-content/themes/cdt/assets/svg/plus.svg);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: all 0.2s ease-out;
}

.cdt-events>.cdt-event.cdt-event-active .cdt-event-toggle {
    transform: rotate(45deg);
}

.cdt-event-details p {
    margin: 0;
}

/* Galleries */
.cdt-masonry-grid{
    transition: all .2s ease-in-out;
}

.cdt-masonry-grid:not(.cdt-masonry-grid-loaded){
    opacity: 0;
}

.cdt-masonry-grid-item {
    width: calc((100% - 120px) / 4);
    margin-bottom: 40px;
}

.cdt-gallery-item figure {
    display: block;
    position: relative;
    width: 100%;
    margin: 0;
}

.cdt-gallery-item figure img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    cursor: pointer;
    transform-origin: center center;
    transition: all 0.2s ease-out;
}

.cdt-gallery-item figure img:hover {
    transform: scale(1.05, 1.05);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.16);
}

/* Gallery Lightbox */
.cdt-gallery-lightbox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    height: calc(100vh - 162px);
    width: 100vw;
    left: 0;
    bottom: 0;
    background-color: var(--white-color);
    z-index: 20;
    transition: transform 0s linear, opacity 0.3s ease-out;
}

.cdt-gallery-lightbox:not(.cdt-gallery-lightbox-active) {
    transform: scale(0, 0);
    opacity: 0;
    transition: transform 0s linear 0.3s, opacity 0.3s ease-out;
}

.cdt-gallery-lightbox-inner {
    display: flex;
    flex-direction: column;
    width: 1720px;
    max-width: 100%;
    height: calc(100vh - 162px);
    margin: 0 auto;
}

.cdt-gallery-lightbox .cdt-slideshow {
    flex: 1 auto;
}

.cdt-gallery-lightbox .cdt-slideshow-canvas {
    width: 1395px;
    max-width: 100%;
    margin: 0 auto;
    height: calc(100vh - 162px);
}

.cdt-gallery-lightbox .cdt-slideshow-slide {
    display: flex;
    flex-direction: column;
}

.cdt-gallery-lightbox .cdt-slideshow-slide .cdt-slideshow-slide-thumbnail {
    display: flex;
    align-items: center;
    flex: 1 auto;
}

.cdt-gallery-lightbox .cdt-slideshow-slide .cdt-slideshow-slide-content {
    padding-bottom: 20px;
    flex: 0 0 auto;
}

.cdt-gallery-lightbox-close {
    position: absolute;
    top: 0;
    right: 0;
    height: 70px;
    width: 70px;
    background-color: transparent;
    border: none;
    background-size: contain;
    background-image: url(/wp-content/themes/cdt/assets/svg/close.svg);
    background-repeat: no-repeat;
    cursor: pointer;
}

.cdt-gallery-lightbox .cdt-slideshow-slide-thumbnail img {
    height: auto;
    width: auto;
    max-height: 100%;
    max-width: 100%;
}

.cdt-gallery-lightbox .cdt-slideshow-nav-btn {
    margin-top: -32px;
    height: 80px;
    width: 110px;
    background-position: right center;
    background-size: 70px 40px;
}

.cdt-gallery-lightbox .cdt-slideshow-nav-btn.cdt-slideshow-nav-btn-prev{
    background-position: left center;
}

/* Front Animation */
.cdt-home-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: fixed;
    min-height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    padding: 300px 0;
    background-color: var(--white-color);
    z-index: 100;
    font-size: 40px;
    transition: all 0.5s ease-in-out 2.3s;
    transform-origin: top center;
}

body.cdt-has-active-home-header .cdt-home-header {
    opacity: 0;
    transform: scale(0, 0);
}

body.cdt-home-intro-disable .cdt-home-header {
    display: none;
}

.cdt-home-header span+span {
    margin-top: 60px;
}

.cdt-home-header span {
    opacity: 0;
    transform: translateY(-40px);
    transition: all 0.5s ease-in-out;
}

body.cdt-has-active-home-header .cdt-home-header span {
    opacity: 1;
    transform: none;
}

.cdt-home-header span:nth-child(2) {
    transition-delay: 0.5s;
}

.cdt-home-header span:nth-child(3) {
    transition-delay: 1s;
}

.cdt-home-header span:nth-child(4) {
    transition-delay: 1.5s;
}

.cdt-has-home-header:not(.cdt-home-intro-disable) .site-header .column-2,
.cdt-has-home-header:not(.cdt-home-intro-disable) .site-header .column-3 {
    transition: all 0.2s ease-in-out;
}

body.cdt-home-intro-disable .site-header .column-2 body.cdt-home-intro-disable .site-header .column-3 {
    transition: none;
}

.cdt-has-home-header:not(.cdt-has-completed-home-header):not(.cdt-home-intro-disable) .site-header .column-2,
.cdt-has-home-header:not(.cdt-has-completed-home-header):not(.cdt-home-intro-disable) .site-header .column-3 {
    transform: scaleY(0);
    transition: none;
}

.cdt-has-home-header.cdt-has-completed-home-header:not(.cdt-home-intro-disable) .site-header .column-1 .logo,
.home:not(.cdt-home-intro-disable) .site-header .column-1 .logo img {
    transition: all 0.5s ease-in-out;
}

.home:not(.cdt-home-intro-disable) .site-header .column-1 .logo img {
    width: auto;
    opacity: 0;
}

.home.cdt-has-completed-home-header:not(.cdt-home-intro-disable) .site-header .column-1 .logo img {
    height: 48px;
}

.home.cdt-has-active-home-header:not(.cdt-home-intro-disable) .site-header .column-1 .logo img {
    opacity: 1;
}

.home:not(.cdt-has-completed-home-header):not(.cdt-home-intro-disable) .site-header .column-1 .logo {
    top: 150px;
}

.home:not(.cdt-has-completed-home-header):not(.cdt-home-intro-disable) .site-header .column-1 .logo img {
    height: 80px;
}

.home .block-template-wrapper .wp-block-image img {
    width: 100%;
    height: auto;
}

/* Responsive 1732px */
@media screen and (max-width: 1752px){
    .cdt-slideshow-nav-btn.cdt-slideshow-nav-btn-prev{
        left: 20px;
    }

    .cdt-slideshow-nav-btn.cdt-slideshow-nav-btn-next,
    .cdt-gallery-lightbox-close{
        right: 20px;
    }
}

/* Responsive 1606px */
@media only screen and (max-width: 1645px) {

    /* Tiles */
    .cdt-tiles {
        width: 1041px;
    }

    .cdt-tile {
        height: 330px;
        width: 330px;
        margin-bottom: 25px;
    }

    .cdt-tile:not(:nth-child(3n)) {
        margin-right: 25.5px;
    }

    .cdt-tile-content {
        font-size: 20px;
        line-height: 26px;
    }

    /* Events */
    .cdt-event-content{
        flex: 1 auto;
    }

    .cdt-events > .cdt-event .cdt-event-inner > img{
        width: 570px;
        flex: 0 0 auto;
    }
}

/* Responsive 1410px */
@media only screen and (max-width: 1410px) {

    /* Site footer */
    .site-footer {
        display: block;
        position: relative;
        transform: none !important;
        left: 0;
    }
}

/* Responsive 1080px */
@media only screen and (max-width: 1080px) {

    /* Header */
    .site-header {
        position: sticky;
        top: 0;
        background-color: var(--white-color);
        z-index: 100;
    }

    .site-header .column-1 {
        display: flex;
        padding: 20px;
        justify-content: center;
    }

    .site-header .column-1 img {
        display: block;
        box-sizing: border-box;
        width: 335px;
        max-width: 100%;
        height: auto;
    }

    /* Nav */
    .site-header .column-2 {
        position: fixed;
        bottom: 0;
        left: 0;
        padding: 16px 20px;
        background-color: var(--white-color);
        width: 100%;
        box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.1);
    }

    .site-header .column-2 .nav-menu {
        position: static;
    }

    .site-header .column-2 .menu-main-container {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        position: absolute;
        bottom: 100%;
        height: calc(100vh - 139px);
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        transition: all 0.3s ease-in-out;
        transform-origin: bottom left;
    }

    .site-header .column-2 .nav-menu:not(.nav-menu-active) .menu-main-container {
        transform: scaleY(0);
        opacity: 0;
    }

    .site-header .column-2 .menu-main-container>.menu {
        position: relative;
        list-style: none;
        padding: 28px 18px 28px;
        margin: 0;
        max-height: 100%;
        overflow: auto;
        box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.1) inset;
    }

    .site-header .column-2 .menu-main-container>.menu>.menu-item+.menu-item {
        padding-top: 28px;
    }

    .site-header .column-2 .menu-main-container>.menu>.menu-item>a {
        display: block;
        font-size: 24px;
        line-height: 32px;
        font-weight: 600;
        color: var(--black-color);
        text-decoration: none;
    }

    .site-header .column-2 .menu-main-container>.menu>.menu-item>.sub-menu {
        list-style: none;
        margin: 0;
        padding: 0 30px;
    }

    .site-header .column-2 .menu-main-container>.menu>.menu-item>.sub-menu>.menu-item {
        padding-top: 13px;
    }

    .site-header .column-2 .menu-main-container>.menu>.menu-item>.sub-menu>.menu-item>a {
        display: block;
        font-size: 24px;
        line-height: 32px;
        color: var(--black-color);
        text-decoration: none;
    }

    /* Menu icon */
    .nav-menu-icon {
        display: flex;
        align-items: center;
        padding: 0;
        border: none;
        background-color: transparent;
        cursor: pointer;
        transition: all 0.2s ease-out;
        height: 24px;
    }

    .nav-menu:not(.nav-menu-active) .nav-menu-icon-close,
    .nav-menu.nav-menu-active .nav-menu-icon-open {
        display: none;
    }

    .nav-menu-icon-component {
        position: relative;
        display: flex;
        align-items: center;
        font-size: 24px;
        color: var(--kiwi-color);
        height: 34px;
        width: 33px;
    }

    .nav-menu-icon-component img {
        display: block;
        flex: 0 0 auto;
        height: auto;
        width: 33px;
        margin-right: 13px;
    }

    .nav-menu-icon-open img {
        display: none;
    }

    .nav-menu-icon-open:before {
        display: block;
        position: relative;
        content: "";
        flex: 0 0 auto;
        height: 15px;
        width: 33px;
        margin-right: 13px;
        background-image: url(/wp-content/themes/cdt/assets/svg/menu-icon-responsive.svg);
        background-size: contain;
        background-position: center left;
    }

    .nav-menu-icon-component.nav-menu-icon-close img {
        width: 23px;
        margin-right: 23px;
    }

    /* Social media */
    .site-header .column-3 {
        position: fixed;
        bottom: 16px;
        right: 20px;
    }

    .site-header .socialmedia-links a:not(:last-child) {
        margin-right: 22px;
    }

    /* Site Footer */
    .site-footer {
        margin-bottom: 56px;
        z-index: 0;
    }

    /* Tiles */
    .cdt-tiles {
        width: 679px;
        margin-bottom: 0;
    }

    .cdt-tile {
        margin-bottom: 19px;
    }

    .cdt-tile:not(:nth-child(3n)) {
        margin-right: 0;
    }

    .cdt-tile:not(:nth-child(2n)) {
        margin-right: 19px;
    }

    .cdt-tile-content {
        font-size: 20px;
        line-height: 26px;
    }

    /* Blocks */
    main {
        margin-bottom: 40px;
    }

    .entry-content {
        font-size: 20px;
        line-height: 28px;
    }

    .entry-content .wp-block-columns {
        display: block;
    }

    .entry-content .wp-block-image {
        max-width: 500px;
    }

    .entry-content iframe {
        width: 500px;
        max-width: 100%;
    }

    /* Employees */
    .cdt-employee {
        width: calc((100% - 78px) / 3);
    }

    .cdt-employee:not(:nth-of-type(4n)) {
        margin-right: 0;
    }

    .cdt-employee:not(:nth-of-type(3n)) {
        margin-right: 39px;
    }

    .cdt-employee h2 {
        font-size: 24px;
    }

    /* Gallery */
    .cdt-masonry-grid-item {
        width: calc((100% - 80px) / 3);
    }

    /* Lightbox */
    .cdt-gallery-lightbox {
        bottom: 56px;
        height: calc(100vh - 139px);
    }

    .cdt-slideshow-nav-btn-next{
        right: 5px !important;
    }

    .cdt-slideshow-nav-btn-prev{
        left: 5px !important;
    }

    .cdt-slideshow-nav-btn{
        height: 20px !important;
        width: 35px !important;
    }

    .cdt-gallery-lightbox .cdt-slideshow-nav-btn{
        margin-top: -16px !important;
    }

    .cdt-gallery-lightbox-close{
        width: 35px;
        height: 35px;
        right: 5px;
    }

    .cdt-gallery-lightbox .cdt-slideshow-slide .cdt-slideshow-slide-thumbnail{
        padding: 45px;
    }

    .cdt-slideshow-slide-inner{
        align-items: flex-start !important;
    }

    .cdt-gallery-lightbox .cdt-slideshow-slide .cdt-slideshow-slide-content{
        padding: 0 45px;
    }

    /* Events */
    .cdt-event-inner{
        display: block !important;
    }
    
    .cdt-event-content{
        margin-right: 0 !important;
    }

    .cdt-events > .cdt-event .cdt-event-inner > img{
        width: 570px;
        max-width: 100%;
        margin-top: 50px;
    }
}

/* Responsive 679px */
@media only screen and (max-width: 679px) {

    h1 {
        font-size: 30px;
        margin-bottom: 40px;
    }

    /* Tiles */
    .cdt-tiles {
        display: block;
        width: 100%;
    }

    .cdt-tile {
        max-width: 100%;
    }

    .cdt-tile:not(:nth-child(2n)) {
        margin-right: 0;
    }

    /* Employees */
    .cdt-employee {
        width: calc((100% - 39px) / 2);
    }

    .cdt-employee:not(:nth-of-type(3n)) {
        margin-right: 0;
    }

    .cdt-employee:not(:nth-of-type(2n)) {
        margin-right: 39px;
    }

    /* Site footer */
    .site-footer .widget-area {
        display: block;
    }

    .site-footer .widget-area .widget:not(:last-child) {
        margin-right: 0;
    }

    /* Gallery */
    .cdt-masonry-grid-item {
        width: calc((100% - 40px) / 2);
    }

    /* Events */
    .cdt-event h2{
        font-size: 28px;
        line-height: 32px;
    }

    .cdt-event-toggle{
        height: 50px;
        width: 50px;
    }
}

/* Responsive 450px */
@media only screen and (max-width: 450px) {

    /* Employees */
    .cdt-employee {
        width: 100%;
    }

    .cdt-employee:not(:nth-of-type(2n)) {
        margin-right: 0;
    }

    /* Gallery */
    .cdt-masonry-grid-item {
        width: 100%;
    }

    .cdt-gallery-lightbox {
        display: none !important;
    }
}