body,
html,
app {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    height: 100%;
    background: #f0f2f5;
}

body {
    overflow-y: scroll;
    /* background-image: url("/bg.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; */
}

.app {
    min-height: 100vh;
    height: 100%;
}

.pageLayout {
    min-height: 100vh !important;
}
.contentWrapper {
    min-height: calc(100vh - 114px);
}

.userMenu {
    max-height: calc(100vh - 340px);
    overflow-y: scroll;
}

/* ANT */

.ant-list-item-meta-description {
    color: black !important;
}

.ant-layout-content {
    min-height: 100% !important;
}

.ant-modal-title {
    font-weight: 600 !important;
    font-size: 24px !important;
    line-height: 1.35 !important;
}

.ant-menu-horizontal {
    border-bottom: 0px solid #fff !important;
}

th.ant-table-cell {
    white-space: nowrap;
}

.checkboxLabel .ant-form-item-row {
    flex-direction: row-reverse !important;
    justify-content: start;
}
.checkboxLabel .ant-form-item-row .ant-form-item-label {
    line-height: 2 !important;
}

.checkboxLabel .ant-form-item-row .ant-form-item-control {
    flex-grow: 0 !important;
    width: 32px !important;
}

.item-required::before {
    display: inline-block;
    margin-right: 4px;
    color: #ff4d4f;
    font-size: 14px;
    font-family: SimSun, sans-serif;
    line-height: 1;
    content: "*";
}

.sortButton {
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

/* .mainMenu {
    color: #001529 !important;
    background: #fff !important;
}
.ant-menu-item{
    background: #00B0B9 !important;
    margin-bottom: 0 !important;
}
.ant-menu-sub{
    background: #1b888f !important;
}
.ant-menu-item:hover{
    background: #36DDDD !important;
} */

/* mobile version */

.mobileMenu-show {
    display: none;
}

#mobile {
    display: none;
}

@media (max-width: 640px) {
    .ant-table-wrapper {
        overflow: scroll;
    }
    #mobile {
        display: block;
    }
    .mobileMenu-show {
        display: block;
    }
    .mainMenu {
        display: none !important;
    }
    #main {
        flex-direction: column !important;
        margin-top: 120px !important;
    }
    #main > .ant-layout {
        width: 100%;
        padding: 0 !important;
    }
    .ant-form .ant-col {
        flex: 1 1 100% !important;
    }
    .ant-layout-sider {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    h2 {
        font-size: 1.2em;
    }
    .ant-list-header > div {
        flex-direction: column !important;
    }
    .listFilter .ant-space {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .listFilter .ant-space .ant-space-item {
        width: 100%;
    }
    .ant-layout-header {
        padding: 0 10px !important;
        justify-content: space-between;
    }
    .mainMenu-wrap {
        display: flex;
        align-items: center;
    }
    .ant-divider {
        white-space: initial !important;
    }
}
@media (min-width: 641px) {
    .mainMenu-wrap {
        display: flex;
        flex-direction: column;
        width: 100%;
        justify-content: space-between;
    }

    .userMenu-wrap {
        /* z-1 fixed w-200px */
        z-index: 1;
        position: fixed;
        width: 200px;
    }
}

.mobile {
    position: relative;
}
.mobileMenu {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: #fff;
    z-index: 1000;
    overflow-y: scroll;
}
.mobileMenu-scroll {
    background-color: #fff;
}
.mobileMenuTitle {
    font-weight: bold;
    margin-top: 5px;
}

.mobileMenu ul {
    list-style: none;
    padding-left: 5px;
}

.mobileMenu ul li {
    list-style: none;
    padding-left: 5px;
}

.mobileMenu-close {
    position: fixed;
    top: 10px;
    right: 10px;
    font-size: 30px;
    border: 0;
    background-color: transparent;
}

.mobileMenu-show {
    border: 0;
    background-color: transparent;
    font-size: 30px;
    width: 50px;
}

/* .reportTable table {
    border: 1px solid #000;
    border-collapse: collapse;
    vertical-align: top;
}

.reportTable table .head{
    font-weight: bold;
}

.reportTable table td{
    border: 1px solid #000;
    padding: 8px;
    vertical-align: top;
} */

.reportTable table {
    border: 1px solid #000;
    border-collapse: collapse;
    vertical-align: top;
}
.reportTable table td {
    border: solid 1px #000;
    padding: 5px 10px;
    vertical-align: center;
}

.reportTable table td.empty {
    border: none;
    min-height: 40px;
}

.reportTable table td.bold {
    font-weight: bold;
}
.reportTable table td.head {
    font-weight: bold;
}
.totalTable {
    border-collapse: collapse;
    border: 1px solid;
}

.totalTable td,
.totalTable th {
    padding: 5px;
    border: 1px solid;
}
.totalTable tr.total {
    background-color: rgb(206 206 255);
}

.totalTable tr.UAPTotal, .totalTable tr.UmpireTotal {
    background-color: rgba(206,206,255, 0.5);
}

.totalTable .grand {
    text-align: center;
}


.ant-form-item-explain-error {
    white-space: nowrap !important;
}
.gdpr-modal .ant-modal-header, .gdpr-modal .ant-modal-footer{
    margin:0 !important;
    padding:0 !important;
}
.gdpr-modal .ant-modal-close-x {
    color: white !important;
}