body	{
	background: url(images/back.jpg)no-repeat center center fixed;
	-webkit-background-size:cover;
	-moz-background-size:cover;
	-o-background-size:cover;
	background-size:cover;
}
#wrapper {
	width: 960px;
	margin-left: 10%;
	margin-right: 10%;
	opacity: 1;
}
#header {

	background-color: #E6E6FA;
	margin: 100px 10px 0px 10px;
	height:         120px;
	opacity: 1;
	font-size: 100%;
}
#slogan {
	float: right;
	color:	#0B18A8;
}
#glavfoto {
	
	padding:	30px;
	
	margin-right:	30px;
	margin-bottom:	40px;
}
#glavfoto2 {
	float: right;
}
#uslugi1 {
	float: left;
}
#kontakt {
	float: right;
}
#arenda {
	float: right;
}
#prodaja {
	float: right;
}
#komanda {
	float: right;
	margin-left:10px;
}
nav {
	background-color:	#E6E6FA;
	margin:	10px 10px 0px 10px;
	opacity: 1;
	
	
}
nav ul {
	margin:	0;
	list-style-type: none;
	padding:	10px 0px 10px 0px;
	font-size: 18px;
}
img {
	max-width: 100%;
}
nav ul li {
	display: inline;
	padding:	5px 10px 5px 10px;
}
nav ul li a:link, nav ul li a:visited {
	color:	#0B18A8;
	border-bottom: none;
	font-weight: bold;
	text-decoration: none;
	
}
nav ul li.selected {
	background-color:	#DDA0DD;
}

#tableContainer {
	display: table;
	border-spacing: 10px;
}
#tableRow {
	display: table-row;
}


#main {
  display: table-cell;
  background:       #E6E6FA;
  font-size:        16px;
  padding:          15px;
  vertical-align: top;

}

#footer {
  background-color: #E6E6FA;
  color:            #0B18A8;
  text-align:       center;
  padding:          10px;
  margin: 0px 10px 10px 10px;
  font-size:        100%;
}

#main h1, h2, h3 {
	color: #A50C45;
	font-family:  italic;
	
}

#main  p, ul  {
	color: #0B18A8;
	font-size:	16px;
	line-height: 1.4em;
}
.foto-object {
	float: left;
	padding-right: 20px;
}
.object {
	 border-bottom: 2px #0B18A8 solid;
	 padding-bottom: 20px;

  margin-top: 20px;
  
}

table {
	margin-top: 30px;
	margin-left: 20px;
	margin-right: 20px;
	border: none;
	caption-side: top;
	border-collapse: collapse;
	color: #4B0082;
	width: 960px;
}
td, th {
	border: none;
	padding: 5px;
}
caption {
	font-style: italic;
	padding-top: 8px;
}
td {
	text-align: center;
}
th {
	background-color: #EE82EE;
}
tr:nth-child(2n) {
	background-color: #DDA0DD;
}
tr:nth-child(2n+1){
	background-color: #EE82EE;
}
.bold{
	font-weight: bold;
}
ol {
	color:	#0B18A8;
}

.form1{max-width: 760px;margin: auto; overflow: hidden; padding-top: 20px;}
.form{overflow: hidden;}
.left {
	width: 48%;
	float: left;
}
.left input[type="text"]{
	display: block;
	width: 99%;
	height: 35px;
	border: 2px solid green;
	margin-bottom: 10px;
	text-indent:10px;
}
.left input [type="text"]:focus{
	outline:none;
}
.left input[type="email"]{
	display: block;
	width: 99%;
	height: 35px;
	border: 2px solid green;
	margin-bottom: 10px;
	text-indent:10px;
}
.left input [type="email"]:focus{
	outline:none;
}
.left select {
	display: block;
	width: 100%;
	height: 40px;
	border: 2px solid green;
	margin-bottom: 10px;
	text-indent:10px;
}

.left select :focus{
	outline:none;
}

.form input[type="submit"]{
	display: block;
	width: 100px;
	height: 40px;
	border: 2px solid green;
	background: green; font-weight:bold;
	color:#fff;
margin-top: 10px;
margin-bottom:10px;
cursor:pointer;
}

.right{
	width: 48%;
	float: right;
}
.right textarea {
	display: block;
	width: 99%;
	height: 205px;
	border: 2px solid green;
	margin-bottom: 10px;
	text-indent:10px;
	padding:1%;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}
@media only screen and (min-width:300px)and (max-width:420px){
	.left{
		width:95%;
		float:none;
		margin:auto;
	}
	.left input[type="email"],.left input[type="text"]{
		width:98%;
	}
	
	.right{
		width:95%;
		float:none;
		margin:auto;
	}
	.right textarea{
		margin-top:10px;
	}
	
} 