﻿:root {
    --loading-size: 100px;
    --animation-time: 1s;
}

.topBar {
    padding: 15px 5px;
    max-width: 1000px;
    margin: auto;
    gap: 16px;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}



    .topBar .input-search {
        position: relative;
    }

        .topBar .input-search img {
            position: absolute;
            top: 50%;
            left: 8px;
            transform: translateY(-50%);
        }

        .topBar .input-search #SearchClient {
            width: 100%;
            padding: 6px 8px 6px 40px;
            border: 1px solid #28272B;
            border-radius: 8px;
            outline: none;
        }

.topBar-top {
    display: flex;
    margin-bottom: 8px;
    justify-content: space-between;
}

    .topBar-top button img {
        width: 32px;
        height: 32px;
    }

    .topBar-top h3 {
        margin: 0;
        color: #000;
        font-family: 'Roboto';
        font-style: normal;
        font-weight: 500;
        font-size: 20px;
        line-height: 120%;
    }


.topBar-bottom {
    display: flex;
    justify-content: space-between;
    gap:5px;
}

.topBar button {
    display: flex;
    gap: 4px;
    background: transparent;
    border: none;
    color: #4481eb;
    font-size: 14px;
    font-family: 'Roboto';
    font-weight: 700;
    line-height: 150%;
}

.topBar-bottom button img {
    filter: invert(60%) sepia(83%) saturate(1000%) hue-rotate(180deg) brightness(95%) contrast(94%);
}

    .topBar button:focus {
        box-shadow: none;
    }



.popup-filtering-outer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1035;
}

.popup-filtering-background {
    animation-name: fade-in;
    animation-duration: var(--animation-time);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.popup-filtering-top {
    display: flex;
    justify-content: space-between;
}

.popup-filtering-inner {
    animation-name: pull-up;
    animation-duration: var(--animation-time);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 16px 16px 96px 16px;
    width: 100%;
    min-width: 288px;
    max-width: 400px;
    background-color: #FFFFFF;
    border: 1px solid #4481eb;
    border-radius: 8px;
}

    .popup-filtering-inner h3 {
        margin: 0;
        margin-bottom: 16px;
        text-align: left;
        font-family: 'Roboto';
        font-style: normal;
        font-weight: 700;
        font-size: 16px;
        line-height: 150%;
        color: #4481eb;
    }

    .popup-filtering-inner h4 {
        margin: 0;
        margin-bottom: 8px;
        text-align: left;
        font-family: 'Roboto';
        font-style: normal;
        font-weight: 700;
        font-size: 14px;
        line-height: 150%;
        color: #28272B;
    }

    .popup-filtering-inner label {
        font-size: 14px;
        font-family: 'Roboto';
        color: #28272B;
        font-weight: 300;
    }

    .popup-filtering-inner .popup-filtering-dates {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 26px;
    }

    .popup-filtering-inner .inp-date {
        width: 100%;
    }

        .popup-filtering-inner .inp-date input {
            padding: 4px 8px 4px 16px;
            border: 1px solid #7F8286;
            border-radius: 8px;
            width: 100%;
            outline: none;
        }

    .popup-filtering-inner .popup-filtering-close {
        background: transparent;
        border: 1px solid #4481eb;
        border-radius: 100px;
        background: #4481eb;
        color: white;
        outline: none;
        width: 25px;
        height: 25px;
    }






@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes pull-up {
    0% {
        opacity: 0;
        top: 110%;
        transform: translate(-50%, 100%);
    }

    100% {
        opacity: 1;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}



.lst-clients-outer {
    padding-bottom: 80px;
}

.lst-clients {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    margin-bottom: 20px;
}

    .lst-clients + [aria-label="animation"] {
        position: relative;
    }

        .lst-clients + [aria-label="animation"] > svg {
            margin-bottom: 30px;
        }

.lst-clients-appHisto {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.lst-clients-btnPages {
    margin-bottom: 30px;
}

    .lst-clients-btnPages:last-of-type {
        margin-bottom: 80px;
    }

.clients-lst-area {
    background: #fff;
    height: 100%;
    width: 100%;
    max-width: 1000px;
    margin-right: auto;
    margin-left: auto;
    padding: 20px 0;
}

.clientRecord-lbl {
    width: 15%;
    text-align: left;
}


.AssRecord {
    float: left;
    height: 80px;
    cursor: pointer;
    margin-top: 20px;
}

    .AssRecord > img {
        background-color: #000;
        float: right;
        height: 37px;
    }

    .AssRecord:hover > labl {
        color: #E2970A;
    }

    .AssRecord:hover > img {
        background-color: #E2970A;
    }

.AssRecord-div {
    width: 24%;
    padding-right: 20px;
    height: 80px;
    float: right;
}

.sendSMS-div {
    width: 24% !important;
    padding-left: 20px;
    height: 80px;
}


#ui-datepicker-div {
    z-index: 99999 !important;
}

.ui-datepicker .ui-datepicker-title select.ui-datepicker-year {
    width: 50%;
}

.sendSmsBTNDiv {
    float: left;
    width: 50%;
}

.callDiv {
    width: 70px;
    display: inline-table;
    cursor: pointer;
}

    .callDiv img {
        width: 40px;
    }

    .callDiv + .callDiv {
        margin-left: 90px;
    }

    .callDiv:hover {
        color: #E2970A;
    }

.sendSmsBTNDiv {
    margin-top: 20px;
    margin-bottom: 20px;
}

#campaigns, #SMSHistory {
    width: 100%;
}

.LastDay .ui-datepicker-trigger {
    height: 23px !important;
}

.EditClientRecordContent .xCloseModal {
    display: none;
}

.EditClientRecordContent .back {
    display: block !important;
}

@media(max-width:900px) {
    #campaigns, #SMSHistory {
        width: 100vw;
        overflow: scroll;
    }
}

@media(max-width:690px) {
    .AssRecord-div {
        width: 50%;
    }

    .sendSMS-div {
        width: 50% !important;
    }

    .sendSmsBTNDiv {
        width: 100%;
    }
}
