﻿/* Layout */
html, body, .form
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

body
{
    min-height: 100%;
    padding-top: 1px;
    margin-top: -1px;
    background-image: url(Images/straws.png);
}

.content-wrapper
{
    position: relative;
    padding-bottom: 46px; /* Footer Height */
    max-width: 1150px;
    margin: auto;
    top: 30px;
}
html
{
    height: 100%;
}

.main-color-blue {
    color: #2C4294;
}

.main-color-yellow {
    color: #DAA621;
}

.link {
    text-decoration: none;
    color: #2C4294;
}

.hotline {
    font-size: 17px;
    font-weight: bold;
    color: red;
}

.social {
    padding-top: 10px;
}

.hotline .link {
    color: red;
}

/* Header Content*/
.content-header-container {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1009;
    background-image: url(Images/straws.png);
}

.content-header {
    max-width: 1150px;
    height: 30px;
    margin: auto;
    display: flex;
    align-content: center;
}

.content-header-left {
    font-weight: bold;
    font-size: 14px;
    padding-top: 5px;
}

.content-header-right {
    font-weight: bold;
    font-size: 14px;
    padding-top: 5px;
    margin-left: auto;
}

/* Content */
.content {
    background: #F3F3F3;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    min-height: 100%;
    height: 100%;
    -webkit-overflow-scrolling: touch;
}

/* Footer */
.footer-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 1150px;
    background-color: white;
    box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.2);
    border-bottom-width: 0 !important;
    margin-top: 12px;
}

.footer
{
    font-size: 10.5px;
    color: #999999;
    display: flex;
}

.footer-link
{
    color: #999999;
    border-right: 1px solid #bbbbbb;
    margin-right: 7px;
    padding-right: 10px;
    white-space: nowrap;
}

.footer-link:last-child
{
    border: none;
    margin: 0;
    padding: 0;
}

.footer-left {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
}

.footer-center {
    flex-basis: 100%;
}

.footer-right
{
    float: right;
    flex-basis: 100%;
}

.footer-left .address {
    max-width: 92%;
}

.footer-left,
.footer-center,
.footer-right {
    padding: 16px 24px;
}

.footer-left > span {
    display: flex;
}

.footer-center-content {
    display: flex;
    flex-direction: column;
    margin-left: 25%;
}

.footer-right {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.footer-right .facebook-icon {
    font-size: 32px;
    margin-right: 7px;
}

.footer-right .facebook-icon a {
    color: #3b5998;
}

.footer-right .youtube-icon {
    font-size: 32px;
}

.footer-right .youtube-icon a {
    color: red;
}

.footer-left .footer-left-icon,
.footer-center .footer-left-icon,
.footer-right .footer-left-icon {
    padding: 3px 5px 0 0;
}

.footer-left .footer-left-title,
.footer-center .footer-left-title, 
.footer-right .footer-left-title {
    font-weight: bold;
    font-size: 16px;
    padding-bottom: 10px;
}

.footer-left .footer-left-content,
.footer-center .footer-left-content,
.footer-right .footer-left-content {
    font-size: 15px;
    padding-top: 5px;
}

.copy-right {
    margin: auto;
    padding: 10px;
    font-size: 13px;
    font-weight: bold;
    color: #DAA621;
}

/* Header */
.app-header
{
    padding: 10px 10px 0 15px !important;
    box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.2);
    border-bottom-width: 0 !important;
}

#HeaderPanel {
    max-width: 1150px !important;
    margin: auto;
    top: 30px;
    display: flex;
}

.app-header .left-block {
    padding-bottom: 10px;
}

.app-header .left-block div {
    float: left;
}

.app-header .left-block .left-block-title-container {
    height: 90px;
    align-content: center;
    display: flex;
    flex-direction: column;
}

.app-header .left-block .left-block-title-1 {
    font-size: 18px;
    font-weight: bold;
    color: #2C4294;
    flex-grow: 1;
    align-content: flex-end;
}

.app-header .left-block .left-block-title-2 {
    font-size: 35px;
    font-weight: bold;
    color: #DAA621;
    flex-grow: 1;
    padding-top: 5px;
}

.app-header .right-block-container {
    margin-left: auto;
}

.app-header .right-block {
    float: right;
    margin-right: 10px;
    height: 55px;
}

.app-header .right-block .search-container {
    float: left;
    margin-top: 4px;
    margin-right: 20px;
    height: 32px;
    border: 1px solid #3b5998;
    border-radius: 5px;
    box-shadow: 0 0 5px #ccc;
    padding: 3px 5px 0 5px;
}

#HeaderPanel_txtSearch_I {
    color: #3b5998;
    opacity: 0.8;
}

.app-header .right-block .search-container .search-text {
    float: left;
}

.app-header .right-block .search-icon {
    float: right;
    font-size: 16px;
    color: #3b5998;
    margin-right: 7px;
    padding-top: 6px
}

.app-header .right-block .facebook-icon {
    float: left;
    padding-top: 5px;
    font-size: 32px;
    color: #3b5998;
    margin-right: 7px;
}

.app-header .right-block .facebook-icon a {
    color: #3b5998;
}

.app-header .right-block .youtube-icon {
    float: left;
    padding-top: 6px;
    font-size: 32px;
}

.app-header .right-block .youtube-icon a {
    color: red;
}

.app-header .right-block .dxm-ltr {
    float: right;
}

.app-header .right-block-hxt {
    float: right;
}

.app-header .menu-container {
    /*overflow: hidden;*/
    width: 100%;
}

.app-header .menu-container > div
{
    float: right;
}

.header-logo
{
    background: url('Images/pllogo.png') no-repeat center center;
    background-size: cover;
    height: 90px;
    width: 90px;
}

@media (max-width: 599px) {
    .header-logo {
        background: url('Images/pllogo.png') no-repeat center center;
        background-size: cover;
        height: 90px;
        width: 90px;
    }

    .content-header {
        /* flex-direction: column !important;
        text-align: center !important;
        height: auto !important;
        padding: 5px !important; */

        display: none;
    }

    #HeaderPanel {
        top: 0px !important;
        flex-direction: column !important;
    }

    .app-header .left-block .left-block-title-1 {
        font-size: 18px !important;
    }

    .app-header .left-block .left-block-title-2 {
        font-size: 35px !important;
    }

    .menu-container .dxm-ltr > div:not(.header-menu) {
        width: 100% !important;
    }

    .header-sub-menu {
        width: 100% !important;
    }

    .banner-main {
        height: 350px;
    }

    .page-toolbar .item > h1 {
        max-width: 150px;
    }

    .app-header .right-block .search-container {
        margin-right: 10px;
    }

    .footer-wrapper {
        flex-direction: column;
    }

    .footer {
        flex-direction: column;
        padding-left: 5px;
    }

    .footer-right {
        text-align: left;
    }
    .footer-left,
    .footer-center,
    .footer-right {
        padding: 16px 4px;
    }

    .footer-center-content {
        margin-left: 0;
    }

    .content-wrapper {
        top: 0 !important;
    }

    .doi-ngu-chuyen-mon h1 {
        font-size: 25px !important;
    }
}

.app-header .left-block .header-menu .image-item > .dxm-content
{
    padding: 0 8px 0 8px;
}

.app-header .right-block .header-menu .image-item > .dxm-content
{
    padding: 7px;
}

.app-header .left-block .header-menu .item.toggle-item > .dxm-content
{
    padding: 0 14px 0 14px;
}

.app-header .right-block .header-menu .item.toggle-item > .dxm-content
{
    padding: 0 14px 0 14px;
}

.app-header .header-menu .item,
.app-header .header-menu .item a {
    color: #2C4294;
    font-size: 13.5px;
}

.app-header .header-menu .item.selected {
    box-sizing: border-box;
    /* DXCOMMENT: Duplicates color from the web.config (devexpress->themes->baseColor) */
    border-bottom: 2px dashed #DAA621;
}
.app-header .header-menu .item.selected,
.app-header .header-menu .item.hovered {
    background-color: transparent;
    color: #2C4294;
}

.app-header .header-menu .item.selected .dxm-content
{
    margin-bottom: -2px;
}
.app-header .header-menu .item.selected .dxm-content,
.app-header .header-menu .item.hovered .dxm-content {
    color: #DAA621;
}

/* Main Menu */
.header-menu
{
    background-color: white !important;
    border-style: none !important;
}

.header-sub-menu .item
{
    padding: 12px 7px !important;
}

/* Ellipsis -> Apps Icon */
.header-menu .adaptive-image
{
    background: url('Images/adaptive-menu.svg') no-repeat center;
    width: 16px;
    height: 16px;
    padding: 0 8px;
}
/* Hide item images */
.header-menu.application-menu .item .dxm-content > img
{
    display: none !important;
}

@media (max-width: 720px) /* Change Ellipsis image Apps Icon */
{
    .app-header .menu-container > div
    {
        width: 47px;
    }

    .header-menu .adaptive-image
    {
        background: url('Images/application.svg') no-repeat center;
    }

    /* Show item images */
    .header-menu.application-menu .item .dxm-content > img
    {
        display: inline-block;
    }
}

/* Right area menu */
.header-menu .toggle-item .image
{
    background: url('Images/double.svg') no-repeat center;
}

.header-menu .toggle-item.checked .image
{
    background: url('Images/double-close.svg') no-repeat center;
}

.header-menu .image-item
{
    vertical-align: middle !important;
}

.header-menu .vertically-aligned
{
    font-size: 0;
}

/* Account */
.header-menu .account-background
{
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.1);
}

.header-menu .account-background div
{
    border-radius: 50%;
}

.header-menu .account-background .empty-image
{
    width: 16px;
    height: 16px;
    margin: 8px;
    display: inline-block;
    background: url('Images/user.svg');
}

.header-menu .account-background .account-image
{
    width: 32px;
    height: 32px;
    font-size: 0.8em;
    font-weight: 600;
    line-height: 32px;
    text-align: center;
    margin: 0 auto;
    display: table;
    background-size: 100%;
}

.user-info .avatar img
{
    float: left;
    height: 43px;
    border-radius: 50%;
}

.user-info .text-container
{
    height: 3.13rem;
    margin-left: 60px;
}

.user-info .text-container .user-name
{
    color: #444444;
    font-size: 1.14em;
}

.user-info .text-container .email
{
    display: block;
    color: #666666;
    font-size: 0.86em;
}

.myaccount-item
{
    background-color: #e4e4e4;
}

/* Left Panel */
.left-panel
{
    border: none;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
    -webkit-overflow-scrolling: touch;
}

.leftpanel-section
{
    border: none !important;
    background-color: rgba(0, 0, 0, 0.1);
}

.section-caption
{
    height: 2.69rem;
    line-height: 2.69rem;
    vertical-align: middle;
    margin: 0;
}

.section-caption
{
    border-top: solid 1px #f0f0f0;
    border-bottom: solid 1px #f0f0f0;
}

.left-panel.expand-bar,
.right-panel.expand-bar
{
    border: 0;
}

a.tree-view-node
{
    color: #666666;
    padding-top: 7px !important;
    padding-bottom: 8px !important;
    padding-right: 8px !important;
    border: none !important;
}

a.tree-view-node.hovered
{
    text-decoration: none;
}

.tree-view-elbow
{
    padding-top: 3px;
}

/* Right Panel */
.right-panel
{
    border-left: 1px solid #f0f0f0;
}

.settings-content
{
    padding: 24px 20px;
}

.settings-content h2
{
    color: #494949;
    font-size: 1.3em;
    font-weight: 600;
}

.settings-content p
{
    color: #999999;
}

/* Toolbar */
.page-toolbar-wrapper
{
    position: fixed;
    background-color: white;
    left: 272px;
    right: 0;
    z-index: 1;
}

@media(max-width: 959px) {
    .app-header .left-block .left-block-title-1 {
        font-size: 14px;
    }

    .app-header .left-block .left-block-title-2 {
        font-size: 27px;
    }

    .page-toolbar-wrapper {
        left: 0;
    }
}

@media (max-width: 1050px) {
    .content-header {
        flex-direction: column;
        text-align: center;
        height: auto;
        padding: 5px;
    }

    .content-header-right {
        margin-left: 0;
    }

    #HeaderPanel, .content-wrapper {
        top: 54px;
    }
}

    .page-toolbar {
        background-color: rgba(0, 0, 0, 0.1) !important;
        border: none !important;
        font-size: 0.93em !important;
        height: 2.69rem;
    }

        .page-toolbar .item > h1,
        .section-caption {
            color: #494949;
            font-weight: 600;
            font-style: normal;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            padding-left: 24px;
        }

        .page-toolbar .item > h1 {
            font-size: 1.46em;
        }

        .page-toolbar .item > h1 {
            margin: 0;
            padding: 0 17px;
        }

        .page-toolbar .item .dxm-disabled .dxm-image {
            opacity: 0.3;
        }

.home-content .category {
    display: flex;
    flex-direction: column;
}

.home-content .category h1 {
    text-align: center;
    border-bottom: 2px dashed #2C4294;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 20px;
}

.home-content .category:nth-child(odd) {
    background: #F3F3F3;
}

.home-content .category:nth-child(even) {
    background: #FFFFFF;
}