body {
    direction: rtl;
    text-align: right;
}
img {
    max-width: 100%;
}
b, strong {
    font-family: IRANSans_Bold;
    font-weight: normal;
    font-size: 16px;
}
a {
    text-decoration: none !important;
    color: #000;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
    font-size: 14px;
}
a:hover {
    color: #fb872a;
}
.form-control:focus {
    background-color: #ffffff !important;
}
.form-control:focus {
    border-color: #66afe9 !important;
    outline: 0 !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6) !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6) !important;
}
.messages {
    position: initial !important;
    width: 96%;
    padding-right: 0 !important;
    top: 0 !important;
    margin-right: 2%;
}
.modal-dialog {
    margin: 0 auto;
}
.modal_style .btn {
    padding: .375rem .75rem !important;
}
.blink {
    -webkit-animation: blink 1.50s linear infinite;
    -moz-animation: blink 1.50s linear infinite;
    -ms-animation: blink 1.50s linear infinite;
    -o-animation: blink 1.50s linear infinite;
    animation: blink 1.50s linear infinite;
}
.blink_warning_befor_reserve {
    -webkit-animation: blink 2s linear infinite;
    -moz-animation: blink 2s linear infinite;
    -ms-animation: blink 2s linear infinite;
    -o-animation: blink 2s linear infinite;
    animation: blink 2s linear infinite;
}
.blink2 {
    -webkit-animation: blink 2.50s linear infinite;
    -moz-animation: blink 2.50s linear infinite;
    -ms-animation: blink 2.50s linear infinite;
    -o-animation: blink 2.50s linear infinite;
    animation: blink 2.50s linear infinite;
}
@-webkit-keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 1; }
    50.01% { opacity: 0; }
    100% { opacity: 0; }
}
@-moz-keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 1; }
    50.01% { opacity: 0; }
    100% { opacity: 0; }
}
@-ms-keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 1; }
    50.01% { opacity: 0; }
    100% { opacity: 0; }
}
@-o-keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 1; }
    50.01% { opacity: 0; }
    100% { opacity: 0; }
}
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 1; }
    50.01% { opacity: 0; }
    100% { opacity: 0; }
}
.stop_blink {
    color: #e15b37;
    -webkit-animation: blink 1.80s linear infinite;
    -moz-animation: blink 1.80s linear infinite;
    -ms-animation: blink 1.80s linear infinite;
    -o-animation: blink 1.80s linear infinite;
    animation: blink 1.80s linear infinite;
}
@-webkit-keyframes stop_blink {
    0% { opacity: 1; }
    50% { opacity: 1; }
    50.01% { opacity: 0; }
    100% { opacity: 0; }
}
@-moz-keyframes stop_blink {
    0% { opacity: 1; }
    50% { opacity: 1; }
    50.01% { opacity: 0; }
    100% { opacity: 0; }
}
@-ms-keyframes stop_blink {
    0% { opacity: 1; }
    50% { opacity: 1; }
    50.01% { opacity: 0; }
    100% { opacity: 0; }
}
@-o-keyframes stop_blink {
    0% { opacity: 1; }
    50% { opacity: 1; }
    50.01% { opacity: 0; }
    100% { opacity: 0; }
}
@keyframes stop_blink {
    0% { opacity: 1; }
    50% { opacity: 1; }
    50.01% { opacity: 0; }
    100% { opacity: 0; }
}
.duplicate_warning {
    color: #ff0000;font-size: 14px;text-align: center;margin-bottom: 23px;
}
.datepicker-gregorian .pwt-btn-switch, .datepicker-gregorian .year-item, .datepicker-gregorian .table-days td span {
    font-family: IRANSans_en !important;
    font-size: 13px !important;
}
#Newsletters {
    direction: ltr;
}
.spinner3 {
    direction: rtl !important;
}
.form-control:disabled, .form-control[readonly] {
    background-color: #bfbfbf;
    opacity: 1;
}

/* Nav tabs */
.nav {
    display: block;
    padding-right: 0;
    margin-bottom: 0;
    list-style: none
}
.nav>li {
    position: relative;
    display: block
}
.nav>li>a {
    position: relative;
    display: block;
    padding: 10px 15px
}
.nav>li>a:hover,
.nav>li>a:focus {
    text-decoration: none;
    background-color: #eee
}
.nav>li.disabled>a {
    color: #999
}
.nav>li.disabled>a:hover,
.nav>li.disabled>a:focus {
    color: #999;
    text-decoration: none;
    cursor: not-allowed;
    background-color: transparent
}
.nav .open>a,
.nav .open>a:hover,
.nav .open>a:focus {
    background-color: #eee;
    border-color: #428bca
}
.nav .nav-divider {
    height: 1px;
    margin: 9px 0;
    overflow: hidden;
    background-color: #e5e5e5
}
.nav>li>a>img {
    max-width: none
}
.nav-tabs {
    border-bottom: 1px solid #ddd
}
.nav-tabs>li {
    float: right;
    margin-bottom: -1px
}
.nav-tabs>li>a {
    margin-left: 2px;
    line-height: 1.42857143;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0
}
.nav-tabs>li>a:hover {
    border-color: #eee #eee #ddd
}
.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus {
    color: #555;
    cursor: default;
    background-color: #fff;
    border: 1px solid #ddd;
    border-bottom-color: transparent
}
.nav-tabs.nav-justified {
    width: 100%;
    border-bottom: 0
}
.nav-tabs.nav-justified>li {
    float: none
}
.nav-tabs.nav-justified>li>a {
    margin-bottom: 5px;
    text-align: center
}
.nav-tabs.nav-justified>.dropdown .dropdown-menu {
    top: auto;
    right: auto
}
.nav-tabs.nav-justified>li>a {
    margin-left: 0;
    border-radius: 4px
}
.nav-tabs.nav-justified>.active>a,
.nav-tabs.nav-justified>.active>a:hover,
.nav-tabs.nav-justified>.active>a:focus {
    border: 1px solid #ddd
}
.nav::before {
    display: table;
    content: " ";
    box-sizing: border-box;
}
.nav::after {
    display: table;
    content: " ";
    box-sizing: border-box;
    clear: both;
}
.fade {
    opacity: 0;
    -webkit-transition: opacity .15s linear;
    transition: opacity .15s linear
}
.fade.in {
    opacity: 1
}
.tab-content>.tab-pane {
    display: none
}
.tab-content>.active {
    display: block
}
.rst-explain,
.tab-content,
.thum-ads {
    overflow: hidden
}
.preview-thumbnail.nav-tabs li img {
    max-width: 100%;
    display: block
}
.tab-content img {
    width: 100%;
    -webkit-animation-name: opacity;
    animation-name: opacity;
    -webkit-animation-duration: .3s;
    animation-duration: .3s
}
@-webkit-keyframes opacity {
    0% {
        opacity: 0;
        -webkit-transform: scale(3);
        transform: scale(3)
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}
@keyframes opacity {
    0% {
        opacity: 0;
        -webkit-transform: scale(3);
        transform: scale(3)
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

/* Panel */
.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    direction: rtl;
    text-align: right;
}
.panel-body {
    padding: 15px
}
.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px
}
.panel-heading>.dropdown .dropdown-toggle {
    color: inherit
}
.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    color: inherit
}
.panel-title>a {
    color: inherit
}
.panel-default {
    border-color: #ddd
}
.panel-default>.panel-heading {
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
    font-family: IRANSans_Bold;
    font-size: 15px;
    padding-top: 9px;
    padding-bottom: 12px;
}

/* Video page */
.related_video li {
    padding-bottom: 9px;
    border-bottom: 1px dashed #AFAFAF;
    margin-bottom: 13px;
}
.related_video li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
    margin-bottom: 0;
}
.related_video img {
    border-radius: 7px;
    border: 1px solid #AFAFAF;
}
.video_caption {
    margin-top: 15px;
    font-size: 14px;
}


@media (max-width: 575.98px) {
    .margin-top-27 {
        margin-top: 75px;
    }
    .border-bottom-custom-style {
        border-bottom: 4px solid #802C4F;
        box-shadow: 0 2px 28px -17px #000000a1;
    }
    #Newsletters {
        margin-top: 73px;
    }
    .modal-dialog {
        width: 95%;
    }
}
@media (min-width: 576px) and (max-width: 767.98px) {
    .margin-top-27 {
        margin-top: 90px;
    }
    .border-bottom-custom-style {
        border-bottom: 4px solid #802C4F;
        box-shadow: 0 2px 28px -17px #000000a1;
    }
    #Newsletters {
        margin-top: 73px;
    }
    .modal-dialog {
        width: 95%;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .margin-top-27 {
        margin-top: 90px;
    }
    .border-bottom-custom-style {
        border-bottom: 4px solid #802C4F;
        box-shadow: 0 2px 28px -17px #000000a1;
    }
    #Newsletters {
        margin-top: 73px;
    }
    .modal-dialog {
        width: 95%;
    }

}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .margin-top-27 {
        margin-top: 140px;
    }
    .border-bottom-custom-style {
        border-bottom: 4px solid #802C4F;
        box-shadow: 0 2px 28px -17px #000000a1;
    }
    #Newsletters {
        margin-top: 73px;
    }
}
@media (min-width: 1200px) {
    .margin-top-27 {
        margin-top: 140px;
    }
    .border-bottom-custom-style {
        border-bottom: 3px solid #802C4F;
        box-shadow: 0 2px 28px -17px #000000a1;
    }
    #Newsletters {
        margin-top: 86px;
    }
}