﻿@import url('../Font/IranSansX/IRANSansX.css');
@import url('../Font/IranYekanX/IRANYekanX.css');

body {
	margin: 0;
	direction: rtl;
	font-family: IranSansX;
	font-size: 9pt;
	font-feature-settings: "ss01";
	line-height: 18pt;
	color: #757575;
	background-color: #fff;
}

*:focus
{
    outline: none;
}

img
{
    border: none;
}

a, a:active, a:link
{
    text-decoration: none;
    outline: none;
    cursor: pointer;
}

a:hover, a:focus
{
    text-decoration: underline;
}

input, select, textarea {
	font-family: IranSansX;
	font-size: 10pt;
	font-feature-settings: "ss01";
	outline: none;
}

input[type=time]
{
    direction: ltr;
}

button, select {
    user-select: none;
}

input, input:before, input:after {
    -webkit-user-select: initial;
    -khtml-user-select: initial;
    -moz-user-select: initial;
    -ms-user-select: initial;
    user-select: initial;
}

h1
{
	display: inline;
	font-weight: bold;
	font-size: 11pt;
	margin: 0;
}

.Disable
{
	opacity: 0.6;
	pointer-events: none;
	filter: grayscale(1);
}

.ViewHide {
	display: none !important;
}

*[w100] { width: 100%; }
*[w66] { width: 66.66%; }
*[w60] { width: 60%; }
*[w50] { width: 50%; }
*[w40] { width: 40%; }
*[w33] { width: 33.33%; }
*[w25] { width: 25%; }
*[w20] { width: 20%; }

page, page-content, container
{
	display: block;
	box-sizing: border-box;
}

container
{
	display: block;
}

column
{
	display: inline-block;
	box-sizing: border-box;
	vertical-align: top;
}

*[full] {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

iframe, audio, video {
    width: 100%;
    box-sizing: border-box;
}

paging a {
    padding: 5px;
    vertical-align: top;
}
paging a.Current {
    pointer-events: none;
    text-decoration: underline;
}
paging a img {
	width: 14px;
	margin-top: 4px;
}

.Overlay
{
	position: fixed;
	z-index: 555;
	width: 100%;
	left: 0px;
	top: 0px;
	background-color: #000;
	filter: alpha(opacity=60);
	opacity: 0.4;
}

.Message
{
	position: fixed;
	background-color: white;
	border-radius: 1px;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 2px 1px -1px rgba(0, 0, 0, 0.12);
	text-align: right;
	top: 50%;
	left: 50%;
	z-index: 556;
}

.MessageTitle
{
	background-color: #4e5d6c;
	color: white;
	margin: -1px;
	padding: 4px 6px 5px;
	text-align: right;
}

.MessageTitle img
{
	cursor: pointer;
	padding: 2px 0 0 6px;
	float: right;
	width: 20px;
}

.MessageTitle a
{
	color: #fff;
}

.MessageTitle a:hover
{
	color: #fafafa;
}

.MessageText
{
	padding: 10px;
}

.MessageText img
{
	vertical-align: middle;
	padding: 5px;
}

debug {
    display: none;
}

.JustTablet, .JustMobile {
    display: none;
}

@media screen and (min-width: 600px) and (max-width: 1000px) {
	container [tablet='1'] > column { width: 100%; }
	container[tablet='2'] > column { width: 50%; }
	container[tablet='3'] > column { width: 33.33%; }
	container[tablet='4'] > column { width: 25%; }
	container[tablet='5'] > column { width: 20%; }

	.JustMobile { display: none; }
}

@media screen and (min-width: 0) and (max-width: 600px)
{
	container[mobile='1'] > column { width: 100%; }
	container[mobile='2'] > column { width: 50%; }
	container[mobile='3'] > column { width: 33.33%; }
	container[mobile='4'] > column { width: 25%; }
	container[mobile='5'] > column { width: 20%; }
}