@font-face {
    font-family: "MyriadProRegular";
    src: url("./fonts/MyriadProRegular.eot");
    src: url("./fonts/MyriadProRegular.eot?#iefix") format("embedded-opentype"),
    url("./fonts/MyriadProRegular.woff") format("woff"),
    url("./fonts/MyriadProRegular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

*{
    scrollbar-color: #444 #7c7c7c;
    scrollbar-width: thin;
}
*::-webkit-scrollbar {
  width: 10px;
}
*::-webkit-scrollbar-track {
  background: #f1f1f1;
}
*::-webkit-scrollbar-thumb {
  background: #888;
}
*::-webkit-scrollbar-thumb:hover {
  background: #555;
}


html, body {
    height: 100vh;
    padding: 0;
    margin: 0;
    font-size: 19px; /*Увеличил шрифт rem*/
    background-color: #454545;
    color: white;
    font-family: "MyriadProRegular";
}
input {
    background-color: transparent;
}

input:focus {
    outline: none;
}
textarea {
    cursor: auto;
}

body {
    display: flex;
    flex-direction: column;
}

.main {
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}

#loader {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #555555;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-label-btn {
    min-width: 136px;
    text-align: center;
    margin: auto;
    padding: 8px 5px;
    background: #6c757d;
    border-radius: .3rem;
    cursor: pointer;
}

.map_btn {
    padding: 5px 20px;
    background: #44aadd;
    display: block;
    margin: 20px auto 0;
    border: none;
    border-radius: 0.3em;
    color: #1c1c1c;
}

.bott_nav {
    padding: 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    background-color: #383838;
}

.bott_nav.bott_nav_header {
    height: 40px;
}

.bott_nav.bott_nav_header .navbar {
    margin-bottom: 0;
    padding: 0;
}

.bott_nav.bott_nav_header .cent_menu {
    width: 1000px;
}

.bott_nav.bott_nav_bottom {
    height: 50px;
}

.cent_menu .nav_menu {
    padding-right: 0;
}

.cent_menu .nav_menu,
.cent_menu .nav_menu > ul {
    height: 100%;
}

.cent_menu .nav_menu li.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.bott_nav .nav-item {
    width: 25%;
    text-align: center;
    margin: 0;
    height: 100%;
}

.nav-item {
    color: #d9d9d9;
}

.bott_nav.bott_nav_header .nav-item, .bott_nav.bott_nav_header .nav-item:last-child {
    border: none;
    margin: 0;
    list-style: none;
}

.icon::after {
    content: url(/web/img/sportapp/add.png);
}

.chat_ib .stretched-link {
    color: white;
    font-size: 16px;
    padding: 5px 0;
    width: 30px;
    height: 100%;
    background-image: url(/web/img/sportapp/mess.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px;
}

.bott_nav .nav-link {
    color: white;
    font-size: 16px;
    padding: 8px 0;
    display: block;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 25px;
}

.bott_nav .m_map a {
    background-image: url(/web/img/sportapp/mapp.png);
}

.bott_nav .m_cab a {
    background-image: url(/web/img/sportapp/cab.png);
}

.bott_nav .m_mess a {
    background-image: url(/web/img/sportapp/mess.svg);
}

.bott_nav .m_map a.active {
    background-image: url(/web/img/sportapp/mapp-act.png);
}

.bott_nav .m_cab a.active {
    background-image: url(/web/img/sportapp/cab-act.png);
}

.bott_nav .m_mess a.active {
    background-image: url(/web/img/sportapp/mess-act.png);
}

/* .bott_nav .nav-link.active i { */
    /*    color: #2d8bf3;*/
/* } */

.top_nav_one.main_page_nav {
    justify-content: flex-end;
    height: 60px;
    align-items: center;
}

.top_nav_one.navbar-light .navbar-toggler {
    border-color: black;
    border-width: 1px;
    background: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    padding: 1px 10px;
}

.top_nav_one.navbar-light .navbar-toggler.filter-toggler, .top_nav_one .btn {
    padding: 7px 12px;
}

.filter-map-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 21px;
    z-index: 1;
    padding: 7px 12px;
}

.point_down{
    position: absolute;
    right: 10px;
    z-index: 1;
    bottom: 10px;
    font-size: 30px;
    padding: 8px 14px;
}
.point_down:focus{
    outline: none;
}

.map-btn_white{
    border: none;
    background: #fff;
    box-shadow: 0 1px 2px 1px rgba(0,0,0,.15), 0 2px 5px -3px rgba(0,0,0,.15);
    line-height: 1;
    color: #666666;
    border-radius: .25rem;
    cursor: pointer;
}

@media (max-width: 1200px) {
    .map-btn_white{
        background: rgb(255 255 255);
    }
}

.butt_settings {
    background: rgba(255, 255, 255, 0.6);
}

.nav_title {
    border-right: 2px solid #d6d6d6;
    font-size: 30px;
    color: #3e3e3e;
    border-left: 2px solid #d6d6d6;
    height: 100%;
}

.all_mers .close_mers {
    border-radius: 50px;
    height: 38px;
}

.all_mers .modal-title {
    padding-left: 15px;
}

.mer_main_list_in {
    height: 200px;
}

.mer_all_list {
    flex-grow: 1;
}

.mer_blk {
    position: relative;
    background-color: rgba(255, 255, 255, 0.93);
    margin: 0;
    margin-bottom: 2px;
    height: auto;
}

#mer_all_list .mer_blk {
    margin-bottom: 2px;
}

.mer_blk:nth-child(even) {
    background-color: rgba(245, 245, 245, 0.93);
}

.mer_blk .mer_name, .mer_blk .mer_dist {
    padding: .8em 20px;
    margin: auto 0;
    color: #212529;
}

.mer_list_part {
    text-align: center;
    padding: .8em 20px;
    margin: auto 0;
    color: #212529;
    border-top: 1px #212529;
}

.modal-content {
    color: #212529;
}

.mer_blk .mer_name {
    border-right: 1px solid black;
}

#mer_all_list .mer_blk .mer_name {
    padding: .8em 10px;
}

.mer_blk .mer_dist {
    text-align: center;
}

.mer_blk .mer_img {
    margin: auto;
    padding: 10px;
    padding-left: 20px;
}
.mer_blk .mer_img>img{
    height: 80px;
    object-fit: cover;
    width: 100%;
}
.scroll {
    overflow-y: scroll;
}

.main_page_row {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

#mer_all_list {
    z-index: 90;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

}
#mer_all_list>div{
    max-width: 1000px;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    height: 100%;
    max-height: 570px;
    display: flex;
    flex-direction: column;
}
#mer_all_list .mer_all_btns{
    display: flex;
    justify-content: space-between;
    padding: 5px 10px;
}
#mer_all_list .mer_all_btn{
    border: 1px solid #000;
    background: rgba(255, 255, 255, 0.8);
    padding: 9px 14px;
    position: initial;
    color: #000;
    border-style: solid;
    line-height: 1;
    border-radius: .25rem;
}

.main_page_row .mer_main_list {
    position: absolute;
    width: 100%;
}

.mer_btn_all {
    width: 100%;
    border: none;
    border-radius: 0;
    color: #ffffff;
    background-color: #6c757d;
    max-height: 50px;
    margin: 5px 0;
}

.mer_btn_all:hover {
    color: #ffffff;
    background-color: #5a6268;
    border-color: #545b62;
}

.adstring {
    /*background-color: white;*/
    background: url("https://thumbs.gfycat.com/FloweryUnripeEquestrian-size_restricted.gif") 100% 100%;
    width: 100%;
    height: 60px;
    z-index: 90;
    margin-top: 2px;
}

.chat, .chat_ib .stretched-link {
    position: relative;
    color: white;
}

.chat_name {
    display: inline-block;
    margin: auto 0;
    color: white;
    font-weight: 300;
    font-size: 1rem;
}

.chat_btns {
    display: flex;
    align-items: center;
    padding: 0 5px;
}

.chat_btns > button {
    height: fit-content;
}

.chat_btns > button:first-child {
    margin-right: 20px;
}

.chat_count {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    font-size: 14px;
    line-height: 2.3em;
    font-weight: bold;
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding-bottom: 10px;
}

.no-messages, .no-notification{
    color: white;
    text-align: center;
    padding: 20px;
}

.stretched-link .chat_count {
    left: 0;
    top: 5px;
}

.bott_nav i, .stretched-link i {
    font-size: 24px;
    color: white;
}

.mer_people_count {
    font-size: 28px;
}

.carousel-wrap-img{
    background: rgba(0,0,0,29%);
}
.carousel-wrap-img>img{
    width: 100%;
    height: 500px;
    object-fit: cover;
}

@media (max-width: 670px) {
    .chat_btns {
        margin-top: 15px;
        width: 100%;
        justify-content: center;
    }
    .chat_btns > button{
        width: 100%;
    }
    .carousel-wrap-img>img{
        height: 300px;
    }
    .h1{
       font-size: 2rem;
    }
    .h2{
       font-size: 1.5rem;
    }
    .main-footer {
        display: none;
    }
}

.main_page_row .mer_main_list {
    display: block;
    position: relative;
    width: 100%;
}

@media (min-width: 1201px) {
    .container.main_content.regiser_page, .container.main_content.mer_page {
        margin-bottom: 5rem !important;
    }

    .main_page_row .mer_main_list_in .col-3 {
        text-align: center;
    }
}

/*---------chat window---------------*/
.container {
    max-width: 900px;
}

.container.main_content {
    width: 1000px !important;
    max-width: 100%;
    /*margin-top: 0;*/
    /*padding-bottom: 65px;*/
    /*margin-bottom: 0 !important;*/
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.regiser_page h4 {
    margin-top: 5rem;
}

.sign-up-btn button {
    width: 85%;
}

.social-btns{
    margin-top: 5px ;
    display: flex;
    justify-content: center;
}
.social-btns .social-btn-wrapper > button {
    padding: 7px;
}

.social-btns .social-btn-wrapper > button > svg {
    width: 30px;
}

.social-btn-wrapper{
    background-color: #353535;
    border-radius: 50%;
}

.modal-srch .close_srch {
    border-radius: 50px;
    height: 38px;
    width: 38px;
    margin-right: 15px;
    padding: 0;
    line-height: 14px;
}

.modal-srch .close_srch>i {
    margin: -2px;
}

.cabinet_activities_list {
    z-index: 10;
}

.main-content {
    z-index: 98;
}

.tab-content-srch {
    margin-top: 25px;
}

.nav-tabs-srch a {
    color: #6c757d;
}

.nav-tabs-srch a:hover {
    opacity: 0.4;
}

.nav-tabs-srch .active {
    border-bottom: 1px solid #6c757d;
}

body.chat_page {
    height: auto;
    background-color: #383838;
}

.chat_page .main_content {
    padding: 0;
    margin-bottom: 0 !important;
    margin-top: 120px;
}

.inbox_header {
    position: fixed;
    display: flex;
    height: 50px;
    width: 100%;
    left: 0;
    top: 0;
    background-color: #383838;
}

/* @media (min-width: 1200px) {
    .inbox_header {

    }
} */

.inbox_people {
    float: left;
    overflow: hidden;
    width: 100%;
}

.inbox_msg {
    clear: both;
    overflow: hidden;
}

.top_spac {
    margin: 20px 0 0;
}

.recent_heading {
    float: left;
    width: 40%;
}

.srch_bar {
    display: inline-block;
    text-align: right;
    width: 60%;
}

.headind_srch {
    padding: 10px 29px 10px 20px;
    overflow: hidden;
    border-bottom: 1px solid #c4c4c4;
}

.recent_heading h4 {
    color: #0465ac;
    font-size: 16px;
    margin: auto;
    line-height: 29px;
}

.srch_bar input {
    outline: none;
    border: 1px solid #cdcdcd;
    border-width: 0 0 1px 0;
    width: 80%;
    padding: 2px 0 4px 6px;
    background: none;
}

.srch_bar .input-group-addon button {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: medium none;
    padding: 0;
    color: #707070;
    font-size: 18px;
}

.srch_bar .input-group-addon {
    margin: 0 0 0 -27px;
}

.chat_ib h5 {
    font-size: 15px;
    color: #464646;
    margin: 0 0 8px 0;
}

.chat_ib h5 span {
    font-size: 13px;
    float: right;
}

.chat_ib p {
    font-size: 12px;
    color: #989898;
    margin: auto;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat_ib {
    float: left;
    padding: 0 0 0 16px;
    flex: 6;
}

.chat_people {
    overflow: hidden;
    clear: both;
    display: flex;
    flex-wrap: wrap;
}

.chat_list {
    display: block;
    min-height: 80px;
    margin: 0;
    margin-bottom: 5px;
    padding: 18px 50px 10px;
    position: relative;
    background-color: #6b6b6b
}

@media (max-width: 1023px) {
    .chat_list {
        padding: 15px 12% 15px;
    }
}

.chat_link {
    position: absolute;
    width: 100%;
    height: 75px;
    left: 0;
    top: 0;
    z-index: 50;
}

.chat_img .chat_img_mark img::after{
    top: 0;
    content: "";
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-image: url("/web/img/sportapp/not_found_avatar.jpg");
    background-position: center;
    background-size: contain;

}

.chat_img .chat_img_mark img::before {
    content: "";
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: rgb(107, 107, 107);
}

.chat_img_mark{
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.chat_img {
    margin: auto;
    float: left;
    flex: 1;
    position: relative;
}

.chat_img img {
    width: 100%;
    height:100%;
    object-fit: cover;
}

.chat_img_mark.chat_online:after {
    position: absolute;
    right: 0;
    content: "";
    height: 15%;
    background-color: lawngreen;
    border-radius: 50%;
    display: block;
    width: 15%;
    bottom: 0;
}

.chat-search {
    padding: 0;
    height: 70px;
}

.filter-messages {
    width: 100%;
   /* height: 35px;*/
    line-height: 35px;
    padding: 5px 100px 7px 100px;
    border: none;
    background-image: url(/web/img/sportapp/filter-bg.png);
    background-repeat: no-repeat;
    background-position: 62px 10px;
    background-size: 30px;
    color: #ffffff;
    margin-bottom: 5px;
}

.filter-messages::-moz-placeholder {
    color: #6c757d;
}

.filter-messages::-webkit-input-placeholder {
    color: #6c757d;
}

.filter-messages:-ms-input-placeholder {
    color: #6c757d;
}

.filter-messages::-ms-input-placeholder {
    color: #6c757d;
}

.filter-messages::placeholder {
    color: #6c757d;
}

.inbox_chat {
    height: auto;
    position: relative;
    color: #212529;
}

.inbox_chat_merop {
    max-height: 400px;
    width: 100%;
    background-color: rgba(56, 56, 56, 0.50);
    display: flex;
    flex-direction: column;
    min-height: 30vh;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.inbox_chat_merop::-webkit-scrollbar-track {
  background: transparent;
}



.message_single .inbox_chat {
    margin-top: 50px;
}

.active_chat {
    background: #e8f6ff;
}

.incoming_msg_img {
    display: inline-block;
    width: 6%;
}

.incoming_msg_img img {
    width: 100%;
}

.received_msg {
    display: inline-block;
    padding: 0 0 0 10px;
    vertical-align: top;
    width: 92%;
}

.received_withd_msg p {
    background: #ebebeb none repeat scroll 0 0;
    border-radius: 0 15px 15px 15px;
    color: #646464;
    font-size: 14px;
    margin: 0;
    padding: 5px 10px 5px 12px;
    width: 100%;
}

.time_date {
    color: #747474;
    display: block;
    font-size: 12px;
    margin: 8px 0 0;
}

.received_withd_msg {
    width: 77%;
}

.mesgs {
    float: left;
    padding: 30px 15px 0 25px;
    width: 100%;
}

.sent_msg p {
    background: #0465ac;
    border-radius: 12px 15px 15px 0;
    font-size: 14px;
    margin: 0;
    color: #fff;
    padding: 5px 10px 5px 12px;
    width: 100%;
}

.outgoing_msg {
    overflow: hidden;
    margin: 26px 0 26px;
}

.sent_msg {
    float: right;
    width: 77%;
}

.input_msg_write input {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: medium none;
    color: #4c4c4c;
    font-size: 15px;
    min-height: 48px;
    width: 100%;
    outline: none;
}

.type_msg {
    border-top: 1px solid #c4c4c4;
    position: relative;
}

.msg_send_btn {
    background: #05728f none repeat scroll 0 0;
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    height: 33px;
    position: absolute;
    right: 0;
    top: 11px;
    width: 33px;
}

.messaging {
    padding: 0;
    background-color: #383838;
    margin-right: -15px;
    margin-left: -15px;
}

.msg_history {
    height: 350px;
    overflow-y: auto;
}

/* chat-single */
.back_btn{
    padding: 5px;

}
.back_btn:focus{
    box-shadow: none;
}
.back_btn>svg {
    width: 25px;
    fill: #939393;
}
.back_btn:hover>svg{
    fill: #fff;
}

.message_single {
    background-color: #383838e3;
}

.message_input {
    /* position: absolute; */
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    padding: 14px;
    border-radius: 0;
    background-color: #595959;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 1199px) {
    .message_input {
        bottom: 93px;
    }
}

.message_text {
    font-size: 22px;
}

.smiles_list{
    position: absolute;
    transform: translateY(calc(-100% - 10px));
    background: #fff;
    height: 200px;
    width: 290px;
    display: none;
    padding: 5px;
}

.smiles_list::after {
    content: "";
    position: absolute;
    bottom: -18px;
    left: 20px;
    border: 8px solid transparent;
    border-top: 10px solid #ffffff;
}

.smiles_list_wrap{
    flex-wrap: wrap;
    display: flex;
    overflow: auto;
}

.smiles_list_wrap>div{
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.smiles_list_wrap>div:hover{
    background: silver;
}

.hover+.smiles_list,.smiles_list.hover{
    display: flex;
}

.message_smiles, .message_text {
    border: none;
    border-radius: 0;
    background-color: white;
}

.message_smiles i {
    color: #383838e3;
    font-size: 23px;
}

.message_smiles:hover i {
    color: black;
    text-decoration: none;
}

.message_smiles__border:after {
    content: '';
    position: absolute;
    border-right: 1px solid #383838;
    height: 30px;
    right: 1px;
    top: 9px;
}

.message_text:focus, textarea {
    box-shadow: inset 0 -1px 0 #ddd;
}

.mess_butt {
    margin-right: 0;
}

.mess_butt .message_smiles {
    padding-left: 17px;
    padding-right: 15px;
}

.message_list {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0px 25px 25px;
}

@media (max-width: 1199px) {
    .message_list {
        padding: 0px 20px 25px;
    }
}

@media (max-width: 400px) {
    .message_list {
        padding: 0px 5px 25px;
    }
}

.message {
    padding: 10px 10px;
    display: flex;
    font-size: 18px;
}

.message_in, .message_out {
    position: relative;
    margin-bottom: 0;
    max-width: 65%;
    padding: 10px;
    text-align: left;
}

.message_in {
    margin-left: 12px;
    margin-right: auto;
    background-color: white;
    word-break: break-word;
}

.message_in span, .message_out span {
    display: block;
    font-size: 12px;
    color: #5a6268;
}

.message_out {
    margin-right: 18px;
    margin-left: auto;
    background-color: #dcdcdc;
    word-break: break-word;
}

.message_out:after, .message_in:before {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    top: 0;
    bottom: auto;
    border: 14px solid transparent;
}

.message_in:before {
    left: -13px;
    right: auto;
    border-top: 23px solid white;
    border-right: 0px solid white;
}

.message_out:after {
    right: -13px;
    left: auto;
    border-top: 23px solid #dcdcdc;
    border-left: 0px solid #dcdcdc;
}

.message_avatar {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
}

.message_avatar::after{
    top: 0;
    content: "";
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-image: url("/web/img/sportapp/not_found_avatar.jpg");
    background-position: center;
    background-size: contain;
}

.message_avatar::before {
    content: "";
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #383838;
}

@media (max-width: 1023px) {
    .modal-dialog.modal-dialog-centered.modal_chat {
        margin-left: 0;
        margin-right: 0;
    }
}

.curr_chat .modal-content {
    border-radius: 0;
    border: 0;
}

.curr_chat .modal-content .modal-body {
    padding-right: 0;
    padding-left: 0;
}

.curr_chat .modal-content .modal-body .container {
    padding-right: 0;
    padding-left: 0;
}

.curr_chat .modal_chat {
    max-width: 800px;
}

.chat.in_mess .far {
    position: relative;
}

.chat.in_mess .far:after {
    display: block;
    content: '';
    height: 7px;
    width: 7px;
    position: absolute;
    right: -2px;
    top: 0;
    background-color: red;
    border-radius: 15px;
}

body.auth_page {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #f5f5f5;
}

.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
}

.form-signin .checkbox {
    font-weight: 400;
}

.form-signin .form-control {
    position: relative;
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    font-size: 16px;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.datepicker-here {
    background: #fff url(/web/img/sportapp/calendar.png) 1% 50% no-repeat;
    padding-left: 20px;
    cursor: pointer;
}

/* activities list */
#mer_all_list, #activities_btn {
    display: none;
}


.tab-pane {
    transition: 0.2s;
}

.cabinet_activities_list {
    margin-top: 12px;
    margin-bottom: 12px;
    justify-content: center;
}

#cabinet_activities .mer_blk {
    color: black;
}

#cabinet_activities .nav-pills .nav-link {
    color: white;
}

#cabinet_activities .nav-pills .nav-link.active {
    background-color: #6c757d;
}

/** user page */
/*.sports {
      text-align: center;
}*/

.header-nav,.nav_tabs {
    width: 100%;
    padding: 15px 0;
    justify-content: center;
}

@media (max-width: 1199px) {
    .header-nav {
        background-color: #383838;
        justify-content: space-between;
        height: 50px;
        padding: 0 15px;
        align-items: center;
    }
}

.header-nav a, .nav_tabs a,
.header-nav a.active, .nav_tabs a.active {
    text-transform: uppercase;
    cursor: pointer;
}

.top_nav_one {
    padding: 15px 15px;
}

.header-nav .nav-link.active, .nav_tabs .nav-link.active, .nav-pills .show > .nav-link {
    background-color: transparent;
    color: #ebebeb;
}

.header-nav .nav-link, .nav_tabs .nav-link {
    border-radius: 0;
    font-family: "MyriadProRegular";
    padding-top: 4px;
    padding-bottom: 0px;
    color: #a4a4a4;
}

.header-nav .nav-link.active, .nav_tabs .nav-link.active {
    /* color: #007bff; */
    position: relative;
}

.header-nav .nav-link.active:after, .nav_tabs .nav-link.active:after {
    display: block;
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: #ebebeb;
    left: 0;
    bottom: -2px;
}

@media (min-width: 1200px) {
    .chat_page .nav_tabs .back_btn {
        display: none;
    }
}

@media (max-width: 1199px) {
    .header-nav .nav-link {
        margin: 0 auto;
    }
}

.header-nav button, .nav_tabs button {
    margin-left: 0;
}

@media (max-width: 450px) {
    html, body {
        font-size: 16px;
    }
    .header-nav {
        padding: 0 10px;
    }
    .header-nav .nav-link, .nav_tabs .nav-link {
        font-size: 14px;
    }
}

.cabinet_avatar {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cabinet_avatar::after{
    top: 0;
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-image: url("/web/img/sportapp/not_found_avatar.jpg");
    background-position: center;
    background-size: contain;
}

.cabinet_avatar::before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #595959;
}

/* .pointer.delete::after{
    content: "";
    width: 50px;
    height: 50px;
    display: block;
} */

.cabinet_name {
    width: 100%;
    margin: auto 10px auto 5%;
    font-family: "MyriadProRegular";
    max-width: 400px;
}
.cabinet_name>*{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cabinet_friend{
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cabinet_info-top{
    position: relative;
}

#menu__toggle {
    display: none;
}

.menu-btn-mobile{
    user-select: none;
    width: 25px;
    height: 25px;
    position: absolute;
    top: 13%;
    right: 4.5%;
}

.menu__btn {
    transition: .2s;
    margin: 0;
    position: relative;
    width: 25px;
    height: 25px;
    cursor: pointer;
    z-index: 1;
}
.menu__btn > span{
    transition: .2s;
    position: absolute;
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
}
.menu__btn > span:last-of-type{
    top: 20px;
}
.menu__btn > span:nth-child(2){
    top: 10px;
}

.menu__box {
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    visibility: hidden;
    background-color: gray;
    right: 5%;
    margin: 0;
    padding: 10px 0;
    z-index: 95;
    list-style: none;
    text-align: center;
}

.menu__item {
    display: block;
    padding: 0 40px;
    color: white;
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
  }
  .menu__box .menu__item:hover {
    background-color: #555555;
  }
  .menu__item:hover.delete{
      background-color: #c72d2d;
  }

  #menu__toggle:checked ~ .menu__btn > span:first-of-type {
    transform: rotate(45deg);
    top: 10px;
  }
  #menu__toggle:checked ~ .menu__btn > span:nth-child(2){
   transform: rotate(45deg);
  }
  #menu__toggle:checked ~ .menu__btn > span:last-of-type {
    transform: rotate(-45deg);
    top: 10px;
  }

#menu__toggle:checked ~ .menu__box {
    visibility: visible;
}

.person-action{
    padding: 13% 5%;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 25px;
}
.person-action div{
    text-align: center;
    line-height: 11px;
    font-size: 10px;
    width: 60px;
}

.cabinet_info-top .person-action>svg{
    width: 35px;
    fill: #88cf8a;
}
.cabinet_info-top .person-action>svg.delete{
    fill: #e45959;
}
.cabinet_info-top .person-action>svg.pointer{
    cursor: pointer;
}
.cabinet_info-top .person-action>svg.pointer:hover{
    fill: #dddddd;
}
.cabinet_info-top .person-action>svg.delete:hover{
    fill: #f94f4f;
}
@media (max-width: 860px) {
    .cabinet_name {
        max-width: 320px;
    }
}
@media (max-width: 800px) {
    .chat_list{
        padding: 15px 7% 15px;
    }
}

@media (max-width: 770px) {
    .cabinet_friend{
        width: 420px;
        margin: auto;
        justify-content: flex-end;
    }
    .cabinet_info-top{
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .cabinet_name h5 {
        font-size: 20px;
    }

    .cabinet_name p {
        font-size: 17px;
    }

    .sign-up-btn button {
        width: 100%;
    }
}

.cabinet_info-top {
    padding: 13% 5%;
    background-color: #595959;
    height: auto;
    color: #d9d9d9;
}
.cabinet_info-top.meCabinet {
    justify-content: center;
}
.cabinet_info-top.meCabinet .cabinet_name{
    width: auto;
}

@media (min-width: 1200px) {
    .cabinet_info-top {
        padding: 8% 5%;
    }
}

@media (max-width: 1199px) {
    .cabinet_info-top {
        margin-top: 10px;
    }
}

.cabinet_info-extra {
    font-family: "MyriadProRegular";
    padding: 50px 35px 50px;
    color: #d9d9d9;
    font-size: 18px;
}

.cabinet_info-extra > div > p {
    margin-bottom: 6px;
}

@media (max-width: 770px) {
    .wer_where > div {
        margin: auto;
    }

    .wer_where > h5 {
        text-align: center;
    }
}

@media (max-width: 500px) {
    .cabinet_friend{
        justify-content: center;
        margin-top: 10px;
    }
    .cabinet_name{
        max-width: none;
        text-align: center;
        margin: auto 10px;
    }
    .cabinet_info-top.meCabinet .cabinet_name{
        width: 100%;
    }

    .mer_blk .mer_img {
        padding: 3px;
    }

    .mer_blk .mer_name {
        padding: .8em 8px;
    }

    .filter-messages{
        padding: 5px 60px 7px 70px;
        background-position: 30px 10px;
    }
}

.fr_sld {
    margin: 0 10px;
    height: auto !important;
    background: #6a6a6a;
    display: block;
    padding: 5px;
    border-radius: 5px;
}

.fr_sld:focus {
    outline: none;
}
.fr_sld:hover {
    text-decoration: none;
    background: #848484;
}
.fr_sld > .img-box {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
    width: 100%;
    margin-bottom: 10px;
}

.fr_sld > .img-box > img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.fr_sld > .img-box > img::after{
    top: 0;
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    /* border-radius: 50%; */
    background-repeat: no-repeat;
    background-image: url("/web/img/sportapp/not_found_avatar.jpg");
    background-position: center;
    background-size: contain;
}

.fr_sld > p {
    color: #e9e9e9;
    margin-bottom: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 12px;
    padding: 0 10px;
}

@media (min-width: 767px) {
    .fr_sld > p {
        font-size: 14px;
    }
}

.fr_avatar {
    width: 100%;
    margin-bottom: 10px;
}

.cab_friends {
    width: 100%;
}

.cab_friends_slds {
    margin-top: 15px;
}

#resultSearch .modal-box-find {
    max-height: 70vh;
    overflow-y: auto;
    min-height: 30vh;
}

.modal-search-profile {
    display: flex;
    padding: 10px 10px;
    margin-bottom: -1px;
    align-items: center;
    justify-content: flex-start;
}

.modal-search-profile + .modal-search-profile {
    border-top: 1px solid #dee2e6;
}

.modal-search-profile > .img-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.modal-search-profile > .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-search-profile > .text-box {
    flex: auto;
    padding: 0 20px;
    text-align: left;
    font-size: 1rem;
}

.modal-search-profile > .text-box > p {
    margin: 0;
}

.main-footer {
    padding: 10px 6px;
    text-align: center;
    color: #fff;
}

.feedback-container {
    margin-top: 7px;
}

.feedback{
    padding: 5px 10px;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    background-color: #4f4f4f;
    font-size: 17px;
}

.feedback:hover{
    color: white;
    text-decoration: none;
}

@media (max-width: 400px) {
    .chat_list {
        padding: 15px 4% 15px;
    }
}

@media (max-width: 360px) {
    .modal-search-profile {
        flex-direction: column;
    }
    .cab_friends{
        width: calc(100% + 20px);
        margin-left: -10px;
        margin-right: -10px;
    }
}

.map_page>.main_page_row>#map{
    position: relative;
    flex: 1;
    max-height: 760px;
    overflow: hidden;
}
.top_nav_one.none_padd{
    padding: 0;
}
.nav-link.chat{
    position: relative;
}
.nav-link.chat>.count-cart{
    padding: 2px;
    height: 15px;
    min-width: 15px;
    align-items: center;
    justify-content: center;
    display: flex;
    background: #fd7335;
    font-size: 9px;
    border-radius: 10px;
    color: #fff;
    right: 10px;
    top: 4px;
    position: absolute;
}
.nav-link.chat>.count-cart-mobile{
    position: absolute;
    display: block;
    font-size: 13px;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link.chat>.count-cart.count-chat,
.nav-link.chat>.count-cart.count-event{
    right: 2px;
}
.nav-link.chat>.count-cart:empty {
    display: none;
}

.button_none {
    border: none;
    background: none;
    outline: none;
}
.button_none:focus{
    outline: none;
}

.word-break{
    word-break: break-word;
}

.overflow-y-none {
    overflow-y: hidden;
}

.nav-link.chat {
    position: relative;
    display: flex;
    align-items: center;
}

.open_list_participants{
    text-align: center;
    cursor: pointer;
}
.text-decor-none{
    text-decoration: none;
}
.text-decor-none:hover{
    text-decoration: none;
}

.gray{
    color: #979797;
}
.reg_lnk,
.reg_lnk:hover{
    color: #56a4f8;
}

.event-parameters .row {
    text-align: left;
}

.vizit-price {
    background-color: rgba(0,0,0,0.3);
}

.vizit-price.free {
    color: #0cbf1a;
}

.text-muted{
    /* font-weight: 700; */
    font-size: 16px;
    color: rgb(144, 144, 144) !important;
}

.my-friends{
 font-size: 18px;
 color: white !important;
 font-weight: 500;
}

.cabinet_info-top .chat_img_mark,
.meCabinet .chat_img_mark {
    width: 100px;
    height: 100px;
}

.location{
    margin-bottom: 0 !important;
}

.choose_on_map{
    margin-top: -20px;
    margin-bottom: 0 !important;
}

#create h5 span{
    color: #ff3535;
    opacity: 0.8;
}

.message .chat_img_mark .message_avatar::before{
    background-color: #454545;
}

.chat-header{
    display: flex;
}

.chat-header > a {
    display: flex;
}

.participants{
    display: flex;
    flex-wrap: wrap;
}

.participant{
    width: 50%;
    min-width: 130px;
    padding-bottom: 20px;
}

.participant > a{
    display: flex;
    align-items: center;
}

.participant > a > img{
    width: 40px;
    height: 40px;
}

.participant a > span{
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    padding-left: 10px;
}

#invite{
    background-color: #0465ac;
    border: none;
}

#delete{
    background-color: #ff3535;
    border: none;
}

#decline {
    background-color: #e05434;
    border: none;
}

#confirm {
    background-color: #34b7f9;
    border: none;
}

#write{
    background-color: #4ebb51;
    border: none;
}

.participants_sub_title {
    color: #AAA;
    margin-bottom: 0;
    line-height: 0;
}

.address-container{
    font-size: 16px;
    margin: auto;
    cursor: pointer;
    color: rgba(255,255,255,0.7);
}

.address-container:hover{
    text-decoration: underline;
}

.address-container > span:first-of-type{
    margin-right: 10px;
}

@media (min-width: 1200px){
    .mobile-only {
        display: none;
    }
}

.create-evt-btn {
    margin-bottom: 30px;
}

.create-evt-btn a {
    display: block;
    text-decoration: none!important;
    color: #fff;
}

.reg-evt-days {
    margin: 20px 0 40px;
}

.reg-evt-days--hidden {
    display: none;
}

.reg-evt-days .reg-evt-day-select {
    font-size: 18px;
    max-width: 340px;
    margin: auto;
}

.reg-evt-days .day-input {
    margin: 30px 0 0;
}

.reg-evt-days .start-time-title {
    white-space: nowrap;
}

.reg-evt-days .add-btn-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.reg-evt-days .add-evt-day {
    font-size: 17px;
    padding: 6px 14px;
}

.err-inp-anim {
    box-shadow: 0px 0px 0px 3px rgba(255, 0, 0, 1);
}

.reg-evt-days .chosen-days {
    margin: 40px 0 0;
}

.reg-evt-days .days-table {
    max-width: 540px;
    margin: auto;
    font-size: 17px;
}

.reg-evt-days .days-table tbody tr {
    transition: background-color 0.2s;
    color: #fff;
}

.reg-evt-days .days-table th {
    width: 100%;
    padding: 8px;
    border: 1px solid #fff;
    background-color: #fff;
    color: #454545;
}

.reg-evt-days .days-table td {
    width: 50%;
    padding: 10px;
    border: 1px solid #fff;
    background-color: transparent;
}

.reg-evt-days .days-table .row-selected {
    background-color: rgba(255, 255, 255, 0.32);
}

@media (min-width: 1024px) {
    .reg-evt-days .days-table tbody tr:hover {
        cursor: pointer;
    }

    .reg-evt-days .days-table tbody tr:not(.row-selected):hover {
        background-color: rgba(255, 255, 255, 0.15);
    }
}

.reg-evt-days .chosen-days--hidden {
    display: none;
}

.reg-evt-days .chosen-days-del {
    margin-top: 25px;
}

.reg-evt-days .del-evt-day {
    font-size: 17px;
    padding: 6px 14px;
}

.advert-modal {
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.advert-block {
    max-width: 600px;
    min-width: 420px;
    min-height: 180px;
    position: relative;
    padding: 10px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: #d9a930;
}

.advert-modal .close-btn {
    position: absolute;
    top: 0;
    right: 0;
    border-top-right-radius: 8px;
    min-width: 45px;
    padding: 10px 6px;
    text-align: center;
    background-color: #000;
    color: #fff;
}

@media (min-width: 1024px) {
    .advert-modal .close-btn {
        cursor: pointer;
    }
}

.close-preloader {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 17px;
}
.close-preloader:after {
    content: " ";
    display: block;
    position: absolute;
    top: -3px;
    left: 1px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.5s linear infinite;
}
@keyframes lds-dual-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
}

.advert-modal--hidden {
    display: none;
}

.reg-evt-days-data .days {
    max-width: 620px;
    min-width: 290px;
    margin: 25px auto 10px;
    font-size: 19px;
}

.reg-evt-days-data .days th {
    width: 100%;
    padding: 8px;
    border: 1px solid #fff;
    background-color: #fff;
    color: #454545;
}

.reg-evt-days-data .days td {
    width: 50%;
    padding: 10px;
    border: 1px solid #fff;
    color: #fff;
    background-color: transparent;
}

@media (max-width: 992px) {
    .reg-evt-days .reg-evt-time-inp {
        max-width: 240px;
        margin: auto;
    }

    .reg-evt-days .time-inp-col {
        margin-top: 20px;
    }

    .reg-evt-days .add-btn-wrapper {
        margin-top: 30px;
    }

    .reg-evt-days-data .days {
        max-width: 500px;
    }
}

@media (max-width: 576px) {
    .reg-evt-days .reg-evt-day-select {
        font-size: 18px;
        max-width: 60%;
        min-width: 270px;
    }
    .reg-evt-days .reg-evt-time-inp {
        max-width: 35%;
        min-width: 240px;
    }
    .reg-evt-days .days-table {
        max-width: 75%;
    }

    .reg-evt-days-data .days {
        max-width: 75%;
        font-size: 17px;
    }
}

@media (max-width: 480px) {
   .advert-block {
        max-width: 75%;
        min-width: 45%;
   }

   .reg-evt-days-data .days {
    max-width: 85%;
    font-size: 16px;
}
}

.user-join {
    position: relative;
}
.user-join::before {
    content: url("../../img/sportapp/accept.svg");
    display: block;
    position: absolute;
    z-index: 10;
    left: -5px;
    top: 0;
}

.user-deny {
    position: relative;
}
.user-deny::before {
    content: url("../../img/sportapp/deny.svg");
    display: block;
    position: absolute;
    z-index: 10;
    left: -5px;
    top: 0;
}

.user-no-decide {
    position: relative;
}
.user-no-decide::before {
    content: url("../../img/sportapp/no-decide.svg");
    display: block;
    position: absolute;
    z-index: 10;
    left: -5px;
    top: 0;
}
