/*=========================================================================
1. Reset CSS
2. Typography
3. General
4. WordPress Class Required
5. Header
6. Projects
7. Posts
8. Footer - Widgets
9. Preload
10. Responsive
=========================================================================*/
@import 'detault_variables.less';
@import 'variables.less';


// Mixins
.translateXY(@x, @y) {
	-webkit-transform: translate(@x, @y);
	-moz-transform: translate(@x, @y);
	transform: translate(@x, @y);
}

.translateX(@x) {
	-webkit-transform: translateX(@x);
	-moz-transform: translateX(@x);
	transform: translateX(@x);
}

.translateY(@y) {
	-webkit-transform: translateY(@y);
	-moz-transform: translateY(@y);
	transform: translateY(@y);
}

.transform(@text) {
	-webkit-transform: @text;
	-moz-transform: @text;
	transform: @text;
}

.transition(@text) {
	-webkit-transition: @text;
	-moz-transition: @text;
	-ms-transition: @text;
	-o-transition: @text;
	transition: @text;
}

.transition2(@text1, @text2) {
	-webkit-transition: @text1, @text2;
	-moz-transition: @text1, @text2;
	-ms-transition: @text1, @text2;
	-o-transition: @text1, @text2;
	transition: @text1, @text2;
}

.transition3(@text1, @text2, @text3) {
	-webkit-transition: @text1, @text2, @text3;
	-moz-transition: @text1, @text2, @text3;
	-ms-transition: @text1, @text2, @text3;
	-o-transition: @text1, @text2, @text3;
	transition: @text1, @text2, @text3;
}

.animation(@text) {
	-webkit-animation: @text;
	-moz-animation: @text;
	-ms-animation: @text;
	-o-animation: @text;
	animation: @text;
}

.animation_delay(@text) {
	-webkit-animation-delay: @text;
	-moz-animation-delay: @text;
	-ms-animation-delay: @text;
	-o-animation-delay: @text;
	animation-delay: @text;
}

.clearfix() {
	&:after {
		content: '';
		clear: both;
		display: block;
	}
}

/* =========== 1. Reset CSS  =========== */
img, legend {
	border: 0;
}

legend, td, th {
	padding: 0;
}

html {
	font-family: sans-serif;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}

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

audio, canvas, progress, video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden], template {
	display: none;
}

a {
	color: @title_color;
	background-color: transparent;

	&:hover, &:active {
		outline: 0;
	}
	&:focus {
		color: @title_color;
	}
}

abbr[title] {
	border-bottom: 1px dotted;
}

b, optgroup, strong {
	font-weight: 700;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: .67em 0;
}

mark {
	background: @body_background;
	color: @body_color;
}

small {
	font-size: 80%;
}

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

sup {
	top: -.5em;
}

sub {
	bottom: -.25em;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	background-color: rgba(51, 51, 51, 0.1);
	border: 0;
	height: 1px;
}

pre, textarea {
	overflow: auto;
}

code, kbd, pre, samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button, input, optgroup, select, textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button, select {
	text-transform: none;
}

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

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

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

input {
	border-radius: 0;
	line-height: normal;
}

input[type=checkbox], input[type=radio] {
	box-sizing: border-box;
	padding: 0;
}

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
	height: auto;
}

input[type=search] {
	-webkit-appearance: textfield;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}

input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid @body_color;
	margin: 0 2px;
	padding: .35em .625em .75em;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

a,
input,
textarea,
button,
select {
	outline: none;
}

a:hover,
a:focus,
input:focus,
textarea:focus,
button:focus,
select:focus {
	outline: none !important;
	text-decoration: none;
}

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

:after, :before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
	color: #ababab;
}

input:-moz-placeholder, textarea:-moz-placeholder {
	color: #ababab;
}

/* =========== 2. Typography  =========== */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
	font-family: @title_font;
	color: @menu_color;
	font-weight: 400;
	line-height: 1.2em;
	margin-bottom: 20px;
	margin-top: 0;
}

h1 > a, .h1 > a, h2 > a, .h2 > a, h3 > a, .h3 > a, h4 > a, .h4 > a, h5 > a, .h5 > a, h6 > a, .h6 > a {
	color: inherit;
}

h1, .h1 {
	font-size: 36px;
}

h2, .h2 {
	font-size: 30px;
}

h3, .h3 {
	font-size: 26px;
}

h4, .h4 {
	font-size: 22px;
}

h5, .h5 {
	font-size: 18px;
}

h6, .h6 {
	font-size: 14px;
}

a {
	color: @title_color;
	text-decoration: none;
	.transition(all 0.3s ease);

	&:hover {
		color: @link_hover_color !important;
	}
}

.quicklinks  a {
	&:hover,
	&:active,
	&:focus {
		color: #00b9eb !important;
	}
}

p {
	margin-top: 0;
	margin-bottom: 10px;
}

code, kbd, pre, samp {
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-ms-border-radius: 0;
	-o-border-radius: 0;
	border-radius: 0;
}

code {
	background-color: #eee;
	letter-spacing: 0.015em;
}

abbr {
	background-color: #A1D71A;
	color: #111;
	border-width: 2px;
}

mark, .mark {
	color: @body_background;
	background-color: #a4b4c4;
}

dfn {
	border-bottom: 1px dashed;
}

cite {
	font-style: normal;
}

blockquote {
	position: relative;
	border: 0;
	padding: 0 0 0 40px;
	margin: 20px 0;
	font-style: italic;
	overflow: hidden;
	font-size: 13px;

	p {
		&:last-child {
			margin-bottom: 0;
		}
	}

	&:before {
		position: absolute;
		left: 0;
		top: 0;
		content: '\f10d';
		font-family: 'FontAwesome';
		display: inline-block;
		color: #ababab;
		font-size: 24px;
	}

	footer, cite {
		font-size: 12px;
		color: @body_color;
		font-weight: 700;

		&:before {
			content: '- ';
			color: @body_color;
		}

		&:after {
			content: ' ';
			color: @body_color;
		}
	}
	a {
		text-decoration: none !important;
	}
}

pre {
	line-height: 1.6em;
	padding: 15px;
	border: 1px solid #E4E4E4;
	font-style: italic;
	overflow: auto;
	white-space: pre-wrap;
	background-color: #f7f7f7;
	word-wrap: break-word;
	max-width: 100%;
	word-break: keep-all;
	word-spacing: 0;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	border: 0;
}

input[type="search"], input[type="text"], input[type="url"], input[type="number"], input[type="password"], input[type="email"], input[type="file"], textarea {
	height: 36px;
	width: 100%;
	border: 1px solid #ababab;
	padding: 0 10px;
	.transition(all 0.3s ease);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-appearance: none;
}
select {
	height: 36px;
	width: 100%;
	border: 1px solid #ababab;
	padding: 0 10px;
	.transition(all 0.3s ease);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

::-moz-selection {
	color: @selection_color;
	background-color: @selection_background;
}

::selection {
	color: @selection_color;
	background-color: @selection_background;
}

iframe {
	border: 0;
	max-width: 100%;
}

/* ===========  3. General  =========== */
body {
	margin: 0;
	padding: 50px 0 0;
	font-family: @body_font;
	font-size: @body_size;
	background: @body_background;
	color: @body_color;
	overflow-x: hidden;
	line-height: @body_line_height;
	word-spacing: 1px;
}
.container {
	max-width: 1000px;
}
.logo-mobile {
	display: none;
}
.mobile {
	display: none;

	margin-bottom: 60px;

	.menu-mobile {

		width: 60px;
		height: 60px;
		display: inline-block;
		position: fixed;
		z-index: 999;
		cursor: pointer;

		.item {
			display: block;
			width: 22px;
			height: 2px;
			background-color: @menu_color;
			position: relative;
		}
		.item-1 {
			top: 23px;
		}
		.item-2 {
			top: 29px;
		}
		.item-3 {
			top: 35px;
		}
	}

	.logo {
		padding-bottom: 0;
		padding-top: 10px;
		text-align: center;

	}
}

.hide-menu {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 998;
	background-color: rgba(0,0,0,0.7);
	visibility: hidden;
	opacity: 0;
	.transition2(visibility 0.3s ease, opacity 0.3s ease);
}

/* =========== 4. WordPress Class Required  =========== */
.post {

	.wp-caption {
		display: inline-block;
		max-width: 100%;
		img {
			position: relative;
			margin-bottom: 10px;
			top: 5px;
			width: 100% !important;
		}
		.wp-caption-text {
			font-size: 14px;
			font-style: italic;
			color: @title_color;
			text-align: center;
			margin-top: 5px;
			margin-bottom: 10px;
		}
	}

	.textwidget {

		> p, > .wp-caption {
			background-color: @body_background;
			padding: 10px;
			margin-bottom: 15px;
		}

		.wp-caption-text {
			display: block;
			font-style: italic;
			text-align: center;
			padding: 15px 10px 5px 10px;
			font-size: 12px;
			margin-bottom: 0;
		}
	}

	&.sticky .post-content {
		.title {
			position: relative;
			padding-left: 30px;

			&:after {
				content: '\f0c6';
				font-family: 'FontAwesome';
				display: block;
				position: absolute;
				width: 1.8em;
				height: 1.8em;
				line-height: 1.8em;
				text-align: center;
				border-radius: 50%;
				padding: 2px;
				color: @link_hover_color;
				font-size: 16px;
				top: 0;
				left: 0;
				z-index: 9;
				pointer-events: none;
			}
		}
		.post-details {
			margin-left: 35px;
		}
	}

	.gallery {
		margin-bottom: 20px !important;
		margin-left: -10px !important;
		margin-right: -10px !important;
		overflow: hidden;

		.gallery-item {
			position: relative;
			padding: 10px;
			margin: 0 !important;
		}

		br {
			display: none;
		}

		.gallery-caption {
			position: absolute;
			padding: 10px 5px;
			left: 10px;
			right: 10px;
			bottom: 10px;
			text-overflow: ellipsis;
			overflow: hidden;
			white-space: nowrap;
			background-color: @title_color;
			color: @post_background;
			pointer-events: none;
		}

		a {
			display: block;

			img {
				width: 100%;
				border: 0 !important;
			}
		}
	}

	.gallery-columns-1 .gallery-item {
		width: 100% !important;
	}

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

	.gallery-columns-3 .gallery-item {
		width: 33.3333333333% !important;
	}

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

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

	.gallery-columns-6 .gallery-item {
		width: 16.6666667% !important;
	}

	.gallery-columns-7 .gallery-item {
		width: 14.2857143% !important;
	}

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

	.gallery-columns-9 .gallery-item {
		width: 11.1111111111% !important;
	}

}

.bypostauthor cite.fn:before {
	content: '\f005';
	font-family: 'FontAwesome';
	display: inline-block;
	margin-right: 5px;
}

.alignright {
	float: right;
	margin-left: 30px;
}

.alignleft {
	float: left;
	margin-right: 30px;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.the-content,
.the-excerpt {
	ol ul,
	ul ol,
	ul ul {
		padding-left: 20px;
	}

	h4, h5, h6{
		margin-top: 10px;
	}
	h1, h2, h3 {
		margin-top: 20px;
	}
	a {
		color: @link_hover_color;
		text-decoration: underline;
	}

}
.the-excerpt table,
.the-content table,
.comment table {
	background-color: transparent;
	margin-bottom: 20px;
	max-width: 100%;
	width: 100%;

	th {
		text-align: left;
	}

	a {
		color: inherit;
	}
	> thead, > tbody, > tfoot {
		> tr > th,
		> tr > td {
			border-top: 1px solid @title_color;
			border-left: 1px solid @title_color;
			line-height: 1.42857;
			padding: 8px;
			vertical-align: top;

			&:last-child {
				border-right: 1px solid @title_color;
			}
		}

		> tr {
			&:first-child {
				border-top: 1px solid @title_color;
			}
			&:last-child {
				border-bottom: 1px solid @title_color;
			}
		}
	}
}

.the-content,
.the-excerpt {

	table {
		> thead > tr > th {
			border-bottom: 1px solid @title_color;
			vertical-align: bottom;
			min-width: 100px;
		}

		> caption + thead > tr:first-child > th,
		> colgroup + thead > tr:first-child > th,
		> thead:first-child > tr:first-child > th,
		> caption + thead > tr:first-child > td,
		> colgroup + thead > tr:first-child > td,
		> thead:first-child > tr:first-child > td {
			border-top: 0 none;
		}
		> tbody + tbody {
			border-top: 2px solid #ddd;
		}

		a {
			text-decoration: none;
		}
	}

	ul {
		list-style: inherit;

		li {
			strong, span, em {
				line-height: inherit !important;
				font-size: inherit !important;
			}
		}
	}

}

.post-password-form input[type=submit] {
	border: none;
	min-width: 60px;
	min-height: 36px;
	display: inline-block;
	padding: 0 20px;
	background-color: #000000;
	text-transform: uppercase;
	font-size: 11px;
	line-height: 2.5em;
	font-family: @title_font;
	letter-spacing: 0.2em;
	color: @post_background;
	position: relative;
	top: -2px;
}

/* ===========  5. Header  =========== */
.header {
	width: 220px;
	bottom: 0;
	top: 0;
	text-align: right;
	z-index: 9;
}
.header-text {
	margin-bottom: 50px;
	blockquote {
		font-size: 16px;
		padding-left: 50px;

		&:before {
			font-size: 30px;
		}
	}
}
.menu-right {
	.header {
		text-align: left;
	}
	.main-menu {
		.sub-menu {
			padding-left: 0;
			padding-right: 20px;
			right: 100%;
			left: auto;
			text-align: right;
		}
	}
}
.table {
	display: table;
	width: 100%;
	height: 100%;
}
.table-cell {
	display: table-cell;
	vertical-align: middle;
}
.main-menu {
	font-family: @menu_font;
	letter-spacing: 1px;
	font-size: @menu_size;
	line-height: @menu_line_height;

	+ .copyright {
		padding-top: 50px;
	}

	ul,li {
		list-style: none;
		padding: 0;
		margin: 0;
	}
	.menu-list > li {
		> a {
			padding-top: 3px;
			padding-bottom: 3px;
			display: block;
		}
	}
	.active {
		a {
			color: @link_hover_color;
		}
	}

	li {
		position: relative;

		&:hover {
			> .sub-menu {
				opacity: 1;
				visibility: visible;
			}
		}

		&.current-menu-parent,
		&.current-menu-item {
			> a {
				color: #000000;
			}
		}
	}

	.sub-menu {
		position: absolute;
		width: 240px;
		top: 0;
		left: 100%;
		font-size: 14px;
		text-align: left;
		visibility: hidden;
		padding-left: 20px;
		opacity: 0;

		li {
			padding-left: 20px;
			padding-right: 20px;
			background-color: #dddddd;
			a {
				line-height: 18px;
				padding-top: 8px;
				padding-bottom: 8px;
				display: block;
				border-bottom: 1px solid #cccccc;
			}
			&:first-child {
				padding-top: 10px;
			}

			&:last-child {
				padding-bottom: 10px;

				a {
					border-bottom: none;
				}
			}
		}

		a {
			color: @menu_color !important;
		}
	}
}

.logo {

	font-size: 40px;
	color: @menu_color;
	text-transform: uppercase;
	padding-bottom: 60px;
	letter-spacing: 2px;
	line-height: 40px;

	a {
		color: inherit;
	}
}

.socials {
	padding-top: 50px;
	a {
		margin-right: 8px;
		font-size: 14px;

		&:last-child {
			margin-right: 0;
		}
	}
	.fa-search {
		color: @menu_color;
	}
}

.box-search {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999;
	background-color: #ffffff;
	opacity: 0;
	visibility: hidden;
	.transition2(opacity 0.3s ease, visibility 0.3s ease);

	input[type="search"] {
		height: 50px;
		font-size: 24px;
		padding-top: 0;
		border:none;
		border-bottom: 1px solid @menu_color;
	}

	&.active {
		opacity: 1;
		visibility: visible;
	}
}
.search-form {
	margin-left: auto;
	margin-right: auto;
	max-width: 600px;
	position: relative;
	padding-bottom: 200px;
	padding-top: 100px;
}
.kd-close {
	position: absolute;
	width: 50px;
	height: 50px;
	display: inline-block;
	top: 0;
	right: 0;
	cursor: pointer;
	font-size: 24px;
	color: #000000;
	background-color: #ffffff;
	line-height: 48px;
	text-align: center;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;

	&:before {
		content: '';
		width: 30px;
		height: 2px;
		background-color: @menu_color;
		display: block;
		.transform(rotate(44deg) translate(26px, 10px));
	}
	&:after {
		content: '';
		width: 30px;
		height: 2px;
		background-color: @menu_color;
		display: block;
		.transform(rotate(-46deg) translate(-10px, 24px));
	}
}

.copyright {
	font-size: 12px;
	color: #ababab;
}

/* ===========  6. Projects  =========== */
.projects {
	padding-left: 80px;
	padding-right: 50px;

}

.justified-gallery {
	>.jg-entry {
		> img, > a > img {
			opacity: 1;
		}
	}

	div {
		.caption {
			visibility: hidden;
			opacity: 0;
		}
	}
}

.project-item {
	position: relative;
	margin-bottom: 40px;

	&:last-child {
		margin-bottom: 0;
	}

	.title {
		position: absolute;
		top: 15px;
		left: 20px;
		opacity: 0;
		visibility: hidden;

		a {
			background-color: #000000;
			color: #ffffff;
			font-size: 14px;
			display: inline-block;
			line-height: 24px;
			padding-left: 10px;
			padding-right: 10px;
			opacity: 1;
			letter-spacing: 1px;


			&:hover {
				color: #ffffff !important;
				opacity: 0.7;
			}
		}
	}

	&:hover {
		.title {
			opacity: 1;
			visibility: visible;
			.transition2(opacity 0.3s ease-in-out, visibility 0.3s ease-in-out);
		}
	}
}


.pagination-wrap {

	margin-top: 60px;
	font-family: @title_font;

	ul {
		list-style: none;
		margin: 0;
		padding: 0;
		text-align: center;

		&:after {
			content: '';
			display: block;
			clear: both;
		}

		span {
			display: block;
		}

		li {
			display: inline-block;
			overflow: hidden;
			font-size: 18px;
			padding-left: 5px;
			padding-right: 5px;

			.current {
				color: #000000;
			}
		}
	}
}

.navigation-wrap {

	margin-top: 50px;
	text-align: center;
	.clearfix();

	a {
		display: inline-block;
		width: 50px;
		height: 40px;
		line-height: 40px;
		margin-right: 10px;
		background-color: #cccccc;
		opacity:  1;
		.transition(opacity 0.3s ease);

		&:last-child {
			margin-right: 0;
		}

		&:hover {
			opacity: 0.8;
		}
	}

}

.project {
	.detail-content {
		padding: 50px;
		background-color: #eeeeee;
	}

	.title {
		color: #000000;
		margin-bottom: 30px;
	}
	a {
		color: #000000 !important;
		font-weight: 700;
	}
	.project-attributes {
		margin-top: 20px;
		font-size: 12px;

		.socials {
			padding-top: 0;
		}
	}
	table {
		width: 100%
	}
	.name {
		font-weight: 700;
		width: 30%;
		text-align: left;
		padding-bottom: 10px;
	}
	.value {
		font-style: italic;
		width: 70%;
		padding-bottom: 10px;
	}

	.images-project {
		margin-top: 50px;
	}

	.popup {

		&:hover {
			img {
				opacity: 0.8;
			}
		}
		img {
			margin-bottom: 30px;
		}

		&:last-child {
			img {
				margin-bottom: 0;
			}
		}
	}

}

/* ===========  7. Posts  =========== */
.post {
	margin-bottom: 40px;

	&:last-child {
		margin-bottom: 0;
	}
	.post-content {
		background-color: #eeeeee;
		padding: 50px 50px 40px;

		> .title {
			line-height: 28px;
		}
	}
}

.search-empty {
	margin-top: 30px;
}

.title {
	margin-top: 0;
	margin-bottom: 5px;
	line-height: 24px;
	color: #000000;
	font-size: @title_size;
	letter-spacing: 1px;
}

.post-details {
	font-style: italic;
	font-size: 12px;

	span, a {
		display: inline-block;
		color: #666666;

		&:after {
			content: '//';
			margin-left: 5px;
			margin-right: 5px;
		}

		&:last-child {
			&:after {
				content: normal;
			}
		}
	}
}

.read-more {
	display: inline-block;
	min-width: 100px;
	padding: 3px 10px;
	text-transform: uppercase;
	font-size: 10px;
	background-color: #000000;
	color: #ffffff;
	text-align: center;
	margin-top: 10px;

	&:hover {
		color: #ffffff !important;
		opacity: 0.6;
	}
}

.the-content {
	margin-top: 20px;
	p {
		&:last-child {
			margin-bottom: 0;

			.clearfix();
		}

	}

	.alignleft {
		margin-bottom: 20px;
	}

	ul, ol {
		font-size: 13px;
		font-style: italic;
		padding-left: 20px;

		li {
			margin-bottom: 5px;
		}
		> li {
			&:last-child {
				margin-bottom: 0;
			}
		}
	}
}
.post-footer {
	margin-top: 30px;
}
.cat {
	strong {
		margin-right: 5px;
	}
	a {
		color: #000000;
		text-decoration: none;
		&:after {
			content: ',';
			margin-right: 5px;
		}

		&:last-child {
			&:after {
				content: normal;
			}
		}
	}
}

.post-tags {
	a {
		opacity: 1;
		display: inline-block;
		color: #000000;
		margin-right: 5px;
		text-decoration: none;

		&:last-child {
			margin-right: 0;
		}

		&:before {
			content: '#';
		}

		&:first-child {
			&:before {
				margin-left: 0;
			}
		}

		&:hover {
			opacity: 0.8;
		}
	}
}

.post-share {
	text-align: center;
	padding-top: 10px;
	margin-bottom: 30px;

	a {
		color: #000000;
		margin-left: 5px;
		margin-right: 5px;
		text-decoration: none;
	}
}

.the-excerpt {
	margin-top: 20px;
}
#cancel-comment-reply-link {
	letter-spacing: 0;
	font-size: 14px;
}

.the-content + #respond {
	margin-top: 40px;
	padding-top: 50px;
	border-top: 1px solid #ababab;
}
#comments {
	margin-top: 40px;
	padding-top: 50px;
	border-top: 1px solid #ababab;

	> .title {
		margin-bottom: 30px;

	}

	.comment-list,
	.children {
		list-style: none;
	}

	.comments-inner {
		margin-top: 20px;

		+ #respond {
			margin-top: 50px;
		}
	}

	.comment-list {
		padding-left: 0;

		#respond {
			.title {
				margin-top: 20px;
			}
		}
	}

	.children {
		padding-left: 30px;
	}
	.comment-avatar {
		width: 60px;
		height: 60px;
		-webkit-border-radius: 50%;
		-moz-border-radius: 50%;
		border-radius: 50%;
		overflow: hidden;
		float: left;
	}
	.comment-context {
		margin-left: 60px;
		padding-left: 20px;
	}
	.comment-head {
		.title {
			font-size: 16px;
			display: inline-block;
			text-transform: capitalize;
		}
	}
	.comment-content {
		p {
			&:last-child {
				margin-bottom: 0;
			}
		}
	}
	.comment-date {
		color: #ababab;
		font-size: 14px;
		font-style: italic;

		&:before {
			content: '-';
			margin-left: 5px;
			margin-right: 5px;
		}
	}
	.comment-body {
		margin-top: 20px;
	}
	.reply {
		margin-top: 5px;

		> * {
			margin-right: 10px;

			&:last-child {
				margin-right: 0;
			}
		}
	}

	#respond {
		margin-top: 20px;
	}

}

#respond {
	margin-top: 40px;
}

.comment-form {
	margin-top: 20px;
}

.contact-item {
	margin-bottom: 20px;

	&.form-login-logout {
		margin-bottom: 10px;
	}

	&:last-child {
		margin-bottom: 0;
	}

	textarea {
		padding-top: 5px;
		height: 100px;
		resize: vertical;
	}
	.wpcf7-submit,
	.submit {
		display: inline-block;
		min-width: 100px;
		padding-left: 20px;
		padding-right: 20px;
		background-color: #000000;
		color: #ffffff;
		border: none;
		height: 36px;
		text-transform: uppercase;
		font-size: 12px;
		letter-spacing: 1px;
		&:hover {
			opacity: 0.7;
		}
	}
}

.post_404_not_found {
	margin-top: 20px;
}

.go-to-home {
	min-width: 100px;
	padding: 5px 15px;
	display: inline-block;
	background-color: #000000;
	color: #ffffff;
	margin-top: 10px;

	a {
		color: inherit;
		opacity: 1;
		text-decoration: none;

		&:hover {
			color: inherit !important;
			opacity: 0.8;
		}
	}
}
/* ===========  8. Footer  =========== */
.footer-inner {
	margin-top: 80px;
	border-top: 1px solid #ababab;
	padding-top: 40px;
	padding-bottom: 40px;
	margin-left: 80px;
	margin-right: 50px;
	font-size: 12px;
	letter-spacing: 0.5px;

	.title {
		font-size: 14px;
		font-weight: 700;
	}

	a {
		color: #555555;
	}

	ul {
		list-style: none;
		font-size: 12px;
		margin: 0;
		padding: 0;
	}

}

.widget {
	margin-bottom: 35px;

	cite {
		color: #ababab;
	}

	.title {
		a {
			color: inherit;
		}
	}

	&:last-child {
		margin-bottom: 0;
	}
	.screen-reader-text {
		display: none;
	}

	select {
		margin-top: 5px;
	}

	.textwidget select {
		margin-top: 0;
	}

	.tagcloud {
		a {
			margin-right: 5px;
			font-size: inherit !important;
			display: inline-block;
			background-color: #eeeeee;
			padding-left: 8px;
			padding-right: 8px;
			margin-top: 6px;
			float: left;

			&:last-child {
				margin-right: 0;
			}
		}

		.clearfix();
	}

	&.widget_rss, &.widget_text {
		line-height: 22px;
		li {
			padding-top: 6px;
			padding-bottom: 6px;
		}
	}

	.textwidget {
		.wp-caption, p {
			padding-left: 0;
		}
	}


	&.widget_search {

		.wrap-search {
			position: relative;

			&:before {
				position: absolute;
				width: 40px;
				height: 36px;
				display: inline-block;
				content: '\f002';
				font-family: 'FontAwesome';
				color: #ffffff;
				font-size: 12px;
				right: 0;
				top: 0;
				background: #000000;
				line-height: 36px;
				text-align: center;
			}
		}
		.search-field {
			border-color: @title_color;
		}
		.search-submit {
			font-family: 'FontAwesome';
			position: absolute;
			top: 0;
			right: 0;
			bottom: 0;
			background: transparent;
			border: 1px solid transparent;
			width: 40px;
			display: inline-block;
			color: @body_background;
		}
	}

	#wp-calendar {
		width: 100%;

		caption {
			text-align: right;
			font-size: 12px;
			margin-bottom: 15px;
			padding-top: 0;
			padding-bottom: 8px;
		}

		thead {
			font-size: 12px;

			th {
				padding-bottom: 10px;
				text-align: center;
			}
		}

		tfoot #prev {
			font-size: 10px;
			text-transform: uppercase;
			padding-top: 10px;
		}

		tr td {
			border-left: 0;
			padding: 10px;
		}

		tbody {
			td {
				background: @post_background;
				border: 1px solid @body_background;
				text-align: center;
				padding: 8px;
			}
		}

		#today {
			a {
				font-weight: 700;
			}
		}

		tfoot {
			display: none;
		}

	}
}

/* ===========  9. Preload  =========== */

#preload {
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: #fff;
	z-index: 9999999;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;

	.kd-bounce {
		width: 40px;
		height: 40px;
		position: relative;
		margin: 40px auto;

		&:before, &:after {
			content: '';
			display: block;
			width: 100%;
			height: 100%;
			border-radius: 50%;
			background-color: #242424;
			opacity: 0.4;
			position: absolute;
			top: 0;
			left: 0;
			animation: kd-bounce 2.4s infinite ease-in-out;
		}

		&:after {
			animation-delay: -1.2s;
		}
	}
}

@keyframes kd-bounce {
	0%, 100% {
		transform: scale(0); }
	50% {
		transform: scale(1); }
}

/* ===========  10. Responsive  =========== */
@media screen and (max-width: 991px) {
	.preload {
		display: none;
	}
	.mobile {
		display: block;
	}
	.logo-desktop {
		display: none;
	}
	.logo-mobile {
		display: inline-block;
	}
	.menu-mobile {
		+ .logo {
			.logo-desktop {
				display: inline-block;
			}
			.logo-mobile {
				display: none;
			}
		}
	}
	.header,
	.menu-right .header {
		left: 0;
		width: 250px;
		z-index: 9999;
		background-color: #000000;
		text-align: center;
		.translateX(-101%);
		.transition(transform 0.3s ease);

		.logo {
			color: #ffffff;

			&:hover {
				a {
					color: #ffffff !important;
				}
			}
		}

		&.active {
			.translateX(0);
		}
	}
	.main-menu,
	.menu-right .main-menu {
		max-height: 45%;
		overflow-y: auto;
		overflow-x: hidden;
		a {
			&:hover {
				color: #ffffff !important;
			}
		}
		.active {
			a {
				color: #ffffff;
			}
		}
		.sub-menu  {
			display: none;
			position: relative;
			width: 100%;
			left: 0;
			visibility: visible;
			opacity: 1;
			padding-left: 0;
			text-align: center;

			li, li:first-child, li:last-child {
				padding-top: 5px;
				padding-bottom: 5px;
			}
		}
	}

	.projects {
		padding-left: 50px;
		padding-right: 50px;
	}
	.footer-inner {
		margin-left: 50px;
		margin-right: 50px;
	}
	.socials {
		a {
			margin-right: 10px;
		}
		.fa-search {
			color: #ffffff;
		}
	}
	.hide-menu {
		&.active {
			visibility: visible;
			opacity: 1;
		}
	}
}

@media screen and (max-width: 768px) {
	body {
		padding-top: 30px;
	}
	.project-item {
		margin-bottom: 30px;
	}
}

@media screen and (max-width: 600px) {
	.post {
		.post-content {
			padding: 20px;
		}
	}
	.project {
		.detail-content {
			padding: 20px;
		}
		.images-project {
			margin-top: 30px;
		}
	}
	#comments {
		.children {
			padding-left: 0;
		}
	}
}

@media screen and (max-width: 480px) {
	.projects {
		padding-left: 0;
		padding-right: 0;

	}
	.footer-inner {
		margin-left: 0;
		margin-right: 0;
	}

	.mobile {

		margin-bottom: 50px;

		.logo {
			font-size: 30px;
			padding-left: 20px;
		}
	}

	.project-item {
		margin-bottom: 20px;
	}
	#comments {
		.comment-avatar {
			float: none;
		}
		.comment-context {
			margin-top: 20px;
			margin-left: 0;
			padding-left: 0;
		}
		.reply {
			text-align: right;
		}
	}
	.navigation-wrap {
		margin-top: 30px;
	}
	.footer-inner {
		margin-top: 50px;
	}
}

.page-links {
	clear: both;
	margin-top: 20px;
}