
/* /App_Themes/all/allcss/qiGridView.css */
/*GridViewCSS*/
#MainContent {
  
    padding-right: 2px;
}
.GridViewStyle {
    font-size: 1em;
    table-layout: auto;
    border-collapse: collapse;
    border: #009AD9 3px solid;
    width: 100%;
    height: 500px;
}

.GridViewStyle2 {
    Border-Color: #3366CC;
    table-layout: auto;
    border-collapse: collapse;
    border: #e1e1e1 1px solid;
    padding: 0px;
    margin: 0px;
    width: 100%;
}

/*Header and Pager styles*/

.HeaderStyle, .PagerStyle /*Common Styles*/ {
    background-image: url(/App_Themes/all/allcss/images/HeaderGlass.jpg);
    background-position: center;
    background-repeat: repeat-x;
    background-color: White;
    padding-bottom: 5px;
    font-size: 1em;
    text-align: center;
}

.HeaderStyle2, .PagerStyle2 /*Common Styles*/ {
    background-color: White;
    color: #004175;
    text-align: center;
    font-weight: bold;
    font-size: 1em;
}


    .HeaderStyle2 th, .HeaderStyle2 a, .PagerStyle2 a {
        color: #004175;
        font-weight: bold;
        vertical-align: middle;
        font-size: 1em;
        text-align: center;
        padding: 5px;
    }

    .HeaderStyle2 th {
        /*background-image: url(/App_Themes/all/allcss/Image/thead-khoikhac.png);
        padding: 13px;
        white-space: nowrap;*/
    }

.HeaderStyle th {
    font-family: Tahoma;
    padding: 5px;
    color: #ffffff;
}

.HeaderStyle a {
    color: #ffffff;
    display: block;
    font-weight: bold;
    font-family: Tahoma;
    font-size: 11px;
    text-align: center;
}

.PagerStyle table {
    text-align: center;
    margin: auto;
}

    .PagerStyle table td {
        border: 0px;
        padding: 5px;
    }

.PagerStyle td {
    border-top: #1d1d1d 3px solid;
}

.PagerStyle a {
    color: #ffffff;
    text-decoration: none;
    padding: 2px 10px 2px 10px;
    border-top: solid 1px #777777;
    border-right: solid 1px #333333;
    border-bottom: solid 1px #333333;
    border-left: solid 1px #777777;
}


.PagerStyle span {
    font-weight: bold;
    color: #FFFFFF;
    text-decoration: none;
    padding: 2px 10px 2px 10px;
}

/*RowStyles*/

.RowStyle td, .AltRowStyle td, .SelectedRowStyle td, .EditRowStyle td /*Common Styles*/ {
    padding: 1px 4px 1px 2px;
    border: solid 1px #D0D7E5;
}

.RowStyle td {
    background-color: white;
    padding-left: 5px;
}

.AltRowStyle td {
    background-color: #E6F5FB;
}

.SelectedRowStyle td {
    background-color: #ffff66;
}


/*PagerStyles for DetailView in Edit Mode*/
.PagerStyleEdit table {
    text-align: center;
    margin: auto;
}

    .PagerStyleEdit table td {
        border: 0px;
        padding: 5px;
    }

.grvScheduleHeader {
    vertical-align: middle;
    padding-top: 5px;
}

.PagerStyleEdit a {
    color: #008000;
    font-size: small;
    padding: 2px 10px 2px 10px;
    border-top: solid 1px #A7DE92;
    border-right: solid 1px #01971C;
    border-bottom: solid 1px #01971C;
    border-left: solid 1px #A7DE92;
}

.PagerStyleEdit span {
    font-weight: bold;
    font-size: small;
    color: #008000;
    text-decoration: none;
    padding: 2px 10px 2px 10px;
}

.GridViewStyle2 td {
    padding: 6px 12px;
    border: 1px solid #dddddd;
}

    .GridViewStyle2 td span {
    }
.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border: 1px solid #ddd;
}

/*phân trang dữ liệu*/
.pagination-ys {
    border-radius: 4px;
    margin: 20px 0;
    padding-left: 0;
}

    .pagination-ys table > tbody > tr > td {
        display: contents;
    }

        .pagination-ys table > tbody > tr > td > a, .pagination-ys table > tbody > tr > td > span {
            background-color: #ffffff;
            border: 1px solid #dddddd;
            color: #337ab7;
            float: left;
            line-height: 1.42857;
            margin-left: -1px;
            padding: 8px 12px;
            position: relative;
            text-decoration: none;
        }

        .pagination-ys table > tbody > tr > td > span {
            background-color: #337ab7;
            border: 1px solid #dddddd;
            color: #fff;
            cursor: default;
            float: left;
            line-height: 1.42857;
            padding: 8px 12px;
            position: relative;
            text-decoration: none;
            z-index: 2;
        }

        .pagination-ys table > tbody > tr > td:first-child > a, .pagination-ys table > tbody > tr > td:first-child > span {
            border-bottom-left-radius: 4px;
            border-top-left-radius: 4px;
            margin-left: 0;
        }

        .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;
            color: #97310e;
        }

/* /App_Themes/all/allcss/qiStyleCategory.css */
#MainContent {
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
}

.qisubmenubg {
    background-color: #fafafa;
}
.qisubmenubg a {
        color:#808080;

}
h5.qititle
{
    color:#000000;
    font-weight:600;
    font-size:20px;
    line-height:24px;
}

p.qisummary {
    color:#333;
    font-weight:normal;
}

#yw5 {
    display: inline-block;
}

.pagination {
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
    font-size: 14px;
}

    .pagination > li {
        display: inline;
    }

        .pagination > li > a,
        .pagination > li > span {
            position: relative;
            float: left;
            padding: 6px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            color: #337ab7;
            background-color: #ffffff;
            border: 1px solid #dddddd;
            margin-left: -1px;
        }

        .pagination > li:first-child > a,
        .pagination > li:first-child > span {
            margin-left: 0;
            border-bottom-left-radius: 4px;
            border-top-left-radius: 4px;
        }

        .pagination > li:last-child > a,
        .pagination > li:last-child > span {
            border-bottom-right-radius: 4px;
            border-top-right-radius: 4px;
        }

        .pagination > li > a:hover,
        .pagination > li > span:hover,
        .pagination > li > a:focus,
        .pagination > li > span:focus {
            color: #23527c;
            background-color: #eeeeee;
            border-color: #dddddd;
        }

    .pagination > .active > a,
    .pagination > .active > span,
    .pagination > .active > a:hover,
    .pagination > .active > span:hover,
    .pagination > .active > a:focus,
    .pagination > .active > span:focus {
        z-index: 2;
        color: #ffffff;
        background-color: #337ab7;
        border-color: #337ab7;
        cursor: default;
    }

.PagingWrapper {
    text-align: center;
}
.qisubmenu a.qihome_tieude {
    font-size: 14px;
    font-weight: normal;
}
.qisubmenu:first-child {
    padding-top: 15px;
}
.qisubmenu:last-child {
    padding-bottom: 15px;
}
.qisubmenu
{
    padding-top:5px;
}
.qiborder
{
    border-radius:5px;
}
/* /App_Themes/all/allcss/Popupmodal.css */
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10000; /* Sit on top */
    padding-top: 30px; /* Location of the box */
    margin-top: 0px;
    left: 20%;
    top: 20%;
    width: 60%; /* Full width */
    height: auto; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: #fff;
    /*background-color: rgba(0,0,0,0.9);*/ /* Black w/ opacity */
    text-align: left;
}

.modal-header {
    padding: 0px;
}

h4.modal-title {
    font-weight: bold;
    font-size: 20px;
    padding-left: 10px;
    padding-bottom: 5px;
}
/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 60%;
    max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 0px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 0px;
    right: 20px;
    color: #ff0000 !important;
    font-size: 80px;
    font-weight: bold;
    transition: 0.3s;
}

    .close:hover,
    .close:focus {
        color: #ff0000;
        text-decoration: none;
        cursor: pointer;
    }

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }

    .modal-header {
        padding: 0px;
    }

    .modal-title {
        margin: 0;
        line-height: 30px;
        font-weight: bold;
        font-size: 19px;
    }
}

input[type=checkbox] {
    width: 20px !important;
    height: 20px !important;
}

img.img-thumbnail {
    max-width: 200px;
    margin-right: 10px;
}

span.summary, p.Chitiet {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
}

p.Chitiet {
    margin-top: 5px;
    margin-bottom: 0px;
}

.font-bold {
    font-weight: 700;
}
