/*
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
 * Copyright (C) 2003-2007 Frederico Caldeira Knabben
 *
 * == BEGIN LICENSE ==
 *
 * Licensed under the terms of any of the following licenses at your
 * choice:
 *
 *  - GNU General Public License Version 2 or later (the "GPL")
 *    http://www.gnu.org/licenses/gpl.html
 *
 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
 *    http://www.gnu.org/licenses/lgpl.html
 *
 *  - Mozilla Public License Version 1.1 or later (the "MPL")
 *    http://www.mozilla.org/MPL/MPL-1.1.html
 *
 * == END LICENSE ==
 *
 * This is the default CSS file used by the editor area. It defines the
 * initial font of the editor and background color.
 *
 * A user can configure the editor to use another CSS file. Just change
 * the value of the FCKConfig.EditorAreaCSS key in the configuration
 * file.
 */

body {
	word-wrap:break-word;
}

#sentence h3::after {
	border:none;
}
#sentence h5 {
	background-image:none;
}

.fck_h2,
#sentence .fck_h2 {
	padding:5px 5px 5px 15px !important;
background: #eaeaea; /* Old browsers */
background: -moz-linear-gradient(top,  #fdfdfd 0%, #eaeaea 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #fdfdfd 0%,#eaeaea 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #fdfdfd 0%,#eaeaea 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#eaeaea',GradientType=0 ); /* IE6-9 */
	border-style:none !important;
	border:1px solid #CCC !important;
}

.fck_h2-1,
#sentence .fck_h2-1 {
	background:none !important;
	border-bottom:1px dotted #999 !important;
	border-right:none !important;
	border-left:5px solid #999 !important;
	border-top:none !important;
	line-height: 1.5 !important;
	/*margin-bottom: 5px !important;*/
	padding: 5px 0 5px 15px !important;
}

.fck_h3,
#sentence .fck_h3 {
	background-color:transparent;
	border-right:1px solid #CCC !important;
	border-top:1px solid #CCC !important;
	border-bottom: 1px solid #CCCCCC !important;
	border-left: 7px solid #CCCCCC !important;
	padding: 5px 0 5px 10px !important;
}

.fck_h4,
#sentence .fck_h4 {
	padding:3px 15px !important;
	border-left:5px double #aaa !important;
	border-bottom:1px solid #aaa !important;
	background-color:#F2F2F2;
	border-right:none !important;
	border-top:none !important;
}

.fck_h5,
#sentence .fck_h5 {
	padding:3px 5px !important;
	border-bottom:1px dotted #2F6DB3 !important;
	background-color:white;
}

.fck_h6,
#sentence .fck_h6 {
	padding:3px 10px !important;
	border-bottom:1px dotted #2F6DB3 !important;
	background-color:#EDF2FA;
}

.fck_box,
#sentence .fck_box {
	margin:10px auto;
	padding:5px !important;
	border:1px solid gray/* !important*/;
	background-color:white/* !important*/;
}

.fck_shadowbox,
#sentence .fck_shadowbox {
	margin:10px auto;
	padding:5px !important;
	border:1px solid gray !important;
	background-color:#EDF2FA !important;
}

.fck_dotbox,
#sentence .fck_dotbox {
	margin:10px auto;
	padding:5px !important;
	border:solid gray;
	border:1px solid gray !important;
	background-color:#E8F1E4 !important;
}

.fck_h2,
.fck_h3,
.fck_h4,
.fck_h5,
.fck_h6,
.fck_box,
.fck_shadowbox,
.fck_dotbox {
	color:#000;
	box-sizing:border-box !important;
	margin-bottom:15px;
}
#sentence .fck_h3,
#sentence .fck_h4,
#sentence .fck_h5,
#sentence .fck_h6,
#sentence .fck_box,
#sentence .fck_shadowbox,
#sentence .fck_dotbox {
	background-image:none !important;
}
/*table FCKeditor 2011.05.27追加*/
table,
table > tr > td, table > tr > th,
table > tbody > tr > td, table > tbody > tr > th,
table > thead > tr > td, table > thead > tr > th,
table > tfoot > tr > td, table > tfoot > tr > th
{
    border-collapse: collapse;
	font:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

table td {
    border-collapse: collapse;
    line-height: 1.9;
    padding: 0.5em;
}

table{
	margin-bottom:10px;
	font-size:98%;/*20120521追記*/
}

#ui-datepicker-div table {
	margin-bottom:0;

}

p{
    line-height: 1.5;
    margin: 5px 0;
}

.greeting_top{
	background-color:#ebebeb;
	border:1px solid #bbb;
	margin:10px 0;
	padding:10px;
	height:95px;
	font-size:13px;
	font:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	line-height:1.3em;
	box-shadow:inset -1px -1px 0 #f9f9f9, inset 1px 1px 0 #f9f9f9; 
}
.greeting_inner{

}
.greeting_photo{
	width:75px;
	margin:0 10px 0 0;
	float:left;
}
.greeting_txt{
	height:95px;
	display:table-cell;
	vertical-align: middle;
}

/*.fck_h2, .fck_h2-1, .fck_h3, .fck_h4, .fck_h5, .fck_h6{
	margin-bottom:10px;
	margin-top:10px;
}*/

ol{padding: 0 0 0 20px;}


#edit_gaiyou h1 {
	padding:4px 0 4px 10px;
	margin:0 0 3px 0;
	font-size:110%;
	font-weight: bold;
	color:#FFF;
	background-color:#999999;
}

#edit_gaiyou .line_solid{
	border-bottom-style:solid;
	border-width:1px;
	border-color:#efefef;
}
#edit_gaiyou .line_dash{
	border-bottom-style:dashed;
	border-width:1px;
	border-color:#efefef;
}

#edit_gaiyou{margin: -5px -10px 0px -10px !important;}

@media (prefers-color-scheme: dark){
  body {
    background-color: #000;
    color: #fff;      
  }
	.greeting_top{background: #2c2c2c;}
	.fck_h2{
		background: rgb(241,241,241) !important;
		background: -webkit-linear-gradient(left, rgba(241,241,241,1) 0%, rgba(255,255,255,1) 100%)!important;
		background: -o-linear-gradient(left, rgba(241,241,241,1) 0%, rgba(255,255,255,1) 100%)!important;
		background: linear-gradient(to right, rgba(241,241,241,1) 0%, rgba(255,255,255,1) 100%)!important;
		color: #000;
		background-image: none;
	}
    .fck_h3{color: #FFF !important;}
	.fck_h4 {color: #000;}
	.fck_h5{background: #000 !important; border-bottom: 1px dotted #3c86bb !important; color: #FFF;}
	.fck_h6 {color: #FFF; background: #2c2c2c !important;}
	.fck_box{border:1px solid #FFF !important; background-color:#000 !important; color: #FFF;}
	.fck_shadowbox {color: #000;}
	.fck_dotbox {color: #000;}
	#sentence a{color: #FFF;}
    
    #edit_gaiyou div{ color: #fff !important;}  
    #edit_gaiyou h1 { color: #fff;  background: #2c2c2c;} 
    #edit_gaiyou .line_solid{
        border-bottom-style:solid;
        border-width:1px;
        border-color:#999;
    }
    #edit_gaiyou .line_dash{
        border-bottom-style:dashed;
        border-width:1px;
        border-color:#999;
    }

}

/*#content ul{
	padding-left:15px !important;
}

#content ol{
	margin:1em 0;
	padding-left: 18px !important;
}*/
#exhibitionDetail{color:#000;}
#exhibitionDetail #sentence h3.fck_h3{color: #000 !important;}
#exhibitionDetail #sentence h5.fck_h5{background: #FFF !important; border-bottom: 1px dotted #3c86bb !important; color: #000;}
#exhibitionDetail #sentence h6.fck_h6 {color: #000; background: #FFF !important; border-bottom:1px dotted #2F6DB3 !important; background-color:#EDF2FA !important;}
#exhibitionDetail #sentence h2.fck_box{color: #000;	border:1px solid gray !important;background-color:white !important;}
