/*
.form-control.no-validate:valid {
    border-color: #ced4da;
    padding-right: .75rem;
    background: none;
}
*/
.widget .widget-header .titletools-date-range {
    display: inline-block;
    background: #fff;
    cursor: pointer;
    padding: 0 10px;
    border: 1px solid #ccc;
    line-height: 24px;
    min-width: 230px;
}

.login-page {
  display:flex;
  justify-content: center;
  align-items: center;
  height:90vh;
}

.login-form {
    width: 100%;
    max-width: 330px;
    padding: 25px;
    margin: 0 auto;
    background-color: #eee;
}

.admin h1 {
  padding-top:1rem;
  padding-bottom:.5rem;
  font-family: 'Montserrat';
  font-size: 28px;
  font-weight: 700;
}

.admin h2 {
  font-family: 'Montserrat';
  font-size: 22px;
  font-weight: 700;
}

.admin .navbar-brand {
  font-weight: 700;
}

.admin .dropdown-item {
    *padding: 0.5rem 1.5rem;
}

.admin .navbar-collapse {
  *padding:20px 5px;
}


.admin .table-hover tbody tr:hover {
    color: #212529;
    background-color: rgba(0,0,0,.02);
}

.admin .table-hover tbody tr.selected:hover {
    color: #fff !important;
    background-color: #0275d8 !important;
}

.admin .navbar-gribu {
  background-color: #7952b3;
  background: linear-gradient(0deg, rgba(170, 110, 213, 1) 0%, rgba(122, 73, 155, 1) 100%);
  color: #fff;
  box-shadow: inset 0px -3px 5px 0px rgba(0, 0, 0, 0.1);
}

.admin .navbar-xdate {
  background-color: #eb665b;
  background: linear-gradient(0deg, #eb665b 0%, #ff8d00 100%);
  color: #fff;
  box-shadow: inset 0px -3px 5px 0px rgba(0, 0, 0, 0.1);
}

.admin .navbar-escort {
  background-color: #75b643;
  background: linear-gradient(0deg, #75b86e 0%, #53a140 100%);
  color: #fff;
  box-shadow: inset 0px -3px 5px 0px rgba(0, 0, 0, 0.1);
}

.admin .navbar-xkumppani {
  background-color: #75b643;
  background: linear-gradient(0deg, #357ebd 0%, #34495e 100%);
  color: #fff;
  box-shadow: inset 0px -3px 5px 0px rgba(0, 0, 0, 0.1);
}

.admin .navbar-vip-popki {
  background-color: #E41407;
  background: linear-gradient(0deg, #EE3F35 0%, #E41407 100%);
  color: #fff;
  box-shadow: inset 0px -3px 5px 0px rgba(0, 0, 0, 0.1);
}

.admin .navbar-vip-popki-org {
  background-color: #E41407;
  background: linear-gradient(0deg, #EE3F35 0%, #E41407 100%);
  color: #fff;
  box-shadow: inset 0px -3px 5px 0px rgba(0, 0, 0, 0.1);
}

.admin .navbar-bbs {
  background: linear-gradient(to right, red, orange, #e5e522, green, #00aaaa, blue, violet);;
  color: #000;
  box-shadow: inset 0px -3px 5px 0px rgba(0, 0, 0, 0.1);
}

.admin .navbar-bbs .navbar-nav .nav-link {
    color: #fff;
}

.admin .navbar-bbs .navbar-nav .nav-link:hover {
    opacity: .7;
}

.admin .navbar-sexdraugiem {
    background-color: #FF822E;
    background: linear-gradient(0deg, #ff944b 0%, #FF822E 100%);
    color: #fff;
    box-shadow: inset 0px -3px 5px 0px rgba(0, 0, 0, 0.1);
}

.admin .navbar-gay-board {
    background-color: #075bb3;
    background: linear-gradient(0deg, #4bc0ff 0%, #075bb3 100%);
    color: #fff;
    box-shadow: inset 0px -3px 5px 0px rgba(0, 0, 0, 0.1);
}

.admin .navbar-intim-city {
    background-color: #E41407;
    background: linear-gradient(0deg, #EE3F35 0%, #E41407 100%);
    color: #fff;
    box-shadow: inset 0px -3px 5px 0px rgba(0, 0, 0, 0.1);
}

.admin .navbar-intim-dosug {
    background-color: #80559D;
    background: linear-gradient(0deg, rgba(170, 110, 213, 1) 0%, rgba(122, 73, 155, 1) 100%);
    color: #fff;
    box-shadow: inset 0px -3px 5px 0px rgba(0, 0, 0, 0.1);
}

.admin .navbar-dosugmoscow {
    background-color: #F18701;
    background: linear-gradient(0deg, #F18701 0%, #F18701 100%);
    color: #fff;
    box-shadow: inset 0px -3px 5px 0px rgba(0, 0, 0, 0.1);
}

.admin .navbar-prostitutki-piter {
    background-color: #075bb3;
    background: linear-gradient(0deg, #075bb3 0%, #075bb3 100%);
    color: #fff;
    box-shadow: inset 0px -3px 5px 0px rgba(0, 0, 0, 0.1);
}

.admin .navbar-intim-sibir {
    background-color: #2F80ED;
    background: linear-gradient(0deg, #2F80ED 0%, #2F80ED 100%);
    color: #fff;
    box-shadow: inset 0px -3px 5px 0px rgba(0, 0, 0, 0.1);
}

.admin .navbar-intim-sochi {
    background-color: #FF822E;
    background: linear-gradient(0deg, #FF822E 0%, #FF822E 100%);
    color: #fff;
    box-shadow: inset 0px -3px 5px 0px rgba(0, 0, 0, 0.1);
}

.admin .navbar-prostitutkirussia {
    background-color: #E41407;
    background: linear-gradient(0deg, #EE3F35 0%, #E41407 100%);
    color: #fff;
    box-shadow: inset 0px -3px 5px 0px rgba(0, 0, 0, 0.1);
}

.admin .navbar-want {
    background-color: #a67ee5;
    background: linear-gradient(0deg, rgb(188, 139, 224) 0%, rgb(153, 102, 189) 100%);
    color: #ffffff;
    box-shadow: inset 0px -3px 5px 0px rgba(0, 0, 0, 0.1);
}

.admin .navbar-klub {
    background-color: #44304f;
    background: linear-gradient(0deg, hsl(279, 24%, 70%) 0%, #44304f 100%);
    color: #fff;
    box-shadow: inset 0px -3px 5px 0px rgba(0, 0, 0, 0.1);
}

.admin .navbar-sexycommunity {
    background-color: #44304f;
    background: linear-gradient(0deg, hsl(279, 24%, 70%) 0%, #44304f 100%);
    color: #fff;
    box-shadow: inset 0px -3px 5px 0px rgba(0, 0, 0, 0.1);
}

.admin .navbar-nakentid {
    background-color: #a67ee5;
    background: linear-gradient(0deg, rgb(188, 139, 224) 0%, rgb(153, 102, 189) 100%);
    color: #ffffff;
    box-shadow: inset 0px -3px 5px 0px rgba(0, 0, 0, 0.1);
}


.admin .dropdown .dropdown-menu {

    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);

    -webkit-transition: max-height 0.3s, opacity 0.2s 0.1s, visibility 0s 0.3s;
    -moz-transition: max-height 0.3s, opacity 0.2s 0.1s, visibility 0s 0.3s;
    -ms-transition: max-height 0.3s, opacity 0.2s 0.1s, visibility 0s 0.3s;
    -o-transition: max-height 0.3s, opacity 0.2s 0.1s, visibility 0s 0.3s;
    transition: padding 0.3s, max-height 0.3s, opacity 0.2s 0.1s, visibility 0s 0.3s;

    max-height: 0;
    display: block;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    padding:0;
}

.admin .dropdown.show .dropdown-menu {
    -webkit-transition: max-height 0.3s, opacity 0.2s, visibility 0s;
    -moz-transition: max-height 0.3s, opacity 0.2s, visibility 0s;
    -ms-transition: max-height 0.3s, opacity 0.2s, visibility 0s;
    -o-transition: max-height 0.3s, opacity 0.2s, visibility 0s;
    transition: padding 0.3s, max-height 0.3s, opacity 0.2s, visibility 0s;

    *max-height: 190px;
    max-height: none;
    opacity: 1;
    visibility: visible;
    padding: .5rem 0;
}

.admin h1 i {
  font-weight: 400;
  font-style: normal;
}

.table td, .table th {
    padding: .2rem;
}
table.dataTable>tbody>tr.child ul.dtr-details>li {
    padding: 0.2rem 0;
}
table {
    font-size:.8rem;
}

.btn-group-sm>.btn, .btn-sm {
    padding: .1rem .1rem;
    font-size: 13px;
    line-height: 1.5;
    border-radius: .2rem;
}

.grid-chat-button {
    *background-color: rgb(122, 73, 155);
    *border-color: rgb(122, 73, 155);
    background-color: rgba(170, 110, 213, .1);
    border: 1px solid rgba(170, 110, 213, .6);
    border-radius: 4px;
    height: 26px;
    width: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left:15px;
}

.grid-chat-button .mobile {
    display: none;
}

.grid-chat-button:hover {
    background-color: rgba(170, 110, 213, 1)
}

.block-info-top>div a.grid-chat-button img {
    padding:0;
    margin:0;
}

.inline-hide480 {
    display: inline-block;
}


.gal-remove-comment {
    width:18px;
    height:18px;
    float:right;
}

.chat-delete-message {
    color:#000;
    font-weight: 800;
}

.chat-starter-text {
    padding:20px 20px;
    overflow-y: auto;
}

.chat-contacts-header-mobile {
    display: none;
}

.chat-back-button {
    display:none;
}

.chat-wrapper {
    background:#eff3f7;
    *margin:0 auto;
    *font-size:0;
    border-radius:  15px 15px 0 0;
    display: flex;
    position: relative;
    overflow: hidden;
    height: calc(100vh - 200px);
}

.chat-contacts {
    display: flex;
    flex: 0 0 260px;
    width:260px;
    background-color:#7A499B;
    font-size:15px;
    flex-flow:column;
    border-radius:  15px 15px 0 0;
}

/* width */
.chat-contacts ::-webkit-scrollbar {
    width: 10px;
}

/* Track */
.chat-contacts ::-webkit-scrollbar-track {
    background: #955ebb;
}

/* Handle */
.chat-contacts ::-webkit-scrollbar-thumb {
    background: #67338a;
}

/* Handle on hover */
.chat-contacts ::-webkit-scrollbar-thumb:hover {
    background: #9c5dc7;
}

.chat-contacts .chat-contacts-header{
    padding:30px 20px;
    border-radius: 15px;
}
.chat-contacts .chat-contacts-header input{
    width:100%;
    height:50px;
    line-height:50px;
    padding:0 50px 0 20px;
    background-color:#955ebb;
    border-radius:6px;
    color:#fff;
    background-image:url('../img/search-contact-icon.png');
    background-repeat:no-repeat;
    background-position:170px;
    background-size:40px;
    outline: none;
    border: 1px solid transparent;
    transition: border .3s;
}

.chat-contacts .chat-contacts-header input:focus {
    border: 1px solid #c979ff;
}
.chat-contacts .chat-contacts-header input::placeholder{
    color:#eee;
    opacity: 1;
    transition: opacity .3s;
}

.chat-contacts .chat-contacts-header input:focus::placeholder{
    opacity: 0;
}

.chat-contacts .chat-contacts-items{
    overflow-y:auto;
}
.chat-contacts .chat-contacts-item{
    display: flex;
    flex-flow: row;
    align-items: center;
    padding:10px 10px 10px 20px;
}
.chat-contacts .chat-contacts-item:hover{
    text-decoration: none;
    background-color:#9c5dc7;
}
.chat-contacts .chat-contacts-item.active{
    background-color:#67338a;
}

.chat-contacts .chat-contacts-item .chat-contacts-avatarcounter {
    position: relative;
}

.chat-contacts .chat-contacts-item .chat-contacts-avatarcounter img {
    margin-right:10px;
}

.chat-contacts-avatarcounter .chat-contacts-overlay {
    position: absolute;
    bottom:0;
    top:0;
    left:0;
    right:0;
    *z-index: 100;
}

.chat-contacts-avatarcounter .chat-contacts-notifnums {
    position: absolute;
    bottom:0;
    right:7px;
    min-width:20px;
    min-height:20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FF0081;
    border-radius: 50%;
    border: 1px solid #fff;
    font-weight: 600;
    color:#fff;
    font-size:12px;
    line-height:12px;
    padding-left:3px;
    padding-right:3px;
}

.chat-contacts .chat-contacts-item .chat-contacts-name{
    font-size:16px;
    color:#fff;
    font-weight:normal;
    *margin-bottom:5px;
    overflow-wrap: anywhere;
    line-height:17px;
}

.chat-contacts .offline {
    color:#999;
    font-size:12px;
}

.chat-contacts .online {
    color:#cfc;
    font-size:12px;
}


.chat-wrapper .status{
    width:8px;
    height:8px;
    border-radius:50%;
    display:inline-block;
}
.chat-wrapper .green{
    background-color:#58b666;
}
.chat-wrapper .orange{
    background-color:#ff725d;
}
.chat-wrapper .blue{
    background-color:#6fbced;
    margin-right:0;
    margin-left:7px;
}

.char-back-button {
    display:none;
}

.chat-text{
    flex: 1 1 auto;
    display:flex;
    flex-flow: column;
    font-size:15px;
    vertical-align:top;
}


.chat-text-header {
    height:110px;
    padding:20px 30px;
    display: flex;
    flex-flow: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.chat-text-header_admin {
    height: 65px;
}

.chat-text-header img:first-child{
    *width:66px;
    *margin-top:8px;
    margin-right:15px;
}

.chat-text-header > div{
    display: flex;
    flex: 1 1 auto;
    flex-flow:row;
    align-items: center;
}

.chat-text-header > div:last-child{
    justify-content: flex-end;
}

.chat-text-title b,
.chat-text-info b {
    font-weight: inherit;
}

.chat-text-title{
    font-size:16px;
    font-weight: 600;
    *margin-bottom:4px;
    white-space: nowrap;
}
.chat-text-info{
    font-size:14px;
    font-weight:normal;
    color:#7e818a;
}

.chat-field {
    margin:0;
    list-style-type:none;
    overflow-y:scroll;
    *height:535px;
    border-top:2px solid #fff;
    border-bottom:2px solid #fff;
    padding-left:0;
    padding-bottom: 20px;
    padding-top: 10px;
    flex: 1 1 auto;
}
.chat-field li{
    padding:10px 30px;
}

.chat-field .who {
    display:inline-block;
    font-size:13px;
    font-weight:normal;
    color:#999;
    margin-bottom:5px;
}
.chat-field .who b {
    color:#333;
}
.chat-field .message{
    padding:10px 20px;
    color:#fff;
    line-height:25px;
    max-width:90%;
    display:inline-block;
    text-align:left;
    border-radius:5px;
}
.chat-field .me{
    text-align:right;
}
.chat-field .you .message{
    background-color:#FFE6B6;
    color:#864209;
}
.chat-field .me .message{
    background-color:#6fbced;
}
.chat-field .triangle{
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px 10px;
}
.chat-field .you .triangle{
    border-color: transparent transparent #FFE6B6 transparent;
    margin-left:15px;
}
.chat-field .me .triangle{
    border-color: transparent transparent #6fbced transparent;
    margin-right: 19px;
    margin-left: auto;
}

.chat-text-footer{
    *height:155px;
    padding:20px 20px 20px 30px;
    display: flex;
    flex-flow: row;
    position: relative;
}

#chat-smiles-popup {
    position: absolute;
    bottom:8px;
    left:30px;
    width:calc(100% - 100px);
    border-radius:5px;
    background-color:#fff;
    transition: opacity .3s;
    padding:16px 7px 7px 7px;
    display: none;
    border: 1px solid #ddd;
    box-shadow: 0px 3px 17px -8px rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    overflow-x: auto;
    z-index: 100;
}
#chat-smiles-popup.opened {
    transition: opacity .3s;
}

#chat-smiles-popup img {
    width: 45px;
    height: 45px;
    opacity: 1;
    cursor: pointer;
}

.chat-text-footer textarea{
    resize:none;
    border: 1px solid transparent;
    display:flex;
    flex: 1 1 auto;
    *height:80px;
    border-radius:5px;
    padding:20px;
    font-size:13px;
    outline: none;
    transition: border .3s;
}

.chat-text-footer textarea:focus{
    border:1px solid #ccc;
}

.chat-text-footer textarea::placeholder{
    color:#ddd;
}

.chat-attach-buttons-mobile {
    display:none;
    padding-right:5px;
}

.chat-text-footer img{
    height:20px;
    *cursor:pointer;
    opacity: .5;
    margin-right: 5px;
    margin-bottom: 5px;
}

.chat-text-buttons-left {
    padding-right:5px;
    padding-top:5px;
    padding-bottom:2px;
    display: flex;
    flex-flow: column;
    align-items: center;
    flex: 0 1 auto;
    justify-content: space-between;
}

img.chat-smiles-button {
    height:40px;
    opacity: 1;
    cursor: pointer;
}

.chat-text-buttons {
    padding-left:10px;
    padding-top:5px;
    padding-bottom:2px;
    display: flex;
    flex-flow:column;
    align-items: center;
    flex: 0 1 auto;
    justify-content: space-between;
}

.chat-text-footer img.chat-send-button{
    opacity: .9;
}

.chat-text-footer a{
    display: flex;
    flex: 0 1 auto;
    text-decoration:none;
    *text-transform:uppercase;
    *font-weight:bold;
    *color:#6fbced;
}
.chat-text-footer a:hover img {
    opacity: .8;
}
.form-control.checkboxes-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    height: auto;
}
.form-control.checkboxes-list label {
    margin: 0 12px 0 4px;
}

.chat-contacts-button {
    display: none;
}

@media (max-width: 991px) {
  .login-page {
    height:auto;
    padding-top:25px;
  }
}

@media (max-width: 768px) {
    .chat-wrapper .chat-contacts-header {
        display: none;
    }

    .chat-close-button {
        max-width: 18px;
        max-height: 18px;
        cursor: pointer;
        margin-top: 10px;
        opacity: .7;
    }

    .chat-close-button:hover {
        opacity: 1;
    }

    .chat-avatar-mobile {
        cursor: pointer;
    }

    .chat-contacts {
        position: absolute;
        top: 0;
        bottom: 0;
        left: -100%;
        right: -100%;
        width: 100%;
        transition: left .3s, right .3s;
        z-index: 1;
    }

    .chat-contacts.opened {
        left: 0;
        right: 0;
        transition: left .3s, right .3s;
    }

    .chat-contacts-header-mobile {
        display: flex;
        color: #fff;
        padding: 10px 20px;
        *font-weight: 600;
        font-size: 20px;
        justify-content: space-between;
    }

    .chat-back-button {
        display: flex;
    }

    .chat-back-button img {
        max-height: 20px;
        padding-top: 5px;
        opacity: .5;
    }

    .chat-back-button img:hover {
        opacity: 1;
    }

    .chat-wrapper,
    .chat-contacts {
        border-radius: 0;
    }

    .dropzone .dz-preview.dz-image-preview .dz-details {
        opacity: .7;
    }

    .dropzone .dz-ms.dz-preview .dz-details img {
        width: 30px;
    }
}

@media (max-width: 480px) {
    #chat-smiles-popup {
        left: 78px;
    }

    .grid-chat-button {
        background-color: inherit;
        border: none;
        margin-left:0;
        justify-content: flex-end;
    }

    .grid-chat-button:hover {
        background-color: inherit;
    }

    .grid-chat-button .mobile {
        display: flex;
    }

    .grid-chat-button .desktop {
        display: none;
    }

    .mobile-chat-wrapper {
        display: flex;
        flex: 1 1 auto;
        width: 100%;
    }

    .mobile-chat-wrapper.container {
        padding: 0;
    }

    .chat-text-footer img {
        margin-bottom: 2px;
    }

    .chat-attach-buttons-mobile {
        display:flex;
    }

    .chat-attach-buttons-desktop {
        display:none;
    }

    .chat-contacts .chat-contacts-name {
        line-height: 20px;
    }
    .chat-contacts .chat-contacts-item {
        line-height: 20px;
    }
    .chat-contacts .chat-contacts-item img {
        height: 40px;
    }

    .chat-field {
        margin:0;
        list-style-type:none;
        overflow-y:scroll;
        *height:535px;
        border-top:2px solid #fff;
        border-bottom:2px solid #fff;
        padding-left:0;
        padding-bottom: 20px;
        padding-top: 10px;
        margin-top:53px;
        flex: 1 1 auto;
    }

    .chat-field li {
        padding: 4px 10px;
    }

    .chat-field .who {
        margin-bottom: 1px;
        *padding-top: 10px;
    }

    .chat-field .message {
        padding: 5px 15px;
        line-height: 21px;
    }

    .chat-text-header {
        height: auto;
        padding:5px 10px 8px 10px;
        position: fixed;
        background:#eff3f7;
        width: 100%;
    }

    .chat-text-title b,
    .chat-text-info b {
        display: none;
    }

    .chat-text-header >div>img {
        height:40px;
        margin-right: 10px;
    }

    .chat-text-info {
        font-size:13px;
        line-height: 13px;
    }

    .chat-text-footer {
        padding:10px 10px 10px 10px;
        align-items: center;
    }

    .chat-text-footer textarea {
        padding: 6px 10px;
        min-height: 42px;
        height: 42px;
        font-size: 17px;
    }

    .chat-wrapper {
        *height: calc(100vh - 45px);
        flex: 1 1 auto;
    }

    .chat-container {
        padding: 0;
    }

    .chat-container h1 {
        display: none;
    }

    .chat-container .widget-header {
        padding: 15px;
    }

    .chat-container .chat-menu {
        margin-bottom: 0;
    }

    .chat-wrapper {
        height: calc(100vh - 124px);
    }

    .chat-container .chat-contacts-button.chat-contacts-button_mobile {
        display: inline-block;
    }
}
