/* css pro screen stránek Vila Magnolia */
/* copyright 2014, Marcela Kubová */

/*------------------------------------------------*/

* {
	margin: 0;
	padding: 0;
}

body, #page {
	margin: 0 auto;
	padding: 0;
}

body {
	background: gray url('img/fresh_snow.png') top left repeat;
	max-width: 900px;
	min-width: 880px;
	font: 100% Calibri, Liberations Sans, 'Microsoft Sans Serif', 'Arial', sans-serif;
}

#page {
	position: relative;
	width: 100%;
	min-height: 530px;
	text-align: left;
}

/*--- text ---*/
h1, h2, h3, p, ul, ol {
	margin: 5px;
}

h1, h2 {
	padding: 10px 3px 10px 3px;	
	font-weight: bold;
}

h2, h_3, p, .nick, .answer {
	text-align: left;
}

h1 {
	text-align: center;
	font-size: 230%; 
	letter-spacing: 2px;
	color: rgb(80, 110, 230);
	border-bottom: 1px solid silver;
	border-right: 1px solid silver;
}

h2 {
	font-size: 160%; 
	color: rgb(150, 40, 120);
}

h_3 {
	font-size: 120%; 
	font-weight: bold;
	font-style: italic;
	color: black;
}

p {
	padding: 5px 3px 5px 3px;
	font-size: 100%;
	color: black;
	line-height: 150%; 
}

table {
	border-spacing: 10px;
}

em {
	font-style: italic;
}

a {
	text-decoration: underline;
}	 

a:link {
	color: rgb(150, 40, 120);
}

a:visited {
	color: rgb(80, 110, 230);
}

a:hover{
	color: rgb(49, 0, 60);
}

ul, ol {
	padding: 5px 3px 5px 12px;
}

li {
	padding: 5px 0px 5px 0px;
	list-style-position: outside;
	list-style-type: 1;
}


.description {
	margin: 3px 5px;
	padding: 0;
	font-size: 100%;
	color:black;
	line-height: 100%;
}
/*--- end text ---*/


/*--- head ---*/
#heading em {
	display: none;
}

#page_header {
	position: relative;
	width: 100%;
	height: 150px;
	background: transparent url('img/hdr.png') top center no-repeat;
	border-top: 4px solid silver;
	border-bottom: 4px solid silver;
	border-left: 4px solid silver;
	border-right: 4px solid silver;
}

#heading {
	position:absolute;
	top: 25px;
	right: 50px;
	width: 500px;
	height: 100px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent url('img/logo_vila.png') top center no-repeat;
}

#heading a{
	display: block;
	width: 500px;
	height: 100%;
	text-decoration: none;
	background: transparent;
}

/*--- end head ---*/


#main {
	width: 100%;
	margin: 15px 0 0 0;
	background: rgb(245, 235, 220);
	border-top: 4px solid silver;
	border-left: 4px solid silver;
	border-right: 4px solid silver;
}

/*--- navigation ---*/
#nav {
	position: absolute;
	top: 180px;
	left: 5px;
	width: 180px;
	margin: 0;
	padding: 0;
	background: rgb(245, 235, 220);
}

#nav ul {
	list-style-type: none;
	margin: 0px;
	margin-left: 5px;
	padding: 0;
	width: 170px;
}

#nav li {
	text-decoration: none;
	list-style-type: none;
	margin: 10px;
	background: transparent;
}

#nav a {
	display: block;
	margin: 0px;
	text-decoration: none;
	background: rgb(80,110, 230);
	font-variant: small-caps;
	font-size: 120%;
	font-weight: bold;
	padding: 4px 15px;
	box-shadow: rgb(150, 40, 120) 4px 6px 15px; 
	color: rgb(245, 235, 220);
}

#nav a:link{
	color: rgb(245, 235, 220);
	text-decoration: none;
}

#nav a:visited {
	color: white;
	text-decoration: none;
}

#nav a:hover {
	box-shadow: rgb(150, 40, 120) 8px 8px 8px; 
	color: silver;
	text-decoration: none;
}


/*--- end navigation ---*/

/*--- content ---*/
#content {
	margin: 5px 5px 0 185px;
	padding: 3px;
	min-height: 480px;
	background: white url('img/vila_img.png') bottom left no-repeat;
	border-top: 1px solid silver;
	border-left: 1px solid silver;

}
/*--- end content ---*/


/*--- footer ---*/
#footer {
	clear: both;
	width: 100%;
	margin: 0;
	padding: 0;
	font-size: 80%; 
	text-align: right;
	background: silver;
	border: 4px solid silver;
}

#footer li {
	display: inline;
	list-style-type: none;
}

#footer li+li:before { 
  content: "|"; 
  color: black;
  margin: 15px;
}

#footer a:link, #footer a:visited, #footer a:hover {
	text-decoration: none;
}

#footer a:hover {
	color: rgb (80, 110, 230);
}
/*---end footer ---*/
