/*
Theme Name: Dorian
Theme URI:
Author: Krzysiek Dróżdż (WPmagus.pl)
Author URI: http://wpmagus.pl/
Description:
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:
Text Domain: dorian
*/

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&display=swap');

/* html5doctor.com Reset v1.6.1 - http://cssreset.com */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}nav ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}ins{background-color:#ff9;color:#000;text-decoration:none}mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input,select{vertical-align:middle}

/* Reset
 * ======================================== */

html {box-sizing: border-box;}
*, *:before, *:after {box-sizing: inherit;}

header, footer, main, article, aside, section {display: block;}

a {text-decoration: underline;}
a:hover {text-decoration: none;}

p, ul, ol, table, blockquote, address, dl {margin: 1em 0;}

::-webkit-input-placeholder {color: #fff;}
:-moz-placeholder {color: #fff;}
::-moz-placeholder {color: #fff; opacity: 1;}
:-ms-input-placeholder {color: #fff;}

img {max-width: 100%; height: auto;}

img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {height: auto;}

embed,
iframe,
object,
video {margin-bottom: 1em; max-width: 100%;}

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

/* Global
 * ======================================== */

html {
	font-size: 16px;
	background: #fff;
}

body {
	font-family: 'Libre Baskerville', Baskerville, 'Baskerville Old Face', Garamond, serif;
	font-size: 1rem;
	line-height: 1.6;
	font-weight: 400;
	color: #000;
	background: transparent;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 400;
	line-height: 1.2;
}

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

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

.container {
	margin: 0 1.25rem;
}

.fancybox-opened .fancybox-skin {
	box-shadow: none !important;
}

.fancybox-skin {
	border-radius: 0 !important;
	background:#f2f2f2 !important;
}

/* Header
* ======================================== */

#header {
	font-size: 1.35rem;
	text-transform: none;
	position: relative;
	padding: 1rem 0;
	letter-spacing: 0.01em;
}

#header .site-title {
	display: inline-block;
}

#header .site-title a {
	display: inline-block;
	background: url('images/logo-dorian-denes.png') no-repeat left 50%;
	background-size: contain;
	padding: 0.890625rem 0;
	padding-left: 4rem;
	font-weight: 700;
	transition: color .2s ease;
}

/* Logo + name hover */

#header .site-title a:hover {
	color: #cb5e68;
	text-decoration: none;
	opacity: 1;
	background-image: url('images/logo-dorian-denes-hover.png');
	filter: none;
}

#header nav {
	display: inline-block;
}

#header nav ul {
	margin: 0;
}

#header nav ul li {
	display: inline-block;
}

#header nav ul li a {
	color: #000;
	text-decoration: none;
}

#header .nav {
	display: inline-block;
}

#header .nav:before {
	content: '|';
}

#header .nav li {
	display: inline-block;
}

#header .nav li:before {
	content: ' / ';
}

#header .nav li:first-child:before {
	content: none;
}

/* Navigation hover */

#header .nav li a:hover {
	color: #cb5e68;
	text-decoration: none;
}

#header .social {
	position: absolute;
	right: 0;
	top: 1.8rem;
	font-family: FontAwesome;
}

#header .social li a {
	display: block;
}

#header .social li a:hover {
	text-decoration: none;
	color: #cb5e68;
}

#header .social li a:before {
	margin-left: .5rem;
}

#header .social li.facebook a:before {
	content: '\f09a';
}

#header .social li.twitter a:before {
	content: '\f099';
}

#header .social li.threadless a:before {
	content: '\f007';
}

#header .social li a span {
	text-indent: -9999px;
	display: block;
}

/* Footer
* ======================================== */

#footer {
	font-size: .875rem;
	line-height: 1.5;
	color: #000;
}

/* Main
* ======================================== */

#main {}

.portfolio-list {
	margin-left: -.625rem;
	margin-right: -.625rem;
}

.portfolio-list:after {
	content: '';
	clear: both;
	display: block;
}

.portfolio-list .portfolio-item {
	float: left;
	width: 12.5%;
	padding: .625rem;
}

.portfolio-list .portfolio-item.medium {
	width: 25%;
}

.portfolio-list .portfolio-item.big {
	width: 50%;
}

.portfolio-list .portfolio-item a {
	display: block;
}

.portfolio-list .portfolio-item img {
	display: block;
}

.portfolio-list .portfolio-item img:hover {
    opacity: 0.8;
}

.portfolio-list .portfolio-item-text-content {
	padding: 2.5rem;
	background: #fff;
}

.portfolio-list .portfolio-item-text-content a {
	text-decoration: underline;
	display: inline;
}

.portfolio-list .portfolio-item-text-content a:hover {
	text-decoration: none;
}

.portfolio-list .portfolio-item-text-content h1 {
	font-size: 2.5rem;
	text-transform: none;
	font-weight: 400;
	line-height: 1.1;
	margin-bottom: 1rem;
}

/* RWD
* ======================================== */

@media (max-width: 960px) {

	.portfolio-list .portfolio-item {
		width: 25%;
	}

	.portfolio-list .portfolio-item.medium {
		width: 50%;
	}

	.portfolio-list .portfolio-item.big {
		width: 100%;
	}

}

@media (max-width: 480px) {

	.portfolio-list .portfolio-item {
		width: 50%;
	}

	.portfolio-list .portfolio-item.medium {
		width: 100%;
	}

	.portfolio-list .portfolio-item.big {
		width: 100%;
	}

}

@media (max-width: 360px) {

	.portfolio-list .portfolio-item {
		width: 100%;
	}

	.portfolio-list .portfolio-item.medium {
		width: 100%;
	}

	.portfolio-list .portfolio-item.big {
		width: 100%;
	}

}

/* Hover effects */

/* About box links */

.portfolio-item-text-content a:hover {
	color: #cb5e68 !important;
	text-decoration: none;
}

/* About page social icon hover */

.portfolio-item.small img:hover {
	filter: brightness(0) invert(1);
}


/* Footer hover */
#footer a,
#footer a:link,
#footer a:visited {
    color: inherit !important;
}

#footer a:hover,
#footer a:focus {
    color: #cb5e68 !important;
}

