
body {
  word-wrap: break-word;
  padding: 0;
  min-height: 100%;
  height: 100%;
}

#header {
  background: #00b6e1;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

#login h1 {
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  padding: 20px;
}

#header h1 {
  color: #fff;
  font-weight: bold;
  font-size: 20px;
}

#header ul {
  color: #fff;
}

#header li {
  display: inline-block;
  margin-left: 15px;
}

#header li.logout {
  padding: 4px 30px;
  border-radius: 25px;
  border: 1px solid #fff;
  text-decoration: none;
  color: #FFF;
}

#header li.logout a {
  font-size: 12px;
}

#header li.logout:hover {
  transition: all .3s;
  background-color: #133D7C;
  border:1px solid #133D7C;
}

#header li.logout:hover a {
  text-decoration: none;
}

.container {
  display: flex;
  flex-direction: column;

  height: 100%;
  min-height: 100vh;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

.container.iframe {
  padding-top: 60px;
}

#footer {
  background: #00b6e1;
  color: #fff;
  text-align: center;
  padding: 10px;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  background: #c4beff;
}


/*****サイド *****/

.left {
  min-width: 250px;
  background: #e3e3e3;
}

.accordion {
  width: 100%;
  max-width: 360px;
  margin: 0px auto 20px;
  background: #FFF;
}

.accordion .link {
  cursor: pointer;
  display: block;
  padding: 15px 15px 15px 42px;
  color: #0a3d7f;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid #CCC;
  position: relative;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.accordion li:last-child .link {
  border-bottom: 0;
}

.accordion li i {
  position: absolute;
  top: 16px;
  left: 12px;
  font-size: 18px;
  color: #595959;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.accordion li i.fa-chevron-down {
  right: 12px;
  left: auto;
  font-size: 16px;
}

.accordion li.open .link {
  color: #0a3d7f;
}

.accordion li.open i {
  color: #0a3d7f;
}

.accordion li.open i.fa-chevron-down {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}

.accordion li.default .submenu {
  display: block;
}

.submenu {
  display: none;
  background: #0a3d7f;
  font-size: 14px;
}

.submenu > * {
  border-bottom: 1px solid #3769aa;
}

.submenu a {
  display: block;
  text-decoration: none;
  color: #d9d9d9;
  padding: 12px;
  padding-left: 42px;
  -webkit-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.submenu a:hover {
  background: #18b2e4;
  color: #FFF;
}

.contents {
  flex: 1;
  background: #eee;
  padding: 20px;
}


/***** メインコンテンツ *****/


/* 大項目 */

.title {
  color: #0a3d7f;
  font-weight: bold;
  margin-bottom: 20px;
}

.info.tables .title {
  font-size: 14px;
  font-weight: bold;
}

.contents > .title {
  color: #0a3d7f;
  border-left: 6px solid #0a3d7f;
  font-weight: bold;
  font-size: 2.4rem;
  margin-bottom: 20px;
  text-indent: 0;
  padding-left: 12px;
  line-height: 1.2;
}

/* カード */

.card {
  margin: 0 auto 20px;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
}

.card .card-title {
  font-weight: bold;
  font-size: 2.2rem;
  border-bottom: 2px solid #0a3d7f;
  margin-bottom: 14px;
  padding-bottom: 4px;
}

.card .card-title > i {
  color: #0a3d7f;
  margin-right: 10px;
}

.card .card-title + div > form {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.card > .row > .top_list {
  width: 100%;
  float: none;
}

.card > .row > .top_list > h2 {
  background-color:#b6d6ff;
  padding: 12px 10px;
  font-weight: bold;
 }

.card > .row > .top_list > dl {
  display: flex;
  flex-wrap: wrap;
}


.card > .row > .top_list > dl > * {
  padding: 10px;
}


.card > .row > .top_list > dl > dt {
  width: 40%;
  background-color: #e2e2e2;
  border-bottom: 1px solid #fff;
  display: flex;
  align-items: center;
}

.card > .row > .top_list > dl > dd {
  width: 60%;
}



.card > .row > .top_list > dl > dt >span {
  background-color: #133D7C;
  color: #ffffff;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-left: auto;
  white-space: nowrap;
}

.card > .row > .top_list > dl > dt:after {
  content: '';
  display: block;
  clear: both;
}

.category_text,
.title_text,
.view_flg_text {
  white-space: nowrap;
}



.blog.search-box ul.row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.blog.search-box ul.row > .col-lg-3 {
  white-space: nowrap;
}



.search-box div.row {
  display: flex;
  align-items: center;
}

.search-box div.row > div:first-child {
  white-space: nowrap;
}
.search-box div.row > .view_flg_text,
.search-box div.row > .open_day_at_text,
.search-box div.row > .title_text {
  width: 100px;
}

.search-box div.row > div.close_day_at_text {
  margin-right: 0;
  padding-right: 0;
  width: 60px;
}





/* テーブル */

table {
  margin-top: 20px;
  width: 100%;
  border-collapse: separate;
  text-align: left;
  line-height: 1.5;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
}

table th {
  padding: 10px;
  color: #fff;
  text-align: left;
  font-weight: bold;
  vertical-align: middle;
  border-bottom: 1px solid #ccc;
  background: #0a3d7f;
  border-right: 1px solid #ccc;
  width: 200px;
  white-space: nowrap;
}

table > thead > tr > th {
  text-align: center;
}

table th[class*="cafe-price_money"],
table th[class*="cafe-view_flg"],
table th.edit,
table th.delete {
  width: 60px;
}

table td {
  background: #fff;
  padding: 10px;
  vertical-align: middle;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

table td.media_thum_img {
  display: flex;
  align-items: center;
  justify-content:center;

}

table td.media_thum_img img {
  width: auto;
  height: auto;
}

table td .media_pdf_link:hover {
  text-decoration: none;
}

table td a.edit {
  font-size: 160%;
  color: #0a3d7f;
}

table td a.delete {
  font-size: 180%;
  color: #0a3d7f;
}

table .category_flg_tr>td,
table .view_flg_tr td,
table .category_flg_tr>td>label,
table .view_flg_tr td>label,
table .login_flg_tr td>ul,
table .manager_flg_tr td>ul {
  display: flex;
  align-items: center;
}

table .login_flg_tr td>ul>li,
table .manager_flg_tr td>ul>li,
table .manager_flg_tr td .writer>label {
  margin-right: 20px;
}

table .category_flg_tr>td>label>input,
table .view_flg_tr td>label>input,
table .login_flg_tr td>ul input,
table .manager_flg_tr td>ul input {
  margin-right: 6px;
}


table .category_flg_tr>td>label:not(:last-child),
table .view_flg_tr td>label:not(:last-child) {
  margin-right: 30px;
}

form > table ~ button {
  margin: 40px 10px;
  width: 200px;
  padding: 10px;
}

table.user tr td {
  vertical-align: middle;
  padding: 0 10px;
}


.paginate-div {
  display: flex;
}

.paginate-div .col-md-offset-11 {
  margin-left:auto;
}

.media_add.exception_target {
  margin-bottom: 10px;
}

/*入力項目*/

#login input[type="text"],
#login input[type="password"] {
  height: 25px;
  width: 150px;
  background: #eee;
  border: 1px solid #bebebe;
  font-size: 1em;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  margin: 7px;
}

#login input[type="text"]:focus,
#login input[type="password"]:focus {
  background: #edf4ff;
  border: 1px solid #4881d9;
}

#contents input[class="title"] {
  width: 700px;
  margin-bottom: 0;
}

.contents td input[type="text"]:focus {
  background: #edf4ff;
  border: 1px solid #4881d9;
}

.theme-color {
  color: #0a3d7f;
}

/*input::-webkit-calendar-picker-indicator {
      display: none;
}*/


/* link */

.logout a:link,
.logout a:visited,
.logout a:hover,
a:active {
  color: #ffffff !important;
}

.icon-required {
  border:1px solid #fff;
  color: #fff;
  font-size: 12px;
  padding: 2px 10px;
  display: block;
  float: right;
}

.help-block.required {
  display: block;
  font-size: 12px;
  color: #5c5c5c;
  margin: 10px 0 0 0;
}

input[value*="news"] + .info_edit .category_flg_tr .icon-required {
  display: none;
}


.help-block strong {
  color: #cc0000;
  font-weight: bold;
}


.iziModal .iziModal-content > h3 {
  background-color: #0a356d;
  color: #fff;
  padding: 16px 20px;
}



.SelectModal>div.iziModal-wrap>div>ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.SelectModal>div.iziModal-wrap>div>ul>li {
  width : calc(100% / 3) ;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

.SelectModal>div.iziModal-wrap>div>ul>li i {
  color: #0a3d7f;
  font-size: 30px;
  width: 40px;
}

.SelectModal>div.iziModal-wrap>div>ul>li i.fa-info {
  margin-left: 8px;
  width: 32px;
}

.SelectModal>div.iziModal-wrap>div>ul>li i.fa-circle-o {
  font-size: 20px;
  width: 20px;
}

.SelectModal>div.iziModal-wrap>div>ul>li > form {
  display: flex;
  align-items: center;
  padding: 20px 10px;
}

.SelectModal>div.iziModal-wrap>div>ul>li > form:hover {
  background: rgba(30, 179, 218, 0.2);
  transition: all .3s;
}

.SelectModal>div.iziModal-wrap>div>ul>li > form:hover a {
  color:#0a356d;
}

.SelectModal>div.iziModal-wrap>div>ul>li a {
  width: 100%;
  padding-left: 10px;
  font-size: 16px;
  font-weight:bold;
}

.SelectModal>div.iziModal-wrap>div>ul>li a:hover {
  text-decoration: none;
}



#mediaEdit {
  border: 2px solid #ccc;
  background-image: url(/admin/common/images/click.png);
  background-size: cover;
  background-position: center center;
}

#mediaEdit:hover {
  cursor: pointer;
  border: 2px solid #0a3d7f;
  transition: all .3s;
}

#sp_mediaEdit {
  border: 2px solid #ccc;
  background-image: url(/admin/common/images/click.png);
  background-size: cover;
  background-position: center center;
}

#sp_mediaEdit:hover {
  cursor: pointer;
  border: 2px solid #0a3d7f;
  transition: all .3s;
}



#contribution_contents > table,
#contribution_contents > table tr > td,
#contribution_contents > table tr > td table {
  border: none;
}

#contribution_contents > table tr > td:empty {
  padding: 0;
}

#contribution_contents .border tr > td {
  border: 1px solid #aaaaaa;
}


/*ボタン*/
button {
  color: #fff;
  padding: 4px 20px 4px 36px;
  border-radius: 20px;
  background-color: #0a3d7f;
  background-image: url(/common/img/ico/list-arrow-whi.png);
  background-repeat: no-repeat;
  background-position: 18px center;
  text-decoration: none;
  font-size: 14px;
  border-width: 0;
}

.media_add_button,
.pdf_add_button,
.preview_button,
button[class*="modal-"] {
  background-color: #fff;
  background-image: url(/common/img/ico/list-arrow.png);
  color:#0a3d7f;
  border:2px solid #0a3d7f;
}

.preview_button,
button[class*="modal-"] {
  margin-left: 20px;
}

.backbtn {
  background-color: #808080;
}

button:hover {
  transition: all .3s;
  background-color: #0b1f43;
}

.backbtn:hover {
  background-color:#3b3b3b;
}

.media_add_button:hover,
.pdf_add_button:hover,
.preview_button:hover,
button[class*="modal-"]:hover {
  color: #fff;
  background-color:#0a3d7f;
  background-image: url(/common/img/ico/list-arrow-whi.png);
}

.btn-secondary > * {
  color: #fff;
}

.swal-button {
  background-image: none;
}

.swal-button--cancel:hover {
  background-color: #888888;
}

#PutButton,
#PasteButton,
#PuchPDFButton {
  color: #fff;
  margin-top: 20px;
}

/* URLが長い時に改行する　2022/05/20 */
.ui-sortable > .ui-sortable-handle > .url {
  word-break: break-all;
}