/*****************************/
/*** Core html setup stuff ***/
/*****************************/

html {
  height: 100%;
  margin-bottom: 1px;
}

form {
  margin: 0;
  padding: 0;
}


body {
	font-family: Helvetica, Arial, sans-serif;
	line-height: 1.3em;
	margin: 0px;
	font-size: 12px;
	color: #5f5f5f;
}

a:link, a:visited {
	text-decoration: none;
	font-weight: normal;
}

a:hover {
	text-decoration: underline;
	font-weight: normal;
}

input.button { cursor: pointer; }

p { margin-top: 0; margin-bottom: 15px; }

img { border: 0 none; }

/*****************************************/
/*** Template specific layout elements ***/
/*****************************************/
#page_bg {
	padding: 0;
	margin-bottom: 1px;
	
}

div.center {
	text-align: center;
    width: 901px;
}

div#wrapper {
	float: none;
	top: 40px;
	margin-left: auto;
	margin-right: auto;
    width: 901px;
}

.m-wrapper {
  width:100%; 
  margin: 5px;

}


div#bk-bar {
	height: 86px;
	display: block;
	margin-top: 0px;
	margin-bottom: 0px;    
	color: #CCC;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 24px;
	line-height: 28px;
	font-weight: normal;

}

div#gohome, div#gohome a {
	font-size: 1.2em;
      	font-weight: normal;
	color: #666;
	float: left;
	position: absolute;
	top: 4px;
	left: 0px
}

div#phone {
	font-size: 1.3em;
	font-weight: normal;
	color: #666;
	float: right;
	position: absolute;
	top: 7px;
	right: 0px;
}


div#logo {
	height: 106px;
	background-image: url(../images/bayly-logo_2020.jpg);
	background-repeat: no-repeat;
	display: block;
	width: 875px;
	text-align: center;	
	
}

div#newsflash {
	width: auto;
	margin-left: 350px;
	margin-right: 30px;
	border: 1px solid #00f;
}

div#tabarea {
	color: #FFF;
}

div.moduletable-footer, table.moduletable-footer td, div.moduletable-footer_line, table.moduletable-footer_line td{
	padding-left: 0px;
	margin-top: 0px;
    text-align: left;
	vertical-align: top;
	font-size: 12px;
	color: #A6A6A6;
	line-height: 16px;
	
	}
	
div.moduletable-footer_line h3 {
	font-size: 0px;
	line-height: 0px;
	font-weight: lighter;
	color: #FFF;
	border-bottom: 1px solid #CCC;
	margin-top: -20px;
}	
	
div.moduletable-footer h3 {
	font-size: 18px;
	line-height: 28px;
	font-weight: normal;
	color: #666;
	border-bottom: 1px solid #CCC;
	margin-top: -28px;
}	
	
	
div#footer {
	padding-top: 10px;
	margin-top: 20px;
	line-height: 20px;
	margin-left: 15px;
	margin-right: 0px;
	text-align: left;
	float: left;
	display: block;
	width: 100%;
}

div#footer div {
	text-align: left;
	font-size: 0.9em;
	color: #A6A6A6;
	width: 901px;
    margin: 0 auto;

}


ul.newsflash-horiz-footer, ul.newsflash-horiz-footer_line {
	padding-left: 0px;
	margin-left: 0px;
	list-style-position: oustside;
	list-style-type: none;
	width: 100%;
	
}

.newsflash-horiz-footer li, .newsflash-horiz-footer_line li {
	float: left;
	margin: 0px;
	padding-right: 15px;
	text-decoration: none;
	width: 160px;
	display:block; }


.newsflash-horiz-footer li a, table.moduletable-footer a, table.moduletable-footer_line a,
.newsflash-horiz-footer_line li a {
	font-size: 12px;
	font-weight: bold;
	color: #E12F2F;
	text-decoration: none;
	line-height: 28px;	
	width: 160px;
	margin-top: -10px;
	display:block;
}
 
div#footerspacer {
	height: 25px;
    clear: both;
    float:none;
}

#pathway {
	padding: 0px 10px 8px;
	width: auto;
	margin-top: -2px;
	margin-right: 250px;
	text-align: left;
}



#mod_search_searchword {
	 font-size: 10px;
     padding-left: 4px;
}

div.search, div.search-search {
	float: right;
	width:320px;
	margin-top: -33px;
	margin-right: 15px;
	height: 10px;
	text-align:right;
	font-weight: bold;
	vertical-align: top;
}

.inputbox, form#inputbox input {
	margin: 0px 2px 0px 0px;
	line-height: 15px;
	width: 300px;
	border: 1px solid #000;
	padding-top: 2px;
	}
	
.inputbox.search-query, form#inputbox-search input {
	margin: 0px 2px 0px 0px;
	line-height: 15px;
	width: 110px;
	border: 1px solid #CCC;
	padding-top: 2px;
	}
	
	
*html form#inputbox-s input{
	height: 10px;
	}	

.button.btn  {
	border: 0px none #999;
	margin-top: 10px;
	background-color: #FFF;
	font-weight: bold;
	color: #666;
}




form#searchForm input {
	vertical-align: middle;
}

form#searchForm table {
	border-collapse: collapse;
}

form#searchForm td {
	padding:0;
}


#area {
	padding: 0;
}

#whitebox {
	background: #fff;
	width: auto;
	/* Opacity in IE */
	filter: alpha(opacity=60);
	/* Opacity in Mozilla */
	-moz-opacity: 0.6;
	float: left;
	margin-top: 0px;
}

#whitebox div {
	text-align: left;
}


#whitebox_left{
	position: absolute;
	left: 70px;
	top: 18px;	
}

#whitebox_right {
	position: absolute;
	left: 520px;
	top: 22px;
}



#leftcolumn {
	padding: 0px;
	margin: 0px;
	width: 303px;
	float: left;
}

div#leftcolumn,  #leftcolumn div.module {
	padding: 13px 0px 0px 14px;
}

*html div#leftcolumn {

}

#leftcolumn div.module table {
	
}

table.blogmainleft {
	width: 550px;	
	
}

#right{
	padding-left: 15px;
	width: 274px;
	margin-top: 0px;
	margin-left: 8px;
	position: absolute;
	float: left;
	left: 560px;
	top: 538px;
	border-left: 1px solid #CCC;  
}

ul.newsflash-vert {
	margin: 0px;
	padding: 0px;
	list-style-position: inside;
	}


.newsflash-vert li {
	list-style-type: none;
	margin: 0px;
	}
.newsflash-vert p {margin-bottom: 8px;}




#maincolumn_left, div#maincolumn_left {
	width: 557px;
	margin: 0px;
	padding:  0px 0px 0px 8px;
	float: left;
}

#maincolumn, div#maincolumn {
	width: 520px;
	margin: 0px;
	padding: 0px;
	position: absolute;
	/*overflow: auto;*/
	height: 435px;
	float: left;
	left: 355px;
	top: 511px;
}

#maincolumn_full, div#maincolumn_full {
	width: 868px;
	margin: 0px;
	padding: 15px 0px 0px 8px;
	float: left;
}


table.nopad {
	width: 100%;
	border-collapse: collapse;
	padding: 0;
	margin: 10px 0px 20px;
}

table.nopad td.middle_pad {
	width: 20px;
}

/*****************************************/
/*** Joomla! specific content elements ***/
/*****************************************/

div.offline {
	background: #fffebb;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	font-size: 1.2em;
	padding: 5px;
}

span.pathway {
  display: block;
  margin: 0 20px;
  height: 16px;
  line-height: 16px;
  overflow: hidden;
}

/* headers */
div.componentheading {
	padding-bottom: 10px;

}

h1 {
	padding-bottom: 3px;
	margin: 0px;
	font-family: Helvetica ,Arial,sans-serif;
	font-size: 1.3em;
	font-weight: bold;
	color: #000;
	text-align: center;
}

h2, table.contentheading td, .contentheading {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: bold;
	color: #9D9D9D;
	text-align: left;
	width: 100%;
	padding-bottom: 2px;
}

#h2 a, a.h2, a.h2:link, a.h2:hover {color: #9D9D9D;}

#contentpagetitle a, a.contentpagetitle, #contentpagetitle:hover {
	color: #666;
}

table.contentpaneopen h3 {
	margin-top: 25px;
}

h4 {
	font-family: Arial, Helvetica, sans-serif;
	color: #F00;
}
.img_caption.left {margin-right: 1em;}
.item-page h4{ color:#000;}

h3, .componentheading, table.moduletable th, legend , div.componentheading{
	margin: 0;
	font-weight: normal;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1.6em;
	padding-left: 0px;
	margin-bottom: 10px;
	text-align: left;
	color: #666;
}

/* small text */
.small {
	font-size: .90em;
	color: #999;
	font-weight: normal;
	text-align: left;
}

.modifydate {
  height: 20px;
  vertical-align: bottom;
	font-size: .90em;
	color: #999;
	font-weight: normal;
	text-align: left;
}

.createdate {
	height: 20px;
	vertical-align: top;
	font-size: .90em;
	color: #999;
	font-weight: normal;
	vertical-align: top;
	padding-bottom: 5px;
	padding-top: 0px;

}

a.readon, a.readmore, .readmore a:link, #readmore a, p.readmore a:link, p.readmore a:hover, p.readmore a:visited{
	margin-top: -5px;
	margin-right: 10px;
	line-height: 10px;
	font-size: 10px;
	font-weight: bold;
	float: right;
}

/* form validation */
.invalid { border-color: #ff0000; }
label.invalid { color: #ff0000; }


/** overlib **/

.ol-foreground {
	background-color: #f6f6f6;
}

.ol-background {
	background-color: #666;
}

.ol-textfont {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
}

.ol-captionfont {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #f6f6f6;
	font-weight: bold;
}
.ol-captionfont a {
	color: #0B55C4;
	text-decoration: none;
	font-size: 12px;
}

.ol-closefont {}

/* menu links */
.menu {
	margin: 0px;
	padding: 0px;
	font-size: 1.1em;
}

.menu ul, .menu-2, .menu-3 {
	margin: 0px;
	padding: 0px;
	list-style-position: inside;
}

.menu li {
	text-align: center;
	float: left;
	list-style: none;
	margin: 0px;
	text-decoration: none;
}

.menu-2, .menu-3 {
	text-align: left;
	list-style: none;
	margin: 0px;
	text-decoration: none;
}


.menu li a, .menu li a:link, .menu li a:visited  {
	color: #666;
	width: auto;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 20px;
	font-weight: normal;
	text-transform: capitalize;
	padding-right: 15px;
	padding-left: 15px;
	}

.menu li a:hover, a.mainlevel#active_menu {
	text-decoration: none;
}

.menu li.item-11 a, .menu li.item-11.visited a, .menu li.item-11.current.active a {
	padding-right: 15px;
	border-right: #CCC solid 2px;
}


.menu-2 li a, .menu-2 li a:link, .menu-2 li a:visited {
	color: #666;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	width: auto;
	font-weight: normal;
	float: left;
	text-transform: capitalize;
	padding-left: 40px;
	padding-right: 5px;
	margin-top: 0px;
	}
	
	
.menu-3 li a, .menu-3 li a:link, .menu-3 li a:visited  {
	color: #666;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	width: auto;
	float: left;
	font-weight: normal;
	text-transform: capitalize;
	padding-left: 10px;
	padding-right: 30px;

	}	

div#maximenuck.maximenuckh ul.maximenuck { background-color: #ffffff !important;  background-image: none !important;}
div#maximenuck ul.maximenuck li.maximenuck.level1 { background-image: none !important; }


/* spacers */
span.article_separator {
	display: block;
	height: 0px;
	font-size: 0px;
}

.article_column {
	padding-right: 5px;
	padding-left: 0px;
}

.column_separator {
	padding-left:  5px;
	
	border-left: 1px solid #CCC;
}

td.buttonheading {

}

td.buttonheading img {
	border:none;
}

.clr {
	clear: both;
}

td.greyline {
  width: 0px;
  
}

#button, .button, button.btn {
	border: 1px solid #CCC;
	margin-top: 10px;
	background-color: #C33;
	font-weight: bold;
	color: #FFF;
}

button.btn { display: block; padding: 8px; margin: 0px 10px; width: 160px; }

.result-text  {margin-bottom: 30px;}

.member_button {
	background: transparent url(../images/member.png) no-repeat 0px 0px;
	float: left;
	height: 35px;
	width: 237px;
	border: thin none;
	font-size: 12px;
	font-weight: bold;
	padding-left: 38px;
	padding-top: 10px;
	
}

a#member_button, a#member_button:link, a#member_button:visited a#member_button:hover {
	color: #000;
	text-decoration: none;
}

.member_login {
	height: 35px;
	width: 150px;
	border: thin none;
	font-size: 12px;
	font-weight: bold;
	padding-left: 8px;
	padding-top: 0px;
	background-color: transparent;
	background-image: url(../images/button-bk.png);
	background-repeat: no-repeat;
	background-position: 0px 0px;
}


div#maindivider {
  border-top: 1px solid #ddd;
  margin-bottom: 10px;
  overflow: hidden;
  height: 1px;
}

table.blog span.article_separator {
	display: block;
	height: 0px;
	
}

/* edit button */
.contentpaneopen_edit{
	float: left;
}


div.menu_left{	

	padding-top: 0px;
	margin: 0px;
	width: 280px;
	display: block;
	text-align: left;
	height: 27px;
	font-size: 20px;
    background:	transparent;
		
	}
div.maximenuckh ul.maximenuck li.maximenuck {  list-style-type: none;  margin: 0px!important; }	
div.maximenuckh ul.maximenuck li.maximenuck a { font-weight: normal}	

li.maximenuck.item27.parent.first.level1 {padding-right: 8px; border-right: 2px solid #CCC; display: inline-block; height: 26px; }

div#maximenuck ul.maximenuck li.parent.item27.level1 a,
div#maximenuck ul.maximenuck li.parent.item27.level1 span {margin-right: 5px; }
div#maximenuck ul.maximenuck li.level1 span {color: #666 !important;}	

li.maximenuck.item37.parent.level1 { padding-left: 8px; display: inline-block; height: 26px; }

div#maximenuck ul.maximenuck li.parent.item37.level1 a,
div#maximenuck ul.maximenuck li.parent.item37.level1 span {margin-left: 5px; border-right: none 0px;}

div.maximenuckh ul.maximenuck li ul.maximenuck2 { background: #FFF; padding: 8px; font-size: 0.7em; opacity: 0.8; min-width: 160px;}



div#maximenuck div.maximenuck2 li.maximenuck.level2 a { padding: 8px; }

	
div.moduletable-menu_right {
	padding-top: 12px;
	margin: 0px;
	width: 226px;
	display: block;
	text-align: right;
	height: 27px;
	padding-left: 40px;
	}

div#sub-menu{
	display: block;
	height: 19px;
	width: 875px;

}



div#left-side{
	padding: 0px;
	margin-top:2px;
	text-align: left;
    height: 10px;
	float: left;
	width: 460px;
	}

div#right-side{
	padding: 0px;
	margin-top: 2px;
	text-align: right;
    height: 10px;
	float: right;
	width: 410px;
	}





/* table of contents */
table.contenttoc {
  margin: 5px;
  border: 1px solid #ccc;
  padding: 5px;
  float: right;
}

table.contenttoc td {
  padding: 0 5px;
}


/* content tables */
td.sectiontableheader {
	background: #efefef;
	font-weight: bold;
	padding: 4px;
	border-right: 1px solid #FFF;
	color: #FFF;
	
}

tr.sectiontableheader th {text-align: left;}


tr.sectiontableentry0 td,
tr.sectiontableentry1 td,
tr.sectiontableentry2 td {
	padding: 4px;

}

td.sectiontableentry0,
td.sectiontableentry1,
td.sectiontableentry2 {
  padding: 3px;
}

td.sectiontableentry2 {
	background-color: #F7F7F7;
}

/* content styles */
table.contentpaneopen, table.contentpane, .leading-0 {
	margin: 0;
	padding: 0;
	width: 100%;
}

table.contentpaneopen li, .item-page li {
	margin-bottom: 5px;
}

table.contentpaneopen fieldset {
	border: 0;
	border-top: 1px solid #ddd;
}

table.contentpaneopen h3 {
	margin-top: 25px;
}

table.contentpaneopen h4 {
	font-family: Arial, Helvetica, sans-serif;
	color: #333;
}

.highlight {
	background-color: #fffebb;
}

/* module control elements */

table.contentpaneopen-news {
	width: 100%;
}

div.moduletable-news img{
	margin: 0;
	padding-right: 15px;

}

div.moduletable-news ul {
	list-style-position: outside;
	list-style-type: none;
	margin-left: 0px;
    padding-left: 0px;
}

.block div ul{
	
}





table.user1user2 div.moduletable {
	margin-bottom: 0px;
}

div.moduletable, div.module {
  margin-bottom: 0px;
}

div.module_menu h3 {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #9D9D9D;
	margin: 0px;
	padding-left: 10px;
	padding-bottom: 2px;
}

div.module_menu {
	padding: 0;
	display: block;
	margin: -22px 0px 15px 2px;
}
*html div.module_menu{
	margin: -25px 0px 15px 2px;
	
}
div.module_menu div div div {
	padding: 0px;
	width: auto;
}

div.module_menu div div div div {
	background: none;
	padding: 0px;
}

div.module_menu ul {
	margin: 0px 10px 0;
	padding-right: 0px;
	list-style-type: none;
	text-align: right;
	list-style-position: outside;
}

div.module_menu ul li a:link, div.module_menu ul li a:visited {
	color: #FFF;
	float: right;
	height: 21px;
	width: 223px;
	line-height: 18px;
  
}


/* forms */
table.adminform textarea {
  width: 540px;
  height: 400px;
  font-size: 1em;
  color: #000099;
}





form#form-login fieldset { border: 0 none; margin: 0em; padding: 0.2em;}
form#form-login ul { padding-left: 20px; }

form#com-form-login fieldset { border: 0 none; margin: 0em; padding: 0.2em;}
form#com-form-login ul { padding-left: 20px; }

/* thumbnails */
div.mosimage         {  margin: 5px; }
div.mosimage_caption {  font-size: .90em; color: #666; }

div.caption       { padding: 0 10px 0 10px; }
div.caption img   { border: 1px solid #CCC; }
div.caption p     { font-size: .90em; color: #666; text-align: center; }

/* Parameter Table */
table.paramlist {
	margin-top: 5px;
}

table.paramlist td.paramlist_key {
	width: 128px;
	text-align: left;
	height: 30px;
}

table.paramlist td.paramlist_value {
}

div.message {
	font-family : "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size : 14px;
	color : #c30;
	text-align: center;
	width: auto;
	background-color: #f9f9f9;
	border: solid 1px #d5d5d5;
	margin: 3px 0px 10px;
	padding: 3px 20px;
}

/* Banners module */


/* Default skyscraper style */
.bannergroup {
}


div#slidewrap {
	 height: 403px;
	 display: block;
 }

div#banner{
	width: 875px;
	padding: 0px;
	margin: 0px;
}

.banneritem img {
	width: 875px;
	margin: 0px auto;
}

/* Text advert style */

div.banneritem {
	padding-top: 17px;
    padding-left: 4px;
    padding-bottom: 23px;
	font-size: 26px;
	font-weight: bold;
	line-height: 30px;
	color: #000;
    text-align: center;
}
span.banneritem_text1 {
	color: #C33;
}

.banneritem p , .banneritem p {
	font-family: Helvetica, Arial, sans-serif;
	line-height: 1.3em;
	margin: 0px;
	font-size: 12px;
	color: #5f5f5f;
	font-weight: normal;
	text-align: left;
}

.banneritem_text0 {
	padding: 0px 4px;
	margin-top: 0px;
	margin-bottom: 15px;
	font-size: 26px;
	font-weight: bold;
	line-height: 30px;
	color: #000;
}

.bannerfooter_text {
	padding: 5px 4px 6px;
	font-size: 11px;
	text-align: center;
}

/* System Messages */
/* see system general.css */



/* Polls */
.pollstableborder td {
	text-align: left;
}

/* WebLinks */
span.description {
	display:block;
	padding-left: 30px;
}

/* Frontend Editing*/
fieldset {
	border: 1px solid #ccc;
	margin-top: 15px;
	padding: 15px;
}

legend {
	margin: 0;
	padding: 0 10px;
}

td.key {
	border-bottom:1px solid #eee;
	color: #666;
}

/* Tooltips */

.tool-tip {
	float: left;
	background: #ffc;
	border: 1px solid #D4D5AA;
	padding: 5px;
	max-width: 200px;
}

.tool-title {
	padding: 0;
	margin: 0;
	font-size: 100%;
	font-weight: bold;
	margin-top: -15px;
	padding-top: 15px;
	padding-bottom: 5px;
	background: url(../../../system/images/selector-arrow.png) no-repeat;
}

.tool-text {
	font-size: 100%;
	margin: 0;
}

/* System Standard Messages */
#system-message { margin-bottom: 20px; }

#system-message dd.message ul { background: #C3D2E5 url(../../../system/images/notice-info.png) 4px center no-repeat;border-top: 3px solid #DE7A7B; border-bottom: 3px solid #DE7A7B; margin:0px; padding-left: 40px; text-indent:0px;}

/* System Error Messages */
#system-message dd.error ul { color: #c00; background: #E6C0C0 url(../../../system/images/notice-alert.png) 4px center no-repeat; border-top: 3px solid #DE7A7B; border-bottom: 3px solid #DE7A7B; margin:0px; padding-left: 40px; text-indent:0px;}

/* System Notice Messages */
#system-message dd.notice ul { color: #c00; background: #EFE7B8 url(../../../system/images/notice-note.png) 4px center no-repeat; border-top: 3px solid #F0DC7E; border-bottom: 3px solid #F0DC7E; margin:0px; padding-left: 40px; text-indent:0px;}

#syndicate{
	float:left;
	padding-left: 25px;
}

#power_by{
	float: none;
	color: #000;
	font-size: 10px;
}

/* Component Specific Fixes */
.captionDiv {display: none !important;}

#component-contact table td {
	padding: 2px 0;
}


/* -------------------   news styles ----------------------------------------- */
div.newsitem { display: block; margin-top: 20px;}

div.newsitem h1 { color: #545454; font-size: 14pt; font-weight: bold; text-align: left;  margin-bottom: 20px;}

div.newsitem h2 { color: #5F5F5F; font-size: 12pt; font-weight: bold; }

div.newsitem h3 { color: #545454; font-size: 12pt; font-weight: bold; }

div.newsitem strong { color: #808080; font-size: 10pt; font-weight: bold;}

div.newsitem a { color: #545454; }

div.newsitem h3 a { color: #545454; font-size: 12pt; font-weight: bold;}


