/*
	Theme Name: HTML5 Blank
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
	height: 100%;
}
body {
	background: #d9d9d9;
    font: 14px Arial, Verdana, sans-serif;
	color:#333;	
	height: 100%;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	width:100%;
	min-height: 100%;
	margin:0 auto;
	position:relative;
}
/* header */
.header {
    background-color: #890000;
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0)), to(rgba(0,0,0,0.3)));
    background-image: -moz-linear-gradient(transparent 10%, rgba(0, 0, 0, 0.3) 95%);
    clear: both;
    min-height: 155px;
    overflow: hidden;
}
/* header_title */

#header_title h1 {
	color:#fff;
}

#menu-primary {
    background: #890000;
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0.3)), to(rgba(0,0,0,0.5)));
    background-image: -moz-linear-gradient(rgba(0,0,0,0.3) 10%, rgba(0, 0, 0, 0.5) 95%);
    border-bottom: 5px solid #000;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 5px 9px rgba(0, 0, 0, 0.4);
    clear: both;
    float: left;
    margin-bottom: 40px;
    width: 100%;
}

#menu-primary li:hover > a,
#menu-primary ul ul :hover > a {
	background: #000;
	-webkit-transition: background 0.5s linear;
	-moz-transition: background 0.5s linear;
	-o-transition: background 0.5s linear;
}

#menu-primary .current_page_item > a {
	background: url("img/primary-menu-current.png") no-repeat scroll center bottom transparent;
	color: #eee;
}

#menu-primary div {
		margin: auto;
	}
	
	#menu-primary div ul {
		float: left;
		list-style: none;
		margin-top: 12px;
	}
	
	#menu-primary li {
		float: left;
		position: relative;
	}
	
	#menu-primary li a {
		border-left: 1px solid rgba(0, 0, 0, 0.9);
    	box-shadow: -1px 0 0 rgba(255, 255, 255, 0.1);
		color:#fff;
		font-size: 1.3em;
		font-weight: bold;
		padding: 12px 12px 15px 12px;
	}
	
	.children {
		display:none !important;
	}
	/*
	.page_item_has_children a:hover + .children {
		display: block !important;
		position:absolute;
	}
	*/
	.search-input {
		width: 170px;
		padding: 3px;
		border-radius: 5px;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
	}
	
	main {
		min-height: calc(100vh - 265px);
		padding: 0 50px 0 50px;
		background: #fff;
		width: 1000px;
		margin: auto;
		-webkit-border-radius: 15px;
		-moz-border-radius: 15px;
		border-radius: 15px;
		border: 2px solid #860000;
		-webkit-box-shadow: #2d2d2d 0px 12px 42px;
		-moz-box-shadow: #2d2d2d 0px 12px 42px;
		box-shadow: #2d2d2d 0px 12px 42px;
	}

/* nav */
.nav {

}
/* sidebar */
.sidebar {
	display:none;

}

	
	.search {
		position: absolute;
		top: 166px;
		right: 20px;
		display: none;
	}

/* footer */
.footer {
    background: #111;
    color: #666;
    float: left;
    font-size: 11px;
    line-height: 18px;
    margin: 30px 0 0;
    padding: 20px ;
    width: 100%;
	text-align:center;
}

.footer a:hover {
    color: #CCC;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/


.blocks {
    display: inline-block;
    margin:5px;
}

.blocks img {
	float:left;
	margin-right:10px;
	width:30px;
    height:30px;
}

.inner {
    display: flex;
}


/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    Huge IT slider
\*------------------------------------*/
.huge_it_slideshow_image_wrap_2 {
	float: inherit !important; 
	box-shadow: rgb(68, 68, 68) 0px 0px 15px;
    box-sizing: content-box;
}


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/
/* Mobile */
@media only screen and (min-width:320px) and (max-width:767px) {
	#korektna_firma {
    position: absolute !important;
    left: 40% !important;
    top: -49px !important;
    z-index: 99999;
}
		
	#menu-primary div ul {
		display:none;
	}
		
	#korektna_firma img {
		width:50px;
	}
	
	#header_left {
		display:none;
	}
	
	#header_title {
		float:right;
		width:94%;
		font-size: 0.6em;
	}
	
	#header_title h1 {
		font-size:2em;
	}
	
	main {
		min-height: calc(100vh - 281px);
		width: 94%;
    	padding: 0 20px 0 20px;
		border: none;
	}
	
	.contact_form {
		width:100% !important;
	}
	
}

/* Tablet */
@media only screen and (min-width:768px) {
	#menu-primary div {
		height: 42px;
	}
	
	#menu-primary div ul {
		display:none;
	}
		
	.header_title {
		display:inline-block;
	}
	
	#header_title h1 {
		font-size:2em;
	}
	
	#header_title {
	}
	
	.search {
		position: absolute;
		top: 166px;
		right: 20px;
	}
	
	main {
		width: 800px;
		padding: 0 20px 0 20px;
	}
	
}

/* Descktop */
@media only screen and (min-width:992px) {
		
	main {
		width: 800px;
		padding: 0 50px 0 50px;
	}
	
	#menu-primary div  {
		width: 960px;
	}
			
	#menu-primary div ul {
		display: inherit;
	}
	
	#menu-primary div ul {
		display: inherit;
	}
	
	.search {
		display: inherit;
	}
}

@media only screen and (min-width:1200px) {
	
	main {
		width: 900px;
	}
	
	#menu-primary div  {
		width: 750px;
	}
}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		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) ")";
	}
	.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;
	}
	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;
	}
}
