/* HTML5 0 Boilerplate */
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; }

::-moz-selection { background: #ef0505; color: #fff; text-shadow: none; }
::selection { background: #ef0505; color: #fff; text-shadow: none; }

a { color: #fff; }
a:visited { color: #fff; }
a:hover { color: #fff; text-decoration: none; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }

figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

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

html, body, h1    {margin: 0;padding: 0;}

body h1 a    {cursor: pointer;}

.dwir a    {
    width: 100px; /* define your own W&H and BG image */
    height: 100px;
    display: block;
    position: relative;
    overflow: hidden;    
    }

.dwir a span    {
    width: 100px; 
    height: 100px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    display: block;
    }

.clear    {clear: both;}

/* page styles */
body    {
    background: #fff;
    font-family: 'Open Sans', sans-serif;    
    font-size: 90%;	
    color: #464545;
    }
    
.container-fluid   {
    /*max-width: 1600px;*/
    padding: 40px 50px;
    margin: 0 auto;        
	}
    
header	{
	position: relative;
	/*min-height: 114px;*/
	border-bottom: 3px solid #1f82ff;
	}
    
.vertical-align {
    display: -webkit-box;
    -webkit-box-pack: end; /* justify-content */
    -webkit-box-align: end; /* align-items */
    display: flex;
    align-items: flex-end;
    }
	
.logo  {
    position: relative;
    display: block;
    max-width: 370px;
    max-height: 103px;
    margin-bottom: 12px;
    }
    
header img   {
    width: 100%;
    height: auto;
    }

header .col-md-9   {
    /*min-height: 111px*/
    }    
    
nav.main-menu {
    position: absolute;
    right: 14px;
    bottom: 0;
    width: 100%;
    }
    
nav.main-menu ul    {
    margin: 0;
	padding: 0;    
    text-align: right;
	}    

nav.main-menu ul li   {
    display: inline-block;
    vertical-align: top;
    width: 18%;
    padding: 0;
    }
    
nav.main-menu ul li a   {
    display: block;
    color: #4d4d4d;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    padding: 6px 0;
    text-transform: uppercase;
    margin-left: 10px;
    }
    
nav.main-menu ul li.active a   {
    background: #1f82ff;
    color: #fff;
    }
    
main   {
    overflow: hidden;
    position: relative;
    }
    
.mobile-menu    {
    display: none;
    }
    
main .bg    {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: url('../img/onas.png') right bottom no-repeat;
    background-size: contain;
    }
    
#cloud-slider  {
    margin: 10px 0 0 auto;
    width: 60%;
    }
    
#cloud-slider img   {
    width: 100%;
    }
    
#cloud-slider .nivo-directionNav,
.nivo-controlNav    {
    display: none;
    }
    
.main-img   {
    text-align: center;
    position: relative;
    z-index: 2;    
    }
    
.main-img img   {
    max-width: 80%;
    }
    
section {
    padding: 0 5px;
    background: rgba(255,255,255,0.9);
    overflow: auto;
    font-size: 1em;
    padding: 20px 20px 20px 0; 
    position: relative; 
    z-index: 2;    
    }
    
footer	{
	border-top: 3px solid #1f82ff;
    }

footer ul   {
    margin: 0;
    padding: 0;
    list-style: none;        
    }
    
footer img  {
    width: auto;
    height: 100%;
    }
    
footer ul li span  {
    display: block;
    margin: 0 auto;
    height: 90px;
    text-align: center;
    }
    
footer ul li    {
    width: 14.2857%;
    display: inline-block;        
    vertical-align: bottom;
    }
	
h1,h2,h3,h4	{
	color: #000;
	font-weight: normal;
	}
    
h1  {
    font-size: 160%;
    }
    
h2  {
    color: rgb(31, 130, 255);
    font-size: 140%;
    margin-bottom: 30px;
    }
    
h3  {
    font-size: 120%;
    }
    
h4  {
    font-size: 110%;
    }
    
.border-right   {
    border-right: 1px solid #000;
    }
    
/* reference */
.reference section   {
    padding-top: 20px;
    }
    
h2   {
    margin: 0 0 20px 0;
    }
    
ul.fotogalerie-list   {
    margin: 0 0 0 -15px;
    padding: 0;
    list-style: none;        
    }

ul.fotogalerie-list img {
    max-width: 100%;
    }   
    
ul.fotogalerie-list li  {
    display: inline-block;
    width: 33.3334%;
    vertical-align: top;
    }
    
ul.fotogalerie-list li div  {
    padding: 0 0 15px 15px;
    }
    
ul.fotogalerie-list li a  {
    display: block;
    }
    
ul.fotogalerie-list li a span {
    display: none;      
    }
    
#reference-detail     {
    height: 100%;
    }
    
a.close-gallery {
    position: absolute;
    right: 30px;
    top: 30px;
    z-index: 999;    
    border-radius: 19px;    
    background: #fff;
    opacity: 0.6;
    }    
    
a.close-gallery:hover {
    opacity: 1;
    }
    
/* kontakt */
.kontakt #content-text .container   {
    width: 100%;
    }
/* end page styles */

.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }

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

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

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

.invisible { visibility: hidden; }

.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

@media print {
    * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: 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; }
}

@media handheld, only screen and (max-width: 992px) {
    .vertical-align {
        display: block;
        }
    header  {
        text-align: center;
        min-height: initial;
        padding-bottom: 5%;
        }
    .logo   {
        display: inline-block;
        width: 70%;
        vertical-align: middle;
        margin: 0% auto;
        }
    .mobile-menu    {
        display: inline-block;
        width: 30%;
        vertical-align: middle;
        }
    header .col-md-9   {
        min-height: initial;
        }
    .mobile-menu img    {
        width: auto;
        height: auto;
        }
    nav.main-menu  {
        display: none;
        position: initial;
        text-align: center;
        padding-top: 5%;
        }
    nav.main-menu ul li   {
        width: 100%;
        display: inline-block;
        }
    nav.main-menu ul li a   {
        margin-left: 0;
        }
    main .bg    {
        background: none;
        }
    section {
        overflow: initial;
        height: auto !important;
        padding: 5% 0;
        }
    h1,h2,h3    {
        margin: 0 0 1em 0;
        }
    .main-img   {
        padding: 0 0 2% 0;
        max-width: 80%;
        margin: 0 auto;
        }
    #cloud-slider   {
        margin: 0 auto;
        }
    footer ul li    {
        width: 33%;
        text-align: center;
        }
    footer ul li:last-child {
        width: 100%;
        }
    .reference section  {
        padding: 20px 0 0 0;
        }
    #reference-detail   {
        padding-bottom: 20px;
        }
    a.close-gallery    {
        right: 10px;
        }
    /*.border-right {
        border-right: none;
        border-bottom: 1px solid rgb(0, 0, 0);
        padding-bottom: 15px;
        margin-bottom: 15px;
        }*/    
}

@media handheld, only screen and (max-width: 750px) {
    ul.fotogalerie-list li,
    footer ul li    {
        width: 50%;
        text-align: center;
        }
}   

@media handheld, only screen and (max-width: 480px) {
    body    {
        font-size: 75%;
        }
    .container  {
        padding: 0;    
        }
    .container-fluid    {
        padding: 20px;
        }
    .logo   {
        margin: 10% auto;
        }
    ul.fotogalerie-list li,
    footer ul li    {
        width: 100%;
        text-align: center;
        }
    .kontakt .col-xs-offset-2 {
        margin-left: 3.666667%;
        }
}

@media handheld, only screen and (max-width: 335px) {   
    body    {
        font-size: 60%;
        }
}   