﻿.scroll {
    overflow: scroll;
}

.mytb {
    border: 1px solid #768BB7;
    font-size: 90%;
    width: 100%;
}

    .mytb tr .selected span {
        display: block;
        overflow: auto;
        text-align: center;
    }

    .mytb textarea, .mytb input[type="text"] {
        width: 100%;
    }

    .mytb td {
        max-width: 300px;
    }

table td span {
    margin: 0;
    overflow: hidden;
    padding: 0;
}

.gridWarningRow td span, .gridAlternateRow td span, .gridRow td span {
    display: inline-block;
    max-height: 30px;
}

 
.mytb th {
    background: #5A73A8;
    border: 1px solid #768BB7;
    color: #fff;
    white-space: pre-wrap;
}

.mytb td,
.mytb th {
    padding: 3px;
}


.mytb tr:nth-child(odd) {
    background: #F6F5EA;
}

.mytb tr:nth-child(even) {
    background: #e4e9f7;
}

/*legend my table style*/

.tablescroll table, table {
    /*width: 100%;*/
    /*overflow:hidden;*/
}


.tablescroll table {
    border: 0;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    /*font-size: 90%;*/
    width: 100%;  
    /*margin-top: 5px;*/
}

.tablescroll th a:after {
    color: #F0AD4E;
    content: "▼";
    font-size: 10px;
}





.tablescroll thead td, .tablescroll thead th {
   /* font-family: 'BYekan';
    font-size: 100%;
    font-weight: normal;
    height: 30px;
    line-height: normal;*/
}

.tablescroll tbody td {
    text-align: center;
}

.tablescroll tbody tr .first td {
    border-top: 0;
}

.tablescroll_foot {
    background: #8598BF;
    border: 1px solid #C4CDE0;
    border-right: 0;
    border-top: 0;
    color: #1E2942;
    margin: 5px auto;
    margin-top: 5px;
}

    .tablescroll_foot td {
        border: 0 !important;
        /*color: #24314F;*/
        color: #FFF;
    }

.tablescroll .mini_img {
    border: 0;
    height: 50px;
    width: 50px;
}


/*button input grid*/

#dvScroller .gridRow a:disabled, #dvScroller .gridAlternateRow a:disabled, .mytb-inline a:disabled {
    background: #D5D5DB;
    border: 1px solid rgba(0, 0, 0, 0.3);
    box-shadow: none;
    color: #1E2942;
    cursor: pointer;
    font-family: 'BYekan', tahoma;
}


    #dvScroller .gridRow a:disabled:hover, #dvScroller .gridAlternateRow a:disabled:hover, .mytb-inline:disabled:hover {
        background: #D5D5DB;
        border: 1px solid rgba(0, 0, 0, 0.3);
        box-shadow: none;
        color: #1E2942;
        cursor: pointer;
        font-family: 'BYekan', tahoma;
    }




.mytb-inline {
    width: 100%;
}

    .mytb-inline table {
        margin: 5px auto;
        padding: 10px;
        width: 100%;
        /*table-layout:fixed;*/
    }

        .mytb-inline table td {
            border: 1px solid #768BB7;
            height: 30px;
            padding: 3px;
        }

            .mytb-inline table td:first-child {
                background: #A7B4D1;
                text-align: left;
                width: 20%;
            }

        .mytb-inline table tr:last-child td {
            background: transparent;
        }

    .mytb-inline a {
        float: right;
        margin: 2px 5px;
    }
