/******************************************************************************/

.fun_block2{
    margin-bottom: 12px;

    text-align: left;

    background: white;
    border: 1px solid #d9d9d9;

    padding: 4.1666666% 0;

    color: #9d9d9d;
    
    
    border-radius: 8px;

    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -o-transition: all .2s linear;
    -ms-transition: all .2s linear;
    transition: all .2s linear;

}
.fun_block2:hover{
    border-color: #2f88d6;


}

.fun_block2 .material{
    display: block;
}

.fun_block2 iframe{
    margin-bottom: -4px;
}

.fun_block2 .material{
    text-align: center;
}

.fun_block2 .fun_bg{
    position: relative;
}

.fun_block2 .fun_img{
    max-width: 100%;
    margin: 0 auto;
}

.fun_block2 .fun_img_text_bg{
    width: 100%;
}

.fun_block2 .fun_img_text{
    width: 90%;
    margin: 5%;

    left: 0;
    top: 0;

    position: absolute;

    border: solid 1px transparent;
}
.fun_block2 .fun_img_movie{
    width: 95%;
}



.fun_block2 .footer{

}

.fun_block2 .footer .button{
    margin-right: 0px;
}

.fun_block2 .footer .facebook{
    margin-top: 22px;
}


.fun_block2 hr{
    clear: both;
    margin-bottom: 10px;
}
.fun_block2 ul{
    list-style: none;

    margin: 0;
    padding: 0;
}
.fun_block2 ul li{
    float: left;
}

.fun_block2 li{

    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -o-transition: all .2s linear;
    -ms-transition: all .2s linear;
    transition: all .2s linear;

}
.fun_block2 li.rate:hover{
    background-color: #804080;
}
.fun_block2 a{
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -o-transition: all .2s linear;
    -ms-transition: all .2s linear;
    transition: all .2s linear;


}
.fun_block2 ul i{
    margin: 0 3px 0 6px;

    font-size: 16px;   
    
    color: #2f88d6;
}
.fun_block2 ul a{
    color: #9d9d9d;
}
.fun_block2 ul a:hover{
    color: #2f88d6;
}

.galleryWrap {
    position: relative;
}

.galleryWrap .galleryContainer {
    position: relative;
    -webkit-box-shadow: 1px 1px 5px #C5D8E0, -1px -1px 5px #C5D8E0;
    box-shadow: 1px 1px 5px #C5D8E0, -1px -1px 5px #C5D8E0;
}


.galleryWrap .galleryContainer div {
    width: 100%;
    cursor: pointer;
}

.galleryThumbs {
    overflow: hidden;
    position: relative;
    width: 494px;
    padding: 5px 0 0;
    margin: 0 auto;
    height: 76px;
}

.galleryThumbs > ul {
    list-style: none;
    padding: 8px 0 0;
    margin: 0;
    white-space: nowrap;
}

.galleryThumbs li {
    position: relative;
    float: left;
    padding: 0 2px 0 0;
    cursor: pointer;

}

.galleryThumbs li > img {
    border: 2px solid #fff;
}

.galleryThumbs li.active > img,
.galleryThumbs li:hover > img{
    border: 2px solid #0083ff;
}

.galleryThumbs li.active:after {
    content: '';
    display: block;
    position: absolute;
    left: 42px;
    top: -12px;
    border-style: solid;
    border-width: 6px;
    border-color: transparent transparent #0083ff transparent;
}


.galleryWrap .leftControl,
#thumbsWrap .leftControl {
    padding: 0 20px 0 5px;
    left: 0;
}

.lockArrow {
    display: none;
}

#thumbsWrap .leftControl {
    left: 50%;
    margin-left: -465px;
    top: 28px;
}

.galleryWrap .rightControl,
#thumbsWrap .rightControl{
    padding: 0 5px 0 20px;
    right: 2px;
}

#thumbsWrap .rightControl {
    right: 50%;
    margin-right: -465px;
    top: 28px;
}

.galleryWrap .leftControl:after,
.galleryWrap .rightControl:after,
#thumbsWrap .leftControl:after,
#thumbsWrap .rightControl:after {
    content: '';
    position: absolute;
    top: 50%;
    margin-top: -8px;
    display: block;
    width: 16px;
    height: 16px;
}

.galleryWrap .leftControl:after,
#thumbsWrap .leftControl:after {
    right: 50%;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARJJREFUeNpi/P//PwMlgAWbYPySJ1pAajUQSwNx+sIYmZW4DGBCF4hd9Ejr379/B4AYRPMDcSPRLohe8ABk8wEgFkUSvkmUAeFz74I070XTfBaIE/EZwAgKxJBZt9ShNksgyT0F4jgg/oim59eaNLXLcAP8p16TA9In0TQTAiBvuW3I0nzE8vvP3zQSNYMAyMV+QDyF5c+fPzfJiP4vQHwEHgbOXWfbgewKNEUgBYuxaP4OxJv2lhl/hBsAAvbtJ7EZkn6w0nwWwViAAevmY9gM8Txaa7WDqJQIVFj59++/DiBmQMKu+FyAkZRPNNhU/v33rx6IGYD4IxAvI9oLyMC45gAoI3082+LwhSwDiAUAAQYANgKBt9XQZxkAAAAASUVORK5CYII=) no-repeat center;
}

.galleryWrap .rightControl:after,
#thumbsWrap .rightControl:after {
    left: 50%;
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAR1JREFUeNpi/P//PwMlgAWXRPySJ7FAahoQ3wfi0IUxMjexqWPCZcC/f/9agJgHiHWBeG/sokfqpBpwDYgZoFgaZEj0ggfqRBvw5+/fOCC+AMQMUCwNxHvD595VQVbHCAvEkFm3DIAUM5o5QkC8FIhFkcSeArHDmjS1O2AD/KdeA5m4HYhVSAh8kCEmG7I0X7D8/vPXm0TNICANxGlA3MTy58+f40DGdyDmJNGQC/AwcO46C/KrHxCzYVGYAMSWaGL1e8uMm1ACERuwbz+ZD6QmoGs+WGnehBEL6MC6+VggkFqHrvlorVUTUUn5799/HuiaTzTYNBGdkP7++7cAiL8AMYhdiU0zwTAwrjnAD6R4zrY4PMWlhpHS7AwQYAB02ZFxN2N/6wAAAABJRU5ErkJggg==") no-repeat center;
}

.galleryWrap .control,
#thumbsWrap .control {
    position: absolute;
    width: 16px;
    height: 30px;
    bottom: 23px;
    text-align: center;
    background-color: #E8F1F6;
    background: -webkit-linear-gradient(top, white, #E8F1F6);
    background: -moz-linear-gradient(top, white, #E8F1F6);
    background: -o-linear-gradient(top, white, #E8F1F6);
    background: -ms-linear-gradient(top, white, #E8F1F6);
    background: linear-gradient(top, white, #E8F1F6);
    border-radius: 3px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, .4);
    line-height: 30px;
    cursor: pointer;
}

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 16;
    display: none;
    opacity: .9;
}

#thumbsWrap {
    padding-top: 10px;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    border-bottom: 3px solid #4A5255;
    z-index: 250;
    position: absolute;
    width: 100%;
    height: 80px;
}

#thumbsContent {
    margin: 0 auto;
    height: 76px;
    overflow: hidden;
    position: relative;
}

#thumbsContent > ul {
    margin: 0;
    padding: 0 0 0 20px;
}

#thumbsContent li {
    position: relative;
    display: inline-block;
    margin: 0 1px;
    cursor: pointer;
}

#thumbsContent li img {
    border: 2px solid transparent;
}

#thumbsContent li.active img,
#thumbsContent li:hover img{
    border: 2px solid #0083ff;
}

#thumbsContent li.active:after {
    content: '';
    display: block;
    position: absolute;
    left: 42px;
    bottom: -8px;
    border-style: solid;
    border-width: 6px;
    border-color: #0083ff transparent transparent transparent;
}

#galContainer {
    z-index: 100;
}

.galleryCurrentNumber {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    top: 0;
    left: 0;
    margin: 0;
    font-size: 18px;
    line-height: 42px;
}



.jcarousel-wrapper {
    margin: 20px auto;
    position: relative;
    border: none;
    height: auto;
}

/** Carousel **/

.jcarousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.jcarousel ul {
    width: 20000em;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.jcarousel ul li img{

    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -o-transition: all .2s linear;
    -ms-transition: all .2s linear;
    transition: all .2s linear;

}
.jcarousel ul li img:hover, .jcarousel ul li img.active{

    border-color: #800080;

}
.jcarousel ul li {
    width: 200px;
    float: left;
    border: none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;

    height: auto;

    max-height: 160px;
}

.jcarousel img {
    display: block;
    max-width: 100%;
    height: auto !important;
    border: 1px solid #fff;
}

/** Carousel Controls **/

.jcarousel-control-prev,
.jcarousel-control-next {
    position: absolute;
    top: 50%;
    margin-top: -15px;
    width: 30px;
    height: 30px;
    text-align: center;
    background: #4E443C;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 0 1px #000;
    font: 24px/27px Arial, sans-serif;

    -webkit-box-shadow: 0 0 4px #F0EFE7;
    -moz-box-shadow: 0 0 4px #F0EFE7;
    box-shadow: 0 0 4px #F0EFE7;
}
.jcarousel-control-prev:hover,
.jcarousel-control-next:hover{
    background-color: #800080;
    color: white;

}


.jcarousel-control-prev {
    left: 15px;
}

.jcarousel-control-next {
    right: 15px;
}

/** Carousel Pagination **/

.jcarousel-pagination {
    position: absolute;
    bottom: -40px;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    margin: 0;
}

.jcarousel-pagination a {
    text-decoration: none;
    display: inline-block;

    font-size: 11px;
    height: 10px;
    width: 10px;
    line-height: 10px;

    background: #fff;
    color: #4E443C;
    border-radius: 10px;
    text-indent: -9999px;

    margin-right: 7px;


    -webkit-box-shadow: 0 0 2px #4E443C;
    -moz-box-shadow: 0 0 2px #4E443C;
    box-shadow: 0 0 2px #4E443C;
}

.jcarousel-pagination a.active {
    background: #4E443C;
    color: #fff;
    opacity: 1;

    -webkit-box-shadow: 0 0 2px #F0EFE7;
    -moz-box-shadow: 0 0 2px #F0EFE7;
    box-shadow: 0 0 2px #F0EFE7;
}

/*----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------*/


#thumb{   

    float: left;

    display: block;

    overflow: hidden;

    height: 400px;    

    width: 100%;

    background-color: #1E1E1E;
}
#thumb a{

    height: 400px;

    width: 100%;

    background: black url('../images/image_bg.png') center center;

    float: left;

    display: block;

    margin: auto;
}
#thumb a img{

}
#thumb a:hover img{
    opacity: 0.76;
    filter:alpha(opacity=76);
    -moz-opacity:0.76;
    filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=76); 
    -khtml-opacity: 0.76; 
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=76);
}

#images{
    width: 100%;
    height: auto;
}
#images ul{
    list-style: none;

    padding: 0;

    margin: 10px 0 0;

    float: left;
}
#images ul li:hover{
        box-shadow: 0px 0px 5px 0px rgba(0, 136, 204, 0.74);

}
#images ul li{
    float: left;

    height: 150px;
    width: 200px;

    background: black url('../images/image_bg.png') center center;

    margin: 10px 20px;

    overflow: hidden;        

    padding: 0;


    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.24);    

    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -o-transition: all .2s linear;
    -ms-transition: all .2s linear;
    transition: all .2s linear;

}
#images ul li img{
    margin: 0;
    padding: 0;
}
#images ul li a{
    background-position: center center;
    background-repeat: no-repeat;
    height: 150px;
    width: 200px;        

    margin: 0;
    padding: 0;

    font-size: 0px;

    display: block;
    
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -o-transition: all .2s linear;
    -ms-transition: all .2s linear;
    transition: all .2s linear;
}
#images ul li a:hover{
    opacity: 0.76;
    filter:alpha(opacity=76);
    -moz-opacity:0.76;
    filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=76); 
    -khtml-opacity: 0.76; 
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=76);
}

#big_gallery{
    width: 100%;
    height: 100%;
    position: absolute;

    z-index: 100;    
    display: none;    

    top: 0;
    left: 0;        

    overflow: hidden;
    
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -o-transition: all .2s linear;
    -ms-transition: all .2s linear;
    transition: all .2s linear;
}
#big_gallery .bg{

    opacity: 0.76;
    filter:alpha(opacity=76);
    -moz-opacity:0.76;
    filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=76); 
    -khtml-opacity: 0.76; 
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=76);

    background-color: #222;
    /*background: url('../images/gallery_bg.png') repeat;*/
    width: 100%;
    height: 100%;
    position: absolute;

    z-index: 1;
    top: 0;
}


#big_gallery ul{
    height: 66px;
    width: 100%;
    background-color: #222;

    margin: 0;
    text-align: center;

    z-index: 2;
    position: relative;

    border-bottom: 2px solid #0083ff;
}
#big_gallery ul li a{
    margin: 8px 4px 8px 4px;

    height: 49px;


    overflow: hidden;

    background-color: white;

    display: inline-block;
}
#big_gallery ul li img{
    margin: 2px;
    padding: 0;
}
#big_gallery ul li{    
    height: 49px;
    display: inline;    
}
#big_gallery ul li, #big_gallery ul li a{    
        -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -o-transition: all .2s linear;
    -ms-transition: all .2s linear;
    transition: all .2s linear;

} 
#big_gallery ul li.selected a, #big_gallery ul li:hover a{
    background-color: #0083ff;
    
    box-shadow: 0px 0px 5px 0px rgba(255, 255, 255, 0.76);    
}
#big_gallery ul img{
    height: 45px;
    margin: 2px;
}

#big_gallery img#big{
    z-index: 3;

    position: absolute;
    top: 103px;

    border: 4px solid white;
}
#left, #right{
    height: 63px; 
    width: 44px;

    z-index: 3;
    position: absolute;

    top: 200px;

    border-top: 2px white solid;
    border-bottom: 2px white solid;

    opacity: 0.76;
    filter:alpha(opacity=76);
    -moz-opacity:0.76;
    filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=76); 
    -khtml-opacity: 0.76; 
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=76);
    
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -o-transition: all .2s linear;
    -ms-transition: all .2s linear;
    transition: all .2s linear;
}
#left:hover, #right:hover{
    opacity: 1.00;
    filter:alpha(opacity=100);
    -moz-opacity:1.00;
    filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100); 
    -khtml-opacity: 1.00; 
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);

    border-color: #0083ff;
}
#left{
    background: #ccc url('../images/left.png') no-repeat center center;        
    border-right: 2px solid white;
}
#left:hover{
    background-image: url('../images/left_hover.png');
}
#right{    
    background: #ccc url('../images/right.png') no-repeat center center;        
    border-left: 2px solid white;
}
#right:hover{
    background-image: url('../images/right_hover.png');
}