﻿/* MASTER V1 */

body
{
    margin: 0px;
    font-family: 'IRANSans';
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
}

.SLink
{
    text-decoration: none;
}
.SLink:hover
{
    text-decoration: underline;
}

input[type=text] {
    outline: none;
}
a
{
    text-decoration: none;
}
.S_A
{
    display: block;
    width: auto;
    height: auto;
}
h1, h2, h3
{
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    margin: 0px;
    display: inline;
}

.SSpan_Middle
{
    display: table-cell;
    width: inherit;
    height: inherit;
    text-align: center;
    vertical-align: middle;
}


/*-------------------- PAGE CONTENT ---------------*/
.S_Master_Content
{
    position: relative;
    width: 100%;
    height: auto;
    color: #000000;
    background-color: #FFFFFF;
    z-index: 100;
}
.S_Master_Content_Pages
{
    position: relative;
    width: 100%;
    height: auto;
    text-align: center;
    color: #000000;
}
.S_Master_Content_Pages_Body
{
    position: relative;
    width: auto;
    height: auto;
    margin-left: 50px;
    margin-right: 50px;
    padding-bottom: 20px;
}

.S_Master_Content_Pages_Sep_20, .S_Master_Content_Pages_Sep_50, .S_Master_Content_Pages_Sep_Line_20, .S_Master_Content_Pages_Sep_Line_50
{
    position: relative;
    display: block;
    width: 100%;
    clear: both;
}
.S_Master_Content_Pages_Sep_20
{
    height: 20px;
}
.S_Master_Content_Pages_Sep_50
{
    height: 50px;
}
.S_Master_Content_Pages_Sep_Line_20
{
    height: 20px;
    border-top: solid 1px #CCCCCC;
}
.S_Master_Content_Pages_Sep_Line_50
{
    height: 50px;
    border-top: solid 1px #CCCCCC;
}
/*-------------------- PAGE CONTENT ---------------*/


/*---------------------- GALLERY ------------------*/
.SGallery_Main
{
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    filter: alpha(opacity=0);
    opacity: 0;
    z-index: 300000;
    -moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	-webkit-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
.SGallery_Back
{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background-color: rgba(0,0,0,0.8);
    cursor: pointer;
    z-index: 10;
}
.SGallery_Front
{
    position: absolute;
    width: auto;
    height: auto;
    left: 10px;
    right: 10px;
    top: 40px;
    bottom: 10px;
    background-color: transparent;
    border-radius: 5px;
    z-index: 100;
}
.SGallery_Close
{
    position: fixed;
    background-image: url('../_Images/Key-Close2.png');
    background-repeat: no-repeat;
    background-position: center center;
    width: 50px;
    height: 40px;
    right: 5px;
    top: 0px;
    cursor: pointer;
    z-index: 200;
}
.SGallery_Download
{
    position: fixed;
    background-image: url('../_Images/Sign-Download.png');
    background-repeat: no-repeat;
    background-position: center center;
    width: 45px;
    height: 40px;
    left: 5px;
    top: 0px;
    cursor: pointer;
    z-index: 210;
}

.SGallery_Key_Back
{
    position: absolute;
    background-image: url('../_Images/Gallery-Keys.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-color: rgba(255,255,255,0.0);
    width: 40px;
    height: 100%;
    left: 0px;
    top: 0px;
    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;
}
.SGallery_Key_Back:hover
{
    background-color: rgba(255,255,255,0.2);
}
.SGallery_Key_Next
{
    position: absolute;
    background-image: url('../_Images/Gallery-Keys.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-color: rgba(255,255,255,0.0);
    width: 40px;
    height: 100%;
    right: 0px;
    top: 0px;
    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;
}
.SGallery_Key_Next:hover
{
    background-color: rgba(255,255,255,0.2);
}
.SGallery_Center
{
    position: absolute;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    width: auto;
    height: auto;
    left: 40px;
    right: 40px;
    top: 10px;
    bottom: 10px;
}
.SGallery_Title
{
    position: absolute;
    width: auto;
    height: auto;
    left: 50%;
    bottom: 0px;
    
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);

    padding: 15px;
    background-color: rgba(255,255,255,0.7);
    border-radius: 30px;
    font-family: 'IRANSans';
    font-style: normal;
    font-weight: normal;
    font-size: 1.0em;
    text-align: center;
    color: #000000;
    direction: rtl;
}
/*---------------------- GALLERY ------------------*/





@media screen and (min-width:0px) and (max-width:1300px)
{
    .S_Master_Content_Pages_Body
    {
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media screen and (min-width:0px) and (max-width:600px)
{
    body
    {
        font-size: 12px;
    }
    .S_Master_Content_Pages_Body
    {
        margin-left: 10px;
        margin-right: 10px;
    }
}
