/* 

    Vrata Kriz - Default CSS file
    ------------------------------------------------------------------------
    Author       Ondrej Valka (ondrej@valka.info)
    Last edit    10 Feb 09

*/

@import url(reset.css);

body {
	background: #fff url(../img/bg-body.png) 0 0 repeat-x;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 62.5%;
	position: relative;
	text-align: center;
}

acronym, abbr {
	cursor: help;
}

a:link { 
	color: #d40000;
}
a:visited {
	color: #666;
}
a:active,
a:hover,
a:focus {
	background: #d40000;
	color: #fff;
}

.hidden,
.blind,
.printable {
	height: 0;
	left: -10000px;
	overflow: hidden;
	position: absolute;
	width: 0;
}
a.blind:active,
a.blind:focus {
	background: #fff;
	border: 4px solid #ddd;
	color: #888;
	font-size: 2.4em;
	font-weight: bold;
	height: auto;
	left: 40%;
	padding: 10px 25px;
	top: 20px;
	width: auto;
	z-index: 1000;
}

.reset {
	clear: both;
}

/*  
    LAYOUT 
    ------------------------------------------------------------------------  
*/

div#page {
	margin: 0 auto;
	position: relative;
	width: 900px;
	text-align: left;
}

/*  ------------------ Header ------------------  */
    
div#header {
	background: url(../img/bg-header-shadow.png) 50% 9.8em no-repeat;
	height: 18em;
	text-align: left;
}

#logo,
#logo span {
	display: block;
	font-size: 16px;
	height: 65px;
	overflow: hidden;
	position: absolute;
	width: 240px;
}
#logo {
	left: -8px;
	top: 33px;
}
#logo span {
	background: url(../img/logo-vk-header.png) no-repeat;
	left: 0;
	top: 0;
	cursor: pointer;
}

/*  -- Contact --  */

div#contact {
	background: url(../img/bg-header-plus.png) 13px 0 no-repeat;
	position: absolute;
	right: 0;
	top: 0;
	width: 36em;
}
div#contact ul {
	color: #888;
	font-size: 1.1em;
	line-height: 1.35;
	margin: 36px 0 0 75px;
}
div#contact span.fn.org {
	font-weight: bold;
}

/*  ------------------ Main Content ------------------  */

div#main {
	background: url(../img/leading1.png) 0 -4px repeat;
	float: left;
	width: 510px;
}

/*  -- Headlines --  */

#main h1,
#main h2,
#main h3 {
	font-weight: normal;
}
#main h1 {
	color: #666;
	font-size: 24px;
	line-height: 36px;
	margin: 0 0 18px;
}
#main h2 {
	color: #D40000;
	font-size: 18px;
	line-height: 36px;
	margin: 18px 0 0;
	height: 1%; /* Having clear: both, IE7 will double padding-top. */
}
#main h3 {
	color: #D40000;
	font-size: 14px;
	line-height: 18px;
	margin: 18px 0 0;
}

/*  -- Lists, paragraphs --  */

#main p,
#main ul,
#main ol,
#main dl {
	font-size: 13px;
	line-height: 18px;
	margin: 0 0 18px 0;
	padding-right: 0 24px 0 0;
}

#main ul li {
	background: url(../img/list-bullet-normal.png) 7px 4px no-repeat;
	padding-left: 24px;
}
#main ol {
	list-style-type: decimal;
}

#main dl dt {
	font-weight: bold;
}
#main dl dd {
	margin: 0 0 0 24px;
}

/*  -- Graphic boxes --  */

#main p.low {
	font-size: 11px;
}
#main p.download {
	background-color: #F2F2FE;
	background-position: 19px 19px;
	background-repeat: no-repeat;
	height: 1%; /* IE6 wouldn't use position: relative. */
	margin: 0 0 18px 0;
	padding: 16px 36px 20px 22px;
	position: relative;
	top: 2px;
}
#main p.download.pdf {
	background-image: url(../img/ico-pdf.png);
	padding-left: 62px;
}
#main p.download.xls {
	background-image: url(../img/ico-xls.gif);
	padding-left: 62px;
}
#main p.download:hover,
#main p.download.hover {
	background-color: #FFEDC0;
	cursor: pointer;
}

#main .box {
	background: url(../img/bg-box-large-bottom.png) right bottom no-repeat;
	margin: 0 0 18px;
}
#main .box .box-in {
	background: url(../img/bg-box-large.png) left top no-repeat;
	height: 1%; /* IE wouldn't display background of .box properly */
	padding: 12px 25px 6px 21px;
}
#main .box h2 {
	margin-top: 0;
}

/*  -- Images --  */

#main img {
	display: block;
}

#main ul.gallery {
	color: #666;
	font-size: 11px;
	height: 1%; /* IE6 wouldn't use position: relative. */
	margin: 0;
	position: relative;
	top: 3px;
}

#main .gallery li {
	background: transparent;
	display: inline;
	float: left;
	padding: 0;
	width: 162px;
	margin: 0 8px 0 0;
}
#main .gallery.large li {
	margin-bottom: 18px;
}

#main .box .gallery {
	margin: 9px 0 0 0;
}
#main .box .gallery li {
	margin: 0 21px 0 41px;
	padding: 0 0 18px;
}

#main .gallery img {
	border: 1px solid #ccc;
	display: block;
	margin-bottom: 4px;
}

#main .gallery a img {
	border-color: #D40000;
}
#main .gallery a:active img,
#main .gallery a:focus img {
	border-color: #3274d0;
}

#main .img-desc {
	float: left;
	list-style-type: none;
	position: relative;
	top: 8px;
	width: 100%;
}
#main .img-desc ul,
#main .img-desc p {
	float: right;
	width: 200px;
}
#main .img-desc img {
	border: 1px solid #ccc;
	float: left;
	margin: 0 0 18px;
}
#main .img-desc ul li {
	background: transparent;
	clear: both;
	float: left;
	width: 100%;
}
#main .img-desc li ul li {
	background: url(../img/list-bullet-normal.png) 7px 4px no-repeat;
	float: none;
	padding: 0 0 0 24px;
	width: auto;
}

/*  -- Forms --  */

#main form {
	padding: 6px 0 12px;
}

form table {
	font-size: 13px;
	margin: 12px 0 6px 0;
}
form table th {
	line-height: 18px;
	padding: 3px 9px 10px 0;
	text-align: right;
	vertical-align: top;
	width: 175px;
}
form table .tip {
	color: #666;
	display: block;
	font-weight: normal;
	font-size: 11px;
}
form table td {
	padding: 0 0 14px 0;
}

#main fieldset {
	border: 1px solid #ddd;
	padding: 0 18px;
	margin: 0 0 18px 0;
}
#main legend {
	color: #D40000;
	font-size: 16px;
	padding: 0 9px;
}

#main input.text,
#main textarea {
	border: 1px solid #bbb;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	padding: 2px 3px;
}
#main textarea {
	line-height: 1.3em;
}
#main input.text {
	margin: 2px 0 0;
	overflow: visible;
}
#main input.text:focus,
#main textarea:focus {
	border-color: #3274d0;
}
#main input[disabled="disabled"] {
	background: #f5f5f5;
	color: #999;
	border-color: #ddd;
}
#main input[type="radio"] {
	position: relative;
	top: 1px;
}
#main input[type="submit"] {
	padding: 2px 10px;
}

#main form p.alert {
	background: #fee;
	border: 1px solid #f00;
	color: #f00;
	font-weight: bold;
	padding: 9px 18px;
}
#main .alert input.text,
#main .alert textarea {
	background: #fee;
	border: 1px solid #f00;
}
#main .alert th strong {
	color: #f00;
	display: block;
	font-size: 11px;
}

/*  ------------------ Right Sidebar ------------------  */

div#aside {
	float: right;
	width: 360px;
}

#aside .box {
	background-repeat: no-repeat;
	padding: 20px 25px 25px 25px;
	height: 1%; /* IE wouldn't display background of .box properly */
}
#aside .box.best { background-image: url(../img/bg-box-b.png); }
#aside .box.plus { background-image: url(../img/bg-box-y.png); }
#aside .box.contact { background-image: url(../img/bg-box-g.png); }

#aside .box h2 {
	color: #666;
	font-size: 2.1em;
	font-weight: normal;
	margin: 0 0 12px 0;
}

/*  -- Most Selled --  */

#aside .box.best h3,
#aside .box.best p {
	clear: right;
	display: inline;
	float: right;
	font-size: 1.2em;
	line-height: 17px;
	width: 180px;
}
#aside .box.best h3 {
	font-weight: normal;
	margin: 0 0 1em;
}

#aside .box.best a.thumb {
	display: block;
	width: 122px;
}
#aside .box.best a.thumb img {
	display: block;
	border: 1px solid #d40000;
}
#aside .box.best a.thumb:active img,
#aside .box.best a.thumb:focus img{
	border-color: #3274d0;
}

/*  -- Advantages --  */

#aside .box.plus li {
	background: url(../img/list-bullet-big.png) 0 1px no-repeat;
	color: #666;
	font-size: 1.2em;
	line-height: 17px;
	padding: 0 0 1em 24px;
}
#aside .box.plus li a {
	font-weight: bold;
}

/*  -- Contact Us --  */

#aside .box.contact {
	padding-bottom: 50px;
}
#aside .box.contact legend {
	display: none;
}
#aside .box.contact label {
	display: block;
	color: #666;
	font-size: 1.1em;
	margin: 0 0 2px 0;
}
#aside .box.contact input.text {
	border: 1px solid #ccc;
	color: #666;
	float: left;
	font-size: 1.4em;
	padding: 3px 4px;
	margin: 0 5px 0 0;
	overflow: visible;
	width: 200px;
}
#aside .box.contact input.text:focus {
	border-color: #3274d0;
}
#aside .box.contact input.submit {
	display: block;
	padding: 1px 0;
	position: relative;
	top: -1px;
	width: 95px;
}

/*  -- Trido Box --  */

#aside .box.trido {
	background: url(../img/logo-trido.png) 12px 50% no-repeat;
	margin: 15px 0 0 0;
	padding-left: 120px;
	padding-right: 10px;
}
#aside .box.trido h2 {
	height: 0;
	left: -10000px;
	overflow: hidden;
	position: absolute;
	width: 0;
}
#aside .box.trido p {
	color: #888;
	font-size: 1.6em;
	line-height: 1.4;	
}

/*  ------------------ Navigation ------------------  */

div#nav {
	background: #e0eaf9 url(../img/bg-nav.png) 0 0 repeat-x;
	border-top: 1px solid #adc8ec;
	border-bottom: 1px solid #7BA3D9;
	left: 0;
	position: absolute;
	top: 11.5em;
	text-align: center;
	width: 100%;
}
#nav ul {
	margin: 0 auto;
	text-align: left;
	width: 900px;
}
#nav li {
	margin: 6px 7px 0 0;
	padding: 0 0 6px 0;
	float: left;
}
#nav li a {
	color: #3274d0;
	float: left;
	font-size: 1.3em;
	padding: 7px 9px 7px;
	text-decoration: none;
}

#nav li a:hover,
#nav li a:active,
#nav li a:focus,
#nav li.active a {
	background: #fff;
	border: 1px solid #8C8CF8;
	padding: 6px 8px 6px;
}
#nav li.active a {
	border-color: #fc0;
	color: #d40000;
}
#nav li.active a:hover,
#nav li.active a:active,
#nav li.active a:focus {
	border-color: #fc0; /* IE 6 */
}
#nav li.first-child {
	background: url(../img/bg-nav-plus.png) 6.8em 7px no-repeat;
	width: 10em;
}

/*  ------------------ Footer ------------------  */
    
div#footer {
	background: url(../img/bg-footer.png) 50% 0 no-repeat;
	border-top: 1px solid #ccc;
	clear: both;
	margin: 0 auto;
	padding: 20px 0 0 0;
	position: relative;
	text-align: left;
	top: 30px;
	width: 900px;
}

#footer a {
	color: #888;
}
#footer a:active,
#footer a:hover,
#footer a:focus {
	background: #eee;
}

#footer p {
	color: #888;
	font-size: 1.1em;
	padding: 10px 12px 33px 0;
	text-align: right;
}
#footer p.first-child {
	background: url(../img/logo-vk-footer.png) 12px 4px no-repeat;
	float: left;
	padding: 10px 0 33px 70px;
}

/*  
    COMPONENTS
    ------------------------------------------------------------------------  
*/

/*  ------------------ Page 404 ------------------  */

/*  ------------------ Mail Sent ------------------  */

#page.page404 div#header,
#page.sent div#header {
	background: transparent;
}

/*  ------------------ Homepage Intro ------------------  */

a.intro,
a.intro img {
	display: block;
}

#main p.intro {
	color: #666;
	font-size: 16px;
	line-height: 21px;
	letter-spacing: 0.01em; 
	padding: 18px 10px 0 0;
}

/*  ------------------ Our Works ------------------  */

#main div.preview h2 {
	color: #999;
}

#main div.preview dl {
	float: left;
	margin: 0 0 0 10px;
	padding: 128px 0 0 0;
	position: relative;
	width: 162px;
}
#main div.preview dl.first-child {
	margin-left: 0;
}

div.preview dl dt {
	height: 0;
	left: -10000px;
	overflow: hidden;
	position: absolute;
	width: 0;
}

#main div.preview dl dd {
	color: #666;
	font-size: 11px;
	line-height: 15px;
	margin: 0;
}
#main div.preview dl dd.title {
	font-size: 12px;
	font-weight: bold;
	line-height: 15px;
	margin: 0 0 12px 0;
}
#main div.preview dl dd.thumb {
	position: absolute;
	top: 0;
	left: 0;
}
#main div.preview dl dd.thumb img {
	border: 1px solid #ccc;
	display: block;
}
