/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #fff;
}

body {
    font-size: 1em;
    line-height: 1.4;
	font-family: 'Open Sans',Helvetica,Arial,sans-serif;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}
/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
	background:url(../images/bg.jpg) no-repeat bottom right #212703 fixed;
	font-size:14px;
}
h1, h2, h3, h4, p {
	margin:0;
	padding:0;
}
a {
	color:#d9261c;
	text-decoration:underline;
}
a:hover {
	text-decoration:none;
}
h2 a, h3 a {
	text-decoration:none;
}
.fl {
	float:left;
}
.fr {
	float:right;
}
.gradient2 {
	background:url(../images/tarce.png) no-repeat bottom right rgba(209,209,209,0.9) !important;
}
.gradient3 {
	background:url(../images/puscice.jpg) no-repeat bottom right rgba(209,209,209,0.9) !important;
}

.gradient {
	background: #eee;
}
.shadow {
	-webkit-box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.8);
	-moz-box-shadow:    0px 0px 6px rgba(0, 0, 0, 0.8);
	box-shadow:         0px 0px 6px rgba(0, 0, 0, 0.8);
}
.rounded {
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

.rounded-bottom{
	-webkit-border-bottom-right-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-radius-bottomright: 10px;
	-moz-border-radius-bottomleft: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
}
.knof {
	color:#ff0e00;
	font-family:arial;
	font-size:15px;
	font-weight:bold;
	padding:4px 12px;
	text-decoration:none;
	text-shadow:1px 1px 0px #000000;
	margin:10px 0;
}
.knof:hover {
	color:#ff0e00;
	font-family:arial;
	font-size:15px;
	font-weight:bold;
	padding:4px 12px;
	text-decoration:underline;
	text-shadow:1px 1px 0px #000000;
	margin:10px 0;

}
.knof:active {
	position:relative;
	top:1px;
}

header {
	width:960px;
}
header h1, header h2 {
	position:absolute;
	margin:-75px 0 0 402px;
	*margin:-57px 0 0 40px;
	z-index:1000;
}
header h3 {
	position:absolute;
	margin:-57px 0 0 178px;
	*margin:-47px 0 0 -180px;
	font-size:20px;
	text-transform:none;
	font-weight:normal;
	text-shadow: 0px 2px 4px rgba(0, 0, 0, 1);
}
header h3 strong {
	padding-left:187px;
	letter-spacing:2px;
	font-size:24px;
}
#leftmenu {
	float:left;
}
#rightmenu {
	float:right;
}
#slider {
	margin:0 auto 20px auto;
	width:960px;
	height:360px;
	-webkit-box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.8);
	-moz-box-shadow:    0px 0px 6px rgba(0, 0, 0, 0.8);
	box-shadow:         0px 0px 6px rgba(0, 0, 0, 0.8);
}
#slider h2 {
	font-size:24px;
	margin-bottom:5px;
}
#slider p {
	font-size:15px;
}
.caption h1, .caption h2 {
	background:#d9261c;
	color:#fff;
	padding:15px;
	font-size:30px;
	line-height:20px;
	text-shadow:0px 1px 1px rgba(0, 0, 0, 0.6) !important;
}
.caption h3 {
	background:#393434;
	color:#cbcbcb;
	font-size:12px;
	text-transform:uppercase;
	font-weight:normal;
	padding:3px 15px;
	line-height:20px;
}
.caption p {
	line-height:20px;
}
article {
	margin:0 auto;
	width:880px;
	padding:40px;
	/*color:#494444;*/
	color: #333333;
	font-size:13px;
	overflow:hidden;
	margin-bottom:40px;
}
article h1, article h2, article h3, article h4 {
	color:#000;
}
.blok {
	float:left;
	min-height: 310px;
	width:270px;
	padding-right:40px;
	margin-right:40px;
	margin-bottom:20px;
	background:url(../images/shadow2.png) no-repeat right center;
}
.blok img {
	border: 1px solid #444444;
	-webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
	-moz-box-shadow:    0px 0px 8px rgba(0, 0, 0, 0.5);
	box-shadow:         0px 0px 8px rgba(0, 0, 0, 0.5);
}
.blok2 {
	float:left;
	width:180px;
}
.blok h4, .blok2 h4 {
	font-size:18px;
	margin-bottom:6px;
}
.zastopstva {
	float:right;
	width:125px;
}
.znamke {
	float:left;
	width:140px;
}
footer {
	clear:both;
	margin:30px 0 0 0;
	width:880px;
	font-size:12px;
	color:#9f9f9f;
	padding:30px 0 0 0;
	border-top:1px solid #b3b3b3;
}
footer a {
	color:#9f9f9f;
	text-decoration:none;
}
footer img {
	margin:0 0 0 5px;
}
.podstran article {
	height: auto !important;
	height: 300px;
	min-height: 300px;
	background: #d1d1d1;
	background: rgba(209,209,209,0.9);
	padding-bottom:20px;
	position: relative;
}

.podstran article h1 {
	color:#d9261c;
	margin:0;
	font-size:23px;
	letter-spacing:-1px;
	line-height:38px;
}
.podstran article h2, .podstran article h3, .podstran article h2 a, .podstran article h3 a {
	color: #5a5a5a;
	letter-spacing:-1px;
	margin:5px 0;
	text-decoration: none;
}
.podstran article h2 {
	font-size:20px;
	line-height:30px;
}
.podstran article h3 {
	font-size:18px;
	line-height:25px;
}
.podstran article h1 {
	border-bottom:1px solid #b3b3b3;
	margin-bottom:20px;
	padding-bottom:10px;
}
.podstran article {
	font-size:14px;
	line-height:21px;
}
.podstran article p {
	margin-bottom:8px;
}
.podstran article img {
	/*-webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
	-moz-box-shadow:    0px 0px 8px rgba(0, 0, 0, 0.5);
	box-shadow:         0px 0px 8px rgba(0, 0, 0, 0.5);*/
	margin:15px 0;
}
.podstran article footer img {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	margin:0 0 0 10px;
}
.half {
	float:left;
	width:420px;
	margin-right:40px;
}
.third {
	float:left;
	width:270px;
	margin-right:35px;
}
.last {
	margin-right:0;
}
.brand {
	float:left;
	width:880px;
	padding-bottom:20px;
	margin-bottom:20px;
	border-bottom:1px solid #b3b3b3;
}
.logo {
	float:left;
	width:125px;
	margin-left:40px;
}
.podstran article .logo img {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
.brandOpis {
	float:left;
	width:715px;
	margin-top:10px;
}
.podstran article .galerija img {
	margin:18px 18px 18px 0;
}
.podstran article .galerija img.last {
	margin:18px 0;
}
.link a {
	background:url(../images/link.gif) no-repeat left center;
	padding-left:23px;
}
.datoteke a {
	background:url(../images/doc.gif) no-repeat left center;
	padding-left:23px;
}
#obrazec {
	/*margin:-110px 0 0 330px;*/
}
.referenca_item {
	float:left;
	margin-right:18px;
}
.nopadd {
	margin-right:0;
}



#navbar{ height:57px; display:block; padding:0; margin:78px auto 20px auto;  border:1px solid; border-radius:10px; text-transform:uppercase; font-weight:bold; } 
#navbar > ul {list-style:inside none; padding:0; margin:0;} 
#navbar > ul > li {list-style:inside none; padding:1px 0 0 0; margin:0; float:left; display:block; position:relative;} 
#navbar > ul > li > a{ outline:none; display:block; position:relative; padding:18px 30px; text-align:center; text-decoration:none; text-shadow:1px 1px 0 rgba(0,0,0, 0.4); } 
#navbar > ul#leftmenu > li:first-child > a{border-radius:10px 0 0 10px;} 
#navbar > ul#rightmenu > li:last-child > a{border-radius:0 10px 10px 0;} 
#navbar > ul#leftmenu > li > a:after{ content:''; position:absolute; border-right:1px solid; top:-1px; bottom:-1px; right:-2px; z-index:99; } 
#navbar > ul#rightmenu > li > a:after{ content:''; position:absolute; border-left:1px solid; top:-1px; bottom:-1px; left:-2px; z-index:99; } 
#navbar ul li.has-sub:hover > a:after{top:0; bottom:0;} 
#navbar > ul > li.has-sub > a:before{ content:''; position:absolute; top:18px; right:6px; border:5px solid transparent; border-top:5px solid #fff; } 
#navbar > ul > li.has-sub:hover > a:before{top:19px;} 
#navbar ul li.has-sub:hover > a{ background:#3f3f3f; border-color:#3f3f3f; padding-bottom:13px; padding-top:13px; top:-1px; z-index:999; } 
#navbar ul li.has-sub:hover > ul, #navbar ul li.has-sub:hover > div{display:block;} 
#navbar ul li.has-sub > a:hover{background:#3f3f3f; border-color:#3f3f3f;} 
#navbar ul li > ul, #navbar ul li > div{ display:none; width:auto; position:absolute; top:38px; padding:10px 0; background:#3f3f3f; border-radius:0 0 10px 10px; z-index:999; } 
#navbar ul li > ul{width:200px;} 
#navbar ul li > ul li{display:block; list-style:inside none; padding:0; margin:0; position:relative;} 
#navbar ul li > ul li a{ outline:none; display:block; position:relative; margin:0; padding:8px 20px; font:10pt Arial, Helvetica, sans-serif; color:#fff; text-decoration:none; text-shadow:1px 1px 0 rgba(0,0,0, 0.5); } 


#navbar, #navbar > ul > li > ul > li a:hover{ background: #d9261c; /* Old browsers */
background: -moz-linear-gradient(top,  #d9261c 0%, #c11309 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d9261c), color-stop(100%,#c11309)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #d9261c 0%,#c11309 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #d9261c 0%,#c11309 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #d9261c 0%,#c11309 100%); /* IE10+ */
background: linear-gradient(to bottom,  #d9261c 0%,#c11309 100%); /* W3C */
/*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d9261c', endColorstr='#c11309',GradientType=0 );*/ /* IE6-9 */
 } 
#navbar{border-color:#9b0901;} 
#navbar > ul#leftmenu > li > a{border-right:1px solid #9b0901; color:#fff;} 
#navbar > ul#leftmenu > li > a:after{border-color:#ea352b;} 
#navbar > ul#leftmenu > li > a:hover, #navbar li.active{background:#e63127; } 
#navbar > ul#leftmenu > li:first-child > a:hover{background:#e63127;} 
#navbar li:first-child.active{background:#e63127; border-radius:10px 0 0 10px;} 
#navbar > ul#leftmenu > li:last-child > a:hover{background:#e63127;} 
#navbar li:last-child.active{background:#e63127; border-radius:0 10px 10px 0;} 

#navbar > ul#rightmenu > li > a{border-left:1px solid #9b0901; color:#fff;} 
#navbar > ul#rightmenu > li > a:after{border-color:#ea352b;} 
#navbar > ul#rightmenu > li > a:hover{background:#e63127;} 







  /*********************************************************************************************
		-	SET THE SCREEN SIZES FOR THE BANNER IF YOU WISH TO MAKE THE BANNER RESOPONSIVE 	-	
  **********************************************************************************************/
  
  /*	-	THE BANNER CONTAINER (Padding, Shadow, Border etc. )	-	*/

  .bannercontainer {	
		padding:0;		
		background-color:#fff;
		width:960px;	
		position:relative;
		position:relative;	
		margin-left:auto;
		margin-right:auto;
	}
 
  .banner{		
		width:960px;
		height:490px;
		position:relative;
		overflow:hidden;			
   }

 .fullwidthbanner-container{
	width:100% !important;		
	position:relative;
	padding:0;		
	max-height:365px !important;
	overflow:hidden;
} 

.fullwidthbanner-container .fullwidthabnner	{
	width:100% !important;
	max-height:365px !important;
	position:relative;	
}
.flex-caption {
	font-size:20px;	
	line-height:26px;
	font-style:italic;
}
   
   

   @media only screen and (min-width: 768px) and (max-width: 959px) {		
		
 		  .banner, .bannercontainer			{	width:750px; height:412px;}	
		
		  
		 
		  
   }
  
   @media only screen and (min-width: 480px) and (max-width: 767px) {
		   .banner, .bannercontainer		{	width:470px; height:258px;	}		   		
		
		    
			
		   
   }
   
   @media only screen and (min-width: 0px) and (max-width: 479px) {
			.banner, .bannercontainer		{	width:310px;height:170px;	}						
			
			 
			 
			 
   }








/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

.clear {clear: both; width: 0; height: 0; margin: 0; padding: 0;}
.news-item {padding-bottom: 5px; margin-bottom: 25px; border-bottom: 1px solid #b3b3b3;}
.news-item.last {border-bottom: none;}

.no-border img{
	border:none;
	box-shadow: none;
}