/*
Theme Name:       XS Theme
Theme URI: 
Author:           Iurié Malài
Author URI: 
Description:      XS Theme is a truly minimalist WordPress theme.
Version:          0.0.1
Tested up to:     6.2
Requires PHP:     8.1
License:          GNU General Public License v2 or later
Text Domain:      xs-theme
License URI:      https://www.gnu.org/licenses/gpl-2.0.html
Tags:             one-column, custom-menu, editor-style, featured-images, full-width-template, threaded-comments, translation-ready, blog
GitHub Theme URI: 

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Structure
# Header
# Primary Nav
# Content
	## Posts and Pages
	## Comments
# Footer
# Infinite Scroll
# Media
	## Captions
	## Galleries
# Responsive
--------------------------------------------------------------*/

* {
	/*outline: thin dotted;*/
	/*outline-color: #ffffff;*/
}

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

body {
	color: #2f2f2f;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	overflow-wrap: break-word;
}

nav,
label,
input {
	/*font-size: 14px*/
}

h1,
h2,
h3,
h4,
h5,
h6 {
	line-height: 1.25;
	color: #060606;
}

p {
	margin: 0 0 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

.html-icon {
	min-width: 20px;
}

.html-icon.envelope {
	font-size: 1.5em;
}

.required, 
.important {
	color: red;
}

.emphasized {
	border-bottom-color: peru;
	border-bottom-style: solid;
	border-bottom-width: 1px;
}

.wp-error {
	color: red;
}

.wp-message {
	background: gold;
	color: blue;
}

.wp-error p, .wp-message p {
	margin: 0px;
}

.wp-error, .wp-message {
	padding: 1rem;
	text-align: center;
}

.wp-error ul, .wp-message ul {
	list-style: none;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background-color: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

.widget ul,
.widget ol {
	margin: 0;
	padding: 0 0 0 1em
}

.comments-area ol {
	list-style: none;
	padding: 0
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
	vertical-align: middle;
}

figure {
	margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
	font-family: sans-serif;
	margin: 0 0 1.5em;
	width: 100%;
	font-size: 14px;
}

table th {
	border-bottom: 2px solid;
	padding: 10px;
	text-align: left
}

table td {
	padding: 10px 10px 0;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

label {
	/*font-size: 14px;*/
	/*color: #9e9e9e;*/
}

.button {
	text-decoration: none;
}

.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background-color: #e6e6e6;
	padding: 8px;
	cursor: pointer;
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

.button:focus,
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 8px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

textarea {
	width: 100%;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
	color: #9e9e9e;
	/*font-size: 14px;*/
	/*font-size: 0.875em;*/
	opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color: #9e9e9e;
	/*font-size: 14px;*/
	/*font-size: 0.875em;*/
}

::-ms-input-placeholder { /* Microsoft Edge */
	color: #9e9e9e;
	/*font-size: 14px;*/
	/*font-size: 0.875em;*/
}

.transparent-button {
    background-color: transparent;
	border: none;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/

a {
	color: #253e80;
}

a:hover,
a:focus,
a:active {
	color: #3767b3;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.is-layout-flex {
	display: flex;
}

.is-layout-flex:not(#site-content) {
	align-items: center;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Structure
--------------------------------------------------------------*/

.wrapper {
	/*max-width: 1000px;*/
	margin-left: auto;
	margin-right: auto;
	padding: 0px 1rem;
}

#site-content {
	flex-wrap: wrap;
	margin-top: 3rem;
	margin-bottom: 1.5rem;
}

#site-content .title {
	flex-basis: 100%;
	font-size: 20px;
	font-size: 1.25em;
	text-align: center;
	margin: -1rem 0rem 1.5rem;
}

#site-main {
	/*width: 100%;*/
	flex: 1;
}

.site-main, .sidebar {
	/*border: 1px solid #ccc;*/
	/*border-radius: 3px;*/
	/*padding: 0.5rem;*/
}

.sidebar {
	/*min-width: 200px;*/
	flex-basis: 200px;
}

#left-sidebar {
	margin-right: 2rem;
}

#right-sidebar {
	margin-left: 2rem;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.site-header {
	border-bottom: 1px solid #000000;
	width: 100%;
}

/* top bar / login menu */

.top-bar {
	position: relative;
	background-color: #2F4F4F; /*darkslategrey*/
	color: white;
	padding: 2px 10px;
	z-index: 3;
}

.login-menu {
	display: flex;
	justify-content: end;
	position: relative;
}

.logged-in-menu {
	padding: 0px;
	margin: 0px;
}

.user-menu {
	list-style: none;
}

.user-menu .user-icon {
	fill: #C0C0C0; /*silver*/
}

.user-name {
	display: flex;
	align-items: baseline;
	column-gap: 5px;
	cursor: pointer;
}

.user-name:hover, 
.logged-in-menu[aria-expanded="true"] .user-name {
	color: #00BFFF; /*deepskyblue;*/
}

.user-name:hover svg, 
.logged-in-menu[aria-expanded="true"] svg {
	fill: #00BFFF; /*deepskyblue;*/
}

.user-actions {
	position: absolute;
	top: 100%;
	right: -10px;
	list-style: none;
	min-width: 140px;
	padding: 0px;
	text-align: left;
	margin: 0px;
	background-color: #2F4F4F; /*darkslategrey*/
	box-shadow: -5px 5px 5px rgba(0, 0, 0, 0.5);
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s, visibility 0.5s;
}

.logged-in-menu[aria-expanded="true"] .user-actions {
	opacity: 1;
	visibility: visible;
}

.user-actions a {
	display: block;
	padding: 10px 10px 10px 20px;
	color: #FFFFFF;
	text-decoration: none;
}

.user-actions a:hover {
	background-color: #5A8282; /*darkslategrey - 10%*/
}

/* end login menu */

.site-header > .wrapper {
	flex-wrap: wrap;
	/*justify-content: space-between;*/
	padding-top: 1.125rem;
	padding-bottom: 0.75rem;
}

.site-title {
	font-size: 28px;
	font-size: 1.75em;
	font-weight: bold;
	margin: 0;
	line-height: 1;
}

.site-title a {
	text-shadow: -2px 2px 2px rgba(0, 0, 0, 0.3);
}

.site-title a:not(:hover) {
	text-decoration: none;
	color: #2d2e33;
}

.site-description {
	margin: 0px;
	font-size: 14px;
	font-size: 0.875em;
	opacity: 0.75;
}


/*--------------------------------------------------------------
# Primary Nav
--------------------------------------------------------------*/

.site-menu {
	/*order: 3;*/
	margin: auto 1rem auto auto;
}

#menu-toggle {
	display: none;
}

#primary-menu {
	list-style: none;
	padding-left: 0px;
	margin: 0px;
	white-space: nowrap;
}

#primary-menu a {
	display: block;
	padding: 10px;
	font-size: 14px;
	font-size: 0.875em;
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 0.2s ease-in-out;
}

#primary-menu a:hover {
	color: #008B8B;
}

#primary-menu .current-menu-item a,
#primary-menu .current_page_item a {
	color: #6495ED;
	pointer-events: none;
}


/* Search form */

#search-toggle {
	/*margin: auto 1rem auto auto;*/
}

#search-toggle .close-search, 
#search-toggle[aria-expanded="true"] .toggle-search {
	display: none;
}

#search-toggle .toggle-search, 
#search-toggle[aria-expanded="true"] .close-search {
	display: inline-block;
}

#site-search {
	flex-basis: 100%;
	max-height: 0px;
	margin: 0px;
	opacity: 0;
	visibility: hidden;
	transition: max-height 1s, margin 1s, opacity 0.75s, visibility 0.75s;
	/*order: 4;*/
}

#site-search .search-form {
	flex-wrap: wrap;
	column-gap: 5px;
	justify-content: center;
}

#site-search .search-form-title {
	flex-basis: 100%;
	text-align: center;
}

#site-search .search-field {
	padding: 5px 9px;
	width: 65%;
	max-width: 350px;
}

#site-search .search-submit {
	padding: 5px 18px;
}

#search-toggle[aria-expanded="true"] + #site-search {
	max-height: 1000px;
	margin: 0.75rem 0px;
	opacity: 1;
	visibility: visible;
}


/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

body.single .post-thumbnail {
	margin-top: 1rem;
}

.post-thumbnail, 
.entry-header.front-post {
	/*margin-bottom: 8px;*/
}

.post-thumbnail img {
	border-radius: 5px;
}

.post-thumbnail .full-size {
	width: 100%;
}

.entry-header:not(.front-post) {
	margin-bottom: 32px
}

.entry-header.front-post .entry-title {
	/*line-height: 22px;*/
}

.home .entry-title, 
.archive .entry-title {
	margin: 0px 0px 5px;
}

.front-post .entry-title {
	font-size: 18px;
	font-size: 1.125em;
}

.entry-title a {
	text-decoration: none;
	color: #060606;
}

.entry-title a:hover {
	color: #3767b3;
}

.entry-meta {
	font-size: 14px;
	font-size: 0.875em;
}

.entry-meta .byline svg {
	margin-bottom: -1px;
	fill: darkgoldenrod;
}

.front-post .entry-meta {
	font-size: 12px;
	font-size: 0.75em;
}

.entry-summary {
	line-height: 1.25;
	margin-top: 7px;
}

.entry-summary p {
	margin: 0px;
}

.more-link {
	text-decoration: none;
}

.front-post .more-link:not(:hover) {
	color: #000000;
}

/*--------------------------------------------------------------
## Posts and Pages
--------------------------------------------------------------*/

body:not(.single) article {
	border-bottom: 1px solid #f3f3f3;
	/*margin-bottom: 8px;*/
}

body:not(.single) article.has-post-thumbnail {
	display: grid;
	grid-auto-flow: column;
	grid-column-gap: 0.5rem;
	grid-template-areas: "A B";
	grid-template-columns: max-content;
}

body:not(.single) article:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.pagination {
	border-top: 1px solid #f3f3f3;
	padding-top: 34px;
	padding-bottom: 34px;
	column-gap: 1px;
	justify-content: center;
}

.page-numbers {
	border: 0.75px solid rgba(0,0,0,.2);
	padding: 8px 10px;
	border-radius: 3px;
}

.page-numbers.dots {
	padding: 8px 6px;
}

.page-numbers.current,
.page-numbers:hover {
	background-color: royalblue;
	color: white;
	text-decoration: none;
}

.page-numbers:not(.current):hover {
	background-color: blue;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/

.comments-area {
	padding-top: 25px;
  border-top: 1px solid #eaeaea;
  margin-top: 25px;
}

.comments-area .comment-body {
	border-bottom: 1px solid #e4e4e4;
	padding-bottom: 20px;
	margin-bottom: 20px;
}

.comments-area ul.children {
	margin: 0 0 0 25px;
	padding: 0;
	list-style: none;
}

.comments-area .children .comment-body  {
	padding: 0 0 25px 0;
	margin: 25px 0;
}

.comment-content a {
	word-wrap: break-word;
}

.byline {
	display: inline-block;
}

.comment-meta {
	margin-bottom: 16px
}

.comment-meta a {
	text-decoration: none
}
.comment-author a {
	color: #303135;
	text-decoration: none;
	font-weight: bold;
}

.comment-author img {
	display: none
}

.comment-author cite {
	font-style: normal;
	color: #303135;
	font-weight: bold
}

.comment-metadata a {
	color: gray;
	font-size: 14px;

}

.logged-in-as a {
	text-decoration: none;
	color: gray;
	font-size: 14px
}

.comment-reply-link {
	text-decoration: none
}

#cancel-comment-reply-link {
	text-decoration: none;
	color: #bb0404;
	font-weight: normal;
	font-style: italic;
}

.comment-respond input {
	width: 100%;
}

.comment-form-author {
	width: 47.5%;
	margin-right: 5%;
}
.comment-form-email {
	width: 47.5%;
}

.comment-reply-title {
	margin: 50px 0 5px 0;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.site-footer {
	border-top: 1px solid #eaeaea;
	font-size: 14px;
	font-size: 0.875em;
	padding: 2rem 0rem;
	text-align: center;
}

.site-footer p {
	margin: 0px;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

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

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/

.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
	font-size: 14px
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/

.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Archives Template
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media screen and (max-width: 800px) {

	#right-sidebar {
		display: none;
	}


	#site-content {
		/*flex-wrap: wrap;*/
		margin-top: 0rem;
	}

	#site-content .title {
		font-size: 18px;
		font-size: 1.125em;
		margin: 0.5rem 0rem -0.875rem;
	}

	#left-sidebar {
		flex-basis: 100%;
		margin: 0rem 0rem 0rem auto;
		/*position: relative;*/
	}

}

@media screen and (max-width: 640px) {

	body.no-scrolling {
		overflow: hidden;
	}

	.site-branding {
		z-index: 3;
	}

	.site-title {
		font-size: 24px;
		font-size: 1.5em;
	}

	.site-description {
		font-size: 12px;
		font-size: 0.75em;
	}

	.site-menu {
		order: 3;
		margin: unset;
	}

	#site-search {
		order: 4;
	}

	#search-toggle {
		margin: auto 0.5rem auto auto;
	}

	/* toggle menu effect */

	#menu-toggle {
		display: block;
		position: relative;
		cursor: pointer;
		padding: 10px;
		font-size: 16px;
		z-index: 2;
	}

	#primary-menu {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		width: 50%;
		min-width: 240px;
		height: 100vh;
		padding: 9rem 1rem 1rem 1.5rem;

		transition: transform 0.3s ease-in-out;
		transform: translateX(-100%);

		/*transition: opacity 0.5s, visibility 0.5s;*/
		/*opacity: 0;*/
		/*visibility: hidden;*/

		overflow-y: auto;
		background: whitesmoke;
	}

	#primary-menu li {
		/*margin-bottom: 10px;*/
	}

	#primary-menu li:last-child {
		margin-bottom: 0;
	}

	#menu-toggle .close-icon, 
	#site-navigation[aria-expanded="true"] .toggle-icon {
		display: none;
	}

	#site-navigation[aria-expanded="true"] .close-icon {
		display: inline-block;
	}

	#site-navigation[aria-expanded="true"] #primary-menu {
		transform: translateX(0);
		box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
		/*display: block;*/
		/*opacity: 1;*/
		/*visibility: visible;*/
		/*transition: opacity 0.5s, visibility 0.5s;*/
		z-index: 2;
	}

	.fixed-footer {
		position: fixed;
		bottom: 0;
		border: none;
		padding: 1rem 0;
		width: 50%;
		min-width: 240px;
		z-index: 2;
	}

	/* end toggle menu effect */

	.blog article.has-post-thumbnail {
		grid-template-columns: 1fr 2fr;
	}

	body:not(.single) .post-thumbnail img {
		max-width: 144px;
	}

	#site-content .title {
		text-align: initial;
	}

	.entry-header.front-post .entry-title {
		/*line-height: 18px;*/
	}

	.front-post .entry-title, 
	.entry-summary {
		font-size: 14px;
		font-size: 0.875em;
	}

}

@media screen and (max-width: 480px) {

	.blog article {
		margin-bottom: 8px;
		/*padding-bottom: 8px;*/
	}

	.entry-header.front-post {
		margin: auto 0px;
	}

	body:not(.single) .post-thumbnail img {
		max-width: 110px;
	}

	.entry-summary {
		display: none;
	}

}
