/* general stuff */
body{
	margin:0;
	padding:0;
	font-family: 'Lato', sans-serif;
	background: #ccc;
	text-align: left;
	font-size: 16px;
	line-height: 24px;
	color: #222;
	/* border-top:5px solid #000; */
	/* background: #fff url(../images/bg.jpg) top left no-repeat; */
	
}

#background {
    width: 100%; 
    height: 100%; 
    position: fixed; 
    left: 0px; 
    top: 0px; 
    z-index: -1; /* Ensure div tag stays behind content; -999 might work, too. */
}

.stretch {
    width:100%;
    height:100%;
}

a{ 
text-decoration:  none;
color: #107BAD;
font-weight: 500;
}

a:link{color: #000;}
a:visited{color:#000;}
a:active{color:#000;}
a:hover{color:#666;}
strong{font-weight: 600;}
img{
border:none;
display: block;
}

h1{
color: #000;
font-size: 1.8em;
line-height: 1.3em;
font-weight: 400;
margin-top: 0px;
margin-bottom: 20px;
font-weight: 400;
}

h2 {	
	color: #555;
	margin: 15px 0px 0px 0px;
	padding:0;
	font-size: 1.1em;
	line-height: 1.2em;
	font-weight: 700;
	
}


h3 {
font-size: 1.1em;
line-height: 1.3em;
font-weight:700;
margin:20px 0 10px 0;
color: #666666;
}


h4 {
	color: #222;
	font-size: 14px;
	margin: 0px 0 0px 0;
	padding: 0;
}

h5 {
	color: #666;
	font-size: 0.9em;
	margin: 0px 0 0px 0;
	padding: 0;
	font-weight: 600;
}

p {
	margin: 5px 0px 15px 0px;
}

ul{
}

li{	
	margin: 0;
	padding: 0;
}

/* Layout */
/*
#maincontainer{
background: #fff; 

}
*/

#container {
	background: #fff; 
	margin: 0px auto 0;
	padding: 0px 0px 0 0;
	clear: both;

}

#header {
	background:#fff; /* #FDED00;  */
	width:100%;	
z-index: 1;
float: left;
display: block;
/* margin-bottom: 30px; */
}

#header .grid_12{
	position: relative;
	
}

#header ul{position:absolute; bottom: 10px; right:40px; margin-bottom: 5px;}
#header li{display: inline; padding: 0 20px; font-size: 1.1em; border-right: 1px solid #ddd;}
#header li.item-103{border-right: none; padding-right: 0;}
#header li a:link{color: #333;}
#header li a:visited{color: #333;}
#header li a:active{color: #333}
#header li a:hover{color: #666;}

#header li.active a{font-weight: bold;}

.custom.logo{
float: left;
width: 120px;
margin: 10px 0 15px 15px;

}
.custom.logo img{
	border: 1px solid #999;
	
}
.toptext{
float:right;
padding: 10px 0;	
color: #fff;
}
.toptext a{ color: #eeeeee;}
#search{
position: absolute;
bottom: 20px;
right: 0px;
}


.title{display: none;}
.news h3{background-color:#000; color: #fff; padding: 5px 15px; margin-top: 0}
.news h4{ padding:0 15px; line-height: 18px;}
.news p{ padding:0 15px; font-size: 14px; line-height: 18px; margin-bottom: 5px;}
.readmore.btn{ padding:0 15px; font-size: 14px; line-height: 18px; padding-bottom: 20px;clear: both; float: left}
.news{margin-left: 0px;  /* border-top: 1px solid #666;  */}

.contact h3{background-color:#000; color: #fff; padding: 5px 15px; margin-top: 0;}
.contact h4{ padding:0 15px; line-height: 18px;}
.contact p{ padding:0 15px; font-size: 14px; line-height: 18px;
}
.contact{margin-left: 0px;  /* border-top: 1px solid #666;  */}

.rightimage img{border-top: 5px solid #fff; border-bottom: 5px solid #fff;}

#left {
	display: inline;
	float: left;
	padding: 0px;
	 
}

#left a:link{color: #4D4D4D;}
#left a:visited{color:#4D4D4D;}
#left a:active{color:#0D6994;}
#left a:hover{color:#666;}

#left ul{
list-style-image:none;
list-style-position:outside;
list-style-type:none;
margin:40px 0 0;
padding:0px 0 0 30px;
font-size: 1em;
}
#left li {
list-style-image:none;
list-style-position:outside;
list-style-type:none;
margin:0;
padding:5px 0 10px;
}

#left ul li ul{
margin: 5px 0px 0px 20px;
padding: 0px 15px 0 0;
}

#left ul li ul li{
padding: 6px 0px 6px 0px;
font-size: 0.8em;
}

#left ul li.active a{
color:#0D6994;
}

#left ul li.active ul li a{
color:#4D4D4D;
}

#left ul li.current a{
color:#0D6994;
}

#left ul li.active ul li.current a{
color:#0D6994;
}

.customtopimage p{
margin: 0;
}

#submenu{margin: 0px 0 0; background-color: #fff; color: #000;}
#submenu a{color: #000;display: block;border-right: 1px solid #ddd; padding: 0 10px; text-transform: uppercase; font-size: 13px;}
#submenu li.active a{font-weight: bold;}

#submenu ul{list-style: none; margin: 0; padding: 0 0 0 20px; border-top:5px solid #fff;}
#submenu ul li{list-style: none; display: inline; float: left; padding: 15px 0px; }
#submenu ul li.item-111 a{border: none; padding-right: 0;}
#main{
float: left;
padding: 0px;
background-color:#ffea00;
border-top: 5px solid #fff;
width: 100%;
}

#content {
	/* float: left; */
	margin: 0px 0px 0px 0px;
	padding: 30px 20px 40px 20px;
	background-color: #ddd; /* #bfbfbf; */
	border-right: 5px solid #fff;
	min-height: 470px;
}
#content h1{padding: 0px 0px; color: #222; /* background-color: #ffea00; */}
#content p, #content ul{ color: #222;}
.article-info-term{display: none;}
dd.create{margin-left: 0; font-size: 0.8em;}
.article-info.muted{margin: 7px 0 5px 0;}

#content h3{margin-bottom: 8px;}
.items-row {border-bottom: 1px solid #666;}

#content ul{
padding-left: 15px;
margin: 5px 0px 15px 0px;
}

.homeImg{border: 5px solid #fff; margin-bottom: 15px; }
.homeImg img{width: 100%;}

ul.left, ul.right{float: left; width: 45%;}
.gallery h2{
color: #0D6994;
font-size: 1.8em;
line-height: 1.2em;
font-weight: 400;
margin-top: 0px;
margin-bottom: 20px;
}

#main hr{

margin: 15px 0px 15px 0px;
border: 0px;
/*border-top: 1px solid #B2B2B2;*/
background: none;
height: 1px;
background-color: #d3d3d3;
}


#content .greybox {
background-color:#fff;
clear:both;
margin-bottom:10px;
margin-top:10px;
padding:10px 30px;
}



.ui-accordion .ui-accordion-icons{font-size: 1em; padding-right: 10px;}
#accordion hr{margin-top: 0;}
#accordion{border-top: 1px solid #d3d3d3;}
.ui-accordion .ui-accordion-content{border-bottom: 1px solid #d3d3d3; padding-top: 0; padding-right: 10px;}
.ui-accordion-content-active{background-color: #F6FAFD;}
.blog .tags{display: none;}
.searchstart form select {
    border: 1px solid #ddd;
    color: #777;
    font-size: 13px;
    height: 28px;
    line-height: 20px;
    padding: 4px 5px;
    vertical-align: middle;
    float: left;
    margin-right: 10px;
    width:165px;
}
h1.members {margin-bottom: 25px;}
.blog.members h3{margin-bottom: 5px;}
.blog.members h4.ui-accordion-header {
padding-top: 0;
padding-left: 0;
margin-top: -10px;
padding-bottom: 20px;
}


.owl-wrapper .text{position: absolute; bottom:20px; left: 20px; width:auto; height: auto; padding: 10px; background: #000; font-size: 1em; line-height: 1em; color:#fff;  /* opacity: 0.75; filter: alpha(opacity=75); */ font-weight: 400;}
.owl-wrapper .text p {margin: 0;}
.owl-wrapper .text .sml{font-size: 0.6em; line-height: 1em;}
.owl-wrapper img{float: left;}
.owl-item{position: relative;}



#footer {
	clear: both;
	padding: 20px 0 20px;
	background-color: #000;
	font-size: 0.8em;
	line-height: 1.2em;
	color: #fff;
	margin-top: 0px;
	width: 100%;
	border-top: 5px solid #fff;
}
#footer a{
color: #fff;
}

.footer_container{
max-width: 760px;
margin: 0 auto;
font-size: 0.9em;
padding: 10px 0;
}
.footerText{padding: 0 15px;}

.clear {
clear:both;
height:1px;
}

.xmap ul li {
color: #275FAC;
padding-bottom: 5px;
list-style-image: none;
}

.xmap ul li ul li{
list-style-image: none;
}


.xmap {
	width: 560px;
	float: left;
	margin-bottom: 0px;
}

@media screen and (max-width: 800px) {
.header_container, .footer_container{padding-right: 15px; padding-left: 15px;}
#submenu ul {padding: 0;}
#submenu ul li{width: 33%; text-align: center; }
#submenu ul li a{border: none; padding: 0}

}

@media screen and (min-width: 701px) {
.collapse ul.nav.menu {
    display: inline-block !important;
}
}


@media screen and (max-width : 700px) {
.custom.logo{width: 15%; margin: 5px 0 5px 10px; padding: 0;}
.homeImg{border: none; margin-bottom: 15px;}
.homeImg img{border: 5px solid #fff; width: 96%;}

#header .collapse .title {
    display: block;
    font-size: 1.8em;
    line-height: 1em;
    padding: 5px 0 16px 15px;
    text-align: right;
    position: absolute;
    top:10px;
    right:15px;
    z-index: 100;
    
    }
    
#header .collapse .title:before {
 content: "";
    position: absolute;
    top: 30%;
    left:0px;
    width:.75em; 
    height:.125em; 
    border-top: .375em double #666666; 
    border-bottom: .125em solid #666666; 
}
.lines{font-size: 1.6em; display:inline; }
.collapse .title:hover {
    cursor: pointer;
}
#header .collapse ul.nav.menu {
    display: none;
    text-align: center;
    background-color: #fff;
    width:100%;
    position: absolute;
    top:65px;
    left:0;
    border-bottom: 1px solid #ddd;
    z-index:1;
    
}
#header ul li, #left ul li ul li{padding: 0;}
#header li{display: block;}
#header ul a{border: none;}
#header ul{padding: 10px 0; text-align: center; top: 120px; bottom: auto; margin-top: 0;}
#header ul a{margin: 0 15px; display: block; padding: 7px 0; border-bottom: 1px solid #ddd; }
#header ul ul a{border: none;}
#header ul li ul {font-size: 1.1em; margin: 5px 0 0;}

#left .moduletable.rightimage{float: right}
.rightimage img{border: 5px solid #fff;}

#header{margin-bottom: 5px; position: relative;
top:auto;
z-index: 1;}

#content {  margin: 0; border: none; min-height: 100px;}
#container{margin-top: 0;}


}


@media screen and (max-width : 500px) {
.custom.logo{width: 20%; }
.owl-wrapper .text{display:none }
#left ul{top:75px;}
#left .moduletable.rightimage{float: none; display: none}
.rightimage img{border: none;border-top: 5px solid #fff; border-bottom: 5px solid #fff;}
#submenu ul li{width: 50%;  }

}

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

#submenu ul li{width: 100%;  }
}

