﻿@font-face {
    font-family: 'iransanz';
    src: url('../fonts/iransansz-webfont.eot');
    src: url('../fonts/iransansz-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/iransansz-webfont.woff') format('woff'), url('../fonts/iransansz-webfont.ttf') format('truetype');
}

body {
    font-family: 'iransanz';
    margin: 10px;
}

/*menubar*/
.navbar {
    margin-bottom: 10px;
}
.navbar-nav {
    float: right;
    direction: rtl;
}

@media (min-width: 1200px) {
    .container {
        width: initial;
    }
}

@media (min-width: 768px) {
    .container {
        width: initial;
    }
}

.dropdown-menu {
    text-align: right !important;
}

.dropdown-menu {
    background-color: #337AB7;
    left: -56px;
}

    .navbar-default,
    .navbar-default .navbar-nav > li > a:focus,
    .navbar-default .navbar-nav > li > a:hover,
    .navbar-default .navbar-nav > .active > a,
    .navbar-default .navbar-nav > .active > a:focus,
    .navbar-default .navbar-nav > .active > a:hover,
    .navbar-default .navbar-nav > li > a,
    .navbar-default .navbar-nav > .open > a,
    .navbar-default .navbar-nav > .open > a:focus,
    .navbar-default .navbar-nav > .open > a:hover,
    .dropdown-menu > li > a:focus,
    .dropdown-menu > li > a:hover,
    .dropdown-menu > li > a,
    .dropdown-header,
    .dropdown-menu .divider,
    .navbar-default .navbar-brand,
    .navbar-default .navbar-brand:focus,
    .navbar-default .navbar-brand:hover,
    .navbar-default .navbar-toggle,
    .navbar-default .navbar-toggle:focus,
    .navbar-default .navbar-toggle:hover,
    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color: white;
        background-color: #337AB7;
        font-size: 1.0em;
        line-height: 16px;
    }

        .navbar-default .navbar-toggle .icon-bar {
            background-color: white;
        }

.navbar-collapse collapse in {
    direction: rtl;
}

/*alerts*/
.alert {
    direction: rtl;
}

/*panel*/
.panel {
    direction: rtl;
}

.panel-heading > .row > div > span {
    font-size: medium;
}

/*input*/

.aspNetDisabled {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    /*vertical-align: middle;*/
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: no-drop !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    /*border: 1px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;*/
    border-radius: 4px;
}

input[type=text],
input[type=password] {
    background-color: #FFF;
    border: 1px solid #CCC;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset;
    transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
    border-radius: 4px;
    color: #555;
    display: inline-block;
    font-size: 14px;
    margin-bottom: 10px;
    padding: 8px;
    vertical-align: middle;
    margin: 0px;
}

.row input[type=text] {
    width: 100%;
    text-align: right;
    direction: ltr;
}

select {
    vertical-align: middle;
    background-color: #FFF;
    border: 1px solid #CCC;
    width: 220px;
    border-radius: 4px;
    color: #555;
    display: inline-block;
    font-size: 14px;
    line-height: 20px;
    padding: 8px 8px;
}

/*grid*/
.navigator {
    margin-bottom: 0px !important;
}

.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th {
    background: #337AB7 none repeat scroll 0% 0%;
    color: #FFF;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
}

    .table-bordered > tbody > tr > th > a {
        color: white;
    }

.table-bordered > tbody > tr > td {
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
}

    .table-bordered > tbody > tr > td[align=right] {
        text-align: right;
    }

        .table-bordered > tbody > tr > td.minus {
            /*color: #8a6d3b;*/
            color: #f45e0c;
            background-color: #fcf8e3;
            border-color: #faebcc;
        }

/*grid button*/
.table tr td input[type=button] {
    background-color: white;
    background-image: url("../Images/Garbage.png");
    background-repeat: no-repeat;
    background-repeat: no-repeat;
    background-position: center top;
    width: 22px;
    height: 27px;
}

/*grid paging*/
.pager > td > table > tbody > tr > td a,
.pager > td > table > tbody > tr > td span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857;
    color: #337AB7;
    text-decoration: none;
    background-color: #FFF;
    border: 1px solid #DDD;
}

.pager > td > table > tbody > tr > td span {
    color: #FFF;
    cursor: default;
    background-color: #337AB7;
    border-color: #337AB7;
}

/*modal*/
.close {
    float: left;
}

.modal-header,
.modal-body {
    direction: rtl;
}

.modal-title {
    font-family: 'iransanz';
    font-size:medium;
    font-weight:400;
    margin-right:10px;
}

#cphMain_txtUserName,
#cphMain_txtPassword,
#cphMain_txtEmail {
    text-align: left;
    font-family: Tahoma;
    margin: 0px;
    width: 100%;
}

#cphMain_divProduct {
    border-color: #337ab7;
    border-style: solid;
    border-width: thin;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    box-sizing: border-box;
    direction: rtl;
    font-family: "iransanz";
    font-size: 14px;
    line-height: 20px;
    padding-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
}

.report input[type=text] {
    padding: 0px;
}

/*errorlog*/
.errorlog {
    font-family: tahoma;
    font-size: 6pt;
    direction: ltr;
}

/*table*/
.row input[class="aspNetDisabled"] {
    background-color: #E4E4E4;
    color: #959595;
}

.row input[class="tableHeader"] {
    color: #FFF;
    background-color: #31B0D5;
    border-color: #1B6D85;
    text-align: center;
}

.row input[class="rowHeader"] {
    color: #FFF;
    background-color: #2ECC71;
    border-color: #449D44;
    text-align: center;
}

.row input[class="rowTitle"] {
    color: #FFF;
    background-color: #2ECC71;
    border-color: #449D44;
}

.row input[class="rowSummary"] {
    color: #FFF;
    background-color: #EC971F;
    border-color: #985F0D;
}

.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    padding-right: 1px !important;
    padding-left: 1px !important;
    padding-bottom: 1px;
}

.row {
    margin-right: 0px !important;
    margin-left: 0px !important;
}

/*auto complete*/
.ui-menu .ui-menu-item a {
    background-color: #FFF;
    color: #555;
    font-size: 14px;
    padding: 8px;
    vertical-align: middle;
    margin: 0px;
    font-family: iransanz;
    text-align: right;
}

/*logo*/
.logo-container {
    direction: rtl;
    color: #131613;
    background-color: #fdfdfd;
    border-color: #c0c2be;
    padding-right: 35px;
    padding-left: 35px;
}

.logo {
    float: left;
}

/*kartable*/
.kartable {
    font-size: 10px;
}

.kartable .btn {
    padding: 2px 5px;
    font-size: 10px;
    margin: 1px;
    border-radius: 5px;
}

.kartable tr td input[class=btn] {
    background-image: url("../Images/Pen.png");
    width: 25px;
    height: 25px;
}

.kartable tr td input[class="btn stack"] {
    background-image: url("../Images/Stack.png");
    width: 25px;
    height: 25px;
}

/*fileinput*/
input[type="file"] {
    display: unset;
    direction:ltr;
    font-family:Arial;
    height:28px;
}

/*accordion*/
.ui-accordion .ui-accordion-header {
    color: #fff;
    background-color: #337ab7;
    border-color: #337ab7;
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-bottom-color: transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    font-size: 14px;
    line-height: 1.42857143;
    font-family: 'iransanz';
}

.ui-accordion .ui-accordion-header-active {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.ui-widget, .ui-widget input, .ui-widget select, .ui-widget option {
    font-family: 'iransanz' !important;
    font-size: 14px;
}

/* file upload */
input[type="file"] {
    display: inline-block;
    font-family:'Courier New';
    height:25px;
}

/*card*/
.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem
}

    .card > hr {
        margin-right: 0;
        margin-left: 0
    }

    .card > .list-group {
        border-top: inherit;
        border-bottom: inherit
    }

        .card > .list-group:first-child {
            border-top-width: 0;
            border-top-left-radius: calc(.25rem - 1px);
            border-top-right-radius: calc(.25rem - 1px)
        }

        .card > .list-group:last-child {
            border-bottom-width: 0;
            border-bottom-right-radius: calc(.25rem - 1px);
            border-bottom-left-radius: calc(.25rem - 1px)
        }

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem
}

.card-title {
    margin-bottom: .75rem
}

.card-subtitle {
    margin-top: -.375rem;
    margin-bottom: 0
}

.card-text:last-child {
    margin-bottom: 0
}

.card-link:hover {
    text-decoration: none
}

.card-link + .card-link {
    margin-left: 1.25rem
}

.card-header {
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0,0,0,.03);
    border-bottom: 1px solid rgba(0,0,0,.125)
}

    .card-header:first-child {
        border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0
    }

    .card-header + .list-group .list-group-item:first-child {
        border-top: 0
    }

.card-footer {
    padding: .75rem 1.25rem;
    background-color: rgba(0,0,0,.03);
    border-top: 1px solid rgba(0,0,0,.125)
}

    .card-footer:last-child {
        border-radius: 0 0 calc(.25rem - 1px) calc(.25rem - 1px)
    }

.card-header-tabs {
    margin-right: -.625rem;
    margin-bottom: -.75rem;
    margin-left: -.625rem;
    border-bottom: 0
}

.card-header-pills {
    margin-right: -.625rem;
    margin-left: -.625rem
}

.card-img-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1.25rem
}

.card-img, .card-img-bottom, .card-img-top {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 100%
}

.card-img, .card-img-top {
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px)
}

.card-img, .card-img-bottom {
    border-bottom-right-radius: calc(.25rem - 1px);
    border-bottom-left-radius: calc(.25rem - 1px)
}

.card-deck .card {
    margin-bottom: 15px
}

@media (min-width:576px) {
    .card-deck {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        margin-right: -15px;
        margin-left: -15px
    }

        .card-deck .card {
            -ms-flex: 1 0 0%;
            flex: 1 0 0%;
            margin-right: 15px;
            margin-bottom: 0;
            margin-left: 15px
        }
}

.card-group > .card {
    margin-bottom: 15px
}

@media (min-width:576px) {
    .card-group {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap
    }

        .card-group > .card {
            -ms-flex: 1 0 0%;
            flex: 1 0 0%;
            margin-bottom: 0
        }

            .card-group > .card + .card {
                margin-left: 0;
                border-left: 0
            }

            .card-group > .card:not(:last-child) {
                border-top-right-radius: 0;
                border-bottom-right-radius: 0
            }

                .card-group > .card:not(:last-child) .card-header, .card-group > .card:not(:last-child) .card-img-top {
                    border-top-right-radius: 0
                }

                .card-group > .card:not(:last-child) .card-footer, .card-group > .card:not(:last-child) .card-img-bottom {
                    border-bottom-right-radius: 0
                }

            .card-group > .card:not(:first-child) {
                border-top-left-radius: 0;
                border-bottom-left-radius: 0
            }

                .card-group > .card:not(:first-child) .card-header, .card-group > .card:not(:first-child) .card-img-top {
                    border-top-left-radius: 0
                }

                .card-group > .card:not(:first-child) .card-footer, .card-group > .card:not(:first-child) .card-img-bottom {
                    border-bottom-left-radius: 0
                }
}

.card-columns .card {
    margin-bottom: .75rem
}

@media (min-width:576px) {
    .card-columns {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
        -webkit-column-gap: 1.25rem;
        -moz-column-gap: 1.25rem;
        column-gap: 1.25rem;
        orphans: 1;
        widows: 1
    }

        .card-columns .card {
            display: inline-block;
            width: 100%
        }
}

.accordion > .card {
    overflow: hidden
}

    .accordion > .card:not(:last-of-type) {
        border-bottom: 0;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0
    }

    .accordion > .card:not(:first-of-type) {
        border-top-left-radius: 0;
        border-top-right-radius: 0
    }

    .accordion > .card > .card-header {
        border-radius: 0;
        margin-bottom: -1px
    }


#txtSelectCommand, #txtSelectCommand2, #txtSelectCommand3 {
    height: 300px;
    width: 100%;
    font-family: courier new;
    text-align: left;
    padding: 10px;
    direction: ltr !important;
    background-color: lightyellow;
}
