



/* Reset defaults manually, becuase browsers' are oft kaput  ;)  */

body, div, h1, h2, h3, h4, p, dl, dt, dd, img, form, fieldset, blockquote {

    margin: 0px;
padding: 0px;

    border: 0px;

}


/* Set bg color, banner image for top */

body {

    background: white url(images/topbanner.gif) 0 0 repeat-x;

    text-align: center;
}




/* font stuff */

p, div, li,  h1, h2, h3, h4, td, input, select, textarea {

    font-family: verdana, lucida, arial, helvetica, sans-serif;

    font-size: 13px;

    color: #000;

    line-height: 16px;
}



/* margin fix */

p, h1, h2, h3, h4, ul {

	margin-bottom: 15px;
}



/* Links Links Links! */

a img, :link img, :visited img {

    border: none
}

a:link, a:visited {

    color: #3399cc;
}
    
a:hover, a:active {

    color: #192da3; 
    background-color: #ffda6c;
}

 

 
/* Create a clear class for my Divs  */
div.clear {

    clear: both;

    overflow: hidden;

    height: 1px;
}



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

/* Wrapper (shell)       */

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

#wrapper {

	width: 780px;

	margin: 0 auto;

	text-align: left;

	background-color: white;
}


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

/* Top - Main Banner Crossfit Tucson     */

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

#top {

	background: transparent url(images/top.gif) 0 0 no-repeat;

	height: 110px;

}

/* comment out the following a span if I want to make clickable logo */

   #top a span {

		display: none;
    }
   



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

/* Menu and Navigation     /*

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

#menu {

	background: url(images/menu.gif) 0 0 no-repeat;

	width: 780px;		

	height: 35px;

	margin: 0;

	padding: 0;
}

#menu span {

	display: none;

}

#menu li, #menu a {

	height: 35px; /* This is the height of my menu buttons (actually, 2x the height of the image file */ 

	display: block;
}

#menu li {

	float: left;
        list-style: none;
}


/* I'm defining the 'width' of each segment on the menu bar here, for hover image replacement purposes*/ 
/* The values were found by employing trial and error after using some educated guesses... */


#menu-home { width: 150px; }

#menu-about { width: 71px; }

#menu-staff { width: 66px; }

#menu-policies { width: 76px; }

#menu-calendar  { width: 97px; }

#menu-newsletters  { width: 126px; }

#menu-contact { width: 175px; }


/* This is where I pull the image replacement on :hover */
/* Changed values should theoretically match sum of "width" numbers specified above, but I found everything is spot-on when we're a fex pixels off. Trial and error. Kind of puzzled by this one, but hey, it looks good */ 


#menu-home a:hover { background: transparent url(images/menu.gif) 0px -35px no-repeat; }

#menu-about a:hover { background: transparent url(images/menu.gif) -150px -35px no-repeat; }

#menu-staff a:hover  { background: transparent url(images/menu.gif) -221px -35px no-repeat; }

#menu-policies a:hover 	{ background: transparent url(images/menu.gif) -287px -35px no-repeat; }

#menu-calendar a:hover { background: transparent url(images/menu.gif) -363px -35px no-repeat; }

#menu-newsletters a:hover { background: transparent url(images/menu.gif) -460px -35px no-repeat; }

#menu-contact a:hover { background: transparent url(images/menu.gif) -586px -35px no-repeat; }

	

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

/* Spacer - kind of a quick hack I guess, but an effective layout technique... */

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

#spacer {

	background: transparent;

	height: 10px;
}


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

/* Banner - The Meat and Potatoes  */

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

#banner {

	background: transparent url(images/banner.jpg) 0 0 no-repeat;


	height: 244px;

	margin-top: 30px;

	margin-left: 35px;
}



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

/* Buttons - The Gravy and Soup

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

#buttons {

	background: url(images/buttons1.jpg) 0 0 no-repeat; 

	width: 718px;		/* Width all 3 buttons */ 

	height: 124px;		/* Height of all 3 buttons */

	margin:-4px auto -4px 35px;
        padding: 0;
}  

#buttons span {

	display: none;  /* otherwise I get text links! ew!  */
}

/* Format the list so as not to look like a list, but rather, sweet buttons!  */

#buttons li, #buttons a {

	height: 112px; /* Height of my button imgs */ 
        display: block;
}

#buttons li {

	float: left;
        list-style: none;
}


/* width - width of my buttons */ 

#button-what 	{ width: 228px; }

#button-work 	{ width: 237px; }

#button-gallery    { width: 235px; }


/* Same deal here as with the menu img rollover change */ 


#button-what a:hover 	{ background: transparent url(images/buttons2.jpg) 0px 0px no-repeat; }

#button-work a:hover  	{ background: transparent url(images/buttons2.jpg) -228px 0px no-repeat; }

#button-gallery a:hover  { background: transparent url(images/buttons2.jpg) -465px 0px no-repeat; }




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

/* Main - serving as a spacer    */

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

#main {

	margin-top: 1em;
}

   


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

/* Columns - yikes this gets complicated with lists, etc.  */

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


/* Define three similar columns  */

#inside, #more-info, #news {

float: left;
width: 230px;
margin: 11px;
padding-bottom: 1em;  
}

#inside p, #more-info p, #news p {

padding-top: 0em;
margin-left: 7px;
margin-right: 7px;
}





/* ----------------------------------- */
/* Column 1 - Inside    */
/* ----------------------------------- */

#inside {

       margin-left: 30px;
}


#inside a:hover, #inside a:active {
	background-color: white;
}


#inside h2 {

	min-height: 50px;
	margin: -5px;
	text-indent: -9999px;
	background: url(images/h2gallery.gif) no-repeat 0 0;
}


/* InsideBorder Div - Had to do it in order to get that vertical dotted border */

#insideborder {
	
	margin-top: 15px;
	width: 229px;
	min-height: 22em;
	border-right: 2px dotted #ffda6c;
}


/* Inside - Another employment of using lists to change images on hover, just like above with menu and buttons */

#insidebelow {

	width: 213px;
	padding: 0px;
	margin-left: 0em;
	padding-left: 0em;
}

/* InsidePic UL - Image swap on rollover */

#insidepic {

	background: url(images/gallery1.png) 0 0 no-repeat; 
	width: 162px;		 
	height: 155px;		
	margin: 0 auto;
	margin-left: 15px;
	padding-bottom: 1em;
}

/* span to none, otherwise we get icky text link */
#insidepic span {

	display: none;
}

#insidepic li, #insidepic a {

	height: 155px;	 
	display: block;
}

#insidepic li {

	float: left;
	list-style: none;
}

#inside-pic { 

        margin-left: -40px;  /* Don't know why, but I found this -40px shift to be necessary */
        width: 162px; }

#inside-pic a:hover { 
	background: transparent url(images/gallery2.png) no-repeat; 
}




/* ----------------------------------- */
/* MORE-INFO COLUMN    */
/* ----------------------------------- */


#more-info h2 {

	min-height: 50px;
	margin: -5px;
	text-indent: -9999px;
	background: url(images/h2moreinfo.gif) no-repeat 0 0;
}

#more-info a:hover, a:active {

	background-color: #ffda6c;
}

#more-info img {

	padding-left: 30px;
}

#more-info li {

	list-style: decimal;
	line-height: 22px;
	border-bottom: 0px solid #ffda6c;
}
	
#more-info li border {
	
        width: 75%;
}

#more-info li a {

	text-decoration: none;

}


/* More-Info Border DIV - Again, had to use a div to get that nice dotted border */

#more-infoborder {

	margin-top: 15px;
	width: 229px;
	min-height: 22em;
	border-right: 2px dotted #ffda6c;
}

/* More-InfoBelow Div */

#more-infobelow {

	min-height: 20em;
	width: 213px;
	padding: 0px;
	margin-left: 0em;
	padding-left: 0em;
}


/* ----------------------------------- */
/* Column 3 - News    */
/* ----------------------------------- */



#news h2 {

       min-height: 50px;
       margin: -5px;
       text-indent: -9999px;
       background: url(images/h2news.gif) no-repeat 0 0;}

#news {

       margin-right: 0px;
}

#newsbelow {

       min-height: 25em;
       width: 213px;
       padding: 0px;
       margin-left: 0em;
       padding-left: 0em;
}

#news ul {

       margin-left: 0em;
       padding-left: 2em;
}	

#news img {

       padding: 1em;
       margin-left: -1em;
}

#news a:hover {

       background-color: white;
}

#gallerychange

#newspic {

       background: url(images/juniorgallery.png) 0 0 no-repeat; /* Image from page 1 of Google Image search for 'Crossfit workout' */
       width: 162px;		
       height: 155px;		
       margin-right: 0 auto;
       margin-left: 15px;
       padding: 0;
}

#newspic span {

	display: none;
}

#newspic li, #newspic a {

	height: 155px;		
	display: block;
}

#newspic li {

       float: left;
       list-style: none;
}

#news-pic {
       
       width: 162px;
}

#news-pic a:hover {

       background: transparent url(images/juniorgallery2.png) 
}



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

/* Fixes for other pages

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

h1 {

	text-indent: -3000px;

}



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

/* SUB PAGES

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

#content {

	margin: 0 50px;
}

#content h1 {

	height: 50px;
}

#content h2 {

       font-size: 16px;
       color: #000000;
       padding: 8px;
}
 
#animation {

    margin-top: 25px;
}

#animation p {}


/* ------------------------------- */
/* Staff Class Stuff */
/* ------------------------------- */

.staff {

       border-bottom: 1px dotted #3399cc;
       padding-bottom: 7px;
       padding-top: 7px;
       margin-top: 7px;
       margin-bottom: 7px;
       clear: both;
}

.staff h2 {

       margin: 0;
}	

.staff h3 {

       font-size: 11px;
}

.staff img {

       float: left;
       margin-right: 8px;
}

/* ------------------------------- */
/* Policies Class Stuff */
/* ------------------------------- */

.policies h4 {

       color:  #3399cc;
}

.policies h3 {

       margin: 0px;
}
	
.policies p {
	
       margin-bottom: 20px;
}

#method {

    margin-bottom: 150px;
}

#methodtext {

    margin-bottom: 35px;
}  

/* ------------------------------- */
/* Contact Page */
/* ------------------------------- */

#address {

       float: right;
       width: 250px;
       margin-left: 35px;
       border-left: 3px dotted #ffda6c;
}

#address2 {

       padding-left: 35px;
}


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

/* Calendar

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


#calendar {

padding-top: 2em;
margin-left: -60px;


}

#birds p {

color: #3399cc;
font-size: 2em;
line-height: 1.2em;
} 




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

/* Footer

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

#footer {

	background: transparent url(images/footer.gif) 0 0 no-repeat;
	height: 110px;
	margin-bottom: 10px;
	margin-left: 20px;
	margin-top: 50px;
	clear: both;
}

#footer a:link, #footer a:visited {

	color: #192da3;
}
    

#footer a:hover,#footer a:active {

	color: #3399cc; 
	background-color: #ffda6c;
}  

#footer h3 {

	text-align: left;
	padding-top: 10px;
	font-size: .7em;
	margin-left: 25px;
}

#footer p {

	padding-top: 15px;
	margin-left: 25px;
	margin-right: 50px;
}

#footer p span {

	float: right;
}





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

/* CONTACT FORM

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

#contact 

fieldset { margin:0;padding:0;border:0;}
		label{ width:250px; display:block;}
		.txt_input{width:250px; display:block;}
		textarea{height:80px; width:250px;}
		input{display:block;}
		.req{color:#f00;font-size:90%;}
		#form_errors{color:#f00; display:none;}
		#form_thanks{color:#000; display:none;}
		{ padding-top: 1em;}
		{padding-bottom: 2em;}
		
		
#space {
min-height: 3em
}






.success {

line-height: 1.5em;

}