html, body {
    background-color: #f5f5f5;
    /*overflow-y:hidden;*/
}

h1,
h2,
h3 {
    color: #212529;
    font-size: 14px;
    padding: 10px;
    margin-top: 0px;
    background-color: rgba(0, 0, 0, .075);
    margin-bottom: 0px;
}

.imgRefresh {
    background-image: url(../App_Resources/refresh_v2.png);
    width: 28px;
    height: 28px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    margin-block: -6px;
}

.brdr {
    border-bottom: 1px solid lightgrey;
    height: 40px;
}

.main-container {
    /*padding: 20px;*/
    margin-top: 38px !important;
    display: grid;
    box-sizing: border-box;
    /*background: #F5F5F5;*/
    font-size: 12px;
    font-family: Verdana, Helvetica, sans-serif, Montserrat !important;
    font-weight: normal;
    letter-spacing: normal;
    text-transform: none;
    word-spacing: normal;
    margin: 0px auto;
    button-width: 99%;
    float: left;
    padding-bottom: 20px !important;
    /*overflow-y:hidden;*/
}

.container1 {
    display: grid;
    grid-template-columns: 12fr 18fr 10fr;
    /*grid-template-rows: 1fr 1fr;*/
    grid-template-areas: " div1 div2 div3 "" div1 div2 div4 ";
    width: 100%;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    margin-bottom: 20px;
}

.container {
    /*display: flex;*/
    display: grid;
    grid-template-columns: 85% 15%;
    grid-template-areas: " divReport divMI ";
    width: 100%;
    grid-column-gap: 20px;
}

.container2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: " divSystem divUser ";
    width: 100%;
    grid-column-gap: 20px;
    margin-bottom: 20px;
}

.container3 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: " DeadlockTable ";
    width: 100%;
    margin-bottom: 20px;
}

.container4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: " RFQTrend FragmentationTable  ";
    width: 100%;
    grid-column-gap: 20px;
    margin-bottom: 20px;
}

.container5 {
    display: grid;
    /*grid-template-columns: 1fr 2fr 1fr;*/
    grid-template-columns: 0.6fr 2fr 1.2fr;
    grid-template-areas: " OrphanTable Granularity_Table ActiveSessionsTable ";
    width: 100%;
    grid-column-gap: 20px;
    margin-bottom: 20px;
}


.RFQTrend {
    grid-area: RFQTrend;
    padding: 10px;
    background-color: #f5f5f5;
    box-shadow: 7px 7px 10px #e6e6e6, -5px -5px 20px #ffffff;
    border-radius: 1.5rem;
}

/*Empty {
                    position: relative;
                    grid-area: Empty;
                    padding: 10px;
                    background-color: #f5f5f5;
                    box-shadow: 7px 7px 10px #e6e6e6, -5px -5px 20px #ffffff;
                    border-radius: 1.5rem;
        }*/


.Granularity_Table {
    grid-area: Granularity_Table;
    padding: 10px;
    background-color: #f5f5f5;
    box-shadow: 7px 7px 10px #e6e6e6, -5px -5px 20px #ffffff;
    border-radius: 1.5rem;
    position: relative;
}

.OrphanTable {
    grid-area: OrphanTable;
    padding: 10px;
    background-color: #f5f5f5;
    box-shadow: 7px 7px 10px #e6e6e6, -5px -5px 20px #ffffff;
    border-radius: 1.5rem;
    position: relative;
}

.DeadlockTable {
    grid-area: DeadlockTable;
    padding: 10px;
    background-color: #f5f5f5;
    box-shadow: 7px 7px 10px #e6e6e6, -5px -5px 20px #ffffff;
    border-radius: 1.5rem;
    position: relative;
}

.WaitStatisticsTable {
    position: relative;
    grid-area: WaitStatisticsTable;
    padding: 10px;
    background-color: #f5f5f5;
    box-shadow: 7px 7px 10px #e6e6e6, -5px -5px 20px #ffffff;
    border-radius: 1.5rem;
    max-width: 47vw;
}

.SQTable {
    position: relative;
    grid-area: SQTable;
    padding: 10px;
    background-color: #f5f5f5;
    box-shadow: 7px 7px 10px #e6e6e6, -5px -5px 20px #ffffff;
    border-radius: 1.5rem;
}

.FragmentationTable {
    position: relative;
    grid-area: FragmentationTable;
    padding: 10px;
    background-color: #f5f5f5;
    box-shadow: 7px 7px 10px #e6e6e6, -5px -5px 20px #ffffff;
    border-radius: 1.5rem;
}

.ActiveSessionsTable {
    grid-area: ActiveSessionsTable;
    padding: 10px;
    background-color: #f5f5f5;
    box-shadow: 7px 7px 10px #e6e6e6, -5px -5px 20px #ffffff;
    border-radius: 1.5rem;
    position: relative;
}

.div1 {
    grid-area: div1;
    background-color: #f5f5f5;
    box-shadow: 7px 7px 10px #e6e6e6, -5px -5px 20px #ffffff;
    border-radius: 1.5rem;
    padding: 10px;
}

.div2 {
    grid-area: div2;
    background-color: #f5f5f5;
    box-shadow: 7px 7px 10px #e6e6e6, -5px -5px 20px #ffffff;
    border-radius: 1.5rem;
    padding: 10px;
}

.div3 {
    grid-area: div3;
    background-color: #f5f5f5;
    box-shadow: 7px 7px 10px #e6e6e6, -5px -5px 20px #ffffff;
    border-radius: 1.5rem;
    padding: 10px;
}

.div4 {
    /*grid-area: div4;
                    background-color: #f5f5f5;
                    box-shadow: 7px 7px 10px #e6e6e6, -5px -5px 20px #ffffff;
                    border-radius: 1.5rem;
                    padding: 10px;*/
    grid-area: div4;
    grid-template-areas: " div41 div42 ";
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}


.div41 {
    grid-area: div41;
    background-color: #f5f5f5;
    box-shadow: 7px 7px 10px #e6e6e6, -5px -5px 20px #ffffff;
    border-radius: 1.5rem;
    padding: 10px;
}

.div42 {
    grid-area: div42;
    background-color: #f5f5f5;
    box-shadow: 7px 7px 10px #e6e6e6, -5px -5px 20px #ffffff;
    border-radius: 1.5rem;
    padding: 10px;
}


.div21 {
    display: grid;
    background-color: #f5f5f5;
    border: none;
}

.divReport {
    grid-area: divReport;
    background-color: #f5f5f5;
    box-shadow: 7px 7px 10px #e6e6e6, -5px -5px 20px #ffffff;
    border-radius: 1.5rem;
    padding: 6px;
    border: 1px grey;
}

.divMI {
    grid-area: divMI;
    background-color: #f5f5f5;
    box-shadow: 7px 7px 10px #e6e6e6, -5px -5px 20px #ffffff;
    border-radius: 1.5rem;
    padding: 8px;
}


.filepathtextbox {
    padding-bottom: 10px;
}

#OrphanTable {
    border-collapse: collapse;
    width: 100%;
    /*height: 40%;*/
    text-align: center;
    padding: 10px;
    color: #4D4c4b;
    margin-bottom: 0;
}

#DeadlockTable, #waitStatistics, #SQTable, #FragmentationTable, #OrphanTable, #Granularity_Table, #ActiveSessionsTable {
    border-collapse: collapse;
    width: 100% !important;
    /*height: 40%;*/
    text-align: center;
    padding: 10px;
    color: #4D4c4b !important;
    margin-bottom: 0;
    display: block;
    overflow-x: auto !important;
    white-space: nowrap;
    /*width: fit-content;*/
    /*height: 100%;*/
}

#lblError {
    color: #2e8db3;
    font-size: 12px;
}

.instr {
    color: #757371;
    font-size: 12px;
    margin-bottom: 0px;
}

#table {
    display: block;
}

#SQTable td,
#SQTable th {
    vertical-align: middle;
    padding: 0.5rem;
    border-top: 1px solid #dee2e6;
    text-align: left;
    width: 12%;
}

#SQTable th {
    font-weight: 700;
    font-size: 14px;
    color: #212529;
    text-align: center !important;
}

#SQTable thead th {
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, .2)
}

#SQTable tfoot th {
    border-top-color: rgba(255, 255, 255, .2)
}

#SQTable {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}

#OrphanTable td,
#OrphanTable th {
    vertical-align: middle;
    padding: 0.5rem;
    border-top: 1px solid #dee2e6;
    text-align: left;
}

#OrphanTable th {
    font-weight: 700;
    font-size: 14px;
    color: #212529;
    text-align: center !important;
}

#OrphanTable thead th {
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, .2)
}

#OrphanTable tfoot th {
    border-top-color: rgba(255, 255, 255, .2)
}

#OrphanTable {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}

#DeadlockTable td,
#DeadlockTable th {
    vertical-align: middle;
    padding: 0.5rem;
    border-top: 1px solid #dee2e6;
    text-align: left;
    width: 12%;
}

#DeadlockTable th {
    font-weight: 700;
    font-size: 14px;
    color: #212529;
    text-align: center !important;
}

#DeadlockTable thead th {
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, .2)
}

#DeadlockTable tfoot th {
    border-top-color: rgba(255, 255, 255, .2)
}

#DeadlockTable {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}



#waitStatistics td,
#waitStatistics th {
    vertical-align: middle;
    padding: 0.5rem;
    border-top: 1px solid #dee2e6;
    text-align: left;
    width: 15%;
}

#waitStatistics th {
    font-weight: 700;
    font-size: 14px;
    color: #212529;
    text-align: center !important;
}

#waitStatistics thead th {
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, .2)
}

#waitStatistics tfoot th {
    border-top-color: rgba(255, 255, 255, .2)
}

#waitStatistics {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}


#FragmentationTable td,
#FragmentationTable th {
    vertical-align: middle;
    padding: 0.5rem;
    border-top: 1px solid #dee2e6;
    text-align: left;
    width: 25%;
}

#FragmentationTable th {
    font-weight: 700;
    font-size: 14px;
    color: #212529;
    text-align: center !important;
}

#FragmentationTable thead th {
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, .2)
}

#FragmentationTable tfoot th {
    border-top-color: rgba(255, 255, 255, .2)
}

#FragmentationTable {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}


#Granularity_Table td,
#Granularity_Table th {
    vertical-align: middle;
    padding: 0.5rem;
    border-top: 1px solid #dee2e6;
    text-align: left;
    width: 25%;
}

#Granularity_Table th {
    font-weight: 700;
    font-size: 14px;
    color: #212529;
    text-align: center !important;
}

#Granularity_Table thead th {
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, .2)
}

#Granularity_Table tfoot th {
    border-top-color: rgba(255, 255, 255, .2)
}

#Granularity_Table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}


#ActiveSessionsTable td,
#ActiveSessionsTable th {
    vertical-align: middle;
    padding: 0.5rem;
    border-top: 1px solid #dee2e6;
    text-align: left;
}

#ActiveSessionsTable th {
    font-weight: 700;
    font-size: 14px;
    color: #212529;
    text-align: center !important;
}

#ActiveSessionsTable thead th {
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, .2)
}

#ActiveSessionsTable tfoot th {
    border-top-color: rgba(255, 255, 255, .2)
}

#ActiveSessionsTable {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}

.copyimg {
    width: 15px;
    height: 15px;
}


canvas#DBLatencyChart {
    width: 100%;
    height: 63% !important;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 20px;
}

.activeSessions {
    font-size: 70px;
    padding-top: 15px;
    margin: 0;
}

#deadlockMsg,
#orphanMsg {
    font-size: 14px;
    text-align: center;
    padding-top: 20px;
    /*padding-left:60px;*/
}

.tooltip {
    position: relative;
    display: inline-block;
}

    .tooltip .tooltiptext {
        visibility: hidden;
        width: 190px;
        background-color: rgba(0, 0, 0, 0.9);
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 5px;
        /* Position the tooltip */
        position: absolute;
        z-index: 1;
        top: 100%;
        left: 50%;
        margin-left: -60px;
    }

    .tooltip:hover .tooltiptext {
        visibility: visible;
    }

.tooltiptext tr th:nth-child(1) {
    width: 140px;
}

.tooltiptext tr th:nth-child(2) {
    width: 50px;
}

#snackbar, #snackbarBlank, #snackbarLogoutMail, #snackbarLogoutUsers, #snackbarLAU_no {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
}

#error, #snackbarReport, #snackbarMail {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 88%;
    bottom: 80%;
    font-size: 17px;
}

    #snackbar.show, #snackbarBlank.show, #snackbarReport.show, #error.show, #snackbarMail.show, #snackbarLogoutMail.show, #snackbarLogoutUsers.show, #snackbarLAU_no.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }


#fragInstr,
#loginInstr,
#dbavailInstr {
    display: none;
}

.dbAvailClass {
    height: 88px;
    width: 88px;
    margin-top: 15px;
}

    .dbAvailClass:hover {
        box-shadow: 0px 0px 5px #ccc;
        border-radius: 100px;
    }

.button {
    background-color: #4CAF50;
    /* Green */
    border: none;
    color: white;
    padding: 6px 13px;
    text-align: center;
    text-decoration: none !important;
    display: inline-block;
    font-size: 12px;
    margin: 4px 2px;
    cursor: pointer;
}

.durationText {
    background-color: white;
    color: black;
    border: 2px solid #B8B8B8;
    border-radius: .5rem;
    width: max-content;
    font-size: 12px;
    width: 70px !important;
    text-align: right;
}

#type, #scale-type {
    background-color: white;
    color: black;
    padding: 6px 13px;
    text-align: center;
    text-decoration: none !important;
    display: inline-block;
    font-size: 12px;
    margin: 4px 2px;
    border: 2px solid #B8B8B8;
    border-radius: .5rem;
    width: max-content;
}

.button1 {
    background-color: white;
    color: black;
    border: 2px solid #B8B8B8;
    border-radius: .5rem;
    width: max-content;
}

    .button1 a {
        color: black;
    }

    .button1:hover {
        border: 2px solid #888888;
    }

#SQdemoStart,
#SQdemoStop,
#RFQDate,
#DLdemoStart,
#DLdemoStop,
#WSDemoStart,
#WSDemoStop,
#ReportStart,
#Reportstop,
#Recepients,
#txtLogout {
    border: 2px solid #B8B8B8 !important;
    border-radius: .5rem;
    padding: 6px 12px !important;
    font-size: 12px;
    margin: 4px 2px;
}

#list1, #list2, #list3, #list5, #list {
    position: absolute;
    bottom: 0px;
}

table {
    word-wrap: break-word;
    /*table-layout: fixed;*/
}

#DeadlockTable tr th:nth-child(1) {
    width: 150px;
}

#DeadlockTable tr th:nth-child(2) {
    white-space: pre-wrap;
    width: 240px;
}

#DeadlockTable tr th:nth-child(3) {
    white-space: pre-wrap;
    width: 55px;
}

#DeadlockTable tr th:nth-child(4) {
    width: 55px;
}

#DeadlockTable tr th:nth-child(5) {
    width: 170px;
}

#DeadlockTable tr th:nth-child(6) {
    width: 150px;
}

#DeadlockTable tr th:nth-child(7) {
    white-space: pre-wrap;
    width: 150px;
}

#DeadlockTable tr th:nth-child(8) {
    width: 180px;
}

#DeadlockTable tr th:nth-child(9) {
    width: 180px;
}

#DeadlockTable tr th:nth-child(10) {
    width: 300px;
}

#DeadlockTable tr th:nth-child(11) {
    width: 140px;
}

#DeadlockTable tr th:nth-child(12) {
    white-space: pre-wrap;
    width: 140px;
}

#DeadlockTable tr th:nth-child(13) {
    white-space: pre-wrap;
    width: 140px;
}

#DeadlockTable tr th:nth-child(14) {
    white-space: pre-wrap;
    width: 140px;
}

#DeadlockTable tr th:nth-child(15) {
    width: 140px;
}



#waitStatistics tr th:nth-child(1) {
    white-space: pre-wrap;
    width: 190px;
}

#waitStatistics tr th:nth-child(2) {
    width: 100px;
}

#waitStatistics tr th:nth-child(3) {
    white-space: pre-wrap;
    width: 100px;
}

#waitStatistics tr th:nth-child(4) {
    white-space: pre-wrap;
    width: 80px;
}

#waitStatistics tr th:nth-child(5) {
    white-space: pre-wrap;
    width: 160px;
}

#waitStatistics tr th:nth-child(6) {
    width: 100px;
}

#waitStatistics tr th:nth-child(7) {
    width: 290px;
}




#SQTable tr th:nth-child(1) {
    width: 150px;
}

#SQTable tr th:nth-child(2) {
    white-space: pre-wrap;
    width: 80px;
}

#SQTable tr th:nth-child(3) {
    white-space: pre-wrap;
    width: 80px;
}

#SQTable tr th:nth-child(4) {
    white-space: pre-wrap;
    width: 120px;
}

#SQTable tr th:nth-child(5) {
    white-space: pre-wrap;
    width: 120px;
}

#SQTable tr th:nth-child(6) {
    width: 250px;
}

#SQTable tr th:nth-child(7) {
    white-space: pre-wrap;
    width: 200px;
}


#SQTable tr th:nth-child(8) {
    width: 400px;
}

#SQTable tr th:nth-child(9) {
    width: 25px;
}


#Granularity_Table tr th:nth-child(1) {
    white-space: pre-wrap;
    width: 20px;
}

#Granularity_Table tr th:nth-child(2) {
    width: 60px;
}

#Granularity_Table tr th:nth-child(3) {
    /*width: 130px;*/
    width: 100%;
}


#OrphanTable tr th:nth-child(1) {
    white-space: pre-wrap;
    width: 30px;
}

#OrphanTable tr th:nth-child(2) {
    /*width: 30px;*/
    width: 100%;
}

#OrphanTable tr th:nth-child(3) {
    width: 30px;
}






#FragmentationTable tr th:nth-child(1) {
    white-space: pre-wrap;
    width: 160px;
}

#FragmentationTable tr th:nth-child(2) {
    white-space: pre-wrap;
    width: 200px;
}

#FragmentationTable tr th:nth-child(3) {
    white-space: pre-wrap;
    width: 290px;
}

#FragmentationTable tr th:nth-child(4) {
    white-space: pre-wrap;
    width: 290px;
}

#FragmentationTable tr th:nth-child(5) {
    white-space: pre-wrap;
    /*width: 170px;*/
    width: 0%;
}


#ActiveSessionsTable tr th:nth-child(1) {
    /*width: 120px;*/
    width: 1%;
    white-space: pre-wrap;
}

#ActiveSessionsTable tr th:nth-child(2) {
    /*width: 120px;*/
    width: 60%;
    white-space: pre-wrap;
}

#ActiveSessionsTable tr th:nth-child(3) {
    width: 200px;
    white-space: pre-wrap;
}







.tooltip1 {
    display: none;
    position: absolute;
    outline: none;
    /*z-index: 100;*/
    border: 1px;
    background-color: white;
    border: 0.5px solid grey;
    padding: 3px;
    color: black;
    /*top: 20px;*/
    /*left: 20px;*/
    width: 300px;
    text-align: center;
    white-space: normal;
    z-index: 1;
    bottom: 100%;
    left: 25%;
    margin-left: -60px;
}

.parentCell:hover span.tooltip1 {
    display: block;
}

.parentCell {
    position: relative;
}

#H1Report, #H1MI {
    margin-top: 0px;
    margin-left: 5px;
}
/*#ctl00_MainContent_UpdatePanelMain{
            max-width:2200px;
        }*/
#WaitStatisticsChart {
    height: 400px !important;
    width: -webkit-fill-available !important;
}

#DBWiseCPUChart {
    width: -webkit-fill-available !important;
    max-height: 200px;
}

#RFQTrend, #ActiveSessionsTable, #Granularity_Table {
    width: -webkit-fill-available !important;
}
