/* HTML5 ✰ Boilerplate
/* HTML5 Reset :: style.css
-------------------------------------------------------------------------------*/

html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video { margin: 0; padding: 0; border: 0; 	outline: 0; vertical-align: baseline; background: transparent; }
article, aside, figure, footer, header, hgroup, nav, section {display: block;}
img, object, embed {max-width: 100%;}
html {overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after, q:before, q:after {content: ''; content: none;}
a {margin: 0; padding: 0; vertical-align: baseline; background: transparent;}
del {text-decoration: line-through;}
abbr[title], dfn[title] {border-bottom: 1px dotted #000; cursor: help;}
table {border-collapse: collapse; border-spacing: 0;}
th {font-weight: bold; vertical-align: bottom;}
td {font-weight: normal; vertical-align: top;}
hr {display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0;}
input, select {vertical-align: middle;}
pre { white-space: pre; /* CSS2 */	white-space: pre-wrap; white-space: pre-line; word-wrap: break-word;}
input[type="radio"] {vertical-align: text-bottom;}
input[type="checkbox"] {vertical-align: bottom; *vertical-align: baseline;}
.ie6 input {vertical-align: text-bottom;}
select, input, textarea {font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
a:hover, a:active {outline: none;}
strong, th {font-weight: bold;}
td, td img {vertical-align: top;}
sub, sup {font-size: 75%; line-height: 0; position: relative;}
sup {top: -0.5em;}
sub {bottom: -0.25em;}
pre, code, kbd, samp {font-family: monospace, sans-serif;}
.clickable, label, input[type=button], input[type=submit], button {cursor: pointer;}
button, input, select, textarea {margin: 0;}
button {width: auto; overflow: visible;}
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
.ie6 html {filter: expression(document.execCommand("BackgroundImageCache", false, true));}
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

/* ==|== primary styles =====================================================

   ========================================================================== */

* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
* .ie7 { behavior: url(boxsizing.htc) }

html { font-size: 62.5%; /*-webkit-text-size-adjust: 62.5%; -ms-text-size-adjust: 62.5%;*/ }
html, body { height:100%; }
body { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; color:#333132; background:url(../img/bg.gif) 50% 0 no-repeat; background-attachment:fixed }
.ie7 body, .ie8 body { background:url(../img/bg-ie.gif) 50% 0 no-repeat; background-attachment:fixed }
a {color:#333132;}
a:hover {color:#999898;}
a::-webkit-tap-highlight-color: rgba(255, 255, 255, 0);

h1 { font-size:22px; font-size:2.4rem; line-height:1.25; letter-spacing:-0.1; font-weight:normal;}
h2 { font-size:34px; font-size:3.6rem; line-height:1.25; letter-spacing:-1px; font-weight:normal; position:relative; left:-3px}
h3 { font-size:18px; font-size:2.0rem;  line-height:1.25; letter-spacing:-0.1; font-weight:normal;}
h4 { font-size:12px; font-size:1.2rem; line-height:1.25; font-weight:bold; position:relative; }
h5 { font-size:14px; font-size:1.4rem; line-height:1.25; font-weight:bold; position:relative; }

.wrapper {  max-width:980px; margin:0 auto; padding:0 2.5510204081632653061224489795918%; background:#fff;}

header { overflow:hidden; padding:50px 1.0752688172043010752688172043011% 0; }
.ie7 header, .ie8 header { max-width:879px; }
.logo { float:right; text-align:right; display:block;  }
.name { float:left; display:block; padding-top: 28px; }
.name h1 { position:relative; top:-4px; font-size:18px; font-size:1.8rem; line-height:1.25; letter-spacing:-0.1; font-weight:normal; white-space: nowrap; }
.name h1 img { width: 188px; }
.name p { font-size:13px; font-size:1.3rem; line-height:1.25; margin-top:39px; }
nav { overflow:hidden; text-align:center; padding:102px 20px 0 20px; }
nav a { display:inline-block; width:125px; text-align:left; white-space:nowrap; text-decoration:none; font-size:18px; font-size:1.8rem; color:#333132; border-top:1px solid #333132; padding-top:9px;}
nav a:first-child { width:160px; }
nav a:nth-child(2) { width:130px; }
nav a:nth-child(3) { width:135px; }
nav a:last-child { width:85px; }
nav a.active { border-top:1px solid #999898; color: #999898 }
nav a.navcontact { text-align:right; }

.social { /*width: 285px;*/width: 180px; margin: 0 auto; text-align: left; padding: 37px 0 0 0;  }
.social a { border: 0 !important; width: auto !important; margin-right: 10px; }
.social a img { vertical-align: top !important; }

.work { margin-top:86px; }
.ie8 .work, .ie7 .work { max-width:900px; }
.thumb { float:left; width:33.333333333333333333333333333333%; }

.thumb a { display:block; width:93.548387096774193548387096774194%; margin:0 auto 20px auto; position:relative; color:#333132; }
.caption { position:absolute; width:100%; height:50%; top:25%; background:rgba(255,255,255,0.95); opacity:0;  }
.thumb a:hover .caption { opacity: 1; }
.caption em { height:100%; display:inline-block; vertical-align:middle; }
.caption div { display:inline-block; vertical-align:middle; font-size:13px; font-size:1.3rem; line-height:1.25; padding:0 5%; }
.caption div strong { display:block; font-size:14px; font-size:1.4rem; }

.ie7 .thumb a { text-decoration:none; }
.ie7 .caption { filter: alpha(opacity=0); zoom:1}
.ie7 .thumb a:hover .caption { background:#fff; filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#e0FFFFFF, endColorstr=#e0FFFFFF); zoom:1}
.ie7 .caption em, .ie7 .caption div { display:inline; zoom:1 }

.ie8 .caption { filter: alpha(opacity=0); zoom:1}
.ie8 .thumb a:hover .caption { background:#fff; -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#e0FFFFFF, endColorstr=#e0FFFFFF)"; zoom:1}

.workitem { padding:0 1.0752688172043010752688172043011%;}
.ie8 .workitem, .ie7 .workitem { max-width:879px;  }

.workitem section { display:block; float:left; width:68.259385665529010238907849829352%; }
.workitem section img { display:block; margin-bottom:5px; }
.workitem aside { display:block; float:right; width:23.890784982935153583617747440273%; }

.workitem aside h4 { position:relative; top:-3px; margin-bottom:15px; }
.workitem aside h3 { margin-bottom:15px; }
.workitem aside p { font-size:12px; font-size:1.2rem; line-height:1.45; margin-bottom:15px; }
.back { display:inline-block;  font-size:14px; font-size:1.4rem; color:#333132; text-decoration:none; margin-top:18px; padding-bottom:43px; }
.naziv { margin-bottom:40px; }
.aboutlink { text-decoration:none; display:none; }

.text {padding:0 1.0752688172043010752688172043011%; width:64.516129032258064516129032258065%; margin-top:86px;}
.text p { font-size:15px; font-size:1.5rem; line-height:1.45; margin-bottom:15px; }

.contact {padding:0 1.0752688172043010752688172043011%; margin-top:86px;}
.contact a { text-decoration: none; }
.contactbig { font-size:28px; font-size:2.8rem; line-height:1; margin-bottom:24px;}
.contactmiddle {  font-size:18px; font-size:1.8rem; line-height:1.45; margin-bottom:24px;}
.rbr-none-visible { display:none; }

footer { padding:86px 1.0752688172043010752688172043011% 50px; clear:both }
footer p {   font-size:13px; font-size:1.3rem; line-height:1.45; }
footer br { display:none; }

iframe { width: 100%; }

/* ==|== media queries ====================================================== */

@media screen and (max-width: 1000px) {
	nav a { width:40px; font-size:1.6rem; }
	nav a:first-child { width:125px; }
	nav a:nth-child(2) { width:100px; }
	nav a:nth-child(3) { width:105px; }
	nav a:last-child { width:50px; }
}

@media screen and (max-width: 768px) {
	header { padding-top:20px; }
	nav { display:block; float:left; width:70%; padding:1px 0 0 0; text-align:left; }
	nav a { margin-top:9px; /*width:88px;*/ display: block; width: auto; }
	nav a:first-child { width: auto; }
	nav a:nth-child(2) { width: auto; }
	nav a:nth-child(3) { width: auto; }
	nav a:last-child { width: auto; }
	nav a.navcontact { text-align:left; }

	.name p { margin-top:0; }
	.work { margin-top:40px; }
	.text { margin-top:40px; }
	.workitem section { width:60% }
	.workitem aside { width:36%; padding-left: 0 }
	footer { padding-top:20px; padding-bottom:40px; }

	.social { width: auto; margin: 0; padding: 1px 0 0 0;  }
}

@media screen and (max-width: 670px) {
	.thumb { width:50%; }
	.workitem section, .workitem aside { width:100%; float:none; display:block; }
	.back { margin-top:0; padding-bottom:18px; }
	.naziv { margin-bottom:18px; }
	.text { width:100%; }
	.work, .text, .contact { margin-top:20px; }
	.rbr-visible-none { display:none; }
	.workitem aside p { font-size:15px; font-size:1.5rem; }
}

@media screen and (max-width: 480px) {
	header, .work, footer { padding-left:20px; padding-right:20px; }
	.name { padding-top: 24px; }
	.name h1 { font-size:16px; font-size:1.6rem; }
	.name h1 img { width: 166px; }
	.name p br { display:none; }
	.logo {width:73px; }
	nav { display:block; float:none; width:100%; text-align:center; padding:0; }
	/*nav a.navwork { text-align:left; width:30%; }
	nav a.navabout { text-align:center; width:40%; }
	nav a.navcontact { text-align:right; width:30%; }*/
	.thumb { width:100%; display:block; float:none; }
	.thumb a, .thumb img { width:100%;  }
	footer br:last-child { display:inline; }
	.workitem { padding:0 20px;}
	.back { margin-top:18px; }
	.text, .contact { padding:0 20px;}
	.rbr-none-visible { display:block; }

	.social { padding: 24px 0 0 0;  }
}

@media screen and (max-width: 360px) {
	.name { padding-top: 16px; }
	.name h1 { font-size:14px; font-size:1.4rem; }
	.name h1 img { width: 149px; }
	.name p { display:none; }
	.logo { width:47px; }
	nav { background:none; padding:0; }
	nav a { margin-top:15px;  font-size:15px; font-size:1.5rem;  }
	nav a.navwork, nav a.navcontact { padding-left:0; padding-right:0; width:30%; }
	nav a.navabout { padding-left:0; padding-right:0; width:40%; }
	footer { padding-top:20px; }
	footer p { font-size:13px; font-size:1.3rem; }
	footer br { display:none; }
	.aboutlink, .back { display:block;  font-size:13px; font-size:1.3rem; font-weight:normal;}
	.plus { background:url(../img/plus.png) 125px 2px no-repeat; }
	.minus { background:url(../img/minus.png) 125px 2px no-repeat;}
	.aboutnolink { display:none; }
	h2 {  font-size:28px; font-size:2.8rem; line-height:1.25; }
	.contactbig { font-size:24px; font-size:2.4rem; line-height:1; margin-bottom:18px;}
	.contactmiddle {  font-size:15px; font-size:1.5rem; line-height:1.45; margin-bottom:18px;}

	.social { padding: 0 0 0 0;  }
}

/* ==|== non-semantic helper classes ========================================

========================================================================== */

.ir { border: 0; font: 0/0 a; text-shadow: none; color: transparent; background-color: transparent; }
.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; }

/* ==|== print styles =======================================================
   Print styles.
   ========================================================================== */

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