﻿/* EVENTS DETAIL */

/*--------------------- GALLERY ---------------*/
.S_Events_Detail_Gallery_Main
{
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    max-width: 1000px;
    margin-top: 20px;
}
.S_Events_Detail_Gallery_Items
{
    position: relative;
    display: block;
    float: right;
    width: 25%;
    height: auto;
    cursor: pointer;
    -moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.S_Events_Detail_Gallery_Items_Sep1, .S_Events_Detail_Gallery_Items_Sep2, .S_Events_Detail_Gallery_Items_Sep3, .S_Events_Detail_Gallery_Items_Sep4
{
    width: 100%;
    clear: both;
}
.S_Events_Detail_Gallery_Items_Sep4
{
    display: block;
}
.S_Events_Detail_Gallery_Items_Sep1, .S_Events_Detail_Gallery_Items_Sep2, .S_Events_Detail_Gallery_Items_Sep3
{
    display: none;
}
.S_Events_Detail_Gallery_Pic_Main
{
    position: relative;
    display: block;
    width: 100%;
    padding-top: 70%;
    clear: both;
}
.S_Events_Detail_Gallery_Pic_Body
{
    position: absolute;
    width: auto;
    height: auto;
    left: 2px;
    right: 2px;
    top: 2px;
    bottom: 2px;
    background-color: #FFFFFF;
    overflow: hidden;
    z-index: 100;
}
.S_Events_Detail_Gallery_Pic
{
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    z-index: 10;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    -moz-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    -o-transform-origin: 50% 50%;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    
    -moz-transform: scale(1.0,1.0);
    -ms-transform: scale(1.0,1.0);
    -o-transform: scale(1.0,1.0);
    -webkit-transform: scale(1.0,1.0);
    transform: scale(1.0,1.0);

    -moz-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
	-ms-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
	-o-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
	-webkit-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
	transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
}
.S_Events_Detail_Gallery_Pic_Over
{
    position: absolute;
    display: block;
    width: auto;
    height: auto;
    left: 5px;
    right: 5px;
    top: 5px;
    bottom: 5px;
    background-color: rgba(255,255,255,0.0);
    box-shadow: 0px 0px 0px 5px rgba(255,255,255,0.5);
    z-index: 20;
    -moz-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
	-ms-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
	-o-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
	-webkit-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
	transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
}
.S_Events_Detail_Gallery_Items:hover .S_Events_Detail_Gallery_Pic
{
    -moz-transform: scale(1.05,1.05);
    -ms-transform: scale(1.05,1.05);
    -o-transform: scale(1.05,1.05);
    -webkit-transform: scale(1.05,1.05);
    transform: scale(1.05,1.05);
}
.S_Events_Detail_Gallery_Items:hover .S_Events_Detail_Gallery_Pic_Over
{
    background-color: rgba(255,255,255,0.3);
    box-shadow: 0px 0px 0px 5px rgba(255,255,255,0.5);
}
/*--------------------- GALLERY ---------------*/





@media screen and (min-width:0px) and (max-width:800px)
{
    .S_Events_Detail_Gallery_Items
    {
        width: 33.33%;
    }
    .S_Events_Detail_Gallery_Items_Sep3
    {
        display: block;
    }
    .S_Events_Detail_Gallery_Items_Sep1, .S_Events_Detail_Gallery_Items_Sep2, .S_Events_Detail_Gallery_Items_Sep4
    {
        display: none;
    }
}

@media screen and (min-width:0px) and (max-width:500px)
{
    .S_Events_Detail_Gallery_Items
    {
        width: 50%;
    }
    .S_Events_Detail_Gallery_Items_Sep2
    {
        display: block;
    }
    .S_Events_Detail_Gallery_Items_Sep1, .S_Events_Detail_Gallery_Items_Sep3, .S_Events_Detail_Gallery_Items_Sep4
    {
        display: none;
    }
    .S_Events_Detail_Gallery_Pic_Body
    {
        left: 1px;
        right: 1px;
        top: 1px;
        bottom: 1px;
    }
}
