/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;	
}

html, body{
	width:100%;
	height:100%;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

body{
	font-family: 'Exo 2', sans-serif;
	font-weight:300;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

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

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body{
	background-color:#000;
	color:#cfcfcf;	
}

h1{
	color:#dfdfdf;
	font-size:20px;
	font-weight:400;
	margin:0 0 20px 0;
}
h2{
	color:#dfdfdf;
	font-size:16px;
	font-weight:400;
	margin:0 0 20px 0;
}

p{
	margin:10px 0;
}
#wrapper {width:100%;height:100%;display:table;}
#cell {display:table-cell; vertical-align:middle;}


section.content{
	width:860px;
	padding:30px 0;
	font-size:14px;
}

ul.intro{
	margin:0;
	padding:0;
	text-align:center;
	overflow:auto;
	margin:auto 0;	
}
ul.intro li{
	display:inline-block;
	width:160px;
	height:300px;
	border:2px solid #7F7C73;
	
	opacity:0.7;
	
	-webkit-transition: opacity 500ms linear;
	-moz-transition: opacity 500ms linear;
	-ms-transition: opacity 500ms linear;
	-o-transition: opacity 500ms linear;
	transition: opacity 500ms linear;
}

ul.intro li:hover{
	opacity:1;
}

ul.intro .logo{
	border:none;
	background:url(/img/logo-intro.png) no-repeat center center transparent;	
	width:200px;
	height:300px;
	opacity:1;	
	display:inline-block;
}
ul.intro li img{
	vertical-align: bottom;
}


@media (max-width: 1200px) {
	ul.intro li:first-child,
	ul.intro li:last-child{
		display:none;
	}	
}

header, section{
	width:980px;
	margin:0 auto;
}

header{
	padding-top:5px;	
}
header ul{
	margin:0;
	padding:0;
}
header ul li{
	list-style:none;
	display:inline-block;	
	line-height:55px;
}
header ul li:after{
	content:'\2726';
	color:#afafaf;
	display:inline-block;
	line-height:55px;
	padding:0 15px;
	font-size:10px;
}
header ul .logo:after,header ul li:last-child:after{
	content:'';
}
header ul .logo{
	list-style:none;
	display:inline-block;
	padding-left:60px;
	padding-right:50px;
	background:url(/img/logo-round.png) no-repeat left center transparent;
	color:#cfcfcf;
	line-height:55px;
	min-height:55px;
	vertical-align:top;
}
header ul .logo span.logo-text{
	display:inline-block;
	vertical-align: sub;
}
header ul .logo span.logo-text span.kardos-zsolt{
	font-family: 'Kaushan Script', cursive;
	font-size:22px;
	line-height:1;
	display:block;
}
header ul .logo span.logo-text span.erotic-photography{
	font-size:12px;
	line-height:1;
	display:block;
	text-align:center;
}
header ul li a{
	display: inline-block;
    height: 100%;
	
	border-bottom:2px solid rgba(156, 56, 56, 0);
	
	-webkit-transition: border-color 300ms linear;
	-moz-transition: border-color 300ms linear;
	-ms-transition: border-color 300ms linear;
	-o-transition: border-color 300ms linear;
	transition: border-color 300ms linear;
	
}
header ul li a:hover, header ul li.selected a{
	color:white;
	border-bottom:2px solid rgba(156, 56, 56, 1);
}
header ul li a{
	border:none;
}
header ul li a.logo:hover, header ul li.selected a.logo{
	border:none;
}


.gallery{
	
}
.gallery .gallery-item{
	display:inline-block;
	width:150px;
	height:150px;
	margin:0 15px 15px 0; 
	background-repeat:no-repeat;
	background-position:0 0;
}
.gallery .gallery-item.landscape{	
	background-size:auto 100%;
}
.gallery .gallery-item.portrait{	
	background-size:100% auto;
}
.pp_details .currentTextHolder{
	font-size:12px;
}






/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .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; /* h5bp.com/t */
    }

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