﻿/* GALLERY VIDEO V1 */

/*-------------------- VIDEO BOX ---------------*/
.S_Video_Main
{
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    max-width: 1500px;
    padding-bottom: 20px;
    margin-bottom: 50px;
    border-bottom: #CCCCCC;
}
.S_Video_Title
{
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    padding: 5px 10px 5px 10px;
    background-color: #FFC800;
    margin-top: 20px;
    margin-bottom: 10px;
    font-family: 'Peyda';
    font-style: normal;
    font-weight: 500;
    font-size: 1.0em;
    text-align: center;
    direction: rtl;
    color: #004696;
    direction: rtl;
    -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_Video_Body
{
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
    z-index: 1000;
    -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_Video_Obj_Main
{
    position: relative;
    display: table;
    width: auto;
    height: auto;
    border: solid 10px rgba(255,255,255,1.0);
    box-shadow: 1px 2px 5px 3px rgba(0,0,0,0.1);
    -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_Video_Obj
{
    position: relative;
    width: 100%;
    height: auto;
    max-width: 700px;
    -moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
/*-------------------- VIDEO BOX ---------------*/


/*---------------------- THUMBS ---------------*/
.S_Gallery_Main
{
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    max-width: 1500px;
    margin-top: 20px;
}
.S_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_Gallery_Items_Sep1, .S_Gallery_Items_Sep2, .S_Gallery_Items_Sep3, .S_Gallery_Items_Sep4
{
    width: 100%;
    clear: both;
}
.S_Gallery_Items_Sep4
{
    display: block;
}
.S_Gallery_Items_Sep1, .S_Gallery_Items_Sep2, .S_Gallery_Items_Sep3
{
    display: none;
}
.S_Gallery_Pic_Main
{
    position: relative;
    display: block;
    width: 100%;
    padding-top: 100%;
    clear: both;
}
.S_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_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_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(0,0,0,0.3);
    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_Gallery_Pic_Sign
{
    position: absolute;
    display: table;
    width: auto;
    height: auto;
    left: 50%;
    top: 50%;
    font-family: 'AtrinWebSign1';
    font-size: 8.0em;
    text-align: center;
    color: #FFFFFF;
    text-shadow: 5px 5px 0px rgba(0,0,0,0.3);
    z-index: 30;
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    -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_Title
{
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    min-height: 60px;
    padding: 5px 15px 5px 15px;
    font-family: 'Peyda';
    font-style: normal;
    font-weight: normal;
    font-size: 0.9em;
    text-align: right;
    direction: rtl;
    color: #000000;
    clear: both;
    -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_Gallery_Items:hover .S_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_Gallery_Items:hover .S_Gallery_Pic_Over
{
    background-color: rgba(255,255,255,0.3);
    box-shadow: 0px 0px 0px 5px rgba(0,0,0,0.1);
}
.S_Gallery_Items:hover .S_Gallery_Pic_Sign
{
    text-shadow: 2px 2px 0px rgba(0,0,0,0.7);
}
/*---------------------- THUMBS ---------------*/



@media screen and (min-width:0px) and (max-width:1000px)
{
    .S_Gallery_Items
    {
        width: 33.33%;
    }
    .S_Gallery_Items_Sep3
    {
        display: block;
    }
    .S_Gallery_Items_Sep1, .S_Gallery_Items_Sep2, .S_Gallery_Items_Sep4
    {
        display: none;
    }
    .S_Gallery_Pic_Sign
    {
        font-size: 6.0em;
        text-shadow: 4px 4px 0px rgba(0,0,0,0.3);
    }
    .S_Gallery_Items:hover .S_Gallery_Pic_Sign
    {
        text-shadow: 2px 2px 0px rgba(0,0,0,0.7);
    }
    .S_Gallery_Title
    {
        min-height: 60px;
        padding: 5px 10px 5px 10px;
    }
}

@media screen and (min-width:0px) and (max-width:600px)
{

    .S_Gallery_Items
    {
        width: 50%;
    }
    .S_Gallery_Items_Sep2
    {
        display: block;
    }
    .S_Gallery_Items_Sep1, .S_Gallery_Items_Sep3, .S_Gallery_Items_Sep4
    {
        display: none;
    }
    .S_Gallery_Pic_Body
    {
        left: 2px;
        right: 2px;
        top: 2px;
        bottom: 2px;
    }
    .S_Gallery_Title
    {
        min-height: 60px;
        padding: 5px 10px 5px 10px;
    }
}

@media screen and (min-width:0px) and (max-width:400px)
{
    .S_Gallery_Pic_Body
    {
        left: 1px;
        right: 1px;
        top: 1px;
        bottom: 1px;
    }
    .S_Gallery_Pic_Sign
    {
        font-size: 4.0em;
        text-shadow: 3px 3px 0px rgba(0,0,0,0.3);
    }
    .S_Gallery_Items:hover .S_Gallery_Pic_Sign
    {
        text-shadow: 1px 1px 0px rgba(0,0,0,0.7);
    }
    .S_Gallery_Title
    {
        padding: 5px 5px 5px 5px;
    }
}