@media (min-width: 768px) {
    .container {
        width: 1170px;
    }

    /*#header-place-holder {*/
    /*    height: 50px;*/
    /*}*/
}

.navbar-toggle {
    margin: 5px 10px;
    padding: 7px 8px;
}

/* Base */
html {
    font-size: 16px;
}

body {
    background-color: #f5f5f5;
}

header {
    background-color: #f5f5f5;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
}

#header-place-holder {
    height: 2.6rem;
}

label {
    margin-bottom: 0 !important;
}

a {
    color: #0070cc;
}

#messageTag .badge {
    background-color: #e33e33;
}

#messageControl {
    color: #859086;
    font-size: 1.2rem;
}

#messageListMenu {
    width: 20rem;
    padding: 1rem;
}

#messageListMenu hr {
    margin-top: 10px;
    margin-bottom: 10px;
}

#messageListMenu li {
    color: #333;
    line-height: 1.8;
}

.wrapper {
    position: relative;
    z-index: 5;
}

.page-message > div {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
}

.body.container {
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius: 4px;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
    background-color: #0070cc;
}

.btn {
    border-radius: 1px;
}

.btn-diy:hover, .btn-diy:focus, .btn-diy:active {
    background-color: #33cde5;
    border-color: #33cde5;
    color: #fff;
}

.btn-diy {
    background-color: #00c1de;
    border-color: #00c1de;
    color: #fff;
}

.container-fluid {
    font-size: 16px;
}

.pagination > li > a, .pagination > li > span {
    padding: 4px 10px;
}

.pagination > li:first-child > a, .pagination > li:first-child > span {
    margin-left: 0;
    border-top-left-radius: 1px;
    border-bottom-left-radius: 1px;
}

.pagination > li:last-child > a, .pagination > li:last-child > span {
    margin-left: 0;
    border-top-right-radius: 1px;
    border-bottom-right-radius: 1px;
}

.text-success {
    color: #3eba52;
}

.text-error {
    color: #d93026;
}

.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;
    cursor: default;
    border-color: #ff6a00;
    background-color: #ff6a00;
    color: #fff;
}

.navbar {
    border-radius: 0 !important;
    margin-bottom: 0;
    border: none !important;
}

.navbar-default {
    background-color: #ffffff;
    box-shadow: 0 0 10px 0 #ededed;
}

.navbar-brand {
    padding: 0 1rem;
    height: 2.6rem;
    display: flex;
    float: left;
    font-size: 1rem;
    align-items: center;
}

.navbar {
    min-height: auto;
}

.nav > li > a {
    padding: 0 1rem;
    font-size: 0.9rem;
    height: 2.6rem;
    display: flex;
    align-items: center;
}

.form-control-select-diy, .form-control-diy {
    font-weight: normal;
    font-size: 0.9rem;
    padding: 0 4px;
    border: 1px solid #aaa;
    height: 30px;
}

.browser-warning {
    color: #ac2925;
    padding: 1rem 0;
    text-align: center;
    display: none;
}

#indexPage .problem-set-link-item-wrapper {
    float: left;
    margin-right: 1.8rem;
}

#indexPage .problem-set-link-item {
    text-align: center;
    padding: 1.3rem 2rem;
    border-radius: 0.5rem;
    border: 1px solid #999;
    margin-bottom: 1rem;
}

#indexPage .index-wrapper.large-space {
    padding: 1.4rem 0;
}

#indexPage .welcome {
    color: #CC0000;
    font-size: 1.4rem;
}

#indexPage .brand-name {
    color: cadetblue;
    font-size: 1.6rem;
}

#indexPage .brand-img-container {
    padding: 2rem 1.3rem;
}

#indexPage .brand-img {
    width: 100%;
}

#indexPage .brand-description .addition {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: .5em 0 0;
    font-size: 1rem;
    font-weight: 400;
    color: #333;
}

#indexPage .addition {
    margin: 1rem 0 !important;
}

#indexPage .MuiSelect-select.MuiSelect-select {
    padding-left: 0.5rem !important;
}

#indexPage svg.MuiSvgIcon-root {
    width: 1rem;
    height: 1rem;
}


/*problem-det start*/
#psmw {
    height: calc(100vh - 2.6rem);
}

#psmw .form-control-select-diy, #psmw .form-control-diy {
    font-weight: normal;
    padding: 0 4px;
    border: 1px solid #aaa;
    height: 30px;
}

#psmw .form-control-diy {
    min-width: 14rem;
}

#psmw .filter-input-label {
    width: 100%;
}

#psmw .pagination {
    margin: 0;
}

#psmw .pagination a {
    color: #666 !important;
}

#psmw .pagination .disabled a {
    color: #ccc !important;
}

#psmw .pagination .active a {
    color: #fff !important;
    background-color: cadetblue;
    border-color: cadetblue;
}

#psmw .pagination .active a:hover {
    color: #fff !important;
    background-color: cadetblue;
}

#psmw .problem-source {
    max-width: 12rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#psmw #leftController {
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    width: 12rem;
    background-color: #ffffff;
    padding-top: 2.6rem;
    border-right: 1px solid #ebebeb;
}

#psmw #listContentContainer {
    padding: 0.6rem 0 3rem 12rem;
    height: 100%;
}

#psmw #listPaper {
    height: 100%;
    margin: 0 1rem;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    padding: 0 1rem;
    overflow: hidden;

    display: flex;
    flex-direction: column;
}

#psmw .list-header {
    padding: 0.4rem 0;
    display: flex;
    justify-content: space-between;
}

#psmw .list-header .breadcrumb {
    background-color: transparent !important;
    padding-left: 0;
    padding-bottom: 0;
    margin: 0;
}

#psmw table {
    height: 100%;
}

#psmw table thead, #psmw tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

#psmw #listTableBody {
    display: block;
    width: 100%;
    height: calc(100vh - 11.3rem);
    overflow-y: scroll;
}

#psmw #paginationContainer {
    position: fixed;
    width: calc(100% - 12rem);
    bottom: 0;
    left: 12rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem 0.2rem 1rem;
}

#psmw #set-wrapper .link-item.main {
    line-height: 1.5rem;
    padding-right: 0.4rem;
    background-color: #f5f5f5;
    border-top: 1px solid #cacaca;
}

#psmw #set-wrapper .items-wrapper:first-child .link-item.main {
    border-top: none;
    line-height: 2rem;
    font-size: 1rem;
}

#psmw #set-wrapper .link-item a {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0 0.4rem 1rem;
}

#psmw #set-wrapper .link-item a i {
    background-color: #cbcbcb;
    border-radius: 5px;
    color: #333;
    width: 2rem;
    height: 1.2rem;
    padding: 0;
    text-align: center;
}

#psmw #set-wrapper .link-item.sub {
    border-top: 1px solid #dadada;
}

#psmw #set-wrapper .link-item.sub:first-child {
    border-top: none;
}

#psmw #set-wrapper a:link {
    text-decoration: none;
}

#psmw #set-wrapper a:visited {
    text-decoration: none;
}

#psmw #set-wrapper a:hover {
    text-decoration: none;
}

#psmw #set-wrapper a:active {
    text-decoration: none;
}

#psmw #set-wrapper .link-item.active a {
    color: #ff6a00;
}

#psmw #set-wrapper .link-item.active a i {
    color: #ff6a00;
}

#psmw #set-wrapper .sub-items-wrapper .link-item {
    margin-left: 2rem;
}

#psmw #set-wrapper .sub-items-wrapper.tight {
    display: none;
}

#psmw #applyFilter {
    line-height: 16px;
}