
/* Ag-Grid font Size */
div.ag-theme-alpine div.ag-row {
    font-size: 11px !important;
}

/* Ag-Grid seleted range */
.ag-theme-alpine {
    font-size: 11px;
    --ag-range-selection-border-color: rgb(193, 0, 97);
    --ag-range-selection-border-style: dashed;
    --ag-range-selection-background-color: rgb(255, 0, 128, 0.1);
    /* 以下は領域が２～４重に重ねってる時の色表示用 */
    --ag-range-selection-background-color-2: rgb(255, 0, 128, 0.19);
    --ag-range-selection-background-color-3: rgb(255, 0, 128, 0.27);
    --ag-range-selection-background-color-4: rgb(255, 0, 128, 0.34);
    --ag-range-selection-highlight-color: rgb(60, 188, 0, 0.3);
}

.ag-tooltip {
    background-color: #0f1014 !important;
    color: #e5e6e9 !important;
    border-radius: 5px !important;
    padding: 5px;
    border-width: 1px;
    border-style: solid;
    border-color: #545454;
 }

.ag-row-hover {
    /* background-color: #c6e6cb !important; */
    background-color: #e8f4fe !important; 
    /* background-color: #eff3ff !important; */
}

/*
.ag-cell-focus,
*/
.ag-cell-no-focus {
    border: none !important;
}

.no-border.ag-cell:focus {
    border: none !important;
    outline: none;
}

.bg_warning {
 /* background: #efcb05 !important; */
    background: #ffecbc !important;
}
.bg_white {
    background: white !important;
}

.bg_lightpink {
    background: lightpink !important;
}

.bg_aquamarine {
    background: mediumaquamarine !important;
}

.bg_cornflowerblue {
    background: cornflowerblue !important;
}

table.table-bordered {
    border: 1px solid white;
    margin-top: 0px;
}

table.table-bordered>thead>tr>th {
    padding: 5px;
    width: 85px;
    border: 2px solid white !important;
}

table.table-bordered>tbody>tr>td {
    padding: 5px;
    width: 85px;
    border: 2px solid white;
}

td {
    vertical-align: middle !important;
}

.pop-label {
    padding-top: 3pt;
    margin-right: 5pt;
    text-align: right;
}

.pop-row {
    margin-bottom: 3px;
    font-size: 14px;
}

.pop-text {
    border-width: 1px;
    padding: 2px;
    font-size: 14px !important;
}

.ui-widget {
    font-size: 0.8em;
}

.ui-tabs .ui-tabs-panel {
    font-family: 'Meiryo', "ヒラギノ角ゴ Pro W3", "ＭＳ Ｐゴシック", sans-serif;
    display: block;
    border-width: 0;
    padding: 1em 1.4em;
    background: #EFF8FB;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active {
    margin-bottom: -1px;
    padding-bottom: 1px;
    background: #EFF8FB;
}

/* 土曜日の色設定 */
td.ui-datepicker-week-end:last-child a.ui-state-default {
    color: #00f !important;
    /* 文字色：青 */
}

/* 日曜日の色設定 */
td.ui-datepicker-week-end:first-child a.ui-state-default {
    color: #f00 !important;
    /* 文字色：赤 */
}

/* centering modal on contents not screen */
.modal {
    position: absolute;
    margin: 0 auto auto auto;
    top: 0;
    left: 0;
    right:0;
}

.modal-header {
    font-size: 12px !important;
    width: 100%;
    height: 22px;
    color: white;
    background-color: mediumseagreen;
}

.modal-title {
    font-size: 16px !important;
}

.modal-content {
    position: absolute;
    top: 0;
    left: 0;
    height: 80vh;
}

.modal-lg {
    margin: auto;
    margin-top: 57px;
}
.modal-fullscreen {
    position: fixed;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    overflow: hidden;
}

.modal-footer{
    padding: .5rem !important;
}


.circle-icon {
    width: 21px !important;
    height: 21px !important;
    background: rgba(192, 192, 192, 0.4);
    border-radius: 50%;
    text-align: center;
    vertical-align: middle;
    box-shadow: 1px 1px 1px #888888;
    padding: 3px;
}

.imgThumb {
    border: solid 1px #E6E6E6;
    object-fit: contain;
    object-position: center;
    background: white;
    cursor: pointer;
}


fieldset {
    margin-bottom: 15px;
    padding: 0 10px 10px;
    border: 1px LightGrey solid;
    border-radius: 7px;
}

.col-form-label {
    color: black;
    text-align:right;
    padding-right: 5px;
}

.input-required {
    border-width: 1px;
    background: #C6EDFB;
}

label.float-up {
    float: left;
    padding-left:4px;
    font-size:0.7rem;
    margin-top:-2.75rem;
}
label.colon::after {
    content: ' : ';
}


select.placeheld {
    font-size: .95em;
    font-weight: bold;
    opacity: 0.815;
    color: #999999;
    height: 25px;
}
.h25 {
    height: 25px !important;
}

/* in lieu of placeholder for select */
option[value=''][disabled] {
    display: none;
}
input.ellipsis {
   white-space: nowrap; 
   overflow: hidden;
   text-overflow: ellipsis;
   display: inline-block;
   vertical-align: middle;
}
input::placeholder {
    font-size: .95em;
    font-weight: bold;
    opacity: 0.815;
}

/* File Attach-Button Control */
.attach-btn {
    display: inline;
    float: right;
    line-height:1rem;
    font-size:0.7rem;
    margin: 2px;
    padding: 1px 8px;
    color: #ffffff;
    background-color: #dcdcdc;
    cursor:not-allowed;
}
.attach-btn.active {
    background-color: #6c757d;
    cursor: pointer;
}

@media (min-width: 1024px) {
    legend {
        font-size: 0.9rem;
        margin: -0.7rem 0 0 1rem;
        width:fit-content;
        background-color: #EFF8FB;
    }
    legend::before,
    legend::after
    {
        content: ' ';
        white-space: pre;
    }
}

/* jquery-ui (白色⇒黒系) */
.ui-state-active a,
.ui-state-active a:link,
.ui-state-active a:visited {
	color: #212121;
	text-decoration: none;
}

/* ag-Grid filter wrapper height */
.ag-filter-toolpanel-header {
    height: 29px !important;
    vertical-align:top;
}

.center .ag-cell-wrapper {
    justify-content: center;
}

.cell-editable {
    margin-top: 3px;
    border: 1px solid #cdcdcd;
    top: -3px;
}

.cell-dock {
    background-color: #eff8fb;
    /* color: #0d6efd; */
    color: #0000ff;
    opacity: 0.9;
    cursor: zoom-in !important;
}

/* tooltipの開行表示、小し縮めた文字表示 */
.tooltip-inner {
    font-size: 0.7rem;
    white-space:pre-line;
    text-align:left;
}

/* jquery-ui (白色⇒黒系) */
a.attaches,
.attaches a,
.attaches a:link,
.attaches a:visited {
	color: #0064d3;
	text-decoration: none;
}

a.disable {
    pointer-events: none;
    color:#6c757d;
}

.notouch * {
    pointer-events: none;
}

.discard td {
    background-color: #df6559;
}
.discard td * {
    text-decoration : line-through;
    color: #df6559;
}

.table-fields {
    font-size: 0.75rem;
    width: 100%;
    margin-left: -7px;
    margin-top: 4px;
    border-spacing: 0;
}
.table-fields td {
    margin: auto 0;
    padding: 0;
    line-height: 13px;
    vertical-align: middle;
}
.table-fields select {
    padding-left: 4px;
    height: 19px;
}
.table-fields input {
    width: 100%;
    margin: 0;
    padding-left: 4px;
}
.table-fields tbody>tr:hover {
    background-color: #bcdffb;
}
.table-fields th:nth-child(n+2) {
    border: solid 2px #ffffff;
    height: 11px;
    font-size: 0.7rem;
    background-color: #4c5d8a;
    color: #ffffff;
}
.table-subtop * {
    color: #00194b !important;
    font-weight: 550;
}


.datetime {
    width: 148px !important;
}

.datetime:after {
    content: '📅' !important;
}

.d-warn>* {
    color: #dc3545 !important;
    opacity: 0.8 !important;
}
.d-lock>* {
    pointer-events: none !important;
}
.d-hide>* {
    visibility: hidden !important;
}
.d-non>* {
    display: none !important;
}
.d-dim>* {
    opacity: 0.75 !important;
}
.d-tint>* {
    opacity: 0.45 !important;
}

.lead-dock {
    cursor: zoom-in !important;
}

select[readonly],
input[readonly] {
    background-color: #f3f6f7;
    border: solid 1px #cfd1d2; 
}


.spin-box {
    position: absolute;
    top: 37%; left: 50%;
    transform: translate(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 999;
}

.x-btn {
    cursor: default !important;
    height: 1.1rem;
    margin: 0 3px;
    padding: 0 6px;
    font-size: 0.7rem;
}
.x-btn a {
    text-decoration: none;
    margin: 0 -4px 0 4px;
    cursor: pointer;
    display: none;
}

li label {
    display: block;
    padding-left: 15px;
    text-indent: -15px;
}
li input {
    padding: 0;
    margin:0;
    vertical-align: bottom;
    position: relative;
    top: -4px;
    overflow: hidden;
}


.blink {
    color: #cc0000;
    animation: blinkAnime 1s infinite alternate;
/*	display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
*/	overflow: visible;
}
@keyframes blinkAnime{
    0%  { font-weight : normal  }
    100%{ font-weight: bold }
}

.warning {
    animation: warnAnime 1s infinite alternate;
    overflow: visible;
}
@keyframes warnAnime{
    0%  { color : #6c757d }
    50% { color : #806f6f }
    100%{ color : #ff3333 }
}

/*
/* Drag＆Dropでサイズ変更 */
/*
.resizer {
    display: inline-block;
    height: 100%;
    width:3px;
    right:0;
    top:0;
    cursor: col-resize;
    user-select: none;
}
*/