/*
Theme Name: Portfolio
Version: 1.0
Author: Gelya Bogatishcheva
Author URI: https://projekts.pw
*/

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

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;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}

audio,
canvas,
video {
	display: inline-block;
	max-width: 100%;
}

html {
	height: 100%;
	font-size: 62.5%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
	color: #000;
	font-family: 'Poppins', sans-serif;
	font-size: 1.9rem;
	font-weight: 300;
	line-height: 1.4;
}

body {
	height: 100%;
	background: #fff;
}

a {
	color: #000;
	text-decoration: none;
}

a:hover {
	color: #bcb9aa;
}

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

p {
font-family: 'Poppins', sans-serif;
line-height: 1.4;
font-size: 1.9rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: 'Poppins', sans-serif;
	font-weight: 300;
	line-height: 1.2;
	margin-bottom: 2rem;
}

h1 {
	font-size: 2.6rem;
}

h2 {
	font-size: 2.4rem;
}

h3 {
	font-size: 2.2rem;
}

h4 {
	font-size: 2rem;
}

h5 {
	font-size: 1.8rem;
}

h6 {
	font-size: 1.6rem;
}

address {
	font-style: normal;
	margin-bottom: 28px;
	margin-bottom: 2.8rem;
}

abbr[title] {
	border-bottom: 1px dotted #fff;
	cursor: help;
}

b,
strong {
font-family: 'Poppins', sans-serif;
}

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

mark,
ins {
	text-decoration: none;
}

p {
	margin-bottom: 28px;
	margin-bottom: 2.8rem;
}

code,
kbd,
tt,
var,
samp,
pre {
	font-family: 'Poppins', sans-serif;
	font-size: 1.6rem;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	line-height: 2;
}

pre {
	border: 1px solid rgba(0, 0, 0, 0.1);
	margin-bottom: 28px;
	margin-bottom: 2.8rem;
	max-width: 100%;
	overflow: auto;
	padding: 12px;
	padding: 1.2rem;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

blockquote,
q {
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	quotes: none;
}

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

blockquote {
	font-size: 2rem;
	font-style: italic;
	font-weight: 300;
	line-height: 1.5;
	margin-bottom: 28px;
}

blockquote cite,
blockquote small {
	font-size: 1.6rem;
	font-weight: 300;
	line-height: 1.6;
}

blockquote em,
blockquote i,
blockquote cite {
	font-style: normal;
}

blockquote strong,
blockquote b {
	font-weight: 300;
}

small {
	font-size: smaller;
}

big {
	font-size: 125%;
}

sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

dl {
	margin-bottom: 28px;
	margin-bottom: 2.8rem;
}

dt {
	font-weight: 300;
}

dd {
	margin-bottom: 28px;
	margin-bottom: 2.8rem;
}

ul,
ol {
	list-style: none;
	margin: 0 0 28px 20px;
	margin: 0 0 2.8rem 2rem;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin: 0 0 0 20px;
	margin: 0 0 0 2rem;
}

img {
	-ms-interpolation-mode: bicubic;
	border: 0;
	vertical-align: top;
}

figure {
	margin: 0;
}

fieldset {
	border: 1px solid rgba(0, 0, 0, 0.1);
	margin: 0 0 28px;
	margin: 0 0 2.8rem;
	padding: 12px 12px 0;
	padding: 1.2rem 1.2rem 0;
}

legend {
	white-space: normal;
}

button,
input,
select,
textarea {
	font-size: 100%;
	margin: 0;
	max-width: 100%;
	vertical-align: baseline;
}

button,
input {
	line-height: normal;
}

input,
textarea {
	/* Removing the inner shadow, rounded corners on iOS inputs */
	background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
input[disabled] {
	cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
	padding: 0;
}

input[type="search"] {
	-webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

table,
th,
td {
	border: 1px solid rgba(0, 0, 0, 0.1);
}

table {
	border-collapse: separate;
	border-spacing: 0;
	border-width: 1px 0 0 1px;
	margin-bottom: 28px;
	margin-bottom: 2.8rem;
	width: 100%;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

th {
	border-width: 0 1px 1px 0;
}

td {
	border-width: 0 1px 1px 0;
}

del {
	color: #000;
}

hr {
	border: 0;
	border-top: 2px dashed #000;
	width: 50%;
	margin-bottom: 6.5rem;
	margin-top: 6rem;
}

::selection {
	background: #bcb9aa;
	color: #000;
	text-shadow: none;
}

::-moz-selection {
	background: #bcb9aa;
	color: #000;
	text-shadow: none;
}

/**
 * 2.0 Repeatable Patterns
 * -----------------------------------------------------------------------------
 */
@font-face {
	font-family: expositio;
	src: url("fonts/expositio.eot?") format("eot"), url("fonts/expositio.woff") format("woff"), url("fonts/expositio.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}

/* Input fields */
input,
textarea {
	border: 1px solid #fff;
	border-radius: 2px;
	color: #000;
	padding: 4px 10px;
	padding: 0.4rem 1rem;
	margin-bottom: 3px;
	margin-bottom: 0.3rem;
}

input:focus,
textarea:focus {
	border: 1px solid #f4d402;
	outline: 0;
}

/* Buttons */
button,
.contributor-posts-link,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background-color: #000;
	border: 0;
	border-radius: 2px;
	color: #bcb9aa;
	padding: 5px 20px;
	padding: 0.5rem 2rem;
	margin-bottom: 3px;
	margin-bottom: 0.3rem;
	vertical-align: bottom;
}

button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
	background-color: #f4d402;
	color: #000;
}

button:active,
.contributor-posts-link:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	background-color: #f4d402;
	color: #fff;
}

/* Placeholder text color -- selectors need to be separate to work. */
::-webkit-input-placeholder {
	color: #222223;
}

:-moz-placeholder {
	color: #222223;
}

::-moz-placeholder {
	color: #222223;
	/* Since FF19 lowers the opacity of the placeholder by default */
	opacity: 1;
}

:-ms-input-placeholder {
	color: #222223;
}

/* Responsive images. Fluid images for posts, comments, and widgets */
.entry-content img,
.entry-summary img,
.wp-caption {
	max-width: 100%;
}

/**
 * Make sure images with WordPress-added height and width attributes are
 * scaled correctly.
 */
.entry-content img,
.entry-summary img,
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto;
}

img.size-full,
img.size-large,
.wp-post-image,
.post-thumbnail img {
	height: auto;
	max-width: 100%;
}

body.home .wp-post-image {
	max-width: none;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object,
video {
	margin-bottom: 28px;
	margin-bottom: 2.8rem;
	max-width: 100%;
}

p > embed,
p > iframe,
p > object,
span > embed,
span > iframe,
span > object {
	margin-bottom: 0;
}

/* Alignment */
.alignleft {
	float: left;
}

.alignright {
	float: right;
}

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

blockquote.alignleft,
img.alignleft {
	margin: 7px 28px 7px 0;
	margin: 0.7rem 2.8rem 0.7rem 0;
}

.wp-caption.alignleft {
	margin: 7px 14px 7px 0;
	margin: 0.7rem 1.4rem 0.7rem 0;
}

blockquote.alignright,
img.alignright {
	margin: 7px 0 7px 28px;
	margin: 0.7rem 0 0.7rem 2.8rem;
}

.wp-caption.alignright {
	margin: 7px 0 7px 14px;
	margin: 0.7rem 0 0.7rem 1.4rem;
}

blockquote.aligncenter,
img.aligncenter,
.wp-caption.aligncenter {
	margin-top: 7px;
	margin-top: 0.7rem;
	margin-bottom: 7px;
	margin-bottom: 0.7rem;
}

.site-content blockquote.alignleft,
.site-content blockquote.alignright {
	padding-top: 14px;
	padding-top: 1.4rem;
}

.site-content blockquote.alignleft p,
.site-content blockquote.alignright p {
	margin-bottom: 14px;
	margin-bottom: 1.4rem;
}

.wp-caption {
	margin-bottom: 28px;
	margin-bottom: 2.8rem;
}

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

.wp-caption {
	color: #000;
}

.wp-caption a {
	color: #000;
}

.wp-caption-text {
	font-size: 13px;
	font-size: 1.3rem;
	line-height: 15px;
	line-height: 1.5rem;
	margin: 9px 0;
	margin: 0.9rem 0;
	font-family: 'Poppins', sans-serif;
}

.wp-smiley {
	border: 0;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Assistive text */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute;
}

/* Clearing floats */
.site-header:after,
.site-footer:after {
	content: '';
	display: block;
	clear: both;
}

/**
 * 3.0 Basic Structure
 * -----------------------------------------------------------------------------
 */
#wrapper {
	width: 100%;
	height: 100%;
}

.site {
	opacity: 0;
	position: relative;
	min-width: 320px;
	-webkit-transition: opacity 0.3s, left 0.3s ease-out;
	-moz-transition: opacity 0.3s, left 0.3s ease-out;
	-o-transition: opacity 0.3s, left 0.3s ease-out;
	transition: opacity 0.3s, left 0.3s ease-out;
}

.main-content,
.content-area {
	height: 100%;
	white-space: nowrap;
}



/**
 * 4.0 Header
 * -----------------------------------------------------------------------------
 */

/* Ensure that there is no gap between the header and the admin bar for WordPress versions before 3.8. */
#wpadminbar {
	min-height: 32px;
}

.site-header {
	background: #fff;
}

.site-title {
	margin: 0;
	font-size: 3.3rem;
	line-height: 1.2;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

#header-helper {
	position: absolute;
	top: 0;
	left: 0;
	width: 10px;
	height: 1px;
}

/**
 * 5.0 Navigation
 * -----------------------------------------------------------------------------
 */
.site-navigation ul {
	list-style: none;
	margin: 0;
}

.site-navigation li {
	display: block;
	position: relative;
	font-size: 1.8rem;
	line-height: 1.5;
    padding-top: 10px;
    font-family: 'Poppins', sans-serif;
}

.site-navigation ul ul ul {
	padding-left: 20px;
	padding-left: 2rem;
}

.menu-toggle {
	display: none;
	position: absolute;
	top: 10px;
	top: 1rem;
	right: 20px;
	right: 2rem;
	margin: 0;
	color: #000;
	font-family: expositio;
	font-size: 40px;
	font-size: 4rem;
	line-height: 30px;
	line-height: 3rem;
	cursor: pointer;
}

.menu-toggle:hover {
	color: #bcb9aa;
}

#navigation-close {
	display: none;
	position: absolute;
	z-index: 10000;
	top: 10px;
	top: 1rem;
	right: 20px;
	right: 2rem;
	font-size: 30px;
	font-size: 3rem;
	line-height: 30px;
	line-height: 3rem;
	color: #000;
	cursor: pointer;
}

/**
 * 6.0 Content
 * -----------------------------------------------------------------------------
 */
.content-area {
	white-space: nowrap;
}

.hentry,
.page-content {
	display: inline-block;
	vertical-align: top;
	white-space: normal;
	word-wrap: break-word;
	font-family: 'Poppins', sans-serif;
}

body.single .hentry {
	width: 67.391304348%;
	padding-right: 20px;
	padding-right: 2rem;
}

body.page .hentry,
.page-content {
	width: 67.391304348%;
	padding-right: 30px;
	padding-right: 3rem;
}

.image_link:hover {
	border-bottom: none;
}

/**
 * 6.1 Post Thumbnail
 * -----------------------------------------------------------------------------
 */
.post-thumbnail {
	display: inline-block;
	vertical-align: top;
}

body.home .post-thumbnail {
	height: 100%;
}

/**
 * 6.2 Entry Header
 * -----------------------------------------------------------------------------
 */
body.single .entry-header,
body.page .entry-header,
.page-header {
	margin-bottom: 20px;
	margin-bottom: 2rem;
}

.entry-title,
.page-title {
	margin: 0;
	font-size: 1.9rem;
	font-weight: 300;
	line-height: 2.8rem;
	word-wrap: break-word;
	white-space: pre-wrap;
}

/**
 * 6.3 Entry Meta
 * -----------------------------------------------------------------------------
 */

/**
 * 6.4 Entry Content
 * -----------------------------------------------------------------------------
 */
.entry-content > p:last-child {
	margin-bottom: 0;
}

.entry-content a,
.page-content a {
	border-bottom: 1px solid;
}

/**
 * 6.5 Gallery
 * -----------------------------------------------------------------------------
 */
.gallery {
	display: inline-block;
	width: auto;
	height: 100%;
	margin: 0;
	list-style-type: none;
}

.gallery-item {
	display: inline-block;
	width: auto;
	height: 100%;
	padding-right: 20px;
	padding-right: 2rem;
	vertical-align: top;
	white-space: normal;
}

.gallery-item img {
	display: block;
	width: auto;
	height: 100%;
	height: -moz-calc(100% - 28px);
	height: -webkit-calc(100% - 28px);
	height: calc(100% - 28px);
}
/**
 * 6.6 Post Formats
 * -----------------------------------------------------------------------------
 */

/**
 * 6.7 Post/Image/Paging Navigation
 * -----------------------------------------------------------------------------
 */
.paging-navigation {
	display: none;
}

#image-navigation {
	text-align: right;
}

#image-navigation a:first-of-type {
	float: left;
}

/**
 * 6.8 Attachments
 * -----------------------------------------------------------------------------
 */
.entry-attachment .attachment {
	margin-bottom: 28px;
	margin-bottom: 2.8rem;
}

/**
 * 6.9 Archives
 * -----------------------------------------------------------------------------
 */

/**
 * 6.10 Contributor Page
 * -----------------------------------------------------------------------------
 */

/**
 * 6.11 404 Page
 * -----------------------------------------------------------------------------
 */
.error404 .page-content {
	/*padding-top: 0;*/
}

.error404 .page-content .search-form {
	/*margin-bottom: 24px;*/
}


/**
 * Footer
 * -----------------------------------------------------------------------------
 */
.site-footer {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
        padding: 0 20px 40px;
        padding: 0 2rem 4rem;
	color: #000;
	font-family: 'Poppins', sans-serif;
}

/**
 * Media Queries
 * -----------------------------------------------------------------------------
 */

@-ms-viewport {
	width: device-width;
}

@viewport {
	width: device-width;
}

@media (min-width: 951px) {
	.site {
		height: 100%;
		padding: 40px 20px 40px 330px;
		padding: 4rem 2rem 4rem 33rem;
	}

	.site-header {
		position: fixed;
		top: 0;
		left: 0;
		width: 330px;
		height: 100%;
		padding: 40px 30px 0;
		padding: 4rem 3rem 0;
	}

	body.admin-bar .site-header {
		top: 32px;
	}

	.primary-navigation {
		padding: 20px 0 40px;
		padding: 2rem 0 4rem;
	}

	#top-right-menu {
		margin-top: 20px;
		margin-top: 2rem;
	}

	.nav-menu li {
		opacity: 0;
	}

	.site-navigation > div > ul > li.menu-item-has-children {
		margin-top: 20px;
		margin-top: 2rem;
	}

	.site-navigation > div > ul > li.menu-item-has-children > a {
		font-family: 'Poppins', sans-serif;
	}

	.site-navigation > div > ul ul ul {
		padding-left: 20px;
		padding-left: 2rem;
	}

	.current-menu-item > a {
		color: #bcb9aa;
	}

	#main {
		height: 100%;
	}

	body.home .hentry {
		height: 100%;
		padding-right: 20px;
		padding-right: 2rem;
	}

	body.home .hentry > a {
		display: inline-block;
		height: 100%;
		height: -moz-calc(100% - 28px);
		height: -webkit-calc(100% - 28px);
		height: calc(100% - 28px);
	}

	body.home .hentry img {
		height: 100%;
		width: auto;
	}

	body.single .hentry {
		padding-bottom: 40px;
		padding-bottom: 4rem;
		max-width: 920px;
	}

	body.page .hentry,
	.page-content {
		padding-bottom: 40px;
		padding-bottom: 4rem;
		max-width: 920px;
	}

	.gallery-animated img {
		cursor: pointer;
	}
}

@media (max-width: 950px) {
	.site-header {
		height: auto !important;
		padding: 10px 20px 30px;
		padding: 1rem 2rem 3rem;
	}

	#header-helper {
		display: none;
	}

	.site-title {
		padding-right: 40px;
		padding-right: 4rem;
	}

	.menu-toggle {
		display: block;
	}

	.menu-toggle.hidden {
		display: none;
	}

	.primary-navigation {
		position: absolute;
		z-index: 9999;
		top: 0;
		left: -84.375%;
		width: 84.375%;
		height: 100%;
		background-color: #bcb9aa;
		padding: 10px 20px;
		padding: 1rem 2rem;
		overflow-y: auto;
		-webkit-transition: left 0.3s ease-out;
		-moz-transition: left 0.3s ease-out;
		-o-transition: left 0.3s ease-out;
		transition: left 0.3s ease-out;
	}

	#top-right-menu {
		margin-top: 20px;
		margin-top: 2rem;
	}

	.site-navigation > div > ul > li.menu-item-has-children {
		margin-top: 20px;
		margin-top: 2rem;
	}

	.site-navigation > div > ul > li.menu-item-has-children > a {
	font-family: 'Poppins', sans-serif;
	}

	#wrapper {
		position: relative;
	}

	#wrapper.overflow_fix {
		overflow: hidden;
	}

	.site {
		position: relative;
		left: 0;
		width: 100%;
		min-height: 100%;
	}

	.toggled-on .site {
		left: 84.375%;
		height: 100%;
	}

	.toggled-on .site-footer {
		display: none;
	}

	.primary-navigation a {
		font-size: 22px;
		font-size: 2.2rem;
		line-height: 35px;
		line-height: 3.5rem;
		color: #000;
	}

	.primary-navigation a:hover {
		border-bottom: 1px solid #000;
	}

	.toggled-on #navigation-close {
		display: block;
	}

	#main {
		width: 100%;
		padding: 0 20px;
		padding: 0 2rem;
	}

	body.single #primary,
	body.page #main-content {
		padding-left: 20.689655172%;
	}

	body.home .hentry,
	body.home .post-thumbnail,
	body.home .hentry img {
		height: auto;
		width: 100% !important;
	}

	body.home .hentry {
		display: block;
		padding-bottom: 20px;
		padding-bottom: 2rem;
	}

	body.home .hentry:last-of-type {
		padding-bottom: 0;
	}

	body.single #primary,
	body.page #main-content {
		padding-left: 0;
	}

	body.single .hentry,
	body.page .hentry,
	.page-content {
		width: 100%;
		padding-right: 0;
	}

	.post-thumbnail {
		display: block;
	}

	.gallery {
		display: block;
		margin-top: 28px;
		margin-top: 2.8rem;
	}

	.gallery-item {
		display: block;
		width: 100% !important;
		height: auto;
		padding: 0 0 20px;
		padding: 0 0 2rem;
	}

	.gallery-item:last-child {
		padding-bottom: 0;
	}

	.gallery-item img {
		width: 100% !important;
		height: auto;
	}

	.site-footer {
		padding-top: 30px;
		padding-top: 3rem;
	}
}
/**
 * 12.0 Print
 * -----------------------------------------------------------------------------
 */

@media print {
	body {
		/* Brute force since user agents all print differently. */
		background: none !important;
	}
}