/*mob menu*/
.mobm-handle {
    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;
}

.mobm-handle:before,
.mobm-handle:after,
.mobm-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;
}

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

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

.mob-menu-open .mobm-handle:before,
.mob-menu-open .mobm-handle:after {
    transform: rotate(45deg) translateY(2px);
}

.mob-menu-open .mobm-handle:after {
    transform: rotate(-45deg) translateY(-2px);
}

.mob-menu-open .mobm-handle span {
    display: none;
}

.mob-menu {
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.1s ease-out;
    background-color: #222;
    width: 80%;
    max-width: 425px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000000;
    box-shadow: inset 8px 0px 15px -5px #000000;
    overflow-y: auto;
    text-align: left;
    min-height: auto !important;
    height: 100vh;
    box-sizing: border-box;
    padding: 3em 0 0;
}

.mob-menu-open .mob-menu {
    visibility: visible;
    transform: translateX(0);
}

.mob-menu-open > #wrapper {
    transition: transform 0.1s ease-out;
    transform: translateX(-80%);
    transform:translateX(max(-80% , -425px));
}

.mob-menu ul,
.mob-menu ul li {
    margin: 0px;
    padding: 0px;
    list-style: none;
    display: block;
}

.mob-menu ul li a:link,
.mob-menu ul li a:visited {
    display: flex;
    border-top: 1px solid #333333;
    border-bottom: 1px solid #111111;
    color: #B7B7B7;
    padding: 8px 5px 8px 15px;
    height: 100%;
    position: relative;
    font-size: 1.1em;
}

.mob-menu li a .handle {
    display: block;
    float: right;
    width: 50px;
    font-size: 30px;
    padding: 0px;
    line-height: 1.2;
    color: #626262;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    /*[empty]position:;*/
    border-left: 1px solid #282828;
}
.mob-menu li a .handle:before{
    transform: rotate(90deg);
    display: block;
}
.mob-menu ul li ul {
    background-color: #1B1B1B;
    box-shadow: inset 0px 0px 5px #000000;
}

.mob-menu ul li ul ul {
    background-color: #151515;
    box-shadow: inset 0px 0px 5px #000000;
}

.mob-menu ul li ul a:link {
    padding-left: 30px;
    font-size: 1em;
}

.mob-menu ul li ul ul a:link {
    padding-left: 50px;
}

.mob-menu a i {
    width: 20px;
    height: 20px;
    font-size: 20px;
    line-height: 20px;
    vertical-align: middle;
    margin: 0 5px 0 0;
}

.mob-menu a i > * {
    max-width: 100%;
    max-height: 20px;
    margin: -9px 0 0;
}

.mob-menu a span {
}

/* 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) {
    .logo-overlay {
        height:var(--logo-height-small);
        line-height:var(--logo-height-small);
    }

    .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;
    }
}


/* <<< RTL fix */

body[dir="rtl"].mob-menu-open > #wrapper {
    transform: translateX(0);
    transform: translateX(0);
}

body[dir="rtl"] .mob-menu {
    direction: ltr;
}

/*  RTL fix >>> */



/**
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;
    }
}
