HTML {-ms-overflow-y: scroll; overflow-y:scroll; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; }

:focus {
	outline:0px none !important;
}

.blok { display:block }
.inline { display:inline }
.b { font-weight:bold; }
.nobr { white-space:nowrap; }
.newline	{ clear:both; }
.left, TD.left, TR.left, DIV.left { text-align:left; }
TABLE.left, IMG.left, DIV.leftl { float:left; }
.right, TD.right, TR.right, DIV.right { text-align:right; }
TABLE.right, IMG.right, DIV.rightp { float:right; }
.center  { text-align:center; margin:auto; }
TABLE.center  { margin:auto; }
TD.center, TR.center, DIV.center { text-align:center; }
.justify, DIV.justify  { text-align:justify; }
.fullwidth  { width:100%; }

.err {
	color:#000000;
	padding:7px;
	margin:auto;
	border:1px solid #ff0000;
	background-color:#ffffcc;
	display:block;
}

.errform{
	color:#ff0000;
}

LABEL.error {
  background:url("../img/sys/ico/exclamation.png") no-repeat 0px 0px;
  background-repeat:no-repeat;	
  background-position:top left;	
  margin-left:4px;	
  padding-left:20px;
  padding-bottom:3px;
  font-weight:normal;
  color:#EA5200;
}

LABEL.checked {
  background:url("../img/sys/ico/accept.png") no-repeat 0px 0px;
  background-repeat:no-repeat;
  background-position:top left;	
  margin-left:4px;	
  padding-left:20px;
  padding-bottom:3px;
  font-weight:normal;
  color:#EA5200;	
}

INPUT.error, SELECT.error, TEXTAREA.error {
	border:1px solid #ff0000;
}

DIV.error  { color:#FF0000; }

DIV.error UL{
	padding:0px;
	margin:0px;
	padding-top:10px;
	list-style-type:square;
	font-size:11px;
}

DIV.nobutton{ 
	display: block; 
	font-weight:bold;
	background-image:url('../img/sys/button3.gif');	
	width:26px;
	height:26px;
	text-align:center;
	color : #000000; 
	text-decoration : none; 
} 

A.button, A.button:link	, A.button:visited, A.button:active { 
	display: block; 
	font-weight:bold;
	background-image:url('../img/sys/button.gif');
	width:26px;
	height:26px;
	text-align:center;
	color:#000000; 
	text-decoration : none; 
} 

A.button:hover { 
	background-image:url('../img/sys/button2.gif');
	text-decoration : none; 
} 

.button IMG, .nobutton IMG {
	border:0px none;
}

#err_box {
	background-color:#f7f9fb;
	border:1px dotted #ed051b;
	padding:20px;
	font-family:Tahoma;
	font-size:12px;
	color:#790000;
	z-index:1000;
	position:fixed; left:0px; right:0px; top:10px;
	width:700px; margin:auto;
	display:none;
}

* html #err_box { position:absolute; }

#err_hide {
	clear:both;
	color:blue;
	width:16px;
	height:16px;
	text-align:right;	
	float:right;
	cursor:pointer;
	background-image:url('../img/sys/ico/cross.png');	
}

#err_field {
	font-weight:bold;
	display:block;
	text-align:left;
	line-height:160%;
	color:#ff0000;	
}

.error  { color: #FF0000; }


.aframe { 
	border:1px solid #666666;
	padding:5px;
	margin:10px;
	background-color: #f7f6f7;
	color: #4f4f4f;
	text-align:left;
}

.aframe IMG {
	border:0px none;
}

.aframe DIV, .aframe SPAN { 
	color: #4f4f4f;
}

.aframe A, .aframe A:link, .aframe A:visited, .aframe A:active	{ 
	color: #275899; 
	text-decoration: none; 
}

.aframe A:hover { 
	color: #FF6600; 
	text-decoration: none; 
}

#adv_layer {
	position:absolute; 
	top:180px; 
	z-index:200;
	width:100%;
	margin:auto;
	text-align:center;
}

.field_status {
  padding-top:2px;
  padding-left:8px;
  vertical-align:top;
  width:246px;
  white-space: nowrap;
}

.nodata{
	text-align:center;
	padding:20px;
}

DIV#breadcrumb{
	clear:both;
	text-align:left;
	padding-bottom:5px; 
	padding-top:4px;
}

#breadcrumb IMG{
	float:left;
	margin-right:5px; 
	margin-bottom:2px;
}

#comm_info{
	padding:8px;
	border-top:1px solid #ffffff;
	display:block;
	z-index:9999;
	background-color:#2b2b2a;
	bottom:0px;
	opacity:0.9;
	text-align:center;
	width:100%;
	position:fixed;
}

#comm_txt {
	line-height:160%;
	font-size:12px;
	color:#ffffff;
	text-shadow:1px 1px #000000;
}

#comm_info P {
	padding:0px;
	margin:0px;
	padding-bottom:5px;
}

#comm_info A {
	color:#18a0fb;
}

#comm_info A:hover {
	color:#ffffff;
	text-decoration:underline;
}

.tabtab{
	border-collapse:collapse;
	border:1px solid #cccccc;	
}

.tabtab TD{
	border:1px solid #cccccc;	
	background:#ffffff;
	padding:5px;
}

.tabtab TH{
	border:1px solid #cccccc;	
	background:#ffffff;
	font-weight:bold;
	text-align:centerr;
	padding:5px;
}

.ir {
	background-color:transparent;
	border:0;
	overflow:hidden;
	*text-indent:-9999px;
}

.ir:before {
	content:"";
	display:block;
	width:0;
	height:150%;
}

.hidden {
	display:none !important;
	visibility:hidden;
}

.visuallyhidden {
	border:0;
	clip:rect(0 0 0 0);
	height:1px;
	margin:-1px;
	overflow:hidden;
	padding:0;
	position:absolute;
	width:1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip:auto;
	height:auto;
	margin:0;
	overflow:visible;
	position:static;
	width:auto;
}

.invisible {
	visibility:hidden;
}

.clearfix:before,
.clearfix:after {
	content:" ";
	display:table;
}

.clearfix:after {
	clear:both;
}

.clearfix {
	*zoom:1;
}

.ui-menu .ui-menu-item{
	text-align:left;
}

.small  { 
	font-size: 12px;
}

.panel-admin{
	clear:both;
	border:1px solid #ddd;	
	margin-bottom:5px;
	margin-top:5px;	
}


#artmap UL {
	list-style-image: url('../img/sys/list.gif');
	padding-left:20px;
	margin:0px;
}

#artmap LI {
	padding:1px;
}

.tbl {
	border:1px solid #ffffff;
	border-collapse:collapse;
	width:100%;
	margin-bottom:3px;
}

.data_tbl {
	width:100%;
	margin:auto;
	text-align:center;
	border:1px solid #858689;
	border-collapse:collapse;
}

.data_tbl TD {
	border:1px solid #858689;
}

.data_desc {
	width:200px;
	text-align:left;
	font-size:10px;
	background-color:#ffffff;
}

.data_title {
	text-align:left;
	font-weight:bold;
	background-color:#ffffff;
}

.data_value {
	text-align:left;
	background-color:#f8f6eb;
}

.cite {
	padding:4px; 
	border:1px solid #cccccc;
	background-color:#eaedf9;
}

.zoom_lightbox{
	padding-top:3px;
	padding-bottom:3px;
	clear:both;	
}

.zoom_lightbox A {
	text-align:center;
	overflow:hidden;
	display:block;
}

.zoom_lightbox UL {
	list-style-type:none;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;     
	margin:auto;
	-webkit-flex-wrap: wrap;	
	flex-wrap: wrap;	
	-webkit-justify-content:center;	
	justify-content:center;	
	padding:0px;
}	

.zoom_lightbox UL LI {
	list-style-type:none;
	display:block;
	float:left;
	padding:2px;
}

.zoom_lightbox IMG{
	-webkit-backface-visibility: hidden; 
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: rotate(0);
	transform: rotate(0);
	transition:ease .5s;
	-webkit-transition:ease .5s;
	will-change: transform;
}

.zoom_lightbox IMG:hover{
	transform:scale(1.05) 
	rotate(0.1deg);
	-webkit-transform:scale(1.05) 
	rotate(0.1deg);
}

.standard_lightbox {
	padding-top:3px;
	padding-bottom:3px;
	clear:both;	
}

.standard_lightbox IMG {
	border:1px solid #eeeeee;
}

.standard_lightbox DIV {
	font-size:13px;
	padding-bottom:4px;
	text-align:center
}

.standard_lightbox UL {
	list-style-type:none;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;     
	margin:auto;
	-webkit-flex-wrap: wrap;	
	flex-wrap: wrap;	
	-webkit-justify-content:center;	
	justify-content:center;	
	padding:0px;
}	

.standard_lightbox UL LI {
	list-style-type:none;
	display:block;
	float:left;
	padding:5px;
}

.gal_slideshow DIV{
	padding-bottom:10px;
}

.gal_big_images > DIV{
	clear:both;
	text-align:center;
	padding-bottom:10px;
}

UL.submenu_list { 
	clear:both;
}

UL.submenu_list LI {
	padding-bottom:10px;
}

UL.submenu_list LI DIV A{
	font-weight:bold;
}

.submenu-buttons{
	display: -webkit-flex; /* Safari */
	display: flex;
	padding:0px;
	margin:0px;		
	width:100%;	
	clear:both;	
	
	-webkit-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: stretch;
	align-items: stretch;
	-webkit-align-content: stretch;
	align-content: stretch;	

}

.submenu-buttons A{

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;

	display: inline-block;
	background: white;
	overflow: hidden;
	margin: 1px;
	padding: 12px;
	width: 24%;
	-webkit-order: 0;
	order: 0;
	-webkit-flex-grow: 0;
	flex-grow: 0;
	-webkit-flex-shrink: 1;
	flex-shrink: 1;
	-webkit-flex-basis: auto;
	flex-basis: auto;
	-webkit-align-self: auto;
	align-self: auto;
	
	color: #ffffff;
	background-color: #2196F3;	

}

.submenu-buttons A:hover{
	opacity:0.8;
}

.submenu-buttons-line{
	margin-bottom:20px;
	clear:both;	
}

.submenu-table-images{
	list-style-type:none;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;     
	margin:auto;
	-webkit-flex-wrap: wrap;	
	flex-wrap: wrap;	
	-webkit-justify-content:center;	
	justify-content:center;	
	padding:0px;
	clear:both;	
}

.submenu-table-images LI {
	list-style-type:none;
	display:block;
	float:left;
	padding:6px;
}

.submenu-table-images IMG{
	margin-bottom:10px;
}

.submenu-table-images A{
	display:block;
	border:1px solid #dbdbdb;
	background:#f3f3f3;
	padding:7px;
	text-align:center;
	font-size:14px;	
	color:#000000;
	transition: all 0.2s ease-in-out;		
}

.submenu-table-images A:hover{
	opacity:0.8;
}

.submenu-image-text{
	list-style-type:none;
	display:block;
	margin:0px;
	padding:0px;
	margin-top:10px;
	margin-bottom:10px;
	clear:both;	
}

.submenu-image-text > LI{
	list-style-type:none;
	display:block;	
	padding:0px;
	margin:0px;
	clear:both;
	width:100%;
	border-bottom: 1px solid #dbdbdb;
	overflow-y:auto;
	margin-top:15px;
}

.submenu-image-text .image{
	float:left;
	margin-right:15px;
	margin-bottom:15px;
	width:200px;
}

.submenu-image-text .image A {
	border:1px solid #dbdbdb;
	background:#f3f3f3;
	padding:5px;
	display:block;
}

.submenu-image-text .desc{
	overflow:hidden;
	margin-bottom:15px;
}

.submenu-image-text H2{

}

.submenu-news-list{
	list-style-type:none;
	display:block;
	margin:0px;
	padding:0px;
	margin-top:10px;
	margin-bottom:10px;
	clear:both;	
}

.submenu-news-list > LI{
	list-style-type:none;
	display:block;	
	padding:0px;
	margin:0px;
	clear:both;
	width:100%;
	border-bottom: 1px solid #dbdbdb;
	overflow-y:auto;
	margin-top:15px;
}

.submenu-news-list .image{
	float:left;
	margin-right:15px;
	margin-bottom:15px;
	width:200px;
}

.submenu-news-list .image A {
	border:1px solid #dbdbdb;
	background:#f3f3f3;
	padding:5px;
	display:block;
}

.submenu-news-list .desc{
	overflow:hidden;
	margin-bottom:15px;
}

.submenu-news-list H2{
	margin-top:2px;
}

.submenu-news-list .date{
	opacity:0.7;
}

.submenu-news-list .more{
	clear:both;
}

.submenu-news-list .more A{
	display:block;
	padding:3px;
	padding-left:10px;
	padding-right:10px;
	font-size:13px;
	background:#f3f3f3;	
	float:left;	
	border-radius:3px;	
}

.submenu-news-list .more A:hover{
	background:#e8e8e8;
}

/* table empty elements  */
.nodata {
	font-weight:bold;
	padding:15px;
	text-align:center;
}

#facebook_pan { background: url("../img/fb.png") no-repeat scroll 0 0 transparent; display: block; min-height:200px; float: right; padding: 0; position: fixed; right: -295px; top: 150px; width: 324px; z-index: 900; }
#facebook_pan2{ color:#fff; background:#3b5998; padding:5px; margin-left:29px; overflow-y:auto; }
#facebook_pan A{ color:#ffffff; display:block; padding-top:10px; text-align:center; }

.comment_row{
	clear:both;
	background-color:#f8f8f8;
	text-align:left;
	margin-bottom:7px;
	border:1px solid #dee1e2;
	padding:2px;
}

.comment_header{
	padding:7px;
	background-color:#ebf5fa;
}

.comment_body{
	padding:7px;
}

.artfiles{
	margin-top:10px;
	clear:both;	
}

.artfiles TD{
	padding-bottom:5px;
}

.artfiles A{
	font-weight:bold;
}

.artfiles DIV{
	padding-top:1px;
}

.artfiles IMG{
	margin-right:5px;
	margin-left:5px;	
}

.login-form{
	max-width:400px;
	margin:auto;
	border-color: #ddd;	
}

.captcha-el{
	padding:10px;
	border:1px solid #d5d5d5;
	max-width:200px;
	text-align:center;
	background:#f5f5f5;
}

.captcha-el IMG{
	margin-bottom:5px;
}

.has-feedback .captcha-el{
	margin:auto;
}

.has-feedback .captcha-el .form-control{
	padding: 7px 12px;
	text-align:center;
}


TH.sorting_asc A, TH.sorting_desc A, TH.sorting A {
	display:block;
	cursor: pointer;
	position: relative !important;	 
	color:inherit;
	padding-right: 15px;	
}

TH.sorting_asc A::after, TH.sorting_desc A::after, TH.sorting A::after, TH.sorting_asc_disabled A::after, TH.sorting_desc_disabled A::after {	 
    content: '';
    font-family: 'icomoon';
    position: absolute;
    top: 50%;
    right: 0px;
    font-size: 12px;
    margin-top: -6px;
    display: inline-block;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;	 
}


TH.sorting_asc A::before, TH.sorting_desc A::before, TH.sorting A::before, TH.sorting_asc_disabled A::before, TH.sorting_desc_disabled A::before {	 
    content: '';
    font-family: 'icomoon';
    position: absolute;
    top: 50%;
    right: 0px;
    font-size: 12px;
    display: inline-block;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;	 
}

TH.sorting A::before {
    content: '\e9c1';
    color: #999999;
    margin-top: -2px;	 
}

TH.sorting A::after {
    content: '\e9c2';
    color: #999999;
    margin-top: -10px;	 
}
	  
TABLE TH.sorting_asc A::after {
    content: '\e9c2';
    margin-top: -6px;	 
}

TABLE TH.sorting_desc A::before {
    content: '\e9c1';
    margin-top: -6px;	 
}

.p20{
	width:20px;
}

.p29{
	width:90px;
}

#admin-back{
	position:fixed;
	bottom:0px;
	right:0px;
	z-index:900;
}

#admin-back A{
	display:block;
	min-width:34px;
	height:34px;
	line-height:34px;
	text-align:center;
	background:#f1f1f1;
	color:#FF5722;
	font-size:20px;
	font-family: 'icomoon';
	content: "\eb7a";	
	border:1px dotted #FF5722;
	transition: none;	
}

#admin-back A:before{
	content: "\eb76";
	display:block;
	float:left;
	padding-left:10px;
	padding-right:10px;
}

#admin-back A:hover{
	color:#ffffff;
	background:#FF5722;
	border:1px dotted #FF5722;
}

#admin-back A SPAN{
	display:none;
	font-size:14px;
	line-height:30px;
	height:34px;
	padding-right:10px;
	float:left;	
}

#admin-back A:hover SPAN{
	display:block;		
}


.nourl .nav A{
	cursor:auto;
	 color:inherit;	
}

.nourl .nav > li > a:focus, .nourl  .nav > li > a:hover {
    background-color:transparent;
	 color:inherit;
}

/* ------------------------------------------------------------------------------
 *
 *  # Datepicker for Bootstrap
 *
 *
 * ---------------------------------------------------------------------------- */

.datepicker .table-condensed td,
.datepicker .table-condensed th {
	padding: 5px;
}


@media only screen and (max-width: 768px) and (min-width: 481px) {
	
	.submenu-buttons A{	
		width: 100%;
	}	

}


@media only screen and (max-width: 480px) {

	.submenu-news-list .image{
		float:none;
		margin-right:0px;
		width:100%;
		text-align:center;
	}

	.submenu-news-list .desc{
		clear:both;
	}
	
	.submenu-image-text .image{
		float:none;
		margin-right:0px;
		width:100%;
		text-align:center;
	}
	.submenu-image-text .desc{
		clear:both;
	}	
	
	.submenu-buttons A{	
		width: 100%;
	}	

}