/************************** FONT **************************/

@font-face {
    font-family: 'AIAEverest';
    src: url('../components/assets/fonts/awardee-slide/AIAEverest-Bold.otf?v=2') format('opentype');
    font-display: swap;
    font-weight: 500;
}

@font-face {
    font-family: 'AIAEverest';
    src: url('../components/assets/fonts/awardee-slide/AIAEverest-Bold.otf?v=2') format('opentype');
    font-display: swap;
    font-weight: 700;
}

@font-face {
    font-family: 'AIAEverest';
    src: url('../components/assets/fonts/awardee-slide/AIAEverest-ExtraBold.otf?v=2') format('opentype');
    font-display: swap;
    font-weight: 800;
}

/************************** BODY FIXED STYLE.CSS ****************/

#content-1 {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

#agent-container.agent-no-photo {
    /* border: 2px solid yellow; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 70px !important;
}

@media only screen and (min-width: 500px) {
    #agent-container {
        /* border: 2px solid yellow; */
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100dvh !important;
        padding-top: 50px !important;
    }

    .special-image {
        bottom: 0 !important;
    }

    .short-image {
        top: auto !important;
        bottom: 0 !important;
    }

    .design-content .design-1-textbox {
        font-size: 120% !important;
    }

    .design-content .mdrt-pins {
        max-height: 80px !important;
        /* gap: 10px !important; */
    }

    .mdrt-pins #mdrt-pin {
        width: 60px !important;
    }

    .mdrt-pins #pin-count {
        font-size: 0.65vw !important;
        margin-top: 5px !important;
        padding: 2px 7px !important;
    }

    .design-content .design-3-textbox img {
        width: 60px !important;
    }

    .ranking-box {
        max-width: 400px !important;
    }

    .ranking-box img {
        width: 100% !important;
    }

    .ranking-box img.champion {
        width: 130% !important;
    }

    /* .video-background video {
        width: 120% !important;
    } */

    .video-background {
        left: -40px !important;
        right: -80px !important;
    }
}

/************************** GENERAL **************************/

#agent-container {
    padding-top: 70px;
    position: fixed;
    z-index: 99;
    width: 100%;
    height: calc(100dvh - 60px);
    overflow: hidden;
    background-color: white;
    max-width: 500px;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -99;
}

.video-background video {
    width: 100%;
    object-fit: contain;
    overflow-clip-margin: content-box;
    overflow: clip;
}

#agent-award {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/************************** LOGO **************************/

/* #logo-box {
    margin: 0 auto;
    width: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

#logo-box img:first-child {
    margin-left: -4vh;
    height: 8vh;
    width: auto;
    transform: translateY(5px);
}

#logo-box img:last-child {
    margin-left: 1vh;
    height: 4vh;
}

.separator {
    width: 1px;
    height: 5vh;
    background: rgb(207, 196, 136);
} */

/*********************** AGENT DETAILS ***********************/

#parent-container,
#parent-container * {
    font-family: 'AIAEverest';
}

#parent-container {
    height: calc(100dvh - 190px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    justify-content: space-between;
    margin: 0 auto;
}

/* #parent-container div {
    border: 2px solid pink;
} */

.top-div {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.top-div div {
    max-width: 300px;
    width: 100%;
}

.top-div .agent-name {
    text-transform: uppercase;
    font-size: clamp(1rem, 5vw, 1.5rem);
    font-weight: 800;
    color: rgba(247, 225, 97, 0.9);
}

.top-div .agent-agency {
    text-transform: uppercase;
    font-size: clamp(0.875rem, 4vw, 1.125rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.mid-div {
    /* border: 2px solid yellow; */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-grow: 1;
}

.mid-div #agent-image {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 32vh;
    height: 100%;
    /* min-height: 35dvh; */
    max-height: 70dvh;
    flex-grow: 1;
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 1) 90%, rgba(255, 255, 255, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 1) 90%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
}

.mid-div #agent-image img {
    width: 100%;
    height: auto;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.mid-div #agent-image img.manual {
    left: -40px;
}

.bottom-div {
    width: 100%;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: auto;
    flex-shrink: 0;
}

.parent-no-photo {
    display: unset !important;
}

.bottom-no-photo {
    margin-top: 80px;
}

.bottom-div div {
    width: 100%;
}

.bottom-div .design-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.design-content .gold-bar {
    width: 100%;
    max-width: 280px;
    /* margin-top: -15px; */
    margin-bottom: -5px;
}

.design-content .gold-bar img {
    width: 100%;
    max-width: 280px;
}

/************************** LAYOUT 1 **************************/

.design-content .design-1-textbox {
    width: 100%;
    max-width: 300px;
    min-height: 70px;
    padding-bottom: 10px;
    color: white;
    font-size: 4vw;
    font-weight: 500;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/************************** LAYOUT 2 **************************/

.design-content * {
    /* border: 2px solid yellow; */
}

.design-content .design-2-textbox {
    width: 100%;
    max-width: 300px;
    min-height: 60px;
    padding-bottom: 5px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.design-content .mdrt-pins {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 90%;
    width: auto;
}

.mdrt-pins #mdrt-pin {
    flex-shrink: 0;
    width: 11dvw;
    /* height: 9dvh; */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mdrt-pins #mdrt-pin img {
    width: 80%;
}

.mdrt-pins .advisor-pin img {
    width: 75% !important;
}

.mdrt-pins #pin-count {
    font-size: 1.5vw;
    color: white;
    background-color: rgba(255, 255, 255, 0.45);
    text-shadow: 3px 3px 5px #000000;
    text-align: center;
    font-weight: 700;
    padding: 2px 5px;
    margin-top: 0;
}

/************************** LAYOUT 3 **************************/

.design-3-textbox {
    width: 100%;
    max-width: 90%;
    padding-bottom: 5px;
    color: white;
    font-size: clamp(0.75rem, 3.2vw, 0.95rem);
    font-weight: 500;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    gap: 10px;
}

.design-3-textbox img {
    width: 55px;
    height: auto;
    flex-shrink: 0;
}

.design-3-textbox p {
    margin: 0;
    display: flex;
    align-items: center;
}

img.star-img {
    margin-left: -1.5%;
}

/************************** LAYOUT 4 **************************/

.ranking-box {
    width: 100%;
    max-width: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -30px;
    margin-bottom: -10px;
}

.ranking-box img {
    width: 100%;
}

.ranking-box img.champion {
    width: 120%;
    margin-bottom: -5px;
}

.design-4-textbox {
    width: 100%;
    max-width: 95%;
    padding-bottom: 10px;
    min-height: 90px;
    color: white;
    font-size: clamp(0.925rem, 3vw, 1.2rem);
    font-weight: 500;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/*********************** BOTTOM BAR ***********************/

#bar-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    background-color: white;
}

#bar-bottom .list {
    display: flex;
    column-gap: 15px;
}

#bar-bottom .list .block {
    cursor: pointer;
}

#bar-bottom .list .block#bar-like {
    display: grid;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

#bar-bottom .list .block#bar-message {
    display: grid;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

#bar-bottom .list .block img {
    width: 25px
}

/********************* MESSAGE MODAL *********************/

#modal-send-message {
    z-index: 9999999;
}

#modal-send-message .form .block label {
    color: black;
    font-weight: bold;
}

select {
    border: 1px solid lightgrey;
    width: 100%;
    height: 35px;
    border-radius: 5px;
    padding: 0px 10px;
    box-sizing: border-box;
}


/*********************** SHARE MODAL ***********************/

#modal-share #share-list {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding-top: 20px;
    padding-bottom: 40px;
}

#modal-share #share-list .share-block img {
    width: 50px;
}

#modal-share #share-list .share-block {
    cursor: pointer;
}

/*********************  MODAL *********************/