

.clearfloat::after {
    content: " ";
    clear: both;
    display: block;
}

.err {
    border: 1px solid #ff0800 !important;
    box-shadow: 2px 2px #f88b87 !important;
    color: #f90707 !important;
    background-color: #f8eaea !important;
}

fieldset {
    box-shadow: 3px 2px 6px 0px #bdb6b6;
}

/*---------------------loading page---------------------*/
.preloader-container {
    position: absolute;
    background-color: white;
    width: 100%;
    height: 100%;
    z-index: 1100;
}
.preloader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.bar {
    width: 7px;
    height: 100px;
    border-radius: 5px 5px;
    background-color: #2F9BF1;
    display: inline-block;
    transform-origin: bottom center;
    animation: loading 1.5s ease-in-out infinite;
    /* -webkit-ransfors-origin: bottom center;
    -webkit-animation: loading 1.5s ease-in-out iofinate: */
}
.bar1 {
    animation-delay: 0.1s ;
}
.bar2 {
    animation-delay: 0.2s;
}
.bar3 {
    animation-delay: 0.3s;
}
.bar4 {
    animation-delay: 0.4s;
}
.bar5 {
    animation-delay: 0.5s;
}
.bar6 {
    animation-delay: 0.6s;
}
.bar7 {
    animation-delay: 0.7s;

}
.bar8 {
    animation-delay: 0.8s;
}
.bar9 {
    animation-delay: 0.9s;
}
.bar10 {
    animation-delay: 1s;
}
.bar11 {
    animation-delay: 1.1s;
}
.bar12 {
    animation-delay: 1.2s;
}
.bar13 {
    animation-delay: 1.3s;
}
.bar14 {
    animation-delay: 1.4s;
}
.bar15 {
    animation-delay: 1.5s;
}
.bar16 {
    animation-delay: 1.6s;
}
.preloader h2{
    text-align: center;
    color: #6c85fd;
}
@keyframes loading {
    0% {height: 20px;}
    /* ۲۵%  {height: 25px;} */
    50% {height: 120px;}
    /* ۷۵%  {height: 75px;} */
    100% {height: 60px;}
}


#leftMain {
    float: left;
    width:88%;
    margin:10px;
    background: #FFFFFF;
    min-width: 220px;
    text-align: center;
    min-height: 400px;
    /*position: absolute;*/
}
/*------------------------fieldset-------------------*/
fieldset {
    border-radius: 5px;
    border-color: #d2d2d2;
    box-shadow: 1px 1px 2px #9c9b9b;
}

legend {
    color: #3f4499;
    font-weight: bold;
}

/*------------------------خط-------------------*/
.verticalline {
    display: block;
    margin: 0.5em auto;
    border-style: inset;
    border-width: 1px;
}

/*------------------------دکمه-------------------*/
.btn {
    cursor: pointer;
    border: 1px solid #4b555e;
    box-shadow: 1px 1px 2px #58585b;
    text-align: center;
    font-weight: bold;
    /*font-family: 'btitr';*/
    border-radius: 3px;
    color: #FFFFFF;
    background: #2a3c91;
    background: -moz-linear-gradient(-45deg, #8a88c4, #3f4499);
    background: -webkit-linear-gradient(-45deg, #8a88c4, #3f4499);
    background: -o-linear-gradient(-45deg, #8a88c4, #3f4499);
    background: -ms-linear-gradient(-45deg, #8a88c4, #3f4499);
    background: linear-gradient(-45deg, #8a88c4, #3f4499);
}

/*-------------------------------کادر متن--------------------*/
.txt {
    border: 1px solid #ccc;
    box-shadow: 2px 2px #cacaca;
    text-align: right;
    border-radius: 3px;
    color: black;
    background: #fffafa;
    /*cursor: pointer;*/
}
input{
    cursor: pointer;
}
.txt:focus, .txt:hover {
    border: 1px solid #69aaf8 !important;
    box-shadow: 2px 2px #456ba0 !important;
}

/*---------------------------نوار کشویی----------------*/
.selectlistlabel {
    float: right;
    margin: 0 10px;
    width: 5%;
}

.selectlist {
    border: 1px solid #ccc;
    box-shadow: 2px 2px #cacaca;
    background-color: #ffffff;
    cursor: pointer;
    text-align: center;
    float: right;
    position: relative;
    border-radius: 3px;
    line-height: 30px;
    height: 30px;
}
/*.selectlist :hover{*/
/*    border: 1px solid #69aaf8 !important;*/
/*    box-shadow: 2px 2px #456ba0 !important;*/
/*}*/
.selectlist ul {
    padding: 0;
    width: 100%;
    max-height: 220px;
    background-color: #FFFFFF;
    /*overflow: hidden;*/
    box-shadow: 2px 2px #cacaca;
    margin: 7px auto auto auto;
    display: none;
    position: relative;
    z-index: 5;
    border: 1px solid #cac7c7;
}

.selectlist ul li {
    font-size: 9.7pt;
    cursor: pointer;
    padding: 5px;
    border-bottom: 1px dashed #bbb;
}

.selectlist ul li:last-child {
    border-bottom: 1px solid #bbb;
}

.selectlist ul li:hover {
    background: #eeeeee;
}

.selectlist .icon {
    position: relative;
    display: block;
    left: 6px;
    top: 13px;
    float: left;
    width: 0;
    height: 0;
    border-style: solid;
}

.selectlist .iconup {
    border-width: 0 6.5px 8px 6.5px;
    border-color: transparent transparent #878787 transparent;
}

.selectlist .icondown {
    border-width: 8px 6.5px 0 6.5px;
    border-color: #878787 transparent transparent transparent;
}
/*---------------------------نوار کشویی auto complet----------------*/
.autocomplete {
    position: relative;
    display: inline-block;
}

.selectlist,.autocomplete{
    margin: 0 !important;
}

.autocomplete input[type=text] {
    /*background-color: #f1f1f1;*/
    width: 97%;
    height: 99%;
    border: 0;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}

/*when hovering an item:*/
.autocomplete-items div:hover {
    background-color: #e9e9e9;
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}
.autocomplete ul {
    display: inline-block;
    border: 1px solid #ccc;
    border-top: 0;
    box-shadow: 2px 2px #cacaca;
}

.autocomplete  .icon {
    top: -17px !important;
}
/*-------------tabel----------------------------------------*/
.table-container {
    /*max-height: 300px;*/
    width: 100%;
    overflow: auto;
    /*border-top: 1px solid;*/
    /*border-radius: 6px;*/
    /*box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);*/

}
.tabel {
    border-radius: 6px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}
.table-container .tabel {
    border-collapse: collapse;
    border: solid 1px #cacaca;
}

.table-container .Tbody .Trow:hover {
    border: 3px solid #69aaf8 !important;
    background: #c4ebf9 !important;
}

.TcolumnH, .Tcolumn {
    padding: 5px;
    /*min-width: 70px;*/
    background: white;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 0 1px black;
    border:1px solid #BBBBBB;
    box-sizing:border-box;
}
.Tcolumn{
    border: solid 1px #cccc;
}
.Tcolumn:hover{
    background-color: #dce6f4 !important;
}

.Theader {
    /*position: -webkit-sticky;*/
    position: sticky;
    top: 0;
    z-index: 2;
}

/*.TheaderRow {*/
/*    background: hsl(191, 61%, 81%);*/
/*    height: 100px;*/
/*    column-span: 2;*/
/*}*/
.Theader .TcolumnH {
    position: sticky;
    top: 0;
    z-index: 2;
    background: hsl(191, 61%, 81%);
}

/*.TheaderRow:first-child {*/
/*    right: 0;*/
/*    z-index: 3;*/
/*}*/
.table-container tfoot td:first-child {
    z-index: 2;
}

/* MAKE LEFT COLUMN FIXEZ */
/*.Trow > :first-child*/
.Trow .TcolumnH {
    /*position: -webkit-sticky;*/
    position: sticky;
    background: hsl(191, 61%, 81%);
    right: 0;
}

.Tbody .Trow:nth-child(even) td {
    background: #d8d8d8 ;
}

.table-container tfoot {
    /*position: -webkit-sticky;*/
    bottom: 0;
    z-index: 2;
}

.table-container tfoot td {
    position: sticky;
    bottom: 0;
    z-index: 2;
    background: hsl(20, 50%, 70%);
}
.table-container .TcolumnH:first-child{
    min-width: 50px !important;
}
/*-------------modal box   dialog box ----------------------------------------*/
.modal-Cover {
    display: block; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.2); /* Black w/ opacity */
    /*padding-top: 50px;*/
}

.modal-Cover .modal-box {
    background-color: #fefefe;
    margin: auto;
    border: 1px solid #888;
    box-shadow: 2px 2px #cacaca;
    border-radius: 5px;
    width: 60%; /* Could be more or less, depending on screen size */
}

.modal-Cover .modal-title {
    /*position: relative;*/
    padding: 10px;
    border-bottom: 1px solid #acaeb2;
    height: 15px;
}
.modal-Cover .modal-title.errModal {
    background: #f4627c;
    background: -moz-linear-gradient(-45deg, #ed5872, #f7f4f4);
    background: -webkit-linear-gradient(-45deg, #ed5872, #f7f4f4);
    background: -o-linear-gradient(-45deg, #ed5872, #f7f4f4);
    background: -ms-linear-gradient(-45deg, #ed5872, #f7f4f4);
    background: linear-gradient(-45deg, #ed5872, #f7f4f4);
}
.modal-Cover .modal-title.infModal {
    background: #99c3ed;
    background: -moz-linear-gradient(-45deg, #99daed, #f7f4f4);
    background: -webkit-linear-gradient(-45deg, #99daed, #f7f4f4);
    background: -o-linear-gradient(-45deg, #99daed, #f7f4f4);
    background: -ms-linear-gradient(-45deg, #99daed, #f7f4f4);
    background: linear-gradient(-45deg, #99daed, #f7f4f4);
}

.modal-Cover .msgTitle {
    font-weight: bold;
    padding-right: 1%;
    margin: 0;
    line-height: 12px;
}
.modal-Cover .closeTitle {
    color: #aaa;
    float: left;
    font-weight: bold;
    /*background: url(public/image/icon.png) no-repeat;*/
    /*background-position: -67px 4px;*/
    /*transform: scale(0.8);*/
    /*position: absolute;*/
    /*top: 40px;*/
    /*left: 14px;*/
    /*width: 30px;*/
    /*height: 30px;*/

}


.modal-Cover .modal-content {
    margin: 5px;
    min-height: 100px;
}
.modal-Cover .close:hover,
.modal-Cover .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-Cover p {

    padding: 0;
}

.modal-footer {
    height: 50px;
    text-align: center;
}

.modal-Cover .cancelbtn, .modal-Cover .okbtn {
    display: inline-block;
    width: 92px;
    height: 28px;
}
.modal-Cover .cancelbtn,.modal-Cover .okbtn{
    display: inline-block;
    width: 92px;
    height: 28px;
    margin: 5px;
    /*margin: 1% 34% 1% 3%;*/
}
.modal-Cover .cancelbtn.only{
    /*margin: 1% 42% 1% 3%;*/
}
.modal-Cover .okbtn {
    /*margin: 1% 0 1% 3%;*/
}


/*-------------scrool bar  ----------------------------------------*/
.Customscrollbar {
    /*height: 300px;*/
    /*width: 50%;*/
    /*overflow: auto;*/
    /*padding: 0 10px;*/
    padding: 0;

    /* ⭐ تنظیمات برای Firefox */
    scrollbar-width: thin;           /* "auto" | "thin" | "none" */
    scrollbar-color: #655252 #e7e7e7; /* thumb color | track color */

    /* اختیاری: برای حاشیه و ظاهر بهتر */
    border: 1px solid #ccc;
    border-radius: 8px;
}
.Customscrollbar::-webkit-scrollbar {
    width: 12px;
}

.Customscrollbar::-webkit-scrollbar-track {
    border-radius: 8px;
    background-color: #e7e7e7;
    border: 1px solid #cacaca;
    box-shadow: inset 0 0 6px rgba(89, 66, 66, 0.3);
}

.Customscrollbar::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: #655252;
}

/* -----------------------navigation tabel row -------------------------------------*/
#NshowNumber{
    width: 100%;
    margin: 1% 2%;
}
#NshowNumber span, #NshowNumber i {
    height: 35px;
    display: table-cell;
    line-height: 30px;
    text-align: center;
}
#NshowNumber i {
    width: 60px;
    border-top: solid 1px #c3c4c9;
    border-bottom: solid 1px #c3c4c9;
}
#NshowNumber span{
    width: 40px;
    background-color: #e1e8f5;
    border: solid 1px #c3c4c9;
    text-align: center;
}
#NshowNumber #firstP{
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
}
#NshowNumber #lastP{
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
}
#NshowNumber .pageN:hover{
    background-color: #a0c4f6 !important;
}
#NshowNumber .pageN.deactive{
    background-color: #bfbfbf;
}