﻿* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}
body {
    margin: 0;
    font-weight: 100;
    font-size: 12px;
    color: black;
    width:100%;
    height:100%;
    position:absolute;
    font-family: SegoeUI-SemiBold-final,Segoe UI Semibold,SegoeUI-Regular-final,Segoe UI,"Segoe UI Web (West European)",Segoe,-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,Tahoma,Helvetica,Arial,sans-serif;
}
table {
    border-collapse: collapse;
}
    table td {
        border-collapse: collapse;
    }
div {
    scrollbar-width: thin;
}
a {
    text-decoration: none;
    color: #3388cc;
}

input[type="text"] {
    height: 25px;
    outline: none;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding-left: 2px;
    border-radius: 5px;
}
.frmImageShow {
    display: none;
    width: 100%;
    height: 100%;
    z-index:999999;
    top: 0px;
    left: 0px;
    position: absolute;
    background-color: rgba(0,0,0,0.1);
}


.grid-container {
    display: grid;
    background-color: white;
    grid-template-columns: auto auto auto;
    background-color: white;
    padding: 10px;
    position: absolute;
}

.grid-item {
    background-color: white;
    padding: 5px;
    text-align: center;
    position: relative;
}

    .grid-item:hover {
        background-color: lightpink !important;
    }

    .grid-item > img {
        width: 100%;
        height: 100%;
        border: 1px solid #ccc;
        border-radius: 5px;
    }





#HeadPage {
    width: 100%;
    height: 50px;
    top: 0px;
    position: absolute;
    background-color: #113F67;
}
#ContentPage {
    width: 100% !important;
    height: -moz-calc(100% -50px);
    height: -webkit-calc(100% - 50px);
    height: calc(100% - 50px);
    top:50px;
    position:absolute;
    display:flex;
}

#Menu{
    width:60px !important;
    border-right:1px solid #ccc;
    box-shadow:0px 4px 8px 0px #ccc;
}
#Content {
    width: -moz-calc(100% -60px);
    width: -webkit-calc(100% - 60px);
    width: calc(100% - 60px);
    padding: 8px;
    display:flex;
    background-color:#f1f2f3;
    position:relative;
}

.cmdD > li {
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    font-size: 18px;
    color: gray;
    cursor: default;
}
.cmdD > li > div {
    width: 60px;
}
    .cmdD > li > div:first-child {
        height: 30px;
        font-size: 18px;
        line-height:30px;
    }
    .cmdD > li > div:last-child {
        height: 30px;
        font-size:9px;
        text-align:center;
        line-height:8px;

    }
    .cmdD > li:hover {
        color: darkmagenta;
    }

.cmdDActive {
    color: orangered;
    font-weight: bold !important;
}
    .cmdDActive > div {
        color:orangered;
        font-weight: bold !important;
    }
.cmdN {
    height: 30px;
    top: 0px;
    line-height: 30px;
    background: #b8f2f2;
    background: linear-gradient(0deg, rgba(184, 242, 242, 1) 0%, rgba(131, 247, 247, 1) 50%, rgba(184, 242, 242, 1) 100%);
    width: 100%;
}

.cmdN ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

    .cmdN ul li {
        height: 30px;
        text-align: center;
        cursor: default;
        line-height: 30px;
        float:right;
    }
    .cmdN ul li i {
       color:#333;
    }
        .cmdN ul li a {
            padding-left: 10px;
            padding-right: 10px;
            font-size: 12px;
            color:#333;

        }
        .cmdN ul li a:hover {
            font-weight: bold;
            color:black;
        }







.ContentView {
    width: 100%;
    height: -moz-calc(100% -30px);
    height: -webkit-calc(100% - 30px);
    height: calc(100% - 30px);
    position:relative;
    background-color:white;
}
.Edit{
    width:100%;
    height:100%;
    z-index:9999;
    top:0px;
    left:0px;
    display:none;
    position:absolute;
    background-color:rgba(0,0,0,0.2)
}
.frmEdit {
    width: 500px;
    height: 400px;
    left: 50%;
    margin-left: -250px;
    top: 50%;
    margin-top: -200px;
    background-color: white;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    position: relative;
    border-radius:5px;
}
.titel {
    width: 100%;
    height: 30px;
    background-color: #3388cc;
    line-height: 30px;
    text-align:center;
    color:white;
    top: 0px;
    position: absolute;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.detail {
    width: 100%;
    padding: 8px;
    top: 30px;
    position: absolute;
    overflow-y: auto;
    height:340px;
}
.detail table {
    width:100%;
}
    .detail table td:first-child {
        width: 100px;
    }

.cmd {
    width: 100%;
    border-top: 1px solid #ccc;
    bottom: 0px;
    height:30px;
    position: absolute;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    text-align:right;
    line-height:30px;
    padding-right:10px;
}
.cmd > input[type="button"]{
    width:100px;
    height:25px;
    border:1px solid #ccc;
    border-radius:5px;
}
    .cmd > input[type="button"]:first-child {
        background-color:gainsboro;
    }



.info {
    border: none !important;
    outline: none;
    cursor: default;
    color: blue;
    font-style:italic;
    font-size: 11px;
}
.Thumnail{
    width:200px;
    height:150px;
    border-radius:5px;
    border:1px solid #f1f2f3;
}
.rowActive {
    background-color:wheat !important;
}

    .rowActive input {
        background-color:wheat !important;
    }

.ale {
    background-color: white;
    width: 300px;
    height: 200px;
    top: 50%;
    margin-top: -150px;
    left: 50%;
    margin-left: -100px;
    position: absolute;
    border-radius: 5px;
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.2);
}

.frmMassageBg {
    display: block;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    position: absolute;
    background-color: rgba(0,0,0,0.1);
    z-index: 999;
}
/*Danh mục menu và menuItem*/
#MenuWeb {
    width: 50%;
    height: inherit;
    border-right: 1px solid #ccc;
    position: relative;
}
#MenuItem {
    width: 50%;
    height: inherit;
    position: relative;
}



    /*End*/
/*Danh mục loai view*/
#LoaiView {
    width: 100%;
    height: inherit;
    position: relative;
}
/*End*/