﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

label.error {
    display: block;
    float: left;
    color: red;
    padding-left: 10px;
}

input.error, select.error, textarea.error {
    border: 1px dashed red;
    font-weight: 300;
    color: red;
}

thead, th {
    text-align: center;
    align-content: center;
}

.table-cell-short-text {
    min-height: 3rem;
    max-height: 3rem;
    display: -webkit-box;
    word-break: break-all;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.file-manuals-list {
    overflow: auto;
    min-height: 3rem;
    max-height: 3rem;
}

div.file-manuals-list .file-item {
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-add-afaa-category-content-link-item,
.btn-add-guest-category-content-link-item,
.btn-add-afaa-url-item,
.btn-add-guest-url-item,
.btn-remove-existing-content-link,
.btn-remove-existing-content-link,
.btn-remove-content-link{
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.btn-delete-manual-item {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.modal-header {
    border-bottom: 0 none;
    margin-top: 1em;
}

.modal-footer {
    border-top: 0 none;
}

.form-group label {
    font-weight: normal !important;
}

.truncate {
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    min-height: 3rem;
    max-height: 3rem;
}

.ele-clone {
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
    position: fixed;
}

.tooltip-arrow,
.red-tooltip + .tooltip > .tooltip-inner {
    background-color: #fff;
}

.modal-footer button.btn-message {
    float: right;
    margin-left: 10px;
}

@media (min-width: 992px) {
    .modal-md {
        max-width: 350px;
    }
}

@media (min-width: 600px) {
    .modal-md {
        max-width: 350px;
    }
}

table.table-bordered thead tr:first-child th[rowspan="1"] {
    vertical-align: bottom;
    border-bottom: hidden;
}

.jsgrid-pager{
    text-align: right;
}

.custom-file-label::after {
    content: '選択' !important;
}

@media (max-width: 1700px) {
    .table-cell-short-text {
        max-width: 11.5rem;
    }

    .sub-title-short-text {
        max-width: 4.5rem;
    }
}

@media (max-width: 1500px) {
    .table-cell-short-text {
        max-width: 10.5rem;
    }

    .sub-title-short-text {
        max-width: 4.5rem;
    }
}

@media (max-width: 1400px) {
    .table-cell-short-text {
        max-width: 9.5rem;
    }

    .sub-title-short-text {
        max-width: 4.5rem;
    }
}

@media (max-width: 1370px) {
    .table-cell-short-text {
        max-width: 7rem;
    }

    .sub-title-short-text {
        max-width: 3rem;
    }
}

.bootbox-body {
    word-break: break-all;
}

label.error + label.custom-file-label {
    border: 1px dashed red;
}

label.error:empty + label.custom-file-label {
    border: 1px solid #ced4da;
}

label.error.valid + label.custom-file-label {
    border: 1px solid #ced4da;
}

.custom-file {
    display: inline-block;
    height: auto;
}

