/* EMPLOYEE SEARCH */
.employee-search input#search-input {
    font-size: 22px;
    background: #171717;
    color: white;
    padding: 12px 20px;
    outline: none;
    border-radius: 50px;
    border: 1px solid #606060;
    z-index: 80 !important;
    display: block;
    max-width: 100%;
    width: 600px;
}

/* EMPLOYEE NAV */
.employee-nav {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}
.employee-nav .convise-city {
    border-radius: 40px;
    padding: 8px 20px;
    background: #171717;
    border: 1px solid #171717;
    font-size: 18px;
    color: white;
    cursor: pointer;
    user-select: none;
    transition: border 250ms linear;
}
.employee-nav .convise-city:hover {
    border-color: #606060;
}
.employee-nav .is-active {
    border-color: white;
    background: white;
    color: #171717;
}
.employee-nav .is-disabled {
    cursor: not-allowed;
}

/* EMPLOYEE LIST */
.employee-list {
    display: flex;
    flex-wrap: wrap;
}

/* EMPLOYEE ITEM */
.employee-item {
    width: 100%;
    display: flex;
    gap: 30px;
    justify-content: flex-start;
    align-items: center;
    background: #171717;
    border-radius: 40px;
    margin: 0;
    padding: 15px;
    border: 1px solid #171717;
    border-color: #171717;
    color: white;
    transition: border 250ms linear;
}

.employee-list .employee-item {
    width: 50%;
    width: calc(50% - 40px);
    margin: 20px;
}

.employee-item:hover {
    border-color: var(--employee-color);
}

.employee-item .employee-image {
    flex-basis: 45%;
    padding: 15px;
    user-select: none;
}
.employee-item .employee-image a {
    user-select: none;
    outline: 0 !important;
    display: block;
}
.employee-item .employee-image a:focus {
    outline: 0;
}

img.employee-portrait {
    max-width: 100%;
}
.employee-item .employee-details {
    flex-basis: 55%;
    color: white;
    display: flex;
    flex-direction: column;
}
.employee-item .employee-details a { color: white; text-decoration: none; }

.employee-item .employee-details .employee-contact {
    display: flex;
    flex-direction: column;
    gap: 0px;
    color: white;
}

.employee-details h3 {
    color: var(--employee-color);
    margin: 0;
    padding: 0;
}
.employee-details .employee-title {
    margin: 0 0 15px 0;
    padding: 0;
}
.employee-details svg {
    width: 1em;
    height: 1em;
    position: relative;
    display: block;

    fill: var(--employee-color);
}
.employee-details .employee-vcard,
.employee-details .employee-email a,
.employee-details .employee-telephone a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.employee-item .extra-details {
    display: none;
}

/* typeahead */
.typeahead,
.tt-query,
.tt-hint {
    width: 100%;
    height: 30px;
    padding: 12px 20px;
    line-height: 30px;
    border: 2px solid #ccc;
    border-radius: 40px;
    outline: none;
}

.employee-search .tt-hint {
    color: #505050;
    height: 100%;
    background: none;
    font-size: 22px;
    border-radius: 50px;
    padding: 12px 20px;
}

.tt-menu {
    width: 100%;
    border: 1px solid #606060;
    border-radius: 20px;
    background: #000;
    margin: 15px 0;
    padding: 20px 0 20px 0;
    left: 50% !important;
    transform: translate(-50%, 0px);
    z-index: 10 !important;
}
.tt-menu.attached-suggestion {
    margin: 0;
    padding: 46px 0 12px 0;
    border: 1px solid #606060;
    border-top: none;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.tt-suggestion {
    padding: 4px 22px;
    color: #454545;
}

.tt-suggestion:hover {
    cursor: pointer;
    color: #fff;
    background-color: #171717;
}

.tt-suggestion.tt-cursor {
    color: #fff;
    background-color: #171717;
}

.tt-suggestion p {
    margin: 0;
}

.tt-highlight {
    border-bottom: 1px dashed #ccc;
    font-weight: 500;
    color: #ccc;
}


/* LIGHTBOX */
.basicLightbox{position:fixed;display:flex;justify-content:center;align-items:center;top:0;left:0;width:100%;height:100vh;background:rgba(0,0,0,.8);opacity:.01;transition:opacity .4s ease;z-index:1000;will-change:opacity}.basicLightbox--visible{opacity:1}.basicLightbox__placeholder{max-width:100%;transform:scale(.9);transition:transform .4s ease;z-index:1;will-change:transform}.basicLightbox__placeholder>iframe:first-child:last-child,.basicLightbox__placeholder>img:first-child:last-child,.basicLightbox__placeholder>video:first-child:last-child{display:block;position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;max-width:95%;max-height:95%}.basicLightbox__placeholder>iframe:first-child:last-child,.basicLightbox__placeholder>video:first-child:last-child{pointer-events:auto}.basicLightbox__placeholder>img:first-child:last-child,.basicLightbox__placeholder>video:first-child:last-child{width:auto;height:auto}.basicLightbox--iframe .basicLightbox__placeholder,.basicLightbox--img .basicLightbox__placeholder,.basicLightbox--video .basicLightbox__placeholder{width:100%;height:100%;pointer-events:none}.basicLightbox--visible .basicLightbox__placeholder{transform:scale(1)}
.employee-lightbox .employee-extra-details { display:flex; }
.employee-extra-details {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 100px;
    padding: 100px;
    background: #171717;
    border-radius: 40px;
    display: none;
    user-select: none;
}
.employee-extra-details .content { 
    width: 400px;
    color: white;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-flow: column;
}
.employee-extra-details .content .close-details {
    position: absolute;
    top: 15px;
    right: 30px;
    font-size: 32px;
    cursor: pointer;
}
.employee-extra-details .content .close-details svg {
    fill: var(--employee-color);
    width: .7em;
    height: .7em;
}
.employee-extra-details .contact-details {
    display: flex;
    flex-flow: column wrap;
}
.employee-extra-details .contact-details .contact-name {
    font-size: 22px;
    color: var(--employee-color);
    text-align: center;
    font-weight: 600;
}
.employee-extra-details .contact-details .contact-title {
    font-size: 16px;
    color: white;
    text-align: center;
    font-weight: 200;
    margin: -10px 0 20px 0;
}
.employee-extra-details .contact-detail {
    display: flex;
    flex-flow: row;
    gap: 20px;
    width: 100%;
}
.employee-extra-details .contact-detail a {
    color: white;
}
.employee-extra-details .contact-detail .contact-label {
    flex-basis: 38%;
    text-align: right;
    color: var(--employee-color);
    flex-shrink: 0;
}
.employee-extra-details .contact-detail .contact-value { 
    text-align: left; 
    color: white; 
}

.employee-extra-details .content .portrait { 
    margin-top: -60px; 
    margin-bottom: 40px; 
}
.employee-extra-details .qrcode { 
    max-width: 500px;
    user-select: none;
}




/* employee office */
.employee-offices {
    display: flex;
    align-content: center;
    justify-content: center;
    height: 0;
    overflow: hidden;
    transition: all 500ms ease-in-out;
}
.employee-offices.open {
    height: 300px;
}
.employee-office {
    display: flex;
    width: 100%;
    gap: 40px;
    justify-content: center;
    align-items: center;
    padding: 60px 30px 30px 30px;
    color: white;
    transition: opacity 250ms ease 80ms;
    flex-direction: column;
    opacity: 0;
    position: absolute;
    z-index: -1;
}
.employee-office.is-active {
    opacity: 1;
    z-index: 1;
}

.employee-office .office-location {
    flex-direction: row;
    display: flex;
    gap: 30px;
    text-align: center;
}
.employee-office .office-details {
    max-width: 560px;
    text-align: center;
}

.employee-office .office-title {
    font-size: 22px;
    margin: 0;
}
.employee-office .office-title span {
    font-size: 16px;
    display: block;
}
.employee-office .office-pin i {
    font-size: 58px;
    margin-right: 10px;
}







/* ADMIN STUFF */
.employee-meta {
    display: flex;
    flex-direction: row;
}
.employee-meta .form-table,
.employee-meta #employee-preview-container {
    width: 50%;
}
.employee-meta .employee-preview .employee-portrait {
    border: 5px solid var(--employee-color);
    background: linear-gradient(25deg, black -100%, var(--employee-color));
    border-radius: 100%;
}
.employee-meta .employee-item {
    width: 100%;
    font-size: 150%;
    border: 10px solid var(--employee-color);
}
.employee-meta .employee-list.employee-preview * {
    user-select: none;
}
.employee-meta .employee-list.employee-preview .employee-vcard {
    display: none;
}

/* responsive stuff */
@media screen and (max-width: 1025px) {
    :not(.employee-list) .employee-item {
        width: 100%;
        border-radius: 20px;
    }
    .employee-list .employee-item {
        margin: 10px;
        width: calc(50% - 20px);
        border-radius: 20px;
    }
    .employee-item .employee-details .employee-name,
    .employee-item .employee-details .employee-title {
        text-align: center;
    }
    .employee-item .employee-details .employee-contact {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
        font-size: 25px;
        margin-top: 30px;
    }
    .employee-item .employee-details .employee-contact span {
        display: none;
    }

    .employee-extra-details .qrcode {
        max-width: 40vw;
    }

}
@media screen and (max-width: 767px) {
    .employee-search input#search-input {
        width: 90vw;
        font-size: 18px;
    }
    .employee-search .tt-hint {
        font-size: 18px;
    }
    .employee-office {
        gap: 25px;
    }
    .employee-item {
        flex-direction: column;   
        gap: 15px;  
    }
    .employee-item {
        width: max-content;
        justify-self: center;
    }
    .employee-list .employee-item {
        width: calc(50% - 20px);
    }
    .employee-item .employee-image {
        padding: 5px;
        max-width: 250px;
    }
    .employee-item .employee-details {
        justify-content: center;
        align-items: center;
    }
    .employee-item .employee-details .employee-vcard {
        display: none;
    }
    .employee-item .employee-details .employee-title {
        display: none;
    }
    .employee-item .employee-details .employee-name {
        font-size: 16px;
        min-height: 2.8em;
        display: flex;
        align-items: center;
    }
    .employee-item .employee-details .employee-contact {
        gap: 20px;
        margin-top: 20px;
    }
    .employee-item .employee-details .employee-contact > div {
        padding: 10px 0;
    }
    .employee-item .employee-details .employee-contact .employee-email {
        border-right: 1px solid #363636;
        padding-right: 20px;
    }
    .employee-item .employee-details .employee-contact a {
        font-size: 25px;
    }

    .employee-extra-details {
        gap: 30px;
        flex-direction: column-reverse;
        padding: 30px;
    }

    .employee-extra-details .content .portrait {
        margin: 20px 0;
        max-width: 50%;
    }

    .employee-nav {
        gap: 10px;
    }
    .employee-nav .convise-city {
        font-size: 12px;
        padding: 5px 15px;
    }
}