BODY {
	min-height:100%;
	background: #876b3e;
	font-size: 18px; 
	line-height:1.5;
	font-family: 'Alegreya', serif;
	color: #d2d2d2;
	padding-bottom:70px;
}

TD, TH {
	padding:8px;
}

IMG,EMBED,OBJECT,VIDEO {
	max-width: 100%;
	height:auto !important;		
}

IFRAME {
	max-width: 100%;
}

H1 { 
	clear:both;
	font-size: 36px; 
	padding-top:0px; 
	padding-bottom:15px; 
	margin:0px; 
	color:#e0d1b6;
	text-transform:uppercase;
	text-align:left;
}
	
H2 { 
}

H3{

}

HR { 
	margin:0px; 
	padding:0px; 
	border:0px;
	height:1px; 
	background-color: #cccccc; 
}

INPUT, SELECT { 
	vertical-align:middle; 
	border: 1px solid #cccccc; 
	background-color: #FFFFFF; 
	color: #000000; 
	padding:6px;
}

TEXTAREA { 
	border: 1px solid #cccccc; 
	background-color: #FFFFFF; 
	color: #000000; 
	padding:6px;	
}

INPUT:focus, INPUT:active, TEXTAREA:focus, TEXTAREA:active, SELECT:focus, SELECT:active {
	border:1px solid #666666;
}

INPUT[type="submit"]	{ 
	cursor:pointer; 
	vertical-align:middle; 
	margin-bottom: 2px;
	margin-top: 2px; 
	border: 0px none;
	background: #e0d1b6; 
	border: 1px solid #e0d1b6; 	
	color: #ffffff; 
	padding:6px;	
	transition: all 0.2s ease-in-out;		
}

INPUT[type="submit"]:hover	{ 
	background:#467ec7;
}

.bootstrap-select{
	width:100%;
}

INPUT[type="checkbox"].styled, INPUT[type="radio"].styled {
	margin:0px;
	margin-right:10px;
	border: 1px solid #275899; 
	width:15px;
	height:15px;	
   outline:0px none;
	padding:1px;
}

LABEL{
	font-weight:normal;
}

A { 
	color: #e0d1b6; 
	text-decoration: none; 
	transition: all 0.2s ease-in-out;		
}

A:hover { 
	color: #ffffff; 
	text-decoration: none; 
}


#menu1, #menu1 * {
	margin: 0;
	padding: 0;
	list-style: none;
	z-index: 898;	
}

#g_menu{
	margin:auto;
	font-weight:400;
}

#menu1 {
	display:block;
	margin:0px;
	padding:0px;
}

#menu1 LI {
	position: relative;
	white-space: normal;;
	*white-space: normal;	
}

#menu1 UL LI {
	white-space: normal;
	text-align:left;
}

#menu1 UL {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	z-index: 999;
}

#menu1 > LI {
	float: none;
	clear:both;
}

#menu1 UL UL {
	top: 0;
	left: 100%;
}

#menu1 LI:hover > UL,
#menu1 LI.sfHover > UL {
	display: block;
}

#menu1 A {
	display: block;
	position: relative;
	zoom: 1;	
	text-decoration: none;	
}

#menu1 A.item1 {
	color:#061010;
	padding:15px;
	padding-left:70px;
	padding-right:20px;
	font-size:24px;
	transition: all 0.2s ease-in-out;	
}

#menu1 LI:last-child A.item1 {
	border-right:0px none;	
}

#menu1 A.item1:hover,
#menu1 LI.sfHover A.item1,
#menu1 LI.sfHover A.current,
#menu1 LI.current A.item1{
	color:#4e2b01;
}

#menu1 A.item2 {
	color:#ffffff;
	background:#188dea;
	font-weight:normal;
	font-size:14px;
	text-align:left;	
	padding:10px;	
	border-bottom:1px solid #5fadeb;	
	border-top:0px none;	
	transition: all 0.2s ease-in-out;	
}

#menu1 A.item2:hover {
	color:#ffffff;
	background:#1085e2;
	transition:none;
}

#mobnav-btn {
	display: none;
	font-weight: normal;
	background:#1085e2;
	color: white;
	padding: 10px;
	text-align:left;
	cursor: pointer;	 
	font-size:18px;
}

#mobnav-btn DIV{
	float:left;
	width: 22px;
	margin-top:5px; margin-right:10px;
}

#mobnav-btn SPAN{
	background-color: #ffffff;
	display: block;
	float:left;
	width: 22px;
	height: 2px;
	line-height: 2px;
	margin-top: 4px;
}

#mobnav-btn SPAN:first-child{
	margin-top: 0px;
}

.mobnav-subarrow {
    display: none;
}


#d_menu{
	clear:both;
	padding:15px;
	padding-left:30px;
}

#d_menu UL{
	list-style-type:none;
	display:table;
	padding:0px;
	margin:0px;
}

#d_menu LI{
	list-style-type:none;
	display:block;
	padding:0px;
	margin:0px;
	float:left;
}

#d_menu A{
	display:block;
	height:20px;
	line-height:20px;
	padding-left:10px;
	padding-right:10px;
	font-size:14px;
	color:#c4c4c4;
	border-left:1px solid #c4c4c4;
}

#d_menu A:hover{
	color:#ffffff;
}

#d_menu LI:first-child A{
	border-left:0px none;
}

#foot{
	clear:both;
	background:#f8fbfd;
	padding-top:15px;
	overflow-y:auto;
}

#foot0{
	width:1200px;
	max-width:98%;
	margin:auto;
	font-size:13px;
	color:#616c7e;
}

#foot0 A{
	color:#616c7e;
}

#foot0 A:hover{
	color:#000000;
}

#foot1{
	float:left;
	text-align:left;
	padding-bottom:15px;		
}

#foot2{
	float:right;
	text-align:right;
	padding-bottom:15px;	
}

#profiler {
	text-align:left;
}

#profiler .panel-heading{
	text-align:left;
	background:#597c97;
}

#profiler H6.panel-title{
	display:block;
}

#profiler H6.panel-title A{
	color:#ffffff;
	display:block;
	cursor:pointer;
	text-transform:uppercase;
}


#l_menu{
	clear:both;
}

#l_menu .l_item1{
	color:#ffffff;
	background:#00bac2;
	display:block;
	padding:8px;
	border-bottom:1px solid #ffffff;
	font-size:16px;
}

#l_menu .l_item1:hover, #l_menu .l_item1.active{
	opacity:0.8;
}


#l_menu .l_item2{
	color:#000000;
	background:#b3ebed;
	display:block;
	padding:8px;
	border-bottom:1px solid #ffffff;
	font-size:15px;
	padding-left:20px;
}

#l_menu .l_item2:hover, #l_menu .l_item2.active{
	opacity:0.8;
}

/* slider examle */

#slider{
	width:100%;
	padding-top:60px;
}

#slider_img{
	width:100%;
}

.slider_el{
	width:100%;
	overflow:hidden;
	background-position:top left;
	background-repeat:no-repeat;
}

#slider_naw{
	padding-top:18px;
	clear:both;
}

#naw{
	display:table;
	padding:0px;
	margin:auto;
	list-style-type:none;
	float:none;
}

#naw LI{
	display:block;
	padding:0px;
	margin:0px;
	list-style-type:none;
	padding-left:8px;
	padding-right:8px;
	float:left;
}

#naw LI A{
	display:block;
	float:left;
	width:8px;
	height:15px;
	overflow:hidden;
	background:url('../img/s1.png') left top no-repeat;
}

#naw LI A.activeSlide, #naw LI.activeSlide A {
	background-image:url('../img/s2.png');
}

#wwwsite{
	width:1200px;
	max-width:100%;
	margin:auto;
}

#top1{
	width:230px;
	float:left;
}

#top2{
	width:740px;
	float:left;
	max-width:100%;
}

#top3{
	width:230px;
	float:left;
}

#maincontent{
	clear:both;
	width:100%;
	display:table;
}

#maincontent2{
	width:100%;
	display:table-row;
}

#maincontent2 >DIV{
	display:table-cell;
	vertical-align:top;
}


#left_k{
	width:230px;
	background:#dfd8bc url('../img/lefk_k.jpg') top left repeat-y;
}

#right_k{
	width:230px;
	background:#dfd8bc url('../img/right_k.jpg') top left repeat-y;
}

#center_k{
	width:740px;
	background:#341c00;
}

#maincontent3{
	padding:40px;
}

#dol{
	clear:both;
	border-top:4px solid #ffffff;
	background:#4e2b01;
	width:100%;
	display:table;	
}

#dol0{
	width:100%;
	display:table-row;
	background:#4e2b01;	
}

#dol0 >DIV{
	display:table-cell;
	vertical-align:top;
}

#dol1{
	width:230px;
	background:#dfd8bc url('../img/dol1.gif') top left repeat-y;
}

#dol3{
	width:230px;
	background:#dfd8bc url('../img/dol3.gif') top left repeat-y;
}

#dol2{
	width:740px;
}

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

	#colorbox, div.toplayer #cboxWrapper {
		width:100% !important;
	   max-width:100%;
	}

	#colorbox DIV{
	   max-width:100%;
	}

	#facebook_pan {
	    background:#3b5998;
	    float: none;
	    padding: 0;
	    position: static;
	    right: auto;
	    top: auto;
	    width: 100%;
	    z-index: 1;
	}	
	
	#facebook_pan2 {
	    margin-left: 0px;
		 overflow:hidden;
	}	
	
	
	#top1_1, #top1_2{
		float:none;
		clear:both;
		width:auto;
		text-align:center;
	}		
	
	#foot1, #foot2{
		float:none;
		clear:both;
		width:auto;
		text-align:center;		
	}	
	
	#dol3, #dol1{
		display:none !important;
	}
	
	#top3, #top1{
		display:none !important;
	}
	
	#right_k{
		display:none !important;
	}
	
	#left_k{
		width:100%;
		float:none;
		display:block !important;		
	}
	
	#center_k{
		width:100%;
		float:none;	
		display:block !important;		
	}
	
	#dol2{
		width:100%;
		display:block !important;
	}
	
	#top2{
		width:100%;
		display:block !important;	
	}
	
	#dol,#dol0,#maincontent,#maincontent2{
		display:block !important;
	}

	
}

@media only screen and (max-width: 768px) and (min-width: 481px) {

	#colorbox, div.toplayer #cboxWrapper {
		width:100% !important;
	   max-width:100%;
	}

	#colorbox DIV{
	   max-width:100%;
	}

	#facebook_pan {
	    background:#3b5998;
	    float: none;
	    padding: 0;
	    position: static;
	    right: auto;
	    top: auto;
	    width: 100%;
	    z-index: 1;
	}	
	
	#facebook_pan2 {
	    margin-left: 0px;
		 overflow:hidden;
	}		
	

	#top1_1, #top1_2{
		float:none;
		clear:both;
		width:auto;
		text-align:center;
	}		
	
	#dol3{
		display:none !important;
	}
	
	#top3{
		display:none !important;
	}
	
	#right_k{
		display:none !important;
	}
	
	#dol1{
		width:35%;
		max-width:230px;
	}
	
	#dol2{
		width:65%;
	}
	
	#top1{
		width:35%;
		max-width:230px;
	}
	
	#top2{
		width:65%;
	}
	
	#left_k{
		width:35%;
		max-width:230px;
	}	
	
	#center_k{
		width:65%;
	}		
		

}

@media only screen and (max-width: 1199px) and (min-width: 769px) {

	#colorbox, div.toplayer #cboxWrapper {
		width:100% !important;
	   max-width:100%;
	}

	#colorbox DIV{
	   max-width:100%;
	}
	
	#dol3{
		display:none !important;
	}
	
	#top3{
		display:none !important;
	}
	
	#right_k{
		display:none !important;
	}
	
	#wwwsite{
		width:970px;
	}


}

@media print {

	* {
		background: transparent !important;
		color: #000 !important; /* Black prints faster: h5bp.com/s */
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a, a:visited {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	pre,blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	thead {
		display: table-header-group; /* h5bp.com/t */
	}

	tr,img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	@page {
		margin: 0.5cm;
	}

	p,h2,h3 {
		orphans: 3;
		widows: 3;
	}

	h2,h3 {
		page-break-after: avoid;
	}

}