﻿/* Site Fonts  
----------------------------------------------------------*/
@font-face
{
    font-family: 'BYekan';
    src: url('fonts/BYekan.eot?#') format('eot'), /* IE6–8 */ url('fonts/BYekan.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('fonts/BYekan.ttf') format('truetype'); /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */
}

@font-face
{
    font-family: 'fontawesome';
    src: url('fonts/fontawesome-webfont.ttf') format('truetype');
}

/* Site Elements  
----------------------------------------------------------*/
body
{
    font-family: BYekan, Calibri, Tahoma;
    font-size: 1em;
    font-weight: normal;
    background-color: #666;
}
*
{
    margin: 0px;
    padding: 0px;
}
h1, h2, h3, h4, h5, h6
{
    direction: rtl;
    font-weight: normal;
    line-height: 160%;
}
h1
{
    font-size: 140%;
}
h2
{
    font-size: 125%;
}
h3
{
    font-size: 110%;
}
h4
{
    font-size: 95%;
}
h5
{
    font-size: 85%;
}
h6
{
    font-size: 75%;
}
a
{
    text-decoration: none;
    display: block;
}
img
{
    border: 0;
}
li
{
    list-style: outside none none;
}
input, select, option, fieldset
{
    font-family: BYekan, Calibri, Tahoma;
    font-size: 90%;
    padding: 0 5px;
}
input[type=text], input[type=password], input[type=checkbox], select, textarea
{
    height: 22px;
    line-height: 20px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    border: 1px solid #aaa;
    -webkit-box-shadow: 0px 1px 1px #bbb;
    -moz-box-shadow: 0px 1px 1px #bbb;
    box-shadow: 0px 1px 1px #bbb;
}
input[type=text], input[type=password]
{
    padding: 1px;
}
input[type=submit]
{
    height: 30px;
}
article, section, aside, hgroup, nav, header, footer, figure, figcaption
{
    position: relative;
    display: block;
    float: right;
}
.button
{
    position: relative;
    display: block;
    height: 30px;
    text-align: center;
    line-height: 24px;
    font-size: 0.9em;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid #3A5577;
    background-color: transparent;
    color: #333;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: 0px 1px 1px #bbb;
    -moz-box-shadow: 0px 1px 1px #bbb;
    box-shadow: 0px 1px 1px #bbb;
    cursor: pointer;
    -webkit-transition: opacity .15s ease-in-out;
    transition: opacity .15s ease-in-out;
}
.button:hover
{
    opacity:0.5;
}

hr
{
    clear: both;
    border: none;
    width: 100%;
    height: 1px;
    margin:10px 0;
    background-image: -webkit-linear-gradient(to right, rgba(0,0,0,0) 0px, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.5) 100%);
    background-image: linear-gradient(to right, rgba(0,0,0,0) 0px, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
}

#progress
{
    position: fixed;
    width: 100%;
    height: 100%;
    display: none;
    opacity: 0;
    background-color: rgba(0,0,0,0.75);
    background: -webkit-radial-gradient(rgba(0,0,0,0.75) ,rgba(0,0,0,0.9)); /* Safari 5.1 to 6.0 */
    background: -o-radial-gradient(rgba(0,0,0,0.75) ,rgba(0,0,0,0.9)); /* For Opera 11.6 to 12.0 */
    background: -moz-radial-gradient(rgba(0,0,0,0.75) ,rgba(0,0,0,0.9)); /* For Firefox 3.6 to 15 */
    background: radial-gradient(rgba(0,0,0,0.75) ,rgba(0,0,0,0.9)); /* Standard syntax */
    z-index: 5000;
}
#progress .bar
{
    position: fixed;
    width: 100%;
    height: 100%;
    background-image: url('images/logo.png');
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 0;
}
#progress .animate
{
    position: fixed;
    width: 100%;
    height: 100%;
    background-image: url('images/logo.gif');
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0.5;
    z-index: 1;
}

#popup
{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    opacity: 0;
    z-index: 2000;
}
#popup .back
{
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 0;
}
#popup .msg
{
    position: relative;
    width: 80%;
    min-height: 100px;
    margin: 0 auto;
    padding: 10px;
    font-size: 80%;
    font-weight: bold;
    background-color: #ff7417;
    color: White;
    border:1px solid rgba(225,225,225,0.7);
    -webkit-border-radius: 2px;
    border-radius:2px;
    -webkit-box-shadow:0px -5px 20px rgba(100,100,100,0.5) inset;
    -moz-box-shadow:0px -5px 20px rgba(100,100,100,0.5) inset;
    box-shadow: 0px -5px 20px rgba(100,100,100,0.5) inset;
    z-index: 100;
}
#popup .button
{
    position: relative;
    display: block;
    margin: 0 auto;
    min-width: 75px;
    height: 24px;
    margin-top: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 90%;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid;
    background-color: transparent;
    color: #fff;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    cursor: pointer;
}
#popup #popupMsg
{
    width: 100%;
    max-height: 150px;
    overflow: auto;
    direction: rtl;
    text-align: right;
    padding: 5px;
}

/*** Header ***/
header
{
    width: 100%;
}
header .container
{
    width: 100%;
}

/*** Content ***/
section
{
    width: 100%;
    background-color: #eee;
}
#content
{
    width: 100%;
    direction: rtl;
    background-color: #bddcea;
    background-image: url("images/content-texture.png");
}
#content .container
{
    width: 80%;
    padding: 20px 0;
}
.form
{
    position: relative;
    max-width: 460px;
    margin:0 auto;
}
.form-title
{
    position: relative;
    float: right;
    width: 100%;
    height: auto;
    padding: 10px 5px;
}
.form-content
{
    position: relative;
    float: right;
    width: 100%;
    height: auto;
    padding: 10px 5px;
}
.form-content input[type=text], .form-content input[type=checkbox], input[type=password], .form-content textarea, .form-content select
{
    margin: 8px 5% 10px;
    width: 90%;
}
.form-content input[type=checkbox]
{
    outline: 1px solid rgba(0,0,0,0.2);
}
.form-sep
{
    position: relative;
    float: right;
    width: 100%;
    height:1px;
    margin:6px 0;
    background-image: -webkit-linear-gradient(to right, rgba(0,0,0,0) 0px, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 100%);
    background-image: linear-gradient(to right, rgba(0,0,0,0) 0px, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 100%);
}
.form-button
{
    position: relative;
    float:none !important;
    margin:10px auto 5px auto !important;
}
.form-item
{
    position:relative;
    float:right;
    width:100%;
}
.form fieldset
{
    padding: 10px;
    margin: 0 0 10px 0;
    background-color:rgba(255,255,255,0.2);
    background: -webkit-linear-gradient(rgba(255,255,255,0.1),rgba(255,255,255,0.3) ,rgba(255,255,255,0.1));
    background: -o-linear-gradient(rgba(255,255,255,0.1),rgba(255,255,255,0.3) ,rgba(255,255,255,0.1));
    background: -moz-linear-gradient(rgba(255,255,255,0.1),rgba(255,255,255,0.3) ,rgba(255,255,255,0.1));
    background: linear-gradient(rgba(255,255,255,0.1),rgba(255,255,255,0.3) ,rgba(255,255,255,0.1));
    -webkit-border-radius:4px;
    border-radius:4px;
    -webkit-box-shadow:0 4px 6px rgba(0,0,0,0.1);
    box-shadow:0 4px 6px rgba(0,0,0,0.1);
}
.form legend
{
    padding: 0 10px;
    font-size:110%;
}

footer
{
    width: 100%;
    height: 30px;
    background-color: #ccc;
    -webkit-box-shadow: 0px 1px 1px rgba(0,0,0,0.1) inset;
    -moz-box-shadow: 0px 1px 1px rgba(0,0,0,0.1) inset;
    box-shadow: 0px 1px 1px rgba(0,0,0,0.1) inset;
}
#footer
{
    position: relative;
    float: right;
    width: 100%;
    height:inherit;
    text-align:center;
    color:rgba(0,0,0,0.5);
    font-size:0.9em;
    line-height:200%;
}
#footer .container
{
    width: 80%;
}

.left
{
    float: left !important;
}
.right
{
    float: right !important;
}
