/*
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.47
Author: Azim Hikmatov
Author URI: http://dreamless.pw
*/

/* BASIC STUFF */
body {
	background-image: url("img/bg.gif");
	background-attachment: fixed;
}
mark {
	background-color: #fff3bc;
}
.container {
	background-color: #ffffff;
	box-shadow: 0 0 6px 2px #666666;
}
/* header */
.header-image {
	background-color: #ffffff;
	background-position: left top;
	background-repeat: no-repeat;
	background-size: cover;
	max-width: 100%;
	padding-bottom: 21%;
	position: relative;
}
.header-link {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	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;
	overflow-wrap: anywhere;
}
h1.entry__title {
	text-shadow: 2px 2px 0px #FFFFFF, -2px -2px 0px #FFFFFF, 3px 3px 1px #999999;
}
.entry__title a,
.entry__title a:hover {
	border-bottom: 2px solid #683d27;
	color: #683d27;
}
.entry__title a:focus-visible {
	box-shadow: 0 0 3px 3px #683d27;
	border-bottom: none;
	outline: none;
}
.archive-title {
	text-align: right;
}
.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:hover,
.entry__content a:focus {
	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;
}
.comment-meta a, .comment-edit-link, .post-edit-link {
	text-decoration: underline;
}
.comment-meta a {
	color: #999999;
}
.entry__meta {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 80%;
	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;
	display: block;
	height: 27px;
	margin: 0 0 1.6rem 0;
	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 {
	box-shadow: 0 0 0 1px #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;
}
.more-link {
	background-color: #3858e9;
	border-radius: 4px;
	color: #ffffff;
	padding: 1rem;
}
.more-link:active,
.more-link:focus,
.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^="https://www.facebook.com"],
a[href^="https://facebook.com"],
a[href^="https://www.livejournal.com"],
a[href^="https://livejournal.com"],
a[href^="https://www.t.me"],
a[href^="https://t.me"],
a[href^="https://www.odnoklassniki.ru"],
a[href^="https://odnoklassniki.ru"],
a[href^="https://www.ok.ru"],
a[href^="https://ok.ru"],
a[href^="https://www.instagram.com"],
a[href^="https://instagram.com"]  {
	background-position: center left;
	background-repeat: no-repeat;
	background-size: 22px;
}
a[href^="https://www.facebook.com"],
a[href^="https://facebook.com"] {
	background-image: url("img/facebook.svg");
	padding: 0 0 0 22px;
}
a[href^="https://www.t.me"],
a[href^="https://t.me"] {
	background-image: url("img/telegram.svg");
	padding: 0 0 0 22px;
}
a[href^="https://www.instagram.com"],
a[href^="https://instagram.com"] {
	background-image: url("img/instagram.svg");
	padding: 0 0 0 22px;
}
a[href^="https://www.ok.ru"],
a[href^="https://ok.ru"] {
	background-image: url("img/ok.svg");
	padding: 0 0 0 26px;
}
a[href^="https://ru.wikipedia.org"] {
	background: url("img/wiki.svg") 0 50% no-repeat;
	background-size: 22px;
	padding-left: 22px;
}
a[href$=".pdf"] { 
	background: url("img/pdf.svg") 0 50% no-repeat;
	background-size: 22px;
	padding-left: 22px;
}
/* CATEGORY FLAGS */
.entry__tags a,
.category-flags a {
	display: inline-block;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 16px;
}
.category-flags a {
	background: url("img/flags.png") no-repeat;
	border-bottom: none;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
	font-style: normal;
	line-height: 16px;
	height: 18px;
	padding: 0 10px 0 6px;
	text-shadow: none;
	vertical-align: top;
}
.category-flags a:hover {
	border-bottom: none;
}
.category-flags a:focus {
	outline: none;
}
a.art, a.tashkent-people {
	background-position: 100% 0px;
	color: #5C7F95 !important;
}
a.art:focus, a.tashkent-people:focus  {
	box-shadow: 0 0 .25rem .25rem #5C7F95;
}
a.announce, a.balamut-sandbox {
	background-position: 100% -25px;
	color: #AAAAAA !important;
}
a.announce:focus, a.balamut-sandbox:focus {
	box-shadow: 0 0 .25rem .25rem #AAAAAA;
}
a.photos, a.history {
	background-position: 100% -51px;
	color: #728449 !important;
}
a.photos:focus, a.history:focus {
	box-shadow: 0 0 .25rem .25rem #728449;
}
a.old-photos, a.video {
	background-position: 100% -77px;
	color: #8C896B !important;
}
a.old-photos:focus, a.video:focus {
	box-shadow: 0 0 .25rem .25rem #8C896B;
}
a.misc, a.service {
	background-position: 100% -103px;
	color: #BB698F !important;
}
a.misc:focus, a.service:focus {
	box-shadow: 0 0 .25rem .25rem #BB698F;
}
/* TAGS  */
.entry__tags {
	margin-bottom: 1.6rem;
}
.entry__tags a {
	background-color: #ea6100;
	border-radius: 4px;
	color: #ffffff;
	padding: 0 20px 0 24px;
	position: relative;
	margin: 0 .5rem .5rem 0;
	-webkit-transition: color 0.25s;
	-moz-transition: color 0.25s;
	transition: color 0.25s;
}
.entry__tags a::before {
	background-color: #ffffff;
	box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
	border-radius: 1rem;
	content: "";
	height: 6px;
	width: 6px;
	position: absolute;
	top: 10px;
	left: 10px;
}
.entry__tags a:focus {
	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;
}
/* Galleries */
.gallery-item {
	display: inline-block;
	margin: 0 0 1.6rem;
	padding: 0 1.6rem 0 0;
	text-align: left;
	vertical-align: top;
	width: 50%;
}
.gallery-columns-1 .gallery-item {
	width: 100%;
}
.gallery-columns-2 .gallery-item {
	max-width: 50%;
}
.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}
.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}
.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 .5rem 0 0;
	margin-bottom: 0;
}
/* COMMENTS */
#comments {
	clear: both;
}
#comments-title, #reply-title {
	font-size: 2.4rem;
	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% 34px;
	resize: vertical;
}
.comment-form-cookies-consent label {
	font-weight: initial;
	display: initial;
}
/* SIDEBAR */
#sidebar,
.site-footer {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1.75rem;
}
.list-unstyled li {
	margin-bottom: .5rem;
	overflow-wrap: break-word;
}
/* FOOTER */
.footer-grass {
	background: url("img/home-footer-grass.jpg") bottom left repeat-x;
	border-top: 1px solid #cccccc;
}
/* custom scrollbar */
::-webkit-scrollbar {
	width: 20px;
}
::-webkit-scrollbar-track {
	background-color: transparent;
}
::-webkit-scrollbar-thumb {
	background-clip: content-box;
	background-color: #d6dee1;
	border: 6px solid transparent;
	border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover {
	background-color: #a8bbbf;
}

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

/* dark theme switch */
.theme-switch {
	display: inline-block;
	vertical-align: middle;
}
.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;
}