﻿.S_Gallery_Keys_Main
{
    position: relative;
    display: table;
    width: auto;
    height: auto;
    max-width: 100%;
}
.S_Gallery_Keys_Item
{
    position: relative;
    float: right;
    width: auto;
    height: auto;
    margin-bottom: 10px;
}
.S_Gallery_Keys
{
    position: relative;
    display: block;
    width: 120px;
    height: 50px;
    margin: 5px;
    border: solid 1px #323232;
    background-color: #FFFFFF;
    font-weight: 500;
    font-size: 1.1em;
    color: #323232;
    text-align: center;
    direction: rtl;
    cursor: pointer;
    -moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.S_Gallery_Keys:hover
{
    background-color: #323232;
    color: #FFFFFF;
}
.S_Gallery_Keys_Sel
{
    position: relative;
    display: block;
    width: 120px;
    height: 50px;
    margin: 5px;
    border: solid 1px #323232;
    background-color: #323232;
    font-weight: 500;
    font-size: 1.1em;
    color: #FFFFFF;
    text-align: center;
    direction: rtl;
    cursor: pointer;
    -moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.S_Gallery_Main
{
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    max-width: 1500px;
    padding-top: 20px;
}
.S_Gallery_Main_Group
{
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    -moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.S_Gallery_Items, .S_Gallery_Items2
{
    position: relative;
    display: block;
    float: right;
    width: 25%;
    height: auto;
    cursor: pointer;
    background-color: #FFFFFF;
}
.S_Gallery_Items_PicShape
{
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    padding-top: 100%;
    z-index: 0;
}
.S_Gallery_Content
{
    position: absolute;
    width: auto;
    height: auto;
    left: 1px;
    right: 1px;
    top: 1px;
    bottom: 1px;
    overflow: hidden;
    z-index: 100;
}
.S_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_Gallery_Over
{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background-color: rgba(0,150,230,0.5);
    background-image: url('../ImagesFA/Sign-Plus.png');
    background-repeat: no-repeat;
    background-position: center center;
    filter: alpha(opacity=0);
    opacity: 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_Gallery_Over_Title
{
    position: absolute;
    width: 100%;
    height: auto;
    left: 0px;
    bottom: 0px;
    padding: 10px 0 10px 0;
    background-color: rgba(255,255,255,0.7);
    font-family: 'IRANSans';
    font-style: normal;
    font-weight: normal;
    font-size: 1em;
    text-align: center;
    direction: rtl;
    color: #000000;
    z-index: 30;
    -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_Gallery_Items:hover .S_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_Gallery_Items:hover .S_Gallery_Over
{
    filter: alpha(opacity=100);
    opacity: 1;
    background-color: rgba(0,150,230,0.5);
}
.S_Gallery_Items:hover .S_Gallery_Over_Title
{
    padding: 15px 0 15px 0;
    background-color: rgba(255,255,255,1.0);
}
.S_Gallery_Items2:hover .S_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_Gallery_Items2:hover .S_Gallery_Over
{
    filter: alpha(opacity=100);
    opacity: 1;
    background-color: rgba(0,150,230,0.5);
}
.S_Gallery_Items2:hover .S_Gallery_Over_Title
{
    padding: 15px 0 15px 0;
    background-color: rgba(255,255,255,1.0);
}

@media screen and (min-width:0px) and (max-width:800px)
{
    .S_Gallery_Items
    {
        width: 33.33%;
        height: auto;
    }
    .S_Gallery_Items2
    {
        display: none;
    }
}

@media screen and (min-width:0px) and (max-width:600px)
{

    .S_Gallery_Items
    {
        width: 50%;
        height: auto;
    }
    .S_Gallery_Content
    {
        left: 2px;
        right: 2px;
        top: 2px;
        bottom: 2px;
    }

}

@media screen and (min-width:0px) and (max-width:700px)
{
    .S_Gallery_Keys_Item
    {
        width: 50%;
    }
}

@media screen and (min-width:0px) and (max-width:400px)
{
    .S_Gallery_Items
    {
        float: none;
        width: 100%;
        height: auto;
        clear: both;
    }
    .S_Gallery_Content
    {
        left: 1px;
        right: 1px;
        top: 1px;
        bottom: 1px;
    }
    .S_Gallery_Keys_Item
    {
        float: none;
        width: 100%;
        clear: both;
    }
    .S_Gallery_Keys
    {
        width: 120px;
        height: 40px;
    }
}