@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

body { font-family: "Playfair Display", serif; }
img { max-width: 100%; }
footer a:hover{color:white;}

#navigation .auth{display:none;}
}

h1,h2{text-transform:none;}
.social-links {
    margin-top: 5px;
    text-align: left;
}

.social-links a {
    font-size: 18px;
    color: #333;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    margin-right: 10px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.social-links a:hover {
    background: #f0f0f0;
    color: #d7a776;
}

.logo-name-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: nowrap;
}

.logo-photo {
    height: 40px;
    flex-shrink: 0;
    width: auto;
    
}

.text-block {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-size: 30px;
    line-height: 1.0em;
    color: white;
    text-align: left;
}

.company-info {
    font-size: 25px;
    color: #deb180;
    text-align: left;
    
}

.company-name,
.company-info { white-space: normal; }

.email {
    display: block;
    font-size: 1.3rem;
    color: #eed285;
}


.photo-wrapper { position: relative; display: inline-block; }


.overlay-photo {
    height: auto;
    border-radius: 10%;
    z-index: 2;
}

.responsiveDivider { display: none; }

hr.dark {
    background-image: linear-gradient(
        to right,
        rgba(90,90,90,0),
        rgba(101,101,101,0.8),
        rgba(90,90,90,0)
    );
    border: 0;
    height: 1px;
    margin: 22px 0;
}

/****************** Buttons **********************/
.btn-item { background: #000; padding: 18px; margin: 20px; }
.btn-text { color: #fff; text-align: center; border: dashed #fff 2px; padding: 20px; display: block; text-decoration: none; font-weight: 400; }
.btn-text:hover { color: #fff; background: #151515; }

/****************** Agent Styles **********************/
.profilesWrapper { text-align: center; margin-top: 30px; }
.profilesWrapper .email { display: none; }

.AgentProfile {
    margin: 5px;
    position: relative;
    display: inline-block;
    width: 100%;
    height: 400px;
    overflow: hidden;
    text-align: center;
}

.AgentProfile .photo {
    width: 200px;
    vertical-align: top;
    overflow: hidden;
    display: inline-block;
    clip-path: polygon(5% 0%, 95% 0%, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0% 95%, 0% 5%);
    -webkit-clip-path: polygon(5% 0%, 95% 0%, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0% 95%, 0% 5%);
}

.AgentProfile .info {
    margin: 10px;
    overflow: hidden;
    white-space: inherit;
}

.odd { background: none; }

/****************** searchBlocks **********************/
.searchBlocks { margin: -1px -1px 0 -1px; padding: 0; }
.searchBlocks .end { clear: both; color: transparent; height: 0; overflow: hidden; }

.searchBlock {
    cursor: pointer;
    display: block;
    float: left;
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-top: 30%;
    border: 1px solid #fff;
    box-sizing: border-box;
}

.searchBlock a { text-decoration: none; display: block; }

.searchBlock .photo {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}

.searchBlock .photo img {
    width: 101%;
    min-height: 101%;
    object-fit: cover;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.searchBlock .title {
    position: relative;
    z-index: 2;
    background: rgba(25,25,25,0.8);
    padding: 10px;
    margin-right: 30%;
    white-space: nowrap;
    overflow: hidden;
    transition: all 0.35s;
}

.searchBlock .title .search { color: #cd9155; text-transform: uppercase; margin-bottom: 4px; }
.searchBlock .title .main { color: #fff; font-size: 120%; font-weight: 500; text-transform: uppercase; }

.searchBlock:hover .title { margin-right: 0; background: #000; }

/****************** searchBlockTop **********************/
.searchBlockTop {
    display: block;
    float: left;
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-top: 50%;
    border: 1px solid #fff;
    transition: all 0.5s ease;
    box-sizing: border-box;
}

.searchBlockTop a { display: block; text-decoration: none; }

.searchBlockTop .photo {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}

.searchBlockTop .photo img {
    width: 101%;
    min-height: 101%;
    object-fit: cover;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.searchBlockTop .title {
    position: absolute;
    top: 0; left: 0;
    padding: 10px;
    width: 200px;
    white-space: nowrap;
    overflow: hidden;
    background: rgba(25,25,25,0.8);
    transition: width 0.5s;
    font-size: x-large;
}

.searchBlockTop .title:hover { width: 100%; background: #000; }
.searchBlockTop .titleLogo { float: left; margin-right: 8px; width: 38px; }

.circle-pic img { border-radius: 100px; }
.info-item { font-size: 20px; line-height: 28px; padding-top: 20px; }


/****************Footer************************/
footer{
    margin-top:0px;
    position:relative;
    top:0px !important;
}



/****************** Responsive **********************/
@media (max-width: 767px) {

    .overlay-photo { position: static; display: block; margin: 0 auto; }
    .responsiveInfo { border: none; }
    .divider {
        border-right: none;
        min-height: 0;
      }
}


@media (max-width: 600px) {
    .logo-name-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .text-block { align-items: center; }

    .logo-photo {
        max-width: 80px;
        heigth: auto
    }

    .company-name {
        font-size: 28px;  
        text-align: center;
    }
    .company-info {
        font-size: 20px;
        text-align: center;
    }
}

@media (min-width: 480px) {
    .searchBlock { width: 50%; padding-top: 20%; }
    .searchBlockTop { width: 50%; padding-top: 20%; }
}

@media (min-width: 768px) {
    .AgentProfile { width: 24%; }
    .searchBlock { width: 33.333%; padding-top: 13%; }
    .searchBlockTop { width: 33.333%; padding-top: 17%; }
    .searchBlockTop { font-size: inherit; }
}

@media (min-width: 992px) {
    .searchBlocks { top: -17px; position: relative; }
    .responsiveDivider { display: block; }
}


@media (min-width: 1200px) {
    .searchBlocks { top: -17px; position: relative; }
    .responsiveDivider { display: block; }

}



