﻿/* 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: 20px;
}

.box_left {
    color: #FFF;
    width: 100px;
    height: 100px;
    margin-left: 10px;
    float: left;
    background-color: #F00;
}

.box_wrap {
    width: 500px;
    height: auto;
    border: 1px solid #000;
}

.clearfix:after {
    display: block;
    clear: both;
    content: "";
}

.container {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
}

@media (min-width : 768px) {
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* 年月選択のスタイル */
.year-month-picker {
    width: 100%;
}

    .year-month-picker .pagination {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .year-month-picker .page-link {
        border: none;
        color: black;
        padding: 0.5rem;
    }

    .year-month-picker .suffix {
        display: none;
    }

    .year-month-picker .arrow .page-link {
        font-size: 8pt;
    }

@media (min-width:576px) {
    .year-month-picker {
        width: auto;
    }
}

@media (min-width: 768px) {
    .year-month-picker .page-link {
        line-height: 16pt;
        padding: 0.75rem;
    }

    .year-month-picker .year, .year-month-picker .month {
        font-size: 13pt;
    }

    .year-month-picker .accent .month {
        font-size: 18pt;
    }
}

@media (min-width: 992px) {
    .year-month-picker .pagination {
        max-width: 1200px;
    }

    .year-month-picker .suffix {
        display: inline;
    }

    .year-month-picker .page-link {
        line-height: 18pt;
        padding: 0.6rem;
    }

    .year-month-picker .year, .year-month-picker .month {
        font-size: 16pt;
    }

    .font-month-picker .suffix {
        font-size: 12pt;
    }

    .year-month-picker .accent .month {
        font-size: 32pt;
    }

    .year-month-picker .accent .suffix {
        font-size: 18pt;
    }
}

/* データテーブルで編集可能に見せる */
.uneditable-cell {
    color: #6c757d !important;
}

    .uneditable-cell::after {
        content: ' ';
        display: inline-block;
        width: 16px;
        margin-left: 8px;
    }

.editable-cell {
    cursor: pointer;
}

    .editable-cell::after {
        float: right;
        margin-left: 8px;
        font-family: 'Font Awesome 5 Free';
        content: '\f044';
    }

.clickable {
    cursor: pointer;
}

.selectable-cell {
    cursor: pointer;
}

.shadow-container {
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.shadow-item {
    /*padding: 10px;*/
    margin: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.4);
    display: inline-block;
    vertical-align: middle;
}

.salary-calc-item {
    padding: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

[data-toggle="collapse"] .fa:before {
    content: "\f139";
}

[data-toggle="collapse"].collapsed .fa:before {
    content: "\f13a";
}

.dt-head-center {
    text-align: center;
}


/* ファイル選択 */
.custom-file-label::after {
    content: '選択'
}

#container-model {
    width: 100%;
    height: 100%;
    position: absolute;
}

/*.locked-item {
}
    .locked-item::after {
        float: right;
        margin-left: 8px;
        font-size: 100%;
        font-family: 'Font Awesome 5 Free';
        content: '\f023';}*/


.modal.left .modal-dialog {
    position: fixed;
    margin: auto;
    width: 320px;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

.modal.left .modal-content {
    height: 100%;
    overflow-y: auto;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.modal.left .modal-body {
    padding: 15px;
}

.modal.left .modal-dialog {
    left: -320px;
    -webkit-transition: left 0.3s ease-out;
    -moz-transition: left 0.3s ease-out;
    -o-transition: left 0.3s ease-out;
    transition: left 0.3s ease-out;
}

.modal.left.show .modal-dialog {
    left: 0;
}

#employee-picker .col-md-5,
#employee-picker .col-md-7 {
    flex: 0 0 100%;
    max-width: 100%;
}

#employee-picker-trigger {
    left: 0;
    -webkit-transition: left 0.3s ease-out;
    -moz-transition: left 0.3s ease-out;
    -o-transition: left 0.3s ease-out;
    transition: left 0.3s ease-out;
}

#employee-picker.show + #employee-picker-trigger {
    left: 320px !important;
}


.card__textbox {
    width: 100%;
    height: auto;
    padding: 20px 18px;
    background: #ffffff;
    box-sizing: border-box;
}

.card__titletext {
    font-size: 20px;
    font-weight: bold;
    line-height: 125%;
}

.card__overviewtext {
    font-size: 14px;
    font-weight: bold;
    line-height: 150%;
}

.card-skin {
    overflow: hidden;
    border-radius: 8px;
    border-left: solid 1px #ddd;
    border-right: solid 1px #ddd;
    border-bottom: solid 5px #888;
}

.info-box {
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, .125), 0 1px 3px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 0 1px rgba(0, 0, 0, .125), 0 1px 3px rgba(0, 0, 0, .2);
    box-shadow: 0 0 1px rgba(0, 0, 0, .125), 0 1px 3px rgba(0, 0, 0, .2);
    -webkit-border-radius: .25rem;
    -moz-border-radius: .25rem;
    background: #ffffff;
    display: flex;
    min-height: 50px;
    padding: .1rem;
    position: relative;
    width: 100%;

    border-radius: 8px;
    border-left: solid 1px #ddd;
    border-right: solid 1px #ddd;
    border-bottom: solid 5px #888;

    vertical-align: middle;
}

.info-box-icon {
    border-radius: 0px;
    align-items: center;
    display: flex;
    font-size: 1.2rem;
    justify-content: center;
    text-align: center;
    width: 50px;
}

.info-box-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 150%;
    flex: 1;
    padding: 0 10px;
    vertical-align: middle;
}

.info-box-text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#loading {
    display: table;
    width: 100%;
    height: 100%;
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    opacity: 0.8;
}

#loading .loadingMsg {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    padding-top: 280px;
    color: #888;
    background: url("../loading.gif") center center no-repeat;
}