/* HTML5 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%;overflow-y: scroll; }

html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; font-family:Georgia, "Times New Roman", Times, serif;  }

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


a:hover, a.active,  a:active  { color: #00c2f3; outline:0; }
a:focus { outline: thin dotted; }
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; }




#kontenjer { width:780px; margin:0 auto; padding:75px 0;}

header a#logo { width:480px; height:121px; display:block; margin:0 auto; opacity:1.0;-webkit-transition: all 0.2s linear; /* Saf3.2+, Chrome */
    -moz-transition: all 0.2s linear; /* FF4+ */
    -ms-transition: all 0.2s linear; /* IE10? */
    -o-transition: all 0.2s linear; /* Opera 10.5+ */
    transition: all 0.2s linear;}
header a#logo:hover { opacity:0.7;}

header a#logo-m { display:none; }


header section.lang { float:left; display:block;  width:100px; height:30px; font-style:italic; color:#000;}
header section.lang a { font-size:16px; color:#000; text-decoration:none; }
header section.lang a.active { font-weight:bold;}
header section.lang a:hover { text-decoration:underline;}

nav { clear:both; margin:25px 0 70px 0; text-align:center; font-size:20px;}
nav a { color:#000; text-decoration:none; cursor:pointer;}
nav .eng { display:none;}
footer nav { display:none;}



div#main section { width:780px; height:123px; display:block; text-decoration:none; background:center top no-repeat; margin-top:-123px;}
div#main section#onama { background-image:url(../img/menu-1.png); margin-top:0;}
div#main section#galerija { background-image:url(../img/menu-2.png);}
div#main section#djelatnici { background-image:url(../img/menu-3.png);}
div#main section#kontakt { background-image:url(../img/menu-4.png);}

div#main section.open { height:auto; padding:100px 0; background-position:0 -123px;}
div#main section.open article { display:block; margin-bottom:40px;}

div#main section article { width:660px; height:auto;  margin:0 auto; clear:both; display:none;}

div#main section article h1, div#main section article h2, div#main section article h3 { font-size:26px; line-height:36px; text-align:center; color:#000; width:660px; margin:0 auto;}
div#main section article h2, div#main section article h3 { font-weight:normal;}
div#main section article h3 { line-height:30px;}
div#main section article h4 { font-size:20px; line-height:46px; color:#00c2f3;}
div#main section article h4 span { font-size:16px; font-weight:normal; font-style:italic; color:#000}
div#main section article p { margin-top:42px; border-top:1px solid #000; padding-top:32px; font-size:16px; line-height:26px;}
div#main section article p + p { margin-top:32px;}
div#main section article p span.smallcaps { font-variant:small-caps}
div#main section#djelatnici article a { color:#00c2f3; font-weight:normal;}
div#main section article a { color:#000; text-decoration:underline;}
div#main section article a:hover {color:#00c2f3;}

div#main section#galerija article p { border:none; font-weight:bold; text-align:center;}
div#main section#djelatnici article { padding-top:60px;}
div#main section#djelatnici article p { margin:0;}
div#main section#djelatnici article div.separator { border-top:1px solid #000; margin-top:36px; margin-bottom:10px;}

div#main section#kontakt article { padding-top:80px;}
div#main section#kontakt article p b { color:#00c2f3; }

div#main section article a.btp { display:none;}

div#main section#djelatnici article p { border:none; padding:0; }

a#skica { font-style:italic; font-size:11px; color:#BBB; text-decoration:none; position:fixed; bottom:10px; font-family:Arial, Helvetica, sans-serif; right:20px; padding:4px; background:#fff;
-webkit-transition: all 0.2s linear; /* Saf3.2+, Chrome */
    -moz-transition: all 0.2s linear; /* FF4+ */
    -ms-transition: all 0.2s linear; /* IE10? */
    -o-transition: all 0.2s linear; /* Opera 10.5+ */
    transition: all 0.2s linear;
	}
a#skica:hover { color:#00c2f3; opacity:1;}

  @media only screen and (min-width: 1px) and (max-width: 800px) {
#kontenjer { width:100%; margin:0 auto; padding:35px 0 105px 0;}
header section.lang { display:none;}
header a#logo { display:none; }
header a#logo-m { display:block; width:90%; max-width:640px; margin:0 auto; }
header a#logo-m img, div#main section article { width:100%; height:auto; }
div#main section article { border-top:1px solid #000; padding-top:30px; }
div#main section article p { margin-top:30px;}
div#main section#onama, div#main section#galerija, div#main section#djelatnici, div#main section#kontakt,div#main section article h1, div#main section article h2, div#main section article h3  { background:none; padding:0; margin:0 auto; width:90%; max-width:640px; height:auto }

div#main section#djelatnici article, div#main section#kontakt article  { padding-top:30px; }
div#main section#kontakt article { text-align:center;}

nav { border-top: 1px solid #000; width:90%; max-width:640px; margin:30px auto; padding-top:25px; z-index:1000;}
nav a { font-size:16px;}
nav a#galerija, nav span { display:none;}
nav .eng { display:inline;}
div#main section article h1, div#main section article h2, div#main section article h3, div#main section article h4 { font-size:17px; letter-spacing:-0.03em; line-height:27px;}
div#main section article h4 { margin-bottom:15px;}
a#skica { display:block; position:relative; width:90%; max-width:640px; margin:0 auto; border:0; right:0; text-align:center; font-size:12px; font-style:italic; color:#333; padding:30px 0; opacity:0.5; font-family:Georgia, "Times New Roman", Times, serif; }

div#main section#kontakt article a { color:#999;}
div#main section#kontakt article a:hover { color:#00c2f3;}

div#main section article a.btp { background-color:#00c2f3; display:block; text-align:center; padding:30px 0; margin-top:45px; width:100%; cursor:pointer; display:block; color:#fff !important; font-weight:normal !important; font-family:Arial, Helvetica, sans-serif; font-variant:small-caps; text-transform:lowercase; font-size:16px;}
div#main section article a.btp:hover { text-decoration:none; background:#0eb7e6;} 
div#main section article a.btp:active {-webkit-box-shadow: inset 0px 0px 10px 1px rgba(0, 0, 0, 0.4);
        
        box-shadow: inset 0px 0px 10px 1px rgba(0, 0, 0, 0.4); padding:32px 0 28px 0; color:#CCC;}


	}

@media only screen
and (min-width : 321px)
and (max-device-width : 480px)
{	html, body, form, fieldset, p, div, h1, h2, h3, h4, h5, h6 {
    -webkit-text-size-adjust:none;
	
}
nav a { font-size:18px; }
header a#logo-m { display:block; width:200px; height:auto; margin:0 auto; }
header a#logo-m img { width:200px; height:auto;}
}

@media only screen and (min-width: 35em) {
  
}

.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; }
}
