/* CSS Document 


highlight orange: #FF9900

*/

html, body, .container, .page_content {
	height:100%;
}
* html .container {
	/*margin-left: -960px;*/
	position: relative;
}

.content {
	height:auto;
}

body {
	color: #252F43;
	margin: 0px 10px 0px 10px;
	padding: 0;
/* 	font: 1em/1.2em arial,helvetica,sans-serif;*/
}
hr {
	border-style: solid;
	border-width:2px;
	border-style: solid;
	border-top:0;
	margin-top:0;
	margin-bottom:5px;
}
a {
	text-decoration:none;
}

a:hover {
/*  color: #FF9900; */
  color: #252F43;
  text-decoration:none;  
}

.full-width {
	width:100%;
}
.gm-style-iw {
    height: 170px;
    width: 200px;
}

/*
.halfTone {
    /* Fallback for web browsers that don't support RGBa */
     background-color: rgb(0, 0, 0);
     /* RGBa with 0.5 opacity */
     background-color: rgba(0, 0, 0, 0.5);
     /* For IE 5.5 - 7*/
     filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
     /* For IE 8*/
     -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
	
}
*/
.full-width {
	width:100%;
}
.content {
	padding: 0px;
	margin: 0;
}

#tower_details {
	width:60%;
	float:left;
}
#nearest_towers {
	width:35%;
	float:right;
}


form {
	padding:10px;
	border: 1px solid #cccccc;
	background-color:#f6f6f6;
	margin-bottom:20px;
	clear:both;
}

.width1 {
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
	text-align: left;
}

/* END OF STUFF FOR LAYOUT */

#topBar {
    padding:5px;
    margin: 0;
	color: #FFFFFF;
	font-size: 75%;
	font-family: Arial, Helvetica, sans-serif;
}
#topBar .left {
 float: left;
}
#topBar .right {
 float: right;
}
#topBar a:link {
 color: #ffffff;
}
#topBar a:visited {
 color: #ffffff;
}
#topBar a:hover {
 color: #ffffff;
}
#topBar a:active {
 color: #ffffff;
}
#header { 
/*    width: 55%;
    height: 150px;
	margin-bottom:10px;*/
	overflow:hidden;

}

#header img {
 border: none;
 width:60%; 
 margin-top:20px;
}
#logo {
    float: left;
}
#title { 
    height: 25px;
    padding-left: 5px;
    
    }
#title span {
    display: none;
    }
	
#mainNav {
    float: left;
    width: 100%;
    height: 40px;

}
#mainNav ul { 
    clear: both;    
    margin: 0;
    padding: 0;
    float: left;
    list-style: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.96em;
	background:#2B54AA;
	height:40px;
	width:100%;

}
#mainNav li {
    float: left;
	width:20%;
	border-right:1px solid white;
	border-bottom:1px solid white;
	height:100%;
	text-align:center;
}

#mainNav li:hover ul {
    display: block;
}
#mainNav li:hover ul li ul {
    display: none;
}
#mainNav li:hover ul li:hover ul li ul {
    display : none;
}
#mainNav li:hover ul li:hover ul li:hover ul li ul {
    display : none; 
}

#mainNav li:hover ul li:hover ul li:hover ul li:hover ul {
/*    display : none; */
}

#mainNav a {
    text-decoration: none;
    color: #FFFFFF; 
    display: block; 
	margin-top:10px;
    height:100%;
}

#mainNav a:hover {
    color: #252F43;
    height:100%;
}

#mainNav ul li ul > li:hover {
    background-color: #CAD4EA;
/*    position:static;*/
}

#mainNav .active {
	padding: 0 0.5em ;
    line-height: 2.1em;
    text-decoration: none;
    color: #FF9900; 
    float: left;
    display: block;
}

/* extra code for drop down menus */
@media (max-width: 440px) {

   #mainNav ul.association, #mainNav ul.shop, #mainNav ul.history, #mainNav ul.justfor, #mainNav ul.brf {
       display: none;
   }
}
#manNav li ul li {
    float:none;
}
#mainNav li ul {
    display:none;
    clear:both;
    position:absolute;
    float:left;
    list-style: none;
    margin-top:-10px;
    width:260px;
}

#mainNav ul li ul li:hover ul {
    display:block; 
}

#mainNav ul li ul li:hover ul li:hover ul {
    display:block;
}
#mainNav ul li ul li:hover ul li:hover ul li:hover ul {
    display:block;
}
#mainNav ul li ul li, #mainNav ul li ul li ul li {
    color:white;
    background-color: #2B54AA;
    width:100%;
    height:40px;
    z-index:999;
    position:relative;
}

#mainNav ul li ul li ul,  #mainNav ul li ul li ul li ul {
    margin-left: 100%;
    margin-top: -50px; 
    border-top: 1px solid white;
}

#title_bar {
	background-color:#2B54AA;
	color:white;
	height: 60px;
	padding:1%;
	text-align:left;
	font-size: 2.2vw;
	border-bottom: 1px solid white;
	border-top: 1px solid white;
}
	
#branchNav {
/*	width:100%;
	height:35px; */
	overflow:hidden;

}
#branchNav ul { 
/*	min-width:74%;
	float:left;*/
    margin: 0;
    padding: 0;
    list-style: none;
/*    text-transform: uppercase; */
    font-weight: bold;
/*    font-size: 0.96em;
	border-top:1px solid #eeeeee;
    border-bottom:1px solid #eeeeee;
	border-right: 1px solid #eeeeee;*/	

}
#branchNav li {
    float: left;
	border-right: 1px solid #eeeeee;
	border-top:1px solid #eeeeee;
	border-bottom: thick solid white;  
	padding-left:1%;
	padding-right:1%;
}

#branchNav a {
    padding: 0 0.5em ;
    line-height: 2.1em;
    text-decoration: none;
    color: #333333; 
    float: left;
    display: block;
}

#branchNav a:hover {
    color: #252F43;
}

#branchNav .active {
	padding: 0 0.5em ;
    line-height: 2.1em;
    text-decoration: none;
    color: #FF9900; 
    float: left;
    display: block;

}
#branchNav li ul { /* second-level lists */
	position: absolute;
	margin-left:-1.5em;
	margin-top:2.2em;
	width: 260px;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}
#branchNav li:hover ul ul, #branchNav li.sfhover ul ul {
	left: -999em;
}
#branchNav li:hover, #branchNav li.hover {
   position: static; 
}
#branchNav li:hover ul, #branchNav li li:hover ul, #branchNav li.sfhover ul, #branchNav li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;	
	background-color:black;
}

#branchNav li ul li {
/*	border-top: 1px solid #E9F3EE; */
	width: 260px;	 
/*	border: thin inset #ccc; */
	margin: 0px;

		}

#sidebarright {
	width: 160px;
	padding: 10px;
	float: right;
	font-size: 75%;

}
    #pageContent {
        border-left: 1px solid #333333;
        border-right: 1px solid #333333; 
        float: left;
        width: 100%;
		background: #FFFFFF url(images/pageBg1.png) repeat-y;
    }
	#pageContentIndex {
	border-left: 1px solid #333333;
        border-right: 1px solid #333333; 
        float: left;
        width: 100%;
		background: #FFFFFF url(images/pageBg.png) repeat-y;
	}
    
#pageContent p {
    padding-left: 270px;
	padding-right: 15px;
    padding-top: 1em;
	padding-bottom: 1em;
    margin: 0;
}

#pageContent h1 {
 padding-left: 270px;
 font-size:1.4em;
 font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
    font-weight: 300; 
}
#pageContent h2 {
 padding-left: 260px;
 font-size:1em;
 font-style:italic;
 font-weight:bold;
 font-family:Arial, Helvetica, sans-serif;
 
}
#pageContent h3 {
 font-size:1em;
 font-weight:bold;
 font-family:Arial, Helvetica, sans-serif;
}
#pageContent table {
 margin-left: 260px;
}
.tdodd {
 background-color: #FFFFFF;
}
.tdeven {
 background-color: #EFEFEF;
}
/*
.odd {
 background-color: #FFFFFF;
 height: 30px;
 display:block;
 width: 475px;
 margin: 0;
 padding: 0;
}
.even {
 background-color: #EFEFEF;
 display:block;
 width: 475px;
 height:30px;
 margin: 0;
 padding: 0;
}
*/
#pageContent .eventItem p {
 padding-left: 0;
}
#pageContent #map {
margin-left: 270px;
    margin-top: 1em;
}

#subContent{
    width: 20%;
    float: left;
    padding: 10px;     
	font-size: 75%;
}
#subContent ul {
	margin: 0;
	padding: 0;
	list-style:none;
}
#mainContent {
	float:left;
	width:75%;
}
#footer, #tower_map_footer {
 font-size: 1em;
 width: 100%;
 color:#FFFFFF;
 margin-top:50px;
 clear:both;
}	

#footer ul, #tower_map_footer ul {
	margin-left:10%;
	padding-top:10px;
    padding-bottom:10px;
	list-style: none;
}

#footer ul li, #tower_map_footer ul li {
	width:15%;
	float: left;
	text-align:center;
	border-right: 1px solid white;
}
#footer ul li a, #footer hr, #tower_map_footer ul li a, #tower_map_footer hr {
	color:white;
}
#footer hr, #tower_map_footer hr {
	border-top:0;
	border-bottom: 1px solid white;
	width:70%;
	margin-top:5px;
}
#footer ul li a:hover, #tower_map_footer ul li a:hover {
	color:silver;
}

.pp {
 display: block;
 width: 150px;
}
/*
#tower {
  width: 480px;
	margin-left: 270px;
	border: 1px solid #666666;
	background-color: #EFEFEF;
margin-bottom: 1em;
}
#tower p {
  padding-left: 10px;
}

#tower h1 {
  padding-left: 10px;
}
#tower h2 {
  padding-left: 10px;
}
*/
.alert {
  margin-top: 1em;
  margin-bottom: 1em;
  width: 475px;
	margin-left: 270px;
	border: 1px solid #ff8c8c;
	background-color: #f7dfdf;
  padding: 5px;
  font-weight: bold;
}
.img-shadow {
  float:right;  
  color: #CCCCCC;
  font-size: 0.75em;
text-align: right;
}

.img-shadow img {
  display: block;
  position: relative;
  background-color: #fff;
  border: 1px solid #666666;
  padding: 5px;
margin: 5px;
}
.thinbox {
margin-top: 1em;
  margin-bottom: 1em;
  width: 475px;
	margin-left: 270px;
	border: 1px solid #666666;
	background-color: #EFEFEF;
  font-weight: bold;
	padding-left: 5px;
	padding-right: 5px;
}
.box {
	  margin-top: 1em;
  margin-bottom: 1em;
  width: 475px;
	margin-left: 270px;
	border: 1px solid #666666;
	background-color: #EFEFEF;
  font-weight: bold;
  padding: 10px;
	padding-left: 5px;
	padding-right: 5px;
}
.boxleft {
	width: 157px;
	text-align: left;
	display: block;
	float: left;
}
.boxmiddle {
	width: 155px;
	text-align: center;
	display: block;
	float: left;
}
.boxright {
	width: 157px;
	text-align: right;
	display: block;
	float: left;
}

.formtitle {
	font-style: italic;
}
#subContent .input { width: 125px; margin: 2px; background-color:#EFEFEF; border: 1px solid #999999;}
#subContent input.button { border: none; margin: 2px; background-color:#666666; width: 50px; text-align: center; padding: 0;

border-top: 1px solid #CCCCCC;
border-left: 1px solid #CCCCCC;
border-bottom: 1px solid #333333;
border-right: 1px solid #333333;
color:#FFFFFF;
font-weight: bold;
 }

#subContent input.mapbutton { border: none; margin: 2px; background-color:#666666; width: 150px; text-align: center; padding: 0;
border-top: 1px solid #CCCCCC;
border-left: 1px solid #CCCCCC;
border-bottom: 1px solid #333333;
border-right: 1px solid #333333;
color:#FFFFFF;
font-weight: bold;
 }


a.external:link {
	background: url(/images/external.gif) no-repeat 100% -200px;
	padding: 0 15px 0 0;
}
a.external:visited {
	color: #333333;
	background: url(/images/external.gif) no-repeat 100% 0;
	padding: 0 15px 0 0;
}
a.external:hover {
	color: #FF9900;
	background: url(/images/external.gif) no-repeat 100% -100px;
	padding: 0 15px 0 0;
}
a.document:link {
	background: url(/images/docs.gif) no-repeat 100% 0;
	padding: 0 15px 0 0;
}
a.document:visited {
	color: #333333;
	background: url(/images/docs.gif) no-repeat 100% -100px;
	padding: 0 15px 0 0;
}
a.document:hover {
	color: #FF9900;
	background: url(/images/docs.gif) no-repeat 100% -200px;
	padding: 0 15px 0 0;
	
}

/****************** pagin links **********************/
#paging {
	border-spacing: 3px;
}
#paging td {
	padding:3px;
}

#paging td a {
	display:inline-block;
	width:28px;
	height:24px;
    vertical-align:middle;
	text-decoration: none;
	text-align:center;
	background: #eee;	
    font-family: Arial,Helvetica,sans-serif;
    font-size: 12px;	
	color:#999;
	
}
#paging td a span {
	display:block;
	padding-top:4px;
}

#paging td.highlight a {
	background: #999;
	color:#fff;	
} 

#officer-table, #events-table, #news-table {
	width:90%;
	margin:	auto;
	font-size: 1.2em;
	margin-top:30px;
	margin-bottom:50px;

}


#officer-table td, 
#events-table td,
#news-table td, 
#officer-table th, 
#events-table th,
#news-table th {
	height: 40px;
	vertical-align:middle;
	text-align:left;
	padding: 6px;
}
button a {
	color:white;
}
#officer-table td a:hover, #events-table td a:hover {

}
#officer-table th, #events-table th, #news-table  th {
	text-align:center;
	margin-bottom:10px;
}

#officer-table td.strong, #events-table td.strong {
	font-weight:bold;
}

.officer-name {
	padding-left:20px;
}

/* peal detail */

#peal_details_content, #event_detail_content, #news_detail_content {
	clear:both;
	margin:auto;
	margin-top:30px;
	margin-bottom:60px;	
}
#peal_number, #event_title, #news_title {
	font-size: 2em;
}

#peal_detail, #event_detail, #news_detail {
	margin:auto;
	margin-top:20px;
	width:60%;

}


/* tower detail */
#tower_details_content {
	position:relative;
	padding:10px;
}
#tower_image {
    position: absolute;
    top: 10px;
    right: 10px;
}
#tower_image img {
	border: 10px solid white;
}

#tower_detail_name {
	font-size : 2vw;
}


/* branch page template */
#branch_news_header {
    height: 35px;
    color: white;
    font-size: 1.3em;
    padding-left: 5px;
    padding: 5px 10px;

}
#branch_news_body {
	color: #252F43;
	padding:2% 4%;
	border-top:4px solid white;
}
#branch_news_body h4 {
	color: #252F43;
	font-size:1.2em;
	font-weight:bold;
}
#branch_news{
    color: #252F43;
	margin-bottom:10px;
}

/* headers and boxes */

.header {
	padding:5px 10px;
	border-bottom:1px solid white;
}
.button_box {
	padding:5px 10px;
	color:white;
	text-align:center;
}

.button_box a {
	margin-top:5px;
	margin-bottom:5px;
	color: white;	
}
.button_box a:hover {
	color: #FF9900;
}

/* lists */
.inner_list {
	padding:20px;
}
.inner_list hr {
	border-color: white;
	margin-top:5px;
	margin-bottom:5px;
}
.list_body {
	padding:10px;
	background-color:white;
	overflow:hidden;
}

#tower_view_links {
	margin-bottom:20px;	
	border-bottom:6px solid #cccccc;
}
#tower_view_links a {
	text-decoration: none;
	padding: 10px;
	border: 1px solid #eeeeee;
	display:inline-block;
	-webkit-border-radius: 7px 20px 0px 0px;
	-moz-border-radius: 7px 20px 0px 0px;
	border-radius: 7px 20px 0px 0px;
}
#tower_view_links a:hover, .view_selected {
	background-color: #cccccc;
	color:white;
}
.open-branch-nav {
    display:none;
}
.open-main-nav {
    display:none;
}
td.tower-branch-checkboxes {
    width: 30%;
}
/* mobile */
@media only screen and (max-width: 637px) {

    /* menus */
    #branchNav, #title_bar, #mainNav {
        display:none;
    }
    #mainNav a {
        margin-top: none;
    }
    #branchNav a, #mainNav a {
        line-height:2.5em;
    }
    .open-branch-nav, .open-main-nav {
        padding: 1%;      
        display:block;
        overflow:hidden;    	
        border-bottom: 1px solid white;
    	border-top: 1px solid white;
    }   
    .open-branch-nav a, .open-main-nav a {      
        text-decoration:none;
    	color:white;
    	padding:1%;
    	text-align:left;
    	font-size: 1.4em;

    }      
    #branchNav li, #branchNav a, #mainNav li, #mainNav a {
        float: none;
        width:100%;
    }
    #mainNav, #mainNav ul {
        height: 100%;
    }
    td.tower-branch-checkboxes {
        width: 100%;
    }
    #news_detail, #event_detail, #peal_detail  {
        margin-top:2px;
        width:100%;
    }
    #peal_details_content {
        margin-top:0;
    }
    
    #footer ul {
        oveflow:auto;
        padding-left:0;
        width:100%;
        margin: auto;
    }
    #footer ul li {
        width: 20%;
    }
    #tower_image {
        position: absolute;
        top:10px;
        right:3px;
        width:36%;
    }
    #tower_image img {
        position: relative;
        border: 3px solid white;
        width:100%;
    }
    #foot_logo {
        clear:both;
    }
    #header img {
        width:100%;
    }
    
   

}
