body, .bg-dark, .navbar-dark {
    background-color: #222222!important;
}

.logo {
    width: 54px;
    margin-left: 20px;
}

.error-message {
    font: normal normal 900 13px/22px Montserrat;
    letter-spacing: 2.5px;
    color: #E82918;
    display: none;
}

label {
    color: #E82918;
    margin-left: 8px;
    font: normal normal 800 11px/48px Montserrat;
    text-transform: uppercase;
    opacity: 1;
    margin-bottom: -20px;
}

html, body, .map-row, #propertyMap {
    margin: 0;
    padding: 0;
    height: 96%;
}

.card-content {
    background-color: #FFFFFF;
    border: 1px solid #FFFFFF;
    opacity: 1;
    height: 214px;
}

/* width */
::-webkit-scrollbar {
    width: 4px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #7C7C7C;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #f1f1f1;
}

.text-info {
    font: normal normal bold 13px/42px Montserrat;
    letter-spacing: 3.25px!important;
    color: #FAFAFA!important;
    text-transform: uppercase;
    margin-left: 7px;
    margin-top: -10px;
    opacity: 1;
}

.card-content {
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.card-content .title {
    position: absolute;
    text-transform: uppercase;
    bottom: 25px;
    color: white;
    text-align: center;
    font: normal normal 800 11px/48px Montserrat;
    margin-bottom: -30px;
}

.card-content .title p {
    font: normal normal bold 11px/42px Montserrat;
    letter-spacing: 3.25px!important;
    margin-top: -18px;
}

.map-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    color: white;
    text-align: center;
    padding-bottom: 20px;
    padding-left: 50px;
}

.map-footer .row div {
    padding-bottom: 10px;
    padding-top: 10px;
    color: grey;
}

.active-btn {
    color: white!important;
}

.btn {
    border-radius: 0px!important;
}

#propertyListSection {
    display: none;
}

#searchPropertiesInput {
    width: 93%;
    padding: 10px;
    margin: 5px;
    margin-left: 23px;
    color: white;
}

.subtitle {
    text-align: left;
    font: normal normal 900 13px/48px Montserrat;
    letter-spacing: 6.5px;
    color: #E82918;
    text-transform: uppercase;
    opacity: 1;
}

body {
    background: lightblue url('../../img/mask-group-12.png') no-repeat fixed bottom;
    background-position: right -160%;
}

#propertyFilterBtn img {
    margin-top: 11px!important;
    margin-left: -30px;
}

#searchPropertyBtn {
    float: right;
    margin-top: 10px;
    margin-right: 35px;
}

#propertyInfo {
    margin-top: -20px;
    margin-left: 16px;
}

#searchPropertiesInput {
    background-color: #222222;
    border: 1px solid #707070
}

.property-flag {
    color: white;
    background-color: #7c7c7c;
    padding: 0 5px 0 5px;
    margin-left: 12px;
    min-width: 60px;
    text-align: center;
}

/*#mapSection {*/
/*    background: url("../../img/map-background.png");*/
/*    background-repeat: no-repeat;*/
/*    background-size: cover;*/
/*    position: relative;*/
/*}*/

.irs-line {
    margin-top: 10px;
}

.irs--flat .irs-from, .irs--flat .irs-to, .irs--flat .irs-single, .irs--flat .irs-bar {
    background-color: #E82918!important;
}

.offcanvas {
    background-color: #242424!important;
    color: #6A6A6A!important;
}

.realize-btn {
    width: 236px;
    height: 68px;
    /* UI Properties */
    background: #E82918 0% 0% no-repeat padding-box;

    font: normal normal normal 17px/42px Montserrat;
    letter-spacing: 4.25px;
    color: #FFFFFF;
    text-transform: uppercase;
    opacity: 1;
}

.offcanvas-body li a {
    font: normal normal normal 17px/42px Montserrat;
    letter-spacing: 4.25px;
    color: #FFFFFF;
    text-transform: uppercase;
}

.nav-link.active {
    background: transparent url(../../img/page-active.svg) left center no-repeat;
    background-size: 200px 350px;
    background-position: -12px;
}

.nav-link:hover {
    color: #FFFFFF;
}

footer {
    color: #7C7C7C;
    padding: 5%;
    padding-bottom: 0px;
    /*padding-right: 5px;*/
    height: 380px;

    background: #262626 url(../../img/footer-background.svg) right bottom no-repeat;
    /*background-size: 400px 550px;*/
    /*background-position: 5px;*/
}

footer .title {
    padding: 0;
    margin: 0;
    color: #e82918;
    font-family: "Montserrat", Sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 26px;
    letter-spacing: 5.5px;
    word-spacing: 7px;
    writing-mode: inherit;
    transform: rotate(0deg);
}

footer a {
    font-family: "Montserrat", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 36px;
    writing-mode: inherit;
    text-indent: 0px;
    background-color: transparent;
    box-sizing: border-box;
    box-shadow: none;
    text-decoration: none;
    color: unset;
}

footer ul {
    list-style-type: none;
    padding-left: 0px;
}

footer p {
    color: #FFFFFF75;
    font-family: "Montserrat", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    writing-mode: inherit;
    margin-bottom: .9rem;
    box-sizing: border-box;
    max-width: 550px;
    margin-top: 15px;
}

footer .logo {
    width: 100px;
    margin-left: 0px;
}

.realize-btn {
    padding-top: 12px;
}

.small-info {
    color: #FFFFFF;
    opacity: 0.5;
}

a:hover, button:hover, .realize-btn:hover {
    color: #FFFFFF!important;
    border: 0;
    border-top: 1px solid!important;
    border-bottom: 1px solid!important;
}

.realize-btn:hover, .send-inquiry:hover, .home-btn:hover, #submitLoanForm:hover {
    background: transparent!important;
}

.without-hover {
    border: 0!important;
}

.without-hover:hover {
    border: 0!important;
}

.navbar-nav a:hover {
    color: #FFFFFF!important;
}

li a:hover {
    border: 0!important;
}

@media only screen and (min-width: 920px) {
    body {
        background-position: right 160%;
    }

    .logo {
        width: 80px;
        margin-left: 140px;
    }

    #propertyListSection {
        display: block;
    }

    #propertyInfo {
        margin-left: 0px;
    }

    #searchPropertyBtn {
        margin-right: 15px;
    }

    #searchPropertiesInput {
        margin-left: 6px;
        width: 106.5%;
    }

    .nav-link.active {
        background-size: 140px 390px;
        background-position: -5px;
    }
}

@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
    }
    .modal-content {
        max-height: calc(100vh - 1rem);
        overflow-y: auto;
    }
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-item {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center center;
    opacity: 0;
}

.lightbox.show .lightbox-content {
    opacity: 1;
}

.controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.prev, .next {
    color: white;
    font-size: 30px;
    cursor: pointer;
    user-select: none;
    padding: 10px;
    transition: opacity 0.3s ease;
}

.zoom-in, .zoom-out, .close {
    position: fixed;
    top: 20px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    padding: 10px;
    z-index: 20;
}

.zoom-in {
    left: 20px;
}

.zoom-out {
    left: 60px;
}

.close {
    right: 20px;
    font-size: 40px;
}
