/*
Theme Name: Antiquario
Template: hello-elementor
Version: 1.0.0
Text Domain: antiquario
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/ 

/* FONTS */
/*@font-face {
  src: url(https://www.fondantico.it/wp-content/themes/fondantico/fonts/eb-garamond-v27/eb-garamond-v27-regular.woff2) format('woff2');
  font-family: "EB Garamond Regular", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
@font-face {
  src: url(https://www.fondantico.it/wp-content/themes/fondantico/fonts/eb-garamond-v27/eb-garamond-v27-800.woff2) format('woff2');
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: "Inter", Sans-serif;
  src: url(https://www.fondantico.it/wp-content/themes/fondantico/fonts/inter-v18/inter-v18-regular.woff2) 	format('woff2');
  font-weight: 400;
  font-style: normal;
}*/

/* KEYFRAMES ANIMATIONS */
@keyframes moveupdown {
  0%   {top: 75vh;}
  100%  {top: 76vh;}
}

/* GLOBAL VARIABLES */
 :root {
  --main-color: #18322D;
  --main-color-light: #29574E;  
  --primary-text-color: #637381;
  --secondary-text-color: #A3A3A3;
  --light-gray-color: #EEEEEE;
}
html,
body {
	overflow-x: hidden;
}
p {
  font-family: 'Inter', Sans-serif!important;
  font-size: 18px;
  font-stretch: normal;
}
h1,
h2,
h3,
h4,
h5,
h6,
a.elementor-button,
.hfe-menu-item,
footer a,
a.elementskit-btn,
.read-more {
  font-family: 'EB Garamond Regular', serif!important;
}
h1,
h2 {
  color: var(--main-color);
}
h6 {
  text-transform: uppercase;
}
.elementskit-navbar-nav-default .elementskit-navbar-nav > li > a {
  font-family: 'EB Garamond Regular', serif;
  text-transform: uppercase!important;
  font-size: 17px!important;
  font-weight: 400!important;
}
.elementskit-navbar-nav-default .elementskit-navbar-nav > li:last-child > a {
  text-transform: none!important;
}
.garamond-font * {
  font-family: 'EB Garamond Regular', serif!important;
}
.tmp-hidden {
  opacity: 0;
}

header.entry-header .entry-title {
  color: var(--main-color);
}
#scrollDownArrow {
  animation: moveupdown 1s ease-in infinite alternate;
  position: absolute;
  left: 50%;
  bottom: 300px;
}
.link-light a {
  color: #ffffff;
}
.link-light a:hover {
  text-decoration: underline!important;
}

/* MENU */
.ekit-menu-nav-link {
  padding-bottom: 5px!important;
}
/* Sticky menu */
#my-main-header {
  position: absolute;
  top: 0;
  left: 0;
}
@media screen and (min-width: 1367px) {
  #page > div.elementor {
    padding-top: 0px!important;
  }
}

#masthead.hfe-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  animation: slide-down 0.8s;
}
@keyframes slide-down {
    0% {
        transform: translateY(-100%);
    } 
    100% {
        transform: translateY(0);
    } 
}  
@media( max-width: 767px ){
  #masthead.hfe-sticky{
    top: 0;
  }
}
/* Sticky menu */

/* Lang menu */
/*#lang-menu li#menu-item-219-it,
#lang-menu li#menu-item-219-en {
  display: flex;
  justify-content: center;
}
#lang-menu li#menu-item-219-it a,
#lang-menu li#menu-item-219-en a,
#lang-menu li#menu-item-219-it.current-lang a,
#lang-menu li#menu-item-219-en.current-lang a {
  width: 46px;
  justify-content: center;
  border: 1px solid var(--main-color);
}
#lang-menu li#menu-item-219-it.current-lang a,
#lang-menu li#menu-item-219-en.current-lang a {
  color: #ffffff;
  background-color: var(--main-color);
}*/

/* HERO */
div#n2-ss-2 .n2-style-785355f374be86c332d4665aae819858-dot.n2-active,
div#n2-ss-2 .n2-style-785355f374be86c332d4665aae819858-dot:hover,
div#n2-ss-2 .n2-style-785355f374be86c332d4665aae819858-dot:focus,
div#n2-ss-3 .n2-style-785355f374be86c332d4665aae819858-dot.n2-active,
div#n2-ss-3 .n2-style-785355f374be86c332d4665aae819858-dot:hover,
div#n2-ss-3 .n2-style-785355f374be86c332d4665aae819858-dot:focus {
 background-color: var(--main-color)!important;
}
div#n2-ss-2 .n2-style-785355f374be86c332d4665aae819858-dot {
  background-color: rgba(255, 255, 255, .3)!important;
}

/* FOOTER */
footer {
  color: #ffffff;
}
#copyright p {
	font-size: .85rem;
}

/* HOME */
/* Recent news top block */
#recentNewsBlock {
background-color: var(--secondary-text-color);
}
#recentNewsBlock .elementskit-blog-block-post {
  background-color: var(--light-gray-color);
}
#recentNewsBlock img {
  height: 400px;
  object-fit: cover;
  opacity: 1;
}
#recentNewsBlock .order-1 {
  max-width: 400px;
}
.elementor-8 .elementor-element.elementor-element-1b9ec43#recentNewsBlock .elementskit-blog-block-post > .row {
  justify-content: center;
}
.eael-entry-wrapper:first-child {
  padding-left: 0;
}
.eael-post-elements-readmore-btn {
  width: 200px;
}
.posts-list h2.entry-title {
  border-bottom: 1px solid var(--light-gray-color);
  padding-bottom: .5rem;
}
.posts-list .ekit-wid-con .elementskit-post-image-card .post-meta-list {
  margin-bottom: -.5rem;
}
.posts-list img {
  filter: grayscale(1);
}
.posts-list .ekit-wid-con .elementskit-post-image-card:hover .elementskit-entry-thumb>img {
  filter: grayscale(0);
  transform: none;
  opacity: 1;
  transition: 0.4s;
}
.page-id-8 #homePostsList img {
  height: 180px!important;
  object-fit: cover;
  object-position: center;
}

/* SINGLE OPERA PAGE */
.ss-inline-share-wrapper.ss-right-inline-content.ss-small-icons.ss-with-spacing.ss-rectangle-icons {
  width: 80%;
  margin: 3rem auto 0 auto;
}
.ss-inline-share-wrapper.ss-right-inline-content.ss-small-icons.ss-with-spacing.ss-rectangle-icons .ss-facebook-color,
#ss-floating-bar .ss-facebook-color {
  background-color: var(--main-color);
}
.more-images-gallery a.bdt-gallery-item-link {
  text-decoration: none;
}

/* Post navigation */
.ha-post-navigator__separator-wrapper {
  margin: 0 10px;
}

/* 404 Page | Search Page*/
.error404 #my-main-header,
.search #my-main-header {
  position: relative!important;
  top: 0;
  left: 0;
}
.error404 main#content,
.search main#content {
  margin: 6rem auto;
  min-height: 30vh;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.search article {
  border-top: 1px solid #eeeeee;
  margin-top: 2rem;
}
.search article:first-child {
  margin-top: 0;
}
.error404 main#content a,
.search main#content a {
  color: var(--main-color);
}

/* Notable sales page */
.bdt-lightbox {
  background: rgba(0, 0, 0, .5);
}

@media screen and (max-width: 1024px) {
  .posts-list img {
    filter: none;
  }
  div#ss-floating-bar {
    display: none;
  }
  .ss-inline-share-wrapper.ss-right-inline-content.ss-small-icons.ss-with-spacing.ss-rectangle-icons {
    width: 90%;
    text-align: center;
  }
  .error404 main#content {
    width: 90%;
  }
}

.postid-1973 header {
  visibility: hidden;
}

/* Notable Sales Gallery */
.gallery-icon img, {
  width: 100%;
}
@media (min-width: 1024px) {
  #gallery-1 {
    column-count: 3;
    column-gap: 10px;
    row-gap: 10px;
  }
}
@media (min-width:540px) and (max-width:1024px) {
  #gallery-1 {
    column-count: 2;
    column-gap: 10px;
    row-gap: 10px;    
  }  
}
@media (max-width:540px) {
  #gallery-1 {
    column-count: 1;
    column-gap: 0px;
    row-gap: 10px;
  }  
}

/* Pubblications gallery */
/*.exad-gallery-items .exad-gallery-image {
  padding-bottom: 320px;
}
.elementor-124 .elementor-element.elementor-element-eca13c2 .exad-gallery-image .exad-gallery-thumbnail-holder {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.exad-gallery-items .exad-gallery-image {
  background-color: transparent;
}*/

/* Search results page */
.pagination {
  gap: 20px;
  text-transform: lowercase;
}
