*{
	margin: 0;
	padding: 0;
}

body, html  
{
	scrollbar-track-color: black;
	scrollbar-face-color: #dcdbdb;
	scrollbar-highlight-color: gray;
	scrollbar-3dlight-color: gray;
	scrollbar-darkshadow-color: black;
	scrollbar-shadow-color: gray;
	scrollbar-arrow-color: black; 
	font-family: verdana,arial,helvetica,sans-serif; 
	font-size: 9pt; 
	font-weight: normal; 
	background-color: #a0a0a0;
}

#main_box{
	display: table;
	width: 930px;
	margin: 0 auto;
	margin-top: 90px;
	background: black;
	border: 1px solid white;
}

.row{
	display: table-row;
}

.row > div{
	display: table-cell;
}

.row:nth-of-type(1) > div{
	border-bottom: 1px solid white;
}

.row > div:nth-of-type(1){
	border-right: 1px solid white;
}

a{
	color: #f04902;
	text-decoration: none;
}
a:hover{
	text-decoration: underline;
}

#header{
	padding: 10px;
}

#header img{
	float: right;
}

p#nadpis{
	color: #f04902;
    	font-family: arial,helvetica,sans-serif;
    	font-size: 17pt;
    	font-weight: normal;
	text-transform: uppercase;
	margin-top: 10px;
}

#menu{
	padding: 20px;
	height: 448px;
	width: 158px;
}

#mobile_open, #mobile_close {
    display: none;
}

#hornimenu1 > .ddmxlileft > a{
	background: url(/files/images/odr.jpg) no-repeat left top 3px;
	display: block;
	font-weight: bold;
	width: 130px;
	background-size: 10px 10px;
}
#hornimenu1 .ddmxlileft{
    padding-top: 7px;
    padding-bottom: 7px;
}
#hornimenu1 .section .ddmxlileft{
    padding-top: 5px;
    padding-bottom: 5px;
}
#hornimenu1 .ddmxlileft a{
	padding-left: 15px;
	display: block;
}

#hornimenu1 .ddmxlileft a.hasKids:hover{
	text-decoration: none;
	cursor: default;
}

#kontakt{
	padding-left: 10px;
}

#kontakt p{
	color: #f04902;
	font-size: 8pt;
	line-height: 16px;
}

#kontakt p.fcb a{
	display: inline-block;
	width: 30px;
	height: 30px;
	background: url(/files/images/facebook.png) no-repeat center center;
	margin-top: 12px;
}

#kontakt a{
    color: #f14906;
    text-decoration: none;
}

#kontakt a:hover{
	color: white;
	text-decoration: underline;
}

#main_content{
	padding: 0;
	vertical-align: top;
	height: 488px;
	background-color: #606060;
	position: relative;
}

#main_content > div{
	
}

#main_content div#text_over{
	position: absolute;
	bottom: 5px;
	left: 5px;
	right: 5px;
	background: rgba(0,0,0,0.6);
	padding: 10px;
}

#main_content div#text_over p, #main_content div#text_over p strong{
    font-size: 12px;
    line-height: 16.8px;
}

#main_content > div:not(.reference_col_container):not(.scroll):not(#text_over) div{
	padding: 10px;
	background-color: #a0a0a0;
	padding-left: 15px;
}

#main_content div.scroll{
	overflow-y: scroll;
	height: 462px;
}

#main_content > div:not(.reference_col_container) div *{
	color: white;
	font-size: 8pt;
}
#main_content > div:not(.reference_col_container) div p{
	margin-bottom: 10px;	
}
#main_content > div:not(.reference_col_container) div p:last-of-type{
	margin-bottom: 0;
}

h1{
	background-color: #f04902;
	font-size: 9pt;
	color: white;
	text-transform: uppercase;
	border-bottom: 1px solid white;
	font-weight: normal;
	padding: 5px 15px;
}

.reference_col_container{
	overflow-y: scroll;
	background: black;
}

.reference_box{
	width: 100%;
	overflow: hidden;
}

.reference_img{
	float: left;
	width: 170px;
	margin-right: 10px;
	border: 1px solid #808080;
	border-bottom: none;
}
.reference_img img{
	width: auto;
	max-width: 100%;
	height: auto;	
	min-width: 170px;
	min-height: 114px;
}
.reference_img a{
	position: relative;
	display: block;
}
.reference_img img:hover{
	filter: none;
  	-webkit-filter: grayscale(0);
}

.reference_name{
	background-color: #a0a0a0;
    	border: 1px solid #808080;
    	color: #ffffff;
	font-size: 9pt;
	text-transform: uppercase;
	padding: 4px 8px;
}

.reference_text{
	padding: 5px;
}

.reference_text *{
	color: #bfbfbf !important;
    	font-size: 8pt;
	background: none !important;
}
.reference_text li{
	list-style: square;
	list-style-position: inside;
	padding-left: 20px;
}

@media screen and (max-width: 950px){

#header {
    overflow: hidden;
}

#main_box{
	display: block;
	width: 100%;
	margin-top: 0;
	border: none;
}

.row, .row > div{
	display: block;
}
div#empty{
	display: none;
}

.reference_col_container, #main_content div.scroll{
	overflow-y: auto;
	height: auto !important;
}

#main_content{
	height: auto;
}

#menu{
	height: auto;
	width: cacl(100% - 40px);
	border-right: none;
}
#main_content > img{
	width: auto;
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

}
@media screen and (max-width: 720px){
html{
	background: black;
}
#mobile_open {
    width: 30px;
    height: 30px;
    padding-top: 8px;
    padding-bottom: 15px;
    background: url(/files/images/hamburger.png) no-repeat left center;
    vertical-align: top;
    cursor: pointer;
    display: block;
}
#mobile_close {
    width: 30px;
    height: 30px;
    padding-top: 8px;
    padding-bottom: 15px;
    background: url(/files/images/close.png) no-repeat left center;
    vertical-align: top;
    cursor: pointer;
}
#hornimenu1.visible {
    display: block;
    overflow: hidden;
}
#hornimenu1 {
    display: none;
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 50;
    background: black;
    padding-bottom: 30px;
}
#kontakt {
    padding-left: 0px;
}
#hornimenu1 > .ddmxlileft > a{
	background: none;
}
#hornimenu1 .ddmxlileft a{
	display: inline-block;
	padding-left: 0;
}
#hornimenu1 .ddmxlileft{
	text-align: center;
}	
#header img{
	padding-left: 10px;
	padding-bottom: 10px;
}
}

@media screen and (max-width: 600px){
#main_content div#text_over{
	position: relative;
	left: auto;
	right: auto;
	bottom: auto;
}
.reference_img{
	float: none;
	margin: 0 auto;
	display: block;
}
.reference_box{
	margin-bottom: 20px;
	border-bottom: 2px solid #a0a0a0;
}
#main_content > div:not(.reference_col_container) div img{
	float: none !important;
}
}