﻿/************** ALL ***************/
table.responsive{
    border-collapse: collapse;  
    overflow-x: auto;
    overflow-y: hidden;
}
.table-scroll {

	position: relative;
	overflow: hidden;
}
.table-scroll.medium {
    max-width: 1200px;
}
.table-wrap {
	width: 100%;
	overflow-x: auto;
    overflow-y: hidden;
}
.clone {
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
}
.clone th, .clone td {
	visibility: hidden
}
.clone .persist{
	background: #fff;
	visibility: visible;
}
.lastPersistTd {
    /*-webkit-box-shadow: 5px 4px 4px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 5px 4px 4px rgba(0, 0, 0, 0.4);
    box-shadow: 5px 4px 4px rgba(0, 0, 0, 0.4);*/
    border-right-style: solid;
    border-right-width: 1px;
    border-right-color: #dadada;
    /*padding-right: 20px;*/
}
.noBorderLastPersist{
    border-right-width: 0px;
}
.lastPersistTd + td{
    padding-left: 20px;
}

.hideWideScreen1{
    visibility:hidden;
    display: none;
}

/* break 600 */
.fitNoWrap_responsiveBreak1 {
    width: 1px;
    white-space: nowrap;
}


/************** BIG RESPONSIVE ***************/
@media only screen and (max-width : 1650px) {
    .master-menu-list.wideWideMenu {
        text-align: center;
    }
}
@media only screen and (max-width : 1550px) {
    #footerLogo.loginWindow{
        display:none;
    }
}
/************** TABLETS ***************/
/* TABLET LANDSCAPE */
@media only screen and (max-width : 1160px) {
    #footerLogo{
        display:none;
    }

    .divLeftSide0 {
        display: block;
        padding-right: 0px;
        width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    .divRightSide0 {
        display: block;
        width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    .divRightSide3 {
        padding-top:10px;
        display: block;
    }
    .stamdataLabel1{
        min-width: 225px;
    }

    table caption{
        max-width: 75vw;
    }
}

@media only screen and (max-width : 950px) {
    .main-content{
        min-height: calc(100vh - 358px); /* -(main-header+menuList+main-footer) */ 
        margin-bottom: 20px;
    }
}

/* TABLET PORTRAINT*/
@media only screen and (max-width : 768px) {

    .subpages-body{
        padding: 25px 5px 30px 5px;
    }

    #menuList li{
        margin-left: 0px;
        margin-right: 0px;
        padding-left: 0px;
        padding-right: 0px;
    }

    #logincontent{
        position: relative;
        margin-bottom: 20px;
    }

    #footerAddress li{
        /*width: 40%;*/
        padding: 5px;
    }
    .main-content{
        padding-bottom: 0px;
    }

    #footerAddress span{
        display:block;
        overflow-wrap: normal;
    }

    .main-content {
        margin-bottom: 20px;
    }

    #logincontent{
        background-image: none;
        width: 100%;
        height: 100%;
    }
    #innerLoginContent {
        max-width: 100%;
        height: 100%;
        margin: 5%;
        margin-bottom: 10%;
        box-shadow: 3px 6px 10px rgba(0, 0, 0, 0.3);
    }
    #tabletLoginImg {
        width: 100%;        
        margin-left: auto;
        margin-right: auto;
        /*display:block;*/
    }

    .hideWideScreen1{
        visibility: visible;
        display:initial;
    }
    .tabletHide,
    #innerLoginContent > .tabletHide:first-of-type{
        visibility: hidden;
        height: 0px;
        margin: 0px;
        padding: 0px;
    }

    .loginFieldset{
        max-width: initial;
    }
    .lblSystem {
        margin-top: 30px;
        display: block;
    }

    #innerLoginContent{
        transform: none;
        position: relative;
        top: 0px;
        left: 0px;
    }

    .liDibs{
        /*width: 100% !important;*/
        text-align: center;
        float: none;
    }

}

@media only screen and (max-width : 600px) {
    .stamdataLabel1{
        min-width: 160px;
        max-width: 160px;
    }

    .fitNoWrap_responsiveBreak1 {
        width: 1px;
        white-space: normal;
    }
}

/************** MOBILE PHONES ***************/
/* MOBILE LANDSCAPE */
@media only screen and (max-width : 480px) {

    #switch_HR_BET div.outer_admin_menu_item{
        background: transparent;
    }
    #switch_HR_BET a.content-menu-new-item-active, 
    #switch_HR_BET a.content-submenu-new-item-active .content-menu-new-item-active, 
    .content-submenu-new-item-active{
        background-color: white;
        color: #112d4e;
    }

    #outer_HR_BET{
        width: 100%;
        position: relative;
    }
    #switch_HR_BET{
        float: none; 
        width: 100%;
    }
    #switch_HR_BET > div{
        display: inline-block;
    }
    #organisationSelector{
        position: relative;
        vertical-align: top;
        float: right;
        margin-right: 10px;
    }
    #organisationList {
        position: absolute;
        /*z-index: 10;*/
        right: 5px;
        margin-top: 57px;
    }
    .main-header{
        margin:0px;
    }
    #masterMenuItemLoginUser {
        height: 25%;
        width: 25%;
        padding-top: 3%;
        padding-right: 3%;
    }
    #logoPath{
        width: 65%;
        height: 65%;
    }
    #masterMenuItemLoginUser_Text{
        display:none;
    }

    #organisationPanel::after {
        content: "";
        border-width: 10px;
        border-style: solid;
        border-color: transparent transparent #eaeaea transparent;
        margin-left: 10px;
        position: absolute;
        margin-top: 38px;
        filter: drop-shadow(0px -3px 2px rgba(0, 0, 0, 0.2));
    }

    #masterContentContainer,
    #masterContentContainer.noPanel{
        margin: 0px;
    }
    .main-content{
        position: relative;
        top: 0px;
    }
    
    #master-footer > div{
        height: auto;
    }
    .main-footer{
        margin-left: 0px;
    }
    .main-footer div img{
        display: block;
    }
    #footerAddress ul {
        padding-left: 10px;
    }

    #menuList .hamburgerMenu {
        visibility:visible;
        margin: 15px;
        padding-left: 10px;
        padding-right: 10px;
        display:block;
        float:none;
        display: block;
    }
    #menuList .hamburgerMenu a{
        float: right;
    }
    #menuList li {
        margin-top: 0px;
        margin-bottom: 1px;
    }
    #menuList li.master-menu-item-active a{
        height: auto;
    }


    #menuList .hamburgerMenu{
	    margin: 0px;
	    padding-top: 10px;
	    padding-right: 30px;
    }
    .master-menu-list{
        background-color: white;
    }
    .content-menu-new.submenu{
        background-color: white;
    }
    .submenu ul,
    ul.submenu{
        padding-left: 0px;
    }
    .submenu li {
        background-color: #dfe6f2;
    }
 
    #menuList > li > a {
        line-height: 30px;
    }

    #menuList .master-menu-hyperlink:link, 
    #menuList .master-menu-hyperlink:visited {
        text-align: left;
    }

    #menuList li:not(.hamburgerMenu) {
        display: none;
    }
    #menuList.responsive {
        position: relative;
    }
    #menuList.responsive li:not(.hamburgerMenu),
    #menuList.responsive li:not(.hamburgerMenu) a {
        float: none;
        display: block;
        text-align: left;
    }

    #menuList .submenu{
        display: block;
    }
    .submenu {
        display: none;
    }
    #menuList .hasSubmenu{
        height: auto;
    }

    /*#StamdataMenu .hasSubmenu ul.submenu.lvl3{*/ 
    .submenuLvl2 .hasSubmenu ul.submenu.lvl3{
	    display: block;
        position: inherit;
        background-color: white;
    }
    /*#StamdataMenu .hasSubmenu:hover ul.submenu.lvl3*/
    .submenuLvl2 .hasSubmenu:hover ul.submenu.lvl3 {
	    position: inherit;
	    padding-left: 0px;
	    background-color: white;
    }

    /*#StamdataMenu .hasSubmenu.lvl3 li*/
    .submenuLvl2 .hasSubmenu.lvl3 li {
        background-color: #eaeaea;
    }

    .mobileHide,
    #menuList li.mobileHide{
        visibility: hidden;
        height: 0px;
        display: none !important;
    }
    .desktopHide,
    #masterContactUl li.desktopHide{
        /*visibility: initial;*/
        display: inline-block;
    }

    #logincontent{
        background-image: none;
        width: 100%;
        height: 100%;
    }

    .loginBtn{
        width: 90%;
    }

    .userLogin{
        width: 100%;
    }

    #menuList .submenuLvl2 > li.content-menu-new-item-active > a
    {
	    color: #5177B3;
    }
    #menuList .submenu.lvl3  li > a.content-menu-new-item-active{
        opacity: 0.5;
    }

    #menuList li:last-of-type{
        margin-right: 0px;
    }

    /******BELOW FOR MOBILE UDGAVE ELEV******/

    input[type=text].scallable250_1,
    input[type=number].scallable250_1,
    textarea.scallable250_1
    { 
        width: 100%; 
    }

    .ulRescaleMobile li{ display: block; }
    .ulRescaleMobile li:not(:first-of-type) { margin-left: auto; }
    .ulRescaleMobile a{ 
        /*width: 70vw;*/ 
        margin: auto; 
        display: block; 
        margin-bottom:10px; 
        padding: 8px;
        border: 1px solid #2a4e9a;
    }
    
    .ulRescaleMobile li.showOnlyOnMobile_block,
    .showOnlyOnMobile_block{
        display: block;
    }

    .tableFitWidth > tr > td, .tableFitWidth > tbody > tr > td, .tableFitWidth > thead > tr > td{
        padding-right: 5px;
    }

    a.mobile_ProduktTilmeldBetal {
        padding: 8px;
        border: 1px solid #2a4e9a;
        display: flex;
        border-radius: 5px;
        text-decoration: none;
        font-weight: bold;
        margin: auto;
        justify-content: center;
        /*width: 70vw;*/
        margin-top: 25px;
    }

    .maxWidth450Response{
        min-width: initial;
    }
    
    .marginLeft50_over480{
        margin-right: 0px;
    }

    .subpages-body{
	    padding-left:10px;
	    padding-right:10px;
    }

    #masterMenuItemLoginUser_button:hover .tooltipText {
      visibility: hidden
    }


}

/* MOBILE PORTRAIND */
@media only screen and (max-width : 320px) {
    #footerAddress li{
        width: 100%;
        padding: 5px;
        display:inline-block;
    }
    #masterContactUl li * {
        display:inline-block;
    }

    .loginBtn{
        height: 120px;
    }
}

@media only screen and (min-width : 768px) and (min-height : 500px) {
    #master-header.logiPage,
    #logincontent{
        /*
        margin: auto;
        position: relative;
        top: 0; left: 0; bottom: 0; right: 0; 
        height: calc(100vh - 104px);*/
    }
}