

/*mob menu*/
.menu-handle {
    box-sizing:content-box;
    width: 25px;
    height: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
    position: relative;
    margin: 0 0 0 10px;
    cursor: pointer;
    border-radius: 5px;
    border-left: 0;
    border-right: 0;
    background: var(--color-mobmenu-bg);
    padding: 5px 10px;
}

.menu-handle:before,
.menu-handle:after,
.menu-handle span {
    content: " ";
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color-mobmenu);
    /*+border-radius: 5px;*/
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
    transform: translateY(-4px);
    transform-origin: center;
    transition: all 0.6s ease-in-out;
    border-radius: 2px;
}

.menu-handle span {
    transform: translateY(0);
}

.menu-handle:after {
    transform: translateY(4px);
}

/* responsive content width jumps*/
@media (max-width: 1250px) {
    :root {
        --content-width:980px;
    }
}

@media (max-width: 1080px) {
    :root {
        --content-width:840px;
    }
}

/*tablet*/
@media (max-width: 1024px) {
    .stage {
        width: auto;
    }

    .stage .body table,
    .stage .body .columns table {
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .stage .stage-0,
    .stage .stage-1 {
        float: none;
        width: auto;
        border-left: none;
        border-right: none;
    }

    .stage .stage-0 > .body,
    .stage .stage-1 > .body {
        width: auto;
    }

    .stage .stage-0 > .body {
        width: auto;
        margin-left: 0;
        margin-right: 0;
    }

    .layout-B .stage-1 > .body {
        margin: 0;
    }

    .stage .body table,
    .stage .body img {
        max-width: 100%;
    }
}

/*phone*/
@media (max-width: 576px) {
    #top .logo {
        display: none;
    }

    .app-login-box .app-displayname {
        font-size: 0.65em;
    }

    .app-login-box .btn-logout a span {
        display: none;
    }

    .layout-C .stage-1 .body,
    .layout-D .stage-1 .body {
        margin: 2em 0 0;
    }

    .main-menu nav {
        display: none;
    }

    .form-custom .input-element {
        width: 100% !important;
    }

    input[type=text],
    input[type=password],
    select,
    textarea {
        width: 100%;
    }

    input,
    textarea,
    select {
        max-width: 100%;
    }

    /*layouts*/
    ul.sub-page-list > li.box {
        width: auto;
        float: none;
        margin: 5px 0 1em 0;
    }

    ul.sub-page-list > li.box-spot {
        width: auto;
        float: none;
        margin: 5px 0 1em 0;
    }

    ul.sub-page-list > li.box-large {
        width: auto;
        float: none;
        margin: 1px 0;
    }

    .notifierBox {
        max-width: 100%;
        width: 100%;
        min-width: 0;
    }

    ul.sub-page-list > li.box-large i {
        float: none;
    }

    li.box-large h3,
    ul.sub-page-list > li.box-large:hover h3 {
        font-size: 1em;
        position: static !important;
        margin: 0px 0px 0.9em 0px !important;
        padding: 10px 0 !important;
        width: 100%;
        height: auto;
        background-color: #C7C7C7 !important;
        color: #000000 !important;
        text-shadow: none !important;
    }

    .page_navi {
        border-top: 3px solid #D2D2D2;
        padding: 1em 0 0;
        margin: 0 -9px;
    }
}

/**
Device visibility
 {"def": 1920, "lg": 1366, "md": 1024, "sm": 576},
**/
@media (min-width: 1025px) {
    .visible-tablet,
    .visible-phone {
        display: none !important;
    }

    .hidden-desktop {
        display: none !important;
    }
}

@media (max-width: 1024px) and (min-width: 577px) {
    .visible-desktop,
    .visible-phone {
        display: none !important;
    }

    .hidden-tablet {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .visible-desktop,
    .visible-tablet {
        display: none !important;
    }

    .hidden-phone {
        display: none !important;
    }
}
