﻿/* fluid 5 columns */
.grid-sizer,
.album-item {width: 33.333333%;height: 311px !important;}

.album-item{float:left;}
.album-item img {  display: block;  max-width: 100%; height:auto;  padding:0px 15px;}
/* 2 columns */
.grid-item--width2 {width: 50%;height: 397px;}
.grid-item--height2 {height: 560px;}

#album_container{margin-top:30px;margin-left:-15px;margin-right:-15px;}
#album_container .album-item{position:relative;text-align:center;}
#album_container .album-item .bg{background:#ccc;background-size:cover;position:absolute;background-position:center center;left: 20px;top: 0;right: 20px;bottom: 40px;background-repeat:no-repeat;}
#album_container .album-item .item-hover {
        background: rgba(222,177,50,0.8) no-repeat center center;
        /*background: rgba(255,240,214,0.5);*/
        position: absolute;
        width: calc(100% - 40px);
        height: calc(100% - 40px);
        top: 0px;
        left: 20px;
        border: solid 0px #ebebeb;
        opacity: 0;
        -webkit-transition: all .4s ease;
        -moz-transition: all .4s ease;
        -o-transition: all .4s ease;
        transition: all .4s ease;
        cursor: pointer;
}.page-info.page-about #album_container .album-item .bg {
    border: 2px solid rgba(255,255,255,0.8);
}
 .fancybox-opened .fancybox-title,.fancybox-title-float-wrap .child{
     font-size:20px;
     text-align:center;
    font-family: 'SFUFuturaBook';
     background:transparent !important;
     font-weight:700;
     color:#f7cd3d
 }
  /*.fancybox-opened .fancybox-title{left:50%;transform:translateX(-50%)}*/
#album_container .album-item:hover .item-hover {
    opacity: 1;
}#album_container .album-item .title{font-family: 'SFUFuturaBook';position: relative;width: 100%;min-height:61px;top: 25%;padding:15px;text-align:center;font-size:18px;text-transform:uppercase;color: #17543b;z-index:2;font-weight: 700;}
#album_container .album-item .shortdesc-album{font-family: 'SFUFuturaBook';position:absolute;width:calc(100% - 30px);min-height:61px;height: auto;top: 40%;left:15px;padding:15px;text-align:center;font-size: 16px;color: #17543b;z-index:2;font-weight: normal;}
.viewalbum{font-family: 'SFUFuturaBook';position:absolute;width:calc(100% - 30px);min-height:61px;top: 70%;left:15px;padding:15px;text-align:center;font-size: 16px;color: #17543b;z-index:2;font-weight: 600;}
#album_container .album-item .title.titlehover{
    bottom: 40px;
    top: unset !important;
    position: absolute;
    left: 20px;
    height: 40px;
    width: calc(100% - 40px);
    display: block;
    min-height: 0;
    padding: 10px;
    opacity:1;
    background: rgba(222,177,50,0.8);
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
    }
#album_container .album-item:hover .title.titlehover{opacity: 1;}
ul.bxslider{list-style:none; padding:0px;}
.page-video #album_container .album-item .title,.page-docs #album_container .album-item .title{top:40%}

@media screen and (min-width:1680px){
	#album_container .album-item .title{font-size: 24px;}
	
}
@media screen and (min-width:992px) and (max-width:1199px){

    .grid-item--height2 {height:630px; }
    #album_container .album-item .title{font-size: 18px;    min-height: 21px;}
}
@media screen and (max-width:991px){
    .grid-sizer,
    .album-item{height:261px;}
    .grid-item--height2 {height:522px; }
    #album_container .album-item .title{font-size: 15px;min-height: 40px;}
    #fullpage #album_container {
     margin-left: 0; 
     margin-right: 0; 
}
    #fullpage .slick-album .slick-prev {
        left: 0;
    }
     #fullpage .slick-album .slick-next {
        right: 0;
    }
}
@media screen and (max-width:768px){
    .grid-sizer, .album-item{width:33.333%;}
.grid-item--width2 {width:66.666%;}
}
@media screen and (min-width:768px){
    #album_container .album-item .title.titlehover{display:none}
}
@media screen and (max-width:767px){
    #album_container .album-item:hover .item-hover {
    opacity: 0;
}
    .grid-sizer,
    .album-item{height:calc(100vw * 0.65);  width: 100%;}
    .grid-item--height2 {height:calc(100vw * 0.65 * 2); }
    .grid-item--width2 { width: 100%; }
    #album_container .album-item .item-hover{opacity: 0;padding:20px 0;top:unset;bottom:40px;}
    #album_container .album-item .item-hover span.shortdesc-album,
    #album_container .album-item .item-hover span.viewalbum{display:none}
    #album_container .album-item .title{}
}
@media screen and (max-width:480px){
    #album_container{margin-left:0px;margin-right:0px}
}