/*#region Base Form*/
html {
    /*position:absolute;*/
    /*top: 0; 
    left:0; 
    bottom:0;
    right:0;*/
    /*overflow:auto;*/
}

body {
    /*position:absolute;
    top: 0; 
    left:0; 
    bottom:0;
    right:0;*/
    /*width:100%;
    height:100%;*/
    direction: rtl;
    overflow: auto;
    padding: 0;
    /*background-color: white !important;*/
}

.Popup_Base {
    /*position:absolute;
    top: 0; 
    left:0; 
    bottom:0;
    right:0;*/
}

.Popup_ConditionSection {
    width: 100%;
    height: 50px;
    background-color: #dcdcdc;
    padding: 7px;
    /*position: inherit;*/
    top: 0px;
    z-index: 1000;
}

.tbs_tabs {
    padding-top: 5px;
    padding-left: 3px;
    padding-right: 3px;
}

    .tbs_tabs > .tab-content {
        padding: 10px;
    }

#tsFormsListTab {
    border-color: black;
}

    #tsFormsListTab > li.active > a {
        border-color: black;
        border-bottom-color: transparent;
    }

#tsFormsListTabContent {
    border: solid 1px black;
    border-top: none;
    overflow: auto;
}
/*.divModalFreeze {
    position: fixed; 
    z-index: 999; 
    top: 0; 
    left:0; 
    bottom:0;
    right:0;
    background-color: Black; 
    filter: alpha(opacity=60); 
    opacity: 0.6; 
    -moz-opacity: 0.8;
}*/
.k-edit-form-container {
    width: auto;
}

#TaskNoteItem-popUp textarea {
    width: 300px;
    height: 100px;
    position: relative;
    margin: 20px;
}

#TaskNoteItem-popUp {
    border-bottom: 1px solid gray;
}

.KendoGridButtons > span {
    margin-left: 2px !important;
}

.k-invalid-msg.field-validation-error {
    display: none !important;
}

.tzInVisible {
    display: none;
}

button.tz-inactiveTaskButton {
    display: none;
}

textarea.k-state-disabled {
    opacity: 1;
    color: gray;
}


input.tzTextBox[aria-invalid =true] {
    border-color: red;
}

    input.tzTextBox[aria-invalid =true][validationMessage] {
        color: red;
    }

/*#endregion Base Form*/

/*#region Base Grids*/

/*.Popup_Base > .tbs_tabs > .tab-content > div:not(#tsTaskForms) .k-grid > .k-grid-content{
    overflow:auto;
    min-height:80px;
    padding-left:0 !important;
}
.Popup_Base > .tbs_tabs > .tab-content > div:not(#tsTaskForms) .k-grid > .k-grid-header{
   padding: 0 !important;
}
.Popup_Base > .tbs_tabs > .tab-content > div:not(#tsTaskForms) .k-grid > .k-widget {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.Popup_Base > .tbs_tabs > .tab-content > div:not(#tsTaskForms) .k-grid  .k-grid-header  .k-header {
    white-space: normal;
    text-align:center;
}*/

/*#endregion Base Grids*/

/*#region Validation And Error*/
.k-tooltip-validation {
    display: none !important;
}


.FormContainer > .InitilizingDivSpinner {
    /*display:none;*/
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 999;
    background-color: #565656;
    background-repeat: no-repeat;
    background-position: center;
    filter: alpha(opacity=60);
    -moz-opacity: 0.8;
    opacity: 0.95;
}

    .FormContainer > .InitilizingDivSpinner > .image {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 120px;
        height: 120px;
        margin: -60px 0 0 -60px;
        /*-webkit-animation:spin 2s linear infinite;
    -moz-animation:spin 2s linear infinite;
    animation:spin 2s linear infinite;*/
    }
/*@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }*/


.callcenter-terminated {
    display: block !important;
    position: fixed;
    z-index: 9999;
    width: 100%;
    bottom: 0px;
    text-align: center;
    padding: 10px;
    -webkit-transition: all ease .5s;
    -o-transition: all ease .5s;
    transition: all ease .5s;
    color: #fff;
    background: #bf4123;
    box-shadow: 5px 5px 10px rgba(0,0,0,.3);
}

.callcenter-transfer {
    display: block !important;
    z-index: 9999;
    width: 100%;
    padding: 10px;
    -webkit-transition: all ease .5s;
    -o-transition: all ease .5s;
    transition: all ease .5s;
    color: #fff;
    background: #008ab3;
    box-shadow: 5px 5px 10px rgba(0,0,0,.3);
}

.colorful-loading {
    position: absolute;
    top: 65%;
    left: 49%;
}

.loading-bar {
    display: inline-block;
    width: 4px;
    height: 18px;
    border-radius: 4px;
    animation: colorful-loading 1s ease-in-out infinite;
}

    .loading-bar:nth-child(1) {
        background-color: white;
        animation-delay: 0;
    }

    .loading-bar:nth-child(2) {
        background-color: white;
        animation-delay: 0.09s;
    }

    .loading-bar:nth-child(3) {
        background-color: white;
        animation-delay: .18s;
    }

    .loading-bar:nth-child(4) {
        background-color: white;
        animation-delay: .27s;
    }

@keyframes colorful-loading {
    0% {
        transform: scale(1);
    }

    20% {
        transform: scale(1, 2.2);
    }

    40% {
        transform: scale(1);
    }
}


.k-invalid[required='required'] {
    border: 1px solid red !important;
}

    .k-invalid[required='required'][type='checkbox'] {
        outline: 1px solid red;
    }

span.tzComboBox.k-invalid > .k-dropdown-wrap {
    border: 1px solid red;
}
/*#endregion Validation And Error*/

/*#region General Components*/


form {
    /*margin:auto;*/
    position: relative;
    border: solid 1px #dddddd;
}

    form .tzTabStrip > ul.nav.nav-tabs > li > a {
        line-height: 20px;
        height: 25px;
        padding-top: 0;
    }

.override-Kendo-Width > ul.nav.nav-tabs {
    position: relative;
    top: 0;
}



form .tzTabStrip > ul.nav.nav-tabs li.active > a {
    border-color: #1000ff;
    border-bottom-color: transparent;
    border-width: 2px;
    transform: scale(1.1);
    margin-left: 5px;
    margin-right: 3px;
    background-color: #00bcd4b8;
}

form .tzTabStrip > ul.nav.nav-tabs {
    border-color: lightgray;
}

form .tzTabStrip.override-Kendo-Width > .tzTabItemContent {
    padding-bottom: 10px;
    top: 0px !important;
}

form .tzTabStrip > .tzTabItemContent {
    /*border: solid 1px black;*/
    border-top: none;
}

.default-color {
    border-color: inherit;
}

.disable-color {
    border-color: silver !important;
}

.k-state-disabled:not(.tzGridView):not(.tzDataGrid) {
    background-color: silver !important;
    color: #424141;
    pointer-events: none;
}

    .k-state-disabled:not(.tzGridView):not(.tzDataGrid) * {
        background-color: silver !important;
        color: #424141;
        pointer-events: none;
    }

.k-state-disabled.tzGridView,
.k-state-disabled.tzDataGrid {
    pointer-events: unset;
    opacity: 1;
}

    .k-state-disabled.tzGridView .k-grid-toolbar,
    .k-state-disabled.tzDataGrid .k-grid-toolbar {
        background-color: silver !important;
    }

    .k-state-disabled.tzGridView .k-grid-content table tr,
    .k-state-disabled.tzDataGrid .k-grid-content table tr {
        background-color: lightgray !important;
        pointer-events: none;
    }

    .k-state-disabled.tzGridView .k-grid-toolbar :not(.tbsDataGridBtn-Excel),
    .k-state-disabled.tzDataGrid .k-grid-toolbar {
        background-color: silver !important;
        color: #424141;
        pointer-events: none;
        opacity: 0.7;
    }

fieldset {
    border: solid 1px #e5e5e5;
}

    fieldset > legend {
        font-size: 8pt;
        position: absolute;
        top: 0;
        right: 0;
        padding: 0px 20px;
        border: 0;
        width: auto;
    }

/*comment*/

.override-Kendo-Width {
    width: 100% !important;
    Font-Family: 'Vazir' !important;
    font-Size: 13px !important;
}

.isresponsive fieldset > legend {
    position: relative !important;
    top: 13px;
    cursor: pointer;
}

.isresponsive fieldset > div {
    top: 0px !important;
}

.isresponsive .row {
    margin-left: 0;
    margin-right: 0;
}
/*comment*/

.k-button.k-button-icontext .k-icon, .k-button.k-button-icontext .k-image {
    vertical-align: middle;
}

.k-tabstrip:focus {
    box-shadow: none;
    background: none;
    background-color: transparent;
}
/*@-moz-document url-prefix() { 
   form fieldset > div{
     top:0;
  }
}*/


/* Date picker*/
.tzTimePicker > .k-picker-wrap > span {
    display: none;
}

.tzTimePicker > .k-picker-wrap {
    padding-left: 0;
}

/* DataGrids*/
.k-grid > .k-grid-header {
    padding-right: 0 !important;
    padding-left: 17px !important;
}

.k-grid > .k-grid-content {
    overflow: scroll;
}

.tzDataGrid > .k-grid-toolbar > button > img {
    height: 15px;
}
/*.k-grid > .k-grid-header{
   padding: 0 !important;
}*/
/*.k-grid > .k-grid-content{
    padding-left:0 !important;
    overflow:scroll;
}*/

/* Grid Views*/
.tzGridView > .k-grid-toolbar > button > img {
    height: 15px;
}

/*.k-grouping-header, .k-grid-toolbar {
    padding: 0px !important;
}*/

/*buttons*/
.tzButton {
    padding: 0;
    font-size: xx-small;
    font-weight: bold;
}

input[type=checkbox], input[type=radio] {
    margin: 0px !important;
}

/*#endregion General Components*/
/*#region modal popup for Components*/
/*#ComponentsPopupModal > .modal-dialog{
    width:60%;
    height:80%;
    margin:auto;
    margin-top:10px;
}

@media(max-width: 767px){
    #ComponentsPopupModal > .modal-dialog{
        width:80%;
        height:80%;
    }
}
#ComponentsPopupModal > .modal-dialog > iframe{
    width:100%;
    height:100%;
    background-color:azure;
}
#ComponentsPopupModal > .modal-dialog > iframe form{
    margin:auto;
}*/
/*#endregion modal popup for Components*/
/*#region FileUpload */
.tzFileUpload > a.form-control {
    background: white;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        outline: none;
        background: white;
        cursor: inherit;
        display: block;
    }


/*#endregion */
.loader {
    z-index: 1;
    width: 50px;
    height: 50px;
    margin: -75px 0 0 -75px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 20px;
    height: 20px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Add animation to "page content" */
.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
}

@-webkit-keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }

    to {
        bottom: 0px;
        opacity: 1
    }
}

@keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}
