/* 
   Stylopis pro Hippos design 
   Projekt: www.hipposdesign.com
   Autor: Martin Michalek, Studio Shortcat, michalek@shorcat.cz
*/

/* Importujeme Blueprint a jeho upravy */
@import "blueprint/screen.css";
@import "blueprint-extra.css";

body
{
  margin: 20px 0px;
  text-align: left;
  height: auto;
}

#content .basic_text_size
{
  font-size: 12px; 
  line-height: 16px;
}

a,
a:link
{
  color: #3ab3de;
}

a:focus,
a:hover
{
  color: #000;
}

#content
{
  min-width: 600px;
}

#head 
{
  margin-left: 40px;
  height: 75px;  
}

#we_are_hippos
{
  top: 15px;
  left: 37px;
  z-index: 650;
  position: absolute;
  width: 104px;
  font-weight: normal;
}

.lang_cz #we_are_hippos
{
  width: 90px;
}

/* Tagline */
#what_we_like
{
  top: 15px;
  left: 152px;
  z-index: 340;
  position: absolute;
  width: 550px; 
}

.lang_cz #what_we_like
{
  left: 124px;
}

h1 a:visited,
h1 a:active                                    { color: #3AB3DE; }
h1 a:hover                                     { color: #000; }

h1 em                                       
{
  text-decoration: underline;
  font-style: normal;
}

/* === Navigace === */

#navigation
{
  top: 74px;
  left: 39px;
  z-index: 370;
  position: absolute;
  width: 520px;
  height: 30px;
}

.navigation_item 
{
  margin-top: -5px;
  margin-right: 12px;
  float: left;
}

.navigation_item a
{
  padding: 5px 0;
}

.navigation_item strong
{
  font-weight: normal;
}


/* === Paticka === */

#foot
{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 54px;
  background-color: #fff;
}

#foot p
{
  margin: 14px 40px;
  padding: 0;
}


/* === Zaviraci krizek === */

#closing_cross
{ 
  z-index: 690; 
  right: 0px;
  top: 0px;
  height: 65px;
  width: 100px;
  margin-bottom: 0;
  position: absolute;
  background: transparent url(../img/closing_cross_bg.png) no-repeat scroll right top;
}  

#closing_cross a
{ 
  background: transparent url(../img/fancy_mod_shortcat_closebox.gif) no-repeat scroll left top;
  cursor: pointer;
  height: 37px;
  width: 37px;
  display: block;
  position: absolute;
  top: 12px;
  right: 16px;  
}  

#closing_cross a span
{ 
  display: none; 
}  

#closing_cross a:hover {
	background-position: bottom left;	
}



/* === Seznam thumbnailu === */

#thumbnails {
  position: relative;
  margin-left: 40px;
}



/* === Jednotlive prace v nahledovem pohledu  (rozhazene obrazky na bilem pozadi) === */

.work
{
  float: left;
  text-align: center;
  margin-left: 5px;
  margin-bottom: 5px;  
}

.work img
{
  border: 0;
  position: static;
  vertical-align: middle;  
}


/* 
Tri sirky obrazku:
.age_oldest: 120x? (pouziva "small" velikost z Flickru)
.age_older: 140x? (pouziva "small")
.age_new: 160x? (pouziva "small")
*/

.work.age_oldest              { z-index: 210; }
.work.age_older               { z-index: 220; }
.work.age_new                 { z-index: 230; }

.work.age_oldest img          { max-width: 120px; }
.work.age_older img           { max-width: 140px; }
.work.age_new img             { max-width: 160px; }



/* Nezobrazujeme text, ktery se objevuje jen v mouseoveru */
.work span
{
  display: none;
}


/* Mouseover nad praci   */

.work.active
{
  z-index: 250;
  display: block;
  width: 350px; /* Celkem 350 */
  height: auto;
  margin-top: -4px;
  margin-left: -4px;
  text-align: left;
  line-height: 16px; 
  background-color: #3ab3de;
  color: #fff;
  overflow: auto;
  border: 0;
}

.work.active img
{
  float: left;
  border: 0;
  margin-right: 10px;
  vertical-align: top;
}

/* Text */
.work.active span
{
  float: left;
  vertical-align: top;
  display: inline;  
  width: 125px;
  margin-top: 4px;
}

/* Sirka hover boxu je pokazde jina */
.work.active.age_new                           { width: 303px; } /* 120 (sirka textu) + 8 (padding) + 15 (mezera mezi obrazkem a textem) + 160 (obrazek)  */ 
.work.active.age_older                         { width: 283px; } /* 120 (sirka textu) + 8 (padding) + 15 (mezera mezi obrazkem a textem) + 140 (obrazek) */ 
.work.active.age_oldest                        { width: 263px; } /* 120 (sirka textu) + 8 (padding) + 15 (mezera mezi obrazkem a textem) + 120 (obrazek) */ 
 

/* Nazev prace */
.work.active span strong
{
  max-height: 33px;
  overflow: hidden;
  display: block;
  font-weight: normal;
}

/* Datum prace */
.work.active span small
{
  font-size: 12px;
  color: #000;
}


/* Nahled prace rozbalovany nalevo - pro ty, jez se dotykaji prave hrany */

/* Posun - plati pro vsechny varianty */
.work.reversed.active
{
  margin-left: -136px; /* 350 (sirka) - 4 (posun na mouseover marginem) - 200 (sirka obrazku) - 10 (margin obrazku) */
}


.work.reversed.active img
{
  float: right;
  margin-left: 0;
  margin-right: 0;
}

.work.reversed.active span
{
  float: left;
  margin-left: 6px;
}


/* === Index view (.page_index_view) === */

#content #index_view ul
{
  margin-right: 0;
}

#index_view {
  position: relative;
  margin-top: 10px;
  margin-bottom: 60px;
}

#index_view ul li {
  background-image: none;
  padding-left: 0;
  margin-left: 0;
}

#index_view ul li a {
  display: block;
  padding: 2px 0 1px 0;
  height: 1.3em;
  cursor: pointer;
}

#content #index_view ul li a:hover,
#content #index_view ul li a:focus,
#content #index_view ul li a:active {
  background-color: #3ab3de;
  color: #fff;  
}

#index_view ul a.visited,
#index_view ul a.visited strong {
  background-color: #000;
  color: #3ab3de;
}

#index_view ul a.visited strong 
{
  color: #fff;
}

#index_view ul li a strong,
#content #index_view ul li a:hover strong,
#content #index_view ul li a:focus strong,
#content #index_view ul li a:active strong {
  margin-left: 40px;
  width: 60px;
  float: left;
  color: #000;
  background-color: #fff;
  font-weight: normal;
}

#content #index_view ul li a:hover strong,
#content #index_view ul li a:focus strong,
#content #index_view ul li a:active strong {
  background-color: #3ab3de;
}

#index_view ul li a span {
  width: 480px;
  float: left;
  display: block;
}





/* === Textovy obsah - staticke stranky === */

#text_content
{
  position: absolute;
  top: 0px;
  left: 0px;
  width: 540px;
  height: 100%;  
  z-index: 350;
  color: #fff;
  background-color: #000;
  font-size: 1.667em;
  padding: 120px 40px 40px 40px;        
}

#text_content .column
{
  width: 180px;
  font-size: 12px; 
  line-height: 16px;
  float: left;
  margin-right: 0;
}

#text_content .column.first
{
  margin-right: 20px;
}

#text_content a:hover,
#text_content a:focus,
#text_content a:active
{
  color: #fff;
}


/* === Jednotlive stranky === */


/* === Textova stranka === */

/* Navigace na textove strance se musi obarvovat nezavisle na tride u body */
#navigation.on_text_page,
#navigation.on_text_page a:hover,
#navigation.on_text_page a:focus {
  color:  #fff;
}

.page_text #we_are_hippos a:hover,
.page_text #we_are_hippos a:focus
{
  color: #fff;
}

.page_text #we_are_hippos a
{
  color: #3AB3DE;
}

/* Seznam ma na textovych strankach omezenou vysku, aby cela stranka rolovala 
jenom podle vysky textove stranky. Pomoci JS nastavujeme tu vysku. */
.page_text #index_view
{
  overflow: hidden;
  margin-bottom: 0;
}

/* Mensi mezery mezi odstavci u Twitter zprav */
.news_content p
{
  margin-bottom: .7em;
  width: 450px;
}




/* -----------------------------------------------------------------------------
   Stranka Studio
*/

#studio_navigation
{
  font-size: 41px;
  width: 160px;
  float: left;
}

#studio_navigation a:focus,
#studio_navigation a:active
{
  color: #3AB3DE;
}

#studio_navigation a.active
{
  color: #fff;
}

#studio_content
{
  width: 380px;
  float: left;
  font-size: 12px;
  line-height: 16px;  
}

#studio_content h2,
#studio_content strong,
#awards strong
{
 font-size: 12px;
 text-decoration: underline;
 margin-bottom: 0;
 margin-top: 20px;
 color: #fff;
 font-weight: normal;
}

#people
{
 margin-top: -20px;
}

#awards .column
{
  margin-right: 15px;
  width: 165px;
}



/* === Stranka detail projektu === */

.page_detail 
{
  background-color: #000;
  color: #fff;
  overflow: hidden;
}

.page_detail .navigation_item a:hover,
.page_detail .navigation_item a:focus
{
  color: #fff;
}

.page_detail #project_title
{
  z-index: 650;
  color: #fff;
  left: 145px;
  text-transform: lowercase;
}

.lang_cz.page_detail #project_title
{
  left: 117px;
}

.page_detail #detail_content 
{ 
  position: relative;
  margin-left: 40px;
  margin-right: 40px;  
  margin-top: 100px; 
} 


/* V ajaxove verzi musi byt obsah roztahnuty, aby se v indexu po kliknuti 
nezuzil seznam praci */
.page_detail.has_ajax #content,
.page_detail.has_ajax #content ul
{
  margin-right: 0;
}


/* V detailu musime trochu jinak pozicovat titulek, protoze svou delkou muze 
vycnivat z okna a nesmi se zalomit */
#project_title
{
  top: 15px;
  left: 152px;
  z-index: 340;
  position: absolute;
  width: 800px; 
  height: 41px;  
  font-weight: normal;
  overflow: hidden;
}



/* === Ajaxova verze detailu - Fancybox === */

.page_detail.has_ajax
{
  background-color: #fff;
  color: #000;
}

.page_detail #we_are_hippos a:hover,
.page_detail #we_are_hippos a:focus
{
  color: #fff;
}

.page_detail .navigation_item a:hover,
.page_detail .navigation_item a:focus
{
  color: #000;
}


/* Titulek musi mit v pripade otevreni detailu ve Fancyboxu fixni pozici */
.fancybox_active .page_detail #we_are_hippos,
.fancybox_active .page_detail #project_title
{
  position: fixed;
}



/* === Indikator nacitani obsahu === */

#loading
{
  z-index: 670;
  position: fixed;
  background: url(../img/fancy_loading.gif) no-repeat;
  width: 42px;
  height: 42px;
  top: 50%;
  left: 50%;
  margin-top: -21px;
  margin-left: -21px;  
}

#loading span
{
  display: none; 
}

/* === Formular - napr. administracni rozhrani === */


.basic_form table,
.basic_form table td,
.basic_form table th
{
  vertical-align: middle;
  border: 0;
  padding: 0;
}


/* -----------------------------------------------------------------------------
Fancybox - plugin, ktery pouzivame pro otevirani detailu prace
*/


/* === Original FancyBox stylesheet === */

html.fancybox_active {
	height: 100%;
}

div#fancy_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #666;
	display: none;
	z-index: 30;
}

* html div#fancy_overlay {
	position: absolute;
	height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

div#fancy_wrap {
	text-align: left;
}

div#fancy_loading {
	position: absolute;
	height: 40px;
	width: 40px;
	cursor: pointer;
	display: none;
	overflow: hidden;
	background: transparent;
	z-index: 100;
}

div#fancy_loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background: transparent url('../img/fancy_loading.gif') no-repeat;
}

div#fancy_loading_overlay {
	position: absolute;
	background-color: #FFF;
	z-index: 30;
}

div#fancy_loading_icon {
	position: absolute;
	background: url('../img/fancy_loading.gif') no-repeat;
	z-index: 35;
	width: 16px;
	height: 16px;
}

div#fancy_outer {
	position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    padding: 18px 18px 33px 18px;
    margin: 0;
    overflow: hidden;
    background: transparent;
    display: none;
}

div#fancy_inner {
	position: relative;
	width:100%;
	height:100%;
	border: 1px solid #BBB;
	background: #FFF;
}

div#fancy_content {
	margin: 0;
	z-index: 100;
	position: absolute;
}

div#fancy_div {
	background: #000;
	color: #FFF;
	height: 100%;
	width: 100%;
	z-index: 100;
}

img#fancy_img {
	position: absolute;
	top: 0;
	left: 0;
	border:0; 
	padding: 0; 
	margin: 0;
	z-index: 100;
	width: 100%;
	height: 100%;
}

div#fancy_close {
	position: absolute;
	top: -12px;
	right: -15px;	
	height: 30px;
	width: 30px;
	background: url('../img/fancy_closebox.png') top left no-repeat;
	cursor: pointer;
	z-index: 181;
	display: none;
}

#fancy_frame {
	position: relative;
	width: 100%;
	height: 100%;
	display: none;
}

#fancy_ajax {
	width: 100%;
	height: 100%;
	overflow: auto;
}

a#fancy_left, a#fancy_right {
	position: absolute; 
	bottom: 0px; 
	height: 100%; 
	width: 35%; 
	cursor: pointer;
	z-index: 111; 
	display: none;
	background-image: url(data:image/gif;base64,AAAA);
	outline: none;
}

a#fancy_left {
	left: 0px; 
}

a#fancy_right {
	right: 0px; 
}

span.fancy_ico {
	position: absolute; 
	top: 50%;
	margin-top: -15px;
	width: 30px;
	height: 30px;
	z-index: 112; 
	cursor: pointer;
	display: block;
}

span#fancy_left_ico {
	left: -9999px;
	background: transparent url('../img/fancy_left.png') no-repeat;
}

span#fancy_right_ico {
	right: -9999px;
	background: transparent url('../img/fancy_right.png') no-repeat;
}

a#fancy_left:hover {
  visibility: visible;
}

a#fancy_right:hover {
  visibility: visible;
}

a#fancy_left:hover span {
	left: 20px; 
}

a#fancy_right:hover span {
	right: 20px; 
}

.fancy_bigIframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
}

div#fancy_bg {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	z-index: 70;
	border: 0;
	padding: 0;
	margin: 0;
}
	
div.fancy_bg {
	position: absolute;
	display: block;
	z-index: 70;
	border: 0;
	padding: 0;
	margin: 0;
}

div.fancy_bg_n {
	top: -18px;
	width: 100%;
	height: 18px;
	background: transparent url('../img/fancy_shadow_n.png') repeat-x;
}

div.fancy_bg_ne {
	top: -18px;
	right: -13px;
	width: 13px;
	height: 18px;
	background: transparent url('../img/fancy_shadow_ne.png') no-repeat;
}

div.fancy_bg_e {
	right: -13px;
	height: 100%;
	width: 13px;
	background: transparent url('../img/fancy_shadow_e.png') repeat-y;
}

div.fancy_bg_se {
	bottom: -18px;
	right: -13px;
	width: 13px;
	height: 18px;
	background: transparent url('../img/fancy_shadow_se.png') no-repeat;
}

div.fancy_bg_s {
	bottom: -18px;
	width: 100%;
	height: 18px;
	background: transparent url('../img/fancy_shadow_s.png') repeat-x;
}

div.fancy_bg_sw {
	bottom: -18px;
	left: -13px;
	width: 13px;
	height: 18px;
	background: transparent url('../img/fancy_shadow_sw.png') no-repeat;
}

div.fancy_bg_w {
	left: -13px;
	height: 100%;
	width: 13px;
	background: transparent url('../img/fancy_shadow_w.png') repeat-y;
}

div.fancy_bg_nw {
	top: -18px;
	left: -13px;
	width: 13px;
	height: 18px;
	background: transparent url('../img/fancy_shadow_nw.png') no-repeat;
}



/* 
-------------------------------------------------------------------------------- 
Mod Shortcat stylesheet 
--------------------------------------------------------------------------------
*/

body {
  _width: 100%;
}

/* === Overlay === */

div#fancy_overlay {
	position:absolute;
	top: 0;
	left: 0;
	z-index: 570;
	width: 100%;
	background-color: #000;
}

/* === Outer box === */

div#fancy_outer {
  position: absolute;
  z-index: 580;
  padding-top: 80px;
}

/* === Loading box === */

div#fancy_loading {
	position: absolute;
	height: 40px;
	width: 40px;
	cursor: pointer;
	display: none;
	overflow: hidden;
	background: transparent;
	z-index: 598;
}

div#fancy_loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 40px;
	background: transparent url('../img/fancy_loading.gif') no-repeat;
}

div#fancy_content {
  z-index: 597;
}

/* === Content on mouseover === */

.content_hover #fancy_bottom, 
.content_hover #project_title, 
.content_hover #closing_cross {
  z-index: 575;
}

/* === Image === */

img#fancy_img {
  z-index: 597;
}

/* === Closing cross === */

#fancy_close {
  z-index: 690;
  position: fixed;
  cursor: pointer;
  display: none;	
  right: 0px;
  top: 0px;
  height: 140px;
  width: 100px;
  margin-bottom: 0;
  position: fixed;
  background: transparent url(../img/closing_cross_bg.png) no-repeat scroll right top;	
}

* html #fancy_close {
  position: absolute;  
}

#fancy_close a
{ 
  background: transparent url(../img/fancy_mod_shortcat_closebox.gif) no-repeat scroll left top;
  cursor: pointer;
  height: 37px;
  width: 37px;
  display: block;
  position: absolute;
  right: 22px;
  top: 24px;  
} 

#fancy_close a:hover {
	background-position: bottom left;	
}


/* === Image has no backgroud and shadows === */

div#fancy_bg {
  display: none;
}

/* === Image has no border === */

div#fancy_inner {
  background-color: transparent;
  border: none;
  position: relative;
}

/* === Navigation - big left and right arrows === */

a#fancy_left, 
a#fancy_right {
  position: fixed;   	
	_position: absolute;
	display: none;
	bottom: 0px; 
	height: 100%; 
	width: 35%; 
	cursor: pointer;
	background-image: url(data:image/gif;base64,AAAA);
	z-index: 573; 	
}

a#fancy_left {
	left: 0px; 
}

a#fancy_right {
	right: 0px; 
}

a#fancy_left:hover {
	background: transparent url('../img/fancy_mod_shortcat_left.gif') no-repeat 0% 50%;
}

a#fancy_right:hover {
	background: transparent url('../img/fancy_mod_shortcat_right.gif') no-repeat 100% 50%;
}

/* We do not use "fancy_ico.." classes */

span.fancy_left_ico,
span.fancy_right_ico,
span.fancy_ico {
  display: none;
}


/* === Bottom side with title and paging === */

#fancy_bottom {
  position: fixed;
  bottom: 30px;
  width: 100%;
  z-index: 575;
}

#fancy_bottom a:active,
#fancy_bottom a:focus,
#fancy_bottom a:hover {
  color: #fff;
}

#fancy_paging {
  z-index: 598;
  float: right;
  line-height: 1em;
	text-align: right;
  margin-top: 5px;
	margin-right: 50px;
  width: 100px;
  display: none;
  font-size: 41px;
}

#fancy_paging * {
	color: #fff;
	height: 39px;
}

#fancy_paging strong {
  font-weight: normal;
}

#fancy_title {
  z-index: 575;
  position: absolute;
  bottom: 0px;
  float: left;
	width: auto;
	margin-left: 40px;
	display: none;
	max-width: 630px;
	min-width: 400px;
	width: 60%;
	font-weight: normal;	
	padding: 0;
}

#fancy_title span {
	background: #000;
	color: #fff;
	line-height: 1.35em;
	padding: 2px;
}

#fancy_title:hover,
#fancy_bottom:hover {
  z-index: 600;
}

#fancy_bottom_clear {
  clear: both;
  font-size: 1px;
}


/* Prvni obrazek v setu je prekryvany textem, u ostatnich je text prekryvany 
obrazkem */
#fancy_wrap.first_image_in_set #fancy_title,
#fancy_wrap.first_image_in_set #fancy_bottom
{
  z-index: 598;
}

#fancy_wrap.first_image_in_set #fancy_outer:hover
{
  z-index: 600;
}


/* -----------------------------------------------------------------------------
Chybove stranky
*/

.page_error #content
{
  width: 470px;
  height: 200px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -100px;
  margin-left: -235px;
}

.page_error .column
{
  margin-right: 20px;
  width: 210px;
  float: left;
}


/* -----------------------------------------------------------------------------
 Cufon texty
*/

/* Velke titulkove nadpisy */

.cufon-active #we_are_hippos,
.cufon-active #what_we_like,
.cufon-active .page_detail #project_title,
.cufon-active #studio_navigation
{
  font-size: 41px;
  line-height: 41px;
  height: 48px;   
  letter-spacing: -1px;  
  font-weight: normal;
}

/* Velky text ve statickych strankach */

.cufon-active #text_content .cufonize
{
  font-size: 20px;
  line-height: 24px;
  font-weight: normal;
}
