/********** Template CSS **********/


.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.bg-primary{
    color: #008cce !important;
    background-color: #008cce !important;
}

/* Contact */

@media (min-width: 1400px) {
    .contact-text{
        width: auto;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }   
}

@media (max-width: 992px) {
    .contact-text p {
        width: 120%;
        margin: 0 auto;
        text-align: left;
    }
}
@media (min-width: 768px) {
    .foto-contact{
        margin-right: 50px;
    }
}
@media (max-width: 768px) {
    .foto-contact{
        margin-bottom: 50px;
    }
    .foto-contact img {
        padding: 12%;
    }
}

/* Individual Listing start */

.carousel-inner{
    border-radius: 40px;
}

.bg-listing{
    padding: 25px;
    border-radius: 40px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .15);
}

.listing-info-base{
    padding: 5px;
    margin-top: 15px;
}

.bg-listing.detailed{
    margin-top: 25px;
}

/* Individual Listing End */

.text-primary{
    color: #008cce !important;
}

/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
    background-color: #008cce;
    border-color: #008cce;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 50px;
    border-color: #008cce;
    background-color:#008cce;
    color: #FFFFFF
}


/*** Navbar ***/

/* Nový */

.navbar {
    display: flex;
    align-items: flex-end; /* Align items to the bottom */
    padding: 1px 0;
    box-shadow: 0 0 30px rgba(0, 0, 0, .2);
    justify-content: space-between !important;
}

.d-flex.align-items-center {
    display: flex;
    align-items: flex-end; /* Align logo with the links */
}

.phone-number {
    position: absolute;
    top: 10px; 
    right: 55px; 
    font-size: 20px;
    color: #0a436c;
    font-weight: bold;
}

.navbar-nav .nav-link {
    color: #0a436c;
    font-size: 35px;
    font-weight: bold;
    margin-right: 50px;
    margin-top: 65px;
}

.navbar-nav .nav-link:hover {
color: #008cce;
}
  
.navbar-nav .nav-link.active {
color: #008cce;
}

.menu-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

.nav-foto {
    width: 50%; 
    height: auto;
    margin: 10px;
}

@media only screen and (max-width: 440px){
    .menu-icon {
        display: block;
        margin-left: 35px;
    }
    .navbar-nav{
        display: none;
    }

    .phone-number {
        display: none;
    }

    .navbar-nav.show{
        display: flex;
    }
    .nav-foto {
        width: 70%; 
        height: auto;
        margin: 10px;
    }
    .navbar-nav .nav-link {
        color: #0a436c;
        font-size: 35px;
        font-weight: bold;
        margin-right: 0px;
        margin-top: 0px;
    }
    
}

@media only screen and (max-width: 820px) and (min-width:640px){
    .phone-number {
        display: block !important;
    }

}

@media only screen and (max-width: 820px) and (min-width:441px){
    .menu-icon {
        display: block;
        margin-left: 35px;
    }
    .navbar-nav{
        display: none;
    }

    .phone-number {
        display: none;
    }

    .navbar-nav.show{
        display: flex;
    }
    .nav-foto {
        width: 60%; 
        height: auto;
        margin: 10px;
    }

    .navbar-nav .nav-link {
        color: #0a436c;
        font-size: 35px;
        font-weight: bold;
        margin-right: 0px;
        margin-top: 0px;
    }
    
}
@media only screen and (max-width: 1000px) and (min-width:821px){
    .menu-icon {
        display: block;
        margin-left: 35px;
    }
    .navbar-nav{
        display: none;
    }

    .navbar-nav.show{
        display: flex;
    }
    .nav-foto {
        width: 45%; 
        height: auto;
        margin: 10px;
    }

    .navbar-nav .nav-link {
        color: #0a436c;
        font-size: 35px;
        font-weight: bold;
        margin-right: 0px;
        margin-top: 0px;
    }
    
}
@media only screen and (max-width: 1200px) and (min-width:1001px){
    .navbar-nav .nav-link {
        color: #0a436c;
        font-size: 28px;
        font-weight: bold;
    }
    .nav-foto {
        width: 80%; 
        height: auto;
        margin: 10px;
    }
}
@media only screen and (max-width: 1600px) and (min-width:1201px){
    .navbar-nav .nav-link {
        color: #0a436c;
        font-size: 28px;
        font-weight: bold;
    }
    .nav-foto {
        width: 60%; 
        height: auto;
        margin: 10px;
    }
}

/*** Icon ***/
.icon {
    padding: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF !important;
    border-radius: 50px;
    border: 1px dashed var(--primary) !important;
}


/* About*/
.about-header-1{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.about-header-1 .foto-about-1 img {
    max-width: 100%; 
    height: auto;
    padding: 15%;
}   

.about-header-2{
    display: flex; 
    align-items: center;
    align-content: flex-start;
    justify-content: space-between;
}

.about-header-2 .foto-about-2 img{
    max-width: 100%;
    height: auto;
    padding: 10%;
}
@media only screen and (max-width: 768px) {
    .about-header-1 {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .about-header-2 {
        display: flex !important;
        flex-direction: column-reverse !important;
        align-items: center !important;
        text-align: center !important;
    }
}



/*** Property List ***/

.property-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .15);
    border-radius: 20px !important;
}

.property-item img {
    transition: .5s;
}

.property-item:hover img {
    transform: scale(1.1);
}

.property-item .border-top {
    border-top: 1px dashed rgba(0, 185, 142, .3) !important;
}

.property-item .border-end {
    border-right: 10px dashed rgba(0, 185, 142, .3) !important;
}

.d-block.h5.mb-2:hover {
    color: #008cce;
}


/* Search */

.filter{
    margin-right: 20px !important;
    padding: 0px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-button {
    background-color: #f1f1f1;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0px 2px 16px rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 20px;
    margin-top: 5px;
    z-index: 1;
}

.dropdown-content label {
    display: block;
    margin-bottom: 8px;
}

@media only screen and (max-width: 440px){
    .col-auto.filter{
        margin-right: 200px !important;
        padding-left: 15px;
    }
}

/* Contact Info */

.col-5.base-info{
    border: 2px dashed #008cce;
    background-color:#f1f1f1;
    margin-right: 15px;
}

.contact-row {
    gap: 0 !important; 
    margin: 0 !important; 
    align-items: center !important;
}

.contact-col {
    padding: 0 !important;
}
.contact-row, .contact-col {
    border: 1px solid red;
}

/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}