@charset "utf-8";

/*--------------------------------------------------------------
    for register and login
--------------------------------------------------------------*/
.auth-main:after {
    background: url(../img/auth-bg.png) no-repeat top right -15vw fixed;
    background-size: cover;
}

.auth-box .top img {
    width: 200px;
}

.auth-box .alert {
    padding: 1rem .35rem 1rem .5rem;
}

.auth-box .close {
    top: 2px;
    right: 6px;
    position: absolute;
}

.auth-box .alert ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.auth-box .consent a {
    text-decoration: underline;
}

.auth-box .consent a i {
    margin-left: 3px;
}

.login-alert {
    margin-top: 20px;
}

.login-alert span.warning {
    margin-bottom: 8px;
    color: #f00;
    font-weight: bold;
    display: block;
}

.login-alert span:last-child {
    display: block;
    margin-top: 10px;
}

/*--------------------------------------------------------------
    for after login
--------------------------------------------------------------*/
/* for common  */
.navbar-fixed-top .navbar-brand img {
    width: 150px;
}

#left-sidebar {
    margin-top: 78px;
}

.navbar-nav ul.notifications li.header,
.navbar-nav ul.notifications li .timestamp,
.media .media-body {
    color: #fff;
}

/* for form [label required, etc]  */
.form-group {
    margin-bottom: 1.65rem;
}

select.form-control:not([size]):not([multiple]) {
    height: 35px;
}

label.required::after {
    margin-left: 5px;
    content: "※必須";
    color: #f00;
    font-size: .75em;
}

/* for order page */
.shipping-cost-list span {
    display: inline-block;
}

.important-point {
    padding-left: 10px;
    color: #f00;
    font-size: .85em;
    list-style: none;
}

.exist-files {
    padding-left: 10px;
    list-style: none;
}

.veterinary-license {
    max-width: 500px;
}

/* for credit page */
.credit-cards {
    display: flex;
    align-items: center;
}

.credit-cards img {
    width: 35px;
}

.sidebar-nav .metismenu {
    max-height: calc(100vh - 250px);
    overflow-y: scroll;
}

/* for Mobile */
@media screen and (max-width: 1024px) {
    .navbar-fixed-top .navbar-right {
        width: calc(100% - 250px);
    }
}

/*--------------------------------------------------------------
  override - tabulator
--------------------------------------------------------------*/
.tabulator {
    border: none;
    background-color: #e6e6e6;
}
.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right {
    border-left: solid 1px #ddd;
}

.tabulator .tabulator-header {
    background-color: #fff;
    border-color: #ddd;
    border-top: solid 1px #ddd;
}

.tabulator .tabulator-header .tabulator-col {
    padding: 3px;
    border-left: solid 1px #ddd;
    border-right: none;
}

.tabulator .tabulator-header .tabulator-col:last-child {
    border-right: solid 1px #ddd;
}

.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input,
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter select {
    height: 30px;
    margin-top: 5px;
    background-color: #fff;
    border: solid 1px #ddd;
    border-radius: 5px;
    background-color: #ccc;
}

.tabulator .tabulator-tableHolder {
    background-color: #fff;
}

.tabulator .tabulator-row .tabulator-cell {
    padding: 10px 8px;
    border-left: solid 1px #ddd;
    border-right: none;
}

.tabulator .tabulator-row .tabulator-cell:last-child {
    border-right: solid 1px #ddd;
}

.tabulator .tabulator-tableHolder .tabulator-placeholder {
    margin-top: -14px;
    padding: 20px;
    border-left: solid 1px #ddd;
    border-right: solid 1px #ddd;
    position: relative;
}

.tabulator .tabulator-tableHolder .tabulator-placeholder span {
    color: #333;
    font-size: inherit;
}

.tabulator .tabulator-footer {
    padding: 20px 0 0 0;
    background-color: #fff;
    border-color: #ddd;
    text-align: center;
}

.tabulator .tabulator-footer .tabulator-page {
    padding: 5px 8px;
    font-weight: 500;
}

.tabulator .tabulator-header .tabulator-col.tabulator-sortable:hover,
.tabulator .tabulator-row.tabulator-selectable:hover {
    background-color: #ccc;
}

.tabulator .tabular-action span:first-child {
    margin-right: 5px;
}

.tabulator .tabular-action span a {
    color: #111;
    text-decoration: none;
}
.tabulator .tabular-action span a:hover {
    text-decoration: underline;
}

.tabulator .tabular-action span a i {
    margin-right: 5px;
}
.tabulator .tabular-action span a i.fa.fa-envelope-o, .tabulator .tabular-action span a i.fa.fa-envelope-open-o {
    margin-right: 0;
}
.tabulator .tabulator-row .tabulator-cell.cell-toselect {
    padding-right: 24px;
    position: relative;
}
.tabulator .tabulator-row .tabulator-cell.cell-toselect:before {
    content: '▼';
    position: absolute;
    right: 5px;
    top: 10px;
}

/* for Mobile */
@media screen and (max-width: 768px) {
    .table-frame {
        width: 100%;
        overflow-x: scroll;
    }

    .tabulator {
        min-width: 900px;
    }
}

/*--------------------------------------------------------------
  override - dropify
--------------------------------------------------------------*/
.dropify-wrapper {
    height: 165px;
}

/*--------------------------------------------------------------
  override - select2
--------------------------------------------------------------*/
.select2-container .select2-selection--single {
    height: 35px;
    padding-top: 3px;
    border: 1px solid #ced4da;
}

/*--------------------------------------------------------------
  CSS hack for safari
--------------------------------------------------------------*/
_::-webkit-full-page-media, _:future, :root .sidebar-nav .metismenu {
    display: block;
}

/*--------------------------------------------------------------
  for blogs
--------------------------------------------------------------*/
.ck-editor__main h2 {
    padding: 5px 10px;
    font-size: 22px;
    border: none;
    margin-bottom: 16px;
    background: #39d6b4;
    color: #fff;
    position: relative;
    font-weight: bold;
}
.ck-editor__main h2:before {
    content: '';
    position: absolute;
    width: 0px;
    height: 0px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #39d6b4;
    bottom: -7px;
}
.ck-editor__main p {
    margin-bottom: 8px;
}
.ck-editor__main h3 {
    padding-left: 15px;
    margin: 24px 0 16px;
    position: relative;
    padding-bottom: 5px;
    border-bottom: 1px solid #000;
    font-size: 20px;
    font-weight: bold;
}
.ck-editor__main h3:before {
    content: '';
    height: 86%;
    width: 5px;
    background: #39d6b4;
    position: absolute;
    left: 0;
    top: 0;
}
.ck-editor__main h4 {
    padding-bottom: 5px;
    margin: 24px 0 16px;
    border-bottom: 1px solid #39d6b4;
    font-weight: bold;
    font-size: 18px;
}
.ck-editor__main table {
    width: 100%;
    margin: 24px 0 16px;
}
.ck-editor__main table thead th {
    padding: 10px;
    background: #39d6b4;
    color: #fff;
    border-right: 4px solid #fff;
}
.ck-editor__main table thead th:last-child {
    border-right: none;
}
.ck-editor__main tbody td {
    padding: 10px;
}
.ck-editor__main tbody td:first-child {
    color: #39d6b4;
    min-width: 90px;
}
.ck-editor__main h5 {
    font-weight: bold;
    color: #39d6b4;
}
.ck-editor__main table p {
    margin-bottom: 12px;
}
.ck-editor__main ul {
    list-style: none;
}
.ck-editor__main ul li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 25px;
}
.ck-editor__main ul li:before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: #39d6b4;
    left: 0;
    top: 3px;
    border-radius: 100%;
}
.ck-editor__main ul li:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 6px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.ck-editor__main ol {
    list-style-type: none;
}
.ck-editor__main ol li {
    counter-increment: step-counter;
    margin-bottom: 10px;
    position: relative;
    margin-bottom: 8px;
    padding-left: 25px;
}
.ck-editor__main ol li::before {
    content: counter(step-counter);
    margin-right: 5px;
    font-size: 80%;
    background-color: #39d6b4;
    color: white;
    font-weight: bold;
    border-radius: 100%;
    width: 18px;
    height: 18px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    top: 4px;
}

/*--------------------------------------------------------------
  for development
--------------------------------------------------------------*/
.development {
    padding: 8px;
    background-color: rgba(200, 200, 200, .5);
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 9999;
}

.development > p {
    margin: 0;
}

.dropify-wrapper:hover {
    background-image: -webkit-linear-gradient(135deg, #eee 25%, transparent 25%, transparent 50%, #eee 50%, #eee 75%, transparent 75%, transparent);
    background-image: linear-gradient(-45deg, #eee 25%, transparent 25%, transparent 50%, #eee 50%, #eee 75%, transparent 75%, transparent);
}

#accordion.accordion .card-header {
    padding: .75rem 1.25rem !important;
}

#accordion.accordion .card-header:after {
    /* font-family: 'FontAwesome'; */
    content: "▲";
    float: right;
}

#accordion.accordion .card-header.collapsed:after {
    /* symbol for "collapsed" panels */
    content: "▼";
}

/* chat */
.unread-badge {
    width: 15px;
    height: 15px;
    margin: 3px;
    border-radius: 50%;
    font-size: 10px;
    background: #f00;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.unread-badge:empty {
    display: none;
}

.chat_app .chat {
    margin-left: 0;
}

.chat {
    border-radius: 0 9px 9px 0;
}

.chat_app {
    height: calc(100vh - 180px);
    margin-bottom: 0;
    overflow: initial;
}

.chat_app .return-people-list {
    display: none;
}

.chat_app .people_list .chat-list li {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.chat_app .people_list .chat-list li:not(:last-child) {
    margin-bottom: 25px;
}

.chat_app .people_list .chat-list li .about {
    width: calc(100% - 40px);
}

.chat_app .people_list .chat-list li .about .name {
    width: 86.5%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat_app .people_list .chat-list li .about .status {
    font-size: 11.35px;
}

.chat_app .people_list .chat-list li.active .name,
.chat_app .people_list .chat-list li.active .status {
    color: #eee;
}

.chat_app .people_list .result-message {
    color: #fff;
}

.chat_app .people_list .chat-list {
    height: calc(100vh - 260px);
    overflow: scroll;
}

.chat_app .chat-history {
    height: calc(100vh - 412px);
    overflow-y: scroll;
}

.chat_app .admins-chathistory {
    height: calc(100vh - 275px);
    width: calc(100% - 4px);
	padding-bottom: 8px;
}

.chat_app .chat-history .message {
    padding: 14px;
    word-break: break-all;
}

.chat_app .chat-history .message a {
    text-decoration: underline;
}

.chat_app .chat-history .my-message a {
    color: #fff;
}

.chat_app .chat-history .my-message:after {
    left: auto;
    right: 8px;
}

.chat_app .chat-history .other-message:after {
    left: 20px;
}

.theme-green .chat_app .chat .chat-history .my-message {
    background: #31b96f;
    color: #fff
}

.theme-green .chat_app .chat .chat-history .my-message::after {
    border-bottom-color: #31b96f
}

.theme-blue .chat_app .chat .chat-history .my-message {
    background: #449cff;
    color: #fff
}

.theme-blue .chat_app .chat .chat-history .my-message::after {
    border-bottom-color: #449cff
}

.theme-cyan .chat_app .chat .chat-history .my-message {
    background: #2eacb3;
    color: #fff
}

.theme-cyan .chat_app .chat .chat-history .my-message::after {
    border-bottom-color: #2eacb3
}

.theme-green .chat_app .chat .chat-history .other-message,
.theme-blue .chat_app .chat .chat-history .other-message,
.theme-cyan .chat_app .chat .chat-history .other-message {
    background: #eee;
    color: #444;
    text-align: left;
}

.theme-green .chat_app .chat .chat-history .other-message::after,
.theme-blue .chat_app .chat .chat-history .other-message::after,
.theme-cyan .chat_app .chat .chat-history .other-message::after {
    border-bottom-color: #eee
}

.chat_app .chat .chat-history .frame-system {
    text-align: center;
}

.chat_app .chat .chat-history .frame-system > div,
.chat_app .chat .chat-history .frame-system .message-data-time {
    margin: 0;
    padding: 2px 0;
    font-size: 13px;
    color: #888;
}

.chat_app .chat .chat-history .frame-system > div span {
    margin: 0;
    padding: 0;
}

.chat_app .chat-message textarea {
    width: calc(100% - 45px);
    height: auto;
    min-height: 120px;
    max-height: 500px;
    padding: 5px;
    border: solid 1px #ccc;
    border-radius: 0 4px 4px 0;
    resize: vertical;
}

.chat_app .chat-message.readonly {
    position: relative;
}

.chat_app .chat-message.readonly::after {
    width: calc(100% - 44px);
    height: calc(100% - 40px);
    background-color: rgba(100, 100, 100, .25);
    border-radius: 5px;
    display: block;
    position: absolute;
    top: 20px;
    left: 20px;
}

.chat_app .chat-message textarea:focus {
    outline: none;
}

.chat_app .chat-message .file-upload {
    height: 0;
    overflow: hidden;
}

.chat_app .chat-message .send {
    cursor: pointer;
}

.sidebar-nav .metismenu ul a {
    display: flex;
}

.sidebar-nav .metismenu ul li i.unread-chat {
    margin: 0 3px 0 8px;
    font-size: 13px;
    top: -1px;
}

.sidebar-nav .metismenu ul li i.unread-chat + span {
    font-size: 14px;
}

.text-111 {
    color: #111;
}
.counter-message {
    position: relative;
    color: transparent;
    display: none;
}
.counter-message.new-message {
    display: initial;
}
.counter-message.new-message:after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #f00;
    border-radius: 100%;
    left: -3px;
}

.total-template{
    float: right;
}
.item-template {
    margin-bottom: 10px;
}
.tabulator .center {
    text-align: center;
}
.tabulator .center a i {
    margin: 0 4px;
}
.tabulator .counter-message {
    position: absolute;
}

.w-32px {
    width: 32px;
}
.w-68px {
    width: 68px;
}
.flex-none {
  flex: none !important;
}

@media screen and (max-width: 767px) {
    /* chat */
    .chat_app {
        /* height: calc(100vh - 170px); */
        height: auto;
        margin-bottom: 30px;
    }

    .chat_app .people_list {
        padding: 10px;
        border-radius: 8px;
        height: 100%;
        left: 0;
        display: block;
    }

    .chat_app .people_list .chat-list li {
        border: none;
    }

    .chat_app .people_list .chat-list li .name,
    .chat_app .people_list .chat-list li .status,
    .chat_app .people_list .chat-list li.active .name,
    .chat_app .people_list .chat-list li.active .status {
        color: #000;
    }

    .chat_app .people_list .chat-list .result-message {
        color: #000;
    }

    .chat_app .chat {
        height: 100%;
        border-radius: 8px;
    }

    .chat_app .chat-list {
        height: calc(100vh - 250px);
        overflow: scroll;
    }

    .chat_app .chat-history {
        height: calc(100vh - 425px);
        min-height: 150px;
    }

    .chat_app .admins-chathistory {
        height: calc(100vh - 310px);
        width: 100%;
    }

    .chat_app .return-people-list {
        width: 100%;
        margin: 20px 0 0 3.5%;
        color: #007bff !important;
        display: inline-flex;
        align-items: center;
    }

    .chat_app .return-people-list span {
        margin-left: 2%;
    }

    .chat_app .chat-message {
        padding: 6px;
    }

    .chat_app .chat-message.readonly::after {
        width: calc(100% - 16px);
        height: calc(100% - 12px);
        top: 6px;
        left: 6px;
    }
    .chat_app .action-area {
        margin-top: 8px;
    }
}