body {
    width: 1200px;
    margin: 0 auto;
    background: #FFF;
    /*font-family: Tahoma, Arial, sans-serif;*/
    font-family: 'B yekan', Arial, sans-serif;
    direction: rtl;
    line-height: 1.5;
}

body img {
    max-width: 990px;
}

h1, h2, h3, h4, h5, h6 {
    color: #831312;
}

header {
    overflow: hidden;
    background: #0D2B67;
    border-color: #0A2250;
    border-width: 0 1px;
    border-style: solid;
}

header > .logo {
    float: right;
}

.page {
    /*overflow: hidden;*/
    position: relative;
    min-height: 400px;
    overflow: auto;
}

.top_menu {
    background: #0A2250;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-color: #0A2250;
    border-width: 0 1px;
    border-style: solid;
    font-size: 13px;
    width: 1014px;
    float: left;
    height: 31px;
}

.top_menu > div {
    display: table-cell;
}

.top_menu > div > a {
    position: relative;
}

.top_menu > div > a {
    color: #D4D6DB;
    text-decoration: none;
}

.top_menu > div > a > div > div {
    padding: 8px 13px 8px 13px;
}

.top_menu > div > a > div {
    float: right;
    padding: 7px 2px 7px 2px;
    /*margin: 0 1px 0 1px;*/
    min-width: 100px;
    text-align: center;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
}

.top_menu > div > a > div.active {
    background: #FFF;
    border-image: linear-gradient(to right, #fff 0%, #c6a5a7 100%);
    border-image-slice: 1;
    /*background: #A7D7F9 linear-gradient(#FFF, #A7D7F9);*/
    /*border-bottom: 2px solid #871717;*/
    color: #000;
    border-bottom: 0 none;
}

.top_menu > div > a:first-child > li.active {
    border-right: 0 none !important;
}

.top_menu > div > a > div:hover {
    /*text-decoration: underline;*/
    color: #fff;
}

.top_menu > div:hover ul {
    display: block;
}

.top_menu > div > a > div.active:hover {
    text-decoration: none;
}

.top_menu > div > a > div.active > div, .top_menu > div > a > div:hover > div {
    /*border: 1px dashed #871717;*/
}

.top_menu > div > ul {
    display: none;
    background: #0d2b67;
    /*border-top: 1px solid #FDFDFD;*/
    position: absolute;
    width: 150px;
    z-index: 999;
    list-style-type: none;
    margin: 31px 0 0;
    padding: 0 10px;
}

.top_menu > div > ul > li {
    padding: 0;
    margin: 10px 0;
}

.top_menu > div > ul > li > a {
    display: block;
    color: #d4d6db;
    text-align: center;
    text-decoration: none;
}

.top_menu > div > ul > li > a:hover {
    /*text-decoration: underline;*/
    color: #fff;
}

.before_right_menu {
    background: #0A2250;
    float: right;
    padding: 7px 10px 0 10px;
    font-size: 13px;
    width: 164px;
    border-right: 1px solid #0A2250;
    border-bottom: 1px solid #0A2250;
    position: absolute;
    top: 0;
    right: 0;
    height: 31px;
}

.right_menu {
    background: #0D2B67;
    float: right;
    padding: 7px 10px 0 10px;
    font-size: 13px;
    width: 164px;
    border-right: 1px solid #0A2250;
    border-bottom: 1px solid #0A2250;
    position: absolute;
    top: 31px;
    bottom: 0;
    right: 0;
}

.right_menu > .item {
    margin: 5px 0;
}

.right_menu > .item > a {
    color: #D4D6DB;
    text-decoration: none;
}

.right_menu > .item > a:hover {
    /*text-decoration: underline;*/
    color: #fff;
}

.right_menu hr {
    margin: 5px 0 7px 0;
}

.right_menu > .search {
    text-align: center;
}

.right_menu > .search > .title {
    text-align: right;
    color: #FFF;
    margin-bottom: 5px;
}

.right_menu > .search > form {
    overflow: hidden;
    margin: 0;
}

.right_menu > .search input[type=text] {
    font-family: Tahoma, Arial, sans-serif;
    /*font-family: 'B yekan', Arial, sans-serif;*/
    font-size: 11px;
    direction: rtl;
    padding: 5px 5px;
    border: 1px solid #ccc;
    margin: 1px 0;
    width: calc(100% - 27px);
    vertical-align: middle;
}

.right_menu > .search input[type=text]:focus {
    border: 1px solid #165c91;
}

.right_menu > .search input[type=image] {
}

.right_menu > .search input[type=submit] {
    background-image: url(../img/search.png);
    background-size: 70%;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #165c91;
    border: 1px solid #165c91;
    cursor: pointer;
    width: 27px;
    height: 27px;
    padding: 5px;
    vertical-align: middle;
    margin-right: -4px;
}

.right_menu > .search input[type=submit]:hover {
    border: 1px solid #18649e;
    background-color: #18649e;
}

.right_menu > .search input[type=submit]:focus {
    border: 1px solid #165c91;
    background-color: #165c91;
}

.right_menu > .memberships {
    text-align: center;
}

.right_menu > .memberships > .title {
    text-align: right;
    color: #fff;
    margin-bottom: 5px;
}

.right_menu > .memberships > .logout {
    font-size: 12px;
    text-align: right;
}

.right_menu > .memberships > .logout > a {
    color: #d4d6db;
    text-decoration: none;
}

.right_menu > .memberships > .logout > a:hover {
    /*text-decoration: underline;*/
    color: #fff;
}

.right_menu > .memberships > form {
    overflow: hidden;
    margin: 0;
}

.right_menu > .memberships input[type=text], .right_menu > .memberships input[type=password] {
    font-family: Tahoma, Arial, sans-serif;
    /*font-family: 'B yekan', Arial, sans-serif;*/
    font-size: 11px;
    direction: ltr;
    padding: 5px 5px;
    border: 1px solid #ccc;
    margin: 1px 0;
    width: 100%;
}

.right_menu > .memberships input[type=text]:focus, .right_menu > .memberships input[type=password]:focus {
    border: 1px solid #165c91;
}

.right_menu > .memberships input[type=submit] {
    border: 1px solid #165c91;
    background-color: #165c91;
    color: #fff;
    padding: 2px 5px;
    width: 70px;
    cursor: pointer;
    /*font-family: Tahoma, Arial, sans-serif;*/
    font-family: 'B yekan', Arial, sans-serif;
    font-size: 12px;
    /*border-radius: 2px;*/
    float: left;
    margin-top: 1px;
}

.right_menu > .memberships input[type=submit]:hover {
    border: 1px solid #18649e;
    background: #18649e;
}

.right_menu > .memberships input[type=submit]:focus {
    border: 1px solid #165c91;
    background: #165c91;
}

.right_menu > .memberships .register {
    float: right;
    margin-top: 6px;
}

.right_menu > .memberships .register a {
    color: #fff;
    font-size: 12px;
    text-decoration: none;
}

.right_menu > .memberships .register a:hover {
    color: #d4d6db;
}

.right_menu > .memberships > .result {
    font-size: 11px;
    margin: 5px 0;
}

.main {
    float: left;
    background: #E4E4E4;
    font-size: 12px;
    width: 1000px;
    padding: 7px 7px 7px 7px;
    border-color: #cacaca;
    border-width: 0 1px 1px 1px;
    border-style: solid;
    overflow: hidden;
    position: relative;
    min-height: 438px;
}

.main > .title {
    background: #f2f2f2;
    padding: 5px;
    margin-bottom: 7px;
    border: 1px solid #f6f6f6;
    color: #831312;
    width: 693px;
    display: inline-block;
    vertical-align: top;
}

.main > .datetime {
    background: #f2f2f2;
    color: #831312;
    padding: 6px 10px;
    margin-bottom: 7px;
    border: 1px solid #f6f6f6;
    text-align: center;
    display: inline-block;
    width: 269px;
    overflow: hidden;
    vertical-align: top;
    height: 18px !important;
}

.main > .datetime > #date {
    float: right;
}

.main > .datetime > #time {
    float: left;
}

.main > .right {
    float: right;
    width: 705px;
}

.main > .right > .news {
    width: 695px;
    background: radial-gradient(ellipse at center, #fefefe 0%, #f2f2f2 100%);
    border: 1px solid #f6f6f6;
    padding: 4px;
}

.main > .right > .news > .header {
    margin-bottom: 4px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f0f0f0;
    overflow: hidden;
}

.main > .right > .news > .header > .title {
    font-size: 13px;
    font-weight: bold;
    float: right;
    color: #831312;
}

.main > .right > .news > .header > .archive {
    font-size: 12px;
    float: left;
    margin-left: 10px;
}

.main > .right > .news > .header > .archive a {
    color: #0645ad;
    text-decoration: none;
}

.main > .right > .news > .header > .archive a:hover {
    /*text-decoration: underline;*/
    color: #0D2B67;
}

.main > .right > .news > .item_box {
    position: relative;
    height: 88px;
    overflow: hidden
}

.main > .right > .news > .item_box > .news_item {
    height: 20px;
    position: absolute;
    right: 0;
    width: 95%;
    overflow: hidden;
    margin: 3px 0;
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(to right, #f2f2f2 0%, #c6a5a7 100%);
    border-image-slice: 1;
    border-top: 0 none;
    border-right: 0 none;
}

.main > .right > .news > .item_box > .arrow {
    position: absolute;
    left: 10px;
    display: inline-block;
    cursor: pointer;
    opacity: 0.6;
}

.main > .right > .news > .item_box > .arrow:hover {
    opacity: 0.9;
}

.main > .right > .news > .item_box > #news_top {
    top: 0;
}

.main > .right > .news > .item_box > #news_down {
    bottom: 0;
}

.main > .right > .news > .item_box > .news_item > .item_image {
    float: right;
}

.main > .right > .news > .item_box > .news_item > .item_title {
    float: right;
    margin-right: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 88%;
}

.main > .right > .news > .item_box > .news_item > .item_title > a {
    color: #0645AD;
    text-decoration: none;
    font-size: 12px !important;
    font-weight: normal;
    margin: 0;
    display: inline;
}

.main > .right > .news > .item_box > .news_item > .item_title > a:hover {
    /*text-decoration: underline;*/
    color: #0D2B67;
}

.main > .right > .news > .item_box > .news_item > .item_new {
    float: right;
    margin-right: 5px;
    margin-left: 5px;
    color: #BA0000;
    font-size: 11px;
}

.main > .right > .slide {
    background: #f2f2f2;
    margin-bottom: 4px;
    border: 1px solid #cacaca;
}

.main > .right > .slide > #jssor_1 .item {
    cursor: default;
    position: relative;
    top: 0px;
    left: 0px;
    width: 705px;
    height: 252px;
    overflow: hidden;
    text-align: center;
}

.main > .right > .slide .item {
    /*display: none;*/
}

.main > .right > .slide > #jssor_1 .item > .caption {
    display: block;
    position: absolute;
    top: 213px;
    right: 0;
    min-width: 280px;
    height: 28px;
    background-color: rgba(167, 215, 249, 0.7);
    color: #ffffff;
    line-height: 28px;
    text-align: center;
}

.main > .right > .slide > #jssor_1 .item > .caption > h2 {
    font-size: 18px;
    font-weight: normal;
    margin: 0;
}

.main > .left {
    float: left;
    width: 290px;
    margin: 0 5px 0 0;
}

.main > .left > .banner {
    /*background: #f9f9f9;*/
    /*border: 1px solid #f6f6f6;*/
    /*padding: 5px;*/
    text-align: left;
    margin: 0 0 5px 0;
}

.main > .left > .banner img {
    max-width: 290px;
}

.main > .news_archive > .item {
    padding: 5px 3px;
    border-bottom: 1px solid #c6a5a7;
}

.main > .news_archive > .item > .timestamp {
    float: left;
    font-size: 11px;
    color: #444444;
}

.main > .timestamp {
    font-size: 11px;
    color: #444444;
}

.main > .news_archive > .item > a {
    text-decoration: none;
    float: right;
    max-width: 90%;
    font-size: 12px !important;
    font-weight: normal;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main > .news_archive > .item > a:hover {
    /*text-decoration: underline;*/
    color: #0D2B67;
}

.main > .news_archive > .item > a {
    color: #0645ad;
}

.main > .news_archive > .item > a:visited {
    color: #0d2b67;
}

.main > .search > .item {
    padding: 5px 3px;
    border-bottom: 1px groove #c6a5a7;
}

.main > .search > .item > a {
    text-decoration: none;
    float: right;
    max-width: 90%;
    font-size: 12px !important;
    font-weight: normal;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main > .search > .item > a:hover {
    /*text-decoration: underline;*/
    color: #0D2B67;
}

.main > .search > .item > a {
    color: #0645ad;
}

.main > .search > .item > a:visited {
    color: #0d2b67;
}

.main > .gallery {
    text-align: center;
    /*display: table;*/
    border-spacing: 4px;
    width: 100%;
}

.main > .gallery .item {
    border: 1px solid #F7F7F7;
    /*padding: 4px;*/
    width: 19%;
    /*display: table-cell;*/
    vertical-align: bottom;
    padding: 3px 0 0 0;
}

.main > .gallery .item > a {
    max-height: 150px;
    max-width: 180px;
}

.main > .gallery .item > a > img {
    max-height: 150px;
    max-width: 180px;
}

.main > .gallery .item > a > .title {
    background: #f2f2f2;
    font-size: 13px;
    margin: 10px 0 0;
    padding: 5px 0;
}

.main > .gallery .item > a {
    color: #0645AD;
    text-decoration: none;
}

.main > .gallery .item > a:hover {
    /*text-decoration: underline;*/
    color: #0D2B67;
}

.main > .gallery_item {

}

.main > .gallery_item > .image {
    text-align: center;
    margin-top: 10px;
}

.main > .gallery_item > .description {
    text-align: justify;
    margin: 15px 0 10px 0;
    font-size: 12px;
}

.main > .gallery_item > .description > .back {
    text-align: left;
}

.main > .gallery_item > .description a {
    color: #0645AD;
    text-decoration: none;
}

.main > .gallery_item > .description > a:hover {
    /*text-decoration: underline;*/
    color: #0D2B67;
}

.main > .register {
    margin: 20px auto 0 auto;
    width: 300px;
    background: #f2f2f2;
    border-radius: 2px;
    padding: 7px;
}

.main > .register > form {
    overflow: hidden;
    margin: 0;
}

.main > .register > .title {
    text-align: right;
    color: #4d4d4d;
    margin-bottom: 10px;
    font-size: 13px;
}

.main > .register input[type=text], .main > .register input[type=password] {
    font-family: Tahoma, Arial, sans-serif;
    /*font-family: 'B yekan', Arial, sans-serif;*/
    font-size: 11px;
    direction: ltr;
    padding: 5px 5px;
    border: 1px solid #ccc;
    margin: 1px 0;
    width: 100%;
    display: block;
}

.main > .register .rtl {
    direction: rtl !important;
}

.main > .register input[type=text]:focus, .main > .register input[type=password]:focus {
    border: 1px solid #165c91;
}

.main > .register input[type=submit] {
    border: 1px solid #165c91;
    background-color: #165c91;
    color: #fff;
    padding: 2px 5px;
    width: 70px;
    cursor: pointer;
    /*font-family: Tahoma, Arial, sans-serif;*/
    font-family: 'B yekan', Arial, sans-serif;
    font-size: 12px;
    /*border-radius: 2px;*/
    float: left;
    margin-top: 1px;
}

.main > .register input[type=submit]:hover {
    border: 1px solid #18649e;
    background: #18649e;
}

.main > .register input[type=submit]:focus {
    border: 1px solid #165c91;
    background: #165c91;
}

.main > .register > .result {
    display: none;
    margin: 5px 0 0 0;
    font-size: 11px;
}

.main > .user_file {
    margin: 20px auto 0 auto;
    width: 300px;
    background: #f2f2f2;
    border-radius: 2px;
    padding: 7px;
}

.main > .user_file .help {
    color: #831312;
    margin: 3px 0;
}

.main > .user_file > form {
    overflow: hidden;
    margin: 0;
}

.main > .user_file > .title {
    text-align: right;
    color: #4d4d4d;
    margin-bottom: 10px;
    font-size: 13px;
}

.main > .user_file textarea, .main > .user_file input[type=text] {
    font-family: Tahoma, Arial, sans-serif;
    /*font-family: 'B yekan', Arial, sans-serif;*/
    font-size: 11px;
    direction: rtl;
    padding: 5px 5px;
    border: 1px solid #ccc;
    margin: 1px 0;
    width: 100%;
    display: block;
    resize: none;
}

.main > .user_file input[type=file] {
    direction: ltr;
    float: left;
}

.main > .user_file textarea:focus, .main > .user_file input[type=text]:focus {
    border: 1px solid #165c91;
}

.main > .user_file input[type=submit] {
    border: 1px solid #165c91;
    background-color: #165c91;
    color: #fff;
    padding: 2px 5px;
    width: 70px;
    cursor: pointer;
    /*font-family: Tahoma, Arial, sans-serif;*/
    font-family: 'B yekan', Arial, sans-serif;
    font-size: 12px;
    /*border-radius: 2px;*/
    float: left;
    margin-top: 1px;
}

.main > .user_file input[type=submit]:hover {
    border: 1px solid #18649e;
    background: #18649e;
}

.main > .user_file input[type=submit]:focus {
    border: 1px solid #165c91;
    background: #165c91;
}

.main > .user_file > .result {
    display: none;
    margin: 5px 0 0 0;
    font-size: 11px;
}

.main > .user_file img {
    margin: 5px auto 3px auto;
    display: block;
}

.main > .user_file #user_file_progress-bar {
    float: right;
    display: none;
}

.main > .comments {

}

.main > .comments > form {
    overflow: hidden;
    margin: 0;
}

.main > .comments > .title {
    text-align: right;
    color: #4d4d4d;
    margin-bottom: 10px;
    font-size: 13px;
}

.main > .comments textarea, .main > .comments input[type=text] {
    font-family: Tahoma, Arial, sans-serif;
    /*font-family: 'B yekan', Arial, sans-serif;*/
    font-size: 11px;
    direction: rtl;
    padding: 5px 5px;
    border: 1px solid #ccc;
    margin: 1px 0;
    width: 100%;
    display: block;
    resize: none;
}

.main > .comments textarea:focus, .main > .comments input[type=text]:focus {
    border: 1px solid #165c91;
}

.main > .comments input[type=submit] {
    border: 1px solid #165c91;
    background-color: #165c91;
    color: #fff;
    padding: 2px 5px;
    width: 70px;
    cursor: pointer;
    font-family: 'B yekan', Arial, sans-serif;
    font-size: 12px;
    margin-top: 1px;
}

.main > .comments input[type=submit]:hover {
    border: 1px solid #18649e;
    background: #18649e;
}

.main > .comments input[type=submit]:focus {
    border: 1px solid #165c91;
    background: #165c91;
}

.main > .comments > .result {
    display: none;
    margin: 5px 0 0 0;
    font-size: 11px;
}

.main > .comments .comments_list {
    margin-top: 10px;
    background: #F2F2F2;
    padding: 2px;
}

.main > .comments .comments_list > .comment {

}

.main > .comments .comments_list > .comment .header {
    background: #e7e7e7;
    overflow: hidden;
    padding: 3px;
    border-bottom: 1px solid #831312;
}

.main > .comments .comments_list > .comment .full_name {
    font-size: 16px;
    color: #333;
    float: right;
}

.main > .comments .comments_list > .comment .timestamp {
    font-size: 12px;
    color: #a0a0a0;
    float: left;
}

.main > .comments .comments_list > .comment .body {
    font-size: 14px;
    color: #111;
    margin: 7px 5px 15px 5px;
}

hr {
    border: 0;
    height: 1px;
    background: #0a2250;
}

footer {
    overflow: hidden;
    background: #e4e4e4 linear-gradient(#e4e4e4, #fff);
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-top: 0 none;
    border-bottom: 0 none;
    border-image: linear-gradient(to top, #FFF 0%, #cacaca 100%);
    border-image-slice: 1;
    text-align: center;
    font-size: 12px;
    padding: 5px;
    color: #282828;
}

footer > .phone, footer > .email, footer > .statistics {
    display: inline-block;
}

footer > .address {
    padding: 2px 0 4px 0;
}

footer > .phone {
    margin-left: 30px;
}

footer > .email {
    margin-left: 30px;
}

footer > .statistics {
    width: 20px !important;
    height: 20px !important;
}

footer > .statistics p {
    margin: 0 !important;
}

.sauron {
    position: absolute;
    cursor: pointer;
    display: block;
    background-image: url('../img/sauron.svg');
    background-size: cover;
}

.sauron-show {
    background-image: url('../img/sauron_inverted2.svg');
}
/**********************************************************************/
.TickerNews {
    width: 100%;
    height: 20px;
}

.ti_wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.ti_slide {
    width: 30000px;
    position: relative;
    right: 0;
    top: 0;
}

.ti_content {
    width: 8000px;
    position: relative;
    float: right;
}

.ti_news {
    float: right;
}

.ti_news span {
    padding: 0 30px;
    color: #333;
}

#stop-resume {
    display: block;
    padding: 10px;
    background-color: #f1f1f1;
    margin: 10px;
    width: 70px;
    text-align: center;
    border: solid 1px white;
    text-transform: uppercase;
    font-family: sans-serif;
    text-decoration: none;
}

#stop-resume:active {
    background-color: white;
    border: solid 1px #f1f1f1;
    color: blue;
}
