﻿@media only screen and (max-device-width: 960px) {
    body.template {
        padding-left: 8px;
        padding-right: 8px;
        margin-top: 20px;
        font-family: Tahoma, Arial, sans-serif;
        font-size: 24px;
        color: #666666;
        max-width: calc(100% - 16px) !important;
        margin: auto !important;
    }

        body.template h1 {
            /*padding-bottom: 12px;*/
            /*border-bottom: 1px dotted #bbbbbb;*/
            display: inline;
            font-size: 2.2em;
            font-family: Trebuchet MS, Arial, sans-serif;
            color: black;
        }

    .buttonTouch {
        width: 70px !important;
        height: 70px !important;
    }

    .buttonActionSmall {
        border: 0;
        background-color: #4d4d4d;
        background-repeat: no-repeat;
        background-size: 100% 100%;
        display: inline-block;
        cursor: pointer;
        border-radius: 10px;
        color: white;
        width: 220px !important;
        height: 34px;
        font-size: 24px;
        font-weight: bold;
        margin-top: 10px;
        word-wrap: normal;
    }
    .buttonLink {
        height: 20px !important;
        background-size: 20px !important;
        width: auto !important;
        padding-left: 25px;
        color: black !important;
        font-size: 24px;
        font-weight: bold;
    }
    .divHalf {
        width: calc(100% - 20px) !important;
    }
    .MenueButtonSmall
    {
        font-size: 10px;
        -webkit-appearance: none;
        -webkit-border-radius: 0px;
        -moz-border-radius: 0px;
        border-radius: 0px;
    }
    .baseDataLink {
        font-size: 10px;
        -webkit-appearance: none;
        -webkit-border-radius: 0px;
        -moz-border-radius: 0px;
        border-radius: 0px;
    }


    .ListTable th{
    font-size: 18px !important;
    }
    .ListTable td{
        font-size: 24px !important;
        vertical-align: middle;
    }

    .ListTableColDesktop {
        visibility:hidden;
        display:none;
    }

    .ListTableDetails th {
        font-size: 24px !important;
    }

    .ListTableDetails td {
        font-size: 26px !important;
    }
    .ListTableDetails tfoot td {
        font-size: 26px !important;
    }
    .SumDashBoardLabel {
        font-size: 26px;
    }
    .SumList {
        font-size: 28px;
    }

    .SumList span {
        font-size: 30px !important;
    }
    
    .LabelLogin {
        font-size:24px !important;
    }

    .droplistProjectPortal {
        font-size: 20px !important;
    }
}

@media screen and (max-width: 1000px) {
    body.template {
        padding-left: 8px;
        padding-right: 8px;
        margin-top: 20px;
        font-family: Tahoma, Arial, sans-serif;
        font-size: 24px;
        color: #666666;
        max-width: calc(100% - 16px) !important;
        margin: auto !important;
    }

        body.template h1 {
            /*padding-bottom: 12px;*/
            /*border-bottom: 1px dotted #bbbbbb;*/
            display: inline;
            font-size: 2.2em;
            font-family: Trebuchet MS, Arial, sans-serif;
            color: black;
        }
    .divHalf {
        width: calc(100% - 20px) !important;
    }

    .buttonActionSmall {
        border: 0;
        background-color: #4d4d4d;
        background-repeat: no-repeat;
        background-size: 100% 100%;
        display: inline-block;
        cursor: pointer;
        border-radius: 10px;
        color: white;
        width: auto;
        width: 220px !important;
        height: 34px;
        font-size: 24px;
        font-weight: bold;
        margin-top: 10px;
        word-wrap: normal;
    }

    .buttonLink {
        height: 20px !important;
        background-size: 20px !important;
        width: auto !important;
        padding-left: 25px;
        color: black !important;
        font-size: 24px;
        font-weight: bold;
    }

    .divMobileWith100 {
        width: 100% !important;
        margin: 0 !important;
    }

    .DivGreenHeaderMenue {
        display: none;
    }

    .DivGrayHeaderMenue {
        display: none;
    }

    .imgNews {
        display: none;
    }


    .imgLogout {
        display: none;
    }

    .topnav {
        background-color: lightgray;
        overflow: hidden;
        display: block;
    }

        .topnav a {
            float: left;
            display: block;
            color: black !important;
            text-align: center;
            padding: 14px 16px;
            text-decoration: none;
            font-weight: bold;
            font-size: 36px;
        }

            .topnav a:hover {
                background-color: #A3BCDC;
                color: #FFFFFF;
            }

        .topnav .icon {
            display: none;
        }

        .topnav a:not(:first-child) {
            display: none;
        }

        .topnav a.icon {
            float: right;
            display: block;
        }

        .topnav.responsive {
            position: relative;
            display: block;
        }

        .topnav.responsive {
            position: relative;
        }

            .topnav.responsive a.icon {
                position: absolute;
                right: 0;
                top: 0;
            }

            .topnav.responsive a {
                float: none;
                display: block;
                text-align: left;
            }

    .droplistProjectPortal {
        font-size: 20px !important;
    }

    .trProjectPortalDesktop {
        display: none !important;
    }

    .trProjectPortalMobil {
        display: table-row !important;
    }

        .trProjectPortalMobil td {
            width: 100% !important;
        }


    .calenderpic {
        height: 32px !important;
        width: 32px;
        margin-top: -3px !important;
    }

    .buttonActionProjectPortal {
        width: 220px;
        height: 50px;
        font-size: 28px;
    }

    .ButtonActionWithPictureAndText {
        width: 200px;
        height: 80px;
        text-align: center;
        padding-top: 20px;
        text-decoration: none;
        margin-top: 10px;
    }

    .CenterDiv {
        width: 90%;
        max-width: 570px;
    }

    .buttonActionNavi {
        width: 180px;
        font-size: 28px;
        -webkit-appearance: none;
        -webkit-border-radius: 0px;
        -moz-border-radius: 0px;
    }

    .editProjectNeededTimeControl, .editProjectNeededTimeWithMaterialControl {
        position: fixed;
        left: 2.5%;
        top: 20px;
        width: 95%;
        height: auto;
        border-radius: 10px;
        border: 1px solid #4d4d4d;
        margin: 0px !important;
        padding: 0px !important;
        background-color: white !important;
    }

    .editProjectNeededTimeControlDDL 
    {
        width: 534px;
    }

    .editProjectNeededTimeControlMultiEdit 
    {
        width: 530px;
    }

    .editProjectNeededTimeControlProjectList, .editProjectNeededTimeWithMaterialControlProjectList 
    {
        overflow: overlay;
        max-height: 775px;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px
    }

    .dashboardDetailsHoursWidth
    {
        width: 97.5% !important;
    }

    .dashboardProjectsWidth 
    {
        width: 97.5% !important;
    }


    .trOverviewProjectPortalDesktop 
    {
        display: none;
    }

    .trOverviewProjectPortalMobil 
    {
        display: block;
    }

    .trOverviewProjectPortalMobil td 
    {
        width: 100% !important;
    }

    .buttonCalculate 
    {
        background-size: 32px !important;
        margin-top: -5px !important;
        width: 32px !important;
        height: 32px !important;
    }

    .visibleInDesktopOnly 
    {
        display: none;
    }

    .visibleInMobileOnly 
    {
        display: block;
    }

    .mobileFullHeight{
        height:unset !important;
    }

    .buttonFATouchMobil {
        border-radius: 6px;
        font-size: 40px;
        width: 70px;
        height: 70px;
        line-height: 70px !important;
        border: none;
        background-color: unset !important;
        color: black !important;
    }

    .tblMobilerBiggerHeaderNames th{
        font-size:30px !important;
    }

    input[type="checkbox"] {
        scale: 2;
        margin:10px;
    }
        input[type="checkbox"] + label {
            scale: 2;
        }


    .showElementOnlyOnDesktop {
        display: none;
    }


}

