/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */
/* --------------------------------
Reset Browser Inherited Style
---------------------------------*/

html,body,h1,h2,h3,h4,h5,h6,p,dd,dl,dt,div,hr,img,input,select,textarea{
	margin:0;
	padding:0;
	border:0;
    font-size: 15px; 
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    /*line-height: 1.4;*/
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/*-webkit-transition: all 0.5s ease-in-out;-moz-transition: all 0.5s ease-in-out;-o-transition: all 0.5s ease-in-out;transition: all 0.2s ease-in-out;*/
/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html,body{background:#fbfbfb;}
body{padding-top: 93px;}
.justify{text-align: justify;}
a{outline: none!important;text-decoration: none;color: #000;}
a:hover{color: #77b900;}
.bc{-webkit-background-size: cover!important;-moz-background-size: cover!important;-o-background-size: cover!important;background-size: cover!important;}
p{margin-bottom: 30px;}
.left{float: left;}
.right{float:right;}
.clear{clear: both;}
h1{font-size:40px;margin-bottom: 30px;}
.wrapper{max-width: 1128px;margin: 0 auto;padding: 0 20px;}
.center{text-align: center;}
.top{width: 100%;height: 33px; padding-top: 40px;padding-bottom: 20px;position: fixed;top:0;left: 0;z-index: 999;background: #fbfbfb;}
.logo{float: left;}
ul.menu{list-style: none; padding: 0; margin: 0;float:right;}
ul.menu li{display: inline-block; vertical-align: bottom;margin-left:40px;margin-top: 10px;}
ul.menu li a{color: #000;}
ul.menu li a.active{font-weight: bold;}
.banner{width: 100%; height: 727px;}
#contact-slider ul.slides li div{width: 100%; height:450px;}
.content{padding: 40px 0 50px 0;line-height: 30px;min-height: 480px;}
.nominheight{min-height:0;}
.footer{background: #efefef;clear: both;}
.footer .wrapper{font-size:13px;padding:15px 0;}
ul.col3{list-style: none; padding: 0; margin: 0;}
ul.col3 li{width:33.33%; display: inline-block; vertical-align: top;}
.contact .wrapper{text-align: center;}
ul.col2{list-style: none; padding: 0; margin: 0;}
ul.col2 li{width:33.3%; display: inline-block; vertical-align: top;}
ul.col2 li .box{width: 95%;}
.foto img{width: 100%; height: auto;}
.photographer{text-transform: uppercase;text-align: center; padding: 10px 10px 34px 10px;}
.foto_w{overflow: hidden;}
.foto{display: block;width: 100%;height:400px;}
.animatebackground{-webkit-transition: all 2s ease-in-out;-moz-transition: all 2s ease-in-out;-o-transition: all 2s ease-in-out;transition: all 2s ease-in-out;}
.animatebackground:hover{-webkit-animation: animatedBackground 4s ease-out 1;-moz-animation: animatedBackground 4s ease-out 1;animation: animatedBackground 4s ease-out 1;-webkit-animation-fill-mode: forwards;animation-fill-mode: forwards;}
.pw{text-align: center;margin-bottom: 30px;}
.foto-cat{position: relative;}
.foto-cat a{display:inline-block;padding: 0 20px;cursor: pointer;}
.foto-cat a.active{font-weight: bold;}
.foto-cat span{display:inline-block;padding: 0 20px;}
.all-foto{position: absolute; right: 0;top:0;padding: 0!important;color:#979696;}
.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 95.5%; margin:0 auto 4% auto;} 
.embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
ul.films li .thumbnail{ display: block;width: 95.5%;height: 0; padding-bottom: 53.74%;margin:0 auto 4% auto;position: relative;}
ul.films li .thumbnail span{display: block;background: rgba(0, 0, 0, 0.5);width: 96%;color: #fff;padding: 5px 2%;text-align: center;position: absolute;bottom: 0;left:0;}
/*masonry*/
.grid-sizer { width: 23.67%; }
.gutter-sizer { width: 1.77%; }
.grid-item {
 /* width: 267px;
  height: 200px;*/
display: block;
  width: 23.67%; 
  height: 0;
  padding-bottom: 17.73%;
  float: left;
  /* vertical gutter */
  margin-bottom: 1.77%; margin-bottom:0;
  
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
    position: relative;
    overflow: hidden;

}

.grid:after {
  content: '';
  display: block;
  clear: both;
}
.grid {
    width:100%; position:relative;
}

.po{/*width: 267px;height: 420px;*/width:23.67%;height:0;padding-bottom:37.23%; }
.lm{/*width: 554px;height: 420px;*/width: 49.11%;height: 0;padding-bottom:37.23%; }
.pa{/*width: 554px;height: 200px;*/width: 49.11%;height: 0;padding-bottom:17.73%; }
.grid-item a{position: absolute;width: 100%;height: 100%;display: block;}
.navicon {
  display: none;
  float: right;
 /* width: 60px;
  height: 60px;*/
  text-indent: -9999em;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  z-index: 999;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  margin-top:8px;
}
.navicon .inner {
  display: block;
  width: 25px;
  height:20px;
  /*margin: 18px 16px;*/
  padding: 0;
  position: relative;
}
.navicon .bar {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  left: 0;
  background: #000;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.navicon .bar.t {
  top: 0;
}
.navicon .bar.mid {
  top: 50%;
  margin-top: -2px;
}
.navicon .bar.btm {
  top: 100%;
  margin-top: -4px;
}
.navicon.is-active .bar.t,
.navicon.is-active .bar.mid,
.navicon.is-active .bar.btm {
  top: 50%;
  margin-top: -2px;
}
/* ==========================================================================
   Media Queriess
   ========================================================================== */
@media all and (max-width: 999px) {
     .top ul.menu{display:none;}
	.navicon{display:block;}
    .top ul.menu {
        position:absolute;
        width:100%;
        float: none;
        clear: both;
        margin:0;
        padding:20px 0;
        overflow: hidden;
        zoom: 1;
        top:93px;left:0;
        -webkit-transition:none;-moz-transition:none;transition:none;
        background:rgba(255,255,255,0.95);   
        z-index: 99999;
  }
    .top ul.menu li {
    display: block;
 	text-align:left;
    width: 100%;
	margin:0;
	padding:0;
  }
    .top ul.menu li a{color: #000;padding:10px 20px;display: block;font-size:20px;}
    .top ul.menu li a:hover{color: #77b900;}
    .top ul.menu li span{display:none;}
  
}
@media all and (min-width: 1000px) {
  .top ul.menu{display:block!important;}
  
}
@media all and (max-width: 768px) {
    ul.col2 li{width:100%; display:block;}
    ul.col2 li .box{width: 100%;clear: both;}
    ul.col3 li{width:100%; display: block;margin-bottom: 34px;}
    ul.films li .thumbnail{ width: 100%;padding-bottom: 56.27%;margin:0 auto 0% auto;}
    
    .grid-sizer{ width: 49.12%; }
    .grid-item{width: 49.12%;padding-bottom: 36.79%;}
    .po{/*width: 267px;height: 420px;*/width:49.12%;height:0;padding-bottom:75.35%; }
    .lm{/*width: 554px;height: 420px;*/width:100%;height: 0;padding-bottom:75.35%; }
    .pa{/*width: 554px;height: 200px;*/width:100%;height: 0;padding-bottom:36.46%; }
    .all-foto{position: relative; display: block!important;}
}
@media all and (max-width: 500px) {
    h1{line-height: 43px;}
    .grid-sizer{ width: 100%; }
    .grid-item{width: 100%;padding-bottom: 74.91%;}
    .po{/*width: 267px;height: 420px;*/width:100%;height:0;padding-bottom:157.30%; }
    .lm{/*width: 554px;height: 420px;*/width: 100%;height: 0;padding-bottom:75.35%; }
    .pa{/*width: 554px;height: 200px;*/width: 100%;height: 0;padding-bottom:36.46%; }
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.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 {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   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;
    }
}

