﻿h1, h2 {
    direction: rtl;
}

.sp-board {
    direction: rtl;
}

.sp-direction {
    direction: rtl;
}

.sp-login-container {
    direction: rtl;
}

.sp-login-header {
    border-radius: 0 20px 5px 0;
}

.sp-login-logo {
    right: auto;
    left: -37px;
}

.sp-notice-item {
    direction: rtl;
}

.sp-notice-right {
    right: auto;
    left: 20px;
}

.sp-notice-left {
    left: auto;
    right: 20px;
}

/*Grid*/
.sp-grid-row .sp-grid-cell:last-child, .sp-g-row .sp-g-cell:last-child {
    border-right: none;
}

.sp-grid-header .sp-grid-cell:last-child, .sp-g-header .sp-g-cell:last-child {
    border-right: none;
}

/*portlet*/
.sp-portlet-light .sp-portlet-title,
.sp-portlet-light .sp-portlet-header {
    text-align: right;
}

.sp-portlet-body {
    direction: rtl;
}

.sp-portlet-option {
    float: left;
}
/*form*/
.sp-f {
    direction: rtl;
}

.sp-form-row, .sp-f-row,
.sp-form-row2, .sp-f-row2, .sp-form-row3, .sp-f-row3 {
    direction: rtl;
}

.sp-form-editor, .sp-f-editor {
    text-align: right;
}

.sp-form-title, .sp-f-title {
    text-align: left;
    padding-left: 5px;
    padding-right: 5px;
}

.sp-form .detail, .sp-f .detail {
    float: right;
}

.sp-form input[type=button], .sp-form input[type=submit],
.sp-f input[type=button], .sp-f input[type=submit] {
    font-family: 'IranSans';
}

.sp-form input, .sp-form select, .sp-form textarea, .sp-form button,
.sp-f input, .sp-f select, .sp-f textarea, .sp-f button {
    direction: rtl;
}

.sp-form-flat .sp-form-title, .sp-f-flat .sp-f-title,
.sp-f-f .sp-form-title, .sp-f-f .sp-f-title {
    text-align: right;
}

.sp-form-material .sp-form-title, .sp-f-material .sp-f-title,
.sp-f-m .sp-form-title, .sp-f-m .sp-f-title {
    text-align: right;
}

.sp-form .sp-form-message, .sp-f .sp-f-message {
    margin-left: 0;
    margin-right: 150px;
}

.sp-form .sp-drop-button:after {
    right: unset;
    left: 4px;
}
