﻿.newform {
    min-width: 600px;
}

     .form-toolbar {
        display: block;
        background-color: #F6F6F6;
        margin-bottom: 2px;
        border: 1px solid #CCC;
        border-radius: 2px;
        overflow: hidden;
    }

.form-toolbar > .field-section > div {
    vertical-align: middle;
    /*width: 13%;*/
    display: inline-block;
    /*min-width: 8%;*/
    /*min-width: initial;*/
    max-width: initial;
}

    .form-toolbar > .field-section > div > div {
        font-size: 9px;
        min-height: 40px;
        padding: 0px;
        margin: 0px 1px;
    }

        .form-toolbar > .field-section > div > div > span {
            cursor: default;
            position: relative;
            display: block;
            /*font-size: 11px !important;*/
            color: #737171;
            margin: 0px 5px;
            line-height: 16px;
        }


        .form-toolbar > .field-section > div > div > label {
            background-color: #f0e4e4;
            color: #f66f6f;
            padding: 0px 6px;
            height: 20px;
            line-height: 21px;
            cursor: not-allowed;
            font-size: 9px !important;
            text-align: center;
        }

        .form-toolbar > .field-section > div > div select,
        .form-toolbar > .field-section > div > div input[type="password"],
        .form-toolbar > .field-section > div > div input[type="datetime"],
        .form-toolbar > .field-section > div > div input[type="date"] {
            width: 91px;
            border-radius: 1px;
            box-sizing: border-box;
            height: 25px;
            /*//added by mr jodati*/
            max-width: 185px;
        }

        .form-toolbar > .field-section > div > div input[type="text"] {
            width: 110px;
            border-radius: 1px;
            box-sizing: border-box;
            height: 22px;
            font-size: 10px;
        }

.form-toolbar > .btn-section {
    padding: 0px 2px;
}

    .form-toolbar > .btn-section > ul {
        margin: 0;
        padding: 0;
        font-size: 0;
    }

        .form-toolbar > .btn-section > ul > li {
            display: inline-block;
            color: #000;
            text-align: center !important;
            margin: -1px -1px;
            vertical-align: middle;
            min-width: 30px;
            list-style-type: none;
            background-color: #FFF;
            padding: 4px 8px 4px 8px;
            border: 1px solid #D2DBE1;
            height: 37px !important;
            line-height: 20px;
            font-size:10px;
        }


            .form-toolbar > .btn-section > ul > li.confirm-box {
                font-size: 14px;
                color: red !important;
                line-height: 41px !important;
                display: none;
            }

                .form-toolbar > .btn-section > ul > li.confirm-box > a {
                    margin: 2px 3px;
                    background-color: #eeeef6;
                    border-radius: 3px;
                    font-size: 13px;
                    padding: 6px 8px;
                }

.h-ltr .form-toolbar {
    padding: 0px 0px 0px 13px;
    min-height: 45px;
    padding-bottom:8px;
}

.h-rtl .form-toolbar {
    padding: 0px 13px 0px 0px;
}

.h-ltr .form-toolbar > .btn-section > ul > li {
    border-right: none;
    font-size: 10px;
}


.h-rtl .form-toolbar > .btn-section > ul > li {
    border-left: none;
}

.form-toolbar > .btn-section > ul > li:hover:not(.confirm-box) {
    background: #E4EFF6;
    color: #00F;
}


.h-ltr .form-toolbar > .btn-section {
    float: right;
}

.h-rtl .form-toolbar > .btn-section {
    float: left;
}

.h-ltr .form-toolbar > .field-section {
    float: left;
}

.h-rtl .form-toolbar > .field-section {
    float: right;
}


div[dir=ltr]  .form-toolbar > .btn-section {
    float: right;
}

div[dir=rtl]  .form-toolbar > .btn-section {
    float: left;
}

div[dir=ltr]  .form-toolbar > .field-section {
    float: left;
}

div[dir=rtl] .form-toolbar > .field-section {
    float: right;
}

.newform > .form-body {
    overflow-y: auto;
}

    .newform > .form-body .part {
        margin-bottom: 10px;
    }


    .newform > .form-body > .part > .part-body > .part > .part-body {
        border: 1px solid #ECE6E6;
    }

.part > .part-header > .tree-icon {
    display: inline-block;
    border: 1px solid #CCC;
}

    .part > .part-header > .tree-icon:hover {
        background-color: #E4EFF6;
    }

/*برای صفحاتی که نوار ابزار داخل بدنه قرار دارد*/

.part > .part-body .toolbar-section {
    padding: 0px 2px;
}


    .part > .part-body .toolbar-section > .btn-section > ul {
        margin: 0;
        padding: 0;
    }

        .part > .part-body .toolbar-section > .btn-section > ul > li {
            display: inline-block;
            color: #000;
            text-align: center !important;
            margin: -1px -2px;
            vertical-align: middle;
            min-width: 30px;
            list-style-type: none;
            background-color: #FFF;
            padding: 4px 14px 12px;
            border: 1px solid #D2DBE1;
            height: 37px !important;
            line-height: 20px;
        }

.h-ltr .part > .part-body .toolbar-section {
    padding: 0px 0px 0px 13px;
}

.h-rtl .part > .part-body .toolbar-section {
    padding: 0px 13px 0px 0px;
}

.h-ltr .part > .part-body .toolbar-section > .btn-section > ul > li {
    border-right: none;
}

.h-rtl .part > .part-body .toolbar-section > .btn-section > ul > li {
    border-left: none;
}

.part > .part-body .toolbar-section > .btn-section > ul > li:hover {
    background: #E4EFF6;
    color: #00F;
}


.h-ltr .part > .part-body .toolbar-section > .btn-section {
    float: right;
}

.h-rtl .part > .part-body .toolbar-section > .btn-section {
    float: left;
}

/*End برای صفحاتی که نوار ابزار داخل بدنه قرار دارد*/


.newform > .form-body .part > div.part-body {
    border: 1px solid #CCC;
    padding: 7px 15px;
    margin-top: 2px;
    background-color: #F6F6F6;
    overflow-x: auto;
    position: relative;
    /*overflow-y: hidden;*/
    /*min-height:200px;*/
    border-radius: 5px;
}

    .newform > .form-body .part > div.part-body > .end-reserve > label {
        display: inline-block;
        vertical-align: middle;
    }

    .newform > .form-body .part > div.part-body > .end-reserve > input {
        vertical-align: middle;
    }

    .newform > .form-body .part > div.part-body > .end-reserve > span {
        vertical-align: middle;
        display: inline-block;
    }

    .newform > .form-body .part > div.part-body .row {
        font-size: 0;
        margin-left: 0px !important;
    }
    .newform > .form-body .part > div.part-body .row {
        font-size: 11px !important;
    }

        .newform > .form-body .part > div.part-body .row > div {
            /*vertical-align: middle;*/
            vertical-align: top;
            width: 15%;
            display: inline-block;
            min-width: initial;
            max-width: initial;
        }

            .newform > .form-body .part > div.part-body .row > div.two {
                width: 24%;
                min-width: initial;
                max-width: initial;
            }

            .newform > .form-body .part > div.part-body .row > div.three {
                width: 45.4%;
                min-width: initial;
                max-width: initial;
            }

            .newform > .form-body .part > div.part-body .row > div.four {
                width: 60%;
                min-width: initial;
                max-width: initial;
            }

            .newform > .form-body .part > div.part-body .row > div.five {
                width: 75%;
                min-width: initial;
                max-width: initial;
            }

            .newform > .form-body .part > div.part-body .row > div.full {
                width: 90.8%;
                min-width: initial;
                max-width: initial;
            }

            .newform > .form-body .part > div.part-body .row > div:hover > div {
                background-color: #E1E9EF;
            }

            .newform > .form-body .part > div.part-body .row > div > div {
                background-color: #ECECEC !important;
                font-size: 12px;
                border: 1px solid #F6F6F6;
                /*min-height: 46px;*/
                padding: 0px;
                margin: 5px 3px !important;
                position: relative;
            }
                .newform > .form-body .part > div.part-body .row > div > div.StatusBooking, .newform > .form-body .part > div.part-body .row > div > div.StatusBooking > label {
                    background-color: bisque !important;
                }
                
                .newform > .form-body .part > div.part-body .row > div > div > span.k-dropdown {
                    width: 100%;
                }

                .newform > .form-body .part > div.part-body .row > div > div > span.k-autocomplete {
                    width: 100%;
                }

                .newform > .form-body .part > div.part-body .row > div > div > span.k-numerictextbox {
                    width: 100%;
                }

                .newform > .form-body .part > div.part-body .row > div > div > span.k-datepicker {
                    width: 100%;
                }

                .newform > .form-body .part > div.part-body .row > div > div > span.k-autocomplete > .k-input {
                    border-radius: 2px !important;
                    width:100%;
                    height:21px !important;
                }

                .newform > .form-body .part > div.part-body .row > div > div > span.k-dropdown > span.k-dropdown-wrap {
                    border-radius: 2px !important;
                }

    .newform > .form-body .part > div.part-body.attachments .row > div > div {
        min-height: 25px;
        margin: 0px 2px;
    }

    .newform > .form-body .part > div.part-body .row > div > div > span, .newform > .form-body .part > div.part-body .row > div > div > div > span {
        display: block;
        font-size: 11px !important;
        color: #737171;
        line-height: 20px;
    }

.newform.h-rtl > .form-body .part > div.part-body .row > div > div > span:not(.DetailMultimode > div > span):not(.kalaType > div > span) {
    margin: 0px 5px 0px 0px;
}

.newform.h-ltr > .form-body .part > div.part-body .row > div > div > span:not(.k-dropdown):not(.k-autocomplete):not(.k-numerictextbox):not(.k-datepicker) {
    margin: 0px 0px 0px 5px;
}

.newform > .form-body .part > div.part-body .row > div > div > label :not(.error):not(.initStyle) {
    position: relative;
    display: inline-block;
    font-size: 11px !important;
    color: #737171;
    line-height: 20px;
    margin: 0 5px;
}

.newform > .form-body .part > div.part-body.attachments .row > div > div > label {
    display: inline-block;
    vertical-align: middle;
    margin: 0px 1px;
}

.newform label {
    background-color: #ECECEC !important;
    cursor: default;
    position: relative;
    display: block;
    font-size: 11px !important;
    color: #737171;
    height: 21px;
}

.newform .part-body .row select,
.newform .part-body .row input[type="password"],
.newform .part-body .row input[type="datetime"],
.newform .part-body .row input[type="date"] {
    width: 100%;
    border-radius: 1px;
    box-sizing: border-box;
    height: 25px;
}

.part-body .row input[type="text"]:not(.k-input) {
    width: 100%;
    border-radius: 2px;
    box-sizing: border-box;
    height: 25px;
}

.part-body .row textarea {
    width: 100%;
    border-radius: 1px;
    box-sizing: border-box;
    /*height: 56px;*/
    height: 72px;
}
.part-body .row >div >div.SpecialSize{
    height:46px;
}
.part-body .row > div > div > span > span:first-child:not(.k-dropdown-wrap):not(.k-numeric-wrap):not(.k-picker-wrap) {
    display: inline-block;
}

.h-ltr .part-body .row > div > div > span > span:last-child:not(.k-numeric-wrap):not(.k-picker-wrap) {
    float: right;
    width:50% !important;
}

.part-body .row > div > div > span > .droplist > span.list-arrow {
    background-color: rgb(228, 212, 212);
    padding: 4px 5px;
    line-height: 23px;
    border: 1px solid rgb(237, 203, 203);
    cursor: pointer;
}

.part-body .row > div > div > span > .droplist > .list-content {
    position: absolute;
    width: 100px;
    z-index: 10000;
    top: 25px;
}

.h-ltr .part-body .row > div > div > span > .droplist > .list-content {
    right: 0px;
}


.list-content > select {
    height: initial !important;
}

.h-rtl .part-body .row > div > div > span > .droplist > .list-content {
    left: 0px;
}

.h-rtl .part-body .row > div > div > span > span:last-child:not(.k-numeric-wrap) {
    float: left;
    width:50% !important;
}

.part-body .row > div > div > span > span:not(.initial) > select {
    width: 33px !important;
    border: transparent;
    background: transparent none repeat scroll 0% 0%;
    height: 20px;
}

.part-body .row > div > div > div.fieldValToShow {
    cursor: not-allowed;
    background-color: #F5EAEA;
    height: 23px;
    border: 1px solid #CCC;
    padding: 0px 9px;
    line-height: 19px;
}

.closet {
    display: none;
}

/*-----------------NAJVA-----------------------*/

.h-ltr .newform a.pcalBtn {
    right: 0;
    left: initial;
}


.h-rtl .newform a.pcalBtn {
    left: 0;
    right: initial;
}

.newform a.pcalBtn {
    width: 16px !important;
    height: 15px !important;
    margin-top: 6px;
    top: -3px;
    position: absolute;
}

.part-body .row > div > div > span > span:not(.k-dropdown-wrap):not(.k-numeric-wrap):not(.k-picker-wrap) {
    display: inline-block;
}


.part-body .row > div > div > span.full-date {
    margin: 0px !important;
}


    .part-body .row > div > div > span.full-date > span:first-child {
        width: 49%;
    }

        .part-body .row > div > div > span.full-date > span:first-child > input {
            width: 100%;
        }

    .part-body .row > div > div > span.full-date > span:last-child {
        width: 100%;
    }

        .part-body .row > div > div > span.full-date > span:last-child > input {
            width: 100%;
            text-align:left;
        }

.newform > .form-body .part > div.part-body > div > b > font > div > div.defects {
    display: inline-block !important;
    margin-right: 19px;
    color: #737171;
    min-width: 11%;
    background-color: #ECECEC;
    font-size: 11px;
}

    .newform > .form-body .part > div.part-body > div > b > font > div > div.defects:hover {
        background-color: #E4EFF6;
    }

#detail > div > #btnClose {
    float: right;
}


/*DropDown with Filter (Added by Ghahremani)*/
div.FilterDropDown input[type=text] {
    display: none;
}

div.FilterDropDown select {
    display: inline-block;
}

div.FilterDropDown a {
    display: inline-block;
    position: absolute;
    top: 15%;
}

div.FilterDropDown {
    position: relative;
}

div.ShowFilter input[type=text] {
    display: inline-block;
}

div.ShowFilter select {
    display: none;
}

div.ShowFilter a {
    display: none; /*Inline Block*/
    position: absolute;
    top: 15%;
}

body[dir=ltr] div.FilterDropDown a {
    left: 82%;
}

body[dir=rtl] div.FilterDropDown a {
    left: 10%;
}

body[dir=ltr] div.ShowFilter a {
    left: 87%;
}

body[dir=rtl] div.ShowFilter a {
    left: 5%;
}
/*END*/


#logoHolder {
    padding-top: 6px;
}

.requiredfield {
    border: solid 1px red !important;
}

div.empty-msg {
    padding: 9px 19px;
    color: rgb(236, 32, 32);
    background-color: rgb(231, 231, 231);
}

.DetailMultimode label {
    display: inline-block !important;
    vertical-align: middle;
    padding: 5px 2px;
}

.DetailMultimode span {
    display: inline-block !important;
    background-color: #e1e3e4;
}


.KalaType label {
    display: inline-block !important;
    vertical-align: middle;
    padding: 5px 2px;
}

.KalaType span {
    display: inline-block !important;
    background-color: #e1e3e4;
}

.KalaType > div > span {
    display: inline-block;
}


.form-title {
    font-size: 18px;
    color: #4e7486;
}

.init-overflow {
    overflow: initial !important;
}

.end-reserve > span {
    display: inline-block;
    vertical-align: middle;
}

.newform > .form-toolbar > .btn-section > ul > li > a.toolbar-btn {
    text-decoration: none;
    font-size: 2.5em;
}

.newform > .form-toolbar > .btn-section > ul > li > a.btnInsert {
    color: #06c224;
}

.newform > .form-toolbar > .btn-section > ul > li > a.btnRefresh {
    color: #008aff;
}

.newform > .form-toolbar > .btn-section > ul > li > a.btnInfo {
    color: #ff3f00;
}

.k-autocomplete {
    width: 100% !important;
}

    .k-autocomplete > input {
        height: 19px !important;
    }
