/* HTML */
*:disabled {
    cursor: default
}
*:focus {
    box-shadow: none !important;
    outline: none !important;
}

/* bootstrap */
.custom-file {
    overflow: hidden;
}
.custom-control-input,
.custom-control-label,
.custom-file-input,
select {
    cursor: pointer;
}
.custom-file-label {
    white-space: nowrap;
}
.table-hover tbody tr {
    cursor: pointer;
}
.collapsing {
    transition: height 0s ease;
}

/* bootstrap-datetimepicker */
.datepicker-days th.dow:first-child,
.datepicker-days td:first-child {
    color: #dc3545;
}
.datepicker-days th.dow:last-child,
.datepicker-days td:last-child {
    color: #007bff;
}
.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background-color: #337ab7;
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.bootstrap-datetimepicker-widget table td span.active,
.bootstrap-datetimepicker-widget table td i.active {
    background-color: #337ab7;
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

/* アンダーライン */
.tp-underline {
    padding-bottom: 1px;
    border-bottom: 1px dashed #000000;
}

/* アンカー */
.tp-anchor {
    cursor: pointer;
}

/* リンク */
.tp-link {
    cursor: pointer;
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}
.tp-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* トグル */
.tp-toggle {
    float: right;
    padding: 0 5px;
    text-decoration: none !important;
}
.tp-toggle[aria-expanded=false]::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}
.tp-toggle[aria-expanded=true]::before {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

/* テーブル */
.tp-table {
    table-layout: fixed;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.tp-table th {
    color: rgba(0,0,0,.5);
}
.tp-table th, .tp-table td {
    border-top: 0;
    border-bottom: 0;
    border-left: 0;
    border-right: 0;
}
.tp-table th:not(.tp-merge) {
    border-top: 1px solid rgba(0,0,0,.125);
}
.tp-table thead tr:last-child th {
    border-bottom: 3px double rgba(0,0,0,.125);
}
.tp-table tbody td:not(.tp-merged):not(.tp-child) {
    border-top: 1px solid rgba(0,0,0,.125);
}
.tp-table tbody td.tp-child {
    border-top: 1px dashed rgba(0,0,0,.125);
}
.tp-table tbody tr:last-child td {
    border-bottom: 1px solid rgba(0,0,0,.125);
}
.tp-table th:not(.tp-span), .tp-table td:not(.tp-span) {
    border-left: 1px solid rgba(0,0,0,.125);
}
.tp-table th:last-child, .tp-table td:last-child {
    border-right: 1px solid rgba(0,0,0,.125);
}

/* コンテナ（サイドバー、スティッキー含む） */
#tp-container {
    display: flex;
    position: relative;
}
#tp-sidebar, #tp-sticky-container {
    width: 300px;
}
#tp-sticky-container {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding-right: 15px;
}
#tp-sticky-item {
    position: -webkit-sticky;
    position: sticky;
    top: 15px;
}

/* メニュー */
#tp-menu .card-header {
    height: 38px;
    padding: 5px 10px;
}
#tp-menu .close {
    float: left;
}
#tp-menu .list-group-item {
    font-size: 0.875rem;
    padding: .25rem .5rem;
}
.tp-menu-button {
    display: none;
}

/* コンテンツ */
#tp-contents {
    flex: 1;
}

/* 見出し */
.tp-h1, .tp-h2, .tp-h3 {
    width: 100%;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: .25rem;
}
.tp-h1 {
    background-color: rgba(0,0,0,.5);
    font-size: 1.5rem;
    color: #fff;
}
.tp-h2 {
    background-color: rgba(0,0,0,.125);
    font-size: 1.25rem;
}

/* 箇条書き */
.tp-items {
    margin-bottom: 0;
}
.tp-items li {
    margin-top: 0.5rem;
}
ul.tp-items li, .tp-items ul li {
    list-style-type: disc;
}

/* 利用規約 */
.tp-terms {
    height: 300px;
}

/* ログイン */
.tp-login {
    width: 300px;
}

/* 検索ボタン */
.tp-search {
    border-top-right-radius: .25rem !important;
    border-bottom-right-radius: .25rem !important;
}

/* キーワード */
.tp-keyword {
    -ms-flex: auto !important;
    flex: auto !important;
}