html, body {
	background: #ce9580 url('images/site_background.jpg') repeat-x top left;
	font-family: Arial, sans-serif;
	font-size: 12px;
	margin: 0;
	padding: 0;
}

ul {
	list-style: square;
}
ul ul {
	list-style: circle;
}

ol {
}

dl dt {
	font-weight: bold;
}

dl dd {
	text-align: justify;
}

a {
	color: #bf0082;
}

a img {
	border: none;
}

#site {
	margin-left: auto;
	margin-right: auto;
	width: 910px;
}

#site #header {
	width: 100%;
	height: 169px;
	background: url('images/site_header.jpg') no-repeat top center;
}

#site #mainmenu {
	width: 100%;
	height: 59px;
	background: url('images/site_mainmenu.jpg') no-repeat top center;
}

#site #mainmenu ul {
	padding: 0;
	margin: 0 0 0 95px;
	list-style: none;
}

#site #mainmenu ul li.first {
	font-family: Tahoma, Arial, sans-serif;
	font-size: 13px;
	margin-top: 3px;
	text-align: center;
	color: #ffffff;
	font-weight: bold;
	float: left;
	height: 31px;
	width: 120px;
}

#site #mainmenu ul li.first a.main:link, #site #mainmenu ul li.first a.main:visited {
	line-height: 31px;
	margin-top: 0px;
	height: 31px;
	display: block;
	width: 120px;
	color: #ffffff;
	text-decoration: none;
}

#site #mainmenu ul li.first a.main:hover, #site #mainmenu ul li.first a.main:active {
	line-height: 31px;
	background: url('images/meniu_buton.jpg') no-repeat; 
	margin-top: 0px;
	height: 31px;
	display: block;
	width: 120px;
	color: #ffffff;
	text-decoration: none;
}

#site #content {
	width: 100%;
	background: url('images/site_content.jpg') repeat-y top center;
	padding-bottom: 20px;
}

#site #content #middle {
	position: relative;
	left: 100px;
	width: 710px;
}
#site #footer {
	font-size: 11px;
	color: #ffffff;
	width: 100%;
	height: 30px;
	background: url('images/site_footer.jpg') no-repeat top center;
}

#site #footer a:link, #site #footer a:visited {
	color: #ffffff;
}

#site #footer a:hover, #site #footer a:active {
	color: #87CEEB;
}

.fleft {
	position: relative;
	left: 80px;
	display: inline;
	float: left;
}
.fright {
	position: relative;
	right: 80px;
	display: inline;
	float: right;
}

.casuta {
	width: 275px;
	background: #93b9d0 url('images/casuta_footer.jpg') no-repeat bottom center;
	margin: 0;
	padding: 0 0 10px 0;
}

p {
	text-align: justify;
	margin: 0;
	padding: 6px;
}
h1 {
	font-family: Tahoma, Arial, sans-serif;
	color: #bf0082;
	font-size: 21px;
	font-weight: normal;
	margin: 0;
	padding: 5px 0;
}

h2 {
	font-family: Tahoma, Arial, sans-serif;
	color: #1461a9;
	font-size: 18px;
	font-weight: bold;
	margin: 0;
	padding: 10px 0 3px 0;
}

h2 a:link, h2 a:visited {
	text-decoration: none;
	border-bottom: 1px solid #bf0082;
	color: #1461a9;
}

h2 a:hover, h2 a:active {
	text-decoration: none;
	color: #bf0082;
}

h3 {
	width: 261px;
	background: #93b9d0 url('images/casuta_header.jpg') no-repeat top center;
	font-family: Tahoma, Arial, sans-serif;
	color: #2f3033;
	font-size: 19px;
	font-weight: normal;
	margin: 0;
	padding: 7px;
}

h4 {
	font-family: Tahoma, Arial, sans-serif;
	color: #000000;
	font-size: 16px;
	text-decoration: underline;
	font-weight: bold;
	margin: 0;
	padding: 10px 0 3px 0;
}

.left {
	margin-right: 15px;
	float: left;   
}
.right {
	margin-left: 15px;
	float: right;
}

.center {
    text-align: center;
}

br#clearer {
	clear: both;
}

div#lcol {
	padding-right: 5px;
	float: left;
	width: 430px;
}

div#rcol {
	float: left;
	width: 275px;
}

img {
	border: 1px solid #cccccc;
	max-width: 100%;
	height: auto;
}

img.noborder {
	border: none;
}

img.buton {
	padding-left: 160px;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}
table td {
    padding: 0;
}
table td img {
    display: block;
    padding: 0;
    margin: 0;
    border: none;
}
#tip {
    width: 99%;
    text-align: center;
}
.aright {
	text-align: right;
}

a.portpic:link img, a.portpic:visited img {
	margin-right: 5px;
	border: 3px solid #fffdff;
}
a.portpic:hover img, a.portpic:active img {
	border: 3px solid #bf0082;
}
	
.oferta {
	padding: 10px 5px;
}
.oferta input {
	width: 100px;
}
.oferta select {
	width: 125px;
}
.gbs {
    color: #bf0082;
    font-family: Tahoma,Arial,sans-serif;
    font-size: 21px;
    font-weight: normal;
    margin: 0;
    padding: 5px 0;
}
.pbox {
	font-family: Tahoma, Arial, sans-serif;
	color: #bf0082;
	font-size: 21px;
	font-weight: normal;
	margin: 0;
	padding: 5px 0;


}
.ahref a {
	text-decoration:none;
	color: #000000;
}
th {
	color: #ffffff;
	padding: 5px;
	margin-top: 15px;
	background-color: #1461A9;
}

.ph2 {
	font-family: Tahoma, Arial, sans-serif;
	color: #1461a9;
	font-size: 18px;
	font-weight: bold;
	margin: 0;
	padding: 10px 0 3px 0;
}

.ph2 a:link, h2 a:visited {
	text-decoration: none;
	border-bottom: 1px solid #bf0082;
	color: #1461a9;
}

.ph2 a:hover, h2 a:active {
	text-decoration: none;
	color: #bf0082;
}

/* Lightbox */
#lightbox{
	background-color:#eee;
	padding: 10px;
	border-bottom: 2px solid #666;
	border-right: 2px solid #666;
	}
#lightboxDetails{
	font-size: 0.8em;
	padding-top: 0.4em;
	}	
#lightboxCaption{ float: left; }
#keyboardMsg{ float: right; }
#closeButton{ top: 5px; right: 5px; }

#lightbox img{ border: none; clear: both;} 
#overlay img{ border: none; }

#overlay{ background-image: url(images/overlay.png); }

* html #overlay{
	background-color: #333;
	back\ground-color: transparent;
	background-image: url(images/blank.gif);
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="images/overlay.png", sizingMethod="scale");
	}

@media screen and (max-width: 940px) {
	html, body {
		min-width: 320px;
	}

	#site {
		width: auto;
		max-width: 910px;
		margin-left: 12px;
		margin-right: 12px;
	}

	#site #header {
		height: auto;
		min-height: 0;
		aspect-ratio: 910 / 169;
		background-size: 100% 100%;
	}

	#site #mainmenu {
		height: auto;
		min-height: 59px;
		background-color: #77add8;
		background-size: 100% 59px;
		padding-bottom: 10px;
	}

	#site #mainmenu > ul#nav {
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
		margin: 0;
		padding: 10px 12px 0;
	}

	#site #mainmenu > ul#nav > li.first {
		float: none;
		flex: 1 1 140px;
		width: auto;
		height: auto;
		margin-top: 0;
	}

	#site #mainmenu > ul#nav > li.first a.main:link,
	#site #mainmenu > ul#nav > li.first a.main:visited,
	#site #mainmenu > ul#nav > li.first a.main:hover,
	#site #mainmenu > ul#nav > li.first a.main:active {
		width: auto;
		min-height: 31px;
		line-height: 31px;
		padding: 0 10px;
		box-sizing: border-box;
		background-size: 100% 100%;
		border-radius: 6px;
	}

	#site #mainmenu > ul#nav > li.first a.main:link,
	#site #mainmenu > ul#nav > li.first a.main:visited {
		background-color: rgba(20, 97, 169, 0.55);
	}

	#site #content {
		background-size: 100% auto;
	}

	#site #content #middle {
		left: 0;
		width: auto;
		padding: 0 16px;
		box-sizing: border-box;
	}

	div#lcol,
	div#rcol {
		float: none;
		width: auto;
		padding-right: 0;
	}

	div#rcol {
		margin-top: 18px;
	}

	.casuta,
	h3 {
		width: auto;
	}

	.left,
	.right {
		float: none;
		display: block;
		margin: 0 auto 12px;
	}

	img.buton {
		padding-left: 0;
	}

	td.oferta {
		display: block;
		width: auto;
		padding: 10px 0;
	}

	td.oferta table,
	div#lcol form table,
	div#rcol form table {
		width: 100%;
	}

	input[type="text"],
	textarea,
	select,
	.oferta input,
	.oferta select {
		box-sizing: border-box;
		max-width: 100%;
	}

	textarea {
		width: 100%;
	}

	#site #footer {
		height: auto;
		min-height: 30px;
		background-color: #4a4a4a;
		background-size: 100% 100%;
		padding: 6px 0;
	}

	.fleft,
	.fright {
		position: static;
		left: auto;
		right: auto;
		float: none;
		display: block;
		margin: 0;
		padding: 2px 12px;
		text-align: center;
	}
}

@media screen and (max-width: 640px) {
	#site {
		margin-left: 8px;
		margin-right: 8px;
	}

	#site #content #middle {
		padding: 0 12px;
	}

	#site #mainmenu > ul#nav > li.first {
		flex-basis: 100%;
	}
}
	
