/*
Theme Name: Asama (original: Twenty Eleven)
Author: MTL
*/

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
:focus {/* remember to define focus styles! */
	outline: 0;
}
/* MTL KAZ ---: this is overriden
body {
	background: #fff;
	line-height: 1;
}
---*/
ol, ul {
	list-style: none;
}
table {/* tables still need 'cellspacing="0"' in the markup */
	border-collapse: collapse;	/* MTL KAZ: was separate */
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a img {
	border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}


/* =Structure
----------------------------------------------- */

body {
	padding: 0;	/* MTL KAZ: was 0 2em */
	width: 100%;	/* MTL KAZ */
	min-width: 1000px;	/* MTL KAZ */
}
#page {
	margin: 0 auto;	/* MTL KAZ: was 2em auto */
	max-width: 2000px;	/* MTL KAZ: was 1000px */
}
/* MTL KAZ ---
#branding hgroup {
	margin: 0 7.6%;
}
---*/
#access div {
/*	margin: 0 7.6%; */	/* MTL KAZ */
}
#primary {
	float: left;
	margin: 0 -280px 0 0;	/* MTL KAZ: was 0 -26.4% 0 0 */
	width: 684px;	/* MTL KAZ: was 100% */
}
#topmain #primary {	/* MTL KAZ */
	width: 690px;
}
#content {
	margin: 0;	/* MTL KAZ: was 0 34% 0 7.6% */
	width: 100%	/* MTL KAZ: was 58.4% */
}
#secondary {
	float: right;
/*	margin-right: 7.6%; */	/* MTL KAZ */
	width: 261px;	/* MTL KAZ: was 18.8% */
}

/* Singular */
/*--- MTL KAZ: c/o
.singular #primary {
	margin: 0;
}
.singular #content,
.left-sidebar.singular #content {
	margin: 0 7.6%;
	position: relative;
	width: auto;
}
.singular .entry-header,
.singular .entry-content,
.singular footer.entry-meta,
.singular #comments-title {
	margin: 0 auto;
	width: 68.9%;
}
---*/

/* Attachments */
.singular .image-attachment .entry-content {
	margin: 0 auto;
	width: auto;
}
.singular .image-attachment .entry-description {
	margin: 0 auto;
	width: 100%;	/* MTL KAZ: was 68.9% */
}

/* Showcase */
.page-template-showcase-php #primary,
.left-sidebar.page-template-showcase-php #primary {
	margin: 0;
}
.page-template-showcase-php #content,
.left-sidebar.page-template-showcase-php #content {
/*	margin: 0 7.6%; */	/* MTL KAZ */
	width: 100%;	/* MTL KAZ: was auto */
}
.page-template-showcase-php section.recent-posts {
	float: right;
	margin: 0 0 0 31%;
	width: 69%;
}
.page-template-showcase-php #main .widget-area {
	float: left;
	margin: 0 -22.15% 0 0;
	width: 22.15%;
}

/* error404 */
/*--- MTL KAZ: c/o
.error404 #primary {
	float: none;
	margin: 0;
}
---*/
.error404 #primary #content {
/*	margin: 0 7.6%; */	/* MTL KAZ */
	width: 100%;	/* MTL KAZ: was auto */
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.625em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.625em;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Right Content */
.left-sidebar #primary {
	float: right;
	margin: 0 0 0 -26.4%;
	width: 100%;
}
.left-sidebar #content {
	margin: 0 7.6% 0 34%;
	width: 58.4%;
}
.left-sidebar #secondary {
	float: left;
	margin-left: 7.6%;
	margin-right: 0;
	width: 18.8%;
}

/* One column */
.one-column #page {
	max-width: 684px;
}
.one-column #content {
/*	margin: 0 7.6%; */	/* MTL KAZ */
	width: 100%;	/* MTL KAZ: was auto */
}
.one-column #nav-below {
	border-bottom: 1px solid #ddd;
	margin-bottom: 1.625em;
}
.one-column #secondary {
	float: none;
	margin: 0 7.6%;
	width: auto;
}
/* Simplify the showcase template */
.one-column .page-template-showcase-php section.recent-posts {
	float: none;
	margin: 0;
	width: 100%;
}
.one-column .page-template-showcase-php #main .widget-area {
	float: none;
	margin: 0;
	width: auto;
}
.one-column .page-template-showcase-php .other-recent-posts {
	border-bottom: 1px solid #ddd;
}
/* Simplify the showcase template when small feature */
.one-column section.featured-post .attachment-small-feature {
	border: none;
	display: block;
	height: auto;
	max-width: 60%;
	position: static;
}
.one-column article.feature-image.small {
	margin: 0 0 1.625em;
	padding: 0;
}
.one-column article.feature-image.small .entry-title {
	font-size: 20px;
	line-height: 1.3em;
}
.one-column article.feature-image.small .entry-summary {
	height: 150px;
	overflow: hidden;
	padding: 0;
	text-overflow: ellipsis;
}
.one-column article.feature-image.small .entry-summary a {
	left: -9%;
}
/* Remove the margin on singular articles */
.one-column.singular .entry-header,
.one-column.singular .entry-content,
.one-column.singular footer.entry-meta,
.one-column.singular #comments-title {
	width: 100%;
}
/* Simplify the pullquotes and pull styles */
.one-column.singular blockquote.pull {
	margin: 0 0 1.625em;
}
.one-column.singular .pull.alignleft {
	margin: 0 1.625em 0 0;
}
.one-column.singular .pull.alignright {
	margin: 0 0 0 1.625em;
}
.one-column.singular .entry-meta .edit-link a {
	position: absolute;
	left: 0;
	top: 40px;
}
.one-column.singular #author-info {
	margin: 2.2em -8.8% 0;
	padding: 20px 8.8%;
}
/* Make sure we have room for our comment avatars */
.one-column .commentlist > li.comment {
	margin-left: 102px;
	width: auto;
}
/* Make sure the logo and search form don't collide */
/* MTL KAZ ---
.one-column #branding #searchform {
	right: 40px;
	top: 4em;
}
---*/
/* Talking avatars take up too much room at this size */
.one-column .commentlist > li.comment {
	margin-left: 0;
}
.one-column .commentlist > li.comment .comment-meta,
.one-column .commentlist > li.comment .comment-content {
	margin-right: 85px;
}
.one-column .commentlist .avatar {
	background: transparent;
	display: block;
	padding: 0;
	top: 1.625em;
	left: auto;
	right: 1.625em;
}
.one-column .commentlist .children .avatar {
	background: none;
	padding: 0;
	position: absolute;
	top: 2.2em;
	left: 2.2em;
}
.one-column #respond {
	width: auto;
}


/* =Global
----------------------------------------------- */

body, input, textarea {
	color: #404040;	/* MTL KAZ: was #373737 */
/*	font: 15px "Helvetica Neue", Helvetica, Arial, sans-serif; */	/* MTL KAZ: divided into font-family and font-size for IE debugger */
	font-family: Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "Helvetica Neue", Helvetica, Arial, sans-serif;	/* MTL KAZ */
	font-size: 94%;	/* MTL KAZ: was 15px */
	font-weight: 300;
	line-height: 1.625;
}
body {
	background: #e2e2e2;
}
#page {
	background: #fff;
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
	clear: both;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 16px;	/* MTL KAZ: was 1.625em */
}

/* Text elements */
p {
	margin-bottom: 16px;	/* MTL KAZ: was 1.625em */
}
table {	/* MTL KAZ */
	margin-bottom: 16px;
}
ul, ol {
	margin: 0 0 16px 22px;	/* MTL KAZ: was 0 0 1.625em 2.5em */
}
ul {
	list-style: square;
}
ol {
	list-style-type: decimal;
}
ol ol {
	list-style: upper-alpha;
}
ol ol ol {
	list-style: lower-roman;
}
ol ol ol ol {
	list-style: lower-alpha;
}
ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0;
}
dl {
	margin: 0 1.625em;
}
dt {
	font-weight: bold;
}
dd {
	margin-bottom: 1.625em;
}
small {	/* MTL KAZ: missing!? */
	font-size: 84%;
}
strong {
	font-weight: bold;
}
cite, em, i {
	font-style: italic;
}
blockquote {
	font-family: Georgia, "Bitstream Charter", serif;
	font-style: italic;
	font-weight: normal;
	margin: 0 3em;
}
blockquote em, blockquote i, blockquote cite {
	font-style: normal;
}
blockquote cite {
	color: #666;
	font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
pre {
	background: #f4f4f4;
	font: 13px "Courier 10 Pitch", Courier, monospace;
	line-height: 1.5;
	margin-bottom: 1.625em;
	overflow: auto;
	padding: 0.75em 1.625em;
}
code, kbd, samp, var {
	font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym, dfn {
	border-bottom: 1px dotted #666;
	cursor: help;
}
address {
	display: block;
	margin: 0 0 1.625em;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 10px;
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}

/* Forms */
input[type=text],
input[type=password],
textarea {
	background: #fafafa;
	-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
	border: 1px solid #ddd;
/*	color: #888; */	/* MTL KAZ: c/o */
}
input[type=text]:focus,
textarea:focus {
/*	color: #373737; */	/* MTL KAZ: c/o */
}
textarea {
	padding-left: 3px;
	width: 98%;
}
input[type=text] {
	padding: 3px;
}
input#s {
	background: url(images/search.png) no-repeat 5px 6px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	font-size: 14px;
	height: 22px;
	line-height: 1.2em;
	padding: 4px 10px 4px 28px;
}
input#searchsubmit {
	display: none;
}

/* Links */
a {
	color: #008080;	/* MTL KAZ: was #1982d1 */
	text-decoration: none;
}
a:focus,
a:active,
a:hover {
	text-decoration: underline;
}
h2 a, h3 a, h4 a {	/* MTL KAZ */
	color: #404040;
}

/* Assistive text */
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}
#access a.assistive-text:active,
#access a.assistive-text:focus {
	background: #eee;
	border-bottom: 1px solid #ddd;
	color: #1982d1;
	clip: auto !important;
	font-size: 12px;
	position: absolute;
	text-decoration: underline;
	top: 0;
	left: 7.6%;
}


/* =Header
----------------------------------------------- */

#branding {
/*	border-top: 2px solid #bbb;
	padding-bottom: 10px;
 */	/* MTL KAZ */
	position: relative;
	z-index: 9999;
	width: 100%;	/* MTL KAZ */
	height: 217px;	/* MTL KAZ */
	background: url(/images/header_bg.jpg) no-repeat top center;
}
#masthead {	/* MTL KAZ */
	overflow: hidden;
	width: 970px;
	height: 217px;
	margin: 0 auto;
}
/* MTL KAZ ---
#site-title {
	margin-right: 270px;
	padding: 3.65625em 0 0;
}
#site-title a {
	color: #111;
	font-size: 30px;
	font-weight: bold;
	line-height: 36px;
	text-decoration: none;
}
#site-title a:hover,
#site-title a:focus,
#site-title a:active {
	color: #1982d1;
}
#site-description {
	color: #7a7a7a;
	font-size: 14px;
	margin: 0 270px 3.65625em 0;
}
#branding img {
	height: auto;
	margin-bottom: -7px;
	width: 100%;
}
---*/


/* =Menu
-------------------------------------------------------------- */
/* MTL KAZ: BEGIN */
#headmenu {
	position: relative;	/* MTL KAZ */
/*	margin: 0; */
	height: 217px;
}
#headlangbar {	/* MTL KAZ */
	position: relative;
	float: right;
	right: -12px;	/* == padding-right of #headmenu ul#headlangbar li */
	height: 25px;	/* 30-5 */
	padding-top: 5px;
/*	line-height: 25px; */
}
#headlogo {	/* MTL KAZ */
	clear: both;
	width: 250px;
	height: 77px;	/* 144-30-37 */
	padding-top: 37px;
/*	line-height: 45px; */
}
#footmenu {
/*	margin: 0; */	
	height: 96px;	/* 126-30 */
	margin-left: 365px;
	margin-top: 30px;
	text-align: left;
}
#headmenu ul, #footmenu ul {
	overflow: hidden;
	margin: 0;
}
#headmenu ul {
	height: 73px;
	line-height: 73px;
}
#headmenu ul#headlangbar {
	height: 25px;
	line-height: 25px;
}
#footmenu ul {
}
#headmenu ul li, #footmenu ul li {
	float: left;
	list-style: none;
}
#headmenu ul#headlangbar li {
	border-left: #ccc solid 1px;
	float: left;
	font-size: 80%;
	padding: 0 12px;
}
#headmenu ul#headlangbar li:first-child {
	border-left: none;
}
#footmenu ul li {
	font-size: 12px;
	line-height: 22px;
	padding: 0 25px;
}
#headmenu ul li a, #footmenu ul li a {
	color: #fff;
}
#headmenu ul#headlangbar li a {
	color: #3c3119;
}
#breadcrumbs {
	font-size: 80%;		/* 16px * 94% * 80% = 12.03px */
	width: 970px;
	line-height: 1;
	margin: 12px auto 15px;
}
/* MTL KAZ: END */
/* MTL KAZ ---
#access {
	background: #222; */ /* Show a solid color for older browsers */ /*
	background: -moz-linear-gradient(#252525, #0a0a0a);
	background: -o-linear-gradient(#252525, #0a0a0a);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#252525), to(#0a0a0a)); */ /* older webkit syntax */ /*
	background: -webkit-linear-gradient(#252525, #0a0a0a);
	-webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
	-moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
	box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
	clear: both;
	display: block;
	float: left;
	margin: 0 auto 6px;
	width: 100%;
}
#access ul {
	font-size: 13px;
	list-style: none;
	margin: 0 0 0 -0.8125em;
	padding-left: 0;
}
#access li {
	float: left;
	position: relative;
}
#access a {
	color: #eee;
	display: block;
	line-height: 3.333em;
	padding: 0 1.2125em;
	text-decoration: none;
}
#access ul ul {
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	margin: 0;
	position: absolute;
	top: 3.333em;
	left: 0;
	width: 188px;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #f9f9f9;
	border-bottom: 1px dotted #ddd;
	color: #444;
	font-size: 13px;
	font-weight: normal;
	height: auto;
	line-height: 1.4em;
	padding: 10px 10px;
	width: 168px;
}
#access li:hover > a,
#access ul ul :hover > a,
#access a:focus {
	background: #efefef;
}
#access li:hover > a,
#access a:focus {
	background: #f9f9f9; */ /* Show a solid color for older browsers */ /*
	background: -moz-linear-gradient(#f9f9f9, #e5e5e5);
	background: -o-linear-gradient(#f9f9f9, #e5e5e5);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); */ /* Older webkit syntax */ /*
	background: -webkit-linear-gradient(#f9f9f9, #e5e5e5);
	color: #373737;
}
#access ul li:hover > ul {
	display: block;
}
#access .current-menu-item > a,
#access .current-menu-ancestor > a,
#access .current_page_item > a,
#access .current_page_ancestor > a {
	font-weight: bold;
}
---*/

/* Search Form */
/* MTL KAZ ---
#branding #searchform {
	position: absolute;
	top: 3.8em;
	right: 7.6%;
	text-align: right;
}
#branding #searchform div {
	margin: 0;
}
#branding #s {
	float: right;
	-webkit-transition-duration: 400ms;
	-webkit-transition-property: width, background;
	-webkit-transition-timing-function: ease;
	-moz-transition-duration: 400ms;
	-moz-transition-property: width, background;
	-moz-transition-timing-function: ease;
	-o-transition-duration: 400ms;
	-o-transition-property: width, background;
	-o-transition-timing-function: ease;
	width: 72px;
}
#branding #s:focus {
	background-color: #f9f9f9;
	width: 196px;
}
#branding #searchsubmit {
	display: none;
}
#branding .only-search #searchform {
	top: 5px;
	z-index: 1;
}
#branding .only-search #s {
	background-color: #666;
	border-color: #000;
	color: #222;
}
#branding .only-search #s,
#branding .only-search #s:focus {
	width: 85%;
}
#branding .only-search #s:focus {
	background-color: #bbb;
}
#branding .with-image #searchform {
	top: auto;
	bottom: -27px;
	max-width: 195px;
}
#branding .only-search + #access div {
	padding-right: 205px;
}
---*/


/* =Content
----------------------------------------------- */

#topmain, #h1_main,	/* MTL KAZ */
#main {
	clear: both;
/*	padding: 1.625em 0 0; */	/* MTL KAZ */
	overflow: hidden;	/* MTL KAZ */
	position: relative;	/* MTL KAZ */
	width: 100%;	/* MTL KAZ */
}
#topmain {	/* MTL KAZ */
	background: #fff;
}
#h1_main {	/* MTL KAZ */
	background: url(/images/h1_bg.jpg) no-repeat center top;
	height: 134px;
}
#h1_main h1 {	/* MTL KAZ */
	display: block;
	overflow: hidden;
	color: #000;
	font-family: '小塚明朝 Pro EL', 'KozMinPro-ExtraLight', '小塚明朝 Pro L', 'KozMinPro-Light', 'ヒラギノ明朝 Pro W3', 'HiraMinPro-W3',"ＭＳ Ｐ明朝", "MS PMincho", "Times New Roman", Times, serif;
	font-weight: bold;
	font-size: 240%;
	width: 970px;
	height: 134px;
	line-height: 134px;
	margin: 0 auto;
}
#main {	/* MTL KAZ */
	background: url(/images/main_bg.jpg) repeat;
}
#mainwall {	/* MTL KAZ */
	overflow: hidden;
	width: 970px;
	margin: 15px auto 0;	/* was 32px auto 0 before breadcrumbs in */
}
/*--- MTL KAZ: no more needed after breadcrumbs installed
#topmain #mainwall {
	margin-top: 15px;
}
---*/
.page-title {
	color: #666;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	margin: 0 0 2.6em;
	text-transform: uppercase;
}
.page-title a {
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 0;
	text-transform: none;
}
.hentry,
.no-results {
/*	border-bottom: 1px solid #ddd; */	/* MTL KAZ */
	margin: 0 0 15px;	/* MTL KAZ: was 0 0 1.625em */
	padding: 0 0 1.625em;
	position: relative;
}
.singular .hentry {	/* MTL KAZ */
	margin: 0;
}
.hentry:last-child,
.no-results {
	border-bottom: none;
}
.blog .sticky .entry-header .entry-meta {
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}
/*--- MTL KAZ: c/o
.entry-title,
.entry-header .entry-meta {
	padding-right: 76px;
}
---*/
.entry-title {
	clear: both;
	background: url(/images/h2_bg.gif) no-repeat top left;	/* MTL KAZ */
/*	color: #222; */	/* MTL KAZ */
	font-size: 25px;
	font-weight: bold;
	height: 54px;	/* MTL KAZ: (59-5) */
	line-height: 54px;	/* MTL KAZ: was 1.5em */
/*	padding-bottom: .3em;
	padding-top: 15px;
*/	padding: 5px 17px 0;	/* MTL KAZ */
}
.entry-title.logo {
	height: 78px;
	line-height: 78px;
}
.blog .entry-title, .archive .entry-title {	/* MTL KAZ */
	background: url(/images/h2_news_bg.gif) no-repeat top left;
	height: auto;	/* MTL KAZ 21-Mar-2013: was 48px */
	min-height: 48px;	/* MTL KAZ 21-Mar-2013: 53-5 */
	line-height: 1.2;	/* MTL KAZ 21-Mar-2013: was 48px */
}
.blog .entry-title a, .archive .entry-title a {	/* MTL KAZ 21-Mar-2013 */
	display: inline-block;
	max-width: 570px;
	margin: 9px 0;
}
.entry-title,
.entry-title a {
	color: #404040;	/* MTL KAZ: was #222 */
	text-decoration: none;
}
.entry-title a:hover,
.entry-title a:focus,
.entry-title a:active {
	color: #404040;	/* MTL KAZ: was #1982d1 */
	text-decoration: underline;	/* MTL KAZ */
}
.entry-title img {	/* MTL KAZ */
	vertical-align: middle;
}
.entry-title-top {	/* MTL KAZ */
	display: none;
}
.entry-meta {
	color: #666;
	clear: both;
	font-size: 12px;
	line-height: 18px;
}
.blog .entry-header .entry-meta,	/* MTL KAZ */
.archive .entry-header .entry-meta {
	position: absolute;
	top: 20px;
	right: 0px;
}
.entry-meta a {
	font-weight: bold;
}
.blog .entry-header .entry-meta a,	/* MTL KAZ */
.archive .entry-header .entry-meta a {
	font-weight: normal;
	color: #404040;
}
.single-author .entry-meta .by-author {
	display: none;
}
.entry-content,
.entry-summary {
/*	padding: 1.625em 0 0; */	/* MTL KAZ */
	margin-bottom: 20px;	/* MTL KAZ */
}
.entry-content h1,
.entry-content h2,
.comment-content h1,
.comment-content h2 {
	background: #fff;	/* MTL KAZ */
	color: #000;
	margin: 0 0 20px;	/* MTL KAZ: was 0 0 .8125em */
}
.entry-content h1, .comment-content h1 {	/* MTL KAZ */
	font-size: 28px;
	height: 50px;
	line-height: 50px;
}
.entry-content h2, .comment-content h2 {	/* MTL KAZ */
	font-weight: bold;
	padding-left: 15px;
}
.entry-content h3,
.comment-content h3 {
	background: transparent url(/images/h3_bg.gif) no-repeat top left;	/* MTL KAZ */
	border-bottom: #9e0265 solid 1px;
	font-size: 122%;	/* MTL KAZ: was 10px: 16px * 94% * 93% * 122% = 17.06px */
	font-weight: bold;	/* MTL KAZ */
	min-height: 24px;	/* MTL KAZ */
	line-height: 1.41;	/* MTL KAZ: was 2.6em */
/*	text-transform: uppercase; */	/* MTL KAZ */
	margin: 0 0 12px;	/* MTL KAZ */
	padding-left: 30px;	/* MTL KAZ */
}
.entry-content h4, .comment-content h4 {	/* MTL KAZ */
	background: transparent url(/images/h4_bg.gif) no-repeat top left;
	font-weight: bold;
	min-height: 20px;
	line-height: 1.43;
	margin: 0 0 12px;
	padding-left: 25px;
}
/* MTL KAZ ---
.entry-content table,
.comment-content table {
	border-bottom: 1px solid #ddd;
	margin: 0 0 1.625em;
	width: 100%;
}
.entry-content th,
.comment-content th {
	color: #666;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	text-transform: uppercase;
}
.entry-content td,
.comment-content td {
	border-top: 1px solid #ddd;
	padding: 6px 10px 6px 0;
}
--- */
.entry-content #s {
	width: 75%;
}
.comment-content ul,
.comment-content ol {
	margin-bottom: 1.625em;
}
.comment-content ul ul,
.comment-content ol ol,
.comment-content ul ol,
.comment-content ol ul {
	margin-bottom: 0;
}
dl.gallery-item {
	margin: 0;
}
.page-link {
	clear: both;
	display: block;
	margin: 0 0 1.625em;
}
.page-link a {
	background: #eee;
	color: #373737;
	margin: 0;
	padding: 2px 3px;
	text-decoration: none;
}
.page-link a:hover {
	background: #888;
	color: #fff;
	font-weight: bold;
}
.page-link span {
	margin-right: 6px;
}
.entry-meta .edit-link a,
.commentlist .edit-link a {
	background: #eee;
	-moz-border-radius: 3px;
	border-radius: 3px;
	color: #666;
	float: right;
	font-size: 12px;
	line-height: 1.5em;
	font-weight: 300;
	text-decoration: none;
	padding: 0 8px;
}
.entry-meta .edit-link a:hover,
.commentlist .edit-link a:hover {
	background: #888;
	color: #fff;
}
.entry-content .edit-link {
	clear: both;
	display: block;
}

/* Images */
/* MTL KAZ ---
.entry-content img,
.comment-content img,
.widget img {
	max-width: 97.5%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
img.size-full,
img.size-large {
	max-width: 97.5%;
	width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
.entry-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 1.625em;
}
--- */
p img,
.wp-caption {
	margin-top: 0.4em;
}
.wp-caption {
	max-width: 96%;
	 /* MTL MAT background: #eee;
	    margin-bottom: 1.625em;
	    padding: 9px; */
}
.wp-caption img {
	display: block;
	margin: 0 auto;
	max-width: 98%;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	color: #666;
	font-family: Georgia, serif;
	font-size: 12px;
	text-align: center;	/* MAT */
}
.wp-caption .wp-caption-text {
	margin-bottom: 0;	/* MTL KAZ: was 0.6em */
	padding: 0;	/* MTL MAT: was 5px 0 5px 5px KAZ: was 10px 0px 5px 40px */
	position: relative;
}
/* MTL KAZ ---
.wp-caption .wp-caption-text:before {
	color: #666;
	content: '\2014';
	font-size: 14px;
	font-style: normal;
	font-weight: bold;
	margin-right: 5px;
	position: absolute;
	left: 10px;
	top: 7px;
}
--- */
#content .gallery {
	margin: 0 auto 1.625em;
}
#content .gallery a img {
	border: none;
}
img#wpstats {
	display: block;
	margin: 0 auto 1.625em;
}
#content .gallery-columns-4 .gallery-item {
	width: 23%;
	padding-right: 2%;
}
#content .gallery-columns-4 .gallery-item img {
	width: 100%;
	height: auto;
}

/* Image borders */
img[class*="align"],
img[class*="wp-image-"],
#content .gallery .gallery-icon img {/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
	border: 1px solid #ddd;
	padding: 6px;
}
.wp-caption img {
	border-color: #eee;
}
a:focus img[class*="align"],
a:hover img[class*="align"],
a:active img[class*="align"],
a:focus img[class*="wp-image-"],
a:hover img[class*="wp-image-"],
a:active img[class*="wp-image-"],
#content .gallery .gallery-icon a:focus img,
#content .gallery .gallery-icon a:hover img,
#content .gallery .gallery-icon a:active img {/* Add some useful style to those fancy borders for linked images ... */
	 	 /* MTL MAT background: #eee; */
	border-color: #bbb;
}
.wp-caption a:focus img,
.wp-caption a:active img,
.wp-caption a:hover img {/* ... including captioned images! */
	background: #fff;
	border-color: #ddd;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}

/* Password Protected Posts */
.post-password-required .entry-header .comments-link {
	margin: 1.625em 0 0;
}
.post-password-required input[type=password] {
	margin: 0.8125em 0;
}
.post-password-required input[type=password]:focus {
	background: #f7f7f7;
}

/* Author Info */
#author-info {
	font-size: 12px;
	overflow: hidden;
}
.singular #author-info {
	background: #f9f9f9;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	margin: 2.2em -35.6% 0 -35.4%;
	padding: 20px 35.4%;
}
.archive #author-info {
	border-bottom: 1px solid #ddd;
	margin: 0 0 2.2em;
	padding: 0 0 2.2em;
}
#author-avatar {
	float: left;
	margin-right: -78px;
}
#author-avatar img {
	background: #fff;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0 1px 2px #bbb;
	-moz-box-shadow: 0 1px 2px #bbb;
	box-shadow: 0 1px 2px #bbb;
	padding: 3px;
}
#author-description {
	float: left;
	margin-left: 108px;
}
#author-description h2 {
	color: #000;
	font-size: 15px;
	font-weight: bold;
	margin: 5px 0 10px;
}

/* Comments link */
.entry-header .comments-link a {
	background: #eee url(images/comment-bubble.png) no-repeat;
	color: #666;
	font-size: 13px;
	font-weight: normal;
	line-height: 35px;
	overflow: hidden;
	padding: 0 0 0;
	position: absolute;
	top: 1.5em;
	right: 0;
	text-align: center;
	text-decoration: none;
	width: 43px;
	height: 36px;
}
.entry-header .comments-link a:hover,
.entry-header .comments-link a:focus,
.entry-header .comments-link a:active {
	background-color: #1982d1;
	color: #fff;
	color: rgba(255,255,255,0.8);
}
.entry-header .comments-link .leave-reply {
	visibility: hidden;
}

/*
Post Formats Headings
To hide the headings, display: none the ".entry-header .entry-format" selector,
and remove the padding rules below.
*/
.entry-header .entry-format {
	color: #666;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	position: absolute;
	text-transform: uppercase;
	top: -5px;
}
.entry-header hgroup .entry-title {
	padding-top: 15px;
}
article.format-aside .entry-content,
article.format-link .entry-content,
article.format-status .entry-content {
	padding: 20px 0 0;
}
article.format-status .entry-content {
	min-height: 65px;
}
.recent-posts .entry-header .entry-format {
	display: none;
}
.recent-posts .entry-header hgroup .entry-title {
	padding-top: 0;
}

/* Singular content styles for Posts and Pages */
/*--- MTL KAZ: c/o
.singular .hentry {
	border-bottom: none;
	padding: 4.875em 0 0;
	position: relative;
}
.singular.page .hentry {
	padding: 3.5em 0 0;
}
.singular .entry-title {
	color: #000;
	font-size: 36px;
	font-weight: bold;
	line-height: 48px;
}
.singular .entry-title,
.singular .entry-header .entry-meta {
	padding-right: 0;
}
.singular .entry-header .entry-meta {
	position: absolute;
	top: 0;
	left: 0;
}
---*/
blockquote.pull {
	font-size: 21px;
	font-weight: bold;
	line-height: 1.6125em;
	margin: 0 0 1.625em;
	text-align: center;
}
.singular blockquote.pull {
	margin: 0 -22.25% 1.625em;
}
.pull.alignleft {
	margin: 0 1.625em 0 0;
	text-align: right;
}
.singular .pull.alignleft {
	margin: 0 1.625em 0 -22.25%;
}
.pull.alignright {
	margin: 0 0 0 1.625em;
	text-align: left;
}
blockquote.pull.alignleft,
blockquote.pull.alignright {
	width: 33%;
}
.singular .pull.alignright {
	margin: 0 -22.25% 0 1.625em;
}
.singular blockquote.pull.alignleft,
.singular blockquote.pull.alignright {
	width: 33%;
}
/*--- MTL KAZ
.singular .entry-meta .edit-link a {
	bottom: auto;
	left: 50px;
	position: absolute;
	right: auto;
	top: 80px;
}
---*/


/* =Aside
----------------------------------------------- */

.format-aside .entry-title,
.format-aside .entry-header .comments-link {
	display: none;
}
.singular .format-aside .entry-title {
	display: block;
}
.format-aside .entry-content {
	padding: 0;
}
.singular .format-aside .entry-content {
	padding: 1.625em 0 0;
}


/* =Link
----------------------------------------------- */

.format-link .entry-title,
.format-link .entry-header .comments-link {
	display: none;
}
.singular .format-link .entry-title {
	display: block;
}
.format-link .entry-content {
	padding: 0;
}
.singular .format-link .entry-content {
	padding: 1.625em 0 0;
}


/* =Gallery
----------------------------------------------- */

.format-gallery .gallery-thumb {
	float: left;
	display: block;
	margin: .375em 1.625em 0 0;
}


/* =Status
----------------------------------------------- */

.format-status .entry-title,
.format-status .entry-header .comments-link {
	display: none;
}
.singular .format-status .entry-title {
	display: block;
}
.format-status .entry-content {
	padding: 0;
}
.singular .format-status .entry-content {
	padding: 1.625em 0 0;
}
.format-status img.avatar {
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0 1px 2px #ccc;
	-moz-box-shadow: 0 1px 2px #ccc;
	box-shadow: 0 1px 2px #ccc;
	float: left;
	margin: 4px 10px 2px 0;
	padding: 0;
}


/* =Quote
----------------------------------------------- */

.format-quote blockquote {
	color: #555;
	font-size: 17px;
	margin: 0;
}


/* =Image
----------------------------------------------- */

.indexed.format-image .entry-header {
	min-height: 61px; /* Prevent the comment icon from colliding with the image when there is no title */
}
.indexed.format-image .entry-content {
	padding-top: 0.5em;
}
.indexed.format-image .entry-content p {
	margin: 1em 0;
}
.indexed.format-image .entry-content p:first-child,
.indexed.format-image .entry-content p:first-child a,
.indexed.format-image .entry-content p:first-child img {
	display: block;
	margin: 0;
}
.indexed.format-image .entry-content .wp-caption .wp-caption-text {
	margin: 0;
	padding-bottom: 1em;
}
.indexed.format-image footer.entry-meta {
	background: #ddd;
	overflow: hidden;
	padding: 4%;
	max-width: 96%;
}
.indexed.format-image div.entry-meta {
	display: inline-block;
	float: left;
	width: 35%;
}
.indexed.format-image div.entry-meta + div.entry-meta {
	float: none;
	width: 65%;
}
.indexed.format-image .entry-meta span.cat-links,
.indexed.format-image .entry-meta span.tag-links,
.indexed.format-image .entry-meta span.comments-link {
	display: block;
}
.indexed.format-image footer.entry-meta a {
	color: #444;
}
.indexed.format-image footer.entry-meta a:hover {
	color: #fff;
}
#content .indexed.format-image img {
	border: none;
	max-width: 100%;
	padding: 0;
}
.indexed.format-image .wp-caption {
	background: #111;
	margin-bottom: 0;
	max-width: 96%;
	padding: 2% 2% 0;
}
.indexed.format-image .wp-caption .wp-caption-text {
	color: #ddd;
}
.indexed.format-image .wp-caption .wp-caption-text:before {
	color: #444;
}
.indexed.format-image a:hover img {
	opacity: 0.8;
}


/* =error404
----------------------------------------------- */

/*--- MTL KAZ: c/o
.error404 #main #searchform {
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-width: 1px 0;
	margin: 0 -8.9% 1.625em;
	overflow: hidden;
	padding: 1.625em 8.9%;
}
.error404 #main #s {
	width: 95%;
}
.error404 #main .widget {
	clear: none;
	float: left;
	margin-right: 3.7%;
	width: 30.85%;
}
.error404 #main .widget_archive {
	margin-right: 0;
}
.error404 #main .widget_tag_cloud {
	float: none;
	margin-right: 0;
	width: 100%;
}
.error404 .widgettitle {
	font-size: 10px;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	text-transform: uppercase;
}
---*/	/* Added below instead */
.error404 #primary #searchform {
	background: #f9f9f9;
	border: 1px solid #ddd;
	overflow: hidden;
	margin: 0 0 25px;
}
.error404 #primary #s {
	width: 95%;
}
.error404 #primary .widget {
	clear: none;
	float: left;
	width: 45%;
}
.error404 #primary .widget_archive {
	clear: both;
}


/* =Showcase
----------------------------------------------- */

h1.showcase-heading {
	color: #666;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	text-transform: uppercase;
}

/* Intro */
article.intro {
	background: #f9f9f9;
	border-bottom: none;
	margin: -1.855em -8.9% 1.625em;
	padding: 0 8.9%;
}
article.intro .entry-title {
	display: none;
}
article.intro .entry-content {
	color: #111;
	font-size: 16px;
	padding: 1.625em 0 0.625em;
}
article.intro .edit-link a {
	background: #aaa;
	-moz-border-radius: 3px;
	border-radius: 3px;
	color: #fff;
	font-size: 12px;
	padding: 0 8px;
	position: absolute;
	top: 30px;
	right: 20px;
	text-decoration: none;
}
article.intro .edit-link a:hover,
article.intro .edit-link a:focus,
article.intro .edit-link a:active {
	background: #777;
}

/* Featured post */
section.featured-post {
	float: left;
	margin: -1.625em -8.9% 1.625em;
	padding: 1.625em 8.9% 0;
	position: relative;
	width: 100%;
}
section.featured-post .hentry {
	border: none;
	color: #666;
	margin: 0;
}
section.featured-post .entry-meta {
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

/* Small featured post */
section.featured-post .attachment-small-feature {
	float: right;
	height: auto;
	margin: 0 -8.9% 1.625em 0;
	max-width: 59%;
	position: relative;
	right: -15px;
}
section.featured-post.small {
	padding-top: 0;
}
section.featured-post .attachment-small-feature:hover,
section.featured-post .attachment-small-feature:focus,
section.featured-post .attachment-small-feature:active {
	opacity: .8;
}
article.feature-image.small {
	float: left;
	margin: 0 0 1.625em;
	width: 45%;
}
article.feature-image.small .entry-title {
	line-height: 1.2em;
}
article.feature-image.small .entry-summary {
	color: #555;
	font-size: 13px;
}
article.feature-image.small .entry-summary p a {
	background: #222;
	color: #eee;
	display: block;
	left: -23.8%;
	padding: 9px 26px 9px 85px;
	position: relative;
	text-decoration: none;
	top: 20px;
	width: 180px;
	z-index: 1;
}
article.feature-image.small .entry-summary p a:hover {
	background: #1982d1;
	color: #eee;
	color: rgba(255,255,255,0.8);
}

/* Large featured post */
section.feature-image.large {
	border: none;
	max-height: 288px;
	padding: 0;
	width: 100%;
}
section.feature-image.large .showcase-heading {
	display: none;
}
section.feature-image.large .hentry {
	border-bottom: none;
	left: 9%;
	margin: 1.625em 9% 0 0;
	position: absolute;
	top: 0;
}
article.feature-image.large .entry-title a {
	background: #222;
	background: rgba(0,0,0,0.8);
	-moz-border-radius: 3px;
	border-radius: 3px;
	color: #fff;
	display: inline-block;
	font-weight: 300;
	padding: .2em 20px;
}
section.feature-image.large:hover .entry-title a,
section.feature-image.large .entry-title:hover a {
	background: #eee;
	background: rgba(255,255,255,0.8);
	color: #222;
}
article.feature-image.large .entry-summary {
	display: none;
}
section.feature-image.large img {
	display: block;
	height: auto;
	max-width: 117.9%;
	padding: 0 0 6px;
}

/* Featured Slider */
.featured-posts {
	border-bottom: 1px solid #ddd;
	display: block;
	height: 328px;
	margin: 1.625em -8.9% 20px;
	max-width: 1000px;
	padding: 0;
	position: relative;
	overflow: hidden;
}
.featured-posts .showcase-heading {
	padding-left: 8.9%;
}
.featured-posts section.featured-post {
	background: #fff;
	height: 288px;
	left: 0;
	margin: 0;
	position: absolute;
	top: 30px;
	width: auto;
}
.featured-posts section.featured-post.large {
	max-width: 100%;
	overflow: hidden;
}
.featured-posts section.featured-post {
	-webkit-transition-duration: 200ms;
	-webkit-transition-property: opacity, visibility;
	-webkit-transition-timing-function: ease;
	-moz-transition-duration: 200ms;
	-moz-transition-property: opacity, visibility;
	-moz-transition-timing-function: ease;
}
.featured-posts section.featured-post {
	opacity: 0;
	visibility: hidden;
}
.featured-posts #featured-post-1 {
	opacity: 1;
	visibility: visible;
}
.featured-post .feature-text:after,
.featured-post .feature-image.small:after {
	content: ' ';
	background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* IE10+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
	background: linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C */
	width: 100%;
	height: 45px;
	position: absolute;
	top: 230px;
}
.featured-post .feature-image.small:after {
	top: 253px;
}
#content .feature-slider {
	top: 5px;
	right: 8.9%;
	overflow: visible;
	position: absolute;
}
.feature-slider ul {
	list-style-type: none;
	margin: 0;
}
.feature-slider li {
	float: left;
	margin: 0 6px;
}
.feature-slider a {
	background: #3c3c3c;
	background: rgba(60,60,60,0.9);
	-moz-border-radius: 12px;
	border-radius: 12px;
	-webkit-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5);
	-moz-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5);
	box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5);
	display: block;
	width: 14px;
	height: 14px;
}
.feature-slider a.active {
	background: #1982d1;
	-webkit-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8);
	-moz-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8);
	box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8);
	cursor: default;
	opacity: 0.5;
}

/* Recent Posts */
section.recent-posts {
	padding: 0 0 1.625em;
}
section.recent-posts .hentry {
	border: none;
	margin: 0;
}
section.recent-posts .other-recent-posts {
	border-bottom: 1px solid #ddd;
	list-style: none;
	margin: 0;
}
section.recent-posts .other-recent-posts li {
	padding: 0.3125em 0;
	position: relative;
}
section.recent-posts .other-recent-posts .entry-title {
	border-top: 1px solid #ddd;
	font-size: 17px;
}
section.recent-posts .other-recent-posts a[rel="bookmark"] {
	color: #373737;
	float: left;
	max-width: 84%;
}
section.recent-posts .other-recent-posts a[rel="bookmark"]:after {
	content: '-';
	color: transparent;
	font-size: 11px;
}
section.recent-posts .other-recent-posts a[rel="bookmark"]:hover {
}
section.recent-posts .other-recent-posts .comments-link a,
section.recent-posts .other-recent-posts .comments-link > span {
	border-bottom: 2px solid #999;
	bottom: -2px;
	color: #444;
	display: block;
	font-size: 10px;
	font-weight: 500;
	line-height: 2.76333em;
	padding: 0.3125em 0 0.3125em 1em;
	position: absolute;
	right: 0;
	text-align: right;
	text-transform: uppercase;
	z-index: 1;
}
section.recent-posts .other-recent-posts .comments-link > span {
	border-color: #bbb;
	color: #888;
}
section.recent-posts .other-recent-posts .comments-link a:hover {
	color: #1982d1;
	border-color: #1982d1;
}
section.recent-posts .other-recent-posts li:after {
	clear: both;
	content: '.';
	display: block;
	height: 0;
	visibility: hidden;
}


/* =Attachments
----------------------------------------------- */

.image-attachment div.attachment {
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-width: 1px 0;
	margin: 0 -8.9% 1.625em;
	overflow: hidden;
	padding: 1.625em 1.625em 0;
	text-align: center;
}
.image-attachment div.attachment img {
	display: block;
	height: auto;
	margin: 0 auto 1.625em;
	max-width: 100%;
}
.image-attachment div.attachment a img {
	border-color: #f9f9f9;
}
.image-attachment div.attachment a:focus img,
.image-attachment div.attachment a:hover img,
.image-attachment div.attachment a:active img {
	border-color: #ddd;
	background: #fff;
}
.image-attachment .entry-caption p {
	font-size: 10px;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	margin: 0 0 2.6em;
	text-transform: uppercase;
}


/* =Navigation
-------------------------------------------------------------- */

#content nav {
	clear: both;
	overflow: hidden;
	padding: 0 0 1.625em;
}
#content nav a {
	font-size: 12px;
	font-weight: bold;
	line-height: 2.2em;
}
#nav-above {
	padding: 0 0 1.625em;
}
#nav-above {
	display: none;
}
.paged #nav-above {
	display: block;
}
.nav-previous {
	float: left;
	width: 50%;
}
.nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content nav .meta-nav {
	font-weight: normal;
}

/* Singular navigation */
#nav-single {
/*--- MTL KAZ: c/o
	float: right;
	position: relative;
	top: -0.3em;
	text-align: right;
	z-index: 1;
---*/
	width: 100%;	/* MTL KAZ */
	text-align: center;	/* MTL KAZ */
}
/*--- MTL KAZ: c/o
#nav-single .nav-previous,
#nav-single .nav-next {
	width: auto;
}
---*/
#nav-single .nav-previous {
/*	padding-right: .5em; */	/* MTL KAZ */
	float: none;	/* MTL KAZ */
	width: 105px;	/* MTL KAZ */
}
#nav-single .nav-list {	/* MTL KAZ */
	width: 132px;
	margin: 0 18px;
}
#nav-single .nav-next {
/*	padding-left: .5em; */	/* MTL KAZ */
	float: none;	/* MTL KAZ */
	width: 106px;	/* MTL KAZ */
}


/* =Widgets
----------------------------------------------- */

.widget-area {
	font-size: 12px;
}
.widget {
	clear: both;
	margin: 0 0 10px;	/* MTL KAZ: was 0 0 2.2em; */
}
.widget-title {
	color: #666;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	text-transform: uppercase;
}
.widget ul {
	font-size: 15px;
	margin: 0;
	list-style-type: none;	/* MTL KAZ */
}
.widget ul ul {
	margin-left: 1.5em;
}
.widget ul li {
	color: #777;
	font-size: 13px;
}
/*--- MTL KAZ
.widget a {
	font-weight: bold;
	text-decoration: none;
}
.widget a:hover,
.widget a:focus,
.widget a:active {
	text-decoration: underline;
}
---*/

/* Search Widget */
.widget_search form {
	margin: 0 0 1.625em;
}
.widget_search #s {
	width: 77%;
}
.widget_search #searchsubmit {
	background: #ddd;
	border: 1px solid #ccc;
	-webkit-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09);
	-moz-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09);
	box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09);
	color: #888;
	font-size: 13px;
	line-height: 25px;
	position: relative;
	top: -2px;
}
.widget_search #searchsubmit:active {
	background: #1982d1;
	border-color: #0861a5;
	-webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1);
	box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1);
	color: #bfddf3;
}

/* Ephemera Widget */
section.ephemera ol,
.widget_twentyeleven_ephemera ol {
	list-style: square;
	margin: 5px 0 0;
}
.widget_twentyeleven_ephemera .widget-entry-title {
	font-size: 15px;
	font-weight: bold;
	padding: 0;
}
.widget_twentyeleven_ephemera .comments-link a,
.widget_twentyeleven_ephemera .comments-link > span {
	color: #666;
	display: block;
	font-size: 10px;
	font-weight: 500;
	line-height: 2.76333em;
	text-transform: uppercase;
}
section.ephemera .entry-title .comments-link a:hover,
.widget_twentyeleven_ephemera .entry-title .comments-link a:hover {
}
section.ephemera .entry-title a span {
	color: #29628d;
}

/* Twitter */
.widget_twitter li {
	list-style-type: none;
	margin-bottom: 14px;
}
.widget_twitter .timesince {
	display: block;
	font-size: 11px;
	margin-right: -10px;
	text-align: right;
}

/* Widget Image */
.widget_image img {
	border: 0;
	padding: 0;
	height: auto;
	max-width: 100%;
}

/* Calendar Widget */

.widget_calendar #wp-calendar {
	color: #555;
	width: 95%;
	text-align: center;
}
.widget_calendar #wp-calendar caption,
.widget_calendar #wp-calendar td,
.widget_calendar #wp-calendar th {
	text-align: center;
}
.widget_calendar #wp-calendar caption {
	font-size: 11px;
	font-weight: 500;
	padding: 5px 0 3px 0;
	text-transform: uppercase;
}
.widget_calendar #wp-calendar th {
	background: #f4f4f4;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	font-weight: bold;
}
.widget_calendar #wp-calendar tfoot td {
	background: #f4f4f4;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}


/* =Comments
----------------------------------------------- */

#comments-title {
	color: #666;
	font-size: 10px;
	font-weight: 500;
	line-height: 2.6em;
	padding: 0 0 2.6em;
	text-transform: uppercase;
}
.nopassword,
.nocomments {
	color: #aaa;
	font-size: 24px;
	font-weight: 100;
	margin: 26px 0;
	text-align: center;
}
.commentlist {
	list-style: none;
	margin: 0 auto;
	width: 100%;	/* MTL KAZ: was 68.9% */
}
.content .commentlist,
.page-template-sidebar-page-php .commentlist {
	width: 100%; /* reset the width for the one-column and sidebar page layout */
}
.commentlist > li.comment {
	background: #f6f6f6;
	border: 1px solid #ddd;
	-moz-border-radius: 3px;
	border-radius: 3px;
	margin: 0 0 1.625em;
	padding: 1.625em;
	position: relative;
}
.commentlist .pingback {
	margin: 0 0 1.625em;
	padding: 0 1.625em;
}
.commentlist .children {
	list-style: none;
	margin: 0;
}
.commentlist .children li.comment {
	background: #fff;
	border-left: 1px solid #ddd;
	-moz-border-radius: 0 3px 3px 0;
	border-radius: 0 3px 3px 0;
	margin: 1.625em 0 0;
	padding: 1.625em;
	position: relative;
}
.commentlist .children li.comment .fn {
	display: block;
}
.comment-meta .fn {
	font-style: normal;
}
.comment-meta {
	color: #666;
	font-size: 12px;
	line-height: 2.2em;
}
.commentlist .children li.comment .comment-meta {
	line-height: 1.625em;
	margin-left: 50px;
}
.commentlist .children li.comment .comment-content {
	margin: 1.625em 0 0;
}
.comment-meta a {
	font-weight: bold;
}
.comment-meta a:focus,
.comment-meta a:active,
.comment-meta a:hover {
}
.commentlist .avatar {
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0 1px 2px #ccc;
	-moz-box-shadow: 0 1px 2px #ccc;
	box-shadow: 0 1px 2px #ccc;
	left: -102px;
	padding: 0;
	position: absolute;
	top: 0;
}
.commentlist > li:before {
	content: url(images/comment-arrow.png);
	left: -21px;
	position: absolute;
}
.commentlist > li.pingback:before {
	content: '';
}
.commentlist .children .avatar {
	background: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	left: 2.2em;
	padding: 0;
	top: 2.2em;
}
a.comment-reply-link {
	background: #eee;
	-moz-border-radius: 3px;
	border-radius: 3px;
	color: #666;
	display: inline-block;
	font-size: 12px;
	padding: 0 8px;
	text-decoration: none;
}
a.comment-reply-link:hover,
a.comment-reply-link:focus,
a.comment-reply-link:active {
	background: #888;
	color: #fff;
}
a.comment-reply-link > span {
	display: inline-block;
	position: relative;
	top: -1px;
}

/* Post author highlighting */
.commentlist > li.bypostauthor {
	background: #ddd;
	border-color: #d3d3d3;
}
.commentlist > li.bypostauthor .comment-meta {
	color: #575757;
}
.commentlist > li.bypostauthor .comment-meta a:focus,
.commentlist > li.bypostauthor .comment-meta a:active,
.commentlist > li.bypostauthor .comment-meta a:hover {
}
.commentlist > li.bypostauthor:before {
	content: url(images/comment-arrow-bypostauthor.png);
}

/* Post Author threaded comments */
.commentlist .children > li.bypostauthor {
	background: #ddd;
	border-color: #d3d3d3;
}

/* sidebar-page.php comments */
/* Make sure we have room for our comment avatars */
.page-template-sidebar-page-php .commentlist > li.comment,
.page-template-sidebar-page-php.commentlist .pingback {
	margin-left: 102px;
	width: auto;
}
/* And a full-width comment form */
.page-template-sidebar-page-php #respond {
	width: auto;
}

/* Comment Form */
#respond {
	background: #ddd;
	border: 1px solid #d3d3d3;
	-moz-border-radius: 3px;
	border-radius: 3px;
	margin: 0 auto 1.625em;
	padding: 1.625em;
	position: relative;
	width: 100%;	/* MTL KAZ: was 68.9% */
}
#respond input[type="text"],
#respond textarea {
	background: #fff;
	border: 4px solid #eee;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: inset 0 1px 3px rgba(204,204,204,0.95);
	-moz-box-shadow: inset 0 1px 3px rgba(204,204,204,0.95);
	box-shadow: inset 0 1px 3px rgba(204,204,204,0.95);
	position: relative;
	padding: 10px;
	text-indent: 80px;
}
#respond .comment-form-author,
#respond .comment-form-email,
#respond .comment-form-url,
#respond .comment-form-comment {
	position: relative;
}
#respond .comment-form-author label,
#respond .comment-form-email label,
#respond .comment-form-url label,
#respond .comment-form-comment label {
	background: #eee;
	-webkit-box-shadow: 1px 2px 2px rgba(204,204,204,0.8);
	-moz-box-shadow: 1px 2px 2px rgba(204,204,204,0.8);
	box-shadow: 1px 2px 2px rgba(204,204,204,0.8);
	color: #555;
	display: inline-block;
	font-size: 13px;
	left: 4px;
	min-width: 60px;
	padding: 4px 10px;
	position: relative;
	top: 40px;
	z-index: 1;
}
#respond input[type="text"]:focus,
#respond textarea:focus {
	text-indent: 0;
	z-index: 1;
}
#respond textarea {
	resize: vertical;
	width: 95%;
}
#respond .comment-form-author .required,
#respond .comment-form-email .required {
	color: #bd3500;
	font-size: 22px;
	font-weight: bold;
	left: 75%;
	position: absolute;
	top: 45px;
	z-index: 1;
}
#respond .comment-notes,
#respond .logged-in-as {
	font-size: 13px;
}
#respond p {
	margin: 10px 0;
}
#respond .form-submit {
	float: right;
	margin: -20px 0 10px;
}
#respond input#submit {
	background: #222;
	border: none;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
	box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
	color: #eee;
	cursor: pointer;
	font-size: 15px;
	margin: 20px 0;
	padding: 5px 42px 5px 22px;
	position: relative;
	left: 30px;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
}
#respond input#submit:active {
	background: #1982d1;
	color: #bfddf3;
}
#respond #cancel-comment-reply-link {
	color: #666;
	margin-left: 10px;
	text-decoration: none;
}
#respond .logged-in-as a:hover,
#respond #cancel-comment-reply-link:hover {
	text-decoration: underline;
}
.commentlist #respond {
	margin: 1.625em 0 0;
	width: auto;
}
#reply-title {
	color: #373737;
	font-size: 24px;
	font-weight: bold;
	line-height: 30px;
}
#cancel-comment-reply-link {
	color: #888;
	display: block;
	font-size: 10px;
	font-weight: normal;
	line-height: 2.2em;
	letter-spacing: 0.05em;
	position: absolute;
	right: 1.625em;
	text-decoration: none;
	text-transform: uppercase;
	top: 1.1em;
}
#cancel-comment-reply-link:focus,
#cancel-comment-reply-link:active,
#cancel-comment-reply-link:hover {
	color: #ff4b33;
}
#respond label {
	line-height: 2.2em;
}
#respond input[type=text] {
	display: block;
	height: 24px;
	width: 75%;
}
#respond p {
	font-size: 12px;
}
p.comment-form-comment {
	margin: 0;
}
.form-allowed-tags {
	display: none;
}


/* =Footer
----------------------------------------------- */

.fb_plugin {	/* MTL KAZ */
	clear: both;
	display: block;
}
#ft_nav_top {	/* MTL KAZ */
	clear: both;
	width: 100%;
	line-height: 0;
	text-align: right;
	padding: 8px 0 5px;
}
#ft_nav_top a {	/* MTL KAZ */
	margin: 0 20px;
}
#ft_nav_top a img {	/* MTL KAZ */
	border-bottom: transparent solid 1px;
}
#colophon {
	background: url(/images/footer_bg.jpg) no-repeat center top;	/* MTL KAZ */
	clear: both;
	overflow: hidden;	/* MTL KAZ */
	text-align: center;	/* MTL KAZ */
	width: 100%;	/* MTL KAZ */
	height: 256px;	/* MTL KAZ */
}
#ft_banners {	/* MTL KAZ */
	overflow: hidden;
	width: 943px;	/* 970-27 */
	height: 72px;	/* 90-18 */
	margin: 0 auto;
	padding-top: 18px;
	padding-left: 27px;
	text-align: left;
}
#ft_banners a {	/* MTL KAZ */
	margin-right: 10px;
}
#ft_links {	/* MTL KAZ */
	overflow: hidden;
	color: #fff;
	width: 970px;
	height: 126px;
	margin: 0 auto;
}
#ft_copyright {	/* MTL KAZ */
	color: #fff;
	width: 970px;
	line-height: 40px;
	height: 40px;
	margin: 0 auto;
	font-size: 70%;
}
#ft_copyright p {	/* MTL KAZ */
	display: none;
}
#supplementary {
	border-top: 1px solid #ddd;
	padding: 1.625em 7.6%;
	overflow: hidden;
}

/* Two Footer Widget Areas */
#supplementary.two .widget-area {
	float: left;
	margin-right: 3.7%;
	width: 48.1%;
}
#supplementary.two .widget-area + .widget-area {
	margin-right: 0;
}

/* Three Footer Widget Areas */
#supplementary.three .widget-area {
	float: left;
	margin-right: 3.7%;
	width: 30.85%;
}
#supplementary.three .widget-area + .widget-area + .widget-area {
	margin-right: 0;
}

/* Site Generator Line */
#site-generator {
	background: #f9f9f9;
	border-top: 1px solid #ddd;
	color: #666;
	font-size: 12px;
	line-height: 2.2em;
	padding: 2.2em 0.5em;
	text-align: center;
}
#site-generator a {
	color: #555;
	font-weight: bold;
}


/* MTL: Fixed Page Components
----------------------------------------------- */

/* top page */
#top_panelblock {
	background: url(/images/top_panels_bg.jpg) no-repeat center bottom;
	width: 100%;
	min-width: 1000px;
	height: 689px;		/* = 707 - 10 - 8 */
	padding: 10px 0 8px;	/* was 27px 0 28px */
	text-align: center;
}
#top_panels {
	background: transparent;
	width: 978px;
	height: 652px;
	margin: 0 auto;
	text-align: center;
}
.panel {
/*	border: #fff solid 1px; */	/* for debugging */
	position: relative;
	float: left;
	width: 163px;
	height: 163px;
	text-align: center;
}
.panel img {
	border: #aaa solid 1px;
	width: 153px;
	height: 153px;
	margin: 4px 4px;
}
#top_panel_foot {
	width: 970px;
	height: 31px;
	line-height: 0;
	margin: 6px auto 0;
}
#top_panel_desc {
	position: relative;
	float: left;
	visibility: hidden;
}
#top_panel_replay {
	position: relative;
	float: right;
}
#topmain .entry-content h2 a:hover {
	border-bottom: #404040 solid 1px;
}
#top_occasions {
	border-top: #d1d2c2 solid 2px;
	border-bottom: #d1d2c2 solid 2px;
	width: 100%;
	margin-bottom: 24px;
}
#top_occasions td {
	border: none;
	font-size: 10pt;
	line-height: 1.333;
}
#top_occasions td.bgwhite {
	background: #fff;
}
#top_occasions td.bgpink {
	background: #faedda;
}
#top_occasions td.bgwhite:hover,
#top_occasions td.bgpink:hover {
	background: #edd9b9;
}
#top_occasions td a {
	display: block;
	overflow: hidden;
	color: #404040;
	padding: 16px 15px;	/* was 16px 16px 16px 20px */
	text-decoration: none;
}
.top_occa_photo {
	float: left;
	margin-right: 20px;
}
.top_occa_title {
	margin-bottom: 5px;
}
#top_news {
	border-bottom: #d1d2c2 solid 1px;
	overflow: hidden;
	width: 690px;
}
#top_news th {
	border: none;
	height: 43px;
}
#top_news td {
	border: none;
	font-size: 80%;		/* 16px * 94% * 80% = 12.03px */
}
#top_recent {
	float: left;
	width: 457px;
	margin-bottom: 8px;	/* MTL KAZ: was 32px */
}
#top_recent tr {
	border-right: #d1d2c2 solid 1px;
}
#top_recent tr.noborder {
	border-right: none;
}
#top_recent th.imgonly img,
#top_blog_rss th.imgonly img {	/* KAZ: AUG-2017: Chrome zoom problem: added */
	width: 100%;
}
#top_recent td {
	border-bottom: #d1d2c2 dashed 1px;
	line-height: 1.66;	/* 16px * 94% * 80% * 1.66 = 19.97px */
	vertical-align: top;
	padding: 11px 0px;	/* 11 = 15 - ( (21 - 12) / 2) */
}
#top_recent td.top_recent_photo {
	padding: 15px 0px;
}
#top_recent td.firstpost {
	padding: 6px 0px;	/* 6 = 15 - ( (21 - 12) / 2) - 5 */
}
#top_recent td.top_recent_photo.firstpost {
	padding: 10px 0px;	/* 10 = 15 - 5 */
}
#top_recent td.noborder {
	border-bottom: none;
	width: 15px;
	min-width: 15px;
}

#top_recent td.top_recent_photo a { position: relative; overflow: hidden; width: 150px; height: 100px; display: block; margin-right: 18px; }
#top_recent td.top_recent_photo img { position: absolute; }
#top_recent td.top_recent_photo img.landscape { height: inherit; top: 0; left: 50%; -ms-transform: translateX(-50%); -moz-transform: translateX(-50%); -webkit-transform: translateX(-50%); transform: translateX(-50%); }
#top_recent td.top_recent_photo img.portrait { width: inherit; top: 50%; left: 0; -ms-transform: translateY(-50%); -moz-transform: translateY(-50%); -webkit-transform: translateY(-50%); transform: translateY(-50%); }
 /* MAT 2017.2 was #top_recent td.top_recent_photo img {
	float: left;
	width: 150px;
	height: 100px;
} */

#top_recent .entry-summary {
	font-size: 91%;		/* 16px * 94% * 80% * 91% = 10.95px */
	line-height: 1.55;	/* 16px * 94% * 80% * 91% = 16.97px */
	margin-bottom: 0;
}
#top_recent .entry-summary p {
	margin-bottom: 0;
}
#top_recent_link li {
	list-style-type: none;
}
#top_recent_link li a {
	line-height: 80%;
	font-size: 80%;
	margin-left: 280px;
	color: #3D331B;
}

#top_blog_rss {
	float: right;
	width: 233px;
	margin-bottom: 8px;	/* MTL KAZ: was 32px */
}
#top_blog_rss tr {
	border-left: #d1d2c2 solid 1px;
}
#top_blog_rss tr.noborder {
	border-left: none;
}
#top_blog_rss td {
	line-height: 1.58;	/* 16px * 94% * 80% * 1.58 = 19.01px */
	padding: 0px 15px;
}
#top_blog_rss td hr {
	border-top: #d1d2c2 dashed 1px;
	height: 0;
	margin-bottom: 15px;
}
#feed {	/* ito added rss */
	padding: 0;
	margin: -3px 0 0;	/* MTL KAZ: was 0 */
	visibility: hidden;	/* MTL KAZ */
}
.reader-publisher-module li {	/* ito added rss */
	list-style-type: none;
	padding: 10px 0 6px;	/* MTL KAZ: was 0 */
				/* 10 = 13 - ( (19 - 12) / 2) */
				/*  6 =  9 - ( (19 - 12) / 2) */
	border-bottom: #d1d2c2 1px dashed;
/*	margin-bottom: 4px;
	padding-bottom: 4px; */
}
.reader-publisher-module span.bname {	/* MTL KAZ */
	font-size: 96%;		/* 16px * 94% * 80% * 96% = 11.56px */
}
.reader-publisher-module li a {	/* ito added rss */
/*	text-decoration: none; */	/* MTL KAZ c/o */
}
.reader-publisher-module .s {	/* ito added rss */
	text-align: right
}
.reader-publisher-module .s a {	/* ito added rss */
	color: #494949;
}

/* common in other pages */
.whiteboard, .shadowboard, .stoneboard, #occasions section,
.single-post .entry-content, .blog .entry-content, .archive .entry-content {
	overflow: hidden;
	font-size: 93%;		/* 16px * 94% * 93% = 13.99px */
	line-height: 1.75;	/* 16px * 94% * 93% * 1.75 = 24.48px (26px in design) */
	width: 644px;
	margin: 0 0 20px;
	padding: 16px 20px 1px;
}
.whiteboard, .single-post .entry-content {
	background: #fff;
}
.shadowboard {
	background: #fff url(/images/boxshadow.gif) no-repeat center bottom;
	padding: 16px 20px 5px;
}
.stoneboard, #occasions section, .blog .entry-content, .archive .entry-content {
	background: url(/images/whstone_bg.gif) repeat;
}
.whiteboard p {
	padding: 0 5px;
}
.whiteboard p img {
	max-width: 634px;
}
.whiteboard p.widephoto {
	padding: 0;
}
.whiteboard p.widephoto img {
	max-width: 644px;
	width: 644px;
}
.whiteboard section, .shadowboard section {
	clear: both;
	overflow: hidden;
	margin-bottom: 16px;
	padding: 5px;
}
.boxshadow {
	background: url(/images/boxshadow.gif) no-repeat center bottom;
	width: 684px;
	height: 5px;
	margin-bottom: 20px;
}
section table {
	margin: 0 6px 24px 6px;
}
section tr {
}
section th {
	border-top: #000 1px solid;
	border-bottom: #000 1px solid;
	background: #9acccd;
	padding: 0 6px 0 4px;
}
section td {
	border-top: #000 1px solid;
	border-bottom: #000 1px solid;
	padding: 0 4px 0 6px;
}

/* intro (annai) pages */
.phsubtitle {
	font-size: 86%;		/* 16px * 94% * 93% * 86% = 12.03px */
	line-height: 1.5;	/* 16px * 94% * 93% * 86% * 1.5 = 18.04px */
	text-align: center;	/* MAT */
}
.intro_effect th {
	font-weight: bold;
	padding-right: 16px;
}

/* yado pages */
.YadoContainer {
	margin: 26px 0 20px;
}
#YadoSearch {
	border-top: #ccc solid 1px;
	border-bottom: #ccc solid 1px;
	border-left: none;
	border-right: none;
}
#yado_panelblock {
	position: relative;
	width: 688px;
	height: 700px;	/* MAT was 860 */
	margin: 0 -2px 15px -2px;	/* MAT 15 was 30 */
	overflow: hidden;
}
#yado_panels {
	position: absolute;
	width: 688px;
	height: 860px;
}
#yado_details {
	position: absolute;
	left: -9999px;
	width: 688px;
	height: 860px;
}
#yado_panels .panel {
	width: 172px;
	height: 172px;
	line-height: 0;
}
#yado_panels .panel a {
}
#yado_panels .panel img {
	border: #aaa solid 1px;
	width: 162px;
	height: 162px;
}
#yado_details .panel {
	background: url(/images/yado/details_bg.jpg) no-repeat top left;
	border: #aaa solid 1px;
	color: #333;
	width: 162px;
	height: 162px;
	margin: 4px 4px;
}
#yado_details .panel:hover {
	background: #faedd9;
}
#yado_panelheader {
	overflow: hidden;
	margin: 15px 0;
}
#yado_panelheader ul {
	overflow: hidden;
	height: 30px;
	line-height: 30px;
	list-style: none;
	margin: 0;
}
#yado_panelheader ul li {
	float: left;
	padding: 0 11px;	/* Designed 16px */
}
#yado_panelheader ul li.rightborder {
	border-right: black solid 1px;
}
#yado_panelheader ul li#detaillegends {
	visibility: hidden;
	background: #fff;
	border: #aaa solid 1px;
	color: #333;
	font-size: 10px;
	line-height: 22px;
	margin-top: 4px;
	padding: 0 4px;
}
#yado_panelheader ul li a {
	color: #333;
	font-size: 10pt;
}
#detaillegends .detailicon {
	color: #008080;
	font-size: 12px;
	font-weight: bold;
}
/* #yado_panelheader ul li a:link,
#yado_panelheader ul li a:visisted,
#yado_panelheader ul li a:active {
	text-decoration: none;
} */
#yado_details .panel a {
	display: block;
	color: #333;
	width: 162px;
	height: 162px;
}
#yado_details .panel a:active,
#yado_details .panel a:focus,
#yado_details .panel a:hover {
	text-decoration: none;
}
#yado_details .panel span {
	display: block;
}
.detailtitle {
	font-size: 14px;
	height: 18px;
	line-height: 18px;
	margin-top: 8px;
	margin-bottom: 0;
}
.detailphone {
	font-size: 14px;
	height: 19px;
	line-height: 19px;
	margin-bottom: 6px;
}
#yado_details .panel .detailphone img {
	width: 15px;
	height: 15px;
	margin: 0 4px 0 0;
	vertical-align: -3px;
}
.detailtitle {
}
.detailphone {
	color: #4e2845;
	font-weight: bold;
}
.detailphoto {
	float: left;
	line-height: 0;
}
#yado_details .panel .detailphoto img {
	border: none 0px;
	width: 88px;
	height: 66px;
	margin: 0;
}
.detailpricehead {
	background: #fff;
	font-size: 10px;
	height: 12px;
	line-height: 12px;
	padding-top: 2px;
	margin-bottom: 0;
}
.detailprice {
	background: #fff;
	font-size: 12px;
	height: 14px;
	line-height: 14px;
	padding-bottom: 2px;
}
.detailicons {
	/* 3 icons each with 15 x 15 px */ /* was 11 x 11 px */
	background: #fff;
	height: 15px;	/* was 11px */
	line-height: 0;
	padding: 2px 0;	/* was 4px 0 */
	text-align: center;
}
#yado_details .detailicons span.detailicon,
#yado_details .detailicons span.blankicon {
	display: inline;
	font-size: 12px;
	font-weight: bold;
	line-height: 15px;
}
#yado_details .detailicons span.detailicon {
	color: #008080;
}
#yado_details .detailicons span.blankicon {
	color: #fff;
}
#yado_details .detailicons img.detailicon {
	height: 15px;
	vertical-align: middle;
}
.detailkakenagashi {
	background: #4e2845;
	color: #fff;
	font-size: 12px;
	height: 12px;
	line-height: 1;
	padding: 3px 0 2px;
}
.detaildesc {
	clear: both;
	font-size: 10px;
	line-height: 1.5;
	text-align: left;
	padding: 8px 5px;
	margin-bottom: 0;
}
#ind_main {
	background: url(/images/yado/ind_main_bg.gif) no-repeat center bottom;	/* MTL KAZ: was ... top */
	position: relative;
	width: 664px;
/*	height: 115px; */	/* MTL KAZ: Added "#ind_main > div" section below instead */
	padding: 0 10px;
}
#ind_main > div {
	overflow: hidden;
}
#ind_main .reserve {
	position: absolute;
	top: -81px;	/* MTL KAZ: was -57px before using logos */
	left: 462px;
	width: 209px;
	height: 31px;
}
#ind_main .reserve a {
	line-height: 0;
}
#ind_main .reserve a img:hover {
	opacity: 0.75;
	filter: alpha(opacity=75);
}
#ind_main hr {
	color: #ccc;
	width: 100%;
	height: 1px;
	margin: 0 0 8px;
}
#ind_main p {
	padding: 0 7px;
	font-size: 17px;
	font-weight: bold;
	line-height: 25px;
	letter-spacing: 1px;
	margin-bottom: 8px;
}
#ind_main .buttons {
	float: right;
	position: relative;
	height: 24px;
	line-height: 24px;
	margin-bottom: 15px;
}
#ind_main .buttons a {
	line-height: 0;
	margin-left: 5px;	/* MTL Matsuo: 2019.3 was 10px, shorten for indoor view button */
}
#ind_main .buttons a img {
	vertical-align: middle;
}
#ind_main .buttons a img:hover {
	opacity: 0.75;
	filter: alpha(opacity=75);
}
#ind_main .buttons img.none_omoto,
#ind_main .buttons a img.none_omoto {	/* 08.2020 AKI added*/
	display: none;
}
#ind_main .phone {
	float: left;
	position: relative;
	font-size: 19px;	/* MTL Matsuo: 2019.10 was 20px 2019.3 was 22px */
	font-weight: bold;
	width: 165px;	/* MTL Matsuo: 2019.3 was 198px, shorten for indoor view button */
	height: 24px;
	line-height: 24px;
	margin-bottom: 15px;
	padding: 0 0 0 3px;
}
#ind_main .phone img {
	margin-right: 5px;
	vertical-align: -4px;
}
#ind_main .address {
	float: left;
	position: relative;
	font-size: 13px;
	height: 24px;
	line-height: 24px;
	margin-bottom: 15px;
}
#ind_main .address img {
	margin-right: 5px;
	vertical-align: -7px;
}
#lgimg p {
	width: 684px;
	line-height: 0;
	margin-bottom: 5px;	/* 10 - (23 - 13) / 2 */
}
#lgimg img {
	width: 684px;
}
#lgimg p.subtitle {
	font-size: 13px;
	line-height: 23px;
	margin-bottom: 0;
}
#lgimg p.descr {
	font-size: 12px;
	line-height: 18px;
	margin-bottom: 11px;	/* 14 - (18 - 12) / 2 */
}
.smimg {
	background: url(/images/yado/ind_photo_bg.gif) no-repeat center top;
	float: left;
	position: relative;
	width: 216px;
	margin-right: 16px;
}
.smimg.nomargin {
	margin-right: 0;
}
.smimg p {
	line-height: 0;
	margin-bottom: 0;
}
.smimg img {
	width: 200px;
	height: 150px;
	margin: 7px 8px 9px;	/* 9 = 14 - (23 - 13) / 2 */
}
.smimg p.subtitle {
	font-size: 13px;
	line-height: 23px;
}
.smimg p.subtitle.nodesc {
	margin-bottom: 13px;	/* 18 - (23 - 13) / 2 */
}
.smimg p.descr {
	font-size: 12px;
	line-height: 17px;
	margin-bottom: 15px;	/* 18 - (17 - 12) / 2 */
}
#ind_facts {
	border-top: #ccc 1px solid;
	overflow: hidden;
	position: relative;
	width: 678px;
	padding: 10px 3px 1px;
	margin-top: 23px;	/* 26 - (17 - 12) / 2 */
	margin-bottom: 0;
}
#ind_facts table {
	margin: 0;
}
#ind_facts td {
	float: left;
	position: relative;
	width: 208px;
	padding: 0 9px;
}
#ind_facts td p {
	font-size: 12px;
	line-height: 17px;
	margin-top: 3px;	/* 5 - (17 - 12) / 2 */
	margin-bottom: 15px;	/* 18 - (17 - 12) / 2 */
	padding: 0;
}
#ind_facts td p.title {
	border-top: #028e8f 3px solid;
	font-size: 13px;
	line-height: 20px;
	border-bottom: #ccc 1px dashed;
	margin: 0;
}
#ind_links {
	border-top: #ccc 1px solid;
	overflow: hidden;
	position: relative;
	width: 684px;
	padding: 0 0 5px;
	text-align: center;
}
#ind_links table {
	margin: 0 auto;
}
#ind_links td {
	text-align: center;
}
#link1 {
	height: 53px;
	padding: 21px 0 15px;
}
#link1 a {
	line-height: 0;
}
#link2 {
	font-size: 12px;
	line-height: 17px;
	letter-spacing: 1px;
	height: 32px;
	padding: 8px 0 16px;
}
#link2 {
	border-top: #ccc 1px dashed;
}
#link2 a {
	padding-left: 25px;
}
#link2 img {
	vertical-align: -10px;
}
#link1 img:hover,
#link2 img:hover {
	opacity: 0.75;
	filter: alpha(opacity=75);
}
table.sotoyu {
	min-width: 345px;
	margin-bottom: 0;
}
table.sotoyu th {
	width: 80px;
}
.specialties {	/* mise */
	font-weight: bold;
	line-height: 1.43;
}

/* occasions (konnatoki) pages & group page */
#occasions {
	overflow: hidden;
}
/*--- #pano_ui {
	position: absolute;
	font-size: 80%;
	width: 100%;
	top: 18px;
	line-height: 1;
	margin: 0 auto;
	text-align: center;
} ---*/
#pano_wrapper {
	position: relative;
	width: 970px;
	height: 250px;
	text-align: left; /* required for IE7 */
	margin: 15px auto 10px;
	overflow: hidden;
}
#pano_image {
	display: block;
	position: absolute;
	left: 0px;
	width: 1500px;
	height: 250px;
}
#pano_title {
	font-size: 80%;
	width: 970px;
	height: 29px;
	line-height: 0;	/* was: 1 */
	margin: 10px auto 25px;
	text-align: center;
}
#pano_title img {
	vertical-align: middle;
}
#pano_title > img {
	margin: 0 8px 0 auto;
}
#pano_title a {
	padding: 0 2px;
}
#pano_title a:active, #pano_title a:focus, #pano_title a:hover {
	text-decoration: none;
}
#occasions #occasions_top {
	border-top: #9e0265 solid 5px;
	width: 654px;
	padding: 16px 15px 1px;
}
#occasions #occa_top_head {
	font-weight: bold;
	font-size: 122%;	/* 16px * 94% * 93% * 122% = 17.06px */
	line-height: 1.52;	/* 16px * 94% * 93% * 122% * 1.52 = 25.94px */
	width: 100%;
	text-align: center;
	margin-bottom: 15px;
}
#occasions #occa_top_head img {
	margin-top: 19px;
	margin-bottom: 6px;
}
#occasions #occasions_top table {
	border-top: #d1d2c2 solid 2px;
	border-bottom: #d1d2c2 solid 2px;
	width: 654px;
	margin: 0 0 24px;
}
#occasions #occasions_top tr {
	border-top: none;
	border-bottom: none;
}
#occasions #occasions_top td {
	border: none;
	line-height: 1.5;	/* 16px * 94% * 93% * 1.5 = 20.98px */
	width: 327px;
}
#occasions #occasions_top td.bgwhite {
	background: #fff;
}
#occasions #occasions_top td.bgpink {
	background: #faedd9;
}
#occasions #occasions_top td.bgwhite:hover,
#occasions #occasions_top td.bgpink:hover {
	background: #edd9b9;
}
#occasions #occasions_top td a {
	display: block;
	overflow: hidden;
	color: #404040;
	text-decoration: none;
	padding: 15px 11px 20px;	/* was 15px 17px 20px */
}
#occasions #occasions_top td .title {
	display: block;
	width: 100%;
	line-height: 0;
	text-align: center;
	margin-bottom: 15px;
}
#occasions #occasions_top td .title img {
	margin: 0 auto;
}
#occasions #occasions_top td .illust {
	border-bottom: #ccc solid 1px;
	display: block;
	margin-bottom: 18px;
	padding: 0 6px 9px;	/* was padding-bottom: 9px; */
}
#occasions #occasions_top td .illust img {
	width: 293px;
	height: 168px;
	margin-bottom: 10px;
}
#occasions #occasions_top td hr {
	margin: 9px 0 18px;
}
#occasions #occasions_top td .sects {
	display: block;
	min-height: 3em;	/* = (line-height) 1.5 * 2 */
	padding: 0 6px;
}
#occasions h3,
h2#group_table_title {
	background: transparent url(/images/h3_occasions_bg.gif) no-repeat top left;
	border-bottom: none;
	color: #fff;
	font-size: 22px;
	width: 592px;
	height: 46px;
	min-height: none;
	line-height: 46px;
	margin: 0 6px 30px;
	padding-top: 2px;
	padding-left: 40px;
}
#occasions h3 a {	/* MTL MAT text-decoration: underlineだと美しくないので擬似的にborderでやる */
	border-bottom: 1px solid #fff;
	color: #fff;
	padding-bottom: 1px;
}
#occasions h3 a:hover,
#occasions h3 a:focus,
#occasions h3 a:active {/* MTL MAT */
	text-decoration: none;
}
#occasions section img {
	background: #fff;
	border: #000 1px solid;
	display: block;
	float: left;
	position: relative;
	line-height: 0;
	margin: 0 30px 24px 0;
	padding: 5px;
}
#occasions section img.alignright {
	float: right;
	margin: 0 0 24px 30px;
}
#occasions section img.inline {
	display: inline;
	float: none;
	margin: 0 0 24px;
}
#occasions section img.noborder {
	border: none;
	padding: 0;
}
#occasions section td img, table.sotoyu td img {	/* MTL KAZ: for map button */
	border: none;
	display: inline;
	float: right;
	margin: 0;
	padding: 3px 0;
	vertical-align: middle;
}
#occasions section p {
	margin: 0 6px 16px;
}
#occasions section .wp-caption img {	/* MAT */
	margin: 0 auto;
}
#occasions section table {
	min-width: 330px;
}
#group_table {
	width: 100%;	/* was: 644px = 684 - 20 * 2 */
}
#group_table th, #group_table td {
	line-height: 1.5;
	padding: 6px 4px;
	vertical-align: middle;
}
#group_table thead th {
	background: #008080;
	border-left: #bbb solid 1px;
	color: #fff;
	font-weight: bold;
	text-align: center;
}
#group_table thead th span {
	font-size: 86%;		/* 16px * 94% * 93% * 86% = 12.03px */
}
#group_table tbody tr {
}
#group_table tbody tr:nth-child(even) {
	background: #fbf3e8;
}
#group_table tbody tr.even {
	background: #fbf3e8;
}
#group_table tbody th {
}
#group_table tbody td {
	border-left: #bbb solid 1px;
	text-align: center;
}

/* access pages */
#access_top h3 {
	margin: 0 0 25px;
}
#access_top a {
	color: #333333;
}
.access_map {
	line-height: 0;
	text-align: center;
	margin: 12px auto 14px;
}
.access_wide, .access_taxi, .access_bus {
	font-size: 86%;		/* 16px * 94% * 93% * 86% = 12.03px */
	margin: 0 auto 36px;
}
.access_wide.last {
	margin-bottom: 75px;
}
.access_taxi {
	float: left;
	position: relative;
}
.access_bus {
	float: right;
	position: relative;
}
.access_bus a {
	display: block;
	float: right;
	position: relative;
	margin-top: 6px;
}
.access_title {
	margin-right: 36px;
	vertical-align: -7px;
}
.access_route {
	margin-top: 12px;
}
#asamamap a {
	color: #333333;
}
#asamamap .access_map {
	padding: 0;
	margin: 12px -3px 26px;
	width: 650px;
}
#asamamap .access_map img {
	max-width: none;
}
#map_table1, #map_table2, #map_table3 {
	font-size: 86%;		/* 16px * 94% * 93% * 86% = 12.03px */
	position: relative;
}
#map_table1 {
	float: left;
	margin: 0 auto 20px 45px;	/* was 14px auto 45px 60px */
}
#map_table2 {
	float: right;
	margin: 0 70px 20px auto;	/* was 14px 70px 20px auto */
}
#map_table3 {
/*	clear: right;	*/
	float: right;
	margin: 0 70px 45px auto;
}
#map_table1 tr, #map_table2 tr, #map_table3 tr {
	height: 27px;
	line-height: 27px;
}
#map_table1 tbody th, #map_table2 tbody th, #map_table3 tbody th {
	color: #fff;
	width: 16px;
	text-align: center;
}
#map_table1 tbody th {
	background: #fff url(/images/access/yado_no_bg.gif) no-repeat center center;
}
#map_table2 tbody th{
	background: #fff url(/images/access/sotoyu_no_bg.gif) no-repeat center center;
}
#map_table3 tbody th {
	background: #fff url(/images/access/mise_no_bg.gif) no-repeat center center;
}
#map_table1 td, #map_table2 td, #map_table3 td {
	padding: 0 8px;
	min-width: 104px;
}

/* inquiry page */
table#inquiry {
}
table#inquiry th {
	border-top: #000 1px solid;
	border-bottom: #000 1px solid;
	background: #9acccd;
	text-align: right;
	padding: 5px 8px;
	vertical-align: top;
}
table#inquiry td {
	border-top: #000 1px solid;
	border-bottom: #000 1px solid;
	padding: 5px 8px;
	vertical-align: top;
}

/* blog page */
.blog .entry-content, .archive .entry-content {	/* Used with .boxshadow */
	margin: 0;
	padding: 0 20px 1px;
}
.blog .entry-content hr, .archive .entry-content hr {
	color: #ccc;
	width: 100%;
	height: 1px;
	margin: 0 0 12px;
}
.single-post .entry-content {
	border-top: #625a43 solid 5px;
	margin-bottom: 0;
	padding-bottom: 0;
}
.single-post footer.entry-meta {
	border: #fff solid 8px;
	padding: 3px 12px;
}
.single-post footer.entry-meta a {
	font-weight: normal;
}


/* MTL: Sidebar Components
----------------------------------------------- */

#sidebar_menu {
	margin-bottom: 20px;
}
#sidebar_menu ul li {
	border-bottom: #ccc solid 1px;
	font-size: 14px;
	line-height: 25px;
	padding: 3px 8px 4px;
}
#sidebar_menu ul li a {
	color: #333333;
	font-weight: normal;
}
#sidebar_menu ul li ul li {
	border-bottom: none;
	padding: 0 8px;
}
#sidebar_access {
	background: url(/images/sidebar_access_bg.gif) no-repeat center bottom;
	height: 333px;	/* was 308px */
}
#sidebar_access a {
	display: block;
	line-height: 0;
}
#sidebar_access #sidebar_access_gmap {
	margin: 4px 0 12px 23px;
}
#sidebar_access #sidebar_access_onsenmap,
#sidebar_access #sidebar_access_pamph {
	margin: 0 0 0 23px;
}
#sidebar_weather {
/*	background: url(/images/sidebar_weather_bg.jpg) no-repeat center top; */	/* AUG-2020 KAZ: c/o */
	height: 174px;	 /* was 197px */
}
/* MTL KAZ: 22-JUN-2013: BEGIN: New code for weather forecast */
#sidebar_weather p {
	margin: 0;
}
/* AUG-2020 KAZ: c/o
 *#sidebar_weather a {
 *	display: block;
 *	overflow: hidden;
 *	color: #404040;
 *	font-size: 15px;
 *	width: 181px;	/$ 261 - 20 - 60 $/
 *	height: 134px;	/$ 174 - 20 * 2 $/
 *	padding: 20px 60px 20px 20px;
 *}
 */
#sidebar_weather a:active,
#sidebar_weather a:focus,
#sidebar_weather a:hover {
	text-decoration: none;
}
#sidebar_weather a span#today, #sidebar_weather a span#tomorrow {
	display: block;
	width: 48%;
	text-align: center;
}
#sidebar_weather a span#today {
	float: left;
}
#sidebar_weather a span#tomorrow {
	float: right;
}
#sidebar_weather a span.date {
	font-size: 16px;
}
#sidebar_weather a img {
	margin-top: 4px;
}
#sidebar_weather a span.highest {
	color: red;
}
#sidebar_weather a span.lowest {
	color: blue;
}
/* MTL KAZ: 22-JUN-2013: END: New code for weather forecast */
#sidebar_sightseeingspots {
	height: 198px;
}
#sidebar_facebook {	/* MTL KAZ: OCT-2017: moved to .inner */
}
#sidebar_facebook .inner {	/* MTL KAZ: OCT-2017: added */
	background: #615942;
	border: #3d331b solid 3px;
	display: block;
	height: 288px;
}
/*--- MTL KAZ: c/o
.japantenki {	/$ Mat $/
	padding-top: 35px !important;
	padding-left: 14px !important;
	font-size: 120% !important;
}
a .japantenki {	/$ Mat $/
	font-weight: normal;
}
---*/
#secondary .archives ul {	/* Mat for blog sidebar */
	margin-left: 8px;
}

#secondary .archives a {	/* Mat for blog sidebar */
	color: #404040;
}

#secondary .archives li.cat-item  {	/* Mat for blog sidebar */
	padding-bottom:0.5em;
	margin-bottom:0.5em;
	border-bottom: 1px solid #ccc;
}
#secondary .archives select {	/* Mat 2018.11 added */
	width: 100%;
	height: 2em;
	margin-bottom: 10px;
}

/* =IE7
----------------------------------------------- */
#ie7 article.intro {
	margin-left: -7.6%;
	margin-right: -7.6%;
	padding-left: -7.6%;
	padding-right: -7.6%;
	max-width: 1000px;
}
#ie7 section.featured-post {
	margin-left: -7.6%;
	margin-right: -7.6%;
	max-width: 850px;
}
#ie7 section.recent-posts {
	margin-right: 7.6%;
}
#ie7 hr {
	top: -7px;
	position: relative;
}
#ie7 hr + * {
	top: -14px;
	position: relative;
}
#ie7 hr + * + hr {
	top: -21px;
	position: relative;
}
#ie7 hr + * + hr + * {
	top: -28px;
	position: relative;
}

/* =IE8 
----------------------------------------------- */ 
#ie8 section.feature-image.large img { 
	width: 100%; 
}


/* MTL: common entries
-------------------------------------------------------------- */
.left {
	text-align: left;
}
.center {
	text-align: center;
}
.right {
	text-align: right;
}
.middle {
	vertical-align: middle;
}
.imgonly {
	line-height: 0;
}
.nomargin {
	margin: 0 !important;
}
img.noborder {
	border: none !important;
	padding: 0 !important;
}
.bold {
	font-weight: bold;
}
.clear {
	clear: both;
}
.transbtn:hover {
	opacity: 0.75;
	filter: alpha(opacity=75);
}
.sponly {
	display: none;
}


/* --- MTL added --- */
img.withintext {
	vertical-align:middle;
}

/* Mat for sitemap plugin */
#sitemap_list .children {
	margin-top: 0;
}
#sitemap_list a {
	color: #333333;
}

/* Mat for blog title date */
.single-author .entry-title {
	position: relative;
}

.blog-date {	/* Mat */
	font-size: 14px;
	vertical-align: middle;
/*	position: absolute;
 *	right: 20px;
 */	/* MTL KAZ 21-Mar-2013: revised as follows */
	display: inline-block;
	float: right;
	position: relative;
	right: 0px;
	line-height: 48px;
	/* MTL KAZ 21-Mar-2013: End of revision */
	font-weight: normal;
}

/* MTL: 2014 rakuen special page
-------------------------------------------------------------- */
.rakuen #content, .rakuen2014 #content  {
	background-color: white;
	font-size: 14px;
}

.rakuenwrapper p {
	margin-bottom: 0;
}

.rakuenwrapper p.notext {
	line-height: 0;
}

#rakuentop3 {
	text-align: center;
}

.rakuenyado {
	float: left;
	width: 305px;
	margin: 10px 15px 15px;
	border-top: solid 3px #E4006E;
	padding-top: 7px;
}

.rakuenyadowrapper .rakuenyado:nth-child(2n+1) {
	clear: both;
}

#rakuentop2photo {
	float: left;
	margin: 0 20px 0 35px;
}
.rakuenyado .telno {
	color: #E4006E;
	font-weight: bold;
	font-size: 14px;
	vertical-align: top;
}

.rakuenyado .address {
	font-size: 10px;
}

.rakuenwrapper .note {
	font-size: 9px;
	float: right;
}

.rakuenwrapper .notebig {
	margin: 10px 15px;
}

.rakuenplan {
	background-color: #E4006E;
	color: white;
	min-height: 42px;
	padding: 4px 3px 4px 10px;
	line-height: 1.5em;
	margin-bottom: 3px;
}

.optionplan {
	background-color: salmon; /* Mat 2017 was lightpink;, hard-to-read */
}

.rakuenplan .price {
	font-size: 23px;
	margin-left: 105px;
}

.rakuenplan .price .currency {
	font-size: 14px;
}

.rakuenplan .addition {
	font-size: 10px;
	margin-left: 13px;
	line-height: 1.1em;
	display: inline-block;
}
.rakuenplan .price .addition {
	margin-left: 18px;
}
table.beforeplan {
	margin-bottom: 7px;
	font-size: 11px;
	height: 150px;	/* 170 until 2015 */
}

table.beforeplan tr:first-child td:first-child {
	text-align: center;
	padding-right: 15px;
}
table.afterplan {
	border-top-width: 1px;
	font-size: 10px;
	width: 100%;
}
table.afterplan tr {
	border-width: 0 1px 1px;
}
.beforeplan tr:nth-of-type(1) {
	height: 20%;
}
.beforeplan tr:nth-of-type(2) {
	height: 10%;
	vertical-align: top; /* to avoid iPad's bug? */
	padding-top: 0;
}
.beforeplan tr:nth-of-type(3) td {
	padding-top: 20px; /* to avoid iPad's bug? */
}
table.afterplan th {
	background-color: #E0DACD;
	width: 70px;
}
table.afterplan th, table.afterplan td {
	padding: 5px;
}
table.afterplan, table.afterplan tr {
	border-color: #BBAE92;
	border-style: solid;
}

#rakuentopimage {	/* added for 2016 */
	margin-bottom: 20px;
}

.rakuenwrapper .maplink {
	clear: both;
	text-align: center;
	margin: 25px 0;
	display: block;
}

.rakuenwrapper hr.separator {
	height: 3px;
	background-color: #E4006E;
}

/* until 2015 .rakuenwrapper #booklet {
	background: url(/images/bgrakuenpanphlet.png) no-repeat left top;
	height: 244px;
	padding: 140px 188px 0 75px;
	margin: 42px 0 0 45px;
	color: white;
	display: block;
	text-decoration: none;
	width: 321px;
} */

.rakuenwrapper .snscampaign {	/* added for 2016 */
	margin-top: 33px;
	text-align: center;
	display: block;
}

.rakuenwrapper #illumi {
	background: url(/images/bgrakuenillumi.jpg) no-repeat left top;
	height: 236px;	/* was 186 for 2015; was 172 for 2014 */
	padding: 260px 53px 0 65px;	/* was 310.. for 2015; was 290px,.. for 2014 */
	margin: 25px 0 0 50px;
	color: white;
	width: 435px;	/* was 421 for 2014 */
}
.rakuenwrapper #illumi #illumiperiod {	/* added from 2016 */
	margin: 1px 0 20px 135px;
	font-size: 15px;
	font-weight: bold;
}

.rakuenwrapper #illumi a {
	color: whitesmoke;
}

.rakuenwrapper .hotmaplink {
	float: right;
}

/* MTL MAT 2016 11 added facebook (link only), instagram and twitter feed of hashtags */
#instagramblock, #twitterblock {
	float: left;
}
#instagramblock > a , .twhashtaglink/* Matsuo was #twitterblock > a*/, .fbhashtaglink/* Matsuo 2018.12 were #..link (id) */ {
	font-size: 17px;/* Matsuo, was 18px */
	font-family:  'Georgia', 'Times New Roman', Times, serif;
}
#instagramblock > a:active , .twhashtaglink/* Matsuo was #twitterblock > a:active*/, .fbhashtaglink:active {
	text-decoration: none;
}

#instagramblock {
	width: 690px;/* Matsuo was 504 */
	margin-right: 20px;
	margin-bottom: 20px;/* Matsuo added */
	clear: both;	/* MTL KAZ: OCT-2017: was left */
}
#instagramblock > a > img {
	vertical-align: -4px;
}
#twitterblock > a > img {
	vertical-align: middle;
}
#instagramblock > a {
	color: #3D331B;
}
#twitterblock > a {
	color: #4596D4;
	margin-top: -7px;
}
#twitterblock {
	width: 441px;
	clear: right;
}
#instagramblock a.morelink, 
#twitterblock a.morelink {
	float: right;
	font-size: 100%;
}
#sbi_images {
	margin-top: 5px;
	border: 1px solid #3D331B;
}

#twitter-widget-0 {
	border: 1px solid #4596D4 !important;
	height: 256px !important;
	margin-top: 4px !important;
}

#sb_instagram {
	padding-bottom: 0 !important;
}


.fbhashtaglink, .twhashtaglink/* Matsuo 2018.11 */ {
	display: inline-block;
	color: #3C5998;
	margin-top: 10px;	/* MTL KAZ: OCT-2017: was 20px */
}

.fbhashtaglink img, .twhashtaglink img/* Matsuo 2018.11 */ {
	vertical-align: -8px;
}

/* MTL: 2017 okamikai special page
-------------------------------------------------------------- */
.okamipresidentname, .okamiproduct, .okamikai h2 {
	font-family: "HG明朝E", "游明朝", YuMincho, "ヒラギノ明朝 Pro W6", HiraMinPro-W6, "ＭＳ Ｐ明朝", "MS PMincho", "Times New Roman", Times, serif;
}
.okamikai h2, .katsudolist {
	color: #4E2845;
}
.katsudolist h3, .katsudolist .date {
	color: white;
}
.okamikai .entry-content {
	background-color: white;
	overflow: hidden;
}

.okamipresident {
	box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -o-box-sizing: border-box; -ms-box-sizing: border-box;
	background: url(/images/bgokamipresident.jpg) no-repeat;
	height: 272px;
	margin: 33px 25px;
	font-size: 87%;	/* 13px */
	padding: 20px 30px 0 30px;
	line-height: 1.5;
}
.okamipresident .details {
	padding-right: 200px;
}
.okamipresidenttitle, .okamipresidentname {
	font-size: 17px;
}

.okamiproduct {
	background: url(/images/bgokamiproduct.jpg) no-repeat;
	height: 477px;
	font-size: 107%; /* 14px */
	text-align: center;
	overflow: hidden;
	margin-bottom: 30px;
}
.okamiproduct .catchy {
	text-align: right;
	margin: 20px 25px 355px 0;
	font-size: 21px;
}

.okamikai hr {
	height: 5px;
	background-color: #9E0064;
}
.okamikai h2 {
	background-color: transparent;
	font-size: 22px;
	margin-top: 5px;
	margin-bottom: 20px;
	font-weight: normal;
	padding: 0;
}

.okamikai h2, .katsudolist ul {
	margin-left: 25px;
}
.katsudolist ul {
	overflow: hidden;
}

.katsudolist li {
	width: 309px; 
	height: 410px; /* design is 390px */
	float: left;
	list-style-type: none;
}

.katsudolist li:nth-child(2n+1) {
	margin-right: 16px;
}

.katsudolist h3 {
	background: url(/images/bgkatsudotitle.gif) no-repeat;
	border: none;
	margin-bottom: 10px;
	box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -o-box-sizing: border-box; -ms-box-sizing: border-box;
	padding: 5px 35px 5px 10px;
	height: 45px;
	font-size: 93%; /* 14px */
	line-height: 1.4;
}

.katsudolist li .imgwrapper, .katsudolist li p {
	margin: 0 10px;
}

.katsudolist li .imgwrapper {
	width: 289px;
	height: 210px;
	margin-bottom: 15px;
	overflow:hidden;
	text-align:center;
	position:relative; overflow: hidden; /* Tips.xls (4) */
}

.katsudolist li .imgwrapper img {
	height:inherit;
	position: absolute; top: 0; left: 0; right: 0; margin 0 auto; /* Tips.xls (4) */
}

.katsudolist li > p {
	float: left;
	width: 222px;
	font-size: 76%;	/* 10px by design, but too small */
	line-height: 1.35;
}

.katsudolist .date {
	position: absolute;
	bottom: 0px;
	right: 0px;
	background-color: rgba(0,0,0,0.2);
	padding: 2px;
}
.katsudolist .date p {
	font-size: 87%;	/* 13px */
	font-weight: bold;
	margin: 0;
}
.okamiinfo {
	font-size: 65%;	/* 9px by design, but too small */
	line-height: 1.3;
}

.okamiinfo img {
	display: block;
	width: 52px;
	height: 52px;
	border-radius: 50%;  /* 角丸半径を50%にする(=円形にする) */
	-moz-border-radius: 50%;
	margin-bottom: 4px;
}


/* MTL KAZ: AUG-2017: campaign2017 (pre) special page
-------------------------------------------------------------- */
#campaign2017_main {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	position: relative;
}
#campaign2017_main .mainvisual,
#campaign2017_main .mainvisual img {
	width: 100%;
}
#campaign2017_main .mainvisual {
}
#campaign2017_main .howtoapply {
	position: absolute;
	width: 90.35%;	/* 618 / 684 */
	top: 736px;
	left: 4.82%;
	line-height: 1.2;
}
#campaign2017_main .howtoapply,
#campaign2017_main .howtoapply a {
	color: white;
}
#campaign2017_main .howtoapply a {
	text-decoration: underline;
}
#campaign2017_main .howtoapply h2 {
	background: none;
	margin-bottom: 13px;
	padding: 0;
	text-align: center;
}
#campaign2017_main .howtoapply h2 img {
	width: 100%;
}
#campaign2017_main .howtoapply h3 {
	background: none;
	border: 0;
	float: left;
	min-height: 0px;
	margin: 0 0.4em 0 0;
	padding: 0;
	line-height: inherit;
	color: yellow;
	font-size: 100%;
	font-weight: normal;
}
#campaign2017_main .howtoapply p {
	margin-bottom: 0.5em;
	font-size: 100%;
}
#campaign2017_main .howtoapply .postcard {
	font-size: 80%;
}
#campaign2017_main .howtoapply .postcard h3 {
	min-height: 5em;
	margin-right: 1em;
}


/* =Responsive Structure
----------------------------------------------- */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
	body {
		padding: 0;
	}
	#page {
		margin-top: 0;
	}
	#branding {
		border-top: none;
	}

}


/* =Print
----------------------------------------------- */

@media print {
	footer.entry-meta a[rel=bookmark]:link:after,
	footer.entry-meta a[rel=bookmark]:visited:after {
		content: " [" attr(href) "] "; /* Show URLs */
	}
	.singular #content {
		margin: 0;
		width: 100%;
	}
	.singular .entry-header .entry-meta {
		position: static;
	}
	.entry-meta .edit-link a {
		display: none;
	}
	#content nav {
		display: none;
	}
	.singular .entry-header,
	.singular .entry-content,
	.singular footer.entry-meta,
	.singular #comments-title {
		margin: 0;
		width: 100%;
	}
	.singular .hentry {
		padding: 0;
	}
	.entry-meta {
		font-size: 10pt;
	}
	.entry-header .comments-link {
		display: none;
	}
	.page-link {
		display: none;
	}
	.singular #author-info {
		background: none;
		border-bottom: none;
		border-top: none;
		margin: 2.2em 0 0;
		padding: 0;
	}
	#respond {
		display: none;
	}

	/* Comments */
	.commentlist > li.comment {
		background: none;
		border: 1px solid #ddd;
		-moz-border-radius: 3px 3px 3px 3px;
		border-radius: 3px 3px 3px 3px;
		margin: 0 auto 1.625em;
		padding: 1.625em;
		position: relative;
		width: auto;
	}
	.commentlist .avatar {
		height: 39px;
		left: 2.2em;
		top: 2.2em;
		width: 39px;
	}
	.commentlist li.comment .comment-meta {
		line-height: 1.625em;
		margin-left: 50px;
	}
	.commentlist li.comment .fn {
		display: block;
	}
	.commentlist li.comment .comment-content {
		margin: 1.625em 0 0;
	}
	.commentlist .comment-edit-link {
		display: none;
	}
	.commentlist > li::before,
	.commentlist > li.bypostauthor::before {
		content: '';
	}
	.commentlist .reply {
		display: none;
	}

	/* Post author highlighting */
	.commentlist > li.bypostauthor {
		color: #444;
	}
	.commentlist > li.bypostauthor .comment-meta {
		color: #666;
	}
	.commentlist > li.bypostauthor:before {
		content: none;
	}

	/* Post Author threaded comments */
	.commentlist .children > li.bypostauthor {
		background: #fff;
		border-color: #ddd;
	}
	.commentlist .children > li.bypostauthor > article,
	.commentlist .children > li.bypostauthor > article .comment-meta {
		color: #666;
	}

	/* MTL KAZ: added */
	/* #top_panels, 
		min-height: 652px; */
	#yado_panelblock #yado_panels, #yado_details {
		overflow: auto !important;
		height: auto !important;
		min-height: 860px;
	}

}
