﻿@charset 'utf-8';

/**********************************************************************************
	全体
***********************************************************************************/
html {
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-size: 10pt;
    overflow-y: auto;
}

body {
    margin: 0px;
}

#form_main {
    font-size: 11pt;
    font-family: 'arial';
    margin: 0 auto;
}

div#main {
    position: absolute;
    left: 10px;
    right: 10px;
    margin: 0 auto;
    width: 93%;
}

div#main_master {
    position: relative;
}

.right {
    text-align: right !important;
}

.left {
    text-align: left !important;
}

.center {
    text-align: center !important;
}

.space {
    padding-left: 2px;
}

span.required,
div.required {
    color: red;
    font-size: 14px;
}

label {
    font-weight: normal;
    margin-bottom: 0px;
}

div#myGrid {
    height: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.width-100pct {
    width: 100%;
}

.cell-header {
    text-align: center;
}

.mb-3, .search-box, .result {
    margin: 0 auto;
}

.image-fit-contain {
    object-fit: contain;
}

.image-center {
    display: block;
    margin: 0 auto;
}

.button-group {
    padding-bottom: 20px;
    margin: 0 auto;
    max-width: 360px;
}

.btn-outline-primary,
.btn-outline-success,
.btn-outline-info,
.btn-outline-warning,
.btn-outline-danger {
    background-color: white;
}

.custom-control-inline {
    display: inline-flex;
    margin-right: 0.5rem;
}

.modal-dialog {
    min-width: 320px;
}

.modal-body {
    margin: 0 auto;
    width: 100%;
}

.alert-dismissible {
    margin: 0 auto;
}

/**********************************************************************************
	レスポンシブ対応
***********************************************************************************/
@media screen and (min-width: 481px) {
    /* 共通 ========================== */
    #menu_bar, div.header_pagename, div.header_message, div.button-group, div.construct-info, .mb-3, .accordion, .alert-primary, .result {
        max-width: 500px;
    }

    /* DailySelect =================== */
    input.construct-search {
        width: 420px;
    }

    select.company-list {
        width: 320px;
    }

    /* DailyReport =================== */
    .daily-info table.input_tbl3 td.content {
        width: 360px;
    }

    input.use-place {
        width: 320px;
    }

    select.job-list {
        width: 360px;
    }

    input.custom-text {
        width: 220px;
    }

    /* FaceCreate ==================== */
    td.face-info {
        width: 270px;
    }

    /* VideoDistribution ============= */
    table.video_tbl td.title {
        width: 490px;
    }
}

@media screen and (max-width: 480px) {

    /* 共通 ========================== */
    #menu_bar, div.header_pagename, div.header_message, div.button-group, div.construct-info, .mb-3, .accordion, .alert-primary, .result {
        max-width: 360px;
    }

    /* DailySelect =================== */
    input.construct-search {
        width: 260px;
    }

    select.company-list {
        width: 190px;
    }

    /* DailyReport =================== */
    .daily-info table.input_tbl3 td.content {
        width: 225px;
    }

    input.use-place {
        width: 185px;
    }

    select.job-list {
        width: 210px;
    }

    input.custom-text {
        min-width: 150px;
        max-width: 160px;
    }

    /* FaceCreate ==================== */
    td.face-info {
        width: 180px;
    }

    /* VideoDistribution ============= */
    table.video_tbl td.title {
        width: 325px;
    }
}

/**********************************************************************************
	汎用クラス
***********************************************************************************/
div.ellipsis {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

span.ellipsis {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
}

/* システム固有の画像アイコンを表示する */
/* 画像は別途 background-image で設定してください */
/* ※このクラスにbackground-imageを設定しないでください */
i.icon {
    display: inline-block;
    background-position: center center;
    background-repeat: no-repeat;
}

/* jQuery UI のダイアログに対し、スマートフォンでタップした際のハイライトを防止する */
.ui-dialog {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/**********************************************************************************
	共通ボタン
***********************************************************************************/
input[type="button"], input[type="submit"], #CATEGORY-SELECT {
    font-family: Arial, sans-serif;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
}

input[type="button"], input[type="image"] {
    outline: none;
}

input:disabled {
    cursor: default;
}

/*ラジオ、スイッチボタンを大きくする*/
div.form-check label.form-check-label {
    margin: 3px;
}
div.form-check input.form-check-input {
    width: 1.5rem;
    height: 1.5rem;
}

div.form-switch label.form-check-label {
    margin: 0;
}
div.form-switch input.form-check-input {
    width: 2.5rem;
}

/**********************************************************************************
	共通インプット類
***********************************************************************************/
input[type="text"],
input[type="password"],
input[type="number"],
select {
    border-radius: 4px;
    padding: 3px 4px;
    font-size: 14px;
}

input.construct-search {
    display: inline-table;
    font-size: small;
}

input.form-control-sm {
    height: 31px;
}

/* 「:read-only」はIEに対応していないのでclassを付ける */
.readonly {
    background-color: #eee;
}

select.readonly {
    cursor: default;
}

textarea {
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

input.file {
    width: 24px;
    height: 24px;
    position: relative;
    text-align: right;
    opacity: 0;
    z-index: 2;
    cursor: pointer;
}

/**********************************************************************************
	ヘッダー
***********************************************************************************/
div.header {
    top: 0px;
    text-align: center;
}

#menu_bar {
    display: flex;
    position: fixed;
    z-index: 999;
    margin: auto;
    right: 0;
    left: 0;
    height: 45px;
    width: 100%;
    background-color: White;
    border-bottom: 1px solid #cccccc;
}

    #menu_bar div.pjname {
        padding: 1px 2px 1px 2px;
        width: 80px;
    }

    #menu_bar div.user_name {
        padding-top: 15px;
        max-width: 170px;
        margin-left: auto;
    }

        #menu_bar div.user_name img {
            padding-bottom: 3px;
        }

    #menu_bar div.logout {
        margin: 8px 10px 0 20px;
    }

div.header_pagename {
    white-space: nowrap;
    height: 45px;
    padding: 7px 0 5px 0;
    margin: auto;
    font-size: 18px;
    font-weight: bold;
    background-color: #fff;
    color: #033c73;
    position: relative;
}

div.header_message {
    font-size: 12px;
    background-color: #fff;
    color: #4b4b4b;
    position: relative;
    margin: 0 auto;
}

/**********************************************************************************
	テーブル関連
***********************************************************************************/
.gridTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: none;
    border-radius: 7px;
    table-layout: fixed;
    word-wrap: break-word;
}

    .gridTable th:first-child {
        border-radius: 7px 0 0 0;
    }

    .gridTable th:last-child {
        border-radius: 0 7px 0 0;
    }

    .gridTable th {
        color: white;
        background: linear-gradient(#00519B,#033c73);
        box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
        padding: 2px 0px 2px 4px;
    }

        .gridTable th a {
            color: white;
            text-decoration: underline;
            text-decoration-color: #d5edfa;
        }

    .gridTable td {
        padding: 2px 5px;
        border: 1px solid #c8d6e4;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

.gridPager {
    font-size: 13px;
}

    .gridPager td {
        background: linear-gradient(#00519B,#033c73);
        border: none;
        padding: 2px;
    }

    .gridPager span, .gridPager a {
        text-decoration: none;
        padding-left: 4px;
        padding-right: 4px;
        border: none;
    }

    .gridPager span {
        color: white;
    }

    .gridPager a:hover {
        color: White;
        background-color: Gray;
        padding-left: 4px;
        padding-right: 4px;
        border: none;
    }

table.search-tbl td {
    vertical-align: middle;
}

    table.search-tbl td.right {
        color: #185578;
        font-weight: bold;
        padding-right: 7px;
        font-size: small;
    }

table.input_tbl3 {
    border-collapse: collapse;
    margin-top: 5px;
}

    table.input_tbl3 td {
        border-top: 1px solid #b8c8d8;
        border-bottom: 1px solid #b8c8d8;
        color: #4b4b4b;
    }

        table.input_tbl3 td.fieldname {
            background-color: #cdd8e3;
            padding: 5px;
            font-weight: bold;
            color: #185578;
        }

        table.input_tbl3 td.content {
            padding: 5px 7px;
        }

/**********************************************************************************
	必須入力項目の警告場所の表示
***********************************************************************************/
/*.bg-warning {
    background-color: #FFE4E1 !important;
}*/

/**********************************************************************************
	画面中にグルグル回るローディング画面を出す
***********************************************************************************/
#loading {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -30px;
}

/**********************************************************************************
	DATEPICKER
***********************************************************************************/
.calendar {
    width: 80px;
}

/**********************************************************************************
	checkbox radio のdisabled の表示
***********************************************************************************/
input[type=radio], input[type=radio] + label, input[type=checkbox], input[type=checkbox] + label {
    cursor: pointer;
}

div::-webkit-scrollbar {
    width: 12px;
}

div::-webkit-scrollbar-track {
    background: #fff;
    border: none;
    border-radius: 10px;
    box-shadow: inset 0 0 2px #777;
}

div::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 10px;
    box-shadow: none;
}

div.footer {
    display: block;
    clear: both;
    position: relative;
    width: 100%;
    margin: 0 auto;
    background-color: #b4d6ff;
    overflow: hidden;
    padding-top: 0px;
    padding-bottom: 15px;
    z-index: 0;
    height: 40px;
}

.main {
    text-align: left;
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
    display: block;
}

.approve-check > input[type=checkbox] {
    margin-right: 5px;
}
