/* -----------------------------------------------------------------------

   CSS File for Rochester Churches
   http://rochesterchurches.edgedhost.info/

----------------------------------------------------------------------- */

/* All Boxes on the page */
/*
* {
   border: 1px solid red !important;
}
*/

.page {
   width: 800px;
   margin: auto;
   border: 0px solid #000;
}

.content {
   float: left;
   display: inline;
   width: 800px;
}

.header {
   float: left;
   display: inline;
   position: relative;
   padding-top: 0px;
   padding-bottom: 9px;
   border: 0px solid #888;
}

.logo {
   margin: 27px 0px 0px 0px;
   border: 0px solid #F00;
}

.middle {
   width: 592px;
   margin: 0px 5px 0px 5px;
   border: 0px solid #0F0;
}

.spacer {
   width: 104px;
   float: right;
}

.body {
   width: 800px;
   float: left;
   display: block;
   margin: 0px 10px 0px 10px;
   border: 0px solid #0FF;
}

@media only screen and (max-device-width: 480px) {
.page { width: 100%; }
.content { width: 100%; }
.middle { width: 74%; }
.spacer { width: 13%; }
.body { width: 100%; }
}
.version {
   float: right;
   display: block;
   font-size: small;
   border: 0px solid #F0F;
}

.copyright {
   float: right;
   display: block;
   font-size: small;
   border: 0px solid #F0F;
}

a.tab {
   top:0px;
   padding-left: 1em; 
   padding-right: 1em; 
   padding-top: 1px; 
   margin: 12px 0px; 
   border-top: 1px solid maroon;
   border-left: 1px solid maroon;
}

p.person { 
   padding-left: 1em; 
}

div.button { 
    float: right;
    padding: 0px; 
    padding-top: 1px;
    margin: 0px; 
    margin-left: 6px;
}

div.result { 
   margin: 12px 0px; 
   border-top: 1px solid maroon;
   border-left: 1px solid maroon;
}
    
div.user { 
   margin: 12px 0px; 
   background-color: #EEEDE0;
   border-top: 1px solid #666666;
   border-left: 1px solid #666666;
}
    
div.result p { 
   margin-top: 0px; 
   margin-bottom: 0px;
   padding-top: 0px; 
   padding-bottom: 0px;
}

div.user p { 
   margin-top: 0px; 
   margin-bottom: 0px;
   padding-top: 0px; 
   padding-bottom: 0px;
}

div.result p.comment em {
  font-weight: bold;
  color: #656450; /*#989783; #955811;*/
  font-style: normal;
}

div.user p.comment em {
  font-weight: bold;
  color: #656450; /*#989783; #955811;*/
  font-style: normal;
}

div.result p.comment {
  font-family: arial, sans; 
  font-size: 9pt;
  color: #606060;
  background-color: #FFFFEE; /* #f5f0b5; #ede77b;*/
  margin-left: 6em;
  margin-top:2px;
  margin-bottom: 2px;
  padding-left: 0.5em;       
  border-left: 1px solid #656450;
  border-bottom: 1px solid #656450;
}

div.user p.comment {
  font-family: arial, sans; 
  font-size: 9pt;
  color: #606060;
  background-color: #FFFFEE; /* #f5f0b5; #ede77b;*/
  margin-left: 6em;
  margin-top:2px;
  margin-bottom: 2px;
  padding-left: 0.5em;       
  border-left: 1px solid #656450;
  border-bottom: 1px solid #656450;
}

div.result p.alt {
  font-family: arial, sans; 
  font-size: 9pt;
  color: #666666;
  background-color: #FFEEEE; /* #f5f0b5; #ede77b;*/
  margin-left: 6em;
  margin-top:2px;
  margin-bottom: 2px;
  padding-left: 0.5em;       
  border-left: 1px solid #FF9999;
  border-bottom: 1px solid #FF9999; /* pink = FFBBBB */
}

div.user p.alt {
  font-family: arial, sans; 
  font-size: 9pt;
  color: #666666;
  background-color: #FFEEEE; /* #f5f0b5; #ede77b;*/
  margin-left: 6em;
  margin-top:2px;
  margin-bottom: 2px;
  padding-left: 0.5em;       
  border-left: 1px solid #FF9999;
  border-bottom: 1px solid #FF9999; /* pink = FFBBBB */
}

/* http://csswizardry.com/2011/02/creating-a-pure-css-dropdown-menu/ */
/* http://nekkidblogger.com/2011/ultra-efficient-css-html-drop-menu-nekkidblogger-menu/ */

#nav{
   top: 0px;
   margin: 12px 0px; 
   border: 0px solid #F0F;
   background:#DCDBC7;
	list-style:none;
	font-weight:bold;
	/* Clear floats */
	float:left;
	/* Bring the nav above everything else--uncomment if needed.
	position:relative;
	z-index:5;
	*/
}
#nav li{
	float:left;
	margin-right:10px;
	position:relative;
}
#nav a{
	display:block;
   padding-left: 1em; 
   padding-right: 1em; 
   padding-top: 1px; 
   border-top: 1px solid maroon;
   border-left: 1px solid maroon;
	text-decoration: none;
}
#nav a:hover{
	color: maroon;
	text-decoration: underline;
}

/*--- DROPDOWN ---*/
#nav ul{
	background:#DCDBC7; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
	list-style:none;
	padding:0;margin:0;
	position:absolute;
	left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
}
#nav ul li{
	padding-top:1px; /* Introducing a padding between the li and the a give the illusion spaced items */
	float:none;
}
#nav ul a{
	white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
}
#nav li:hover ul{ /* Display the dropdown on hover */
	left:0; /* Bring back on-screen when needed */
}
#nav li:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
	background:#DCDBC7;
	text-decoration: underline;
}
#nav li:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
	text-decoration: underline;
}
#nav li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
}