/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}

/*Clearfix*/
.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
    font-size:0;
}
 
.clearfix {
    display: inline-block;
}
 
html[xmlns] .clearfix {
    display: block;
}
 
* html .clearfix {
    height: 1%;
}

.pull-left{
  float:left;
}

.pull-right{
  float:right;
}

/* GENERIC */
html {
  height: 100%;
}

html, body{
  height:100%;
  font-family:'Lato', arial, sans-serif;
  font-size:14px;
  color:#777;
  background:#eee;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{
  text-decoration: none;
}

p{
  margin:5px 0;
  line-height:1.45;
}

a:link,
a:active,
a:visited{
  color:#333333;  
}

a:hover{
  text-decoration:none;
  color:#0075a8;
}

strong{
  font-weight:bold;
}

/*MENU ------------------------------------------------------------------------- */
.menu{
  width:300px;
  background:#fff;
  float:left;
  height:100%;
  -webkit-box-shadow: 2px 0 5px 0 rgba(0,0,0,0.15);
  box-shadow: 2px 0 5px 0 rgba(0,0,0,0.15);
}

.menu .closed{
 opacity: 0;
  /*filter: alpha(opacity = 0);*/
  position: absolute;
  width:40px;
}

.menu .closed .burger{
  margin-top:30px;
  margin-left:10px;
  cursor:pointer;
}

.menu .open{
  position: relative;
  height: 100%;
  width:300px;
}

.menu .open img.logo{
  width:170px;
  height:121px;
  margin:60px 0 20px 20px;
}

.menu .open #navigation a{
  display: block;
  line-height: 66px;
  color:#555;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  font-size:15px;
  padding-left:20px;
  vertical-align: top;
}

.menu .open #navigation a svg,
.menu .open #navigation a img{
  margin-right:12px;
  vertical-align: top;
  margin-top:13px;
  opacity: 0.05;
}

.menu .open #navigation a svg{
  -webkit-transition: opacity 2s ease-out;
  -moz-transition: opacity 2s ease-out;
  -ms-transition: opacity 2s ease-out;
  -o-transition: opacity 2s ease-out;
  transition: opacity 2s ease-out;

    opacity: 1.0;
}

.menu .open #navigation a svg path{
  fill:#ccc;
}

.menu .open #navigation a.active{
  color:#fff;
}

.menu .open #navigation a.active svg path{
  fill:#fff;
}

.menu .open #navigation a#landscapes.active{
  background:#0054ae;
}

.menu .open #navigation a#portraits.active{
  background:#004f8c;
}

.menu .open #navigation a#abstracts.active{
  background:#544c3b;
}

.menu .open .footer{
   padding:20px 25px 20px 20px;
   position: absolute;
   bottom:0;
}

.menu .open .footer a{
  display: block;
  padding:24px 0;
  font-weight: 900;
  font-style: italic;
  color:#aaa;
}
.menu .open .footer p{
  font-style: italic;
  color:#aaa;
  font-size:14px;
  line-height: 1.5;
  display: block;
}

/*Smaller height menu*/
@media screen and (max-height: 720px) {
    .menu .open img.logo{
      margin:40px 0 20px 20px;
      width:136px;
      height:97px;
    } 

    .menu .open #navigation a{
      line-height: 50px;
    }

    .menu .open #navigation a svg{
      margin-top:10px;
      width:30px;
      height:30px;
    }

    .menu .open .footer a{
      padding:12px 0;
    }

    .menu .open .footer p{
      line-height: 1.3;
    }
}

@media screen and (max-height: 580px) {
   .menu .open img.logo{
      margin:20px 0 20px 20px;
    } 

   .menu .open .footer p{
      display: none;
    }

    .menu .open .footer p.copyright{
      display: block;
    }
}


/*GALERIE ------------------------------------------------------------------------- */

.galerie{
  background: #eee;
  height: 100%;
  overflow:hidden;
  margin-left: 300px;
}

.galerie a{
  text-decoration: none;
}

.burger-mobile{
  display: none;
}

.image-container{
  position: relative;
  padding:10px 20px 10px 20px;
  text-align: center;
  height:100%;
}

.image-holder{
  width:100%;
  height:100%;
}

.helper{
   display: inline-block;
   height: 100%;
   vertical-align: middle;
   width:0;
   overflow: hidden;
   margin-left:-1px;
}

.image{
  display: inline-block;
  max-height: 100%;
  max-width: 98%;
  vertical-align: middle;
  cursor: pointer;
}

.loader{
  width:110px;
  height: 90px;
}


.dock{
  padding:0;
  width:100%;
}

.dock .previous a,
.dock .next a{
  width:50px;
  font-size: 24px;
  color:#666;
  display: block;
  text-align: center;
  margin-top:22px;
}

.dock .previous a:hover,
.dock .next a:hover{
  color:#333;
}

.dock .previous a.disabled,
.dock .next a.disabled{
  color:#dddddd;
  cursor: default;
}

.dock .thumbs{
  overflow: hidden;
  white-space: nowrap;
  margin:0 50px 0 50px;
}

.dock .thumbs .wrapper{
  display: inline-block;
}

.dock .thumbs a{
  display: inline-block;
  border:2px solid #eee;
  margin-right:6px;
  opacity: 0.4;
  /*filter: alpha(opacity = 40);*/
  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
  filter: gray; /* IE6-9 */
  -webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */
  -webkit-transition: all 0.25s ease-out;
  -moz-transition: all 0.25s ease-out;
  -ms-transition: all 0.25s ease-out;
  -o-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
}

.dock .thumbs a:focus,
.dock .thumbs a:active,
.dock .thumbs a.active{
  opacity: 1;
  /*filter: alpha(opacity = 100);*/
  filter: none; /* IE6-9 */
  -webkit-filter: grayscale(0);
  border:2px solid #ccc;
}

.dock .thumbs a img{
  display: block;
  height: 60px;
}

.dock .thumbs img.separator{
  margin-right: 10px;
}

.dock .thumbs img.separator:last-child{
  display: none;
}

/* iPad optimisation  ------------------------------- */
@media screen and (max-width: 1024px){
   .dock .thumbs a img{
      height: 30px;
    }
}

/* Mobile phone Screen ------------------------------- */
@media screen and (max-width: 767px){
    .menu{
      width:150px;
      -webkit-box-shadow: none;
      box-shadow: none;
      background: #eee;
    }

    .menu .open{
      width:150px;
      background: #fff;
    }

    .menu .open img.logo{
      width:109px;
      height:78px;
    } 

    .menu .open #navigation a {
      text-align: center;
      padding:10px 0;
    }

    .menu .open #navigation a span{
      display:none;
    }

    .menu .open #navigation a svg{
      margin-top:0;
      width:60px;
      height:60px;
    }

    .menu .open .footer{
      display:none;
    }

    .menu .closed{
      display: none;
      width:0;
    }

    .galerie{
      margin-left: 150px;
    }

    .galerie .burger-mobile{
      display: block;
      position: absolute;
      z-index: 999;
      padding:10px;
      background: #fff;
    }

    .galerie .image-container{
      padding:5px;
    }

    .dock .thumbs{
      margin:0 10px;
    }

    .dock .thumbs a{
      margin-right:3px;
    }

    .dock .thumbs a img{
      height: 20px;
    }

   .dock .previous,
   .dock .next{
      display:none;
      width: 0;
    }
}

/*Touch Interface optimisation ------------------------------- */
  html.touch .menu .open{
    -webkit-transform: translateZ(0);
  }
  
  html.touch .image-container{
    -webkit-transform: translateZ(0);
  }

  html.touch .image{
    -webkit-transform: translateZ(0);
  }
  
  html.touch .dock{
    -webkit-transform: translateZ(0);
  }
  html.touch .dock .thumbs{
    overflow: auto;
    overflow-y: hidden;
    margin:0 10px;
    -webkit-transform: translateZ(0);
  }

  html.touch .dock .thumbs a{
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
    
    filter: none; /* IE6-9 */
    -webkit-filter: none;
    -webkit-transform: translateZ(0);
  }
  html.touch .dock .thumbs a:hover{
    opacity: default;
    filter: none; /* IE6-9 */
    -webkit-filter: none;
  }
  html.touch .dock .thumbs a img{
    -webkit-transform: translateZ(0);
  }

  html.touch .dock .previous,
  html.touch .dock .next{
    display:none;
    width: 0;
  }






