/* FONT IMPORTS */
@font-face {
    font-family: 'SwitzerlandCondensedBold';
    src: url('switzerland_condensed_bold-webfont.eot');
    src: url('switzerland_condensed_bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('switzerland_condensed_bold-webfont.woff') format('woff'),
         url('switzerland_condensed_bold-webfont.ttf') format('truetype'),
         url('switzerland_condensed_bold-webfont.svg#SwitzerlandCondensedBold') format('svg');
    font-weight: normal;
    font-style: normal;
}


/* Flex tags */
html, body { 
  margin: 0;
  overflow-x:hidden !important;
}

html {
  height: 100%;
}

body {  
  vertical-align: top;
  font: 13px/133% Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  color: #3d3e41;
  background-color: #9e9ea6;
  background-image: url(/mainimages/bg.jpg);
  background-position: start;
  background-attachment: fixed;
  background-size: cover;
  text-align: center;
  padding-bottom: 10px;
}

.break-word {
  overflow-wrap: break-word;
}

b {
  font-weight: 700;
}

p {
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: #3d3e41;
}
a:hover {
  color: #000000;
}

header { flex: 0 1 auto;  }
main { flex: 0 1 auto; }
footer { flex: 1 1 50px; }

td {
	padding: 5px;
}

.maincontainer {
  margin: 10px auto 0 auto;
  display: flex;
  flex-flow: column;
  padding: 6px 6px 0;
  text-align: left;	
  background-color: #ffffff;
  border-radius: 10px;
  color: #5b5d6b;
  box-shadow: 1px 2px 5px 0px #0000008c
}
@media (max-width: 320px) {
  .maincontainer {
    /* width: 300px;  */
  }
  body {
    width: 300px;
	padding-right: 10px !IMPORTANT;
  }
} 
@media (max-width: 987px) {
  .maincontainer {
    /* width: 100%; */
  }
  body {
	padding-left: 10px;
	padding-right: 10px;
  }
}
@media (min-width: 988px) {
  .maincontainer {
    width: 967px;
  }
}

.banner {
  background: #3C3C3B;
  border-top: 10px solid #54966D;
  color: #fff;
}
.largefont {
  font-size: 24px;
}
.sui_generisregular {
  font-family: 'sui_generisregular', sans-serif;
}

/* Header */
header {
  
}
header .topbar {

}
.header-scrolled {
  background-color: rgba(54, 60, 60, 0.99);
}
header .pagetitle {
  width: 100%;
  text-align: center;
}
header .pagetitle h1 {
  color: rgba(255, 255, 255, 0.9);
  font-family: "sui_generisregular", sans-serif;
  font-size: 28.9px;
  font-weight: 800;
  padding: 200px 0 150px;
}
header .maincontainer {
  display: flex; 
  flex-direction: row;  
  flex-wrap: wrap;
  align-items: center;
}
header .maincontainer div {
  flex: 1 0 48%;   
}
.logoflexbox {

}
.callnowbox {
  font: normal 22px/1 'SwitzerlandCondensedBold', Arial, Helvetica, sans-serif;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: #747b85;
  padding: 0;
  margin-right: 16px;
  text-align: right;
} 
.fadeline {
	position: relative;
	height: 7px;
	overflow: hidden;
	&::before {
	  content: "";
	  position: absolute;
	  top: 0;
	  left: 0;
	  right: 0;
	  bottom: 0;
	  background-image: radial-gradient(#999999 10%, transparent 70%);
	  height: 14px;
	}
}	

nav {

}
@media (max-width:768px) {
  .logoflexbox {

  } 
}

/* Main Logo */
.mainlogo {
  text-align: left; 
  color: #FFFFFF;
  font-family: 'sui_generisregular', sans-serif;
  font-size: 1.2em;
}
.mainlogo img {
  padding-bottom: 10px;
}
.mainlogo a {
  color: #FFFFFF;
  display: flex;
}
.mainlogo a span {
  align-self: center;
}


/* Menu Button */
.menubutton {
  visibility: hidden;
  display: none;
  //position:sticky;
  top:0px;
  left:0px;
  height: 0;
  width: 0;
}
.menubutton img {
  //width: 100%;
}
@media (max-width:987px) {
  header .topbar {
    position: static;  
  }
  header .pagetitle h1 {
    padding: 0 0 10px 0;
    font-size: 18px;
  }
  .maincontainer {
    padding: 5px 0;
  }
  .menubutton {
    visibility: visible;
    height: 100%;
    width: auto;
	display: block;
  }
  .mainlogo {
    font-size: 1em;
  }
  .mainlogo img {
    max-height: 64px;
  }
}

/* Nav */
nav {
  display: flex;
  width: 100%;
  justify-content: center;
}

/* Menu Items */
.menu_link {  
  float: left;
  text-align: center;
  color: #6d6d6d;
  text-decoration: none;
  margin: 0 12px 0;
  padding-bottom: 17px;
  padding-top: 17px;
  white-space: nowrap;
  font: normal 14px/1 'SwitzerlandCondensedBold', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  text-decoration: none;    
  transition: all .3s ease-in-out;
}
.menu_link:hover, .active {
  color: #1b2a3b;
  padding-bottom: 12px;
  border-bottom: 5px solid #5f6570;
}
@media (max-width: 380px) {
  .callnowbox {
	font-size: 15px !IMPORTANT;
  }
}
@media (max-width: 450px) {
  header .maincontainer div {
    flex: 1 0 auto !IMPORTANT;
  }
}
@media (max-width: 987px) {
  .mainlogo a {
	justify-content: center;
  }
  .keyinfo {
    max-width: 100% !IMPORTANT;
  }

  header .maincontainer div {
    flex: 1 0 32%;
  }
  .fadeline {
	display: none;
  }
  .menu_link.active {
    border-left: 5px solid #5f6570;
    border-top: 0;
  }
  .submenu_link.active {
    border-bottom: 0;
    border-top: 0;
    background-color: #198e1c !IMPORTANT;
    color: #000000 !IMPORTANT;
  }
  .menu_link:hover, .active {
    color: #000000;
	border-bottom: 0;
	padding-bottom: 10px;
	background-color: #cccccc;
  }
  .menu_link {
    margin-left: 0px;
    margin-right: 0px;
    padding: 10px;
    margin: 10px !IMPORTANT;
    text-align: left !IMPORTANT;
	display: block;
	flex-basis: 140px;
  }
  .submenu_link {
    display: block !IMPORTANT;
    font-size: 20px !IMPORTANT;
    margin: 0px 10px 0px 30px !IMPORTANT;
    padding: 10px !IMPORTANT;
    text-align: left !IMPORTANT;
    background-color: rgb(54, 60, 60) !IMPORTANT;
    color: rgba(255,255,255,.5) !IMPORTANT;
  }
  .submenu_link:hover {
    color: rgba(255,255,255,1) !IMPORTANT;
  }
  .dropdown {
    display: block !IMPORTANT;
  }
  .dropdown-content {
    display: block !IMPORTANT;
    position: static !IMPORTANT;
    margin-top: 0 !IMPORTANT;
    background-color: transparent !IMPORTANT;
    border: 0 !IMPORTANT;
  }
  #menu {
	flex-wrap: wrap;
	justify-content: flex-start;
    align-content: center;
	border-width: 1px 0 0 0;
    border-style: solid;
    border-image: linear-gradient(to right, transparent 15%, grey, transparent 85%) 1;
    display: flex;
    opacity: 1;
    transition: max-height 0.3s linear, opacity 0.3s ease;
	max-height: 1000px;
  }
  #menu.hidden {
	max-height: 0;
	opacity: 0;
    pointer-events: none; /* Prevent interactions on hidden element */
  }
  nav li img {
    width: auto;
  }
}

.dropbtn::after {
  color: #1a8e1c;
  top: 50px !important;
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: .255em;
  vertical-align: .255em;
  content: "";
  border-top: .3em solid;
  border-right: .3em solid transparent;
  border-bottom: 0;
  border-left: .3em solid transparent;
}

.dropdown {
  display: flex;
}

.dropdown-content {
  display: none;
  position: absolute;
  margin-top: 80px;
  background-color: #fff;
  background-clip: padding-box;
  z-index: 1; 
  border: 1px solid rgba(0,0,0,.15);
  border-bottom: 4px solid #54966D;
  line-height: 1.8;
}
.dropdown-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;  
}

.dropdown-container .submenu_link {
  padding: 4px 24px;
  width: 100%;
  color: #212529;
}

.dropdown-container .submenu_link:hover {
  color: #186e25;
  background: #ddd;
  text-decoration: none;
}

.dropdown:hover .dropdown-content {
  display: block;
}
.listsubpages {
  font-size: 16px;
}
.displaysubpage-container {
    margin: 40px 20px 20px 20px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: space-between;
    justify-content: space-between;
}
.displaysubpage {
  color: #969696;
  background-color: white;
  padding: 12px 16px;
  text-decoration: none;
  line-height: 25px; 
  width: 200px;
  margin: 10px;
  border: 1px solid #e9e9e9;
}
.fullwidth {
  width:100%;
}
.displaysubpage h3 {
  font-size: 20px;
  font-weight: 600;
  text-align: left;
  color: #262626;
  margin-bottom: 10px;
}
.displaysubpage a {
  color: #fac200;
  display: block;
  margin-top: 10px;
  font-weight: bold;
}
@media (max-width:768px) {
  .displaysubpage {
    width: 100%;
  }
  .displaysubpage-container {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Main-Contents */
 
main {
  text-align: center;
}

.pageheader {
  min-height: 100px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0;
  min-height: 281px;
}
.submenu .active {
	/* border-left: 5px solid #eaeaea; */
	background: url(/mainimages/bullet.png);
	background-position: left;
    background-repeat: no-repeat;
	background-size: 15px;
	padding-left: 18px;
	border-bottom: 0;
}

@media (max-width: 650px) {
  .pageheader {
	flex-direction: column;
  }
  .pageimageholder {
	  width: inherit !IMPORTANT;
	  min-height: 160px !IMPORTANT;
  }
  .pageimage {
	  min-height: 160px !IMPORTANT;
  }
}
@media (min-width: 988px) {
  .pageheader {
	width: 979px;
  }
}
.pageimageholder {
	background-color: #cacacd;
	border-radius: 10px;
	margin: 0;
	padding: 10px;
	width: 60%;
	min-height: 100px;
	box-shadow: 1px 0px 5px 0px #0000008c;
	flex-grow: 0;
}
.pageimagescroller {
	position: relative;
  	width: 100%;
	height: 100%;
}
.pageimage {
	background-image: url('../mainimages/photos/20.jpg');
	background-size: cover;
	background-position: center;
	min-height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 2s ease-in-out;
}
.homepagecolimage {
	min-height: 80px;
	background-size: cover;
	background-position: center;
	border: 1px solid #9d9ea5;
}
.pageheader ul {
	margin: 20px;
	padding: 0;
	flex-grow: 2;
}
.pageheader a {
  font: normal 18px/1 'SwitzerlandCondensedBold', Arial, Helvetica, sans-serif;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  padding-right: 20px;
  display: block;
  padding: 5px 0;
  transition: all .3s ease-in-out;
}
.pageheader a:hover {
  opacity: 0.8;
}


.bannercontainer {
  padding: 50px 0;
}
.bannercontainer h1 {
  padding: 0;
}
.bannercontainer .maincontainer {
  display: block;
}

main h2 {
  font: normal 24px/1 'SwitzerlandCondensedBold', Arial, Helvetica, sans-serif;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: #747b85;
  margin: 0 0 10px 0;
}
main h3 {
  font-family: "sui_generisregular", sans-serif; 
  font-size: 17px; 
  margin: 0;
}
.column div {
	margin: 15px 0 0 0;
	color: #5b5d6b;
}
.subpagelinks a {
	color: black;
	text-decoration: underline;
    padding-left: 30px;
	margin-bottom: 4px;
	display: inline-block;
}
.subpagelinks a:hover {
	color: #5b5d6b;
	text-decoration: none;
    padding-left: 14px;
}
.subpagelinks a:hover::before {
	content: '\20DD';
	color: #5b5d6b;
	font-size: 13px;
	padding-right: 16px;
}
.title .contents {
  height: 87px;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #f6f6f6;
  border-top: 1px solid #d2d3d4;
  border-bottom: 1px solid #d2d3d4;
  display: flex;
}
h1 {
  font-weight: bold;
  margin: 0;
  padding: 30px;
  flex-grow: 2;  
  font-family: "sui_generisregular", sans-serif;
  font-size: 28.9px;
  font-weight: 800;
}

ul {
  margin-left: 30px;
}
main img {
	width: 100%;
	height: auto;
}
.quotebox {
  display: block;
  margin: 20px;
  padding: 28px 28px 27px 31px;
  background-color: #fff !important;
  border-color: #198e1c !important;
  border-left-color: rgb(160, 206, 78);
  border-width: 2px !important;
  border-style: solid;
  font-size: 18px;
  line-height: 24px; 
 box-shadow: 0px 0px 2px 2px #198e1c;
}
.description {
  font-size: 16px;
  line-height: 25px;
  color: #9b9b9b;
  text-align: left;
  margin: 40px 0 0;
  font-weight: 300;
}
.center {
  text-align: center;
}
.right {
  text-align: right;
}
.largebackgroundimage {
  background-size: 100%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.button {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  border-radius: 3px;
  border: 1px solid #198e1c; 
  color: #FFFFFF;
  margin: 10px;
  font-size: 17px;
  padding: 16px 30px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  line-height: normal;
  text-align: center;
  background-color: #198e1c;
  -o-transition:.5s;
  -ms-transition:.5s;
  -moz-transition:.5s;
  -webkit-transition:.5s;
  transition:.5s;
}
.button:hover {
  color:#198e1c;
  background-color: #FFFFFF; 
}
.promo_banner .button:hover {
  background-color: #7f7f7f; 
}
.boxes {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-content: space-between;
  justify-content: space-between;
}
.box {
  width: 45%; 
  min-height: 400px;
  font-size: 16px;
  color: #969696;
  line-height: 23px;
  margin-top: 50px;  
}
.box h2, .box h3 {
  line-height: 1;
}
.boxdouble {
  width: 100%; 
}
.box li {
  font-size: 16px;
  position: relative;
  left:20px;
  padding: 0 0 0 10px;
  font-style: italic;
}
ol {
  margin-left: 40px;
  margin-right: 30px; 
  padding-left: 5px;
}
.imagebox {
  background-repeat:no-repeat;
  background-size:cover;
  background-position: center; 
}
.contents {
  text-align: left;
}
.promo_banner {
  background: rgba(0,0,0,0.5);
  padding: 83px 0 100px;
  color: #fff;
  text-align: center;
  margin-top: 30px;
}
  .promo_banner .title {
  font-size: 50px;
  font-weight: 600;
  color: white;
}
 .promo_banner .text {
  font-size: 16px;
  line-height: 25px;
  padding: 32px 0 43px;
  font-weight: 300;
}
.columns_container {
  display: flex;
  
}
.column {
  flex: 1;
  flex-grow: 2;
  flex-shrink: 0; 
  padding: 10px;
  margin: 10px;
}
.side {
	flex-grow: 1;
	font-size: 16.5px;
	line-height: 1.1;  
}
.side div {
	background: url(/mainimages/quote.gif) no-repeat right bottom;
	padding-bottom: 50px;
}
.itemswide_2   {
  flex-flow: row wrap;
}

.itemswide_2 .column  {
  min-width: 33%;
  max-width: 50%; 
}


.center {
  text-align: center;
  display: block;
  width: 100%;
}
@media (max-width: 400px) {
  .footerimages {
	width: 100% !IMPORTANT;
  }
  footer .social li {
	display: block !IMPORTANT;
  }
  footer .social a {
	margin: 5px 0 !IMPORTANT;
  }
  footer .social {
	margin: 0 !IMPORTANT;
  }
}
@media (max-width: 987px) {
  .columns_container {
    flex-flow: column wrap;
  }
  .column {
    flex-basis: 100% !IMPORTANT;
    margin-left: 20px;
    margin-right: 20px;
  }
  .fc2, .fc3, .fc4 {
    width: inherit !IMPORTANT; 
  }
  .itemswide_2 .column  {
    max-width: 100%; 
  }
  .product {
    margin-left: 0;
    margin-right: 0;
  }
  .footcols .center {
	width: inherit;
  }
}
@media (max-width:768px) {
  .boxes { flex-direction: column; }
  .box { width: 100%; }
  h1 { margin: 0; }
  h2 {
    margin: 0px 0 30px 0 !IMPORTANT;
    padding-left: 0 !IMPORTANT; 
    padding-right: 0 !IMPORTANT;
  }
  .contents {
    text-align: left;
    //padding: 20px 20px 20px 20px;
    flex-wrap: wrap;
  }
  .contents h1 { 
    padding: 0 0 10px 0;
    margin: 0;
  }
  .contents .breadcrumb { 
    padding: 0 20px 20px 20px;
    width:100%;
  }
  .textleft_picright {
    padding: 0 20px;
    background-position: left; 
  }
  .textleft_picright_text {
    width: 100%;
  }
}
@media (max-width:500px) {
  .fourmini {
    flex-basis: 90%;
  }
}
/* IMAGE POPOUT */

#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}





/* Content-Contact Us Page */
.contactus_container {
  display: flex;
  
}
.contactus_text {
  flex: 1;
  margin-right: 10px;
}
.contactus_form{
  flex: 1;
 // margin-left: 20px;
}

form {
	margin-top: 10px;
}
input, textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #747b85;
  font-size: 16px;
  line-height: 20px;
  padding: 5px 10px;
  margin: 10px 0;
  resize: none;
  border-radius: 3px;
  vertical-align: top;
  color: #262626;
  outline: none; 
}

input:focus, input:focus-visible, textarea:focus {
  border-color: #000000;
}
input[type=submit] {
  background-color: #747b85;
  color: #FFFFFF;
}
input[type=submit]:hover {
  background-color: #198e1c;  
}
textarea {
  height: 100px;
}
label {
	font-weight: bold;
	margin-top: 10px;
	padding-top: 5px;
	display: inline-block;
}
.messageerror, .formerror {
  color: red;
  font-size: 20px; 
  margin: 0 0 20px 0;
}
.g-recaptcha div {
  margin: auto;
}

@media (max-width:700px) {
  input, textarea, .g-recaptcha {
    width: 100%;
  }
  .contactus_container {
    margin-right: 15px;
  }
  .contactus_form {
    margin-top: 10px;
  }
  .contactus_container {
    display: block;
  }
}

/* Footer */
.footerborder {

}
footer {
  margin-top: 0;
  font-size: 15px;
  color: #333;
}
footer .maincontainer {
  display:flex;
  flex-flow: column;
}

footer h3 {
  font-size: 18px;
  letter-spacing: 0.08em;
  font-weight: bold;
}
.right p, .right h3 {
  text-align: right;
}
.column ul {
  padding: 0;
}
footer .column ul a {

}
.fc2, .fc3, .fc4 {
  width: 200px;
}

footer .social {
  float: right;
}
footer .social li {
  display: inline-block;	
}
footer .social a {
  font-size: 1px;
  text-indent: -9000px;
  background-image: url(/mainimages/social.png);
  background-repeat: no-repeat;
  width: 89px;
  height: 24px;
  display: block;
  padding: 0;
  margin-left: 10px;
  transition: all .3s ease-in-out;
}
.social2 {
  background-position: -97px 0;
}
.social3 {
  background-position: -203px 0;
}
footer .bottommenu {
  font-size: 12px !IMPORTANT;
}

footer .column {
	margin: 0;
}
footer .column a:hover {
  color: #000000;
}

.footcols {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footcols .column {
  flex: 2 1 auto;
}
.footerimages {
  width: auto;
  max-height: 60px;
  margin-left: 5px;
  margin-right: 5px;
}
.colbottom {
	flex: 0 0 30% !IMPORTANT;
}

.footmenu {
  flex: 0;
  margin: 25px 0;
  display: flex;
  width:100%;
}
.footmenu a {
  text-align: center;
  flex: 1;
  font-size: 20px;  
}
.footmenu a:hover {
  text-align: center;
  flex: 1;
  color: #ff7f7f  
}
.footmenuitem_active {
  color: #7fb3ff;
}
.footerspacer {
  flex: 1;
}
.copyright, .legalbit {
  flex: 0;
  font-size: 13px;
}

.showlink {
	margin: 0;
}
.showlink li {
	display: inline-block;
	margin: 10px;
}
.showlink a {
	display: block;
	padding: 20px;
	width: 110px;
	height: 70px;
	background: #65779a url(/mainimages/nav_bg.png) no-repeat bottom right;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	font: normal 22px/1 'SwitzerlandCondensedBold', Arial, Helvetica, sans-serif;
	letter-spacing: -1;
	text-decoration: none;
	text-transform: uppercase;
	color: #fff;
	transition: all .3s ease-in-out;
}
.showlink a:hover {
	background-color: #56575a;
	color: #fff;
    padding-left: 20px;
}



.transparentback {
	background: 0 !IMPORTANT;
	box-shadow: 0 0 0 !IMPORTANT;
}
.showreelimage {
	background: url(/mainimages/photos/16.jpg) no-repeat center;
	background-size: cover;
	width: 100%;
	height: 100%;
	padding: 0 !IMPORTANT;
}
.showreelimage p {
    padding: 8px 11px;
    background-color: #FFFFFFAA;
    display: inline-block;
	margin-top: 192px;
	color: #747b85;
	font-size: 20px;
}
#header {
	display: flex; /* Use flexbox to keep #himg and #tabs on the same line */
	width: 100%;
	background-color: #cacacd00;
	border-radius: 10px;
}
#himg {
	flex-grow: 1; /* Allow #himg to fill the available space */
	height: 261px;
	display: flex; /* Use flexbox to keep the child div centered vertically */
	align-items: center; /* Center the child div vertically */
	padding: 10px;
	background-color: #cacacd;
	border-radius: 10px;
	box-shadow: 1px 2px 5px 0px #0000008c;
	min-height: 268px;
}
#himg div {
    width: 100%; /* Adjust the percentage as needed */
    padding: 0;
    margin: 0; /* Adjust the percentage as needed */
    float: left;
}
#tabs li {
	overflow: hidden;
	transition: width 0.5s;
	flex-shrink: 0; /* Prevent tabs from shrinking when there's not enough space */
	min-height: 268px;
}
#tabs li div {
	width: 0;
	overflow: hidden;
	transition: width 0.5s;
}
#tabs li div p,
#tabs li div a {
	opacity: 0;
	transition: opacity 0.5s;
	padding-left: 20px;
}
#tabs li div a {
	background-color: #FFFFFF;
	color: #747b85;
	display: inline-block;
	margin-left: 20px;
	padding: 5px 10px 2px 10px;
}
.b_home #himg div,
.b_contract #himg div { background-image: url(/mainimages/layup/himg_r1.png) } 
.b_support #himg div { background-image: url(/mainimages/layup/himg_r2.png) } 
.b_maintenance #himg div { background-image: url(/mainimages/layup/himg_r3.png) } 
#navi,
#tabs {
	margin: 0;
	padding: 0;
	float: left;
	flex-grow: 0;
}
.b_home #navi { background: none; }
.b_contract #navi { background-image: url(/mainimages/layup/nav_bg1.png) } 
.b_support #navi { background-image: url(/mainimages/layup/nav_bg2.png) } 
.b_maintenance #navi { background-image: url(/mainimages/layup/nav_bg3.png) } 
#tabs li {
	margin: 0;
	padding: 10px;
	list-style: none;
	width: 50px;
	height: 261px;
	float: left;
	background-position: right top;
	display: flex;
	color: #FFFFFF;
	box-shadow: 1px 2px 5px 0px #0000008c;
}
#hl1 {
	background: url(/mainimages/nav_bg.png) right bottom no-repeat, linear-gradient(to bottom, #7587aa, #5d6e8e);
	background-position: bottom right !IMPORTANT;
    border-radius: 10px;
}
#hl2 {
	background: url(/mainimages/nav_bg.png) right bottom no-repeat, linear-gradient(to bottom, #77a2a4, #628e90);
	background-position: bottom right !IMPORTANT;
    border-radius: 10px;
}
#hl3 {
	background: url(/mainimages/nav_bg.png) right bottom no-repeat, linear-gradient(to bottom, #d1804a, #c0682e);
	background-position: bottom right !IMPORTANT;
    border-radius: 10px;
}
#hl1 .mainlink { background-image: url(/mainimages/layup/h_t1.png); }
#hl2 .mainlink { background-image: url(/mainimages/layup/h_t2.png); }
#hl3 .mainlink { background-image: url(/mainimages/layup/h_t3.png); }
#header .mainlink {
	float: right;
	margin: 0;
	padding: 10px 10px 0 30px;
	font-size: 1px;
	width: 10px;
	height: 238px;
	text-indent: -9000px;
	outline: 0;
	background-repeat: no-repeat;
	background-position: 17px 10px;
}

@media (max-width:780px) {
	#header {
		flex-direction: column;	
	}
	#himg {
		margin-bottom: 10px;
	}
	#tabs li {
		height: 300px;
	}
	.open {
		height: auto !IMPORTANT;
	}
}