@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP');
@charset "UTF-8";

:root {
    --blue: #0d6efd;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #d63384;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #198754;
    --teal: #20c997;
    --cyan: #0dcaf0;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --white: #fff;
    --gray: #6c757d;
    --info: #0dcaf0;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #212529;
    --primary: linear-gradient(90deg, rgba(76,178,122,1) 29%, rgba(93,191,166,1) 100%);
    --secondary: #a1d3c1;
    --contractor-primary: #008972;
    --font-sans-serif: "Noto Sans JP", sans-serif;
    --body-font-family: var(--font-sans-serif);
    --body-font-size: 12px;
    --body-font-weight: 400;
    --body-line-height: 1.6;
    --body-color: #212529;
    --body-bg: #f8fafc;
    --div-background: #edf9f8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
    font-size: 62.5%;
}
body {
    margin: 0;
    font-family: var(--font-sans-serif);
    font-size: var(--body-font-size);
    font-weight: var(--body-font-weight);
    line-height: var(--body-line-height);
    color: var(--body-color);
    background-color: var(--body-bg);
}
.wrapper {
    max-width: 100%;
    margin: 0 auto;
}
.container {
    max-width: 90%;
    margin: 0 auto;
    padding-top: 20px;
}
h1 {
    font-size: calc(1.35rem + 1.2vw);
}
@media (min-width: 1200px) {
    h1 {
        font-size: 2.25rem;
    }
}

h2 {
    font-size: calc(1.305rem + 0.66vw);
}
@media (min-width: 1200px) {
    h2 {
        font-size: 1.8rem;
    }
}

h3 {
    font-size: calc(1.2825rem + 0.39vw);
}
@media (min-width: 1200px) {
    h3 {
        font-size: 1.575rem;
    }
}

h4 {
    font-size: calc(1.26rem + 0.12vw);
}
@media (min-width: 1200px) {
    h4 {
        font-size: 1.35rem;
    }
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 0.9rem;
}
a {
    text-decoration: none;
    color: var(--gray-dark);
}
a:hover {
    color: var(--light);
}

/* -----Button----- */
.button {
    padding: 0.35rem 0;
    color: white;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
}
.button:hover {
    background: linear-gradient(90deg, rgba(76,178,122,1) 29%, rgba(93,191,166,1) 100%);
}

.btn-submit {
    min-width: 100px;
    padding: 0.35rem 0;
    border-radius: 0.7rem;
    text-align: center;
    background: var(--primary);
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:visited,
.btn-primary:focus {
    background: var(--primary);
    color: white !important;
}

.btn-primary:hover {
    opacity: .7;
}

.btn-primary {
    cursor: pointer;
  color: white !important;
  background: var(--primary);
  border: none;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 1rem 0.5rem;
    border-radius: 0.8rem;
    text-align: left;
}

/* -----Navigation Bar----- */
.navbar {
    background: var(--primary);
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 4rem;
}
.navbar-brand {
    position: relative;
    left: 5%;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}
.navbar-list {
    display: flex;
    list-style: none;
}

.navbar-nav a {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.navbar-nav .nav-link {
    color: var(--white);
    transition: color 0.25s linear;
    padding-right: 2vw;
    text-decoration: none;
}
.nav-link:hover {
    color: var(--primary);
}


/* -----Table----- */
table {
    caption-side: bottom;
    border-collapse: collapse;
}
.table {
    --table-bg: transparent;
    --table-accent-bg: transparent;
    --table-striped-color: #212529;
    --table-striped-bg: rgba(0, 0, 0, 0.05);
    --table-active-color: #212529;
    --table-active-bg: rgba(0, 0, 0, 0.1);
    --table-hover-color: #212529;
    --table-hover-bg: rgba(0, 0, 0, 0.075);
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    vertical-align: top;
    border-color: #dee2e6;
}
.table > thead {
    background-color: var(--secondary);
}
.table-stiped > tbody > tr:nth-of-type(odd) {
    background-color: var(--table-striped-bg);
    color: var(--table-striped-color);
}
.table:hover > tbody > tr:hover {
    background-color: var(--table-hover-bg);
    color: var(--table-hover-color);
}



ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

/* -----CopyRight----- */
.copyright {
    display: flex;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
    background-color: #4cb27a;
    padding: 0.3rem 0;
}

/* -----for Slide Show----- */
.slide-fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

label.error {
    color: red;
}

.bodyPage-selectList li{
    margin: 0 5px;
}

select[readonly] {
    background: #eee;
    pointer-events: none;
    touch-action: none;
}


.card-body {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35%;
    height: 400px;
    border: black 1px solid;
    background: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-container {
    border: black 1px solid;
    background: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 80%;
    min-height: 400px;
    margin: 0 auto;
    padding: 1rem 1rem;
}

/** upload images */
#forgraymask, .forgraymask {
    background: rgba(0, 0, 0, 0.4);
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 900;
}

#forgraymask.hidden {
    display: none;
}

.outPreviewImgContainer {
    /*width: 100%;
    padding: 5px;
    display: flex;
    flex-wrap: wrap;
     justify-content: space-between; */

    width: 80%;
    padding: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

.cardPreviewImg {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    width: 100px;
    border-radius: 5px;
    margin: 5px 10px;
    text-align: center;
    height: 140px;
}

.cardPreviewImg_tiny {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    width: 80px;
    border-radius: 5px;
    margin: 5px 10px;
    text-align: center;
    height: 70px;
}

.cardPreviewPdf {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    width: 100px;
    border-radius: 5px;
    margin: 5px 10px;
    text-align: center;
    height: 140px;
}

.cardPreviewImg:hover, .cardPreviewPdf:hover {
    box-shadow: 0 4px 8px 0 #4c90bf;
}

.cardPreviewTop {
    display: flex;
    justify-content: flex-end;
}

.cardPreviewTop i {
    position: relative;
    left: 4px;
    bottom: 4px;
}

.cardPreviewContainer {
    margin-bottom: 5px;
}

.cardPreviewContainer p {
    box-sizing: border-box;
    font-size: 13px;
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 2px 4px;
    margin: 0;
}

.fas:hover {
    cursor: pointer;
}

/* .cardPreviewContainer p:hover {
    overflow: visible;
    white-space: normal;
    word-break: break-all;
} */

.smallPreviewImg {
    height: 100px;
    width: 90%;
    border-radius: 5px 5px 0 0;
    object-fit: cover;
}

.smallPreviewImg_tiny {
    height: 50px;
    width: 90%;
    border-radius: 5px 5px 0 0;
    object-fit: cover;
}

#previewImgTitle {
    margin: 1rem 0;
}

.smallPreviewFax {
    height: 100px;
    width: 90%;
    border-radius: 5px 5px 0 0;
    object-fit: contain;
    /* background-image: url("/images/icon-pdf-64.png");
    background-repeat: no-repeat;
    background-size: contain; */
}

.hidden_view {
    display: none;
}
input[type="file"] {
    display: none;
}
.show-image img,
.content-box img {
    object-fit: cover;
}

table.dataTable tbody tr.myeven{
    background-color:#f6fffc;
}
table.dataTable tbody tr.myodd{
    background-color:#e0f4f2;
}

table.dataTable tbody tr.gray{
    background-color:#e0e0e0;
}

table.dataTable tbody tr:hover {
    background-color: #f2d7d5 !important;
}

a.auction-link {
    color: #EA7D36;
    text-decoration: underline;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    position: relative;
    padding: .75rem 1.25rem;
    border-radius: .25rem;
}

.form-submit {
    cursor: pointer;
    padding: 1.2rem 10rem;
    border: unset;
    border-radius: 0.5rem;
    background: var(--contractor-primary);
    font-size: 2rem;
    color: #fff;
}
.form-submit:hover{
    background: var(--primary);
}

.btn-back {
    margin: 10px 0;
    min-width: 10vw;
    /* max-width: 20vw; */
}

button, input, select, textarea {
    font-family : inherit;
    font-size   : 100%;
}

@media (max-aspect-ratio: 10/9) {
    .form-submit {
        width: 10vw;
    }
}
