﻿#managementproduct > div:first-child {
    display: flex;
    flex-direction: row;
}

    #managementproduct > div:first-child > label {
        flex: 100;
        padding-top: 0px;
        padding-bottom: 0px;
    }

        #managementproduct > div:first-child > label > input {
            font-size: 13px;
        }

#managementproduct > div:nth-child(2) {
    margin: 10px 0 10px 0;
    text-align: right;
}

    #managementproduct > div:nth-child(2) > input {
        width: 60px;
    }

#managementproduct > div:nth-child(3) {
    text-align: right;
    margin: 10px 0 10px 0;
}

    #managementproduct > div:nth-child(3) > a:first-child {
        background-color: var(--btnblue);
    }

    #managementproduct > div:nth-child(3) > a:nth-child(2) {
        background-color: #f6821f;
        margin-left: 5px;
    }

    #managementproduct > div:nth-child(3) > a:hover {
        color: #fff;
    }

#managementproduct .gridcontent > .colcontent {
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
}

    #managementproduct .gridcontent > .colcontent > .imgAvatar {
        margin-right: 20px;
    }

        #managementproduct .gridcontent > .colcontent > .imgAvatar > .imgcol > img {
            width: 150px !important;
            height: 150px !important;
            min-width: 150px !important;
            max-width: 150px !important;
            min-height: 150px !important;
            max-height: 150px !important;
            object-fit: cover;
        }

    #managementproduct .gridcontent > .colcontent > .imgContent {
        display: flex;
        flex-direction: row;
        margin-right: 20px;
    }

        #managementproduct .gridcontent > .colcontent > .imgContent > img {
            width: 100px !important;
            height: 150px !important;
            min-width: 100px !important;
            max-width: 100px !important;
            min-height: 150px !important;
            max-height: 150px !important;
            object-fit: cover;
        }

    #managementproduct .gridcontent > .colcontent > .noImgContent {
        flex: 100;
    }

        #managementproduct .gridcontent > .colcontent > .noImgContent > .tieude {
            font-weight: bold;
            font-size: 20px;
            display: flex;
            justify-content: space-between;
        }

        #managementproduct .gridcontent > .colcontent > .noImgContent > .classtrigia {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
        }

            #managementproduct .gridcontent > .colcontent > .noImgContent > .classtrigia > div {
                flex: 1 0 50%;
                font-size: 18px;
            }

                #managementproduct .gridcontent > .colcontent > .noImgContent > .classtrigia > div > div > span {
                    font-weight: bold;
                    padding-left: 5px;
                }

        #managementproduct .gridcontent > .colcontent > .noImgContent > .mota {
            text-align: justify;
        }

#managementproduct .gridcontent > .sanphamcongcu {
    text-align: right;
}

    #managementproduct .gridcontent > .sanphamcongcu > a:first-child {
        background-color: var(--btnblue);
    }

    #managementproduct .gridcontent > .sanphamcongcu > a:nth-child(2) {
        background-color: #f6821f;
    }

    #managementproduct .gridcontent > .sanphamcongcu > a:nth-child(3) {
        background-color: #f6821f;
    }

    #managementproduct .gridcontent > .sanphamcongcu > a:last-child {
        background-color: #ff0000;
    }

#managementproduct #modalQuanLySanPham #subContent > div {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

    #managementproduct #modalQuanLySanPham #subContent > div#giamgiagiasaugiam > div:last-child {
        display: flex;
    }

        #managementproduct #modalQuanLySanPham #subContent > div#giamgiagiasaugiam > div:last-child > div:not(:first-child) {
            padding-left: 5px;
        }

    #managementproduct #modalQuanLySanPham #subContent > div#thongtinsanpham > div:last-child {
        text-align: right;
        padding: 5px 0;
    }

#managementproduct #modalKho #btnNhapKho {
    margin-top: 10px;
    background-color: var(--lightblue);
    width: 100%;
}

@media (max-width: 1025px) {
    #managementproduct #gridBaiViet .imgContent #image5 {
        display: none;
    }
}

@media (min-width: 961px) {
    #managementproduct #modalQuanLySanPham #subContent > div {
        align-items: center;
    }

    #managementproduct #modalQuanLySanPham #subContent > div#thongtinsanpham > div:first-child {
        width: 50% !important;
    }

    #managementproduct #modalQuanLySanPham #subContent > div > div:not(:first-child) {
        padding-left: 5px;
    }

    #managementproduct #modalQuanLySanPham #subContent > div > div {
        width: 25%;
    }

    #managementproduct #modalQuanLySanPham #subContent > div#cuahangbaohangdvt > div:first-child {
        width: 50% !important;
    }

    #managementproduct #modalQuanLySanPham #subContent > div#giamgiagiasaugiam > div:last-child {
        width: 50% !important;
    }

    #managementproduct #modalQuanLySanPham #subContent > div#motahinhanhsanpham > div {
        width: 50% !important;
    }
}

@media (max-width: 961px) {
    #managementproduct .modal-content {
        height: 75%;
        overflow-y: auto;
    }

    #managementproduct #modalQuanLySanPham #subContent > div {
        flex-direction: column;
    }

    #managementproduct #modalQuanLySanPham #subContent > div > div {
        flex: 1 0;
    }

    #managementproduct #gridBaiViet .imgAvatar {
        margin-right: 10px;
    }

    #managementproduct #gridBaiViet .imgContent {
        display: none;
    }

    #managementproduct #gridBaiViet div#tencuahang {
        font-size: 9px;
    }

    #managementproduct #gridBaiViet div.classtrigia div {
        font-size: 13px;
    }

    #managementproduct .gridcontent > .colcontent > .noImgContent > .tieude {
        font-size: 20px;
        flex-direction: column;
    }

        #managementproduct .gridcontent > .colcontent > .noImgContent > .tieude > div:first-child {
            padding-right: 0px !important;
            font-size: 18px !important;
        }

    #managementproduct .gridcontent > .colcontent > .imgAvatar {
        margin-right: 0px;
    }

    #managementproduct #gridBaiViet div#tencuahang {
        order: -1;
    }
}

@media (max-width: 641px) {
    #managementproduct #gridBaiViet .classtrigia {
        flex-direction: column;
    }

    #managementproduct #gridBaiViet .mota {
        font-size: 12px;
        height: 40px;
        overflow: auto;
    }
}

@media (max-width: 390px) {
    #managementproduct #gridBaiViet .sanphamcongcu {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        #managementproduct #gridBaiViet .sanphamcongcu a {
            margin: 5px 0;
            width: 80%;
        }
}

@media (max-width: 332px) {
    #managementproduct .gridcontent > .colcontent {
        flex-direction: column;
    }

    #managementproduct #gridBaiViet .imgAvatar {
        text-align: center;
        margin-right: 0;
        order: 1;
        margin-top: 10px;
    }

    #managementproduct #gridBaiViet .tieude div:first-child {
        font-size: 16px !important;
    }
}
