a {
  color:#000;
  text-decoration:underline;
}
a:hover {
  text-decoration:none;
}

h1, .h1 {
	margin:0 0 30px 0;
	padding:0 0 0 0;
	font-size:26px;
	line-height:1.3em;
	font-weight:normal;
	color:#000;
}
h2, .h2 {
	margin:0 0 20px 0;
	padding:0 0 0 0;
	font-size:24px;
	color:#000;
	line-height:1.3em;
}
h3, .h3 {
	margin:0 0 5px 0;
	padding:0;
	font-size:22px;
	color:#000;
	line-height:1.3em;
}
h4, .h4 {
	margin:0 0 5px 0;
	padding:0;
	font-size:17px;
	color:#000;
	line-height:1.3em;
}
h5, .h5 {
	margin:0 0 3px 0;
	padding:0;
	font-size:13px;
	color:#000;
	font-weight:normal;
	line-height:1.3em;
}


/*** ul def ***/
ul.def {
	margin:0 0 0 0;
	padding:0;
}
ul.def li {
	margin:0 0 9px 0;
	padding:0 0 0 15px;
	line-height:1.3em;
	background:url(../img/li.png) no-repeat 0 8px;
}
ul.def li:last-child {
	margin:0;
}


/*** table1 ***/
table.table1 {

}
table.table1 th, table.table1 td {
	vertical-align:middle;
}
table.table1 th {
	width:150px;
	font-size:90%;
	vertical-align:top;
	padding:15px 10px 5px 0;
	color:#000;
	text-align:left;
	text-transform:uppercase;
}
table.table1 thead th {
	padding-right:0;
}
table.table1 td, table.table1 th {
	border-bottom:1px solid #ddd;
}
table.table1 td {
	padding:5px 0 5px 0;
}
table.table1 input {
	width:250px;
}
table.table1 textarea {
	width:100%;
	height:100px;
}
table.table1 img {
  border:none;
}
table.table1 span.small-font {
  display:block;
  margin:5px 0 0 0;
}



/**** blok **********************************************************/
.blok {
	display:block;
	margin:0 0 15px 0;
	border:1px solid #ddd;
	border-bottom:2px solid #ddd;
	padding:30px;
	text-decoration:none;
	border-radius:3px;
	line-height:1.3em;
}






/**** fotogalerie **********************************************************/
div.fotogalerie-in {
	margin:0 0 0 0;
	background:#EBDDCF;
}




/*** format text ***/
.format-text h2 {
	padding:0;
	margin:0 0 15px 0;
	font-size:30px;
}
.format-text h3 {
	padding:0;
	margin:0 0 5px 0;
}
.format-text table {
	border-collapse:collapse;
	border-spacing:0;
	xwidth:100%;
	border:0!important;
}
.format-text table th, .format-text table td {
	vertical-align:top;
	padding:5px 5px 5px 0;
	border:0!important;
	border-bottom:1px solid #ccc!important;
	text-align:left;
}
.format-text table thead th {
	padding-right:0;
}
.format-text table th {
	padding-right:15px;
}

.format-text p {
	margin:0 0 0 0;
	padding:0 0 10px 0;
}

.format-text table.tab-gallery td {
	border:0!important;
	padding:0;
	text-align:center!important;
}

.format-text ul, .format-text ol {
	margin:0 0 15px 0px;
	padding:0;
}
.format-text ul li {
	list-style:none;
	margin:0 0 5px 10px;
	padding:0 0 0 20px;
	background:url(../img/li.png) no-repeat 0 7px;
	text-align:left;
}
.format-text ol li {
	margin:0 0 7px 25px;
	padding:0 0 0 0;
	text-align:left;
}
.format-text ul.double-li {
	float:left;
	width:260px;
	margin-right:20px;
}
.format-text img {
	margin:0 0 5px 0;
	border:1px solid #ccc;
	border-bottom:2px solid #ccc;
	padding:5px;
	background:white;
	border-radius:3px;
}
.format-text img.bord {
	border:2px solid #ccc;
}
.format-text img.f-left {
	margin:0 15px 5px 0;
}
.format-text img.f-right {
	margin:0 0 5px 15px;
}

.format-text a:hover img {
	border-color:#aaa;
}

.unusedfotos img {
	margin:0 10px 10px 0;
}






/*** pagemenu ***/
ul.pagemenu {
	border-bottom:1px solid #ccc;
	margin:0 0 30px 0;
	display:flex;	
}
ul.pagemenu li {
	position:relative;
}
ul.pagemenu li a {
	display:block;
	padding:20px 25px 20px 25px;
	border:1px solid #ccc;
	text-transform:uppercase;
	border-right:0;
	font-size:13px;
	background:white;
	margin:0 0 -1px 0;
	text-decoration:none;
}
ul.pagemenu li a:hover {
	text-decoration:none;
}
ul.pagemenu li:not(.act) a:hover {
	background:#f5f5f5;
}
ul.pagemenu li:last-child a {
	border-right:1px solid #ccc;
}
ul.pagemenu li.act:before {
	content:"";
	position:absolute;
	top:-5px;
	left:0;
	right:-1px;
	height:4px;
	background:#000;
	border-bottom:0;
}
ul.pagemenu li.act:last-child:before {
	right:0;
}
ul.pagemenu li.act a {
	color:#000;
	border-bottom:1px solid white;
}




/*** flex-tab ***/
.flex-tab {
	display:flex;
	flex-direction:column;
}
.flex-tab-tr {
	display:flex;
	color:black;
	text-decoration:none;
	padding:10px 0 10px 0;
	border-bottom:1px solid #ccc;
}
.flex-tab-tr:hover {
	background:#f5f5f5;
}
.flex-tab-tr.lightred-bg:hover {
	background:#e8c0c5!important;
} 
.flex-tab-tr.lightgreen-bg:hover {
	background:#ccdfc9!important;
} 
.flex-tab-tr span {
	padding:0 10px 0 10px;
}






/*** perex ***/
.perex {
	display:block;
	margin:0 0 15px 0;
	border:1px solid #ddd;
	border-bottom:2px solid #ddd;
	padding:30px;
	text-decoration:none;
	border-radius:3px;
}
.perex .date {
	float:right;
	font-size:12px;
}
.perex .title {
	display:block;
	font-size:18px;
	font-weight:bold;
	margin:0 0 15px 0;
}
.perex .txt {
	display:block;
}

.perex:hover {
	border-color:#aaa;
}




