/*
Theme Name: Pavla Beranova
Theme URI: http://pavlaberanova.com/
Author: PHP SmashCode
Author URI: http://phpsmashcode.com/
Description: WordPress theme developed for pavlaberanova.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, fixed-layout, responsive-layout, custom-menu, featured-images
Text Domain: pavlaberanova

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

@charset "utf-8";
/* CSS Document */

html {
    left: 0;
    top: 0;
    width: 100%;
    image-rendering: optimizequality;
}
body {
	background: #e8e9e4;
	margin: 0;
	padding: 0;
}

/* IMPORTANT FADE OF CONTENT */

#fade {
	opacity: 0;
}

/* BORDER */

#top, #bottom, #left, #right {
	background: #fff;
	position: fixed;
	z-index: 999;
}
#left, #right {
	top: 0; bottom: 0;
	width: 20px;
}
#left { left: 0; }
#right { right: 0; }
#top, #bottom {
	left: 0; right: 0;
	height: 20px;
}
#top { top: 0; }
#bottom { bottom: 0; }

h1 {
	margin-bottom: 15px;
	text-transform: uppercase;
	font-size: 1rem;
	font-weight: normal;
}

/* SELECTION */

::selection{background-color:#d6d6d4;color:#333;}
::-moz-selection{background-color:#d6d6d4;color:#333;}

a {	color: #333; text-decoration: none; -moz-transition: 0.2s color linear; -webkit-transition: 0.2s color linear; transition: 0.2s color linear; }
a:hover { color: #996600; text-decoration: none; }

img {
	width: 100%;
	height: auto;
	border: 0;
}
#wrapper {
	max-width: 960px;
	margin: 20px;
}

/* NAV */

.logo {
	max-width:405px;
	margin: 45px 20px 5px 25px;
}
.baseline {
	max-width:450px;
	margin: 0 0 25px 0;
	font-size: 0.9rem;
    font-family: 'DidotLTStdRoman';
	letter-spacing: 8px;
	text-align: right;
}
nav ul {
    margin-bottom: 30px;
}
nav li {
	margin-bottom: 3px;
	list-style-type: none;
	letter-spacing: 3px;
	font-size: 0.9rem;
}

/* CONTENT */

#half {
	position: relative;
	float: left;
	max-width: 440px;
	margin: 0 0 0 30px;
	padding: 5px 0;
	font-size: 0.9rem;
    font-family: 'DidotLTStdRoman';
}
.right {
	float: right !important;
	font-size: 1rem;
	font-style: italic;
}
.right img{
	margin: 7px 0 0 0;
	transition: all 0.9s ease 0s;
}
.title {
	font-size: 0.9rem;
	font-style: normal;
	letter-spacing: 2px;
	color: #333;
}

/* HOEMPAGE */

.lastnews img {
	margin-bottom: 5px !important;
	opacity: 1 !important;
}

/* PROJECTS MOSAIQUE */

#portfolio img {
  filter: gray; /* IE6-9 */
  filter: grayscale(1); /* Firefox 35+ */
  -webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */
}
/* Disable grayscale on hover */
#portfolio img:hover {
  filter: none;
  -webkit-filter: grayscale(0);
}
#portfolio {
	margin-left:90px;
}
#grey {	
	max-width: 187px;
	float: left !important;
	margin: 0;
	padding: 30px 0 0 30px;
	font-size: 1rem;
	font-style: italic;
}
#grey img{
    opacity: 0.4;
	transition: all 0.9s ease 0s;
}
#grey img:hover{
    opacity: 1;
}
.caption {
	color: #e8e9e4;
	font-size: 0.8rem;
	transition: all 0.9s ease 0s;
}
.caption:hover {
	color: #000;
}
.spacer {
	max-width: 960px;
	height: 80px;
}

/* PROJECTS PAGE */

.cast {
	color: #666;
	text-decoration: underline;
}
.summary {
	font-size: 0.95rem;
}
.info-title {
	margin: 50px 0 10px 0;
	text-align: center;
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
	font-size: 0.70rem;
	letter-spacing: 4px;
}
.press {
	width: 90%;
	margin: 15px 0 25px 0;
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
	font-size: 0.85rem;
	color: #333;
}
 hr { 
 	border: 0;
	height: 1px;
	background: #333;
	background-image: linear-gradient(to right, #ccc, #333, #ccc);
}
.credit {
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
	font-size: 0.70rem;
	text-align: right;
	letter-spacing: 1px;
	color: #999;
}
iframe {
    margin-top: 10px;
}
.right img {
    margin: 5px 0 0;
    /*opacity: 0.7;*/
    transition: all 0.9s ease 0s;
}
.right img:hover {
    opacity: 1;
}

/* EXPERIENCE */

#full {
	position: relative;
	float: left;
	max-width: 700px;
	margin: 0 0 0 30px;
	padding: 5px 0;
	font-size: 0.9rem;
    font-family: 'DidotLTStdRoman';
}
#full img {
	width: auto;
}
#full > ul {
    margin-bottom: 50px;
}
#full li {
	margin: 0 0 12px 0;
	padding: 0;
	list-style-type: none;
	color: #333;
}
.cv > li {
    line-height: 1rem;
}
.title-cv {
    font-size: 0.95rem;
    font-style: normal;
    letter-spacing: 2px;
	color: #000;
}
.colleft {
	float: right;
	max-width: 230px;
}
.btn {
	max-width:450px;
	height:20px;
	margin: -20px 0 30px 40px;
	border: 1px solid #b8b8b8;
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
	text-align: center;
	letter-spacing: 1px;
}
.btn:hover {
	background-color: #cbcbcb;
	color: #fff !important;	
    transition: all 0.5s ease 0s;
}
.date {
	float: left;
	width: 87px;
}

/* LIGHTBOX  */

.lightbox {
	/** Default lightbox to hidden */
	display: none;

	/** Position and style */
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 100%;
	text-align: center;
	top: 0;
	left: 0;
	background: rgba(232,233,228,0.9);
}

.lightbox img {
	/** Pad the lightbox image */
	margin-top: 5%;
	max-width: 30%;
	max-height: 80%;
}

.lightbox:target {
	/** Remove default browser outline */
	outline: none;

	/** Unhide lightbox **/
	display: block;
}

/* FONT */


@font-face {
    font-family: 'DidotLTStdItalic';
    src: url('font/Didot/didotltstd-italic-webfont.eot');
    src: url('font/Didot/didotltstd-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/Didot/didotltstd-italic-webfont.woff') format('woff'),
         url('font/Didot/didotltstd-italic-webfont.ttf') format('truetype'),
         url('font/Didot/didotltstd-italic-webfont.svg#DidotLTStdItalic') format('svg');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'DidotLTStdRoman';
    src: url('font/Didot/didotltstd-roman-webfont.eot');
    src: url('font/Didot/didotltstd-roman-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/Didot/didotltstd-roman-webfont.woff') format('woff'),
         url('font/Didot/didotltstd-roman-webfont.ttf') format('truetype'),
         url('font/Didot/didotltstd-roman-webfont.svg#DidotLTStdRoman') format('svg');
    font-weight: normal;
    font-style: normal;

}

@media screen and (max-width: 980px) {
	
/* PROJECTS PAGE */

.right {
    float: left !important;
	margin-top: 45px !important;
    font-size: 1rem;
    font-style: italic;
}

/* EXPERIENCE */

.colleft {
	float: left;
	max-width: 230px;
	margin-left: 40px;
}
	
}

@media screen and (max-width: 600px) {
	
/* PROJECTS MOSAIQUE */

#portfolio {
    margin: 30px;
}
#grey {	
	max-width: 480px;
	float: none !important;
	margin: 0;
	padding: 0;
}
#grey img {
    opacity: 1;
}
#portfolio img {
	filter: none;
	margin-top: 15px;
}
/* Disable grayscale on hover */
#portfolio img:hover {
	filter: none;
	-webkit-filter: grayscale(0);
}
.caption {
	color: #000;
}

/* PROJECTS PAGE */

#half {
    float: none;
    margin: 0 30px;
}

/* EXPERIENCE */

#full {
    margin: 0 20px 0 0;
}

}

/* iPhone 5 & 5S in portrait */

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) 
and (orientation : portrait) {
	
/* LIGHTBOX */

.lightbox img {
	/** Pad the lightbox image */
	margin-top: 20%;
	max-width: 100%;
	max-height: 80%;
}

/* PROJECTS MOSAIQUE */
/* Disable grayscale on hover */

#portfolio img:hover {
	filter: none;
	-webkit-filter: grayscale(0);
}
	
}

@media screen and (max-width: 320px) {
	
.baseline {
    font-size: 0.6rem;
}
	
}

/* BORDER */

@media 

/* Fairly small screens including iphones */
only screen and (max-width: 500px),

/* iPads */
only screen and (min-device-width: 500px) and (max-device-width: 960px) 

{
	#top, #bottom, #left, #right { display: none; }
}
