﻿.notifications {
    position: relative;
}

    .notifications:hover {
        opacity: .8;
    }

    .notifications i {
        /*        width: 100px;*/
    }

    .notifications .bell-badge {
        position: absolute;
        top: 1px;
        left: 13px;
        background-color: rgba(212, 19, 13, 1);
        color: #fff;
        border-radius: 10px;
        padding: 5px;
        font: 8px Verdana;
        animation: fade-in 2s;
    }
.notifi-count .bell-badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 18px;
    background-color: #e60323;
    color: #fff;
    font: 8px Verdana;
}
.topbar-left img {
    max-width: 100%;
    height: 56px;
}

.topbar-left button {
    outline: none;
    background-color: transparent;
}

    .topbar-left button:focus {
        outline: 0 !important;
        box-shadow: none;
    }

.system-tile-chat button {
    padding: 0px;
    font-size: 1.5rem;
    color: #007bff;
    vertical-align: top;
    outline: none;
    border: 0px;
    background-color: transparent;
}

    .system-tile-chat button:hover {
        color: #007bff;
    }

    .system-tile-chat button:focus {
        outline: 0 !important;
        box-shadow: none;
    }

.navbar-topbar {
    height: 60px;
}

    .navbar-topbar .nav-link {
        background-color: transparent;
        border: none;
        outline: none;
        position: relative;
        top: 4px !important;
        padding: 0px;
        line-height: 60px;
        color: rgba(255, 255, 255, 0.6);
    }

        .navbar-topbar .nav-link:focus {
            outline: 0 !important;
            box-shadow: none;
        }

        .navbar-topbar .nav-link i {
            font-size: 1.7rem;
        }

        .navbar-topbar .nav-link:hover {
            opacity:0.7;
        }

.menu .menulabel {
    cursor: default;
}

.menu button {
    display: block;
    outline: none;
    padding: 8px 12px 8px 12px;
    text-decoration: none;
    color: #000;
    background-color: transparent;
    width: 100%;
    text-align: left;
}

    .menu button:focus {
        outline: 0 !important;
        box-shadow: none;
    }

.top-menu .notification-badge::after {
    position: absolute !important;
    right: 8px;
}

img .search-cnt-r[disabled], img.search-cnt-l[disabled] {
    opacity: 0.5;
}

    img.search-cnt-r[disabled]:hover, img.search-cnt-l[disabled]:hover {
        cursor: default;
    }

textarea[readonly] {
    cursor: default;
}

    textarea[readonly]:focus {
        outline: none !important;
    }

#collapse-search button {
    background-color: transparent;
    color: #007bff;
    outline: none;
    border: none;
}

.btn-target {
    background-color: transparent;
    color: #007bff;
    outline: none;
    border: none;
}

    .btn-target:focus {
        outline: 0 !important;
        box-shadow: none;
    }

th#th-output-all:hover {
    cursor: default;
}

th .sort-corporate-nosort, th .sort-customer-no-nosort {
    background-color: transparent;
    outline: none;
    border: none;
    color: #212529;
    font-weight: bold;
}

    th .sort-corporate-nosort:hover, th .sort-customer-no-nosort:hover {
        cursor: default;
    }

th button.sort-no, button.sort-customer-no, button.sort-corporate, button.sort-demand {
    font-weight: bold;
    background-color: transparent;
    color: #007bff;
    outline: none;
    border: none;
    cursor: pointer;
    width: 100%;
}

button.btn-link, #btn-show-payment button {
    font-weight: bold;
    background-color: transparent;
    color: #007bff !important;
    outline: none;
    border: none;
}

    button.btn-link:hover {
        text-decoration: none;
    }

td span {
    white-space: nowrap;
}

td.dis-w {
    background-color: #e9ecef;
}

.toast {
    max-width: 470px !important;
}

.loading {
    text-align: center;
    margin: auto;
}

.loading-page {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: #17161642;
/*    display: none;*/
}

    .loading-page img {
        left: 50%;
        top: 50%;
        right: 50%;
        position: fixed;
        width: 4%;
        min-width: 50px;
    }

.loading img {
    margin: auto;
    max-width: 50px;
}

.list {
    margin-right: 1px;
}

.sidebarmenu.d-hide {
    display: none;
}

.table-responsive {
    overflow: visible !important;
}

.was-validated .form-control:valid {
    border-color: unset;
    padding-right: 0.25rem;
    background-image: unset;
    background-repeat: no-repeat;
    background-position: unset;
    background-size: unset;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    z-index: 1050;
}

tbody tr.highlight > td {
    background-color: #ccebff !important;
}

select.form-control:invalid {
    background-position: right calc(0.375em + 0.65rem) center !important;
    background-position-x: right calc(0.375em + 0.1875rem) !important;
    background-position-y: center !important;
}

input.text-right {
    padding-right: 0.25rem !important;
}

#modal-menu {
    top: 58px;
}

    #modal-menu .modal-content {
        background-color: #fff0;
    }


#modal-spinner .modal-dialog.modal-sm.modal-dialog-centered i.fa-spinner {
    position: relative;
    left: unset;
    z-index: 1052;
    color: #16c749fc;
    /* width: 10em; */
    font-size: 50px;
}


label.chk:first-child {
    padding-top: 0px;
}

label.chk {
    display: inline-block;
    white-space: nowrap;
    padding-top: calc(0.375rem + 0.5px);
}

    label.chk input {
        vertical-align: middle;
    }

    label.chk span {
        vertical-align: middle;
        padding-left: 2px;
    }

label.chk-grp {
    display: inline-block;
    white-space: nowrap;
    padding-top: calc(0.375rem + 0.5px);
}

    label.chk-grp input {
        vertical-align: middle;
    }

    label.chk-grp span {
        vertical-align: middle;
        padding-left: 2px;
    }


span#sort-no:hover, img.search-cnt-l:hover, img.search-cnt-r:hover {
    cursor: pointer;
}

img.search-cnt-r[disabled], img.search-cnt-l[disabled] {
    opacity: 0.5;
}

    img.search-cnt-r[disabled]:hover, img.search-cnt-l[disabled]:hover {
        cursor: default;
    }

th#th-select-all:hover {
    cursor: default;
}

.text-danger.field-validation-valid label {
    margin-bottom: 0;
}

.text-danger.validation-summary-errors ul {
    padding-left: 0;
}

.item-icon-disable {
    width: 42px;
}

.open-close-cd {
    min-width: 95px;
}

.btn-toggle .typcn-arrow-sorted-down {
    vertical-align: baseline;
}

.text-center.check-box .check-box {
    vertical-align: middle;
}

td input[type='checkbox'] {
    vertical-align: middle;
}

#tbl-list {
    padding-bottom: 2px;
}

#tbl-corp-tradings-detail label.chk:first-child {
    padding-top: inherit;
}

#modal-notifi .modal-dialog {
    height: 100vh;
    position: absolute;
    right: 0;
    margin: 0rem auto !important;
    width: 100%;
    overflow: hidden;
    max-width: 100%;
    border-radius:0px;
}

#modal-notifi .notifi-content {
    background: #ffffff;
    overflow-y: auto;
    height: calc(100vh);
}

#modal-notifi .list2 {
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    border-collapse: collapse;
    border-spacing: 0;
    border: solid 1px #6c757d;
}

    #modal-notifi .list2 th {
        padding: 8px;
        background: #e9faf9;
        border: solid 1px #6c757d;
        border-bottom: solid 1px #6c757d;
    }

    #modal-notifi .list2 td {
        padding: 8px;
        border-left: 0;
    }

    #modal-notifi .list2 tr {
        border-top: solid 1px #6c757d;
    }


/* メッセージ全般のスタイル */
.bms_message {
    margin: 0px;
    padding: 0 14px; /*吹き出しがタイムラインの側面にひっつかない様に隙間を開ける*/
    font-size: 16px;
    word-wrap: break-word; /* 吹き出し内で自動で改行 */
    white-space: normal; /*指定widthに合わせて、文字を自動的に改行*/
}

.bms_message_box {
    margin-top: 0px; /*上下の吹き出しがひっつかない様に隙間を入れる*/
    max-width: 100%; /*文字が長くなった時に吹き出しがタイムラインからはみ出さない様にする*/
    font-size: 16px;
}

.bms_message_content {
    padding: 10px; /*文字や画像（コンテンツ）の外側に隙間を入れる*/
}

.bms_message_text {
   word-break:break-all;
}
/* メッセージ（左側） */
.bms_left {
    float: left; /*吹き出しをbms_messagesに対して左寄せ*/
    line-height: 1.3em;
}

    .bms_left .bms_message_box {
        color: #333; /*テキストを黒にする*/
        background: #fff;
        border: 2px solid #13178E;
        border-radius: 30px 30px 30px 0px; /*左下だけ尖らせて吹き出し感を出す*/
        margin-right: 50px; /*左側の発言だとわかる様に、吹き出し右側に隙間を入れる*/
    }
/* メッセージ（右側） */
.bms_right {
    float: right; /*吹き出しをbms_messagesに対して右寄せ*/
    line-height: 1.3em;
}

    .bms_right .bms_message_box {
        color: #fff; /*テキストを白にする*/
        background: #13178E;
        border: 2px solid #13178E;
        border-radius: 30px 30px 0px 30px; /*右下だけ尖らせて吹き出し感を出す*/
        margin-left: 50px; /*右側の発言だとわかる様に、吹き出し左側に隙間を入れる*/
    }
.head-back:hover{
    cursor:pointer;
}
header {
}

#modal-chat .modal-content, #modal-notifi .modal-content, #modal-mediate .modal-content {
    height: 100%;
    background-color: #F5F5F5 !important;
}

#modal-notifi .notifi-count {
    text-align: center;
    width: 50px;
    justify-content: center;
    display: table;
}

#modal-notifi .modal-content {
    background-color: #F5F5F5 !important ;
}

#modal-notifi .notifi-count {
    text-align: center;
    width: 50px;
    justify-content: center;
    display: table;
}

#is-typing {
    font-size: 10px;
    display: flex;
}

    #is-typing span {
        margin-left: 10px;
        margin-top: 8px;
    }

#modal-chat main, #modal-notifi main, #modal-mediate main {
    background: #ffffff;
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100vh);
}

/*#modal-chat footer {
    height: 50px;
}*/

#modal-chat .modal-dialog, #modal-mediate .modal-dialog {
    width: 100%;
    height: 100vh;
    position: absolute;
    left: 0;
    margin: 0rem auto !important;
    overflow: hidden;
    max-width: 100%;
    border-radius: 0px;
}

#modal-chat #chat-content, #modal-mediate #chat-content {
    resize: none;
    line-height: 1.5;
    width: 100%;
    padding: 10px;
}

.loading-chat {
    width: 100%;
    text-align: center;
    top: 50%;
    position: absolute;
}

    .loading-chat .spinner-border {
        width: 1rem !important;
        height: 1rem !important;
    }

    .loading-chat .sr-only {
        display: contents;
    }

.dot-flashing {
    position: relative;
    width: 4px;
    height: 4px;
    border-radius: 2px;
    background-color: #9880ff;
    color: #9880ff;
    animation: dot-flashing 1s infinite linear alternate;
    animation-delay: 0.5s;
}

    .dot-flashing::before, .dot-flashing::after {
        content: "";
        display: inline-block;
        position: absolute;
        top: 0;
    }

    .dot-flashing::before {
        left: -8px;
        width: 4px;
        height: 4px;
        border-radius: 2px;
        background-color: #9880ff;
        color: #9880ff;
        animation: dot-flashing 1s infinite alternate;
        animation-delay: 0s;
    }

    .dot-flashing::after {
        left: 8px;
        width: 4px;
        height: 4px;
        border-radius: 2px;
        background-color: #9880ff;
        color: #9880ff;
        animation: dot-flashing 1s infinite alternate;
        animation-delay: 1s;
    }
#my-toast .close{
    padding-bottom: 5px;
}

.advance-payment:hover{
    cursor:pointer;
}

/*#tbl-reconciliation tr:nth-last-child(-n+2) td[rowspan] {
    border-bottom: 1px solid #6c757d;
}*/

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes dot-flashing {
    0% {
        background-color: #9880ff;
    }

    50%, 100% {
        background-color: rgba(152, 128, 255, 0.2);
    }
}

@media only screen and (max-width: 768px) {
    .sidebarmenu {
        display: none;
    }

    /*        .sidebarmenu.d-show {
            display: flex;
            position: absolute;
            z-index: 9999;
            margin-top: 20px;
            max-width: 250px !important;
        }*/
}

@media(max-width:768px) {
    .mbm-1 {
        margin-bottom: 6px;
    }
}
