/*
Projekt:
Wärmebau Vertriebs AG
www.wbvag.ch
Start: 21.06.2013
Letzte Aenderung: 21.06.2013

/*Farbkonzept
Orange: #fdb824;
dukelgrau: #494847;
haarlinien: #eae9e9;
*/
/* Begin: Reset */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* End: Reset */
/* Start: Globales */
html {
  font-size: 100%;
  font-family: "Helvetica Neue", sans-serif;
  color: #494847;
  background-color: white;
}
/* Start: Links */
a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
}
a:link {
  color: white;
}
a:visited {
  color: white;
}
a:hover {
  color: #E30513;
}
a:active {
  color: white;
}
a:focus {
  outline: 1px dotted white;
  border-bottom: 1px solid transparent;
}

.column2-content a:link {
	color: #494847;
}
.column2-content .sub-nav-one.teaser-box a {
	color: #fff;
}
.column2-content .sub-nav-one.teaser-box a:hover {
	color: #494847;
}
.column2-content a:hover {
	color: #e30513;
}

.mitarbeiter-details a {
	color: #494847;
	}
	
.mitarbeiter-details a:hover {
	color: #E30513;
	}
/* Start: Text */
p {
  font-size: 14px;
  font-size: .875rem;
  line-height: 1.3;
  padding: 1em 0;
}

.orange {
color: #FDB824;
}


h1 {
font-weight: 500;
font-size: 22px;
color: #489EDC;
text-transform: uppercase;
}

h1 span {
	 font-weight: 500;
 }
 
h4 {

	text-transform: uppercase;
	font-size: 1.125rem;
	font-weight: 300;
} 

.picture-overlay-text, h2 {
  font-size: 18px;
  font-size: 1.125rem;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 500;
}

h1 a,
h1 a:link,
h2 a:visited {
	color:#494847;
}


h3 {
  font-size: 14px;
  font-size: .875rem;
  line-height: 1.2em;
  text-transform: uppercase;
  font-weight: 400;
}
hr {
  width: 160px;
  height: 4px;
  text-align: left;
  margin-left: 0;
  margin-top: 4px;
  border: solid 0px #fdb824;
  background-color: #fdb824;
}
ul {
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.3;
}
small {
  font-size: 12px;
  font-size: .750rem;
  line-height: 1;
}
span {
 /* color: #fdb824; ??? 
  padding-right: 5px;*/
}


hr.grey {
	background-color: #eae9e9;
	height: 1px;
	width: 100%;
	margin-bottom: 2.55em;
    margin-top: 2.8em;
    
}
/* End: Globales */
/* Begin: Generell: Layout-inner */
#border-inner,
#masthead-inner,
#mastmain-nav-innerx,
#gallery-inner,
#content-inner,
#content-inner-one,
#content-inner-two,
#footer-inner {
 /* margin: 0 auto;
  width: 1020px;
  padding: 0 30px;
  overflow: hidden;
  clear: both;
  */
  /* background-color: #f7f2e8; */
 padding-top: 30px;
  padding-bottom: 30px;
}

#masthead-inner {
	  padding: 20px 30px;
}

#border-inner ul li a:hover {
	color:#e30513;
	
}


.tinymcewysiwyg h5 {
	color: #E01021;
	text-transform: uppercase;
	margin-bottom: 5px;
	margin-top: 40px;
}

.tinymcewysiwyg ul.special  {
	list-style: inside;
	list-style-type: square;
	/*color:#FDB824;*/
	margin-left: 20px;
}
.tinymcewysiwyg ul.special  li {
	font-size: 0.875rem;
    line-height: 1.3;
    
   }
   
a.btn {
	   background: none repeat scroll 0 0 #fdb824;
    color: #ffffff !important;
    cursor: pointer;
    display: inline-block;

    font-family: "Helvetica Neue",sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    padding: 8px 10px;
    text-transform: uppercase;
    width: auto;
}
   
a.btn:hover {
	 background: #494847;
}   

/* End: Generell: Layout-inner */
/* Start: Generell Template */
#header-top {
  width: 100%;
  overflow: visible;
  background: #fff  url(../../theme/img/bg.png) top left repeat-x;
}
/* Oranger Balken oben */
#border-top {
  width: 100%;
  height: 20px;
  background-color: #fdb824;
}
/* Navigation: Deutsche / Italiano */
.top-nav {
  font-size: 13px;
  font-size: .813rem;
  line-height: 1;
  margin-top: 3px;
  display: block;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
 
}
.top-nav li {
  display: inline;
  border-left: solid 2px white;
  padding: 0 .8em 0 1.2em;
}
.top-nav li:last-child {
	
}

.top-nav li:first-child {
  border-left: none;
}
/* Logo */
#logo {
 	 display: block;
    float: left;
    text-indent: -9999px;
    width: 330px;
}
#logo img {
	width: 100%;
	height: auto;
	display: block;
}
/*
body.lang2 #logo img {
	background: url("../../theme/img/logo_it.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}
*/


#logo_old {    
   background: rgba(0, 0, 0, 0) url("../../theme/img/logo_old.png") no-repeat scroll 0 0;
    display: block;
    float: right;
    height: 20px;
    margin-left: 40px;
    margin-top: 30px;
    text-indent: -9999px;
    width: 280px;
    
}


#header-badge {

    display: block;
    float: left;
    margin-left: 50px;
    text-indent: -9999px;
    width: 151px;
    
    }
#header-badge img {
	width: 100%;
	height: auto;
	display: block;
}
p.headertel,
p.headertel a {
	color: #e30513;
    display: block;
    font-weight: bold;
    text-align: right;
    text-decoration: none;
    text-transform: uppercase;
    outline: none;
}

p.headertel a:hover {
	color: #fdb824;
}

/* Start: Hauptnavigation */
#main-nav {
/*   overflow: hidden; */
  border-top: solid 1px #eae9e9;
  border-bottom: solid 1px #eae9e9;
}
#main-nav ul {
  list-style: none;
  background-color: white;
  margin: 5px 0;
}
#main-nav li {
  display: inline-block;
  vertical-align: middle;
  border-left: 1px solid #eae9e9;
  line-height: 1;
  padding: 5px 10px;
}
#main-nav ul ul {
	width: 100%;
	top: 53px;
	left: 0;
	position: absolute;
	z-index: 99999;
	background: rgba(255, 255, 255, 0.8);
}



#main-nav ul ul li {
	display: block;
	padding: 5px 0;
	text-align: center;
	border: none;
}
#main-nav ul ul li:last-child {
	padding: 5px 0;
}
#main-nav ul ul li:first-child {
	padding: 5px 0;
}
#main-nav ul ul li a {
	text-align: left;
	font-size: 12px;
	padding: 3px 5px;
	line-height: 16px;
}

#main-nav ul li.rex-article-27 a {
	color: #e30513;
	font-weight: bold;
}

#main-nav ul .heizzentralen-site {
  padding: 0px 50px;
}
#main-nav li a {
  font-size: 14px;
  font-size: .875rem;
  font-weight: 500;
  display: block;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
#main-nav li:first-child {
  border-left: none;
  padding-left: 0px;
}

#main-nav li:last-child {
  padding-right: 0px;
}


#main-nav li a:link {
  color: #494847;
}
#main-nav li a:visited {
  color: #494847;
}
#main-nav li a:hover {
  color: #E30513;
  background: transparent;
}
#main-nav li a:active {
  color: #494847;
}
#main-nav li a.rex-active,
#main-nav li a.rex-current {
  color: #fdb824;
  padding-bottom: .2em;
  border-bottom: solid 4px #fdb824;
}

#main-nav ul ul li a.rex-active,
#main-nav ul ul li a.rex-current {
  color: #fdb824;
  padding-bottom: .2em;
  border-bottom: none;
}

.slideout-menu ul li a {
	 font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1rem;
    padding: 15px 0 15px 15px;
    text-transform: uppercase;
    color: #333;
}
.slideout-menu ul ul li a {
	font-size: 0.875rem;
    padding: 5px 0 5px 30px;
    font-weight: 300;
    color: #fff;
}
.slideout-menu {
	padding-top: 30px;
}

/* End: Hauptnavigation */
/* End: Generell Template */
/* Begin: Gallery */
#gallery {
  width: 100%;
  padding-top: 10px;
   padding-bottom: 10px;
}
#slider {
  float: left;
  width: 810px;
}
#thumbs {
  float: left;
  width: 180px;
  padding: 15px;
  background-color: #eae9e9;
}
.thumbnails {
  line-height: 1;
  font-size: 0;
}
.thumbnails li {
  margin-bottom: 0;
  padding-bottom: 15px;
}
.thumbnails li:last-child {
  padding-bottom: 0px;
}
/* End: Gallery */
/* Start: Home-Template */

.mainContentWrapper div.contentwrap-3boxes {
  padding: 15px 0;
  border-top: solid 1px #eae9e9;
/*  border-bottom: solid 1px #eae9e9; */

}

.mainContentWrapper div.contentwrap-3boxes:nth-last-child(1) {
  background: url(/theme/img/bg-bottom.png) bottom left repeat-x;
}

.column1-home.column1-home-wide {
 
}


.column1-home,
.column2-home,
.column3-home,
.column4-home,
.column5-home,
.column6-home {

  padding: 18px 20px 15px 20px;
}
.column4-home,
.column5-home,
.column6-home {
  padding: 18px 20px 60px 20px;
}
.column2-home,
.column3-home,
.column5-home,
.column6-home {
  border-left: solid 1px #eae9e9;
}
/* Buttons: Download, Weiterlesen, Weiter, Ansehen */
.button {
  text-transform: uppercase;
  font-weight: 500;
  float: right;
  display: block;
  background-color: #fdb824;
  padding: 6px 12px 8px 12px;
  /*   padding: 8px 12px; */

}

.button:hover {
	background-color: #494847;
	color: white; 
}

.column4-home img,
.column5-home img {
  padding-bottom: 30px;
}
/* Begin: column5-home */
.column5-home p {
  font-size: 14px;
  font-size: .875rem;
  font-weight: 500;
  text-transform: uppercase;
}
.contact-infos {
  font-size: 12px;
  font-size: .875rem;
  font-weight: 500;
  padding-top: 1em;
}
.contact-infos li {
  color: #fdb824;
  width: 140px;
}
.contact-infos li:last-child {
  margin-top: .8em;
}
.contact-infos span {
  color: #fdb824;
  float: right;
}
.contact-infos a:link,
.contact-infos a:visited,
.contact-infos a:hover,
.contact-infos a:link {
  color: #fdb824;
}
/* End: column5-home */
/* Begin: column6-home */
.sub-nav-one,
.sub-nav-two {
  padding-bottom: 1.15em;
  border-bottom: solid 1px #eae9e9;
  overflow: hidden;
   padding-top: 1.5em;
}

/*Pfeile-Buttons*/
.sub-nav-one a,
.sub-nav-two a {
  padding: 5px 6px 4px 8px;
  float: right;
  display: block;
  background-color: #fdb824;
}
.sub-nav-one a {
  margin-top: 10px;
}
.sub-nav-two a {
  margin-top: 2px;
}
.group {
  float: left;
  clear: both;
  width: 255px;
  display: block;
  color: #494847;
  cursor: pointer;
}
.newsletter {
  padding-top: 1.5em;
}
.newsletter h1,
.newsletter h2 {
  color: #fdb824;
}


.column2-content div.teaser-box:first-child {
		padding-top:0px;
}

.column2-content div.teaser-box:last-child {
		border-bottom: 0px solid;
}

/*OK-Button*/
.newsletter a {
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 15px;
  padding: 10px 8px 10px 12px;
  float: right;
  display: block;
  color: white;
  background-color: #fdb824;
}
/* End: column6-home */
/* End: Home-Template*/
/* Begin: Template-Content*/
#contentwrap {
  background: url(../../theme/img/bg-bottom.png) bottom left repeat-x;
  width: 100%;
  padding: 15px 0;
  border-top: solid 1px #eae9e9;
  border-bottom: solid 1px #eae9e9;
}
.column1-content {
  
  /*679px - 30px padding = 649px // 649px - 1px border-right=648px*/

  padding-right: 30px;
  border-right: solid 1px #eae9e9;
}
.column2-content {

  padding: 20px 0 0 30px;
}
/*Begin: column3-content*/
.column3-content {

  padding: 30px 30px 30px 0px;
  border-right: solid 1px #eae9e9;
}
.column3-content h1 + h2 + p {
  padding-bottom: 1.5em;
  padding-top: 1.5em;
  font-weight: 500;
}
.column3-content h2 + h3 {
  padding-top: 0;
}
.column3-content h3 {
  padding-top: 2em;
 
}
.column3-content p {
  padding: .3em 0 1.2em 0;
}

.column3-content p a {
text-decoration: none;
color: #fdb824; }

.column3-content p a:hover {
text-decoration: none;
color: #e30513; }

.column3-content h2 a {
text-decoration: none;
color: #494847; }

.column3-content h3 a:hover {
text-decoration: none;
color: #e30513; }




.column3-content .tinymcewysiwyg ul li {
	font-size: 0.875em;
	list-style: square;

	line-height: 2em;
}


.column3-content h4 {
  font-weight: bold;
  font-size: 0.875em;
  line-height: 1.2em;
  text-transform: uppercase;
}

/*End: column3-content*/
/*Begin: column4-content*/
.column4-content {
  padding: 30px 0px 30px 30px;
}
.employee {
  overflow: hidden;
  padding: 1em 0 .5em 0;
  border-bottom: solid 1px #eae9e9;
}
.employee:first-child {
  padding-top: 0;
}
.employee img {
  float: left;
  margin-right: 8px;
  margin-top: 8px;
}
.employee p {
  display: inline-block;
  padding-top: 55px;
  line-height: 1;
}
.employee:nth-child(1) p,
.employee:nth-child(2) p {
  display: inline-block;
  padding-top: 68px;
}
/*End: column4-content*/
/* Begin: Footer */
#footer-bottom {
  width: 100%;
  overflow: visible;
  padding: 15px 0;
  background-color: #fdb824;

}
#footer-inner .column1,
#footer-inner .column2,
#footer-inner .column3 {

  color: white;

  padding: 8px 20px;
}
.column2,
.column3 {
  border-left: solid 1px #eae9e9;
}
#footer-inner h3 {
  font-weight: 600;
  padding-bottom: .5em;
}
#footer-inner h3,
#footer-inner p,
.contact-details,
.information {
  font-size: 14px;
  font-size: .875rem;
}
#footer-inner p {
  padding: .3em 0;
}
.contact-details {
  padding: .7em 0 .2em 0;
}
.contact-details span {
  color: white;
}
/* End: Footer */

.mitarbeiter {
	margin-bottom: 25px;
	padding-bottom: 25px; 
	border-bottom: 1px solid #EAE9E9;
}

.mitarbeiter:last-child {
	border-bottom: 0px;
}
.mitarbeiter .mitarbeiter-details .mitarbeiter-text {
	float: left;
    padding-left: 7px;
    position: relative;
    vertical-align: bottom;
    width: 165px;
}


.mitarbeiter .mitarbeiter-details .mitarbeiter-text .mitarbeiter-bottom {
	position: absolute;
	bottom: 0px;
}

.mitarbeiter .mitarbeiter-details .mitarbeiter-text p {

 margin: 0px;
  padding: 5px 0 0 0;
	
  font-size: 12px;
  font-size: .750rem;
  line-height: 1.2em;

}


.mitarbeiter-image {
	float: left;
	margin-right: 5px;
}

.column4-content a {
	color: #494847;
}

.column4-content a:hover {
	color: #e30513;
}

.mapText h2 {
	margin-top: 33px;
}


.mapText a h2,
.mapText a h3 {
	color: #333;
}

.mapText span {
	
	display: block;
	float: left;
	margin-bottom: 4px;
}



table.reftable {
	
	text-align: left;
	width: 100%;
}

table.reftable tr {
	height: 30px;
	line-height: 30px;
	border-bottom: 1px solid #EAE9E9
	
	
}



table.reftable th {
	
	text-align: left;
	
}


table.reftable td {
	font-size:12px;
	
	
}




table.reftable tr.tableizer-firstrow {
border: none;
	}


table.tableanlagen {

	text-align: left;
	width: 100%;
}

table.tableanlagen tr {
	height: 25px;
	line-height: 25px;
	border-bottom: 1px solid #EAE9E9
	
	
}


table.tableanlagen td {
	font-size:12px;
	
	
}


table.tableanlagen tr.tableizer-firstrow {
border: none;
	
	
}

table.tableanlagen th {
	color: #fdb824;
	font-size: 12px;
	line-height: 12px;
	text-align: left;
}

table.tableanlagen th span {
	display: block;
	color: #fdb824;
	text-align: left;
}

table.tableanlagen h3 {
	font-size: 12px;
}


.subnavi-box {
	border-bottom: 1px solid #EAE9E9;
    overflow: hidden;
    padding-bottom: 2.15em;
    margin-bottom: 2.15em;
}

.subnavi-box .subnavi-box-left {

}

.subnavi-box .subnavi-box-right {

}
.subnavi-box img {
	max-width: 100%;
}
.subnavi-box p {
	padding: 0;
}

.subnavi-box p a,
.subnavi-box p a:visited {
 color: #494847;
    display: block;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2em;
    padding: 4px;
    text-transform: uppercase;
    width: 146px;
    }
.subnavi-box p a:hover {
	color: #E30513;
}

.subnavi-box h3 {
	border-bottom: 4px solid #FDB824;
    color: #494847;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.2em;
    margin-bottom: 5px;
    padding-bottom: 3px;}



.picture {
	position: relative;
}
.picture img {
	max-width: 100%;
	width: 100%;
}
.picture .picture-overlay {
/*   display: none; */
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #009DE6;
}

.picture .picture-overlay .picture-overlay-text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.picture:hover .picture-overlay {
/* 	display: block; */
	opacity: 1;
}




.formgen {

 
	
}

.formgen .formhinweis {
	font-size: 10px;
    font-weight: 400;
    line-height: 0.6em;
    margin-bottom: 10px;
    margin-top: 15px;
    text-transform: uppercase;
    font-family: "Helvetica Neue", sans-serif;
}

.formgen label {
	display: inline-block;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.2em;
    margin-bottom: 3px;
    width: 290px;
    font-family: "Helvetica Neue", sans-serif;
}

.formgen textarea,
.formgen input,
.formgen select {
	margin-bottom: 3px;
	font-family: "Helvetica Neue", sans-serif;
	width: 100px;
}

.formgen textarea {
	 border: none;
	 padding:  4px;
	 width: 580px;
	 max-width: 90%;
	 background: #eee;
}
.formgen input {
	background: none repeat scroll 0 0 #EEEEEE;
    border: medium none;
    display: inline-block;
    padding: 6px;
    width: 280px;
    font-family: "Helvetica Neue", sans-serif;
    color: #494847;
    font-size: 12px;
    margin-bottom: 5px;}

.formgen input.formcheck,
.formgen input.formradio {
	width: 20px;
}

.formgen .checkspan label {
	font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.2em;
    padding-bottom: 15px;
    text-transform: uppercase;
    width: 500px;
    color: #FDB824;
    font-family: "Helvetica Neue", sans-serif;}

.forminfo {
	border: 2px solid #df1020;
    font-family: "Helvetica Neue",sans-serif;
    font-size: 12px;
    margin: 20px 0;
    padding: 10px;
    width: 90%;
	
}
.formgen input.error-req {
		border: 2px solid #df1020;
}
.formgen .formsubmit {
	background: none repeat scroll 0 0 #FDB824;
    color: #FFFFFF;
    cursor: pointer;
    display: block;
    float: right;
     font-family: "Helvetica Neue", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin: 30px 40px 10px;
    padding: 8px 10px;
    text-transform: uppercase;
    width: 150px;
  
    
    }
    
 .formgen .formsubmit:hover {
	 background: #494847;
 }   
    
.formblock_nl .formsubmit {

	margin-left: 0;
	margin-right: 0;
	float: none;
	clear: both;
	
}


.formgen .hinweis {
	display: none;
}
/*
.formgen label[for="el_31"]{
	width: 513px;
	padding-top: 20px;
}
*/

.checkboxgroup {
	margin: 0px 0px 12px 0;
}
.checkboxgroup .formheadline {
	 font-family: "Helvetica Neue",sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.2em;
    margin-bottom: 15px;
}

.checkboxgroup .checkspan label {
	margin: 0;
	padding: 0;
	  color: #494847;
	  text-transform: none;
}


.formgen label[for="el_32"]{
	padding-top: 20px;
}

.offertanfrage {
padding-top: 30px;
	
}

form#doform171 {
	 font-family: "Helvetica Neue", sans-serif;
	 }


.slideshow {
	margin-bottom: 25px;
}

ul.thumbs {
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.thumbs li {
	float: left;
	margin: 0 3px 2px 0;
	display: block;	
	line-height: 1em !important;
}

ul.subnavi-anlagen {
	margin: 0;
	padding: 0;
}
ul.subnavi-anlagen li {
	padding-bottom: 10px;
}

ul.subnavi-anlagen a span {
	margin-right: 5px;
	color: #fdb824;
	padding-right: 5px
}
ul.subnavi-anlagen a,
ul.subnavi-anlagen a:visited {
	color: #494847;
	display:block;
font-size:	12px;
font-weight:	700;

}

ul.subnavi-anlagen a:hover {
	color: #E01021;
}


#mapcontainer {
	height: 401px;
	width: 100%;
}

a.trigger-mobile {
	display: none;
	color: #FDB824;
}
a.trigger-mobile i {
	font-size: 38px;
	color: #FDB824;
}
.slideout-menu {
	display: none;
}

@media only screen and (max-width : 1190px) {
	
	#main-nav li {
		padding: 5px 10px;
	}
	
}

@media only screen and (max-width : 992px) {

	#gallery .column1-content {
		padding-right: 0;
		border-right: none;
	}
	
	#gallery .column1-content .picture img {
		width: 100%;
	}
	
	#gallery .column2-content {
		padding-left: 0px;
	}
	
	#contentwrap .column3-content {
		padding-left: 0px;
		padding-right: 0px;
		border-right: none;
	}
	
	#contentwrap .column4-content {
		padding-left: 0px;
		padding-right: 0px;
	}
	
	.subnavi-box img {
		width: 100%;
	}
	
	.formgen textarea,
	.formgen input {
		width: 100%;
		max-width: 100%;
	}

	#logo {
		width: 250px;

	}
	#header-badge {
		width: 117px;
	}
	
	#logo_old {
		margin-left: 0px;
		margin-top: 11px;
	}
	
	#mastmain-nav-inner .nav {
		display: none;
	}
	
	a.trigger-mobile {
		display: block;
	}
	#mastmain-nav-inner {
		display: none;
	}
	
	.column1-home  , .column2-home, .column3-home, .column5-home, .column6-home {
		border: none;
		padding-left: 0;
		padding-right: 0;
	}
}

@media only screen and (max-width : 768px) {	
	
	#footer-inner .column1, #footer-inner .column2, #footer-inner .column3 {
		padding-left: 0;
		padding-right: 0;
		border: none;
	}
	#logo_old {
		display: none;
	}
	
	

}

@media only screen and (max-width : 650px) {
	.showcase-content .showcase-thumbnail {
		display: none;
	}
}


@media only screen and (max-width : 635px) {
	
	#header-badge {
		display: none;
	}
	
	#masthead-inner {
	    padding: 20px 0;
	}
	
}

@media only screen and (max-width : 470px) {
	
	#header-badge {
		display: none;
	}
	#masthead-inner .headertel {
		position: absolute;
		top: 20px;
		right: 20px;
	}
	
	#masthead-inner #logo {
	    width: 150px;
	}
}

.tinymcewysiwyg img {
	width: 100%;
}

/* panel */

body {
  width: 100%;
  height: 100%;
}

.slideout-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 256px;
  min-height: 100vh;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  z-index: 99990;
  display: none;
  background: #FDB824;
}

.slideout-menu-left {
  left: 0;
}

.slideout-menu-right {
  right: 0;
}

.slideout-panel {
  position: relative;
  z-index: 1;
  will-change: transform;
  background-color: #FFF; /* A background-color is required */
  min-height: 100vh;
}

.slideout-open,
.slideout-open body,
.slideout-open .slideout-panel {
  overflow: hidden;
}

.slideout-open .slideout-menu {
  display: block;
}



/* Preload images */
body:after {
  content: url(../img/close.png) url(../img/loading.gif) url(../img/prev.png) url(../img/next.png);
  display: none;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: black;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 0.8;
  display: none;
}

.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
}

.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  position: relative;
  background-color: white;
  *zoom: 1;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
}

.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-container {
  padding: 4px;
}

.lb-loader {
  position: absolute;
  top: 43%;
  left: 0;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}

.lb-cancel {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  background: url(../img/loading.gif) no-repeat;
}

.lb-nav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}

.lb-container > .nav {
  left: 0;
}

.lb-nav a {
  outline: none;
  background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}

.lb-prev, .lb-next {
  height: 100%;
  cursor: pointer;
  display: block;
}

.lb-nav a.lb-prev {
  width: 34%;
  left: 0;
  float: left;
  background: url(../img/prev.png) left 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.lb-nav a.lb-prev:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-nav a.lb-next {
  width: 64%;
  right: 0;
  float: right;
  background: url(../img/next.png) right 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.lb-nav a.lb-next:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-dataContainer {
  margin: 0 auto;
  padding-top: 5px;
  *zoom: 1;
  width: 100%;
  -moz-border-radius-bottomleft: 4px;
  -webkit-border-bottom-left-radius: 4px;
  border-bottom-left-radius: 4px;
  -moz-border-radius-bottomright: 4px;
  -webkit-border-bottom-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-data {
  padding: 0 4px;
  color: #ccc;
}

.lb-data .lb-details {
  width: 85%;
  float: left;
  text-align: left;
  line-height: 1.1em;
}

.lb-data .lb-caption {
  font-size: 13px;
  font-weight: bold;
  line-height: 1em;
}

.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 1em;
  font-size: 12px;
  color: #999999;
}

.lb-data .lb-close {
  display: block;
  float: right;
  width: 30px;
  height: 30px;
  background: url(../img/close.png) top right no-repeat;
  text-align: right;
  outline: none;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.lb-data .lb-close:hover {
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}


/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}
.sf-menu li {
	position: relative;
}
.sf-menu ul {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	z-index: 99;
}
.sf-menu > li {
	float: left;
}
.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
	display: block;
}

.sf-menu a {
	display: block;
	position: relative;
}
.sf-menu ul ul {
	top: 0;
	left: 100%;
}


/*** DEMO SKIN ***/
.sf-menu {
	float: left;
	margin-bottom: 1em;
}
.sf-menu ul {
	box-shadow: 2px 2px 6px rgba(0,0,0,.2);
	min-width: 12em; /* allow long menu items to determine submenu width */
	*width: 12em; /* no auto sub width for IE7, see white-space comment below */
}
.sf-menu a {
	border-left: 1px solid #fff;
	border-top: 1px solid #dFeEFF; /* fallback colour must use full shorthand */
	border-top: 1px solid rgba(255,255,255,.5);
	padding: .75em 1em;
	text-decoration: none;
	zoom: 1; /* IE7 */
}
.sf-menu a {
	color: #13a;
}
.sf-menu li {
	background: #BDD2FF;
	white-space: nowrap; /* no need for Supersubs plugin */
	*white-space: normal; /* ...unless you support IE7 (let it wrap) */
	-webkit-transition: background .2s;
	transition: background .2s;
}
.sf-menu ul li {
	background: #AABDE6;
}
.sf-menu ul ul li {
	background: #9AAEDB;
}
.sf-menu li:hover,
.sf-menu li.sfHover {
	background: #CFDEFF;
	/* only transition out, not in */
	-webkit-transition: none;
	transition: none;
}

/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul {
	padding-right: 2.5em;
	*padding-right: 1em; /* no CSS arrows for IE7 (lack pseudo-elements) */
}
/* styling for both css and generated arrows */
.sf-arrows .sf-with-ul:after {
	content: '';
	position: absolute;
	top: 50%;
	right: 1em;
	margin-top: -3px;
	height: 0;
	width: 0;
	/* order of following 3 rules important for fallbacks to work */
	border: 5px solid transparent;
	border-top-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
	border-top-color: rgba(255,255,255,.5);
}
.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
	border-top-color: white; /* IE8 fallback colour */
}
/* styling for right-facing arrows */
.sf-arrows ul .sf-with-ul:after {
	margin-top: -5px;
	margin-right: -3px;
	border-color: transparent;
	border-left-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
	border-left-color: rgba(255,255,255,.5);
}
.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
	border-left-color: white;
}


nav .inner {
	padding-bottom: 150px;
}


.title-module h4 {
	font-size: 14px;
  font-size: .875rem;
  line-height: 1.4em;
  text-transform: uppercase;
  font-weight: 400;
	
}

.title-module hr {
border: solid 0px #489EDC;
background-color: #489EDC;
	
}