@font-face {
    font-family: "IRANSans-web";
    font-display: auto;
    src: local('IRANSans-web'), url("./fonts/IRANSans-web.eot#iefix") format("embedded-opentype"), url("./fonts/IRANSans-web.woff2") format("woff2"), url("./fonts/IRANSans-web.woff") format("woff"), url("./fonts/IRANSans-web.ttf") format("truetype"), url("./fonts/IRANSans-web.svg#IRANSans-web") format("svg")
}

@font-face {
    font-family: "aviny";
    font-display: auto;
    src: local('aviny'), url("./fonts/aviny.eot#iefix") format("embedded-opentype"), url("./fonts/aviny.woff2") format("woff2"), url("./fonts/aviny.woff") format("woff"), url("./fonts/aviny.ttf") format("truetype")
}

*:not(.ltr):not(.IRANSans):not(.la):not(.las):not(.lab):not(.fa):not(.glyphicon):not(.mdtp__digit):not(.mdtp__time_holder):not(.mce-ico):not(.bx):not(.k-icon):not([class^="icofont-"]):not([class*="icofont"]):not([class*="language-"]) {
    font-family: aviny !important;
    direction: rtl !important;
}

.IRANSans {
    font-family: IRANSans-web !important;
}



html {
    position: relative;
    min-height: 100%;
}

:root {
    --color1: #262626;
    --my-msg: #2036b4;
}

.user-row {
    display: flex;
    grid-template-rows: 100px
}

.user-avatar {
    width: 40px;
}

.user-avatar-30 {
    width: 30px;
}

.user-name-chat {
    width: calc(100% - 40px);
    padding-left: 5px;
}

.my-msg {
    border-radius: 24px;
    margin: 0 5px 0px 27px;
    /*border: 1px solid #43ff43;*/
    background: var(--my-msg);
    color: white;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
    position: relative;
    display: flow-root;
}

    .my-msg:before {
        border-left: 11px solid #2036b4;
        content: " ";
        position: absolute;
        z-index: 2;
        bottom: 0px;
        right: -5px;
        height: 18px;
        width: 16px;
        border-bottom-left-radius: 30px;
    }

.others-msg {
    border-radius: 24px;
    margin: 0 27px 0px 14px;
    /*border: 1px solid #ffc107;*/
    background: #666666;
    color: white;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
    position: relative;
}

    .others-msg:before {
        border-right: 11px solid #666666;
        content: " ";
        position: absolute;
        z-index: 2;
        bottom: 3px;
        left: -6px;
        height: 18px;
        width: 16px;
        border-bottom-right-radius: 30px;
    }

/***********************/
.nav-menu {
    background: red;
    backdrop-filter: blur(15px);
    margin-bottom: calc(-100vh - 1px);
}
/****************************/
activity, .activity, .nav-menu {
    background: #323232;
    position: absolute;
    height: calc(100vh - 0px);
    min-width: 320px;
    /*box-shadow: rgb(0 0 0 / 35%) 0px 5px 15px;*/
    border: 0px solid black;
    overflow: hidden;
    width: 100%;
    
}

#nav-menu {
    background: #00000061 !important;
    backdrop-filter: blur(3px);
}

@media screen and (max-width:575.9px) {
    activity, .activity, .nav-menu {
        height: calc(100vh - 0px);
        border-radius: 0;
        border: 0;
        box-shadow: unset;
        margin-top: 0;
    }

    #notch {
        display: none;
    }

    #clock {
        position: absolute !important;
        top: 2px !important;
        margin-left: auto;
        margin-right: 75%;
    }
}

.list-group-item {
    background-color: transparent;
    border: 1px solid rgb(179 179 179 / 13%);
}

activity ul, .activity ul {
    padding: 0px;
}

activity > activityhead, .activity > .header {
    background: var(--color1);
    height: 60px;
    display: block;
    border-bottom: 0px solid gray;
    padding: 11px 5px 11px 5px;
}

.fab1 {
    position: absolute;
    bottom: 10px;
    z-index: 50;
    bottom: 70px;
    right: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #262626;
    border: 1px solid #222020;
    font-size: 2rem;
    color: wheat;
}

.btn-group > .btn-group > .btn, .btn-group > .btn-group > .btn {
    border-radius: 0;
}

.btn-group > .btn-group:first-child > .btn, .btn-group > .btn:first-child:not(.dropdown-toggle) {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.btn-group > .btn-group:not(:first-child) > .btn, .btn-group > .btn:nth-child(n+3), .btn-group > :not(.btn-check) + .btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}


.last-chat {
    max-height: 16px;
    overflow: hidden;
    line-height: 1;
    font-size: .8em;
}

.popover2 {
    /* bottom: 106px; */
    /* width: 100%; */
    position: relative;
    background: white;
    left: 4px;
    right: 0px;
    /* border-radius: 7px; */
    border: 1px solid #efc26e;
    margin-top: -1px;
    margin-bottom: -5px;
    display: none;
}

.no-rm {
    margin-right: -12px;
}

.no-lm {
    margin-left: -12px;
}

.btn-link {
    text-decoration: none;
}

.btn-outline-primary:hover {
    background-color: #0d6efd !important;
}

.replay-div {
    border-radius: 3px;
    border-left: 3px solid;
    color: #e7b603;
    box-shadow: 0 0.05rem 0.25rem rgb(194 255 5 / 15%) !important;
    padding: 0.5rem !important;
    margin-right: 1rem !important;
    margin-left: 1rem !important;
    margin-bottom: .5rem !important;
}


.avatar {
    vertical-align: middle;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
}

.avatar-30 {
    vertical-align: middle;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
}

.form-control {
    background-color: #fff0;
    color: wheat;
}

    .form-control:focus {
        background-color: #fff0;
        color: wheat;
        box-shadow: 0 0 0 0.1rem rgb(13 110 253 / 25%);
    }

.header > label {
    color: wheat;
}

.text-primary, .btn-link {
    color: #609cee !important
}

#msg-preview {
    /*   content: '';
                                        position: absolute;
                                        left: 0px;
                                        right: 0px;
                                        height: 50%;
                                        bottom: 0px;
                                        background: linear-gradient(180deg, rgba(139,167,32,0) 0%, rgba(255,255,255,1) 100%);
                                        pointer-events: none;*/
    -webkit-mask: linear-gradient(105deg, rgba(0, 0, 0, 0) 0px, rgba(0, 0, 0, 0) 18.0001px, rgb(240 240 240 / 12%) 18.0001px), linear-gradient(1deg, rgba(0, 0, 0, 0) 0px, rgba(0, 0, 0, 0) 32.8px, rgb(255 255 255) 68.8002px);
    /*-webkit-mask: linear-gradient(0deg, rgba(0, 0, 0, 0) 0px, rgba(0, 0, 0, 0) 18.0001px, rgb(0, 0, 0) 18.0001px), linear-gradient(270deg, rgba(0, 0, 0, 0) 0px, rgba(0, 0, 0, 0) 32.8px, rgb(0, 0, 0) 68.8002px);*/
}

#notch {
    position: absolute;
    top: 18px;
    background: black;
    height: 17px;
    width: 90px;
    border-radius: 10px;
    z-index: 4;
}

.btn-imoji {
    padding: 2px;
}

/*************** .box **************************/
.box {
    display: flex;
    flex-flow: column;
    /*height: 100%;*/
}

    .box .header {
        flex: 0 1 auto;
        /* The above is shorthand for:
                                          flex-grow: 0,
                                          flex-shrink: 1,
                                          flex-basis: auto
                                          */
    }

    .box .content {
        flex: 1 1 auto;
        overflow: auto;
    }

    .box .footer {
        flex: 0 1 60px;
    }
/*************** .box **************************/




.list-group-flush > .list-group-item:last-child {
    border-bottom-width: 1px;
}


.modal-activity {
    position: absolute;
    height: calc(99vh - 9px);
    min-width: 320px;
    border-radius: 40px;
    overflow: hidden;
    margin-top: 3px;
    max-width: 354px;
    z-index: 1;
    padding-top: 50px;
    box-shadow: unset;
    border: unset;
    backdrop-filter: blur(3px);
    background: transparent;
    overflow: hidden;
}

    .modal-activity .header {
        background: #686868;
        border-radius: 30px 30px 0 0;
        padding-top: 16px;
        margin: 0 -5px;
    }

    .modal-activity .content {
        background: #686868;
        padding: 0 12px;
        margin: 0 -5px;
    }

    .modal-activity .footer {
        background: #686868;
        margin: 0 -5px;
        border-radius: 0 0 30px 30px;
    }
