
/********** Layout ********************************************/

.layout {
    display:grid;
    grid-template-columns: 1fr;
    grid-template-rows: 60px 60px 1fr;
}

.layout-start {
    display:grid;
    grid-template-columns: 1fr;
    grid-template-rows: 60px 1fr;
}

.layout-body {
    display:grid;
    grid-template-columns: 300px 1fr;
}

.layout-body-scrollable {
    width: 100%;
    height: calc(100vh - 120px);
    overflow-y: scroll;
    padding: 30px;
}

.layout-2-cols {
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    width: 100%;
    padding: 30px 30px;
    max-width: 1200px;
    /* min-height: calc(100vh - 120px);
    max-height: calc(100vh - 120px); */
    margin-left: auto;
    margin-right: auto;
}

.layout-2-cols-stoerung {
    display: grid;
    grid-template-columns: 240px 1fr;
    max-width: 1024px;
    gap: 40px;
    overflow-y: scroll;
    margin-left: auto;
    margin-right: auto;
}


.sto-date-box {
    display:flex;
    flex-direction: column;
    width: 100%;
    height:fit-content;
    background: var(--primary-color);
    background: linear-gradient(45deg,var(--primary-color) 0%, rgb(89, 155, 241));
    border-radius: 10px;
    overflow: hidden;
}

.sto-date-box-head {
    width: 100%;
    text-align: center;
    font-size: 0.9em;
    background-color: var(--primary-color);
    color: rgb(175, 229, 235);
    padding: 8px;
}

.sto-date-box-text, .sto-date-box-text2 {
    width: 100%;
    text-align: center;
    font-size: 1.2em;
    font-weight: 300;
    color: white;
    padding: 12px 10px 3px 10px;
}

.sto-date-box-text2 {
    font-size: 0.9em;
    color: white;
    padding: 0px 10px 12px 10px;
}


.layout-sto-left-col {
    /* display:flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding-left: 5px; */
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
}

.sto-status-container {
    display:flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 300px;
}

.layout-single-col {
    display:flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.layout-2-cards {
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    width: 100%;
    background-color: white;
    padding: 30px 30px;
    max-width: 1200px;
    min-height: calc(100vh - 120px);
    max-height: calc(100vh - 120px);
    margin-left: auto;
    margin-right: auto;
    overflow-y: scroll;
}

.layout-1-card {
    display:grid;
    grid-template-columns: 1fr;
    gap: 30px;
    width: 100%;
    background-color: white;
    padding: 30px 30px;
    max-width: 1200px;
    min-height: calc(100vh - 120px);
    max-height: calc(100vh - 120px);
    margin-left: auto;
    margin-right: auto;
    overflow-y: scroll;
}

.layout-3-cols-container {
    padding-bottom: 30px;
    width: 100%;
    min-height: calc( 100vh - 90px);
    max-height: calc( 100vh - 90px);
    overflow-y: scroll;
}

.layout-3-cols {
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    width: 100%;
    background-color: white;
    padding: 30px 30px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    /* overflow-y: scroll; */
}

.layout-col-flex {
    display:flex;
    flex-direction: column;
    gap: 30px;
}

.layout-top {
    display:flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--page-bg-lite);
    height: 60px;
    max-height: 60px;
    padding: 0px 30px;
}

.layout-top-group {
    display:flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.top-headline,  .top-headline:visited {
    font-weight: 600;
    font-size: 1.6em;
    color: rgba(0,0,0,0.7);
    -moz-text-decoration-line: underline 1px solid var(--primary-color);
    text-decoration: underline 1px solid var(--primary-color);
    text-underline-offset: 0.15em;
}


.top-headline:hover {
    color: var(--primary-color);
}


@media only screen and (max-width: 960px) {

    .layout-body {
        grid-template-columns: 0px 1fr;
    }

    .layout-2-cols {
        display: flex;
        flex-direction: column;
    }

    .layout-body-scrollable {
        padding: 20px;
    }

    .layout-2-cols-stoerung {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .layout-sto-left-col {
        display: grid;
        grid-template-columns: 160px 1fr;
        padding-left: 0px;
    }

    .sto-date-box-text {
        padding: 11px 10px 3px 10px;
    }

    .sto-date-box-text2 {
        padding: 0px 10px 10px 10px;
    }

    .layout-1-card {
        padding: 20px 20px;
    }

    .layout-2-cards {
        display:flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px 20px;
    }

    .layout-top {
        padding: 0px 20px;
        gap: 20px;
    }

    .list-head-container {
        padding: 0px 20px;
    }
}

@media only screen and (max-width: 600px) {

     .top-headline {
        font-size: 1.2em;
    }

    .layout-1-card {
        padding: 0px;
    }
}

/***************** hamburger on a page ************************************************/

.page-hamburger {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 22px;
    opacity: 0.5;
    transform: translateY(1px);
    cursor: pointer;
    display: none;
}

.page-hamburger:hover {
    opacity: 1;
}

.page-hamburger-bar {
    width: 100;
    height: 4px;
    border-radius: 4px;
    background-color: var(--primary-color);
    margin-bottom: 4px;
    pointer-events: none;
}

.nav-hamburger {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 22px;
    cursor: pointer;
    opacity: 0.5;
    margin-right: 12px;
    transform:translateY(2px);
    display:none;
}

.nav-hamburger:hover {
    opacity: 1;
}

.nav-hamburger-bar {
    width: 100;
    height: 4px;
    border-radius: 4px;
    background-color: var(--font-color-on-dark);
    margin-bottom: 4px;
    pointer-events: none;
}

@media only screen and (max-width: 960px) {

    .page-hamburger, .im-nav-hamburger {
        display: flex;
    }
}


/******************  left side ********************************************************/

.left {
    display:flex;
    flex-direction: column;
    position: relative;
    gap: 30px;
    background-color: var(--page-bg-lite);
    height: calc(100vh - 120px);
}

.left-content {
    position: relative;
    display:flex;
    flex-direction: column;
    gap: 20px;
    background-color: var(--page-bg-lite);
    width: 300px;
    left: 0px;
    height: calc(100vh - 120px);
    z-index: 4;
}

.left-content-backdrop {
    position: absolute;
    background-color: rgba(90, 64, 114, 0.5);
    background-color: var(--primary-color);
    width: 4000px;
    height: 4000px;
    top: -500px;
    opacity: 0.25;
    z-index: 4;
}

.im-page-content-left {
    width: 100%
}

.im-page-content-left-flex {
    display:flex;
    width: 100%;
}

.im-page-nav-group {
    padding: 0px 0px 12px 0px;
    width: 100%;
}

.left-group-std {
    padding: 0px 30px 0px 30px;
}

.left-group {
    padding: 0px 30px 0px 20px;
}

.left-group-space-v {
    height: 30px;
}

.left-group-dark {
    background-color: rgba(0,0,0,0.08);
    padding: 20px 30px;
    min-height: 20px;
}

.left-group-dark-bold {
    background-color: rgba(0,0,0,0.08);
    padding: 20px 30px;
    min-height: 20px;
    font-weight: 600;
}

@media only screen and (max-width: 960px) {

    .left-content {
        position: absolute;
        left: -400px;
        z-index: 4;
        -webkit-box-shadow: 3px 15px 15px 0px rgba(0,0,0,0.2);
        -moz-box-shadow: 3px 15px 15px 0px rgba(0,0,0,0.2);
        box-shadow: 3px 15px 15px 0px rgba(0,0,0,0.2);
    }

    .left-group-std {
        padding: 0px 20px 0px 20px;
    }

    .left-group {
        padding: 0px 20px 0px 12px;
    }

    .left-group-dark {
        padding: 20px 20px;
    }
}

@media only screen and (max-width: 765px) {

    .im-page-content-left {
        width: 100%;
        height: fit-content;
    }
}


/******************  right side *******************************************************/

.right {
    position: relative;
    background-color: rgb(247, 247, 247);
    height: calc(100vh - 120px);
    padding-top: 40px;
    padding-bottom: 60px;
    width: 100%;
}

.right-gob {
    position: relative;
    background-color: rgb(247, 247, 247);
    height: calc(100vh - 30px);
    padding-top: 30px;
    width: 100%;
}

.right-gob-users, .right-list {
    position: relative;
    background-color: rgb(247, 247, 247);
    height: calc(100vh - 130px);
    padding-top: 20px;
    width: 100%;
}

.scrollable {
    overflow-y: scroll;
}

.right-content {
    padding: 0px 30px;
    height: calc(100vh - 120px - 70px);
    max-width: 960px;
    padding-bottom: 60px;
    overflow-y: scroll;
}

.right-content-users {
    padding: 0px 30px;
    height: calc(100vh - 120px - 30px);
    overflow-y: scroll;
}

.right-content-flex-v {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0px 30px;
    height: calc(100vh - 120px - 30px);
    overflow-y: scroll;
}

.im-page-content-right {
    display:flex;
}

.im-page-right-card-content {
    width: 100%;
    /* padding: 10px; */
    overflow-y: scroll;
}


@media only screen and (max-width: 960px) {

     .right-content {
        padding: 0px 20px;
    }

    .right-content-flex-v {
        padding: 0px 20px;
    }

    .right-content-stoerungen {
        padding: 0px 20px;
    }

    .im-page-right-card-content {
        height: calc( 100vh - 288px);
        height: 30vh;
        padding: 10px;
    }
}

.list-head-container {
    padding: 0px 30px;
}

.right-content-stoerungen {
    height: calc(100vh - 120px - 60px);
}


.im-list {
    display:flex;
    flex-direction: column;
}

.im-pagination {
    position:absolute;
    display:flex;
    width: 100%;
    height: 40px;
    max-height: 40px;
    background-color: rgb(247, 247, 247);
    gap: 3px;
    padding: 10px 30px 20px 30px;
    bottom: 0px;
}

@media only screen and (max-width: 1024px) {

    .im-pagination {
        padding: 10px 30px 20px 20px;
    }
}

.im-pagination-cell {
    width: 32px;
    height: 20px;
    text-align: center;
    padding: 2px 4px 3px 4px;
    background-color:rgb(217, 216, 214);
    user-select: none;
    cursor: pointer;
}

.im-pagination-cell:hover {
    background-color:var(--primary-color);
    color:white;
}

.im-pagination-cell-selected {
    background-color:var(--primary-color);
    color:white;
}


/* bre *************************************************************************************************************************************/

.im-hide {
    display:none !important;
}




/**************** right side ***********************************************/

.im-info-status {
    display:flex;
    gap: 16px;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.im-hint {
    color: black;
    padding: 6px 20px;
    width:fit-content;
}

.im-open {
    background-color: rgb(72, 148, 220);
    color: white;
}

.im-work {
    background-color: rgb(72, 148, 220);
    color: white;
}

.im-done {
    background-color: rgb(60, 165, 60);
    color: white;
}

.im-alarm {
    background-color: rgb(217, 37, 37);
    background: linear-gradient(45deg,rgb(217, 37, 37) 0%, rgb(242, 63, 129) 100%);
    color: white;
}

.im-soon {
    background-color: rgb(255, 150, 0);
    background: linear-gradient(45deg,rgb(255, 182, 99) 0%, rgb(255, 134, 20) 100%);
    color: black;
}

.im-wait {
    background-color: rgb(255, 231, 20);
    background: linear-gradient(45deg,rgb(255, 231, 20) 0%, rgb(237, 186, 17) 100%);
}

.im-neutral {
    background-color: rgb(218, 217, 217);
    background: linear-gradient(45deg,rgb(230, 230, 232) 0%, rgb(210, 210, 216) 100%);
    color: black;
}

.im-hint-important {
    background-color: rgb(110, 181, 247);
    color: white;
    padding: 6px 20px;
    width:fit-content;
}

.space15 {
    height: 15px;
}

.im-below-top {
    height: 30px;
}

.im-foot {
    height: 30px;
}




@media only screen and (max-width: 460px) {

    .im-info-status {
        flex-direction: column;
        gap: 8px;
    }

    .im-info-status div{
        width: 100%;
    }
}

/*
.im-page-content-right-topic {
   padding: 0px 0px;
}

.im-page-content-right-topic div:first-child {
   font-size: 0.9em;
} */

.card-headline-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.card-headline {
    font-size: 1.3em;
    font-weight: 600;
}

.card-headline-grey {
    font-size: 1.3em;
    font-weight: 600;
    color: rgb(90, 90, 90);
}

.card-headline-span {
    color: var(--primary-color);
}

.im-key-value-info {
    display:grid;
    grid-template-columns: 140px 1fr;
    gap: 10px;
    padding: 5px 0px
}

.im-key-value-info-separator {
    width: 100%;
    height: 12px;
    border-bottom: 1px solid var(--im-table-border-color);
    margin-bottom: 10px;
}

.form-separator {
    width: 100%;
    height: 1px;
    background-color: var(--im-table-border-color);
    margin: 24px 0px
}

.form-space {
    width: 100%;
    height: 20px;
}

.im-multi-select {
    width: 100%;
    background-color: blanchedalmond;
    border: none;
}

.im-form-building-item-container {
    display:grid;
    grid-template-columns: 1fr 24px;
    align-items: center;
    background-color: white;
    width: 100%;
    height: 34px;
    gap: 10px;
    padding: 6px 2px 5px 8px;
    margin-bottom: 10px;
}

.im-form-building-option {
    width: 100%;
    background-color: rgb(15, 186, 81);
    user-select: none;
    overflow: hidden;
    pointer-events:none
}





@media only screen and (max-width: 960px) {

    /* .im-page-right-card-content {
        height: calc( 100vh - 288px);
        height: 30vh;
        padding: 10px;
    } */

    .space15 {
        display:none;
    }

    .form-space {
        height: 10px;
    }

    .im-form-building-item-container {
        height: 28px;
        padding: 4px 2px 3px 8px;
    }
}

.innergrid {
    display:grid;
    grid-template-columns: 1fr;
    grid-template-rows: 40px 1fr;
    /* height:100%; */
}

.innergrid {
    display:flex;
    flex-direction: column;
}

/* .cell1 {
    background-color: darkgoldenrod;
    height: 40px;
}

.cell2 {
    background-color: rgb(21, 197, 123);
    overflow-y: auto;
} */


@media only screen and (max-width: 1200px) {

    .grid-content-1fr-500 {
        grid-template-columns: 1fr 400px;
    }
}

@media only screen and (max-width: 960px) {

    .grid-layout-v {
        grid-template-rows: 48px 60px 20px 1fr 20px;
    }
    .grid-content-1fr-500 {
        grid-template-columns: 1fr;
    }
    .grid-top {
        padding: 0px 20px;
    }
    .grid-content {
        gap: 30px;
        padding: 0px 20px;
    }
}







