﻿.Error {
    color: #dd4b39;
}

.table > tbody > tr > th {
    color: #333;
}

    .table > tbody > tr > th > a {
        text-decoration: underline;
        color: #333;
    }

        .table > tbody > tr > th > a:hover {
            text-decoration: none;
        }

.form-control.checkbox {
    height: auto;
}

.checkbox, .radio {
    margin: 0;
}

    .checkbox input[type=checkbox], .checkbox-inline input[type=checkbox], .radio input[type=radio], .radio-inline input[type=radio] {
        position: absolute;
        margin-top: 4px\9;
        margin-left: 0;
    }

    .radio input[type=radio] {
        position: absolute;
        margin-top: 4px\9;
        margin-left: -20px;
    }

.table .img-thumbnail {
    max-width: 250px;
    max-height: 200px;
}

.multiselect-container {
    max-height: 300px;
    overflow-y: auto;
}

.margin-top-25 {
    margin-top: 25px;
}
/* Paging styling for bootstrap / gridview ref - https://sufiawan.wordpress.com/2014/09/26/asp-net-use-bootstrap-pagination-on-gridview/ */
/* Dont forget: <PagerStyle CssClass="pagination-ys" /> */
.pagination-ys {
    /*display: inline-block;*/
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

    .pagination-ys table > tbody > tr > td {
        display: inline;
    }

        .pagination-ys table > tbody > tr > td > a,
        .pagination-ys table > tbody > tr > td > span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            background-color: #ffffff;
            border: 1px solid #dddddd;
            margin-left: -1px;
        }

        .pagination-ys table > tbody > tr > td > span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            margin-left: -1px;
            z-index: 2;
            color: #aea79f;
            background-color: #f5f5f5;
            border-color: #dddddd;
            cursor: default;
        }

        .pagination-ys table > tbody > tr > td:first-child > a,
        .pagination-ys table > tbody > tr > td:first-child > span {
            margin-left: 0;
            border-bottom-left-radius: 4px;
            border-top-left-radius: 4px;
        }

        .pagination-ys table > tbody > tr > td:last-child > a,
        .pagination-ys table > tbody > tr > td:last-child > span {
            border-bottom-right-radius: 4px;
            border-top-right-radius: 4px;
        }

        .pagination-ys table > tbody > tr > td > a:hover,
        .pagination-ys table > tbody > tr > td > span:hover,
        .pagination-ys table > tbody > tr > td > a:focus,
        .pagination-ys table > tbody > tr > td > span:focus {
            background-color: #eeeeee;
            border-color: #dddddd;
        }
/*End of paging classes*/
.nav-tabs-custom > .nav-tabs > li.active > a {
    font-weight: 800;
}

.view-order {
    background-color: #fff;
    position: relative;
    min-height: 1px;
    padding: 20px;
    border: 1px solid #f4f4f4;
    margin-bottom: 15px;
}

.view-GRN {
    background-color: #fff;
    position: relative;
    min-height: 1px;
    padding: 20px;
    border: 1px solid #f4f4f4;
    margin-bottom: 15px;
}

.bootstrap-checkbox .btn,
.bootstrap-checkbox .checkbox-inline .btn {
    padding-left: 1em;
    padding-right: 1em;
    min-width: 8em;    
}
.bootstrap-checkbox label,
bootstrap-checkbox .checkbox-inline label {
    text-align: left;
    padding-left: 2em;
    padding-right: 1em;
}

.bootstrap-checkbox input{
    margin-top: 1px;
    line-height: 15px;
    width: 20px;
    height: 20px;
}

.modal-content {
    border-radius: .3rem;
}
h5.modal-title {
    font-size: 1.25em;
    display: inline-block;
}
.modal-body {
    font-size: 16px;
}

/*bootstrap 4 backgrounds*/
.bg-success {
    background-color: #28a745!important;
}
.bg-info {
    background-color: #17a2b8!important;
}
.bg-warning {
    background-color: #ffc107!important;
}
.bg-danger {
    background-color: #dc3545!important;
}
/*end of bootstrap 4 backgrounds*/

@media (max-width: 480px) {
    .col-xxs {
        display: block;
        float: none;
        width: 100%;
    }
}
