/*!*
 * Theme Name: Whitewash Philip Petrov
 * Theme URI: https://www.cphpvb.net/
 * Author: Philip Petrov
 * Author URI: https://www.cphpvb.net/
 * Description: Highly modified theme based on WhiteWash
 * Version: 4.2
 */
@font-face {
    font-family: 'Veleka';
	src: url('./fonts/Veleka-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
	font-display: swap;
}
@font-face {
    font-family: 'Veleka';
	src: url('./fonts/Veleka-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
	font-display: swap;
}
@font-face {
    font-family: 'Veleka';
	src: url('./fonts/Veleka-Italic.woff2') format('woff2');
    font-weight: normal;
    font-style: italic;
	font-display: swap;
}
@font-face {
    font-family: 'Veleka';
	src: url('./fonts/Veleka-BoldItalic.woff2') format('woff2');
    font-weight: bold;
    font-style: italic;
	font-display: swap;
}
body, input, textarea {
    background-color: #fffafa;
    font-family: 'Veleka', sans-serif;
    font-size: 12pt;
    line-height: 14pt;
	margin: 0;
	padding: 0;
}
.aside {
	color: #000;
	grid-area: aside;
	border-left: 1px solid #bbb;
}
.aside ul {
    padding: 5px;
	list-style-type: none;
}
.aside li {
    padding: 0px;
}
.aside h2 {
    font-size: 14pt;
}
.nav {
	grid-area: nav;
	border-bottom: 1px solid #bbb;
	text-align: right;
}
.copyright{
  float:right;
}
.rssatom{
  float:left;
}
.nav ul {
    margin: 0;
}
.nav li {
    display: inline;
}
.nav a {
    font-size: 12pt;
    margin: 6px 4px 6px 2px;
    padding: 1px 10px;
}
.search:not(body) {
    margin-top: 30px;
}
.search:not(body) #s {
    background: none;
    border: none;
    width: 90%;
}
.search #x,
.search br{
   display:none;
}

.article {
	grid-area: article;
}
.content .showtags {
    border-bottom: 1px solid #bbb;
    border-top: 1px dashed #bbb;
    line-height: 16pt;
    padding-left: 5px;
}
.header {
	grid-area: header;
    height: 80px;
}
.footer {
    grid-area: footer;
    border-top: 1px solid #bbb;
    font-size: 10pt;
    padding: 0 0 10px;
    text-align: center;
}
.wrapper {
	display: grid;
	grid-gap: 0;
	grid-template-columns: 80% 20%;
	grid-template-areas:
		"header search"
		"nav nav"
		"article aside"
		"footer footer";
}
.box {
	color: #000;
	padding: 10px;
	margin-right: 20px;
	margin-left: 20px;
}
.header h1{
    font-family: 'Veleka', sans-serif;
    font-size: 26pt;
    font-weight: 100;
}
.header a:hover{
    text-decoration:none;
}
h2 {
    font-size: 16pt;
    font-weight: 100;
    letter-spacing: -1px;
    line-height: 12pt;
    padding: 0;
}
p {
    margin: 5px 0 0;
    padding: 5px;
	text-align: justify;
}
img {
    border: none;
}
a {
    color: darkslateblue;
    text-decoration: none;
}
a:hover {
    color: slateblue;
    text-decoration: underline;
}
img.centered,
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
img.alignright {
    display: inline;
    margin: 0 0 2px 4px;
    padding: 4px;
}
img.alignleft {
    display: inline;
    margin: 0 4px 2px 0;
    padding: 4px;
}
.alignleft {
    float: left;
}
.center {
    text-align: center;
}
div.chist {
    clear: both;
}
.articles {
    border-top: 1px dashed #bbb;
}
.alignleft {
    float: left;
}
.alignright,
.count,
#avatar {
    float: right;
}
.commentlist li {
    list-style: none;
    margin-bottom: 14px;
}
blockquote {
    border-left: 5px solid #bbb;
    margin: 0 0 0 1.5em;
    padding-left: 1em;
}
.wp-caption {
    background-color: #f3f3f3;
    border: #ddd solid 1px;
    border-radius: 3px;
    margin: 10px;
    padding-top: 4px;
    text-align: center;
}
.wp-caption img {
    border: none 0;
    margin: 0;
    padding: 0;
}
.wp-caption.alignleft {
    float: left;
    margin-left: 0;
    margin-right: 5px;
}
.wp-caption.aligncenter {
    margin-left: auto;
    margin-right: auto;
}
.wp-caption.alignright {
    float: right;
    margin-left: 5px;
    margin-right: 0;
}
.sticky {
    background: #fffafa;
}
.commentlist li {
    list-style: none;
    margin-bottom: 14px;
}
cite {
    font-weight: 700;
}


.gallery {
	display: flex;
	flex-flow: row wrap;
}

.gallery-item {
        margin: 5px;
	text-align: center;
}

.gallery-icon img {
	margin: 0 auto;
	display: block;
        border: 2px solid #cfcfcf;
}

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

pre {
    overflow: auto;
    width: calc(94%);
    border-left: 5px solid #bbb;
    margin: 0 0 0 1em;
    padding-left: 1em;
}
@media screen and (max-width: 1024px) {
	.aside li {
		padding: 4px;
		font-size: 14pt;
	}
}
@media screen and (max-width: 768px) {
	.wrapper {
		display: grid;
		grid-gap: 0;
		grid-template-columns: 70% 30%;
		grid-template-areas:
		"header search"
		"nav nav"
		"article article"
		"aside aside"
		"footer footer";
	}
	.box {
		color: #000;
		padding: 10px;
		margin-right: 1px;
		margin-left: 1px;
	}
	.aside {
		border-top: 1px solid #bbb;
		border-left: none;
	}
	.article{
		border-top: 1px solid #bbb;
	}
	.aside li {
		padding: 5px;
		font-size: 14pt;
	}
	.header h1 {
		font-size: 22pt;
	}
	.copyright{
		float:none;
	}
	.rssatom{
		float:right;
	}
}
@media screen and (max-width: 400px) {
	.header h1 {
		font-size: 18pt;
	}
	.header h2 {
		font-size: 14pt;
	}
	.rssatom{
		display:none;
	}
}
@media screen and (max-width: 350px) {
	.header h2 {
		font-size: 12pt;
	}
}
@media screen and (max-width: 260px) {
	.wrapper {
		display: inline;
	}
	.nav li {
		display: list-item;
	}
	.header h2 {
		font-size: 10pt;
	}
}
@media print {
    body * {
        visibility: hidden;
    }
    .article,
    .article * {
        visibility: visible;
    }
    .article {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
	margin: 0;
	padding: 0;
    }
    a[href]:after {
        content: "";
    }
    a[href]:before {
        content: "";
    }
    pre {
        white-space: pre-wrap;
    }
    #respond{
	display: none;
    }
}