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

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


h1, 
h2, 
h3, 
h4,
h5,
h6 {
    margin: 0;
    font-size: 1.29em;
    font-weight: normal; 
    line-height: 1.33;
    word-wrap: break-word;
} 


/* Forms */

button,
input,
select,
textarea {
	font-family: inherit;
    font-size: 100%;
    line-height: 1.71;
    margin: 0;
    vertical-align: baseline;
    *vertical-align: middle;
}

button,
input {
    line-height: normal;
    *overflow: visible;
}

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

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

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-decoration {
    -webkit-appearance: none;
}

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

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
	border: none;
	border-radius: 2px;
	box-shadow: 0 0 4px rgba(162,130,92,.2);
	color: #a2825c;
	outline: none;
	padding: .5em;
	width: 100%;
}

textarea {
    overflow: auto;
    vertical-align: top;
    width: 100%;
}

.form__field {
	margin-bottom: 18px;
}

@font-face {
	font-family: 'simonemaurina';
	src: url("../fonts/simonemaurina.eot");
	src: url("../fonts/simonemaurina.eot?#iefix") format('embedded-opentype'), url("../fonts/simonemaurina.woff") format('woff'), url("../fonts/simonemaurina.ttf") format('truetype'), url("../fonts/simonemaurina.svg#simone") format('svg');
	font-weight: normal;
	font-style: normal;
}

[data-icon]:before {
	font-family: simonemaurina;
	font-size: 120%;
	font-weight: normal;
	content: attr(data-icon);
	line-height: 1;
	padding-right: .3em;
	speak: none;
}


/* BASE
---------------------------------------------------------------------------- */

html {
	height: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -ms-text-size-adjust: 100%;
}

body {
	background: #f2f5ef url( '../images/bg.jpg' ) fixed;
    margin: 0 auto;
    font: 87.5%/1.71 Georgia, Times, Times New Roman, serif;
    color: #a2825c;
    position: relative;
}

p {
	margin: 0;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.area-title {
	margin: 0;
}

a {
	text-decoration: none;
}
a:link {
	color: #a2825c;
	font-weight: bold;
}
a:visited {
	color: #a2825c;
}
a:hover,
a:focus {
	color: #82684a;
	-webkit-transition: color .2s ease-out;
    -moz-transition: color .2s ease-out;
    -o-transition: color .2s ease-out;    
    transition: color .2s ease-out;
}
a:active {}

/*
=HEADER
-----------------------------*/

#site-header {
	padding: 18px;
	width: 340px;
}

#site-title {
	height: 75px;
	margin: 0;
	overflow: hidden;
	position: relative;
	text-indent: -9999px;
	width: 280px;
}

#site-title a {
	background: url(../images/logo.png) left top no-repeat;
	display: block;
	height: 100%;
	width: 100%;
}

#content {
	padding: 18px;
}

#site-title {
	margin: 0;
}

#menu {
	font-size: 1.43em;
	line-height: 1.2;
	margin-top: 24px;
	text-transform: lowercase;
}

#menu a {
	text-decoration: none;
}

#menu a.active {
	font-style: italic;
}

#description {
	color: #bba487;
	font-size: 1em;
	font-style: italic;
	font-weight: normal;
	line-height: 1.71;
	margin: 24px 0 0 0;
}

.vcard {
	font-size: 1em;
	font-style: normal;
	line-height: 1.71;
	margin: 24px 0 0 0;
}

#form--contact {
	margin-top: 24px;
	width: 90%;
}

.text::-webkit-input-placeholder {
   color: #bba487;
}

.text:-moz-placeholder {  
   color: #bba487;  
}

.button {
	background-color: #bba487;
	border: 1px solid #af9471;
	border-radius: 2px;
	color: #fff;
	font-style: italic;
}

.button:hover {
	background-color: #869e56;
	border-color: #73884a;
	-webkit-transition: background-color .2s;
	-moz-transition: background-color .2s;
	-ms-transition: background-color .2s;
	-o-transition: background-color .2s;
	transition: background-color .2s;
}

#licence {
	font-size: 1em;
	opacity: .5;
	position: absolute;
	bottom: 24px;
	left: 24px;
	-o-transition: opacity .1s linear;
	-moz-transition: opacity .1s linear;
	-webkit-transition: opacity .1s linear;
	transition: opacity .1s linear;
}

#licence:hover {
	opacity: 1;
}

#licence p {
	display: inline;
}

.grid {
	margin-left: -18px;
}

.photo {
	background: #fff;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	-moz-box-shadow: 0 0 4px rgba(162,130,92,.2);
	-webkit-box-shadow: 0 0 4px rgba(162,130,92,.2);
	box-shadow: 0 0 4px rgba(162,130,92,.2);
	display: block;
	padding: 9px;
	position: relative;
}

.photo img {
	display: block;
	visibility: hidden;
}

.please-dont-steal-this-photo {
	display: block;
	height: 100%;
	width: 100%;
}

.grid .photo {
	float: left;
	margin: 0 0 18px 18px;
}

.note {
	background: #fff;
   position: relative;
   padding: 1em 1.5em;
   overflow: hidden;
}

.note:before {
   content: "";
   position: absolute;
   top: 0;
   right: 0;
   border-width: 0 16px 16px 0;
   border-style: solid;
   border-color: #f2f5ef #f2f5ef #e1e181 #e1e181;
   background: #e1e181;
   display: block;
   width: 0;
}

.note--header {
	background: #FAFA90;
	color: #a88a67;
	font-size: 1.14em;
	line-height: 1.5;
	margin-bottom: 24px;
	max-width: 70%;
}

.photo__name {
	background: #fe6;
	border-radius: inherit;
	color: #2B2218;
	font-style: italic;
	font-weight: 700;
	line-height: 1.5;
	padding: .5em;
	position: absolute;
	bottom: 1em;
	right: 1em;
	text-align: center;
}

.cf:before,
.cf:after { content:""; display: table }
.cf:after { clear: both }
.cf {
	zoom: 1;
}

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

::selection {
	background: #fe6;
	color: #000;
	text-shadow: none;
}

@-webkit-keyframes wiggle {
  0% {
    -webkit-transform: rotate(-0.5deg);
    }

  50% {
    -webkit-transform: rotate(0.5deg);
     }

  100% {
    -webkit-transform: rotate(-0.5deg);
     } }
     
     
.animated {
	-webkit-animation-duration: 1s;
	   -moz-animation-duration: 1s;
	     -o-animation-duration: 1s;
	        animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	   -moz-animation-fill-mode: both;
	     -o-animation-fill-mode: both;
	        animation-fill-mode: both;
}

@-webkit-keyframes bounce {
	0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);}
	40% {-webkit-transform: translateY(-30px);}
	60% {-webkit-transform: translateY(-15px);}
}

@-moz-keyframes bounce {
	0%, 20%, 50%, 80%, 100% {-moz-transform: translateY(0);}
	40% {-moz-transform: translateY(-30px);}
	60% {-moz-transform: translateY(-15px);}
}

@-o-keyframes bounce {
	0%, 20%, 50%, 80%, 100% {-o-transform: translateY(0);}
	40% {-o-transform: translateY(-30px);}
	60% {-o-transform: translateY(-15px);}
}
@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
	40% {transform: translateY(-30px);}
	60% {transform: translateY(-15px);}
}

.bounce {
	-webkit-animation-name: bounce;
	-moz-animation-name: bounce;
	-o-animation-name: bounce;
	animation-name: bounce;
}

.assistive-text {
	position: absolute !important;
	height: 1px; width: 1px; 
	overflow: hidden;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}


.page-title {
	font-size: 1.43em;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 24px;
}


/*
=LOGIN
-----------------------------*/

#form--login {
	background: #fff;
	background: rgba(255,255,255,.5);
	border-radius: 2px;
	padding: 24px;
	width: 316px;
}

.form__title {
	margin-bottom: 24px;
}



/*! fancyBox v2.1.0 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: #f9f9f9;
	color: #444;
	text-shadow: none;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	        border-radius: 4px;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
	position: relative;
}

.fancybox-inner {
	overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
	background-image: url('../images/fancybox_sprite.png');
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url('../images/fancybox_loading.gif') center center no-repeat;
}

.fancybox-close {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 8040;
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('../images/blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	left: 0;
}

.fancybox-next {
	right: 0;
}

.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}

.fancybox-prev span {
	left: 10px;
	background-position: 0 -36px;
}

.fancybox-next span {
	right: 10px;
	background-position: 0 -72px;
}

.fancybox-nav:hover span {
	visibility: visible;
}

.fancybox-tmp {
	position: absolute;
	top: -9999px;
	left: -9999px;
	visibility: hidden;
}

/* Overlay helper */

.fancybox-lock {
	overflow: hidden;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	background: url('../images/fancybox_overlay.png');
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	position: relative;
	text-shadow: none;
	z-index: 8050;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 8050;
	text-align: center;
}

.fancybox-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 2px 20px;
	background: transparent; /* Fallback for web browsers that doesn't support RGBa */
	background: rgba(0, 0, 0, 0.8);
	-webkit-border-radius: 15px;
	   -moz-border-radius: 15px;
	        border-radius: 15px;
	text-shadow: 0 1px 2px #222;
	color: #FFF;
	font-weight: bold;
	line-height: 24px;
	white-space: nowrap;
}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	padding-top: 10px;
}

.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #000;
	background: rgba(0, 0, 0, .8);
}


/* MEDIA QUERIES
--------------------------- */


@media only screen and (min-width: 480px) {
	
	#site-header {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		width: 316px;
		z-index: 99;
	}
	
	#container {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
	}
	
	#content {
		padding-left: 334px;
	}
	
	.photo__name {
		opacity: .7;
		padding: .5em;
		position: absolute;
		bottom: 1em;
		right: 1em;
		text-align: center;
	}

	.photo:hover .photo__name {
		opacity: 1;
		-webkit-transition: opacity .3s ease-out;
		-moz-transition: opacity .3s ease-out;
		-ms-transition: opacity .3s ease-out;
		-o-transition: opacity .3s ease-out;
		transition: opacity .3s ease-out;
	}

}