/*
/*
Theme Name: KYOTO TO DO 2026
Theme URI: 
Author: 
Author URI: 
Description: 
Version: 2.0
License: 
License URI: 
Tags:  
Text Domain: 
*/


/* -----------------------------------------------
 * WordPress Core
 * ----------------------------------------------- */
.alignnone {
    margin: 5px;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
        white-space: nowrap;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/*entry content*/
.entry-content{
  margin-bottom: 40px;
}

.entry-content > :last-child,
.entry-summary > :last-child {
	margin-bottom: 0;
}

.entry-content,
.entry-summary,
.page-content,
.comment-content {
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
	word-wrap: break-word;
}

.entry-content h1,
.entry-summary h1,
.page-content h1,
.comment-content h1 {
  font-size: 2.4rem;
  line-height: 1.5em;
	font-weight: 500;
	color: #00345c;
}

.entry-content h2,
.entry-summary h2,
.page-content h2,
.comment-content h2 {
  font-size: 2.4rem;
  line-height: 1.5em;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: bold;
	font-weight: 700;
	color: #000;
}

.entry-content h3,
.entry-summary h3,
.page-content h3,
.comment-content h3 {
  font-size: 1.6rem;
  line-height: 1.5em;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
	font-weight: 700;
	background: #ffffff;
	padding: 10px 20px 10px 20px;
}

.entry-content h4,
.entry-summary h4,
.page-content h4,
.comment-content h4 {
  font-size: 1.8rem;
  line-height: 1.5em;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-summary h4,
.entry-summary h5,
.entry-summary h6,
.page-content h4,
.page-content h5,
.page-content h6,
.comment-content h4,
.comment-content h5,
.comment-content h6 {
  font-size: 1.6rem;
  line-height: 1.5em;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
	font-weight: 700;
}

.entry-content h5,
.entry-content h6,
.entry-summary h5,
.entry-summary h6,
.page-content h5,
.page-content h6,
.comment-content h5,
.comment-content h6 {
}

.entry-content > h1:first-child,
.entry-content > h2:first-child,
.entry-content > h3:first-child,
.entry-content > h4:first-child,
.entry-content > h5:first-child,
.entry-content > h6:first-child,
.entry-summary > h1:first-child,
.entry-summary > h2:first-child,
.entry-summary > h3:first-child,
.entry-summary > h4:first-child,
.entry-summary > h5:first-child,
.entry-summary > h6:first-child,
.page-content > h1:first-child,
.page-content > h2:first-child,
.page-content > h3:first-child,
.page-content > h4:first-child,
.page-content > h5:first-child,
.page-content > h6:first-child,
.comment-content > h1:first-child,
.comment-content > h2:first-child,
.comment-content > h3:first-child,
.comment-content > h4:first-child,
.comment-content > h5:first-child,
.comment-content > h6:first-child {
	margin-top: 0;
}

.entry-content a,
.entry-summary a,
.page-content a,
.comment-content a,
.pingback .comment-body > a {
	color: #9D0808;
}

.entry-content a:hover,
.entry-content a:focus,
.entry-summary a:hover,
.entry-summary a:focus,
.page-content a:hover,
.page-content a:focus,
.comment-content a:hover,
.comment-content a:focus,
.pingback .comment-body > a:hover,
.pingback .comment-body > a:focus {
	text-decoration: underline!important;
}

.entry-content a img,
.entry-summary a img,
.page-content a img,
.comment-content a img {
	display: block;
}

.entry-content .more-link,
.entry-summary .more-link:after {
	white-space: nowrap;
}

.entry-content .more-link:after,
.entry-summary .more-link:after {
	content: "\f429";
	font-size: 16px;
	position: relative;
	top: 5px;
}

.entry-content > *{
  line-height: 1.75em;
  margin: 1em 0;
  font-size: 15px;
}

.entry-content p{
  font-size: 1.5rem;
  margin: 2em 0;
}

.entry-content ul li{
  list-style: disc;
  list-style-position: inside;
}

.entry-content ol li{
  list-style: decimal;
  list-style-position: inside;
}

.entry-content table{
	border-top: 2px solid #000000;
	border-bottom: 2px solid #000000;
}

.entry-content table th,
.entry-content table td{
  border: 1px solid #000000;
	border-left: 0;
	border-right: 0;
  padding: 34px 10px;
}

.entry-content table th{
  background: #f2f2f2;
}

.entry-content table td{
  font-size: 1.6rem;
}

/*ngg gallery*/
.sl-caption{
  display: none;
  opacity: 0;
}

.ngg-navigation{
  padding-bottom: 10px !important;
}

/*pagenavi*/
body .wp-pagenavi{
  text-align: center;
  margin: 40px 0;
  width: 100%;
}

body .wp-pagenavi span.current,
body .wp-pagenavi a.page{
	font-weight: 500;
  display: inline-block;
  min-width: 48px;
	height: 48px;
	line-height: 48px;
  margin: 0 5px;
	border-radius: 100px;
	color: #9D0808;
	border: 1px solid #9D0808;
	box-sizing: content-box;
	font-size: 1.6rem;
	transition: background 0.3s ease;
}
body .wp-pagenavi span.pages{
	padding: 0 10px;
	color: #9D0808;
	font-size: 1.6rem;
}
body .wp-pagenavi span.current,
body .wp-pagenavi a.page:hover{
	background: #9D0808;
	color: #fff;
}
body .wp-pagenavi .pages,
body .wp-pagenavi .nextpostslink,
body .wp-pagenavi .previouspostslink,
body .wp-pagenavi .first,
body .wp-pagenavi .last{
	color: #9D0808;
	font-size: 1.6rem;
	margin: 0 10px;
}
body .wp-pagenavi .nextpostslink:hover,
body .wp-pagenavi .previouspostslink:hover{
	text-decoration: underline;
}
@media only screen and (max-width: 800px) {
  /*entry content*/
  .entry-content p{
    font-size: 1.6rem;
    margin: 1em 0;
  }
  
  .entry-content > *{
    font-size: 13px;
  }

  .entry-content h1,
  .entry-summary h1,
  .page-content h1,
  .comment-content h1 {
    font-size: 1.8rem;
    line-height: 1.5em;
  }

  .entry-content h2,
  .entry-summary h2,
  .page-content h2,
  .comment-content h2 {
    font-size: 1.6rem;
    line-height: 1.5em;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
  }

  .entry-content h3,
  .entry-summary h3,
  .page-content h3,
  .comment-content h3 {
    font-size: 1.4rem;
    line-height: 1.5em;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
  }

  .entry-content h4,
  .entry-content h5,
  .entry-content h6,
  .entry-summary h4,
  .entry-summary h5,
  .entry-summary h6,
  .page-content h4,
  .page-content h5,
  .page-content h6,
  .comment-content h4,
  .comment-content h5,
  .comment-content h6 {
    font-size: 1.4rem;
    line-height: 1.5em;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
  }
  
}
