﻿@media screen, projection {
html {
    -webkit-text-size-adjust: none; /* Prevent font scaling in landscape while allowing user zoom */
}
    table.list tbody .td_aktion {
        text-align: center;
        padding-top: 0;
        padding-bottom: 0;
    }

    .td_aktion img {
        margin: 3px 0;
        margin-top: 2px;
    }

    /* Memos für grössere, mehrzeilige Texte */
    .large_memo textarea {
        height: 300px;
    }

    #header {
        overflow: hidden;
    }

    #clock_analog {
        float: right;
        margin-right: 5px;
        top: -63px;
        position: relative;
    }

    #clock_digital {
        float: right;
    }

    #header_content {
        _display: inline-block;
    }


    #ctl00_LbtPrint {
        /* Drucken unsichtbar */
        /* visibility: hidden; */
        display: none;
    }
}

/* Anpassungen für GMT-Spezifisches, nicht mobil! */
	
@media (min-width: 981px) { 
    .RunwayLeft .ydiv {
        width: 50px !important;
    }

    .RunwayLeft {
        float: left !important;
        width: 180px !important;
        margin-right: 5px !important;
   }

    .RunwayLeft select {
        float: left !important;
        width: 50px !important;
    }

    .RunwayRight .ydiv {
        width: 50px !important;
    }

    .RunwayRight {
        margin-left: 30px !important;
        margin-right: 5px !important;
        float: left !important;
        width: 200px !important;
    }
    .RunwayRight label {
        width: 140px;
    }

    .RunwayRight select {
        float: left !important;
        width: 50px !important;
    }

    .TimeLeft {
        float: left !important;
    }

    .TimeLeft label {
        display: none;
        _width: 0px !important;
    }

    .TimeLeft input {
        width: 45px !important;
    }

    .TimeLeft .ydiv {
        width: 50px !important;
    }

    .TimeRight {
        float: left !important;
    }

    .TimeRight label {
        display: none;
        _width: 0px !important;
    }

    .TimeRight input {
        width: 45px !important;
    }

    .TimeRight .ydiv {
        width: 50px !important;
    }

    .FloatLeft {
        /* float: left !important; */
    }

    .FELeft {
        display: inline-block;
        float: left !important;
        width: 175px !important;
    }

    .FELeft .ydiv {
        width: 55px !important;
    }

    .yform input.right {
        text-align: right !important;
    }

    .FELeft input {
        width: 40px !important;
        text-align: right !important;
    }

    .FEMiddle {
        float: left !important;
        width: 60px !important;
        text-align: right !important;
    }

    .FEMiddle .ydiv {
        width: 55px !important;
    }

    .FEMiddle input {
        width: 40px !important;
        text-align: right !important;
    }

    .FEMiddle label {
        display: none;
    }

    .FERight {
        float: left !important;
        width: 50px !important;
    }

    .FERight .ydiv {
        width: 50px !important;
    }

    .FERight input {
        width: 40px !important;
    }

    .FERight label {
        display: none;
    }

 /*
	.buttonPaddingLeft {
        margin-left: 40px !important;
    }
*/

    .EngineHoursLeft {
        float: left;
        width: 190px !important;
    }

    .EngineHoursLeft input {
        width: 70px !important;
    }

    .EngineHoursRight {
        float: left;
        width: 70px !important;
    }

    .EngineHoursRight label {
        display: none;
    }

    .EngineHoursRight input {
        width: 70px !important;
    }

    .StartGroup {
        float: left;
        width: 220px !important;
        margin-right: 20px !important;
    }

    .LandGroup {
        width: 220px !important;
    }
	
	.GroupClearLeft {
		/*	  float: left !important;*/
		clear: left !important;
	}
	
	.setNotSetInvisible input[value=-notSet-], .setNotSetInvisible input[value=-notSet-] ~ * {
    display: none !important;
	}

	.setNotSetInvisibleLeft input[value=-notSet-], .setNotSetInvisibleLeft input[value=-notSet-] ~ * {
		display: none !important;
	}
	
	.setNotSetInvisibleLeft {
		clear: left !important;
	}

}

/* Anpassungen für GMT-Spezifisches, mobil! */
	
@media (max-width: 980px) { 

	/* Radiobutton "nicht gesetzt" nicht anzeigen */

	.setNotSetInvisible input[value=-notSet-], .setNotSetInvisible input[value=-notSet-] ~ * {
		display: none !important;
	}

	.setNotSetInvisibleLeft input[value=-notSet-], .setNotSetInvisibleLeft input[value=-notSet-] ~ * {
		display: none !important;
	}

	.setNotSetInvisibleLeft {
		clear: left !important;
	}

	/* Start/Landung: Piste und Zeit nebeneinander */
	body .yform div.RunwayLeft .ydiv {
        width: 50px !important;
    }

    body .yform div.RunwayLeft {
        float: left !important;
        width: 200px !important;
    }

    body .yform div.RunwayLeft select {
        float: left !important;
        width: 50px !important;
    }
	
    body .yform div.RunwayLeft label {
        width: 70% !important;
    }

    body .yform div.TimeLeft {
        float: left !important;
    }

    body .yform div.TimeLeft label {
        display: none;
        _width: 0px !important;
    }

    body .yform div.TimeLeft input {
        width: 90% !important;
    }

    body .yform div.TimeLeft .ydiv {
        width: 60px !important;
    }

    body .yform div.RunwayRight {
        float: left !important;
        width: 200px !important;
 	    clear: left !important;
	}
	
	body .yform div.RunwayRight .ydiv {
        width: 50px !important;
    }
	
    body .yform div.RunwayRight select {
        width: 50px !important;
    }

    body .yform div.RunwayRight label {
        width: 70% !important;
    }

    body .yform div.TimeRight {
        float: left !important;
    }

    body .yform div.TimeRight label {
        display: none;
        _width: 0px !important;
    }

    body .yform div.TimeRight input {
        width: 90% !important;
    }

    body .yform div.TimeRight .ydiv {
        width: 60px !important;
    }

	/* EngineHours untereinander */

	body .yform div.EngineHoursLeft {
        /*float: left;*/
        width: 220px !important;
    }
	
    body .yform div.EngineHoursLeft label {
        width: 60% !important;
    }

    body .yform div.EngineHoursLeft input {
        width: 80px !important;
    }

	/* Mobile landscape */
	@media (max-width: 980px) {
		body .yform div.EngineHoursLeft {
			float: left;
		}
		
		body .yform div.EngineHoursRight {
				float: left;
				width: 100px !important;
		}

		body .yform div.EngineHoursRight label {
			width: 60% !important;
		}
		
		body .yform div.EngineHoursRight label {
			display: none;
		}

		body .yform div.EngineHoursRight input {
			width: 80px !important;
		}
	}
	
	/* Mobile portrait */
	@media (max-width: 400px) {
		body .yform div.EngineHoursRight {
			/*float: left;*/
			width: 220px !important;
		}

		body .yform div.EngineHoursRight label {
			width: 60% !important;
		}
		
		body .yform div.EngineHoursRight label {
			display: block;
			visibility: hidden;
		}

		body .yform div.EngineHoursRight input {
			width: 80px !important;
		}
	}
	
	
	/* Buttons "Speichern", "Start jetzt", "Landung jetzt" nicht volle Breite */
	#ctl00_CphMain_DivButtons input[type=button] {
        width: 120px !important;
    }

}