/*--------------------------------------------------------------

    Template:  Sheltek Real Estate HTML5 Template
    Author: http://devitems.com/
    Version: 1
    Design and Developed by: http://devitems.com/

Note: This is the file where you can add your custom styles to change the look of the theme. But don't modify "style.css" file.

---------------------------------------------------------------*/

/* ----------------------------------------------------
	You can put your custom css code here:
-------------------------------------------------------*/

.next-auction-banner {
    background: #FBDD40;
    padding: 5em 0 3em;
    color: white;
}

.next-auction-banner h2, .next-auction-banner h4, .next-auction-banner p {
    color: white;
}

.auction-notice p {
    font-size: 1.3em;
}

.auction-listings .flat-desc {
    min-height: 250px;
    padding-left: 10px;
    padding-right: 10px;
}

.auction-listings .flat-desc h6 {
    color: white;
}

.auction-listings .flat-desc h4 {
    color: white;
    font-size: 1.5em;
    font-weight: bold;
}

.auction-listings .flat-desc .button-1 {
    font-size: 0.8em;
}

.auction-listings .flat-link {
    top: 30%;
}

.auction-information p {
    font-size: 1.15em;
    line-height: 1.8em;
}

.eventable-button {
    background: inherit !important;
    border: 0 !important;

}
/*15-12-20*/
.wrapper { overflow: hidden; }
.flat-desc .button-1:nth-child(1) { margin-bottom: 5px; }

.carousel-indicators {
    bottom: -10px !important;
}

.header-ribbon {
    background: black;
    padding: 15px 0;
    font-size: 1em;
    font-weight: bold;
}

.header-ribbon .fluid-container {
    padding-left: 114px;
    padding-right: 70px;
}

.header-ribbon a {
    color: white;
    margin-right: 60px;
}

.header-ribbon a:hover {
    color: #f1c40f;
}

.auction-forthcoming {
    padding: 30px 0 0 0 !important;
    text-align: center;
}

.next-auction-banner {
    position: relative;
}

.next-auction-banner .lock-image {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 20%;
    background-image: url("/images/shape_header.png");
    background-size: cover;
}

.auction-forthcoming h2 {
    color: black;
    margin-bottom: 0.6em;
}

.auction-forthcoming p {
    color: black;
    font-size: 1.5em;
    line-height: 1.8em;
}

.auction-forthcoming-date {
    background: white;
    padding: 1em;
    text-align: center;
    font-size: 1.5em;
    color: black;
    font-weight: bold;
    margin-bottom: 1.2em;
    text-transform: uppercase;
}

.auction-forthcoming-buttonbar {
    margin-top: 1.2em;
    margin-bottom: 2em;
    display: flex;
    justify-content: space-between;
}

.auction-forthcoming-buttonbar .custom_button_htm {
    width: auto;
    padding-left: 2.4em;
    padding-right: 2.4em;
    display: inline-block;
    margin: 0 auto;
}

.auction-panel {
    margin: 0 auto;
}

.auction-panel img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.blogs-featured-post {
    margin-top: 40px !important;
}

@media(min-width: 1333px) {
    .auction-panel {
        width: 1200px !important;
    }
}

@media(max-width: 1332px) {
    .next-auction-banner .lock-image {
        display: none;
    }

    .auction-panel {
        max-width: 1000px !important;
    }
}

@media(max-width: 821px) {
    .header-ribbon {
        display: none;
    }

    .header-ribbon a {
        margin-right: 30px;
    }

    .responsive_menu_open .menu_items_top>.item_menu_header{
        font-size:1em !important;
    }

    .find-home-area {
        margin: 0;
        padding: 30px 0 0 0;
    }

    .find-home-area .find-homes {
        padding: 0;
    }

    .auction-panel {
        width: 100%;
    }

    .auction-panel p {
        line-height: 1.3em;
        text-align: left !important;
    }

    .auction-panel-content {
        padding: 30px;
        text-align: left !important;
    }

    .auction-useful-links {
        margin-bottom: 1.2em;
    }

    .next-auction-banner {
        padding: 0;
    }

    .auction-forthcoming {
        padding-top: 0;
    }

    .auction-forthcoming-date {
        background: white;
        padding: 1em;
        text-align: center;
        font-size: 1.2em;
        color: black;
        font-weight: bold;
        margin-bottom: 1.2em;
        text-transform: uppercase;
    }

    .auction-forthcoming h2 {
        color: black;
        font-size: 1.6em;
        margin-bottom: 0.6em;
    }

    .auction-forthcoming p {
        color: black;
        font-size: 1.1em;
        line-height: 1.4em;
    }

    .auction-forthcoming-buttonbar {
        margin-top: 1.2em;
        margin-bottom: 2em;
        display: flex;
        justify-content: space-between;
    }

    .auction-forthcoming-buttonbar {
        margin-top: 1.2em;
        margin-bottom: 2em;
        display: block;
        line-height: 4em;
    }

    .auction-forthcoming-buttonbar .custom_button_htm {
        width: 100%;
        display: block !important;
        padding: 0;
        margin: 0 auto 4px;
    }

    .blog-item {
        margin-top: 10px !important;
        margin-bottom: 20px !important;
    }
}

@media(min-width: 822px) {
    .find-homes {
        margin-top: 50px;
    }

    .auction-panel {
        width:70%;
        padding-left: 60px;
        padding-right: 60px;
    }

    .auction-panel p {
        line-height: 1.7em;
    }

    .blogs-featured-post {
        margin-top: 100px !important;
    }
}

@media(max-width: 821px) {
    .find-home-area {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .find-home-area .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .find-home-area .container,
    .find-home-area.bg-black .container {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .find-home-area .find-homes {
        width: 100% !important;
        margin: 0 !important;
    }
    
    .find-home-area .find-homes .search-fields {
        display: block !important;
        width: 100% !important;
        margin-bottom: 4px !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        float: none !important;
    }

    .find-home-area .find-homes .search-fields:not(:last-child) {
        margin-bottom: 4px !important;
    }
    
    .find-home-area .find-homes .search-fields .find-home-item {
        width: 100% !important;
        margin-bottom: 0 !important;
    }
    
    .find-home-area .find-homes .search-fields input,
    .find-home-area .find-homes .search-fields select,
    .find-home-area .find-homes .search-fields .selectpicker,
    .find-home-area .find-homes .search-fields .dropdown-toggle,
    .find-home-area .find-homes .search-fields .bootstrap-select,
    .find-home-area .find-homes .search-fields .bootstrap-select > .dropdown-toggle {
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }
    
    .find-home-area .find-homes .search-fields .bootstrap-select {
        display: block !important;
        width: 100% !important;
    }
    
    .find-home-area .find-homes > div[style*="width:fit-content"],
    .find-home-area .find-homes > div[style*="margin: 0 auto"] {
        width: 100% !important;
        margin: 0 !important;
        display: block !important;
    }
    
    .find-home-area .find-homes .search-fields input[type="text"],
    .find-home-area .find-homes .search-fields .bootstrap-select > .dropdown-toggle {
        margin: 4px 0 !important;
        box-sizing: border-box !important;
    }

    .find-home-area .find-homes .search-fields input,
    .find-home-area .find-homes .search-fields .bootstrap-select {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .search-fields .search-button-mobile,
    .search-fields .button-1 {
        width: 100% !important;
        float: none !important;
        display: block !important;
        margin: 12px 0 20px 0 !important;
        box-sizing: border-box;
    }
}

/* ===== Auctions page (Figma redesign) ===== */
.auctions-hero {
    background: #FBDD40;
    padding: 130px 0 70px 0;
    color: #000;
    text-align: center;
}
.auctions-hero__title {
    color: #000;
    font-weight: bold;
    margin-bottom: 25px;
    letter-spacing: 0.02em;
}
.auctions-hero__subtitle {
    color: #000;
    margin-bottom: 12px;
    font-size: 1.05em;
}
.auctions-hero__date {
    color: #000;
    font-weight: bold;
    font-size: 1.3em;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 40px;
}
.auctions-hero__details {
    margin-bottom: 40px;
}
.auctions-hero__detail {
    padding: 0 20px;
}
.auctions-hero__icon {
    font-size: 48px;
    color: #000;
    margin-bottom: 18px;
}
.auctions-hero__detail-text {
    color: #000;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.auctions-hero__buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 20px;
}
.auctions-btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 12px 36px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s;
}
.auctions-btn:hover, .auctions-btn:focus {
    background: #000;
    color: #fff;
    opacity: 0.85;
    text-decoration: none;
}
.auctions-hero__button-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 20px;
}
.auctions-hero__button-grid .auctions-btn {
    padding: 16px 20px;
    text-align: center;
    width: 100%;
}

.auctions-bidding {
    background: #000;
    color: #fff;
    padding: 70px 0;
}
.auctions-bidding__col {
    padding: 0 30px;
}
.auctions-bidding__icon {
    font-size: 54px;
    color: #FBDD40;
    margin-bottom: 20px;
}
.auctions-bidding__title {
    color: #FBDD40;
    font-weight: bold;
    font-size: 1.2em;
    text-transform: uppercase;
    margin-bottom: 14px;
    letter-spacing: 0.05em;
}
.auctions-bidding p {
    color: #fff;
    line-height: 1.5em;
    font-size: 0.95em;
    max-width: 320px;
    margin: 0 auto;
}

.auctions-about {
    background: #fff;
    padding: 80px 0;
}
.auctions-about__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.auctions-about__title {
    font-weight: bold;
    font-size: 1.4em;
    margin-bottom: 24px;
    line-height: 1.3em;
}
.auctions-about__text p {
    line-height: 1.55em;
    margin-bottom: 14px;
    font-size: 0.95em;
}
.auctions-about__text a {
    color: #000;
}
.auctions-about__text a:hover,
.auctions-about__text a:focus {
    color: #000;
}
.auctions-about__image img {
    width: 100%;
    height: auto;
    display: block;
}

.auctions-rules {
    background: #000;
}
.auctions-rules__row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}
.auctions-rules__image {
    background-size: cover;
    background-position: center;
    min-height: 400px;
}
.auctions-rules__content {
    padding: 60px 50px;
    color: #fff;
}
.auctions-rules__title {
    color: #FBDD40;
    font-weight: bold;
    font-size: 1.1em;
    text-transform: uppercase;
    margin-bottom: 22px;
    line-height: 1.4em;
}
.auctions-rules__content p {
    color: #fff;
    line-height: 1.55em;
    margin-bottom: 16px;
    font-size: 0.95em;
}

.auctions-links {
    background: #fff;
    padding: 60px 40px;
}
.auctions-links__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.auctions-links__card {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    background-color: #2a2a2a;
    text-decoration: none;
    overflow: hidden;
}
.auctions-links__card:hover,
.auctions-links__card:focus {
    text-decoration: none;
}
.auctions-links__cover {
    position: absolute;
    inset: 0;
    z-index: 1;
    text-indent: -9999px;
}
.auctions-links__card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
    transition: background 0.3s ease;
}
.auctions-links__card:hover::before,
.auctions-links__card:focus::before {
    background: rgba(0, 0, 0, 0);
}
.auctions-links__card--overlay::before {
    background: rgba(0, 0, 0, 0.6);
}
.auctions-links__card--overlay:hover::before,
.auctions-links__card--overlay:focus::before {
    background: rgba(0, 0, 0, 0);
}
.auctions-links__card:hover .auctions-links__label,
.auctions-links__card:focus .auctions-links__label {
    background: #FBDD40;
}
.auctions-links__card:hover .auctions-links__overlay-text,
.auctions-links__card:focus .auctions-links__overlay-text {
    opacity: 0;
}
.auctions-links__overlay-text {
    transition: opacity 0.3s ease;
}
.auctions-links__overlay-text {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: calc(8% + 68px + 20px);
    max-height: calc(100% - 8% - 68px - 20px - 8%);
    z-index: 2;
    text-align: left;
    color: #fff;
    font-size: 15.4px;
    line-height: 1.2em;
    overflow: hidden;
    pointer-events: none;
}
.auctions-links__overlay-text a {
    pointer-events: auto;
}
.auctions-links__overlay-text * {
    color: #fff !important;
    font-size: 15.4px !important;
    line-height: 1.2em !important;
    display: inline !important;
    position: static !important;
    margin: 0 !important;
}
.auctions-links__overlay-text br {
    display: inline !important;
}
.auctions-links__overlay-text a {
    color: #FBDD40 !important;
    font-weight: bold;
    text-decoration: none;
}
.auctions-links__label {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 8%;
    z-index: 2;
    display: block;
    background: #fff;
    color: #000;
    font-weight: bold;
    text-align: center;
    padding: 14px 14px;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease;
}

@media (max-width: 1199px) {
    .auctions-links__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.auctions-catalogue {
    background: #000;
    padding: 60px 0;
    text-align: center;
}
.auctions-catalogue__title {
    color: #FBDD40;
    font-weight: bold;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
}
.auctions-catalogue__form {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
    gap: 12px;
}
.auctions-catalogue__input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    background: #fff;
    color: #000;
    font-size: 1em;
}
.auctions-catalogue__submit {
    background: #FBDD40;
    color: #000;
    border: none;
    padding: 14px 36px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
}
.auctions-catalogue__submit:hover {
    opacity: 0.85;
}

@media (max-width: 991px) {
    .auctions-rules__image {
        min-height: 280px;
    }
    .auctions-rules__content {
        padding: 40px 30px;
    }
    .auctions-about {
        padding: 50px 0;
    }
    .auctions-about__image {
        margin-top: 30px;
    }
}

@media (max-width: 991px) {
    .auctions-hero {
        padding: 80px 0 50px 0;
    }
}

@media (max-width: 767px) {
    .auctions-hero {
        padding: 60px 15px 40px 15px;
    }
    .auctions-hero__detail {
        margin-bottom: 30px;
    }
    .auctions-hero__buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .auctions-btn {
        display: block;
    }
    .auctions-hero__button-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .auctions-bidding {
        padding: 50px 0;
    }
    .auctions-bidding__col {
        margin-bottom: 40px;
    }
    .auctions-catalogue__form {
        flex-direction: column;
    }
    .auctions-links {
        padding: 40px 15px;
    }
    .auctions-links__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* ========================================================================
   Mobile hamburger menu
   ======================================================================== */

.mobile-menu-trigger {
    display: none;
    position: relative;
    width: 34px;
    height: 28px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
    float: right;
    z-index: 9999;
}

.mobile-menu-trigger span {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease, background .25s ease;
}

.mobile-menu-trigger span:nth-child(1) { top: 0; }
.mobile-menu-trigger span:nth-child(2) { top: 12px; }
.mobile-menu-trigger span:nth-child(3) { top: 24px; }

.mobile-menu-trigger--light span { background: #fff; }

@media (max-width: 991px) {
    .mobile-menu-trigger { display: inline-block; }
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('/web/images/hamburger-background.jpg') center/cover no-repeat;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform .3s ease-in-out, visibility .3s;
    visibility: hidden;
    overflow: hidden;
}

body.responsive_menu_open { overflow: hidden; }

body.responsive_menu_open .mobile-menu {
    transform: translateX(0);
    visibility: visible;
}

.mobile-menu__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px 25px 25px;
    flex-shrink: 0;
}

.mobile-menu__logo img {
    height: 100px;
    width: auto;
    display: block;
}

.mobile-menu__close {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    padding: 8px 10px;
    cursor: pointer;
}

.mobile-menu__close:hover { color: #fbdd40; }

.mobile-menu__nav {
    flex: 1;
    overflow-y: auto;
    padding: 10px 25px 20px;
}

.mobile-menu__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu__list li {
    margin: 0 0 22px;
}

.mobile-menu__list a {
    color: #fff;
    font-size: 22px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: .02em;
    line-height: 1.1;
    display: inline-block;
}

.mobile-menu__list a:hover,
.mobile-menu__list a.is-active {
    color: #fbdd40;
}

.mobile-menu__footer {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.mobile-menu__social {
    display: flex;
    gap: 20px;
    padding: 20px 25px;
}

.mobile-menu__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease;
}

.mobile-menu__social a:hover {
    color: #fbdd40;
}

.mobile-menu__cta {
    display: block;
    flex-shrink: 0;
    text-align: center;
    background: #fbdd40;
    color: #1d1d1b;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .05em;
    padding: 20px 15px;
    text-decoration: none;
}

.mobile-menu__cta:hover {
    background: #d9bd31;
    color: #1d1d1b;
}
