/*
 Theme Name:   Clarita FSE
 Theme URI:    https://clarita.tkdemos.co/
 Description:  Clarita is a portfolio WordPress theme built for freelance photographers and photography agencies that are looking to develop their online galleries and impress potential clients.
 Author:       Themes Kingdom
 Author URI:   http://themeskingdom.com
 Version:      1.0.0
 Requires PHP: 5.6
 Tested up to: 5.7
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: blog, portfolio, photography, block-patterns, block-styles, translation-ready, theme-options, custom-logo, editor-style, featured-images, custom-menu, full-site-editing, full-width-template, rtl-language-support, custom-colors, right-sidebar, one-column, two-columns, three-columns, four-columns, five-columns, six-columns, wide-blocks
 Text Domain:  clarita
*/


/* Typography
--------------------------------------------- */

@font-face {
    font-family: "Hauora";
    src: url('assets/fonts/Hauora-Medium/Hauora-Medium.woff2') format('woff2'),
        url('assets/fonts/Hauora-Medium/Hauora-Medium.woff') format('woff'),
        url('assets/fonts/Hauora-Medium/Hauora-Medium.otf') format('opentype');
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: "Hauora";
    src: url('assets/fonts/Hauora-SemiBold/Hauora-SemiBold.woff2') format('woff2'),
        url('assets/fonts/Hauora-SemiBold/Hauora-SemiBold.woff') format('woff'),
        url('assets/fonts/Hauora-SemiBold/Hauora-SemiBold.otf') format('opentype');
    font-style: normal;
    font-weight: 600;
}




/* GENERALS */

body {
    background: #f2ece6;
}

#siteMain {
    overflow: hidden;
}

body,
input,
textarea,
keygen,
select,
button,
.search .page-header.search-page-header .page-title {
    font-family: "Hauora", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    letter-spacing: -0.03em;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-block-file__button,
.wp-block-button__link {
    color: #fff;
    background-color: #32373c;
    border: none;
    border-radius: 1.55em;
    box-shadow: none;
    cursor: pointer;
    display: inline-block;
    font-size: 0.8em;
    padding: .667em 1.333em;
    text-align: center;
    text-decoration: none;
    overflow-wrap: break-word;
}


.wp-block-navigation a {
    padding-bottom: 0.1em;
    line-height: 1;
    border-bottom: 0.1em solid transparent;
}

hr,
.wp-block-separator {
    border-width: 1px;
}

a:hover,
a:focus {
    border-color: inherit;
}

.entry-content a,
.entry-meta a,
.taxonomy-category a,
.wp-block-post-author__name a,
.wp-block-post-excerpt a {
    border-bottom: 0.1em solid transparent;
}

.entry-content a:hover,
.entry-content a:focus,
.entry-meta a:hover,
.entry-meta a:focus,
.wp-block-post-excerpt a:hover,
.wp-block-post-excerpt a:focus,
.wp-block-post-author__name a:hover,
.wp-block-post-author__name a:focus,
.taxonomy-category a:hover,
.taxonomy-category a:focus {
    border-color: inherit;
}

.wp-block-post-excerpt__more-link {
    line-height: 1;
    color: rgba(0, 0, 0, 0.5);
}


/* END GENERALS */

/* HEADER/FOOTER */

#siteHeader.is-position-sticky {
    position: fixed !important;
    width: 100%;
    left: 0;
}

#hamburgerWrapper summary {
    font-size: 0;
    cursor: pointer;
    color: inherit;
    position: relative;
    z-index: 999;
    padding: 4px;
    height: 22px;
    width: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

#hamburgerWrapper summary:before,
#hamburgerWrapper summary:after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    margin: 1px auto;
    background-color: #000;
    transition: 0.2s;
}

#hamburgerWrapper summary:hover:before,
#hamburgerWrapper summary:hover:after {
    width: 35px;
}

#hamburgerContent {
    position: fixed;
    z-index: 998;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    margin-top: 0;
}

#hamburgerContent>div {
    height: 100%;
}

#hamburgerContent a {
    border: 0 !important;
    padding: 0 !important;
    transition: opacity 0.1s linear;
}

#hamburgerContent .content-left,
#hamburgerContent .content-right {
    box-sizing: border-box;
    height: 100%;
}

#hamburgerContent .content-right {
    overflow-y: auto;
    margin-right: -20px;
    -ms-overflow-style: none;
}

#hamburgerContent .content-right::-webkit-scrollbar {
    display: none;
}

#hamburgerContent .content-left .wp-block-navigation li,
#hamburgerContent .content-right {
    animation: hamburgerMenu 0.25s 0.7s cubic-bezier(0.28, 0.12, 0.22, 1);
    animation-fill-mode: both;
}

.hamburger-opened {
    overflow: hidden;
}

.hamburger-opened #hamburgerContent {
    display: block;
}

.hamburger-opened #hamburgerWrapper summary:before,
.hamburger-opened #hamburgerWrapper summary:after {
    background-color: #fff !important;
    margin: -1px 0 0 1px;
    width: 36px;
    transition: width 0.1s ease-out;
}

.hamburger-opened #hamburgerWrapper summary:before {
    transform: rotate(45deg);
}

.hamburger-opened #hamburgerWrapper summary::after {
    transform: rotate(-45deg);
}

.hamburger-opened #hamburgerWrapper summary:hover:before,
.hamburger-opened #hamburgerWrapper summary:hover:after {
    width: 18px;
}

.hamburger-opened #hamburgerContent .content-left .wp-block-navigation li:nth-child(1),
.hamburger-opened #hamburgerContent .content-right {
    animation-delay: 0.2s;
}

.hamburger-opened #hamburgerContent .content-left .wp-block-navigation li:nth-child(2) {
    animation-delay: 0.25s;
}

.hamburger-opened #hamburgerContent .content-left .wp-block-navigation li:nth-child(3) {
    animation-delay: 0.3s;
}

.hamburger-opened #hamburgerContent .content-left .wp-block-navigation li:nth-child(4) {
    animation-delay: 0.35s;
}

.hamburger-opened #hamburgerContent::after {
    content: '';
    position: absolute;
    right: 50%;
    top: 115px;
    width: 1px;
    height: calc(100vh - 160px);
    background-color: #000;
    transform-origin: top center;
    background-color: rgba(255, 255, 255, 0.2);
    animation: hamburgerLine 0.4s 0.5s cubic-bezier(0.28, 0.12, 0.22, 1);
    animation-fill-mode: both;
}

@keyframes hamburgerMenu {
    0% {
        opacity: 0;
        transform: translateY(20%);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes hamburgerLine {
    0% {
        transform: scaleY(0);
    }

    100% {
        transform: none;
    }
}

#siteFooter,
#pageHeader {
    opacity: 0;
    transform: translateY(20%);
    transition: 0.3s cubic-bezier(0.28, 0.12, 0.22, 1);
    transition-delay: 0.1s;
}

#siteFooter a:hover {
    opacity: 0.6;
}

#siteFooter.is-position-sticky {
    position: fixed;
    width: 100%;
    bottom: 0;
    top: unset !important;
}

.show #siteFooter,
.no-js #siteFooter,
.show #pageHeader,
.no-js #pageHeader {
    opacity: 1;
    transform: none;
}

footer.wp-block-template-part {
    margin-top: 0 !important;
}


@media screen and (min-width: 1101px) {
    .content-left .wp-block-navigation:hover a {
        opacity: 0.3;
    }

    .content-left .wp-block-navigation a:hover {
        opacity: 1;
    }

    .content-right a:hover {
        text-decoration: underline;
    }
}

/* END HEADER/FOOTER */

/* PAGE */

#pageHeader {
    max-width: fit-content;
}

#pageHeader h2 {
    font-weight: 400;
    letter-spacing: 0;
}

.single #pageHeader .read-time-title {
    display: none;
}

#pageHeader .read-time-wrapper {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.5);
    margin-top: 0 !important;
}

#pageHeader .read-time-wrapper p {
    margin: 0 !important;
}

#pageHeader .read-time-content {
    cursor: n-resize;
}

#pageHeader .progress-element {
    display: none;
    position: relative;
    max-width: 50%;
    width: 400px;
    height: 1px;
    border-radius: 1px;
    overflow: hidden;
    margin-top: 4px;
    margin-left: 0 !important;
    background-color: rgba(0, 0, 0, 0.1);
}

#pageHeader .progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    height: 4px;
    width: 0%;
    max-width: 100%;
    min-width: 4px;
    background-color: #000;
    border-radius: 2px;
    transition: width 0.15s cubic-bezier(.62, .04, .75, .95);
}

#pageHeader.show-progress .read-time-title,
#pageHeader.show-progress .progress-element {
    display: block !important;
}

#pageHeader.show-progress .read-time-hero {
    display: none;
}



.error404 p a:hover,
.error404 p a:focus {
    text-decoration: underline;
}

@media screen and (min-width: 768px) {
    #pageHeader.is-position-sticky {
        position: fixed;
        width: 100%;
        bottom: 0;
        top: unset !important;
    }
}

/* END PAGE */

/* LOOP */

.wp-block-post-template>li {
    margin-bottom: 50px !important;
}

.wp-block-post-template .wp-block-post-title:hover,
.wp-block-post-template .wp-block-post-title:focus {
    opacity: 0.3;
    transition: .3s;
}

.wp-block-post-template.columns-2>li {
    width: 100%;
    margin-top: 0 !important;
    opacity: 0;
    transform: translateX(1rem);
    transition: 0.3s 1.1s cubic-bezier(0.28, 0.12, 0.22, 1);
}

.show .wp-block-post-template.columns-2>li {
    opacity: 1;
    transform: none;
}

.wp-block-post-template.columns-2>li:nth-child(1) {
    transition-delay: 0s;
}

.wp-block-post-template.columns-2>li:nth-child(2) {
    transition-delay: 0.1s;
}

.wp-block-post-template.columns-2>li:nth-child(3) {
    transition-delay: 0.2s;
}

.wp-block-post-template.columns-2>li:nth-child(4) {
    transition-delay: 0.3s;
}

.wp-block-post-template.columns-2>li:nth-child(5) {
    transition-delay: 0.4s;
}

.wp-block-post-template.columns-2>li:nth-child(6) {
    transition-delay: 0.5s;
}

.wp-block-post-template.columns-2>li:nth-child(7) {
    transition-delay: 0.6s;
}

.wp-block-post-template.columns-2>li:nth-child(8) {
    transition-delay: 0.7s;
}

.wp-block-post-template.columns-2>li:nth-child(9) {
    transition-delay: 0.8s;
}

.wp-block-post-template.columns-2>li:nth-child(10) {
    transition-delay: 0.9s;
}

.wp-block-post-template.columns-2>li:nth-child(11) {
    transition-delay: 1s;
}

@media screen and (min-width: 768px) {
    .wp-block-post-template>li {
        margin-bottom: 90px !important;
    }

    .wp-block-post-template.columns-2 {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-left: -50px;
        margin-right: -50px;
        max-width: none !important;
    }

    .wp-block-post-template.columns-2>li {
        max-width: 49.9%;
        padding-left: 50px;
        padding-right: 50px;
        box-sizing: inherit;
    }
}

/* END LOOP */

/* SINGLE */
.wp-block-post-author__content {
    display: flex;
}

.wp-block-post-author__byline {
    width: fit-content;
    font-size: inherit;
    margin-right: 4px;
}

.wp-block-group-is-layout-flex .wp-block-post-author {
    margin-left: auto;
}

.single .entry-content h2 {
    font-size: calc(23.23px + 1.294vw);
    line-height: 1.25;
}

.single .entry-content h3 {
    font-size: calc(17.6px + 0.6472vw);
}

.single .entry-content h4 {
    font-size: calc(19px + 0.259vw);
    line-height: 1.3846;
}

.single .entry-content>*:not(.wp-block-quote):not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.entry-attachment) {
    margin-left: auto;
    margin-right: auto;
    max-width: 48rem;
}

.single .has-small-font-size {
    font-size: 16px !important;
    margin-top: 0.5rem !important;
}

.single .has-large-font-size {
    font-size: 28px !important;
    line-height: 1.4;
}

.post-navigation-link__label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: -0.02em;
    font-size: calc(15px + 0.258vw);
    color: #000 !important;
}

.wp-block-post-navigation-link a {
    display: block;
    border-bottom: 1px solid transparent;
    transition: .3s;
}

.post-navigation-wrapper {
    opacity: 0;
    transform: translateY(1rem);
    transition: 0.3s cubic-bezier(0.28, 0.12, 0.22, 1);
}

.show .post-navigation-wrapper {
    opacity: 1;
    transform: none;
}

@media screen and (min-width: 782px) {
    .single-jetpack-portfolio .entry-content .wp-block-column:not(:first-child) {
        margin-left: 4em;
    }
}

@media screen and (min-width: 1025px) {
    .wp-block-post-navigation-link a:hover {
        color: #000 !important;
        border-color: #000;
    }
}

@media screen and (min-width: 1330px) {

    .wp-block-image .alignleft,
    .wp-block-image .alignright {
        max-width: 29rem;
    }
}

/* END SINGLE */

/* BOOTS */

@media screen and (min-width: 768px) {
    .mx-full-align {
        margin-left: -14px;
        margin-right: -14px;
    }
}

@media screen and (max-width: 767px) {

    .cols-md-reverse {
        flex-direction: column-reverse !important;
    }

    .my-md-60 {
        margin-top: 60px !important;
        margin-bottom: 60px !important;
    }

    .h-md-30 {
        height: 30px !important;
    }

    .fs-md-35 {
        font-size: 35px !important;
    }

    .fs-md-28 {
        font-size: 28px !important;
    }

    .fs-md-26 {
        font-size: 26px !important;
    }

    .fs-md-22 {
        font-size: 22px !important;
    }

    .fs-md-14 {
        font-size: 14px !important;
    }
}

/* END BOOTS */

/* RESPONSIVE */
@media screen and (max-width: 980PX) {

    #hamburgerContent::after {
        display: none;
    }

}

@media screen and (max-width: 767px) {

    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    #siteFooter p {
        text-align: left !important;
        font-size: 11px !important;
    }


    #hamburgerContent {
        overflow-y: auto;
        overflow-x: hidden;
    }

    #hamburgerContent .content-left,
    #hamburgerContent .content-right {
        box-sizing: border-box;
        height: auto;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    #hamburgerContent .content-left {
        padding-top: 80px !important;
        padding-bottom: 60px !important;
    }

    #hamburgerContent .content-right {
        margin-right: 0;
    }

    #siteHeader .content-left .wp-block-navigation a {
        font-size: 28px !important;
    }

    #hamburgerWrapper summary {
        width: 43px;
        margin-right: 0;
    }

    .social-menu-wrapper {
        display: none;
        position: fixed;
        z-index: 999;
        top: 110px;
        transform-origin: left top;
        transform: rotate(90deg);
        left: calc(100% - 30px);
    }

    .social-menu-wrapper .wp-block-navigation__container {
        justify-content: flex-start !important;
    }

    .social-menu-wrapper .wp-block-navigation__container a {
        color: #fff !important;
    }

    .hamburger-opened .social-menu-wrapper {
        display: block;
    }

    #siteMain {
        margin-top: 90px !important;
        margin-bottom: 80px !important;
    }

    #pageHeader {
        margin-bottom: 15px !important;
    }

    .wp-block-image.alignleft {
        max-width: 60%;
    }

    .error404 #pageHeader,
    .single-post #pageHeader {
        display: none;
    }

    .error404 #siteMain {
        min-height: 65vh;
        display: flex;
        align-items: center;
    }

    .taxonomy-category,
    .wp-block-post-date,
    .wp-block-post-author {
        display: inline-block;
        margin-right: 12px;
        font-size: 11px !important;
    }

    .single .entry-content {
        font-size: 16px !important;
    }

    .single .entry-content h3 {
        font-size: 24px;
    }

    .single .entry-content .has-massive-font-size {
        font-size: 35px !important;
    }

    .single .entry-content .wp-block-spacer {
        max-height: 30px;
        margin-top: 0 !important;
    }

    .single .wp-block-post-featured-image {
        max-width: 75%;
        margin-left: 0 !important;
    }

    .post-navigation-wrapper {
        gap: 0 !important;
    }

    .post-navigation-wrapper>div {
        padding: 30px 0;
        border-bottom: 1px solid #000;
    }

    .post-navigation-wrapper>div:last-child {
        border: 0;
    }
}

@media only screen and (max-width: 1024px),
only screen and (orientation: landscape) and (max-width: 1366px) and (hover: none) {

    .wp-block-image .alignleft,
    .wp-block-image .alignright {
        max-width: 60%;
    }
}

/* END RESPONSIVE */