 * {
    	margin: 0;
    	padding: 0;
font-family: Arial, sans-serif;
}

 body {
    	text-align: center; /* Zentrierung IE */
    	height: 100%;
}

.menue-button {
        display: none;
}

 /*code for normal web pages -------------------------------------------------------------------------------------------- */

/* First row */
#pagewidth1 {
    	display: block;
    	top: 0px;
    	background-color: white;
    	position: relative;
    	width:  100%;
}

#header1 {
    	display: block;
    	margin-left: auto;
    	margin-right: auto;
    	background-color: white;
    	position: relative;
    	width: 800px;
    	height: 110px;
}

#logo_top {
    	text-align: left;
    	margin-top: 35px;
    	float: left;
    	width: 300px;
    	height: auto;
    	max-width: 50%;
}

/* Language selection */
#language_german {
    	margin-top: 33px;
    	float: right;
    	height: auto;
    	widht: 34px;
    	max-width: 8%;
}

#language_english {
    	margin-top: 33px;
    	float: right;
    	height: auto;
    	widht: 34px;
    	max-width: 8%;
}

#language_chinese {
    	text-align: right;
    	margin-top: 33px;
   	float: right;
    	height: auto;
    	widht: 34px;
    	max-width: 8%;
}

/* Hidden menu bar for mobile version */
#pagewidth_menu_mobile {
    	display: none;
    	position: relative;
    	background-color: #E70012;
    	width:  100%;
    	height: auto;
}

#header_menu_mobile {
    	display: none;
    	margin-left: auto;
    	margin-right: auto;
    	background-color: #E70012;
    	position: relative;
    	width:  800px;
    	height: auto;
}

/* Second row */
#pagewidth2 {
    	display: block;
    	position: relative;
    	background-color: #E70012;
    	width:  100%;
    	height: 50px;
}

#header2 {
    	display: block;
    	margin-left: auto;
    	margin-right: auto;
    	background-color: #E70012;
    	position: relative;
    	width:  800px;
    	height: 50px;
}


/* Menu for desktop version*/
#menu li {
        list-style: none;
        float: left;
        margin-top: 0px;
        width: auto;
}

#menu a {
        display: block;
        height: 50px;
        width: 160px;
        text-align: center;
        padding-top: 12px;
        text-decoration: none;  /* keine Unterstreichung */
        color: white;
        background-color: #E70012;
        font-family: Tahoma;
        font-size: large;
}

#menu a:hover {
        color: #E70012;
        background: white;
}


#menu_mobile li {
        list-style: none;
        float: left;
        margin-top: 0px;
        width: auto;
}

#menu_mobile a {
        display: block;
        height: 50px;
        width: 160px;
        text-align: center;
        padding-top: 12px;
        text-decoration: none;  /* keine Unterstreichung */
        color: white;
        background-color: #E70012;
        font-family: Tahoma;
        font-size: large;
}

#menu_mobile a:hover {
        color: #E70012;
        background: white;
}

/* Menu for padding "Unsere Dienstleistungen" */
#menu_dl_padding li {
        list-style: none;
        float: left;
        margin-top: 0px;
        width: auto;
}

#menu_dl_padding a {
        display: block;
        height: 50px;
        width: 160px;
        text-align: center;
        padding-top: 0px;
        text-decoration: none;  /* keine Unterstreichung */
        color: white;
        background-color: #E70012;
        font-family: Tahoma;
        font-size: large;
}

#menu_dl_padding a:hover {
        color: #E70012;
        background: white;
}

/* Mainframe with picture, title, content, footer ---------------*/
#pagewidth_mainframe {
    	display: block;
    	position: relative;
    	background-color: white;
    	width:  100%;
}

#mainframe {
    	position: relative;
    	display: block;
    	background-color: white;
    	width:  800px;
    	height: auto;
    	border-left: 0px solid black;
    	font-family: Tahoma;
    	font-size: small;
    	text-align: left;
    	padding-bottom: 30px;
    	padding-top: 30px;
    	margin-left: auto;
    	margin-right: auto;
}

#header_picture {
    	display: block;
    	margin-left: auto;
    	margin-right: auto;
    	position: relative;
    	width: 800px;
    	height: auto;
    	max-width: 100%;
}

#title {
    	font-family: Tahoma;
    	font-size: xx-large;
    	text-align: left;
    	padding-left: 10px;
    	padding-right: 10px;
    	padding-top: 15px;
    	color: #E70012;
    	font-weight: bold;
}

#content {
    	font-family: Tahoma;
    	font-size: medium;
    	text-align: left;
    	padding-left: 10px;
    	padding-right: 10px;
    	color: black;
}

/* For table in Contact page */
#contacttable tr {
    	display: block;
    	list-style: none;
    	width: auto;
    	font-family: Tahoma;
    	text-align: left;
    	vertical-align: top;
    	border: 0;
}

#contacttable td {
    	font-size: medium;
}

#tdwidth_contact {
    	width: 70px;
}

/* For table in Our Services page */
#servicetable tr {
    	display: block;
    	list-style: none;
    	width: auto;
    	font-family: Tahoma;
    	text-align: left;
    	vertical-align: top;
    	border: 0;
}

#servicetable td {
    	font-size: medium;
}

#tdwidth_service {
    	width: 70px;
}

#tdpadding_service {
    	padding-bottom: 40px;
}

#aftersalesservice {
    	position: relative;
}

#aftersalesservice ul {
    	display: block;
    	width: auto;
    	list-style: circle;
    	padding-left: 10px;
}

#footerright {
    	font-family: Tahoma;
    	font-size: smaller;
    	text-align: left;
    	padding-left: 10px;
    	padding-right: 10px;
    	color: black;
    	float: right;
}

/* Additional code for index page --------------*/
#logo_top_front {
    	margin-top: 35px;
    	float: right;
    	width: 300px;
    	height: auto;
    	max-width: 50%;
    	display: none; /*hidden in desktop view*/
}

#pagewidth_frontpage {
   	display: block;
    	position: relative;
    	background-color: white;
    	width:  100%;
      height: 60px;
}

#header_frontpage {
    	display: block;
    	margin-left: auto;
    	margin-right: auto;
    	background-color: white;
    	position: relative;
    	width:  800px;
    	height: 50px;
}

#slogan {
    	font-family: Tahoma;
    	text-align: center;
    	margin-top: 0px;
    	color: #E70012;
    	padding-top: 10px;
    	font-size: xx-large;
    	font-weight: bold;
}

#pagewidth_picture {
    	display: block;
    	position: relative;
    	background-color: white;
    	width:  100%;
}

#header_frontpage_picture {
    	display: block;
    	margin-left: auto;
    	margin-right: auto;
    	position: relative;
    	width: 800px;
    	height: 576px;
    	background-image: url('images/front_page1.jpg');
    	margin-top:30px;
}

#box_logo {
    	display: block;
    	margin-left: 50px;
    	margin-top: 30px;
    	background-color: white;
    	position: absolute;
}

/* Menu in index page */
#menu_frontpage li {
        list-style: none;
        float: left;
        margin-top: 0px;
        width: auto;
}

#menu_frontpage a {
        display: block;
        width: 251px;
        height: 80px;
        text-align: center;
        padding-top: 46px;
        text-decoration: none;  /* keine Unterstreichung */
        color: white;
        background-color: #E70012;
        font-family: Tahoma;
        font-size: x-large;
        font-weight: bold;
}

#menu_frontpage a:hover {
        color: #E70012;
        background: white;
}

/* Menu for Padding "Unsere Dienstleistungen" in index page */
#menu_frontpage_dl_padding li {
        list-style: none;
        float: left;
        margin-top: 0px;
        width: auto;
}

#menu_frontpage_dl_padding a {
        display: block;
        width: 251px;
        height: 96px;
        text-align: center;
        padding-top: 30px;
        text-decoration: none;
        color: white;
        background-color: #E70012;
        font-family: Tahoma;
        font-size: x-large;
        font-weight: bold;
}

#menu_frontpage_dl_padding a:hover {
        color: #E70012;
        background: white;
}

#linkbox_aboutus {
    	display: block;
    	margin-left: 0px;
    	margin-top: 150px;
    	background-color: #E70012;
    	position: absolute;
}

#linkbox_serviceinchina {
    	display: block;
    	margin-left: 274px;
    	margin-top: 300px;
    	background-color: #E70012;
    	position: absolute;
}

#linkbox_ourservices {
    	display: block;
    	margin-left: 549px;
    	margin-top: 150px;
    	background-color: #E70012;
    	position: absolute;
}

#linkbox_contact {
    	display: block;
    	margin-left: 549px;
    	margin-top: 450px;
    	background-color: #E70012;
    	position: absolute;
}

/* picture in index - hidden in desktop version */
#header_picture_frontpage {
    	display: none;   /* hidden in desktop version */
    	margin-left: auto;
    	margin-right: auto;
    	position: relative;
    	width: 800px;
    	height: auto;
    	max-width: 100%;
}

 /*code for mobile devices -------------------------------------------------------------------------------------------- */
@media only screen and (max-width: 800px) {

/* Menu button */
.menue-button {
         display: block;
}

.menue-button {
        float: right;
	display: block;
        position: absolute;
        right: 10px;
        top: 15px;
        color: white;
        cursor: pointer;
        text-decoration: none;
    	max-width: 9%;
}

#menu_button_on {
        max-width: 100%;
}

#menu_button_off {
        max-width: 100%;
}

#menu_mobile {
         float: left;
         width: 100%;
         display: none;
         margin-top: 10px;

}

#menu_mobile li {
         width: 100%;
         border-bottom: 2px solid silver;
}

.menue-button:hover {
        }

#menu_mobile a {
        display: block;
        height: auto;
        width: auto;
        padding: 0px;
        text-decoration: none;  /* keine Unterstreichung */
        color: white;
        background-color: #E70012;
        font-family: Arial, sans-serif;
        font-size: large;
}

/* First row */
#pagewidth1 {
    	display: block;
    	top: 0px;
    	background-color: white;
    	position: relative;
    	width:  100%;
}

#header1 {
    	display: block;
    	margin-left: auto;
    	margin-right: auto;
    	background-color: white;
    	position: relative;
    	width:  100%;
    	height: auto;
}

#logo_top {
        max-height: 100%;
        height: auto;
        text-align: left;
        margin-top: 15px;
        margin-left: 10px;
        float: left;
}

#swinatech_logo {
        max-width: 100%;
}

/* Language selection */
#language_english {
        max-height: 100%;
        height: auto;
        text-align: left;
        margin-top: 15px;
        float: right;
}

#language_german {
        max-height: 100%;
        height: auto;
        text-align: left;
        margin-top: 15px;
        float: right;
        margin-right: 15%;
}

/* Row for menu in mobile version, unhidden in case menu button is selected */
#pagewidth_menu_mobile {
        display: block;
        background-color: #E70012;
        margin-left: auto;
        margin-right: auto;
        position: relative;
        top: 0px;
        width:  100%;
        height: auto;
}

#header_menu_mobile {
    	position: relative;
    	display: block;
    	background-color: #E70012;
    	margin-left: auto;
    	margin-top: 0px;
    	width:  100%;
    	height: auto;
    	float: none;
    	text-align: center;
}

/* Second row */
#pagewidth2 {
        display: none; /* hidden in mobile version */
        background-color: #E70012;
        margin-left: auto;
        margin-right: auto;
        position: relative;
        top: 0px;
        width:  100%;
        height: 0px;
}

#header2 {
    	position: relative;
    	display: none; /* hidden in mobile version */
    	background-color: #E70012;
    	margin-left: auto;
    	margin-top: 0px;
    	width:  100%;
    	height: 100%;
    	float: none;
    	text-align: center;
}


/* Main frame in mobile version with picture, title, content, footer -------*/

#pagewidth_mainframe {
    	display: block;
    	position: relative;
    	background-color: white;
    	width:  100%;
    	height: auto;
    	position-top: 10px;
}

#mainframe {
        position: relative;
        display: block;
        background-color: white;
        margin-left: 0;
        margin-top: 0;
        width: 100%;
        height: auto;
        float: left;
        border-left: 0px solid black;
        border-right: 0px solid black;
        font-family: Tahoma;
        font-size: small;
        text-align: justify;
        padding-bottom: 30px;
}

#header_picture {
    	display: block;
    	margin-left: auto;
    	margin-right: auto;
    	position: relative;
    	max-width: 100%
    	height: auto;
}

#picture_main {
    	max-width: 100%;
}


#title {
    	font-family: Tahoma;
    	font-size: xx-large;
    	text-align: left;
    	padding-left: 20px;
    	padding-right: 20px;
    	color: #E70012;
    	font-weight: bold;
}

#content {
    	font-family: Tahoma;
   	font-size: medium;
    	text-align: left;
    	padding-left: 20px;
    	padding-right: 20px;
    	color: black;
}

/* For table in Contact page */
#contacttable tr {
    	display: block;
    	list-style: none;
    	width: auto;
    	font-family: Tahoma;
    	text-align: left;
    	vertical-align: top;
    	border: 0;
}

#contacttable td {
    	font-size: medium;
}

#tdwidth_contact {
    	width: 70px;
}

/* For table in OurServices page */
#servicetable tr {
    	display: block;
    	list-style: none;
    	width: auto;
    	font-family: Tahoma;
    	text-align: left;
    	vertical-align: top;
    	border: 0;
}

#servicetable td {
    	font-size: medium;
}

#tdwidth_service {
    	width: 70px;
}

#tdpadding_service {
    	padding-bottom: 40px;
}

#aftersalesservice {
    	position: relative;
}

#aftersalesservice ul {
    	display: block;
    	width: auto;
    	list-style: circle;
    	padding-left: 10px;
}

#footerleft {
    	font-family: Tahoma;
    	font-size: smaller;
    	text-align: left;
    	padding-left: 10px;
    	padding-right: 10px;
    	color: black;
    	float: left;
}

#footerright {
    	font-family: Tahoma;
    	font-size: smaller;
    	text-align: left;
    	padding-left: 10px;
    	padding-right: 10px;
    	color: black;
    	float: right;
}

/* For index page in mobile version --------------------*/
/* unhide logo on the top in index page */
#logo_top_front {
        max-height: 100%;
        height: auto;
        text-align: left;
        margin-top: 15px;
        margin-left: 10px;
        float: left;
        display: block;
}

/* hidden in mobile version */
#pagewidth_frontpage  {
    	display: none;
}


/* hidden in mobile version */
#header_frontpage {
    	display: none;
}

/* hidden in mobile version */
#pagewidth_picture {
    	display: none;
}

/* hidden in mobile version */
#header_frontpage_picture {
    	display: none;
}

/* insert a 800-300px picture in the index page of the mobile version */
#header_picture_frontpage {
    	display: block;
    	margin-left: auto;
    	margin-right: auto;
    	position: relative;
    	max-width: 100%
    	height: auto;
}

#picture_main {
    	max-width: 100%;
}


}  /*end of mobile device version --------------------------------------------------------*/

/* Menu ON */
#header_menu_mobile:target #menu_mobile {
        display: block;
}
/* Menu OFF */
#header_menu_mobile:target .menue-button-beschr-open {
        display: none ;
}
