/*
Theme Name: Strahm
Author URI: https://codechameleon.com?utm_source=strahm_site
Author: Codec Chameleon
Version: 1.0
Text Domain: strahm
*/

.wp-content img {
    height: auto;
}

.wp-content h1,
.wp-content h2,
.wp-content h3,
.wp-content h4,
.wp-content h5,
.wp-content h6 {
    margin: 1rem 0;
    display: block;
    clear: both;
}

.wp-content img.alignnone {
    clear: both;
    display: block;
    margin-bottom: 2rem;
}

.wp-content p {
    text-align: justify;
    margin: 0 0 10px !important;
    font-size: 16px !important;
}

@media (max-width: 575px) {
    p {
        font-size: 15px !important;
    }
}

.wp-content div.column {
    overflow: hidden;
}

.wp-content figure.alignleft {
    margin: 2rem 2rem 2rem 0;
}

.wp-content figure.alignright {
    margin: 2rem 0 2rem 2rem;
}

.wp-content figure.alignnone {
    margin: 2rem 0;
}

.wp-content figure.aligncenter img,
.wp-content figure.aligncenter,
.wp-content img.aligncenter {
    display: block;
    margin: 0 auto;
    padding: 2rem 0;
}

.wp-content figure.aligncenter figcaption {
    text-align: center;
}

@media (min-width: 52rem) {
    .wp-content figure.alignleft,
    .wp-content img.alignleft {
        padding-bottom: 2rem;
        padding-right: 2rem;
        float: left;
        max-width: 50%;
    }

    .wp-content figure.alignright,
    .wp-content img.alignright {
        padding-bottom: 2rem;
        padding-left: 2rem;
        float: right;
        max-width: 50%;
    }

    .wp-content figure.alignnone,
    .wp-content img.aligncenter,
    .wp-content figure.alignright img,
    .wp-content figure.alignleft img,
    .wp-content figure.alignnone img {
        padding-bottom: 2rem;
    }
}

@media (max-width: 52rem) {
    .wp-content figure.alignleft,
    .wp-content img.alignleft {
        max-width: 40%;
        padding-bottom: 2rem;
        padding-right: 2rem;
        float: left;
    }

    .wp-content figure.alignright,
    .wp-content img.alignright {
        max-width: 40%;
        padding-bottom: 2rem;
        padding-left: 2rem;
        float: right;
    }

    .wp-content figure.alignnone,
    .wp-content img.aligncenter,
    .wp-content figure.alignright img,
    .wp-content figure.alignleft img,
    .wp-content figure.alignnone img {
        padding-bottom: 2rem;
    }
}

@media (max-width: 40rem) {
    .wp-content figure.alignleft,
    .wp-content img.alignleft {
        display: block;
        max-width: 100%;
        margin-bottom: 2rem;
        padding: 0;
    }

    .wp-content figure.alignright,
    .wp-content img.alignright {
        display: block;
        max-width: 100%;
        margin-bottom: 2rem;
        padding: 0;
    }

    .wp-content figure.aligncenter,
    .wp-content img.aligncenter {
        display: block;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .wp-content figure,
    .wp-content img {
        display: block;
        max-width: 100%;
    }
}

.img-landscape-mode img {
    aspect-ratio: 3/2;
    object-fit: cover;
    width: 100%;
}

.sticky-header-active .header-logo img {
    max-height: 75px !important;
    width: auto !important;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth !important;
}

/* Vimeo Popup with Info */
.vimeo-popup-with-info .mfp-content-info {
    padding: 15px;
    color: #fff;
    margin-top: 0;
    display: block;
    position: relative;
    z-index: 1;
}

.vimeo-popup-with-info .video-title {
    margin-top: 0;
    color: #fff;
    padding-top: 10px;
    font-size: 20px;
}

.vimeo-popup-with-info .video-description {
    margin-bottom: 10px;
    line-height: 1.5;
}

.img-square {
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
}

.img-landscape {
    aspect-ratio: 3/2;
    object-fit: cover;
    width: 100%;
}

.img-portrait {
    aspect-ratio: 2/3;
    object-fit: cover;
    width: 100%;
}

.page-link::before {
    color: var(--primary) !important;
}

.owl-carousel .owl-item img {
    width: auto !important;
    margin-left: auto;
    margin-right: auto;
}

.custom-card-style-1:hover span, .custom-card-style-1:hover i, .custom-card-style-1:hover a {
    color: var(--light) !important;
}

/*
* Card
*/
.custom-card-style-1:hover {
    background-color: var(--primary) !important;
}

.custom-card-style-1:hover h2, .custom-card-style-1:hover p {
    color: var(--light) !important;
}

.custom-card-style-1:hover .animated-icon svg path, .custom-card-style-1:hover .animated-icon svg rect {
    fill: #FFF !important;
}

.custom-card-style-2:hover {
    background-color: var(--secondary) !important;
}

.custom-card-style-2:hover h2, .custom-card-style-2:hover p {
    color: var(--light) !important;
}

.custom-card-style-2:hover .animated-icon svg path, .custom-card-style-2:hover .animated-icon svg rect {
    fill: #FFF !important;
}

.custom-card-style-2 {
    transition: ease background-color 300ms;
}

.custom-card-style-2:hover p {
    opacity: 0.8;
}

.custom-card-style-3:hover {
    background-color: var(--tertiary) !important;
}

.custom-card-style-3:hover h2, .custom-card-style-3:hover p {
    color: var(--dark) !important;
}

.custom-card-style-3:hover .animated-icon svg path, .custom-card-style-3:hover .animated-icon svg rect {
    fill: #000 !important;
}

.custom-card-style-3 {
    transition: ease background-color 300ms;
}

.custom-card-style-3:hover p {
    opacity: 0.8;
}

h3 {
    letter-spacing: 1px !important;
}

.custom-bg-default-1 {
    background: #747473 !important;
}

.custom-bg-secondary-1 {
    background: #5E4F30 !important;
}

.custom-bg-tertiary-1 {
    background: #B7CFD7 !important;
}

.custom-bg-tertiary-1 h1 {
    color: #212529 !important;
}

.custom-bg-tertiary-1 li {
    color: #212529 !important;
}

.custom-bg-tertiary-1 li > a {
    color: #212529 !important;
}