@font-face {
    font-family: 'Okta Neue';
    src: url('fonts/OktaNeue-Regular.woff2') format('woff2'),
        url('fonts/OktaNeue-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
#game-content {
    width: calc(100% - 280px) !important;
    height: 100%;
}
body.no-chat .chat-wrapper {
    display: none !important;
}
body.no-chat #game-content {
    width: 100% !important;
}
body {
    font-family: Arial, sans-serif;
}
.body-scroll-y {
    overflow-y: auto;
}
.chat-wrapper{    
    font-family: "Okta Neue";
    background: #161819;
    color: #fff;
    margin: 0 auto;
    display: block;
    align-items: center;
    position: fixed;
    max-width: 280px;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 850;
}
.chat-container{
    height: calc(100% - 35px);
}
.emoji-gif-search{
    padding-left: 16px;
    font-size: 13px;
    width: 100%;
    background: unset;
    resize: none;
    max-height: 100%;
    color: #fff;
    line-height: 2;
    border: none;
    outline: none!important;
    margin: 0;
    box-sizing: border-box;
}
/* Chat Header */
.header {
    padding: 5px 10px;
}


/* Chat Display Start */
.messages-container {
    height: calc(100% - 96px);
    width: calc(100% - 5px);
    margin: 0;
    padding-top: 10px;
    font-size: 13px;
    line-height: 13px;
    overflow-x: hidden;
    /* overflow-y: scroll!important; */
    margin: 0 5px;
    -webkit-overflow-scrolling: touch!important;
}
.chat-display{
    margin: auto;
    max-width: 360px;
}
.win-info-wrapper {
    border-radius: 6px
}

.win-info-wrapper {
    border-width: 1px;
    border-color: rgb(0, 0, 0);
    border-style: solid;
    border-radius: 17px;
    background-image: -moz-linear-gradient( -51deg, rgb(22,24,25) 0%, rgb(12,115,210) 100%);
    background-image: -webkit-linear-gradient( -51deg, rgb(22,24,25) 0%, rgb(12,115,210) 100%);
    background-image: -ms-linear-gradient( -51deg, rgb(22,24,25) 0%, rgb(12,115,210) 100%);
    padding: 8px 0px;
}

.gif-wrapper .img-wrapper {
    margin: 4px 10px 0 30px
}

.gif-wrapper .img-wrapper .img-container {
    border-radius: 6px;
    overflow: hidden
}

.gif-wrapper .img-wrapper .img-container .img {
    height: auto;
    max-width: 100%;
    border-radius: 5px;
}

.msg-wrapper {
    min-height: 30px;
    padding-bottom: 3px;
}

.mb-2, .my-2 {
    margin-bottom: 10px!important;
}
.message-wrapper {
    display: flex;
    padding: 0 10px 0 10px;
    align-items: center;
}

.message-wrapper .avatar-block {
}

.message-wrapper .avatar-block .avatar {
    min-width: 28px;
    min-height: 28px;
    max-width: 28px;
    max-height: 28px;
    border-radius: 50%
}
.message-wrapper .avatar-block .avatar-text {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.message-wrapper .msg-block {
    padding: 5px 0px 5px 5px;
    width: 100%;
}

.message-wrapper .msg-block.msg-block-typ-header {
    padding: 2px 10px 5px 5px
}

.message-wrapper .msg-block .header-wrapper {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between
}

.message-wrapper .msg-block .header-wrapper .reply-mobile-wrapper {
    display: inline-block;
    width: 60px;
    position: absolute;
    top: -16px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0
}

.message-wrapper .msg-block .header-wrapper .reply-wrapper {
    display: none
}

.message-wrapper .msg-block .msg-data .text {
    margin-top: 3px;
    word-break: break-word
}

.message-wrapper .msg-block .msg-data .text .reply {
    color: #fff
}

.message-wrapper .msg-block .msg-data .text .reply-me {
    color: #e50539
}

.message-wrapper .msg-block .msg-data .text .emoji {
    font-size: 24px
}

.name-wrapper {
    margin-right: 6px;
    align-items: center
}
.header-text-wrapper{
    font-weight: bold;
    line-height: 1.2;
}

.name-wrapper .name {
    font-size: 16px;
    color: rgb(143, 132, 191);
    font-weight: bold;
    text-align: center;
}

.position-absolute {
    position: absolute!important;
}
.wrapper::before{
    content: "";
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0), rgb(255 255 255), rgba(0, 0, 0, 0));
    margin-bottom: 7px;
}
.wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    font-size: 11px
}

.wrapper .header {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    height: auto;
}

.wrapper .header .date {
    margin-top: 3px;
    font-size: 13px
}

.wrapper .user {
    text-align: center;
    font-size: 14px;
    color: #fff;
    padding: 10px 0 20px
}

.wrapper .user .avatar {
    margin-left: 2px;
    width: 22px;
    height: 22px
}

.wrapper .info-blocks {
    display: flex;
    justify-content: space-between;
    padding: 0px 20px;
}
.wrapper .info-blocks:first-child{
    margin-bottom: 25px;
}
.wrapper .info-blocks .info-block {
    width: 50%;
    font-size: 12px;
    justify-content: flex-start;
    display: flex;
    flex-direction: column;
}

.wrapper .info-blocks .info-block .title-info-block {
    display: flex;
    align-items: center;
    /* height: 14px; */
    color: #8de4ff;
    font-weight: bold;
    margin-bottom: 4px;
}
.wrapper .info-blocks:first-child .info-block .title-info-block {
    margin-bottom: 8px;
}

.wrapper .info-blocks .info-block .info-data {
    display: flex;
    justify-content: left;
    align-items: center;
    /* height: 14px; */
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 0px 0px black, -1px 0px 0px black, 0px 1px 0px black, 0px -1px 0px black;
}
.wrapper .info-blocks .info-block .info-data .winnng-info-data{
    color: rgb(227, 185, 29);
    font-weight: bold;
    text-shadow: 1px 0px 0px black, -1px 0px 0px black, 0px 1px 0px black, 0px -1px 0px black;
}

.wrapper .info-blocks .info-block.info-block-right .title-info-block,
.wrapper .info-blocks .info-block.info-block-right .info-data {
    justify-content: flex-end;
    text-align: right;
}


.withdrawal-info-data{    
    border-radius: 30px;
    padding: 3px 10px;
    min-width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 16px;
}
.withdrawal-info-data.gui_win_super{
    background: linear-gradient(180deg, rgba(253,251,0,1) 0%, rgba(255,163,0,1) 50%, rgba(255,132,0,1) 100%);
}
.withdrawal-info-data.gui_win_mega{
    background: linear-gradient(90deg, rgb(48,86,191) 0%, rgb(48,86,191) 50%, rgb(92,126,212) 100%);
}
.withdrawal-info-data.gui_win_big{
    background: linear-gradient(90deg, rgba(98,10,226,1) 0%, rgba(110,11,217,1) 50%, rgba(125,12,204,1) 100%);
}
.withdrawal-info-data.normal{
    background: none;
}
.align-items-center {
    align-items: center!important;
}
.justify-content-center {
    justify-content: center!important;
}
.d-flex {
    display: flex!important;
}
.mr-1, .mx-1 {
    margin-right: 5px!important;
}
.mr-2, .mx-2 {
    margin-right: 10px!important;
}

.mt-2, .my-2 {
    margin-top: 10px!important;
}
.free-bet{
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    padding: 1px 7px;
    font-size: 10px;
    color: #f5a623;
    border: solid 1px #f5a623;
    border-radius: 11px
}
/* Chat Display Over */

#message-input {
    padding: 5px;
    margin: 7px 0 0 12px;
    border: 0;
    resize: none;
    width: calc(100% - 50px);
    display: block;
    height: 34px;
    font-size: 13px;
    color: #fff;
    line-height: 1;
    background: unset;
    position: relative;
    overflow: hidden;
    outline: none!important;
}
.message-input::before {
    content: "";
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0), rgb(255 255 255), rgba(0, 0, 0, 0));
    display: block;
}
.message-input {
    height: 67px;
    position: relative;
    z-index: 110;
    background-color: #161819;
    width: 100%;
}
.message-input-container{
    display: flex;
    align-items: center;
}

.message-input-container textarea {
    width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
}


.gif-results {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}

.gif-results img {
    width: 100px;
    height: 100px;
    margin: 5px;
    cursor: pointer;
}
.message-tools-container{
    color: #747474;
    display: flex;
    align-items: flex-end;
    font-size: 13px;
    padding: 0px 10px;
    position: relative;
}
#emoji-icon{
    width: 18px;
    height: 18px;
    background: url(smiley.svg) no-repeat center center/contain;
    cursor: pointer;
}
#gif-icon{
    width: 29px;
    height: 18px;
    margin-left: 5px;
    background: url(gif.svg) no-repeat center center/contain;
    cursor: pointer;
}
.left-length{
    margin-left: auto;
    margin-right: 5px;
    cursor: auto;
    line-height: 1;
}
#send-message-btn{
    border: none;
    background: url(enter.svg) no-repeat;
    background-size: contain;
    height: 16px;
    padding: 0;
    width: 11px;
    cursor: pointer;
}
.message-inserted{
    margin-bottom: 10px!important;
    display: flex;
    width: 100%;
    padding: 0 10px 0 8px;
    align-items: flex-start;
    border-radius: 8px;
    line-height: normal;

    border-radius: 17px;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 2px 10px 5px 4px;

    word-break: break-word;
    margin-top: 3px;
    color: #b1b7bd;
}
.emoji-category {
    font-weight: bold;
    margin-top: 10px;
}

/* Gif Emoji Picker Modal */
.gif-emoji-picker-modal{
    position: absolute;
    top: auto;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    height: auto;
    bottom: 74px;
    user-select: none;
}
.chat-loader{
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center; 
    max-height: calc(100vh - 130px);
}
.gif-loader{
    background: #1b1c1d;
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 223px;
}
.loader {
    border: 4px solid #000000;
    border-top: 4px solid #cb2025;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.picker-dialog{
    position: relative;
    pointer-events: none;
    left: auto;
    margin: 0 auto;
    height: 320px;
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
}
.picker-content{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 0.3rem;
    outline: 0;
    color: #fff;
    background: #1b1c1d;
    border: 0;
    border-radius: 8px;
    height: 100%;
}
.picker-header{
    min-height: 36px;
    max-height: 36px;
    border: 0;
    padding: 0 10px;
    height: 36px;
    align-items: center;
    font-size: 16px;
    background: #2c2d30;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    font-weight: 400!important;
}
.picker-title{
    text-transform: uppercase!important;
    margin-bottom: 0;
    line-height: 36px;
}
.search-wrapper{
    display: flex;
    align-items: center;
    min-height: 50px;
    max-height: 50px;
    padding: 0 10px;
    border-bottom: solid 1px #545454;
}
.input-wrapper{
    width: 100%;
    border-radius: 22px;
    background-color: #000;
    min-height: 30px;
    max-height: 30px;
    display: flex;
}
.close{
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    opacity: .5;
    padding: 0;
    margin: -30px 0px 0px 0px;
    cursor: pointer;
    color: #97a4ae;
    text-shadow: 0 1px 0 #97a4ae;
    background-color: transparent;
    border: 0;
}
.btn-close{
    float: right;
    padding: 0;
    cursor: pointer;
    background-color: transparent;
    border: 0;
}
.btn-close img{
    max-width: 38px;
}
.picker-body{
    display: flex;
    flex-direction: column;
    font-size: 14px;
    padding: 0!important;
    position: relative;
}


.emoji-gif-list{
    margin: 10px 0 0 5px !important;
    font-size: 13px;
    height: 100%;
    overflow-y: scroll;
}
.emoji-group{
    font-size: 18px;
}
.gif-group{
    width: calc(50% - 10px);
    height: 118px;
    padding: 5px;
}
.gif-preview{
    border-radius: 6px;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: transform 60ms ease-out 60ms;
}
.emoji-header{
    font-size: 14px;
    line-height: 19.5px;
}
.emoji-item{
    display: inline-table;
    text-align: center;
    width: 29px;
    line-height: 1.07;
    cursor: pointer;
    padding: 6px 6px 6px 6px;
    transition: transform 60ms ease-out 60ms;
}


.scroll-y {
    overflow-y: scroll !important;
    margin: 0 5px;
    -webkit-overflow-scrolling: touch !important
}

.scroll-restyle {
    scrollbar-color: transparent transparent !important;
    scrollbar-width: thin !important;
    -webkit-overflow-scrolling: touch !important
}

.scroll-restyle ::-webkit-scrollbar {
    width: 5px !important;
    background: transparent !important
}

.scroll-restyle ::-webkit-scrollbar-thumb {
    background: transparent !important;
    border-radius: 5px !important
}

.scroll-restyle .scroll-y {
    margin: 10px 0 0 5px;
    scrollbar-width: thin !important
}

.scroll-restyle .scroll-y:hover {
    scrollbar-color: rgba(0, 0, 0, .4) transparent !important
}

.scroll-restyle .scroll-y:hover::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .4) !important
}

/* Warnint tint */
.warning-tint{
    display: none;
    background-color: #D1D2D1;
    opacity: 0.6;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 999;
}

/* Mobile Chat */
body.mobile-chat #game-content {
    width: 100% !important;
}

body.mobile-chat  .chat-wrapper{
    max-width: 100% !important;
}

@media only screen and (max-height: 385px) {
    .picker-dialog{
        height: 290px;
    }
}
@media only screen and (max-width: 720px) {
    .message-tools-container {
        padding: 0px 18px;
    }
    .chat-container{
        height: calc(100% - 45px);
    }
}
