/*
Theme Name: MyTashkent Bootstrap (2022)
Theme URI: http://mytashkent.uz
Description: A mobile-friendly, responsive vesrion of MyTashkent theme developed in 2015, based on Bootstrap.
Version: 3.53
Author: Azim Hikmatov
Author URI: http://dreamless.pw
*/

/* BASIC STUFF */
body {
	background-image: url("img/bg.png");
	background-attachment: fixed;
	background-position: center;
}
mark {
	background-color: #fff3bc;
}
.container {
	background-color: #ffffff;
	box-shadow: 0 0 6px 2px #666666;
}
/* HEADER */
.header-banner__img {
	vertical-align: initial;
	object-fit: cover;
	width: 1170px;
	height: auto;
	max-width: 100%;
}
.top-bar,
.site-footer {
	padding: 1.6rem 0;
}
/* MAIN */
.entry__content,
.post,
.type-page {
	clear: both;
}
.entry__header {
	display: flex;
}
.entry__title {
	font-style: italic;
	hyphens: auto;
	overflow-wrap: break-word;
	text-wrap: balance;
}
h1.entry__title {
	text-shadow: 2px 2px 0px #FFFFFF, -2px -2px 0px #FFFFFF, 3px 3px 1px #999999;
}
.entry__title a,
.entry__title a:hover {
	color: #683D27;
}
.archive-title {
	text-align: right;
}
.new-article {
	font-size: .5em;
}
.entry__meta,
.entry__content h4 {
	border-bottom: 1px dashed #000000;
}
.entry__content h5 {
	border-bottom: 1px solid #000000;
}
.entry__content a {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #3858E9;
}
.entry__content a:focus,
.entry__content a:hover {
	border-bottom-color: #132EA8;
}
.entry__content a.has-popover {
	background-color: #D9EDf7;
	border-width: 1px;
	border-style: dashed;
	border-color: #3858E9;
	border-radius: 4px;
	padding: 0 4px;
}
.entry__content a.has-popover:hover {
	border-color: #132EA8;
}
.entry__content a.has-popover:focus {
	box-shadow: 0px 0 1px 1px #FFFFFF, 0 0 1px 4px #D9EDF7;
	outline: none;
}
.popover-content {
	font-size: 85%;
}
.entry__content a.has-tooltip {
	border-bottom-style: dashed;
}
.comment-meta a,
.comment-edit-link,
.post-edit-link {
	text-decoration: underline;
}
.comment-meta a {
	color: #999999;
}
.entry__meta {
	font-family: system-ui, sans-serif;
	font-size: 70%;
	margin-bottom: 1.6rem;
	padding-bottom: 1.6rem;
	width: 100%;
}
.post-views {
	display: inline-block;
}
.post-divider {
	background: url("img/postdiv.png") bottom center no-repeat;
	clear: both;
	height: 27px;
	width: 100%;
}
.post-comm {
	align-self: center;
	background: url("img/comment-bubble.png") center top no-repeat;
	height: 48px;
	margin-left: auto;
	position: relative;
	text-align: center;
	min-width: 48px;
}
.post-comm a {
	display: block;
	font-weight: bold;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
.post-comm a:focus-visible {
	box-shadow: 0 0 0 2px #3858E9;
	outline: none;
}
.wp-caption {
	max-width: 100%; /* Keep wide captions from overflowing their container. */
	padding: 4px;
}
.wp-caption-text,
.gallery-caption,
.entry-caption {
	font-style: italic;
	margin-bottom: 0;
}
.more-link {
	background-color: #3858E9;
	border-radius: 4px;
	color: #FFFFFF;
	padding: 1rem;
}
.more-link:active,
.more-link:focus-visible,
.more-link:hover {
	animation: pulse 1s;
	box-shadow: 0 0 0 .75em rgb(255 255 255 / 0%);
	color: #FFFFFF;
	outline: none;
}
@keyframes pulse {
	0% { box-shadow: 0 0 0 0 #3858E9; }
}
q {
	font-style: italic;
}
a[href$=".pdf"] { 
	background: url("img/pdf.svg") 0 50% no-repeat;
	background-size: 22px;
	padding-left: 22px;
}
/* CATEGORY FLAGS */
.category-flags a {
	font-family: system-ui, sans-serif;
	font-size: 1.6rem;
}
.category-flags a {
	background-image: url("img/flags.png");
	background-repeat: no-repeat;
	border-bottom: none;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
	display: inline-block;
	font-style: normal;
	line-height: 1.6rem;
	height: 18px;
	padding: 0 1rem 0 0.6rem;
	text-shadow: none;
	vertical-align: top;
}
a.art,
a.tashkent-people {
	background-position: 100% 0;
	color: #5C7F95 !important;
}
a.art:focus-visible,
a.tashkent-people:focus-visible {
	box-shadow: 0 0 1px 1px #ffffff, 0 0 1px 4px #5C7F95;
	outline: none;
}
a.announce,
a.balamut-sandbox {
	background-position: 100% -25px;
	color: #AAAAAA !important;
}
a.announce:focus-visible,
a.balamut-sandbox:focus-visible {
	box-shadow: 0 0 1px 1px #ffffff, 0 0 1px 4px #AAAAAA;
	outline: none;
}
a.photos,
a.history {
	background-position: 100% -51px;
	color: #728449 !important;
}
a.photos:focus-visible,
a.history:focus-visible {
	box-shadow: 0 0 1px 1px #ffffff, 0 0 1px 4px #728449;
	outline: none;
}
a.old-photos,
a.video {
	background-position: 100% -77px;
	color: #8C896B !important;
}
a.old-photos:focus-visible,
a.video:focus-visible {
	box-shadow: 0 0 1px 1px #ffffff, 0 0 1px 4px #8C896B;
	outline: none;
}
a.misc,
a.service {
	background-position: 100% -103px;
	color: #BB698F !important;
}
a.misc:focus-visible,
a.service:focus-visible {
	box-shadow: 0 0 1px 1px #ffffff, 0 0 1px 4px #BB698F;
	outline: none;
}

/* TAGS  */
.entry__tags {
	margin-bottom: 1.6rem;
}
.entry__tags a {
	background-color: #EA6100;
	border-radius: 4px;
	color: #ffffff;
	display: inline-block;
	padding: 0 2rem;
	margin-bottom: 0.5rem;
	white-space: nowrap;
}
.entry__tags a:focus-visible {
	box-shadow: 0 0 1px 1px #FFFFFF, 0 0 1px 4px #EA6100;
	outline: none;
}

/* IMAGES */
.alignleft {
	float: left;
}
.alignright {
	float: right;
}
.aligncenter {
	display: block;
	margin: 0 auto;
}
img.alignleft,
.wp-caption.alignleft {
	margin: 0 1.6rem 0 0;
}
img.alignright,
.wp-caption.alignright {
	margin: 0 0 0 1.6rem;
}
img.aligncenter {
	margin: 0 auto;
}
img.alignnone {
	margin: 0;
}
img.wp-smiley,
.rsswidget img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
}
.wp-caption.alignleft + ul,
.wp-caption.alignleft + ol  {
	list-style-position: inside;
}
figure {
	margin-bottom: 2rem;
}
/* COMMENTS */
.input-group {
	margin-bottom: 2rem;
}
#comments {
	clear: both;
}
#comments-title,
#reply-title {
	font-weight: bold;
	font-size: 2.5rem;
	text-align: center;
}
.commentlist,
.children,
.pinglist {
	list-style-type: none;
	padding: 0;
}
li.comment,
li.trackback,
li.pingback {
	border-width: 1px;
	border-style: solid;
	border-color: #F0AD4E;
	border-radius: 4px;
	margin-bottom: 1.6rem;
	overflow: hidden;
	overflow-wrap: break-word;
	padding: 1.6rem;
}
li.comment-author-chilanzar {
	border-color: #CC0000;
}
li.comment-author-azim {
	border-color: #990000;
}
li.comment-author-b_a_lamut {
	border-color: #660000;
}
.comment-body img {
	max-width: 100%;
	height: auto;
}
.avatar {
	border-radius: 4px;
}
.comment-notes {
	margin: .5rem 0;
	text-align: center;
}
#wp-comment-wrap {
	clear: both;
}
.required {
	color: #cc0000;
}
cite.fn {
	font-weight: bold;
}
.subscribe-to-comments,
.solo-subscribe-to-comments {
	margin-left: 2rem;
}
.comment_quote_link,
.reply,
#cancel-comment-reply-link {
	font-size: 1.5rem;
}
.reply,
#cancel-comment-reply-link {
	clear: both;
	margin: 4px 0;
}
.comments-textarea {
	background-attachment: local;
	background-clip: content-box;
	background-image: linear-gradient(rgba(0,0,0,.1) 1px,transparent 0);
	background-position: 0 0;
	background-repeat: repeat-y;
	background-size: 100% 36px;
	resize: vertical;
}
.comment-form-cookies-consent label {
	font-weight: initial;
	display: initial;
}
/* SIDEBAR */
#sidebar,
.site-footer {
	font-family: system-ui, sans-serif;
	font-size: 2rem;
}
#sidebar a:focus-visible,
.site-footer a:focus-visible {
	box-shadow: 0 0 0 2px #132EA8;
	outline: none;
}
.list-unstyled li {
	margin-bottom: .5rem;
	overflow-wrap: break-word;
}
/* FOOTER */
.footer-grass {
	background: url("img/home-footer-grass.png") bottom left repeat-x;
	border-top: 1px solid #CCCCCC;
}

/* dark theme switch */
.theme-switch {
	display: inline-block;
}
.theme-switch:focus-within {
	border-radius: 4px;
	outline: 2px solid #000066;
	padding: 6px 6px 2px 6px;
}
.theme-switch__check {
	opacity: 0;
	position: absolute;
	z-index: -1;
}
.theme-switch__label ~ .theme-switch__check:focus {
	box-shadow: 0 0 2px 2px rgb(13 110 253 / 50%);
	outline: 0;
}
.theme-switch__label {
	align-items: center;
	background-color: #000066;
	border-radius: 50px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	padding: 4px;
	position: relative;
	transform: scale(1.25);
	width: 4.8rem;
	height: 2.4rem;
}
.theme-switch__ball {
	width: 2rem;
	height: 2rem;
	background-color: #FFFFFF;
	border-radius: 50%;
	position: absolute;
	transition: transform 0.25s linear;
	top: 2px;
	left: 2px;
}
/*  target the elemenent after the label */
.theme-switch__check:checked + .theme-switch__label .theme-switch__ball{
	transform: translateX(24px);
}
.theme-switch__moon, .theme-switch__sun {
	color: #FFFF00;
	font-size: 1.6rem;
	top: 0;
}

/* DARK THEME */
body[data-theme="dark"] {
	background-image: url("img/bg-dark.png");
}
body[data-theme="dark"] .container,
body[data-theme="dark"] .panel-body {
	background-color: #000000;
	color: #ffffff;		
}
body[data-theme="dark"] h1.entry__title {
	text-shadow: none;
}
body[data-theme="dark"] .entry__meta,
body[data-theme="dark"] .entry__content h4 {
	border-bottom: 1px dashed #ffffff;
}
body[data-theme="dark"] .entry__content h5 {
	border-bottom: 1px solid #ffffff;
}
body[data-theme="dark"] .panel-footer {
	color: initial;
}
body[data-theme="dark"] .footer-grass {
	background: none;
}
body[data-theme="dark"] .theme-switch:focus-within {
	outline: 2px solid #ffffff;
}