/*
Theme Name: Top Dvirka
Author: Mata
Author URI: http://www.martin.mateju.cz
*/


/* Font */

@font-face {
    font-family: 'Avant';
    src: url('font/avantgargotitctee-webfont.eot');
    src: url('font/avantgargotitctee-webfont.eot?#iefix') format('embedded-opentype'),
		url('font/avantgargotitctee-webfont.woff') format('woff'),
		url('font/avantgargotitctee-webfont.ttf') format('truetype'),
		url('font/avantgargotitctee-webfont.svg#avantgargotitcteeregular') format('svg');
    font-weight: normal;
    font-style: normal;
}


/* Reset */

html, body, div, span, form, label, legend, caption, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}


/* Global */

body {
	color: #6d6d6d;
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 12px;
	margin: 0;
	padding: 0;
}
h1 {
	color: #000;
	font-family: Avant;
	font-size: 24px;
	margin: 10px 0;
}
h2 {
	font-family: Avant;
	font-size: 15px;
	margin: 10px 0;
}
h3 {
	font-family: Avant;
	font-size: 12px;
	margin: 10px 0;
}
p {
	margin: 10px 0;
}
a {
	color: #6d6d6d;
}
img {
	border: none;
}
table {
	width: 100%;
}


/* Classes */

.clear {
	clear: both;
	overflow: hidden;
}
.hide {
	display: none;
}
.left, .alignleft {
	float: left;
}
.right, .alignright {
	float: right;
}
img.left, img.alignleft {
	margin-right: 20px;
}
img.right, img.alignright {
	margin-left: 20px;
}
.current-menu-item a {
	color: #c8c8c8;
}
.border {
	border-bottom: 1px solid #ccc;
}
.noborder {
	border: none;
}
.action,
.new {
	background: transparent url('images/action.png') right top no-repeat;
	display: block;
	height: 58px;
	position: absolute;
	right: 0;
	top: 0;
	width: 58px;
}
.new {
	background-image: url('images/new.png');
}


/* Table */

ul.table {
	display: table;
	margin: 0;
	padding: 0;
}
ul.table li {
	display: table-cell;
	float: left;
	margin: 0;
	padding: 0;
	text-indent: 0;
}
ul.table li a,
ul.table li span {
	display: block;
}


/* Containers */

.wrapper {
	margin: 0 auto;
	width: 900px;
}


/* Header */

header {
	/*border-bottom: 1px solid #ccc;*/
	height: 280px;
	margin-bottom: 10px;
	position: relative;
}
header .logo {
	background: transparent url('images/logo.png') left center no-repeat;
	display: block;
	height: 180px;
	line-height: 0;
	overflow: hidden;
	text-indent: 9999px;
	white-space: nowrap;
	width: 250px;
}
header .table a {
	font-family: Avant;
	font-weight: bold;
	text-decoration: none;
	text-transform: lowercase;
}
header .main {
	border-top: 1px solid #ccc;
	height: 100px;
	width: 100%;
}
header .main a {
	font-size: 15px;
	margin: 20px 20px 0 0;
	width: 90px;
}
header .other {
	position: absolute;
	right: 0;
	top: 70px;
}
header .other li {
	display: block;
	float: none;
	text-align: right;
}


/* Footer*/

footer {
	border-top: 1px solid #ccc;
	height: 70px;
	margin-top: 10px;
	padding-top: 10px;
}
footer .table a {
	font-family: Avant;
	font-weight: bold;
	text-decoration: none;
	text-transform: lowercase;
}
footer .table.left a {
	margin-right: 20px;
}
footer .table.right a {
	margin-left: 20px;
}


/* Section */

section {
	border-top: 1px solid #ccc;
	margin: 10px 0;
}
section:before, section:after { content: ''; display: table; } section:after { clear:both; } section { zoom: 1; } 
article:before, article:after { content: ''; display: table; } article:after { clear:both; } article { zoom: 1; } 
p:before, p:after { content: ''; display: table; } p:after { clear:both; } p { zoom: 1; } 

section > article {
	/*float: left;*/
	overflow: hidden;
}
section > h1,
section > h2 {
	float: left;
}
section > p {
	margin-left: 300px;
	width: 600px;
}
section .table {
	margin: 10px 0;
}


/* Fields */

ul.fields {
	margin: 40px 0 20px 0;
}
ul.fields li {
	margin: 0 10px 20px 0;
	position: relative;
}
ul.fields img {
	display: block;
	margin-bottom: 5px;
}
ul.fields a {
	text-decoration: none;
}
ul.fields.w60 li {
	font-size: 11px;
	margin-right: 5px;
	width: 60px;
}
ul.fields.w90 li {
	margin-right: 11px;
	width: 90px;
}
ul.fields.w120 li {
	width: 120px;
}
ul.fields.w140 li {
	margin-right: 12px;
	width: 140px;
}
ul.fields.w210 li {
	margin-right: 20px;
	width: 210px;
}
ul.fields.w90 li:nth-child(9n),
ul.fields.w120 li:nth-child(7n),
ul.fields.w140 li:nth-child(6n),
ul.fields.w210 li:nth-child(4n) {
	margin-right: 0;
}
ul.fields.w90 li:nth-child(9n+1),
ul.fields.w120 li:nth-child(7n+1),
ul.fields.w140 li:nth-child(6n+1),
ul.fields.w210 li:nth-child(4n+1) {
	clear: both;
}


/* Download */

ul.download {
	margin: 0 0 40px 0;
}
ul.download h2 {
	float: none;
	margin-right: 150px;
}
ul.download a {
	background-color: #646464;
	color: #fff;
	display: inline-block !important;
	font-weight: bold;
	padding: 2px 5px;
	text-decoration: none;
}


/* Popup */

.popup {
}