﻿.S_Intro_Gallery_Main
{
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin-top: 20px;
}
.S_Intro_Gallery_Items
{
    position: relative;
    float: right;
    width: 25%;
    height: 200px;
    cursor: pointer;
    background-color: #FFFFFF;
}
.S_Intro_Gallery_Content
{
    position: absolute;
    width: auto;
    height: auto;
    left: 1px;
    right: 1px;
    top: 1px;
    bottom: 1px;
    overflow: hidden;
    z-index: 100;
}
.S_Intro_Gallery_Pic
{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    z-index: 10;
    background-color: #323232;
    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_Intro_Gallery_Over
{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background-color: rgba(20,125,140,0.0);
    z-index: 20;

    -moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.S_Intro_Gallery_Over_Sign
{
    position: absolute;
    display: table-cell;
    width: 30px;
    height: 30px;
    left: 50%;
    top: 50%;
    margin-left: -15px;
    margin-top: -15px;
    filter: alpha(opacity=0);
    opacity: 0;
    font-family: 'AtrinReserveSign1';
    font-size: 1.5em;
    text-align: center;
    vertical-align: middle;
    color: #FFFFFF;
    z-index: 30;

    -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.4,1.4);
    -ms-transform: scale(1.4,1.4);
    -o-transform: scale(1.4,1.4);
    -webkit-transform: scale(1.4,1.4);
    transform: scale(1.4,1.4);

    -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_Intro_Gallery_Items:hover .S_Intro_Gallery_Pic
{
    -moz-transform: scale(1.1,1.1);
    -ms-transform: scale(1.1,1.1);
    -o-transform: scale(1.1,1.1);
    -webkit-transform: scale(1.1,1.1);
    transform: scale(1.1,1.1);
}
.S_Intro_Gallery_Items:hover .S_Intro_Gallery_Over
{
    background-color: rgba(20,125,140,0.5);
}
.S_Intro_Gallery_Items:hover .S_Intro_Gallery_Over_Sign
{
    filter: alpha(opacity=100);
    opacity: 1;

    -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);
}




@media screen and (min-width:0px) and (max-width:800px)
{
    .S_Intro_Gallery_Items
    {
        width: 50%;
        height: 160px;
    }
    .S_Intro_Gallery_Content
    {
        left: 2px;
        right: 2px;
        top: 2px;
        bottom: 2px;
    }
}

@media screen and (min-width:0px) and (max-width:400px)
{
    .S_Intro_Gallery_Items
    {
        float: none;
        width: 100%;
        height: 140px;
        clear: both;
    }
    .S_Intro_Gallery_Content
    {
        left: 1px;
        right: 1px;
        top: 1px;
        bottom: 1px;
    }
}