.video-msg {
    padding: 10px;
    width: 100%;
}

.open-new-ticket-panel .faq-title, .open-new-ticket-panel .faq-title-detail {
    background: none;
    color: #222;
    height: auto;
    margin-bottom: 30px;
    text-align: left;
    margin-top: 10px;
    font-size: 17px;
}

.panel-default {
    border: none;
}

#faq .panel-title.collapsed, #faq .panel-title {
    background: #fff;
}

span.accordion-title {
    color: #323232;
}

span.accordion-addicon {
    border-left: 1px solid #f0f0f0;
    font-size: 16px;
    color: #999;
}

.search-form {
    margin: 20px 0;
}

.search-form h3 {
    text-align: center;
    font-weight: normal;
    margin-bottom: 20px;
}

#kb-search .cover-search-faq .form-group {
    padding: 0;
}

.user_profile_main .box-content {
    border-radius: 7px;
}

.top-content {
    margin-bottom: 40px;
}

.top-content .quick-chat {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.top-content .quick-chat a {
    display: flex;
}

.top-content h1 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 25px;
}

.top-content .quick-chat .chat-icon {
    width: 60px;
    height: 50px;
}

.top-content .quick-chat .chat-content {
    max-width: calc(100% - 60px);
    flex: 0 0 100%;
}

.top-content .quick-chat .chat-title {
    font-weight: bold;
    font-size: 17px;
    margin-bottom: 5px;
}

.top-content .quick-chat .chat-desc {
    color: #666;
}

.top-content .quick-chat .chat-icon div {
    width: 34px;
    height: 50px;
}

.top-content .quick-chat .chat-icon .chat-account {
    background: url(../img/icon-account.png) no-repeat top left /100%;
}

.top-content .quick-chat .chat-icon .chat-payment {
    background: url(../img/icon-payment.png) no-repeat top left /100%;
    width: 45px;
}

.top-content .quick-chat .chat-icon .chat-other {
    background: url(../img/icon-other.png) no-repeat top left /100%;
}

#popular_ticket {
    padding-top: 40px;
}

#popular_ticket .cover-search-faq input {
    /* background: url(../img/icon-search.png) no-repeat 12px 10px / 15px , #fff!important;
    padding-left: 40px; */
}

.faq-cover-game .faq-title {
    font-weight: lighter;
    margin-top: 20px;
    font-size: 27px;
}

#faq .panel-title.collapsed span.accordion-number {
    background: none;
}

#faq .panel-title.collapsed span.accordion-number b {
    text-indent: -9999px;
    background: url(../img/icon-info.png) no-repeat top left / 14px;
    top: 60%;
    left: 12px;
}

span.accordion-title {
    padding: 7px 20px 7px 0;
}

#faq .accordion-cover-content {
    background: #fff;
}

.panel-default > .panel-heading {
    border-bottom: 1px solid transparent;
}

#faq .panel-title span.accordion-number {
    width: auto;
}

#faq .panel-title[aria-expanded="true"] span.accordion-number span {
    bottom: -16px;
    top: auto;
}

#faq .panel-title[aria-expanded="true"] span.accordion-number span {
    left: 12px;
    border: 8px solid #74bd42;
    border-color: rgb(117, 191, 67) rgba(0, 0, 0, 0) rgba(116, 189, 66, 0);
}

.header #logo {
    width: 110px;
}

#header {
    height: 52px;
}

#search-top, .header .user {
    margin-top: 0;
    padding: 8px 0;
}

.user-ticket label, .user-ticket .label {
    font-weight: 400;
}

.cmd-info .table {
    margin-bottom: 0;
}

.open-new-ticket-panel .subject.h3 {
    color: #222;
}

.cmd-info {
    background: none;
    border-radius: 0;
    padding: 15px 0;
}

.chat-detail .chat-msg {
    max-width: 110%;
}

.chat-msg .msg-header {
    font-size: 10px;
}

.chat-msg .msg-header h6 {
    margin-top: 0;
    margin-bottom: .35rem;
}

.chat-msg .msg-header .msg-time {
    font-size: 10px;
    color: #c4c4c4;
    padding-left: 10px;
    font-weight: normal;
}

.chat-msg .inner-msg {
    padding: 6px 10px;
    color: #303e67;
    display: inline-block;
    margin-bottom: 0;
    border-radius: 20px;
    background-color: #f1f0f0;
    word-break: break-word;
}

.chat-detail .media {
    margin-top: 0;
    margin-bottom: 15px;
}

.chat-detail .reverse {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.chat-detail .media.reverse .media-body {
    margin-left: 0;
    text-align: right;
    max-width: 80%;
}

.chat-detail .media.reverse .media-body .chat-msg .inner-msg {
    margin-left: 0;
    margin-right: 0px;
    background: #5798FF;
    color: #fff;
}

.chat-detail {
    height: 550px;
    overflow-y: auto;
}

.box-content-chat {
    background: #fff;
    position: relative;
    overflow: hidden;
}

.open-new-ticket-panel #reply {
    background-color: rgba(0, 0, 0, .05);
    border-radius: 20px;
    padding: 10px 80px 15px 15px;
    margin-bottom: 15px;
}

.open-new-ticket-panel #multilineinput {
    min-height: 50px;
    outline: none;
    word-wrap: break-word;
    max-width: calc(100% - 100px);
    flex: 0 0 100%;
    padding-left: 10px;
    margin-left: 100px;
}

.open-new-ticket-panel #multilineinput:hover {
    outline: none;
}

.open-new-ticket-panel #reply {
    position: relative;
    padding-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
}

.open-new-ticket-panel .update_role {
    position: absolute;
    top: 10px;
    left: 15px;
}


.open-new-ticket-panel .btn-update-role {
    border: none;
    background: none;

    /* height: 24px; */
    display: block;
    cursor: pointer;
    /* background: url(../img/menu.svg) no-repeat top left / 100%; */
    color: #5798FF;
    border: 1px solid #5798FF;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 13px;
}

.open-new-ticket-panel .btn-update-role.active {
    /* 
    background: url(../img/close.png) no-repeat center center / 12px, #1091BC;
    text-indent: -9999px;
    border-radius: 50%;
    opacity: 1;
    */
}

@media (max-width: 767px) {
    .open-new-ticket-panel .update_role {
        top: -35px;
        left: 0;
        width: 100%;
        text-align: center;
    }

    .open-new-ticket-panel .btn-update-role {
        background: #fff;
    }
}

.open-new-ticket-panel .btn-update-role svg {
    fill: #888;
}

.open-new-ticket-panel .btn-update-role:hover svg {
    fill: #1091BC;
}


.open-new-ticket-panel .attach-btn {
    position: absolute;
    left: 10px;
    top: 18px;
    border: none;
    color: #999;
    font-size: 20px;
}

.open-new-ticket-panel .attach-btn:hover, .open-new-ticket-panel .attach-btn:active {
    color: #1091BC;
    outline: none;
}

.open-new-ticket-panel .send-reply {
    position: absolute;
    right: 10px;
    top: 10px;
    color: #999;
    border: none;
    background: none;
}

.open-new-ticket-panel .send-reply .icon-send {
    display: block;
    width: 24px;
    height: 24px;
    background: url(../img/icon-send-none.png) no-repeat top left / 100%;
    float: left;
    margin-right: 10px;
    margin-top: -2px;
}

.send-reply:hover, .send-reply:active, .send-reply.active {
    color: #1091BC;
}

.send-reply:hover .icon-send, .send-reply:active .icon-send, .send-reply.active .icon-send {
    background: url(../img/icon-send.png) no-repeat top left / 100%;
}

.user_profile_main .heading-box {
    border-bottom: 1px solid #e5e5e5;
}

.cmd-cover-control > a {
    color: #333;
}

.cmd-cover-control a.action-button {
    border-left: none;
}

.open-new-ticket-panel {
    padding: 0;
}

.heading-box .title.no-bg {
    background: none !important;
    color: #111;
    font-size: 17px;
    text-transform: none;
}

.heading-box .title.no-bg .ticket_id {
    font-size: 12px;
    color: #888;
}

.inner-msg p {
    margin-bottom: 0;
}

.inner-msg a {
    color: #5798FF;
    text-decoration: underline;
}

.chat-detail .media:first-child {
    margin-top: 15px;
}

.user_profile_main .cmd-cover-control {
    margin-top: 18px;
    display: flex;
}

.user_profile_main .cmd-cover-control a {
    font-size: 18px;
    padding: 0 10px;
    color: #999;
}

.user_profile_main .cmd-cover-control a.active {
    color: #1091BC;
}

.alert {
    padding: 5px 10px;
    border-radius: 20px;
}

.cmd-info .ticket-info h5 {
    color: #999;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.ticket-info .ticket-info-user .list-info:after {
    content: "";
    display: block;
    width: 100%;
    clear: both;
}

.ticket-info .ticket-info-user .list-info .info-content {
    float: right;
    font-weight: bold;
}

.open-new-ticket-panel {
    border-right: 1px solid #e5e5e5;
    padding-right: 30px;
}

/* .user_profile .content-main{
    border:1px solid #e5e5e5;
} */
.cover-search {
    margin-top: 30px;
}

.mt-30 {
    margin-top: 30px;
}

.pag nav {
    float: left;
    width: 100%;
    text-align: center;
}

.pagination > li > a, .pagination > li:last-child > a, .pagination > li:first-child > a, .pagination > li > span, .pagination > li:last-child > span, .pagination > li:first-child > span {
    padding: 5px 12px;
    border-radius: 0;
    margin-right: 0;
}

#view-tickets .pagination > li > a, .pagination > li:last-child > a, #view-tickets .pagination > li:first-child > a, .pagination > li > span, #view-tickets .pagination > li:last-child > span, .pagination > li:first-child > span {
    border: 1px solid #ddd;
}

.login_block {
    background: #fff;
}

.login_block #gamota_logo {
    text-align: center;
}

.login_block h3 {
    text-align: center;
    font-size: 15px;
    font-weight: normal;
    color: #313131;
    font-size: 17px;
}

.login_block .acc-footer {
    margin-top: 15px;
}

.msg-name {
    font-weight: normal;
    color: #999;
    margin-top: 0;
    margin-bottom: 0;
}

.widget-wrap {
    margin-bottom: 0px;
    padding: 15px;
}

.widget-wrap .widget-container {
    margin-top: 10px;
}

.cover-search-faq .input-group {
    width: 100%;
    position: relative;
}

.cover-search-faq .input-group button {
    width: 40px;
    height: 38px;
    background: url(../img/icon-search.png) no-repeat center center / 17px 17px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    text-indent: -9999px;
    z-index: 3;
}

.cover-search-faq .input-group button:active {
    outline: none;
}

#view-tickets .table-hover > tbody > tr > td a {
    color: #333;
}

.j-forms .unit {
    margin-bottom: 10px;
}

.chat-detail {
    padding-bottom: 40px;
}

.chat-close {
    text-align: center;
    margin-bottom: 15px;
}

.chat-close .inner-msg {
    display: inline-block;
    background: #e6e6e6;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 12px;
    text-align: center;
    color: #959595;
}

.attach_file {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.attach_file .files {
    margin-right: 5px;
}

.attach_file .files label {
    width: 50px;
    height: 50px;
    display: block;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #ccc;
    text-align: center;
    line-height: 50px;
    color: #777;
    cursor: pointer;
    margin-bottom: 0;
}

.attach_file .files input {
    display: block;
    width: 0;
    height: 0;
    visibility: hidden;
}

.chat-msg .inner-msg .post_image {
    display: flex;
    flex-wrap: wrap;
    margin: -4px -8px;
}

.chat-msg .inner-msg .post_image a {
    width: 120px;
    height: 120px;
    margin: 2px;
    border-radius: 17px;
    display: block;
    overflow: hidden;
}

input, select {
    font-size: 100%;
}

@media screen and (device-aspect-ratio: 2/3) {
    select, textarea, input[type="text"], input[type="password"],
    input[type="datetime"], input[type="datetime-local"],
    input[type="date"], input[type="month"], input[type="time"],
    input[type="hidden"], input[type="number"], input[type="email"],
    input[type="url"] {
        font-size: 16px;
    }
}

/* Fix Input Zoom on iPhone 5, 5C, 5S, iPod Touch 5g */
@media screen and (device-aspect-ratio: 40/71) {
    select, textarea, input[type="text"], input[type="password"],
    input[type="datetime"], input[type="datetime-local"],
    input[type="date"], input[type="month"], input[type="time"],
    input[type="hidden"], input[type="number"], input[type="email"],
    input[type="url"] {
        font-size: 16px;
    }
}

/* Fix Input Zoom on iPhone 6, iPhone 6s, iPhone 7  */
@media screen and (device-aspect-ratio: 375/667) {
    select, textarea, input[type="text"], input[type="password"],
    input[type="datetime"], input[type="datetime-local"],
    input[type="date"], input[type="month"], input[type="time"],
    input[type="hidden"], input[type="number"], input[type="email"],
    input[type="url"] {
        font-size: 16px;
    }
}

/* Fix Input Zoom on iPhone 6 Plus, iPhone 6s Plus, iPhone 7 Plus, iPhone 8, iPhone X, XS, XS Max  */
@media screen and (device-aspect-ratio: 9/16) {
    select, textarea, input[type="text"], input[type="password"],
    input[type="datetime"], input[type="datetime-local"],
    input[type="date"], input[type="month"], input[type="time"],
    input[type="hidden"], input[type="number"], input[type="email"],
    input[type="url"] {
        font-size: 16px;
    }
}

.bell {
    display: block;
    -webkit-animation: ring 4s .7s ease-in-out infinite;
    -webkit-transform-origin: 50% 4px;
    -moz-animation: ring 4s .7s ease-in-out infinite;
    -moz-transform-origin: 50% 4px;
    animation: ring 4s .7s ease-in-out infinite;
    transform-origin: 50% 4px;
}

@-webkit-keyframes ring {
    0% {
        -webkit-transform: rotateZ(0);
    }
    1% {
        -webkit-transform: rotateZ(30deg);
    }
    3% {
        -webkit-transform: rotateZ(-28deg);
    }
    5% {
        -webkit-transform: rotateZ(34deg);
    }
    7% {
        -webkit-transform: rotateZ(-32deg);
    }
    9% {
        -webkit-transform: rotateZ(30deg);
    }
    11% {
        -webkit-transform: rotateZ(-28deg);
    }
    13% {
        -webkit-transform: rotateZ(26deg);
    }
    15% {
        -webkit-transform: rotateZ(-24deg);
    }
    17% {
        -webkit-transform: rotateZ(22deg);
    }
    19% {
        -webkit-transform: rotateZ(-20deg);
    }
    21% {
        -webkit-transform: rotateZ(18deg);
    }
    23% {
        -webkit-transform: rotateZ(-16deg);
    }
    25% {
        -webkit-transform: rotateZ(14deg);
    }
    27% {
        -webkit-transform: rotateZ(-12deg);
    }
    29% {
        -webkit-transform: rotateZ(10deg);
    }
    31% {
        -webkit-transform: rotateZ(-8deg);
    }
    33% {
        -webkit-transform: rotateZ(6deg);
    }
    35% {
        -webkit-transform: rotateZ(-4deg);
    }
    37% {
        -webkit-transform: rotateZ(2deg);
    }
    39% {
        -webkit-transform: rotateZ(-1deg);
    }
    41% {
        -webkit-transform: rotateZ(1deg);
    }

    43% {
        -webkit-transform: rotateZ(0);
    }
    100% {
        -webkit-transform: rotateZ(0);
    }
}

@-moz-keyframes ring {
    0% {
        -moz-transform: rotate(0);
    }
    1% {
        -moz-transform: rotate(30deg);
    }
    3% {
        -moz-transform: rotate(-28deg);
    }
    5% {
        -moz-transform: rotate(34deg);
    }
    7% {
        -moz-transform: rotate(-32deg);
    }
    9% {
        -moz-transform: rotate(30deg);
    }
    11% {
        -moz-transform: rotate(-28deg);
    }
    13% {
        -moz-transform: rotate(26deg);
    }
    15% {
        -moz-transform: rotate(-24deg);
    }
    17% {
        -moz-transform: rotate(22deg);
    }
    19% {
        -moz-transform: rotate(-20deg);
    }
    21% {
        -moz-transform: rotate(18deg);
    }
    23% {
        -moz-transform: rotate(-16deg);
    }
    25% {
        -moz-transform: rotate(14deg);
    }
    27% {
        -moz-transform: rotate(-12deg);
    }
    29% {
        -moz-transform: rotate(10deg);
    }
    31% {
        -moz-transform: rotate(-8deg);
    }
    33% {
        -moz-transform: rotate(6deg);
    }
    35% {
        -moz-transform: rotate(-4deg);
    }
    37% {
        -moz-transform: rotate(2deg);
    }
    39% {
        -moz-transform: rotate(-1deg);
    }
    41% {
        -moz-transform: rotate(1deg);
    }

    43% {
        -moz-transform: rotate(0);
    }
    100% {
        -moz-transform: rotate(0);
    }
}

@keyframes ring {
    0% {
        transform: rotate(0);
    }
    1% {
        transform: rotate(30deg);
    }
    3% {
        transform: rotate(-28deg);
    }
    5% {
        transform: rotate(34deg);
    }
    7% {
        transform: rotate(-32deg);
    }
    9% {
        transform: rotate(30deg);
    }
    11% {
        transform: rotate(-28deg);
    }
    13% {
        transform: rotate(26deg);
    }
    15% {
        transform: rotate(-24deg);
    }
    17% {
        transform: rotate(22deg);
    }
    19% {
        transform: rotate(-20deg);
    }
    21% {
        transform: rotate(18deg);
    }
    23% {
        transform: rotate(-16deg);
    }
    25% {
        transform: rotate(14deg);
    }
    27% {
        transform: rotate(-12deg);
    }
    29% {
        transform: rotate(10deg);
    }
    31% {
        transform: rotate(-8deg);
    }
    33% {
        transform: rotate(6deg);
    }
    35% {
        transform: rotate(-4deg);
    }
    37% {
        transform: rotate(2deg);
    }
    39% {
        transform: rotate(-1deg);
    }
    41% {
        transform: rotate(1deg);
    }

    43% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(0);
    }
}

@media (max-width: 768px) {
    .chat-msg .inner-msg .post_image a {
        width: 60px;
        height: 60px;
    }

    .sidebar-chat {
        position: absolute;
        top: 0;
        right: 0;
        background: #fff;
        height: 100%;
        width: 100%;
        transform: translateX(110%);
        transition: transform .2s linear;
    }

    .sidebar-chat.toggle {
        transform: translateX(0);
        transition: transform .2s linear;
    }

    .main-chat {
        padding: 0;
    }

    .main-chat .open-new-ticket-panel {
        border-right: 0;
        padding-right: 0;
    }

    .userpro-menu ul {
        display: flex;
        justify-content: center;
    }

    .userpro-menu ul li {
        max-width: 33.3333%;
        flex: 0 0 100%;
        border: none !important;
        padding: 8px 0;
    }

    .userpro-menu ul li a i {
        background: #ececec;
        width: 40px;
        height: 40px;
        font-size: 24px;
        color: #1091BC;
        margin: 0 auto;
        border-radius: 50%;
        line-height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .userpro-menu .add-ticket {
        margin-top: 0;
    }

    .top-content .quick-chat {
        margin-bottom: 15px;
    }

    .top-content {
        margin-bottom: 0;
    }

    .header #logo a {
        max-width: 100%;
        margin-left: 10px;
        margin-top: 10px;
        padding-top: 0;
    }

    .userpro-menu ul li a {
        padding: 0;
    }

    .userpro-menu .add-ticket > a {
        padding: 0;
    }

    .userpro-menu ul li a span {
        font-size: 12px;
        text-transform: none;
        margin-top: 4px;
        display: block;
    }

    .faq-cover-game .faq-title {
        min-height: auto;
        margin-bottom: 15px;
    }

    span.accordion-title {
        padding: 8px 20px 8px 0;
        font-size: 15px;
    }

    span.accordion-addicon.icon-acc {
        width: 40px;
    }

    #faq .panel-heading {
        border-radius: 4px;
        overflow: hidden;
    }

    #faq .panel-default {
        margin-bottom: 10px;
    }

    .top-content h1 {
        font-size: 20px;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

}

@media (max-width: 576px) {
    .chat-detail {
        height: 350px;
        overflow-y: auto;
    }

    .open-new-ticket-panel #reply {
        padding-right: 15px;
        padding-bottom: 0;
        padding-top: 0;
    }

    .detail-chat.fullscreen {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 10;
        min-height: 100vh;
        background: #fff;
        overflow-y: scroll;
    }

    .detail-chat.fullscreen .chat-detail {
        height: calc(100vh - 220px);
        overflow-y: auto;
        background: #fff;
        padding-bottom: 30px;
    }

    .detail-chat.fullscreen .box-content-chat {
        padding-bottom: 50px;
    }

    .open-new-ticket-panel #multilineinput {
        padding-right: 25px;
        word-wrap: break-word;
        padding-left: 35px;
        padding-top: 10px;
        padding-bottom: 10px;
        margin-left: 0;
        max-width: 98%
    }

    .open-new-ticket-panel .send-reply {
        right: 0;
        width: 40px;
        height: 40px;
        top: 6px;
        padding: 0;
        text-align: center;
        color: #1091BC
    }

    .open-new-ticket-panel .send-reply .icon-send {
        float: none;
        margin-right: 0;
        color: #1091BC;
    }

    .attach_file .files label {
        width: 40px;
        height: 40px;
    }

    .attach_file #input-file {
        position: absolute;
        top: 0px;
        left: 8px;
        width: 40px;
        height: 50px;
    }

    .attach_file #input-file label {
        border: none;
        color: #999;
        background: none;
        width: 40px;
        font-size: 18px;
        height: 50px;
    }

    .attach_file #input-file label:hover {
        columns: #1091BC;
    }
}

@media (max-width: 480px) {
    .user-ticket label, .user-ticket .label {
        padding-right: 0px;
    }
}

#modal_form {

    padding-bottom: 5px;
}

#modal_form h4 {
    font-size: 19px;
    margin-bottom: 10px;
    margin-top: 5px;
}

#game-list {
    margin-top: 15px;
    margin-left: -8px;
    margin-right: -8px;
}

#game-list .game-info {
    padding-left: 8px;
    padding-right: 8px;
}

#game-list .game-info .namecol {
    margin: 10px 0 15px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

#update_role_block {
    max-width: 400px;
}

#update_role_block .inner-msg {
    padding: 15px;
}