body {
	margin: 0 0 200px;
	padding: 0;
	font-family: Arial, sans-serif;
	font-size: 14px;
	background-color: #B38551;
	background-image: url("../images/hatterkep.jpg");
}
.maintable {
	width: 930px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
.subtable{
	overflow-x: auto;
	padding: 0px 0;
	border-radius: 20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border: 4px solid #e0e0e0;
	position: relative;
	top: 0;
	text-align: center;
	margin: 10px;
	background-color: #fff;
}
a,
.gallery img {
	transition: all 150ms linear;
	-webkit-transition: all 150ms linear;
	-moz-transition: all 150ms linear;
}

.right {
    float: right;
	width: 480px;
	overflow-x: auto;
	text-align: center;
}
.left {
    float: left;
	text-align: center;
}

.gallery {
	width: 900px;
	overflow: hidden;
	margin: 10px;
	margin-right: 10px;
	padding-top: 10px;
	
}
.gallery td {
	vertical-align: top;
}
.gallery img {
	border-radius: 20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	margin-right: 10px;
	border: 4px solid #e0e0e0;
	position: relative;
	top: 0;
}
.gallery a:hover img {
	top: -5px;
	border: 4px solid #999;
}
.gallery a.active img {
	border: 4px solid #F00;
}
.gallery p{
	margin-top: 0px; 
	margin-bottom: 0px;
}


.details {
	margin: 0 0 20px 0;
	padding: 0px; 
}
.params::after {
	clear: both;
	content: '';
	display: block; 
}
.params table {
	float: left;
	padding: 15px 0;
	table-layout: fixed;
	width: 50%; 
}
.params table tr td {
	padding: 10px 0;
	font-size: .9em;
	border-bottom: 1px solid #ddd; 
}
.params table tr td:nth-child(odd) {
	font-weight: bold; 
}
.params table tr td.is-empty {
	color: #bbbbbb; 
}
.params table:first-of-type {
	border-right: 1px solid #ddd; 
}
.params table:last-of-type tr td:first-of-type {
	padding-left: 20px;
}
.desc {
	text-align: justify;
	font-size: 1em;
	line-height: 1.5em;
	margin: 20px; 
}
.contact {
	text-align: center;
	font-size: 1.1em;
	line-height: 1.5em;
	margin: 20px; 
}
.page {
	text-align: left;
	margin-left: 20px;
}
div.pagination {
	text-align: center;
}

ul.pag {
    display: inline-block;
    padding: 0;
    margin: 0;
}

ul.pag li {display: inline;}

ul.pag li a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 5px;
	background-color: #fff;
	margin-left: 5px;
}

ul.pag li a.active {
    background-color: #7F7F7F;
    color: white;
    border-radius: 5px;
}

ul.pag li a:hover:not(.active) {
	background-color: #999;
	margin-top: -5px;
}
.email {
	color: black;
	text-decoration: none;
	font-weight: bold;
}
.email:hover {
	color: #999;
}