@media only screen and (min-width: 1px) {


@keyframes changeContent {
    0% { content: "."; }
    50% { content: ".."; }
    100% { content: "..."; }
}

    .chat_header {
        position: fixed;
        z-index: 10;
        display: flex;
        width: 1024px;
        height: 80px;
        border-top: solid;
        border-bottom: solid;
        border-width: 2px;
        margin-top: 1px;
        border-color: #4E7FFF;
        background: #fff;
        padding: 5px 0;
    }

    .chat_header_back{
        position: absolute;
        left: 30px;
        top: 10px;
        width: 70px;
        height: 70px;
        display: flex;
    }

    .chat_header_share{
        width: 70px;
        height: 70px;
        display: flex;
    }

    .chat_header_menu{
        position: absolute;
        left: 900px;
        top: 10px;
        width: 70px;
        height: 70px;
        display: inline-block;
    }

    .chat_main_butt{
        position: relative;
        width: 70px;
        height: 70px;
        display: flex;
        background-color: transparent;
        border: transparent;
    }

    .chat_share_butt{
        position: absolute;
        left: 800px;
        top: 10px;
        width: 70px;
        height: 70px;
        display: flex;
        background-color: transparent;
        border: transparent;
    }

    .chat_main_dropdown_content {
        display: none;
        position: absolute;
        background-color: #f1f1f1;
        width: 450px;
        left: -380px;
        top: 75px;
        border: solid;
        border-radius: 15px;
        border-width: 1px;
        border-color: #4e7fff;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
        padding: 10px 0;
    }

    .chat_main_dropdown_content a, .chat_main_butt_menu, form{
        width: 385px;
        height: 60px;
        font-style: normal;
        font-weight: 400;
        font-size: 25px;
        line-height: 30px;
        display: flex;
        align-items: center;
        color: #0044F4;
        margin: 25px 10px 5px 10px;
        text-decoration: none;
        justify-content: flex-start;
        padding: 0 0 0 45px;
        background-color: #E9EFFF;
        border: solid;
        border-width: 1px;
        border-radius: 15px;
        border-color: #dedede;
    }

    .chat_unsubb{
        margin: 5px 0px 0px 0px;
        font-size: 30px;
        font-weight: bold;
        color: #4e7fff;
        background-color: transparent;
        border: none;
        padding: 5px 50px 10px 70px;
        background-image: url(/static/images/chat/close.png);
        background-position-x: 10px;
        background-repeat: no-repeat;
        font-family: "NotoSans" !important;
        width: 350px;
        height: 60px;
    }

    .chat_main_butt_menu{
        position: relative;
        width: 430px;
    }

    .chat_main_dropdown_content a span, .chat_main_butt_menu span{
        margin: 0 0 0 10px;
        color: #4e7fff;
        font-weight: bold;
    }

    .chat_main_dropdown_content a:hover,
    .chat_main_dropdown_content a:focus {
        color: #0044F4;
        text-decoration: none;
        background: #ddd;
        outline: 0;
    }

    .chat_main_dropdown_content_show {
        display: block;
    }

    .chat_header_main{
        position: absolute;
        left: 150px;
        width: 650px;
        height: 80px;
        display: flex;
    }

    .chat_header_main img{
        width: 75px;
        height: 75px;
    }

    .chat_header_infochat {
        text-align: left;
        margin: 5px 10px 5px 5px;
    }

    .chat_header_tltle {
        font-size: 28px;
        font-weight: bold;
        color: #608cff;
    }

    .chat_header_sub {
        font-size: 26px;
        font-weight: bold;
    }

    .chat_header_sub span{
        color: #608cff;
    }

    .chat_main_tothebottom{
        position: absolute;
        left: 910px;
        top: 950px;
        width: 110px;
        height: 110px;
        display: flex;
        background-color: transparent;
        border: transparent;
        transition: 1s;
        padding: 10px;
    }

    .chat_main_tothebottom img{
        opacity: 0.9;
    }

    /* -----------------------------= Popup start =----------------------- */
    .popup {
    position: relative;
    display: inline-block;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* The actual popup */
.popup .popuptext {
    visibility: hidden;
    width: 160px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    top: 15px;
    left: -160px;
    margin-left: -80px;
}

/* Popup arrow */
.popup .popuptext::after {
    FONT-WEIGHT: 500;
    content: "";
    position: absolute;
    top: 40%;
    left: 100%;
    /* margin-left: 0px; */
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #555555;
}

/* Toggle this class - hide and show the popup */
.popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}

.popup_top {
    position: relative;
    display: inline-block;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.popup_top .popup_toptext {
    visibility: hidden;
    width: 300px;
    left: -215px;
    top: -75px;
    height: 50px;
    background-color: #555555e0;
    font-size: 20px;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    /* top: 15px; */
    /* left: -160px; */
    margin-left: -80px;
}

.popup_top .show_top {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}

.popup_top .popup_toptext::after {
    FONT-WEIGHT: 500;
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    /* margin-left: 0px; */
    border-width: 5px;
    border-style: solid;
    border-color: #555555 transparent transparent transparent;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
}


/* -----------------------------= Popup end =----------------------- */


.messages_all{
    position: relative;
    width: 1024px;
    margin: 0;
    padding: 0;
}

.messages_all p{
    font-size: 40px;
    min-height: 30px;
    margin: 0px;
    position: relative;
    /*color: #4e7fff;*/
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.messages_new{
    position: relative;
    width: 1024px;
    margin: 0 0 250px 0;
    padding: 0 0 150px 0;
}

.messages_new p{
    font-size: 40px;
    min-height: 30px;
    margin: 0px;
    position: relative;
    /*color: #4e7fff;*/
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.messages_one{
    position: relative;
    box-sizing: border-box;
    width: 1002px;
    height: auto;
    margin: 15px 10px;
    background: #FFFFFF;
    border: 1px solid #679BFF;
    border-radius: 10px;
    scroll-margin: 160px;
}

.messages_header{
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 5px 20px;
}

.messages_pubtime{
    font-size: 35px !important;
    font-weight: bold;
    color: #608cff;

}

.messages_views{
    position: relative;
    display: flex;
    width: 300px;
    text-align: right;
    align-items: center;
}

.messages_views p{
    width: 230px;
    margin: auto 10px;
    font-size: 30px;
    font-weight: bold;
    color: #608cff;
}

.messages_chatname{
    position: relative;
    display: flex;
    width: -webkit-fill-available;
    text-align: left;
    border-bottom: solid 1px #679bff;
    height: 50px;
    padding: 5px 0px;
}

.messages_chatname p{
    width: 850px;
    margin: auto 10px;
    font-size: 30px;
    font-weight: bold;
    color: #608cff;
}

.messages_img{
    margin: 5px auto;
    width: 970px;
    max-height: 1000px;
}

.messages_image{
    border-radius: 10px;
    max-width: 970px;
    max-height: 1000px;
}

.messages_text{
    width: 950px;
    max-height: 800px;
    display: inline-table;
    border: none;
    font-size: 30px;
    resize: none;
    background: transparent;
}

.messages_text_view{
    margin: 10px 25px;
    text-align: left;
    white-space: pre;
}

.messages_footer{
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 20px;
}

.messages_phone{
    position: absolute;
    display: flex;
    width: 380px;
    height: 65px;
    background: #E9EFFF;
    border: 1px solid #1377BE;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    text-decoration: none;
}

.messages_phone img{
    margin: 10px 0px 0px 10px;
    width: 45px;
    height: 45px;
}

.messages_phone p{
    width: 300px;
    margin: auto 10px;
    font-size: 35px;
    font-weight: bold;
    color: #608cff;
}

.messages_edit_button{
        width: 320px;
        height: 65px;
        background: #9E9E9E;
        border: 1px solid #1377BE;
        box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.5);
        border-radius: 15px;
        text-decoration: none;
        font-size: 35px;
        display: inline-block;
        color: #ffffff;
        font-weight: bold;
}

.messages_write_mess {
    position: absolute;
    display: flex;
    width: 260px;
    height: 65px;
    background: #E9EFFF;
    border: 1px solid #1377BE;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    text-decoration: none;
    left: 410px;
}
.messages_write_mess p{
    width: 260px;
    margin: auto 10px;
    font-size: 35px;
    font-weight: bold;
    color: #608cff;
}
.messages_write_mess img{
    margin: 10px 0px 0px 10px;
    width: 45px;
    height: 45px;
}

.messages_share_butt{
    position: absolute;
    left: 700px;
    top: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    background-color: transparent;
    border: transparent;
}

.messages_header_share{
    width: 45px;
    height: 45px;
    display: flex;
}

.messages_report_butt{
    position: absolute;
    left: 890px;
    top: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    background-color: transparent;
    border: transparent;
}


.messages_message_field{
    width: 820px;
    margin: 0px 10px;
    height: 73px;
    max-height: 800px;
    /*display: inline-table;*/
    background: #E9EFFF;
    border: 1px solid #5C89FF;
    border-radius: 5px;
    font-size: 30px;
    resize: none;
}

.messages_form{
    position: fixed;
    z-index: 10;
    bottom: 0;
    height: 80px;
    width: 1004px;
    padding: 10px 10px 100px 10px;
    display: flex;
    background: #fff;
    align-items: end;
    border-top: solid;
    border-left: solid;
    border-right: solid;
    border-radius: 15px;
    border-width: 1px;
    border-color: #4e7fff;
    margin: 0;
}



.messages_file_butt{
    display: none;
}

.messages_file_image{
    width: 80px;
    height: 80px;
}

.messages_lable_buttons{
    width: 80px;
    height: 80px;
    /*display: flex;*/
    /*align-items: end;*/
}

.messages_like{
    position: relative;
    left: 790px;
    top: 5px;
}

.messages_like_button{
    display: block;
    position: relative;
    width: 70px;
    height: 70px;
    background-color: transparent;
    border: transparent;
}

.messages_liked_button{
    display: none;
    position: relative;
    width: 70px;
    height: 70px;
    background-color: transparent;
    border: transparent;
}

.messages_subb_button{
    width: 990px;
    height: 80px;
    margin: 10px 10px 20px 10px;
    font-size: 35px;
    font-weight: bold;
    color: #4e7fff;
    background-color: #e9efff;
    border-radius: 15px;
    border-color: #4e7fff;
    border-width: 5px;
}

.dellete_message{
    margin: 0px;
    /*position: absolute;*/
    /*top: 200px;*/
    padding: 0px !important;
    justify-content: center !important;
}

.spinner {
  color: #4e7fff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 0px;
}

.spinner:after {
  animation: changeContent 1.8s linear infinite;
  display: block;
  content: "";
  font-size: 120px;
}

#message_url_reject{
    height: 250px;
}

#close_url_reject{
    height: 85px;
    width: 235px;
    font-size: 35px;
    font-weight: bold;
    color: #4e7fff;
    background-color: #e9efff;
    border-color: #4e7fff;
    border-radius: 15px;
    margin: 15px;
}

#message_url_reject p {
    font-size: 35px;
    color: #4e7fff;
    font-weight: bold;
}

#empty_message{
    height: 250px;
}

#close_empty_message{
    height: 85px;
    width: 235px;
    font-size: 35px;
    font-weight: bold;
    color: #4e7fff;
    background-color: #e9efff;
    border-color: #4e7fff;
    border-radius: 15px;
    margin: 15px;
}

#empty_message p {
    font-size: 35px;
    color: #4e7fff;
    font-weight: bold;
}

.phone_img_in_text{
    position: relative;
    top: 5px;
    margin: 0 5px 0 10px;
}

.selected_mess{
    position: absolute;
    z-index: 5;
    left: 470px;
    top: 3px;
    width: auto!important;
    height: auto!important;
    margin: auto!important;
    padding: 0!important;
    font-style: normal;
    font-weight: 400;
    font-size: 25px;
    line-height: 30px;
    display: flex;
    align-items: center;
    color: #0044F4;
    /* margin: 25px 10px 5px 10px; */
    text-decoration: none;
    justify-content: flex-start;
    /* padding: 0 0 0 45px; */
    background-color: #E9EFFF;
    /* border: solid; */
    /* border-width: 1px; */
    border-radius: 15px;
}

.chat_header_selected{
    position: fixed;
    z-index: 7;
    top: 173px;
    display: flex;
    width: 1024px;
    height: 80px;
    border-bottom: solid;
    border-width: 1px;
    border-color: #4E7FFF;
    background: #fff;
}

.chat_header_selected a{
    display: flex;
    width: 1024px;
    height: 80px;
    text-decoration: none;
    color: #000;
}

.chat_header_selected a div{
    display: flex;
    width: 870px;
    height: 80px;
    margin: 0px 15px;
    overflow: hidden;
}

.chat_header_selected a div img{
    margin: 0 0 0 15px;
}

.chat_header_selected a div p{
    font-size: 25px;
    text-align: left;
    margin: 15px 5px 5px 15px;
}

.moder_mess{
    width: 280px;
    height: 60px;
    font-size: 30px;
    color: #fff;
    font-weight: bold;
    border-radius: 15px;
    background-color: #4e7fff;
    border: none;
    display: flex;
    padding-top: 10px;
    justify-content: space-around;
    text-decoration: none;
}

.moder_mess span{
    background-color: #fff;
    height: 40px;
    margin-left: 15px;
    padding: 0px 8px;
    border-radius: 25px;
}

.group_select{
    width: 350px; 
    margin: auto 10px;
    font-size: 25px;
    font-weight: bold;
    color: #608cff;
    display: flex;
}

.messages_arrow_counter{
    top: 900px;
    color: #0029cf;
    font-size: 35px;
    position: absolute;
    left: 930px;
    width: 55px;
    height: 55px;
    display: flex;
    background-color: #ffffff;
    border: #0029cf;
    transition: 1s;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border-radius: 150px;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.5);
}

#date-popup{
    position: absolute;
    top: 175px;
    left: 425px;
    display: block;
    background: rgba(60, 117, 255, 0.6);
    color: rgb(255, 255, 255);
    padding: 5px 20px;
    border-radius: 25px;
    font-size: 45px;
    transition: opacity 0.5s ease; /* Плавный переход */
    opacity: 1; /* Начальное состояние */
}
#date-popup.hidden {
    opacity: 0; /* Скрытое состояние */
}


/* форма для отправки жалобы*/

.report-modal {
    display: none; /* Скрыто по умолчанию */
    position: fixed; /* Остаётся на месте */
    z-index: 255; /* Располагается перед другими элементами */
    left: 0;
    top: 0;
    width: 100%; /* Полная ширина */
    height: 100%; /* Полная высота */
    overflow: auto; /* Включает прокрутку, если необходимо */
    background-color: rgb(0,0,0); /* Цвет фона */
    background-color: rgba(0,0,0,0.4); /* Прозрачный чёрный фон */
}

.report-modal-content {
    position: absolute;
    bottom: 100px;
    left: 50px;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    width: 900px;
    height: 700px;
}

.close {
    position: relative;
    color: #4d7dff;
    float: right;
    font-size: 80px;
    font-weight: bold;
    cursor: pointer;
    top: -25px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.report_mess_title_text{
    position: relative;
    color: #4d7dff;
    float: left;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    top: 0px;
    left: 15px;
}

.report-modal-content form{
    width: 880px;
    height: 600px;
    font-style: normal;
    font-weight: 400;
    font-size: 50px;
    line-height: 30px;
    display: flex;
    align-items: center;
    color: #0044F4;
    margin: 25px 10px 5px 10px;
    text-decoration: none;
    justify-content: flex-start;
    background-color: #E9EFFF;
    border: solid;
    border-width: 1px;
    border-radius: 15px;
    border-color: #dedede;
    flex-direction: column;
    padding: 0;
    text-align: left;
}

.report-modal-content form textarea{
    width: 840px;
    height: 300px;
    font-size: 40px;
    margin: 20px auto;
}

.report-modal-content form label{
    margin: 15px 0 0 0;
    text-align: left;
    width: 840px;
}


#report-form-${messageId} {
    display: flex;
    flex-direction: column;
}

#report-form-${messageId} label {
    margin-bottom: 10px;
}

#report-form-${messageId} textarea {
    height: 100px;
    margin-bottom: 20px;
}

.submit-report {
    width: 850px !important;
    left: 0 !important;
    top: 0 !important;
}

.share-modal {
    display: none; /* Скрыто по умолчанию */
    position: fixed; /* Остаётся на месте */
    z-index: 255; /* Располагается перед другими элементами */
    left: 0;
    top: 0;
    width: 100%; /* Полная ширина */
    height: 100%; /* Полная высота */
    overflow: auto; /* Включает прокрутку, если необходимо */
    background-color: rgb(0,0,0); /* Цвет фона */
    background-color: rgba(0,0,0,0.4); /* Прозрачный чёрный фон */
}

.share-modal-content {
    position: absolute;
    bottom: 250px;
    left: 50px;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    width: 900px;
    height: 350px;
}

.social-icons{
    margin: 50px 20px 20px 20px;
    width: 800px;
}

.social-icons a img{
    width: 100px;
    margin: 0 50px 0 0;
}

.copy-link{
    width: 580px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 20px 20px 100px;
    border-radius: 15px;
    border: none;
    background-color: #4d7dff;
    color: #ffffff;
}

.copy-link p{
    font-size: 40px;
    margin-right: 30px;
}


}