/*
	Theme Name: VKN
	Theme URI: http://www.vassiliskaridis.com
	Description: Vassilis Karidis
	Version: 2.1
	Author: Vassilis Karidis
	Author URI: http://www.vassiliskaridis.com
	Tags: Blank, HTML5, CSS3

*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
	/*border: 1px red dotted;*/
}
html {
	font-size:62.5%;
}
body {
	font-family: Times, serif;
	font-size: 13px;
	line-height: 16px;	
	font-size: 1.3rem;
	line-height: 1.6rem;
	font-weight: 300;
	color:#000;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
}
a {
	color:#000;
	text-decoration:underline;
}
a:hover {
	color:#000;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input {
	outline:0;
	border:0;
	background-color: silver;
}
input:focus {
	outline:0;
	border:0;
}
ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {
	
	/* wrapper */
	body.page .wrapper {
		margin: 0 auto;
		margin-top: 1.6rem;
		width: 95%;
		max-width: 50rem;
	}
	
	/* header */
	body.page .header {
		height: 7.2rem;
	}
	body.page .header h1 {
		font-size: 1.2rem;
		line-height: 1.4rem;
		text-transform: uppercase;
		font-weight: 600;
		padding: 0;
		margin: 0;
	}
	body.page .header a {
		text-decoration: none;
	}
	body.page .header .nav {
		display: block;
		margin-top: 3.2rem;
		text-align: justify;
		font-weight: 300;
	}
	body.page .header .nav .menu {
    	display: flex;
    	justify-content: space-between;
	}
	body.page .header .nav ul.menu li {
		font-size: 1.1rem;
		line-height: 1.4rem;
	}		
	body.page .header .nav ul.menu li a {
		text-transform: uppercase;
	}
	body.page .header .nav ul.menu li.current_page_item a {
		text-decoration: underline;
	}	
	body.page-template-page-text article {
		width: 100%;
	}
	body.page-template-page-text article p {
		text-align: justify;
	}
	.video-container {
	  position: relative;
	  padding-bottom: 56.25%;
	  /* 16:9 */
	  padding-top: 0px;
	  /* size of chrome */
	  height: 0;
	  overflow: hidden;
	}
	.video-container iframe,
	.video-container object,
	.video-container embed {
	  position: absolute;
	  top: 0;
	  left: 0;
	  width: 100%;
	  height: 100%;
	}
	/*.instagram {
    	position:relative;
	} 
	.instagram a {
    	color: white;
    	opacity: 0;
    	margin-left: 0px;
	}    
	
	.instagram:before {
		content: "\f16d";  
		font-family: FontAwesome;
		left:0px;
		position:absolute;
		color: black;
		top:0;
		z-index: -1;
	 }*/
	 .contact-margin {
	 	margin-top: 16px;
	 }
	
	/* sidebar */
	body.page .sidebar {
		display: none;
	}
	
	/* article */
	body.page article img {
		width: 100%;
		height: auto;
		margin-bottom: 1rem;
	}
	body.page article ul li p {
		display: none;
	}
	#welcome-vertical,
	#welcome-horizontal  {
		display: none;
	}
	img#welcome-vertical {
		width: 100%;
		height: auto;
	}
	img#welcome-horizontal {
		height: 70vh;
		max-height: 55rem;
		width: auto;
	}	
			
	/* loader */
	img#loader {
		display: block;
		position: absolute;
		width: auto;
		z-index: -9999;
	}
	
	/* portfolio */
	body.page article .content-slide-show {
		height: auto;
		display: none;
		margin-right: 0;	
	}
	
	/* portfolio credits */
	body.page #credits {
		display: none;
		margin-top: -1rem;
		text-align: justify;
	}
	body.page #credits p {
		margin: 0;
		padding: 0 0 2rem 0;
	}
	body.page #cycle-credits {
		display: none;
	}
	/*body.page article .content-slide-show .horizcredit {
	display: none;
	}*/
	
	/* portfolio navigation */
	.center {
		display: none;
	}
	
	/* isotope */
	body.page #container {
		width: 100%;
		display: none;
		margin: 3.6rem 0 2.4rem 0;
		/* overflow: hidden; */
	}
	body.page .grid-sizer {
		width: 49%;
	}
	body.page .gutter-sizer {
		width: 2%;
	}
	body.page .item {
		width: 49%;
		height: auto;
	}
	body.page article .item img {
		width: 100%;
		height: auto;
		opacity: 1;
		margin: 0;
		-webkit-filter: grayscale(100%);
		filter: grayscale(100%);
	}
	body.page article .item img:hover {
		opacity: 0.5;
	}
	body.page .item p {
		text-transform: uppercase;
		font-size: 1.2rem;
		line-height: 1.2rem;
		margin: 0;	
		width: 100%;
	} 
	body.page .item a {
		text-decoration: none;
		margin: 0;
	}
			
	/*scroller*/
	#up { 
		position: fixed;
		bottom: 4rem;
		right: 2.5%;
		cursor: pointer;
		display: none;
		z-index: 9999;
	}
	#up img {
		width: 5rem;
		height: auto;
	}

}
@media only screen and (min-width:550px) {
	/* isotope */
		body.page #container {
			margin: 0 0 2.4rem 0;
		}
		body.page .grid-sizer {
			width: 32%;
		}
		body.page .gutter-sizer {
			width: 2%;
		}
		body.page .item {
			width: 32%;
		}
}
@media only screen and (min-width:840px) {
	
	/* structure */
	body.page .wrapper {
		margin: 2.4rem 2.4rem 0 6rem;	
		width: auto;
		max-width: 95%;
	}	
	
	/* structure */
	body.page .wrapper #headermenu {
	}
	
	/* header */
	body.page .header {
		position: fixed;
		top: 2.4rem;
		height: 6.5rem;
		width: 100%;
	}
	body.page .header .nav {
		display: none;
	}
	
	/* article */
	body.page article {
		margin-top: 8.9rem;
		margin-left: 20rem;
	}
	body.page article img {
		width: auto;
		height: auto;
		margin-bottom: 0;
	}
	body.page article ul li p {
		display: block;
	}
	body.page-template-page-text article {
		width: 55rem;
	}
	img#welcome-vertical {
		height: 70vh;
		max-height: 55rem;
		width: auto;
	}
	img#welcome-horizontal {
		height: 70vh;
		max-height: 55rem;
		width: auto;
	}
	
	/* portfolio */
	body.page article .content-slide-show {
		height: calc(100vh - 7.4rem);
		display: none;
		margin-right: 14.4rem;	
	}
	body.page article .cycle-slideshow .cycle-slide {	
		display: table;
		border-collapse:separate;
		margin-bottom: 2.4rem;
	}	
	body.page article .cycle-slideshow .cycle-slide .left {	
		display: table-cell;
		padding-right: 0.5rem;
	}
	body.page article .cycle-slideshow .cycle-slide .right {
		padding-right: 0.5rem;	
		display: table-cell;
	}
	body.page article .cycle-slideshow .cycle-slide img  {
		height: 70vh;
		max-height: 55rem;
		width: auto;
		/*cursor: pointer;*/
	}
	
	/*portfolio credits */	
	body.page #cycle-credits {
		display: block;
	}
	body.page #cycle-credits p {
		margin: 0;
		padding: 0;
		width: 80%;
	}
	/*body.page article .content-slide-show .horizcredit {
	display: block;
	}*/
	
	/* portfolio navigation */
	body.page .center {
		position: absolute;
		bottom: 1.6rem; 
		font-weight: normal;
		margin-bottom: 1rem;
		z-index: 9999;
		}
	body.page .center a {
		text-decoration: none;
	}
	body.page .center #custom-caption {
		display: inline;
	}
	body.page .center .cycle-slideshow {
		margin: 0;
	}
	body.page .center span{
		padding: 0 0.5rem;
	}
	
	/* isotope */
	body.page #container {
		margin: 0 0 2.4rem 0;
		width: 85%;
	}
	body.page .grid-sizer {
		width: 24%;
	}
	body.page .gutter-sizer {
		width: 1.33%;
	}
	body.page .item {
		width: 24%;
	}
	
	/* horizontal portfolio */
	body.page article .horizontal {
		white-space: nowrap;
		height: 100%;
	}
	body.page article .horizontal .horizitem {
		display: inline-block;
		vertical-align: top;
		padding-right: 3rem;
	}	
	body.page article .horizontal .horizitem .horizimg img {
		height: 70vh;
		max-height: 55rem;
		width: auto;
	}
	.horizcredit {
	}
	
	/* sidebar */
	body.page .sidebar {
		position: fixed;
		display: block;
		top: 8.9rem;
		left:0;
		padding-left: 6rem;
		width: 20rem;
		height: 100%;
		background: white;
	}
	.sidebar ul li {
		margin-bottom: 0;
	}
	.sidebar ul li a {
		text-transform: uppercase;
		font-size: 1.1rem;
		line-height: 1.4rem;
		margin-bottom: 0;
		text-decoration: none;

	}
	.sidebar ul li.current_page_item a,
	.sidebar ul li a:hover {
		text-decoration: underline;
	}
	body.page .sidebar #nav_menu-2 ul,
	body.page .sidebar #nav_menu-3 ul {
		margin-bottom: 1.6rem;
	}
	body.page .sidebar #nav_menu-2 ul li {
		font-weight: normal;
	}
	body.page .sidebar #custommetawidget-3 h3 {
		display: none;
	}
}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {
	
	/* isotope */
	body.page .grid-sizer {
		width: 19%;
	}
	body.page .gutter-sizer {
		width: 1%;
	}
	body.page .item {
		width: 19%;
	}
}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

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

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
}
.aligncenter,
div.aligncenter {
	display:block;
}
.alignright {
	float:right;
}
.alignleft {
	float:left;
}
a img.alignright {
	float:right;
}
a img.alignnone {
}
a img.alignleft {
	float:left;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {
}
.bypostauthor {
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}