body {
margin:0px auto;
font-family: 'Droid Sans', sans-serif;
text-align:center;
background-color:#dad3d0;
color:#551e05;
}
a {
text-decoration:none;
color:#9c0000;
}
a:hover {
color:#000;
}
.clear {
clear:both
}

.container {
max-width:100%;
margin:0px auto;
}

header {
max-width:86%;
margin:0px auto;
}
header a {
/*color:#E94800;*/
}
header h1 a, header h2 a{
font-size:40px;
line-height:45px;
margin-right:10px;
float:left;
}
header p {
margin:0px auto;
font-size:14px;
}
header h1.category{
margin:5px auto;
float:left;
}
header h1.gallery{
font-size:20px;
margin:0px auto;
float:none;
text-align:center;
}
header h2.gallery {
margin:0px auto;
float:none;
text-align:center;
display:inline-block;
}
.photos, .photos-partners {
display:flex;
justify-content:center;
align-items:center;
flex-wrap:wrap;
align-content:flex-start;
max-width:98%;
margin:10px auto
}
.photos a.cat {
line-height:15px;
width:200px;
height:297px;
overflow:hidden;
border:1px solid #551e05;
border-radius:2px;
color:#551e05;
background-color:#fff;
margin:3px;
padding:1px;
display:inline-block;
}
.photos a {
font-size:12px;
line-height:15px;
width:200px;
height:267px;
overflow:hidden;
border:1px solid #551e05;
border-radius:2px;
color:#551e05;
background-color:#fff;
margin:3px;
padding:1px;
display:inline-block;
}
.photos a:hover, nav a:hover, nav a.current, .gallery-photos a:hover {
background-color:#551e05;
border:1px solid #551e05;
color:#fff;
}
.photos a img, .photos-partners a img {
width:200px;
height:267px;
}
.photos p.cat {
margin:0px;
padding:3px;
font-size: 18px;
line-height: 20px;
height: 18px;
overflow:hidden;
}
.photos-partners a {
font-size:12px;
line-height:15px;
width:200px;
height:297px;
overflow:hidden;
border:1px solid #551e05;
background-color:#551e05;
border-radius:2px;
color:#fff;
margin:3px;
padding:1px;
display:inline-block;
}
.photos-partners a:hover {
background-color:#fff;
border:1px solid #fff;
color:#551e05;
}
a.photos-partners-main{
font-size:12px;
line-height:15px;
width:200px;
height:300px;
overflow:hidden;
border:1px solid #551e05;
background-color:#551e05;
border-radius:2px;
color:#fff;
margin:3px;
padding:1px;
display:inline-block;
}
a.photos-partners-main:hover{
background-color:#fff;
border:1px solid #fff;
color:#551e05;
}

nav {
display:block;
margin:5px auto;
}
nav a{
border:1px solid #9c0000;
border-radius:2px;
color:#9c0000;
padding:3px 5px;
margin:3px 1px;
display:inline-block;
}

footer {
font-size:12px;
margin:5px auto;
}

/*	GALLERY	*/
.gallery-container {
display:flex;
justify-content:center;
align-items:flex-start;
flex-wrap:wrap;
align-content:flex-start;
max-width:98%;
margin:10px auto
}
.gallery-info {
margin:5px auto;
}
.gallery-sidebar {
width:300px;
float:left;
margin:0px 10px 0px 0px;
}
.gallery-sidebar a img {
margin:0px 0px 10px 0px;
}
.gallery-sidebar-partners a{
margin:5px 0px;
padding:5px 3px;
display:block;
/*background-color:#FFEEE7;*/
color:#551e05;
border:1px solid #551e05;
}
.gallery-sidebar-partners a:hover{
background-color:#551e05;
color:#fff;
}
.gallery-photos {
float:left;
}
.gallery-photos a {
width:180px;
height:240px;
border:1px solid #551e05;
border-radius:2px;
margin:3px;
padding:1px;
display:inline-block;
}
.gallery-photos a img {
width:180px;
height:240px;
}
.gallery-link a {
width:98%;
height:auto;
margin:7px auto;
padding:5px;
font-size:30px;
background-color:#551e05;
border:1px solid #551e05;
color:#fff;
}
.gallery-link a:hover {
background-color:#fff;
border:1px solid #fff;
color:#551e05;
}
p.related {
font-size:30px;
margin:5px auto;
text-align:center;
}

/*	PROMO	*/
.promo-container a{
width:300px;
height:250px;
margin:3px;
border:0px;
}
.promo-container a:hover{
border:0px;
}

/*	MEDIA	*/
@media screen and (max-width:1120px) {
.gallery-sidebar {
display:none
}
}
@media screen and (max-width:810px) {
.photos a.cat, .photos-partners a {
width:160px;
height:243px;	
}
.photos a {
width:160px;
height:213px;
}
.photos a img, .photos-partners a img, .gallery-photos a, .gallery-photos a img{
width:160px;
height:213px;
}
.gallery-link a {
width:98%;
height:auto;
}
}

@media screen and (max-width:540px) {
header h1, header h2{
display:inline;
}
header h1 a, header h2 a, header h1.category, header h1.gallery{
font-size:20px;
line-height: 22px;
display:block;
float:none;
text-align:center;
}
header p {
font-size:12px;
display:block;
clear:both;
}
footer {
font-size:10px;
}
.photos a.cat, .photos-partners a{
width:140px;
height:217px;
}
.photos a{
width:140px;
height:187px;
}
.photos a img, .photos-partners a img{
width:140px;
height:187px;
}
}
@media screen and (max-width:478px) {
.photos a.cat, .photos-partners a {
width:120px;
height:190px;
}
.photos a{
width:120px;
height:160px;
}
.photos a img, .photos-partners a img{
width:120px;
height:160px;
}
.gallery-link a {
width:98%;
height:auto;
font-size:24px;
}
.gallery-info {
font-size:12px;
}
}
@media screen and (max-width:370px) {
.gallery-photos a, .gallery-photos a img{
width:120px;
height:160px;
}
.gallery-link a {
width:98%;
height:auto;
}
}
}
/*	BIG PICTURE	*/
.picture-container {
		float:left;
		margin:5px;
		position:relative;
	}
	.picture-container a img{
		border:1px solid #AE9880;
		background-color:#AE9880;
		border-radius:3px;
		margin:3px;
		padding:3px;
		max-width:800px;
	}
	.picture-container a:hover img{
		border:1px solid #fff;
		background-color:#fff;
	}
	.picture-container a .next {
	background-image:url(/next.png);	
	z-index:-999;
	display:none;	
	}
	.picture-container a:hover .next {
	position:absolute;
	right:3%;
	top:40%;
	z-index:999;
	display:inline-block;
	width:100px;
	height:200px;		
	}
	.picture-container .gallery-link a {
		width:100%;
		height:auto;
		margin:7px auto;
		padding:10px 5px;
		font-size:30px;
		background-color:#914B38;
		border:1px solid #914B38;
		color:#fff;
		border-radius:5px;		
		display:block;
	}
	.picture-container .gallery-link a:hover {
		background-color:#fff;
		border:1px solid #914B38;
		color:#914B38;
	}
	.picture-sidebar {
		width:300px;
		float:left;
		margin:10px 0px 0px 20px;		
	}
	.picture-sidebar a {
		float:left;
		margin:5px 0px;
	}
