/*!
Theme Name: Fineart
Theme URI: https://www.templatemonster.com/vendors/zemez
Author: Zemez
Author URI: https://zemez.io/
Description: Fineart theme.
Template: kava
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fineart
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
DocumentationID: fineart
Template Id: prod-26776
*/

#toTop {
    cursor: pointer;
}

/* Contact forms */

.wpcf7-spinner {
    display: none;
}

.wpcf7 textarea {
    display: block;
}

.elementor-595 .elementor-element.elementor-element-65d858e .wpcf7 form.invalid input.wpcf7-submit {
    margin-top: 38px;
}

@media screen and (max-width: 425px) {
    .elementor-595 .elementor-element.elementor-element-65d858e .wpcf7 form.invalid input.wpcf7-submit {
        margin-top: 27px;
    }
}

.wpcf7 .wpcf7-not-valid-tip {
    background-color: transparent;
}

.wpcf7 .wpcf7-not-valid-tip:before {
    display: none;
}

/* Square */

.square .elementor-widget-container h2 {
    background-color: #ffffff;
    width: 222px;
    height: 192px;
    margin: 0;
    position: relative;
    z-index: 0;
}

.square .elementor-widget-container h2 span {
    z-index: 1;
}

.square .elementor-widget-container h2::before {
    background: #010100;
    content: "";
    width: 370px;
    height: 340px;
    position: absolute;
    top: -74px;
    left: -74px;
    z-index: 0;
}

.square .elementor-widget-container h2::after {
    content: "";
    width: 222px;
    height: 192px;
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
}

@media (max-width: 767px) {
    .square .elementor-widget-container h2 {
        width: 150px;
        height: 150px;
    }

    .square .elementor-widget-container h2::before {
        width: 250px;
        height: 250px;
        top: -50px;
        left: -50px;
    }

    .square .elementor-widget-container h2::after {
        width: 150px;
        height: 150px;
    }
}

/* Rhombus */

.rhombus .elementor-widget-container h2 {
    width: 200px;
    position: relative;
    z-index: 1;
    margin: 0;
    top: -30px;
}

.rhombus .elementor-widget-container h2::before {
    background: #000;
    position: absolute;
    top: -100px;
    left: -30px;
    content: "";
    width: 260px;
    height: 260px;
    z-index: -1;
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

@media (max-width: 767px) {
    .rhombus .elementor-widget-container h2::before {
        top: -50px;
        left: 20px;
        width: 160px;
        height: 160px;
    }
}

/* Hexagon */

.hexagon .elementor-widget-container h2 {
    display: grid !important;
    place-content: center;
    width: 137px;
    height: 238px;
    background: #000;
    text-align: center;
    position: relative;
    display: inline-block;
    border-top: 40px solid #000;
    margin-bottom: 0;
    border-bottom: 40px solid #000;
}

.hexagon .elementor-widget-container h2::before {
    position: absolute;
    background-color: transparent;
    content: "";
    top: -40px;
    border-top: 119px solid transparent;
    border-right: 71px solid #000;
    border-bottom: 119px solid transparent;
    border-left: 119px solid transparent;
    left: -190px;
    display: inline-block;
}

.hexagon .elementor-widget-container h2::after {
    position: absolute;
    content: "";
    top: -40px;
    border-top: 119px solid transparent;
    border-right: 119px solid transparent;
    border-bottom: 119px solid transparent;
    border-left: 71px solid #000;
    right: -190px;
    display: inline-block;
}

.hexagon .elementor-widget-container h2 span {
    text-align: center;
    margin-bottom: 0;
    display: inline-block;
    width: 90px;
    padding: 56px 0;
    background: #fff;
    position: relative;
    border: none;
}

.hexagon .elementor-widget-container h2 span::before {
    position: absolute;
    content: "";
    top: 0;
    border-top: 78px solid transparent;
    border-right: 47px solid #fff;
    border-bottom: 78px solid transparent;
    border-left: 78px solid transparent;
    left: -125px;
    z-index: 10;
    display: inline-block;
}

.hexagon .elementor-widget-container h2 span::after {
    position: absolute;
    content: "";
    top: 0;
    border-top: 78px solid transparent;
    border-right: 78px solid transparent;
    border-bottom: 78px solid transparent;
    border-left: 47px solid #fff;
    right: -125px;
    z-index: 10;
    display: inline-block;
}

/* Gallery scale hover animation */

.scale_anim .elementor-widget-container article a .jet-portfolio__image {
    overflow: hidden;
}

.scale_anim .elementor-widget-container article a img {
    transition: all 500ms linear;
}

.scale_anim .elementor-widget-container article a:hover img {
    transform: scale(1.1);
    transition: all 500ms linear;
}

/* Blog */

.line_height_fix .elementor-widget-container .jet-smart-listing-wrap .jet-smart-listing .jet-smart-listing__posts .jet-smart-listing__post-wrapper .jet-smart-listing__post .jet-smart-listing__post-content .jet-smart-listing__post-title {
    line-height: 1.3em;
}

.posts-list {
    padding-top: 70px;
}

.posts-list-navigation {
    padding-bottom: 70px;
}

.mobile-menu .jet-mega-menu.jet-mega-menu--layout-dropdown {
    align-items: center;
}

@media (max-width: 768px) {
    .posts-list {
        padding-top: 30px;
    }

    .posts-list-navigation {
        padding-bottom: 40px;
    }
}