﻿@charset "utf-8";

/* 全体レイアウト */
body {
  margin: 0;
  padding: 0;
  background-color: color-mix(in srgb, var(--base-color) 10%, #fff);
}
.wrapper {
  min-width: 1000px;
}
.wrapper .inner {
  max-width: 1600px;
  background-color: white;
  margin: 5px auto;
  padding: 5px 10px;
}
.contents {
  min-height: 500px;
}
.content {
  margin-left: 2rem;
}

/*デバッグ*/
.todo {
  font-weight: bolder;
  background-color: yellow;
}

/*共通*/
H1 {
  font-size: 1.5rem;
  text-decoration: solid underline color-mix(in srgb, var(--base-color) 30%, #fff) 4px;
  background-color: color-mix(in srgb, var(--base-color) 10%, #fff);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  width:-moz-fit-content; /* Firefox */
  width:fit-content; /* other browsers */
}
H2 {
  font-size: 1.2rem;
  text-decoration: solid underline lightgray 2px;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  width:-moz-fit-content; /* Firefox */
  width:fit-content; /* other browsers */
}
#lblErrMSG {
  display: inline-block;
  height: 1rem;
}
.errmsg {
  font-weight: bolder;
  color: red;
}
.nowrap {
  white-space: nowrap;
}
.floatright {
  float: right;
}
.InlineBlock {
  display: inline-block;
}

/*jQuery UI Dialogの要注意メッセージ*/
.ImportantMsg {
  font-weight: bolder;
  color: red;
}

/*select2 カスタマイズ*/
.select2-dropdown {
  width: 20rem !important;
}

/*DataTables カスタマイズ*/
/*フッタの左右の余白設定*/
DIV.dt-layout-row:last-child DIV.dt-layout-start {
  padding-left: 3rem;
}
DIV.dt-layout-row:last-child DIV.dt-layout-end {
  padding-right: 3rem;
}

/*上までスクロールボタン*/
.scroll-to-top {
	color: var(--base-color);
	position: fixed;
	right: 1.5rem;
	bottom: 1.5rem;
	cursor: pointer;
	text-shadow: 0 0.125em 0.25em rgba(0,0,0,0.5);
}
.scroll-to-top-text {
	font-size: 1rem;
	font-weight: bold;
	color: color-mix(in srgb, var(--base-color) 30%, #000);
}

/*ヘッダー*/
DIV.fci-header {
  width: 100%;
  height: 40px;
  background-color: var(--base-color);
  margin: 0 0 5px 0;
  padding: 2px;
  vertical-align: middle;
  position: relative;
}

DIV.fci-header > SPAN.left {
	float: left;
}

SPAN.right {
	float: right;
}
DIV.fci-header > SPAN.right {
	vertical-align: middle;
	margin-top: 15px;
}
DIV.clearboth {
  clear: both;
}

DIV.fci-clearboth SPAN.logout {
	margin-left: 20px;
}

img.icon{
	width: 1.5rem;
	height: 1.5rem;
}

.title{
	font-size: 1.5rem;
	font-weight: bold;
  position: absolute;
  height: 40px;
  vertical-align: middle;
  padding-top: 4px;
  padding-left: 4px;
}
DIV.fci-header a.titlelink:hover{
	color : black;
	text-decoration: underline;
}
DIV.fci-header a.titlelink:visited{
	color : black;
}
DIV.fci-header a.titlelink{
	text-decoration: none;
}
.MenuArea {
  margin: 0;
}
.MenuArea a {
  margin-right: 2rem;
}
.MenuArea a.active{
  background-color: color-mix(in srgb, var(--accent-color) 10%, #fdfdfd);
}
.MenuBottom {
  background: linear-gradient(to bottom, #ffffff, #cccccc);
  height: 5px;
  margin-bottom: 0.5rem;
}

.selected{
	font-weight: bold;
}

img.logo {
  height:40px;
}
.tokuisaki {
  background-color: color-mix(in srgb, var(--base-color) 30%, #fff);
  width: 100%;
  height: 30px;
  margin: 0 0 5px 0;
  padding: 2px;
  vertical-align: middle;
	font-size: 1.2rem;
}

/*フッター*/
DIV.fci-footer {
  width: 100%;
  background-color: var(--base-color);
  margin: 10px 0 0 0;
  padding: 2px;
  vertical-align: middle;
  text-align: center;
  position: relative;
  font-size: 0.6rem;
  color: gray;
}

/*入力項目 共通*/
/*
input.active,
select.active,
span.active {
  border: 2px var(--base-color) solid;
  background-color: #dfffff;
}
*/
INPUT[type=text],
INPUT[type=number],
INPUT[type=date],
INPUT[type=time],
INPUT[type=password],
SELECT.sel,
SPAN.select2-selection {
  font-size: 1rem !important;
  height: 1.5rem !important;
  border-width: 1px !important;
  border-style: outset !important;
  border-color: #767676 !important;
  border-radius: 3px !important;
  margin-bottom: 3px !important;
}
/*アクティブコントロール*/
INPUT[type=text]:focus:not([readonly]),
INPUT[type=number]:focus:not([readonly]),
INPUT[type=date]:focus:not([readonly]),
INPUT[type=time]:focus:not([readonly]),
INPUT[type=password]:focus:not([readonly]),
TEXTAREA:focus:not([readonly]),
SELECT:focus:not([readonly]),
.select2-container *:focus:not([readonly]) {
  border: 2px var(black) solid !important;
  background-color: #dfffff !important;
}
/*入力エラーコントロール*/
INPUT[type=text].error:not([readonly]),
INPUT[type=number].error:not([readonly]),
INPUT[type=date].error:not([readonly]),
INPUT[type=time].error:not([readonly]),
INPUT[type=password].error:not([readonly]) {
    background-color: #ffdfdf;
}
/*ReadOnlyコントロール*/
INPUT[readonly] {
  background-color: #eeeeee !important;
}
INPUT[type=number] {
  text-align: right;
  width: 3rem;
}
INPUT[type=date] {
  width: 8rem;
}
INPUT[type=time] {
  width: 5rem;
}
INPUT[type=checkbox] {
  -ms-transform: scale(1.5, 1.5);
  -webkit-transform: scale(1.5, 1.5);
  transform: scale(1.5, 1.5);
}
INPUT[type=button]:hover,
button:hover{
  background-color: var(--accent-color);
}
a:hover{
  color: #000000;
  background-color: var(--accent-color);
}
a:link,
a:visited {
  color: #333333;
  text-decoration: underline;
  cursor: pointer;
}
/*画像ボタン*/
INPUT[type=button].ImageBtn {
  height: 1.5rem;
  width: 1.5rem;
  padding: 2px;
  border-width: 1px;
  border-style: outset;
  border-radius: 3px;
  border-color: #767676;
  background-size: 1rem 1rem;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #efefef;
  cursor: pointer;
}
INPUT[type=button].ImageBtn:hover {
  /*background-color: #e5e5e5;*/
  background-color: var(--accent-color);
  border-color: #4f4f4f;
}
/*編集ボタン*/
INPUT[type=button].BtnEdit {
  background-image: url("/image/edit.png");
}
/*ダウンロードボタン*/
INPUT[type=button].BtnDownload {
  background-image: url("/image/download.png");
}
/*プレビューボタン*/
INPUT[type=button].BtnPreview {
  background-image: url("/image/preview.png");
}

/*項目幅*/
#TxtTorihikisakiCD,
.TorihikisakiCD {
  width: 8rem;
}
#TxtTorihikisakiName,
#SelTorihikisakiName,
.TorihikisakiName {
  width: 20rem;
}
#TxtTantoushaCD {
  width: 8rem;
}
#TxtTantoushaName {
  width: 20rem;
}
#TxtSiteName {
  width: 20rem;
}
#TxtBaseColor {
  width: 7rem;
}
#ClrBaseColor {
  width: 3rem;
}
#TxtUser,
#TxtPassword,
#TxtMail {
  width: 20rem;
}
#TxtKubun,
.TorihikisakiKubun {
  width: 2rem;
}
#NumKingaku {
  width: 8rem;
}
#TxtFileName {
  width: 20rem;
}
#TxtFileExtention {
  width: 3rem;
}

/*検索欄*/
.SerachArea {
  padding: 0;
  background-color: color-mix(in srgb, var(--another-color) 15%, #f0f0f0);
  width:-moz-fit-content; /* Firefox */
  width:fit-content; /* other browsers */
  border-radius: 0.5rem;
}
.SerachArea .AreaTitle {
  background-color: color-mix(in srgb, var(--another-color) 40%, #f0f0f0);
  margin-bottom: 0;
}
.SerachArea .ButtonArea {
  text-align: right;
  margin-bottom: 0;
}
.SerachArea .ButtonArea INPUT[type=button]{
  width: 5rem;
}
.SerachArea DIV {
  margin-bottom: 0.5rem;
}
.SerachLabel {
  display: inline-block;
  width: 6rem;
}

.UploadArea {
  padding: 0rem;
  margin-bottom: 0.5rem;
  background-color: color-mix(in srgb, var(--another-color) 15%, #f0f0f0);
  width:-moz-fit-content; /* Firefox */
  width:fit-content; /* other browsers */
  border-radius: 0.5rem;
}
.UploadArea .AreaTitle {
  background-color: color-mix(in srgb, var(--another-color) 40%, #f0f0f0);
  margin-bottom: 0;
}

.CmdArea {
  padding: 0;
  margin-bottom: 0.5rem;
  background-color: color-mix(in srgb, var(--accent-color) 15%, #f0f0f0);
  width:-moz-fit-content; /* Firefox */
  width:fit-content; /* other browsers */
  border-radius: 0.5rem;
}
.CmdArea .AreaTitle {
  background-color: color-mix(in srgb, var(--accent-color) 40%, #f0f0f0);
}
.AreaTitle {
  font-size: 0.8rem;
  padding: 0 0.5rem;
  border-radius: 0.5rem 0.5rem 0 0;
}
.AreaBody {
  padding: 0.5rem;
}

/*ログインページ*/
.LoginLabel {
  display: inline-block;
  width: 8rem;
}
#BtnLogin {
  width: 16rem;
  margin-top: 2rem;
  margin-left: 4rem;
}

/*一覧ページ*/
.FlexParent,
.FlexParentCol {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
}
.FlexParent {
  flex-direction: row;
}
.FlexParentCol {
  flex-direction: column;
}
.FlexContent {
  /*width: 45%;*/
}
#PreviewArea {
  padding-left: 1rem;
  z-index: 1000;
}
#previewframe {
  display: block;
  height: 1200px;
  border: #000000 solid 1px;
}
#LblPeviewFileName,
#BtnPreviewClose{
  margin-left: 1rem;
}
/*公開アイコン*/
DIV.publish{
  display: inline-block;
  font-size: 0.9rem;
  text-align: center;
  vertical-align: middle;
  width: 1.8rem;
  height: 1.8rem;
  background-repeat: no-repeat;
  background-position:center;
  background-size: contain;
}
DIV.published{
  background-image: url(/image/published.png);
}
DIV.unpublished{
  background-image: url(/image/unpublished.png);
}

/*お知らせ*/
div.information {
  width: fit-content;
  min-width: 500px;
  border: 2px solid var(--base-color);
  padding: 0.5rem;
  margin: 0.5rem;
  margin-left: 4rem;
  border-radius: 1rem;
}
P.InfoTitle {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
P.InfoTitle IMG {
  vertical-align: bottom;
  margin-right: 1rem;
}

/*担当者マスタページ*/
.Lockout {
  margin-left: 1rem;
}
/*設定ページ*/
.InputLabel {
  display: inline-block;
  width: 15rem;
  vertical-align: top;
}
.InputLabel.important {
  font-weight: bolder;
  color: #dc143c;
}

.SettingText {
  width: 20rem;
}
.SettingRadio {
  display: inline-block;
  width: 10rem;
}
DIV.logoPreview {
  height: 40px;
  width: 50%;
  margin: 0 0 5px 0;
  padding: 2px;
  vertical-align: middle;
}
INPUT.txtinfo {
  margin: 0;
}
TEXTAREA.info {
  width: 50rem;
  height: 6rem;
}
TEXTAREA.MailBody {
  width: 40rem;
  height: 6rem;
}
#LblTitlePreview {
  display: inline-block;
}

/*toaster 中央表示*/
.toast-middle-center {
  top: 50%;
  right: 0;
  width: 100%
}
#toast-container.toast-middle-center>div {
  width: 300px;
  margin-left: auto;
  margin-right: auto;
}

/*************
/* テーブル
*************/
/*datatables.cssの設定を上書き*/
table.dataTable {
  width: auto !important;
  margin-left: 2rem !important;
  margin-right: 0 !important;
}
div.dt-container div.dt-layout-row {
  justify-content: flex-start !important;
}
div.dt-container div.dt-layout-row div.dt-layout-cell.dt-layout-start {
  margin-right: 0 !important;
}
div.dt-container div.dt-layout-row div.dt-layout-cell.dt-layout-end {
  margin-left: 2rem !important;
}

table.DataTbl {
	border-collapse: collapse; /* セルの線を重ねる */
  margin-bottom: 0.5rem;
  max-width: 1500px;
}

table.DataTbl th {
  background-color: color-mix(in srgb, var(--base-color) 20%, #f0f0f0);
}

table.DataTbl th .sort{
  font-size: smaller;
  color: gray;
  padding-left: 1em;
}

/* 奇数行 */
table.DataTbl tr:nth-child(odd) td {
  background-color: color-mix(in srgb, var(--accent-color) 10%, #fdfdfd);
}

/* 偶数行 */
table.DataTbl tr:nth-child(even) td {
	background-color: white;
}

table.DataTbl th,
table.DataTbl td {
  border: solid 1px;  /* 枠線指定 */
  padding: 2px 10px;  /* 余白指定 */
}
table td.right {
  text-align: right;
}
table td.center {
  text-align: center;
}

/* 前と同じ */
table.DataTbl .same {
  color: lightgray;
}

/* 件数テーブル */
DIV.SummaryTbl {
  overflow-y: auto;
  max-height: 200px;
  width: fit-content;
  border-top: 1px solid #000;
  -webkit-overflow-scrolling: touch;
}
DIV.SummaryTbl TABLE {
  border-spacing: 0;
  border-top: none;
}
DIV.SummaryTbl TABLE TH {
  position: sticky;
  top: 0;
  border-top: none;
}

/*コピー元要素*/
.original {
  display: none;
}