@font-face {
    font-family: Opens Sans Light;
    src: url('fonts/OpenSauceSans-Light.ttf');
}

.OpensSans {
    font-family: Opens Sans Light !important;
}

@font-face {
    font-family: Anton;
    src: url('fonts/Anton-Regular.ttf');
}

.Anton {
    font-family: Anton !important;
    letter-spacing: 0.5px;
}


@font-face {
    font-family: XM Yekan Regular;
    src: url('fonts/XM\ Yekan\ Regular.ttf');
}

.XMYekan {
    font-family: XM Yekan Regular !important;
}



.invertImage {
    -webkit-filter: invert(100%);
    /* Safari/Chrome */
    filter: invert(100%);
}

.google-maps {
    position: relative;
    padding-bottom: 75%;
    height: 500px;
    overflow: hidden;
}

.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.gallery-item {
    padding: 10px;
}

.gallery-item img {
    max-width: 100%;
    height: auto;
}



hr {
    position: relative;
    border: none;
    height: 1px;
    background: black;
}

section.section {
    background: #e6e5e5;
    border-top: 5px solid #e6e5e5;
    margin: 0px 0;
    padding: 10px 0;
}

.btn-dark {
    font-family: 'Heebo', sans-serif;
    letter-spacing: 1px;
}

.nav-pills>li.active>a,
.nav-pills .nav-link.active {
    background-color: transparent;
    background: transparent !important;
    border-bottom: 3px solid #CCC;
    color: black;
}

ul.nav-pills>li>a.active:hover,
ul.nav-pills>li>a.active:focus {
    color: black;
    background-color: transparent;
}


.custom-btn-style-1 {
    position: relative;
    border-radius: 0;
    left: 5px;
}

.custom-btn-style-1:before {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    bottom: -5px;
    left: -5px;
    border: 1px solid #CCC;
    transition: ease all 300ms;
}

.custom-btn-style-1:hover:before {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.custom-btn-style-1.custom-btn-style-1-right {
    left: auto;
    right: 5px;
}

@media screen and (min-width: 769px) {
    html #header .header-logo.custom-header-logo:before {
        content: '';
        position: absolute;
        bottom: -87px;
        left: 40px;
        width: 130px;
        height: 350px;
        background-color: #383228;
        opacity: 1;
        visibility: visible;
        transform: rotate(45deg);
        transition: ease opacity 300ms, ease transform 300ms;
    }
}



.PageThickLine {
    display: flex;
    position: relative;
    max-width: 100%;
    height: 19px
}

.PageThickLine img {
    width: 100%;
    height: 100%
}


.img__wrapper {
    position: relative;
    overflow: hidden;
}

.img__wrapper img {
    width: 100%;
}

.sold_out {
    top: -170px;
    left: -6em;
    color: #fff;
    display: block;
    position: absolute;
    text-align: center;
    text-decoration: none;
    letter-spacing: .06em;
    background-color: #A00;
    padding: 0.5em 5em 0.4em 5em;
    text-shadow: 0 0 0.75em #444;
    box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.5);
    font: bold 16px/1.2em Arial, Sans-Serif;
    -webkit-text-shadow: 0 0 0.75em #444;
    -webkit-box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.5);
    -webkit-transform: rotate(-45deg) scale(0.75, 1);
    z-index: 10;
}

.sold_out:before {
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    margin: -0.30em -50em;
    transform: scale(0.7);
    -webkit-transform: scale(0.7);
}


.fill {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-height: 350px
}

.fill img {
    flex-shrink: 0;
    min-width: 100%;
    min-height: 100%
}

.img-hover-zoom {
    overflow: hidden;
    /* [1.2] Hide the overflowing of child elements */
}

/* [2] Transition property for smooth transformation of images */

.img-hover-zoom img {
    transition: transform .5s ease;
}

/* [3] Finally, transforming the image when container gets hovered */

.img-hover-zoom:hover img {
    transform: scale(1.5);


}
div.g-recaptcha {
margin: 0 auto;
width: 100%;
max-width: 304px;
}
.post-card { margin-bottom: 2rem; }
.footer { position: relative !important; }
.ThirdNested {
padding-left: 250px !important;
}

.footer {
position: absolute;
/*    bottom: 0;*/
width: 100%;
background-color: #191919;
color: white;
}

nav.Semplicita a {
color: white;
}
.cards-list {
z-index: 0;
width: 100%;
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}

.cards-list .card {
    margin: 30px auto;
    width: 150px;
    height: 150px;
    border-radius: 40px !important;
    box-shadow: 5px 5px 30px 7px rgba(0, 0, 0, 0.25), -5px -5px 30px 7px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    transition: 0.4s;
}

.cards-list .card .card_image {
    width: inherit;
    height: inherit;
    border-radius: 40px;
}

.cards-list .card .card_image a {
    width: inherit;
    height: inherit;
    border-radius: 40px;
    object-fit: cover;
}

.cards-list .card .card_image img {
    width: inherit;
    height: inherit;
    border-radius: 40px;
    object-fit: scale-down;
}

.cards-list .card .card_title {
    text-align: center;
    border-radius: 0px 0px 40px 40px;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 30px;
    margin-top: -80px;
    height: 40px;
}

.cards-list .card:hover {
    transform: scale(0.9, 0.9);
    box-shadow: 5px 5px 30px 15px rgba(0, 0, 0, 0.25),
        -5px -5px 30px 15px rgba(0, 0, 0, 0.22);
}

.title-white {
color: white;
}

.title-black {
color: black;
}

@media all and (max-width: 500px) {
    .cards-list {
        /* On small screens, we are no longer using row direction but column */
        flex-direction: column;
    }
}


/*
.card {
margin: 30px auto;
width: 300px;
height: 300px;
border-radius: 40px;
background-image: url('https://i.redd.it/b3esnz5ra34y.jpg');
background-size: cover;
background-repeat: no-repeat;
background-position: center;
background-repeat: no-repeat;
box-shadow: 5px 5px 30px 7px rgba(0,0,0,0.25), -5px -5px 30px 7px rgba(0,0,0,0.22);
transition: 0.4s;
}
*/


/* Nare Estate Gallery */
#nare-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 1rem;
}

@media (max-width: 767px) {
  #nare-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  #nare-gallery {
    grid-template-columns: 1fr;
  }
}

#nare-gallery img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  cursor: pointer;
}

#nare-gallery a {
  display: block;
}

.pdf-viewer {
    background-color: #f8f9fa;
    min-height: 480px;
    max-height: 80vh;
    padding: 1.5rem 1rem;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}

.pdf-pages {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pdf-pages canvas {
    max-width: 100%;
    height: auto !important;
    margin: 0 auto;
    display: block;
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
    background-color: #fff;
}

.pdf-pages canvas.active {
    box-shadow: 0 0 0 3px rgba(28, 95, 168, 0.35), 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
}

#viewer-controls .btn {
    min-width: 42px;
}

.list-group-item-action.current-issue {
    border-radius: 0.5rem;
}

.list-group-item-action.current-issue.active,
.list-group-item-action.current-issue:hover {
    background-color: #1c5fa8;
    color: #fff;
}

#previous-issues .list-group-item-action.active,
#previous-issues .list-group-item-action:hover {
    background-color: rgba(28, 95, 168, 0.1);
}

@media (max-width: 767.98px) {
    .pdf-viewer {
        min-height: 320px;
        max-height: 70vh;
        padding: 1rem;
    }
}

/* Collapse owl carousel height on small screens */
@media (max-width: 767.98px) {
    .owl-carousel,
    .owl-carousel.owl-carousel-light,
    .owl-carousel .owl-stage-outer {
        height: 0 !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }
}

