﻿/* 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%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/*table td {
    background: #eee;
}

table tr:nth-child(odd) td {
    background: #fff;
}
*/
/* 円の基本形 */
.maru {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    flex-flow: column;
    vertical-align: top;
}
/* 円の大きさ */
.size_normal {
    width: 2em;
    height: 2em;
}
/* 文字の大きさ */
.letter3 {
    font-size: 1em;
    font-weight: bold;
    line-height: 1.2em;
}
/* 円と文字の色 */
.red1 {
    color: orangered;
    border: 4px solid pink;
}

.red2 {
    color: red;
    border: 4px solid pink;
}

.cyan1 {
    color: Skyblue;
    border: 4px solid Lightskyblue;
}

.paied-holiday-cell {
    border-left: 1px solid gray;
    border-right: 1px solid gray;
}
    .paied-holiday-cell.month-cell{
        width: 2em;
    }

    .paied-holiday-cell.this-year {
        background-color: lightblue;
    }

    .paied-holiday-cell.next-year {
        background-color: lightgreen;
    }

    .paied-holiday-cell.after-next-year {
        background-color: lightyellow;
    }

    .paied-holiday-cell.renew-this-year-month {
        background-color: cornflowerblue;
    }
    .paied-holiday-cell.renew-next-year-month {
        background-color: forestgreen;
    }
    .paied-holiday-cell.renew-after-next-year-month {
        background-color: burlywood;
    }

    .paied-holiday-cell.passed-month {
        background-color: gray;
    }

    .paied-holiday-cell.separator {
        border-right: 1px solid red !important;
    }
table th, td {
    border: 1px solid;
}

/*　スクロールバーの実装 */
.table_sticky {
    display: block;
    overflow-y: scroll;
    height: calc(100vh/1.5);
    /*border: 1px solid;*/
    border-collapse: collapse;
}

    .table_sticky thead th {
        position: sticky;
        top: 0;
        z-index: 1;
        /*background: gold;*/
        border-top: #FFFFFF;
    }

 /* 印刷時 */
@page {
    size: A4 landscape;
}
@media print {
    /* 非表示 */
    .hide_at_print {
        display: none !important;
    }

    .hide_at_not_print {
        display: none !important;
    }

    .show_at_print {
        display: block !important;
    }

    
    html {
        /* ルート要素の文字サイズを変更する */
        font-size: 18px;
        /* 全体幅 */
        width: 100% !important;
    }
    .container{
        width: 100% !important;
        max-width: 100% !important;
    }
    tr {
        border-color: black !important;
    }
    th {
        border-color: black !important;
    }

    #main-row {
        width: 100% !important;
        left: 0 !important;
        position: absolute !important;
        height: 800mm !important;
        position: relative;
    }

    td {
        pading: 0.2em;
    }
}