@font-face {
	font-family: 'open-sans';
	src: url('../fonts/OpenSans-Light.ttf');
}

@font-face {
	font-family: 'twcen';
	src: url('../fonts/TWCEN.TTF');
}
@font-face {
	font-family: 'twcen';
	font-weight: bold;
	src: url('../fonts/TWCENB.TTF');
}


* {
	margin: 0;
	padding: 0;
}

html, body {
	position: relative;
	background-color: #eff9ef;
	margin: 0;
	width: 100%;
	height: 100%;
}

body.waiting {
	cursor: progress !important;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
}

p, ul.maincontent li {
	font-family: 'open-sans', sans-serif;
	text-align: center;
	color: #4e4e4e;
}

h1 {
	font-size: 2.5rem;
	text-align: center;
	color: black;
}

h2 {
	padding: 0.5rem;
	font-weight: normal;
	font-size: 2em;
	text-align: center;
	color: #58585a;
}

#mainwrapper, #footer {
	width: 1100px;
}

#mainwrapper {
	position: relative;
	margin: 0 auto;
	min-height: 100%;
	display: block;
	background: #ffffff;
	border-right: 2px #4e4e4e solid;
	border-left: 2px #4e4e4e solid;
}

#mainwrapper a{
	color: #f07e13 !important;
}

#header {
    color: #fff;
	background-color: #58585a;
	margin: 0 auto;
}

#footer {
	background-color: #4e4e4e;
	margin-top: -80px;
	margin-left: auto;
	margin-right: auto;
	height: 80px;
	padding-top: 10px;
	position: relative;
	clear: both;
}

#footer p {
	color: #fff;
}

#footer a {
	color: #f7941e !important;
}

#frame {
	display: block;
	margin: 0 auto;
	padding-top: 0.5rem;
	padding-bottom: 80px;
	overflow: auto;
}

body.divframe {
	background-color: #ffffff;
	margin: 0 auto;
}

div.tablediv {
	display: block;
	margin: 0 auto;
}

.marquee {
	color: #ffffff;
	margin-top: 0;
	padding-bottom: 15px;
}

.center {
	display: block;
	margin: 0 auto;
}

.col {
	float: left;
}

div.dhtmlx_window_active, div.dhx_modal_cover_dv { 
	position: fixed !important; 
}

/*********** Customer Page ***********/

#applicationhouse {
	height: 480px;
	margin-left: 30px;
	margin-top: 10px;
}

div.application {
	margin: 10px;
	float: left;
}

form.application {
	margin: 10px;
	width: 70%;
	border-radius: 2px;
}

form.application > div {
	height: 75px;
}

#buttonbar {
	width: 100px;
	height: auto;
	float: right;
	background-color: #fefefe;
	border: 1px solid #e4e4e4;
	border-radius: 2px;
	margin-top: 20px;
	margin-right: 20px;
	padding-bottom: 5px;
}

#buttonbar > button.button {
	margin-top: 5px;
	float: right;
	width: 90px;
}

/*********** Menu Start ***********/

.wrapper {
	display: block;
	margin: 0 auto;
}

#navwrap {
	margin: 0 auto;
	background-color: #58585a;
	width: 100%;
	text-align: center;
	border-bottom: 2px solid #e4e4e4;
}

#navwrap ul {
	list-style: none;
	position: relative;
	margin: 0 auto;
	padding: 0;
}

#navwrap ul a {
	display: inline-block;
	color: #fff !important;
	text-decoration: none;
	font-family: 'open-sans', sans-serif;
	font-size: 25px;
	padding: 10px 15px;

}

#navwrap ul li ul li a {
	font-size: 16px;
}

#navwrap ul li {
	display: inline-block;
	position: relative;
	margin: 0;
	padding: 0;
	-o-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

#navwrap ul li.current-menu-item {
	background: #f7941e;
}

#navwrap ul li.hoverstate {
	background: #f7941e;
}

#navwrap ul li.current-menu-item.hoverstate {
	background: #f5ae5b;
}

#navwrap ul ul {
	display: block;
	visibility: hidden;
	opacity: 0;
	position: absolute;
	top: 100%;
	left: 0;
	background: #666;
	padding: 0;
	z-index: 2;
	-o-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

#navwrap ul ul li {
	float: none;
	width: 100%;
	border-bottom: 1px solid #fefefe;
}

#navwrap ul ul a {
	line-height: 120%;
	padding: 10px 15px;
}

/*#navwrap ul ul ul {
	top: 0;
	left: 100%;
}*/

#navwrap ul li.hoverstate > ul {
	visibility: visible;
	opacity: 1;
}

/*********** Forms ***********/

form.smoothform {
	display: block;
	margin: 10px auto;
	overflow: hidden;
	background: #fcfcfc;
	border: 1px solid #e4e4e4;
	border-radius: 3px;
	font-size: 0;
	font-family: 'open-sans', sans-serif;
	max-width: 875px;
}

form.smoothform div.darkened {
	background: #fefefe;
}

form.smoothform div.darkened label.sflabel {
	color: black;
}

form.smoothform > div > label.sflabel {
	display: block;
	padding: 10px 18px 7px;
	vertical-align: top;
	font-size: 1.4rem;
	font-weight: bold;
	text-transform: uppercase;
	color: #58585a;
}

form.smoothform > div > label.textarea {
	padding-top: 12px;
	padding-bottom: 17px;
}

form#custaddform > div.switch > label {
	padding: 16px 20px 13px;
}

.col-1, .col-2, .col-3, .col-4, .col-34 {
	border-bottom: 1px solid #e4e4e4;
}


form#custaddform > div > .col-4 {
	height: 86px;
}

label.sflabel > input.sfinput {
	display: inline-block;
	position: relative;
	width: 100%;
	height: 30px;
	line-height: 27px;
	margin: 5px -5px 0;
	padding: 7px 5px 3px;
	border: none;
	outline: none;
	color: #555555;
	font-family: 'open-sans', sans-serif;
	font-weight: bold;
	font-size: 1.3rem;
	opacity: 0.9;
	transition: all linear 0.2s;
}

label.sflabel > textarea.expandtext {
	display: inline-block;
	position: relative;
	width: 100%;
	height: 27px;
	line-height: 27px;
	margin: 5px -5px 0;
	padding: 7px 5px 3px;
	border: none;
	outline: none;
	color: #555555;
	font-family: 'open-sans', sans-serif;
	font-weight: bold;
	font-size: 1.3rem;
	resize: none;
	opacity: 0.9;
	transition: all linear 0.2s;
}

label.sflabel > textarea.expandtext:focus {
	opacity: 1;
	height: 81px;
}

form.smoothform > div.col-submit {
	text-align: center;
	padding: 10px;
	width:100%;
}

label.sflabel > select.sfselect {
	display: block;
	width: 100%;
	padding: 0;
	color: #555555;
	margin: 15px 0 5px;
	background: transparent;
	border: none;
	outline: none;
	font-family: 'open-sans', sans-serif;
	font-size: 1.3rem;
	opacity: 0.9;
	transition: all linear 0.2s;
}

label.sflabel > input[type=number].nospin::-webkit-inner-spin-button, 
label.sflabel > input[type=number].nospin::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

input.radiobutton {  
	margin-right: 10px !important;
	width: 25px;
}

label.sflabel > .radiotext {
	padding-top: 10px;
	width: 100%;
	display: inline-flex;
}

label.sflabel > input:focus, label.sflabel > select:focus {
	opacity: 1;
}

label.sflabel > button.linecontrol {
	width: 25px;
	height: 25px;
	margin: 0 auto;
	vertical-align: middle;
	font-size: 10px;
}

.buttonlinecontrol {
	text-align: center;
}

form.smoothform > div.product2, form.smoothform > div.product3, 
form.smoothform > div.product4, form.smoothform > div.product5, 
form.smoothform > div.product6, form.smoothform > div.product7, 
form.smoothform > div.product8, form.smoothform > div.product9, 
form.smoothform > div.product10, form.smoothform > div.product11, 
form.smoothform > div.product12 {
	display: none;
}

form.smoothform > div.discount1, form.smoothform > div.discount2, 
form.smoothform > div.discount3, form.smoothform > div.discount4 {
	display: none;
}

div.space {
	background: #f9cf75;
	border-top: 1px solid #e4e4e4;
	height: 5px;
	width: 100%;
}

.nestedinputstyle {
	border: none;
	background: none;
}

.nestedinputstyle:focus {
	background: #fff;
}

input[type=number].nestedinputstyle {
	width: 60px;
	text-align: right;
}

.clearstyleinput:disabled {
	border: none;
	background: none !important;
}

/*********** Buttons ***********/

button.button {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #F7941E), color-stop(1, #D47421) );
	background:-moz-linear-gradient( center top, #F7941E 5%, #D47421 100% );
	background-color: #f7941e;
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#F7941E', endColorstr='#D47421');
	border: 1px solid #ad5f1b;
	border-radius: 2px;
	font-family: 'open-sans';
	color:#fff !important;
	font-size: 16px;
	font-weight: normal;
	text-decoration: none;
	text-align: center;
	overflow: hidden;
	margin: 0 3px;
	width: 125px;
	padding: 5px;
	outline: none;
	transition: all linear 0.1s;
}

button.button:hover:enabled {
	text-decoration: none;
	border-color: #7F4614; 
	background: none; 
	background-color: #4e4e4e;
}

button.button:disabled {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #666), color-stop(1, #888) );
	background:-moz-linear-gradient( center top, #666 5%, #888 100% );
	opacity: 0.6;
	border-color: #fff;
}

/* Galaxy S5 */
@media screen and (device-width: 360px)  and (device-height: 640px) and (-webkit-device-pixel-ratio: 3) {
	#mainwrapper, #footer {width: 100%; min-width: auto;}
	#navwrap ul li { display: inline-table; }
	#navwrap ul li a { font-size: 2.5rem; }
	p { font-size: 2rem; }

	form > div > label { font-size: 1.6rem; }
	label > input { font-size: 1.6rem; }
	label > select { font-size: 1.6rem; }
}

@media only screen and (min-device-width: 380px) {
	form.smoothform > div { display: inline-block; vertical-align: top;}
.col-submit { display: block; box-shadow: 0px -1px #e4e4e4;}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-34 { box-shadow: -1px -1px #e4e4e4; border: none; height:85px}

	.col-1 { width: 100%; }
	.col-2 { width: 50%; }
	.col-3 { width: 33.33333333%; }
	.col-4 { width: 25%; }
	.col-5 { width: 20%; }
	.col-34 { width: 75%; }
}