body {
margin:0px auto;
font-family: 'Droid Sans', sans-serif;
text-align:center;
background-color:#E0A174;
color:#5B3A38;
}
a {
text-decoration:none;
color:#B32A00;
}
a:hover {
color:#fff;
}
.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:3px auto 0px;
float:right;
font-size:24px;
}
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;
}
.menu {
float:left;
margin:3px;
}
.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 {
font-size:12px;
line-height:15px;
width:180px;
height:240px;
/*height:260px;*/
overflow:hidden;
border:1px solid #B32A00;
border-radius:2px;
color:#fff;
background-color:#B32A00;
margin:3px;
padding:1px;
display:inline-block;
}
.photos a.cat {
line-height:15px;
width:180px;
height:270px;
overflow:hidden;
border:1px solid #B32A00;
border-radius:5px;
color:#fff;
background-color:#B32A00;
margin:3px;
padding:1px;
display:inline-block;
}
.photos a:hover, .photos a:hover.cat,  nav a:hover, nav a.current, .gallery-photos a:hover {
background-color:#fff;
border:1px solid #fff;
color:#B32A00;
}
.photos a img, .photos-partners a img {
width:180px;
height:240px;
}
.photos p.cat {
/*position:absolute;
left:0;
bottom:0;
width:100%;*/
margin:0px;
padding:3px;
font-size: 18px;
line-height: 20px;
height: 18px;
overflow:hidden;
}
.photos-partners a {
font-size:12px;
line-height:15px;
width:180px;
height:260px;
overflow:hidden;
border:1px solid #B32A00;
background-color:#B32A00;
border-radius:2px;
color:#fff;
margin:3px;
padding:1px;
display:inline-block;
}
.photos-partners a:hover {
background-color:#fff;
border:1px solid #fff;
color:#B32A00;
}
a.photos-partners-main{
font-size:12px;
line-height:15px;
width:180px;
height:260px;
overflow:hidden;
border:1px solid #B32A00;
background-color:#B32A00;
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:#B32A00;
}
.photos-partners-text a {
				background-color:#fff;
				border:3px solid #fff;
				border-radius:5px;
				color:#B32A00;
				padding:5px 10px;
				margin:2px 5px;
				display:inline-block;
}
.photos-partners-text a:hover {
				background-color:#B32A00;
				border:3px solid #B32A00;
				color:#fff;
}

nav {
display:block;
margin:5px auto;
}
nav a{
border:1px solid #B32A00;
border-radius:2px;
color:#B32A00;
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 0px 0px 10px;
}
.gallery-sidebar a img {
margin:0px 0px 10px 0px;
}
.gallery-sidebar-partners a{
margin:5px 0px;
padding:5px 3px;
display:block;
/*background-color:#FFEEE7;*/
border:1px solid #B32A00;
color:#B32A00;
}
.gallery-sidebar-partners a:hover{
background-color:#fff;
color:#B32A00;
}
.gallery-partners-text {
margin:10px auto;
max-width:90%;
}
.gallery-partners-text a {
padding:10px;
margin:4px 5px;
background-color:#fff;
color:#B32A00;
border:3px solid #fff;
border-radius:5px;
display:inline-block;
}
.gallery-partners-text a:hover {
background-color:#B32A00;
border:3px solid #B32A00;
color:#323232;
}

#gallery-photos {
float:left;
}
#gallery-photos a {
width:180px;
height:240px;
border:1px solid #B32A00;
border-radius:2px;
margin:3px;
padding:1px;
display:inline-block;
}
#gallery-photos a img {
width:180px;
height:240px;
}
#gallery-photos .gallery-link a {
width:98%;
height:auto;
margin:7px auto;
padding:5px;
font-size:30px;
border:1px solid #fff;
background-color:#fff;
color:#B32A00;
}
#gallery-photos .gallery-link a:hover {
background-color:#B32A00;
border:1px solid #B32A00;
color:#323232;
}
p.related {
font-size:30px;
margin:5px auto;
text-align:center;
}

/*	BIG PICTURE	*/
.picture-container {
		float:left;
		margin:5px;
		position:relative;
	}
	.picture-container a img{
		border:1px solid #B32A00;
		background-color:#B32A00;
		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:#fff;
		border:1px solid #B32A00;
		color:#B32A00;		
		border-radius:5px;		
		display:block;
	}
	.picture-container .gallery-link a:hover {
		border:1px solid #B32A00;
		background-color:#B32A00;
		color:#fff;
	}
	.picture-sidebar {
		width:300px;
		float:left;
		margin:10px 0px 0px 20px;		
	}
	.picture-sidebar a {
		float:left;
		margin:5px 0px;
	}

/*	PROMO	*/
.promo-container a{
width:300px;
height:250px;
margin:3px;
border:0px;
}
.promo-container a:hover{
border:0px;
}
.search_container {
			max-width:86%;
			margin:0px auto;
		}
		.search {			
			width:20%;
			position:relative;
			float:left;
		}
		.input-text {
			border-radius:3px;			
			height:30px;
			width:100%;
			padding-left:10px;
			overflow: hidden;
			font-family: 'Droid Sans', sans-serif;
		}
		.input-button {
			width:22px;
			height:22px;
			position:absolute;
			top:7px;
			right:-5px;
			border: none;
			cursor: pointer;
			background: url(search.png) repeat-x;			
		}
		.search_related {			
			width:78%;
			float:left;
			margin-left:20px;
		}
		
/*	MEDIA	*/
@media screen and (max-width:1200px) {
.search {
width:90%;
display:block;
float:none;
margin:0px auto;
}
.search_related {
width:90%;
display:block;
margin:2px auto;
font-size:12px;
line-height:16px;
float:none;
margin:0px auto;
}
}
@media screen and (max-width:1120px) {
.gallery-sidebar {
display:none
}
}
@media screen and (max-width:810px) {
.photos a{
width:160px;
height:213px;
} 
.photos-partners a, .photos a.cat{
width:160px;
height:240px;
}
.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) {
	.search {
width:90%;
}
.search_related {
width:90%;
}
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 {
width:140px;
height:187px;
}
.photos-partners a, .photos a.cat{
width:140px;
height:210px;
}
.photos a img, .photos-partners a img{
width:140px;
height:187px;
}
}
@media screen and (max-width:478px) {
.photos a {
width:120px;
height:160px;
}
.photos-partners a, .photos a.cat{
width:120px;
height:185px;
}
.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;
}
}
}