/* Custom Scrollbar */

::-webkit-scrollbar {
    width: 10px;
    border-radius: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c5c5c5;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* End Custom Scrollbar */

.d-none {
    display: none !important;
}

.d-flex {
    display: flex !important;
}

.contacts-container {
    display: flex;
    flex-direction: row;
    height: calc(100vh - 96px);
}

.ctc-left {
    flex-shrink: 0;
    width: 35%;
    padding: 32px 48px;
    overflow-y: scroll;
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: #fff;
    box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, .02), 0px 2px 12px -2px rgba(0, 0, 0, .08), 0px 3px 6px 0px rgba(0, 0, 0, .06);
}

.newcontact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    height: 56px;
    padding: 16px 0;
}

.ctc-list {
    width: 100%;
    margin-top: 40px;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.contact {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    padding: 15px 18px 15px 18px;
    gap: 40px;
    align-items: center;
    border-radius: 10px;
    margin: 12px 0;
    box-sizing: border-box;
}

.contact:hover,
.contact-active {
    cursor: pointer;
    background-color: #2A3647;
    color: #fff;
}

.contact:hover .ctc-fullname,
.contact-active .ctc-fullname {
    color: #fff;
}

.ctc-sort-letter {
    width: 100%;
    border-bottom: 2px solid #d1d1d1;
    padding: 17px 0 17px 36px;
    box-sizing: border-box;
    font-size: 20px;
    font-weight: 400;
}

.ctc-logo {
    padding: 8px;
    border-radius: 50%;
    color: #fff;
    border: 2px solid #fff;
    background-color: #462f8a;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 42px !important;
    width: 42px !important;
    flex-shrink: 0;
}

.contact:nth-child(3n + 1) .ctc-logo {
    background-color: #FF7A00;
}

.contact:nth-child(3n + 2) .ctc-logo {
    background-color: #462F8A;
}

.contact:nth-child(3n + 3) .ctc-logo {
    background-color: #1FD7C1;
}

.ctc-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ctc-fullname {
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    color: #000;
    overflow-wrap: anywhere;
}

.ctc-email {
    color: #007CEE;
    font-size: 16px;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.newcontact-btn-img {
    height: 20px;
}

.ctc-right {
    flex-shrink: 1;
}

/* Contacts main Container Right */

.msg {
    position: absolute;
    right: 24px;
    top: 144px;
}

.msg-text {
    background-color: #2A3647;
    border-radius: 20px;
    color: #fff;
    font-family: Inter;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0em;
    padding: 22px 26px;
}

.contacts-main {
    padding: 40px 20px 20px 40px;
    box-sizing: border-box;
    height: 100%;
}

.contacts-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
}

.contacts-header-left {
    font-size: 61px;
    font-weight: 700;
    line-height: 73px;
    letter-spacing: 0em;
}

.contacts-header-divider {
    border-left: 3px solid #29ABE2;
    height: 61px;
}

.contacts-header-right {
    font-size: 27px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 0em;
    color: #2A3647;
}

.contacts-main-header {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.contacts-main-header {
    display: flex;
    gap: 56px;
    margin: 32px 0;
}

.cmh-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.edit-contact {
    display: flex;
    justify-content: flex-start;
    gap: 32px;
}

.edit-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    letter-spacing: 0em;
}

.edit-item:hover {
    cursor: pointer;
}

.cmh-logo-big {
    background-color: rgb(70, 47, 138);
    /* box-shadow: 0 0 7px #e5e5e5; */
    height: 120px;
    width: 120px;
    font-size: 47px;
    font-weight: 500;
    line-height: 56px;
    letter-spacing: 0em;
    border: 3px solid #fff;
    box-sizing: border-box;
    border-radius: 50%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cmh-fullname {
    overflow-wrap: anywhere;
    font-family: Inter;
    font-size: 47px;
    font-weight: 500;
    line-height: 56px;
    letter-spacing: 0em;
}

.contacts-main-content {
    display: flex;
    flex-direction: column;
}

.contacts-info {
    font-family: Inter;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0em;
    margin: 24px 0 32px 0;
}

.field-headline {
    font-size: 16px;
    font-weight: 700;
    line-height: 19px;
    letter-spacing: 0em;
    margin: 16px 0;
}

.ctc-email-act:hover {
    text-decoration: underline;
    cursor: pointer;
}

.ctc-phone {
    color: #000;
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    letter-spacing: 0em;
    text-decoration: none;
}