/*
Theme Name: Eona Child
Theme URI: https://eona.qodeinteractive.com
Description: A child theme of Eona
Author: Mikado Themes
Author URI: https://qodeinteractive.com
Version: 1.0.0
Text Domain: eona
Template: eona
*/

/* COLORS */

.qodef-button.qodef-layout--filled.qodef-html--link:hover {
	color: #fff;
	background-color: #16729f;
}

.qodef-numbered-text .qodef-m-number {
	font-family: HenriDidot,serif;
	color: #16729f;
}

.qodef-tabs.qodef-layout--simple .qodef-tabs-navigation .qodef-following-border {
	background-color: #16729f;
}


/* LOGO AREA */

.qodef-header-logo-link::after {
    content: "Per vedere ... ed essere visti";
    font-family: Playfair Display;
    font-style: italic;
    font-size: 27px;
    color: #000;
    padding-left: 31px;
    padding-top: 25px;
}


/* MASONRY HOME */

article.qodef-e.qodef-grid-item.post-1452.portfolio-item.type-portfolio-item.status-publish.has-post-thumbnail.hentry,
article.qodef-e.qodef-grid-item.post-1433.portfolio-item.type-portfolio-item.status-publish.has-post-thumbnail.hentry {
	top: 15% !important;
}

.qodef-portfolio-list.qodef-item-layout--info-on-hover .qodef-e-image img {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	width: 100%;
	height: auto;
}

#novita article a.qodef-e-title-link,
#novita article a.qodef-e-category,
#novita article a {
    pointer-events: none !important;
}


/* INSTAGRAM FEED */

.custom-feed-block #sb_instagram .sbi_photo_wrap a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0;
    -webkit-transition: opacity .2s ease-out;
    -o-transition: opacity .2s ease-out;
    transition: opacity .2s ease-out;
}

.custom-feed-block #sb_instagram .sbi_photo_wrap a:hover:before {
    opacity: .7;
}

.custom-feed-block #sb_instagram .sbi_photo_wrap a:after {
    color: #fff;
    content: '\f16d';
    font-family: 'Font Awesome 5 Brands';
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: calc(50% + 20px);
    left: calc(50% - 10px);
}

.custom-feed-block #sb_instagram .sbi_photo_wrap a:hover:after {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    transform: translateY(-30px);
    -webkit-transition: .2s ease-in-out .1s;
    -o-transition: .2s ease-in-out .1s;
    transition: .2s ease-in-out .1s;
}

.custom-feed-block #sb_instagram {
	padding-top: 100px;
}

.custom-feed-block #sb_instagram #sbi_load {
    position: absolute;
    top: 20px;
}

/* MAP */

.elementor-6043 .elementor-element.elementor-element-236f56a iframe {
    height: 500px;
}

/* FOOTER */

#qodef-page-footer-top-area .qodef-grid.qodef-layout--columns.qodef-col-num--2 > .qodef-grid-inner > .qodef-grid-item:nth-child(1) {
    width: 75% !important;
}

#qodef-page-footer-top-area .qodef-grid.qodef-layout--columns.qodef-col-num--2 > .qodef-grid-inner > .qodef-grid-item:nth-child(2) {
    width: 25% !important;
}

#qodef-page-footer-bottom-area .qodef-grid-item img {
    height: 50px !important;
    width: auto;
}

#qodef-page-footer #qodef-page-footer-top-area .widget.widget_text {
    margin: 0px 0 5px;
}

#qodef-back-to-top .qodef-back-to-top-icon svg polyline {
    fill: none;
    stroke: #16729f;
    stroke-width: 2px;
}

#qodef-back-to-top .qodef-back-to-top-icon svg {
    color: #16729f;
}

#qodef-page-footer-bottom-area .qodef-layout--columns.qodef-col-num--2 .qodef-grid-item:nth-child(2) {
    text-align: left;
}

#qodef-page-footer-bottom-area .qodef-grid.qodef-layout--columns.qodef-col-num--2 > .qodef-grid-inner > .qodef-grid-item:nth-child(1) {
    width: 22%;
}

#qodef-page-footer-bottom-area .qodef-grid.qodef-layout--columns.qodef-col-num--2 > .qodef-grid-inner > .qodef-grid-item:nth-child(2) {
    width: 78%;
}


/* COLOR BLU ON BUTTONS, TITLES, LINES */

.qodef-button.qodef-layout--filled.qodef-html--link {
    color: #fff;
    background-color: #16729f;
    border: 1px solid transparent;
}
.qodef-button.qodef-layout--filled.qodef-html--link:hover {
    color: #fff;
    background-color: #000;
    border: 1px solid transparent;
}

.qodef-section-title .qodef-m-title {
    /*color: #16729f;*/
}

.qodef-section-title .qodef-m-separator {
    background-color: #16729f;
}

.qodef-button.qodef-html--link {
    font-size: 16px;
}

/* LOGO */

#qodef-page-header .qodef-header-logo-link.qodef-height--not-set img {
    width: auto;
    height: 60%;
}

/* MENU */

.qodef-header-navigation > ul > li > a {
    font-size: 14px;
}

.qodef-header-navigation ul li.qodef-menu-item--narrow ul li a {
    font-size: 18px;
    line-height: 22px;
    padding: 0 3px 3px 3px;
}

/* GALLERY FIX */

@media screen and (min-width:768px) {

    .gallery-tot-width .elementor-image-gallery #gallery-1.gallery-columns-6 .gallery-item {
        max-width:16.666%;
        width:16.666%;
    }

}

/* News block */

.qodef-m-filter {
    justify-content: start;
}

.qodef-m-filter .qodef-following-border {
    background-color: #16729f;
}


/* Hide elements */

#team-grid {
    display: none;
}


@media screen and (max-width:768px) {

    #qodef-page-footer-bottom-area .qodef-grid.qodef-layout--columns.qodef-col-num--2 > .qodef-grid-inner > .qodef-grid-item:nth-child(1) {
        width: 60%;
        margin-bottom: 25px;
    }

}