* {
padding:0;
margin:0;
text-decoration:none;
list-style-type:none;
}
body {
background-color: #6b6b6b;
}
a img{
border:none;
}
.clear{
clear:both;
margin:0;
height:0;
font-size:0;
}
#container{
width: 960px;
margin: 0 auto;
}
.floatRight {
  float: right;
}     
/*--------------------- TOP ---------------------------*/
#top{
height: 318px;
padding-top: 0px;
color: #333366;
background-image: url(../images/CrossFit-Banner.jpg); }

#top a h1 {
  height: 230px;
width: 500px;
  margin: 0 0 0 435px;
  padding-top: 1px;
  font-size: 36px;
} 

#top h1 span {
display: none;
}

#top h1, #top h2 {
color: #fff; }

/*--------------------- MAIN NAVIGATION ---------------------------*/
#top ul.main-nav{
background:no-repeat left top;
height: 26px;
padding-left: 0px;
margin-left: 16px;
padding-top: 30px;
} 
#top ul.main-nav li{
  color:#fff;
width: 116px;
  float:left;
  font-size: 12px;
font-family: Verdana, Helvetica, Arial, sans-serif;
text-transform: uppercase;
text-align: center;
}
#top ul.main-nav li a{
color:#fff;
font-variant: normal; 
}
#top ul.main-nav li.active a{
color: #be1d26;
}
#top ul.main-nav li a:hover{
color: #be1d26;
}

/*--------------------- CONTENT ---------------------------*/
#content{
  clear:left;
  background-image: url(../images/CrossFit-2column-background.jpg);
  background-repeat: repeat-y;
}
#content-header {
background-image: url(../images/CrossFit-2column-content-header.jpg);
height: 15px; } 
#content-footer {
background-image: url(../images/CrossFit-2column-content-footer.jpg);
height: 28px; } 

#full-content {
width: 860px;
min-height: 400px;
padding: 5px 50px;
background-image: url(../images/CrossFit-full-content-background.jpg); }
#full-content-header {
background-image: url(../images/CrossFit-full-content-header.jpg);
height: 15px; } 
#full-content-footer {
background-image: url(../images/CrossFit-full-content-footer.jpg);
height: 28px; }  

#home-content {
width: 935px;
min-height: 400px;
padding: 0 0 5px 25px;
background-image: url(../images/CrossFit-home-content-background.jpg); }  
#home-content-header {
background-image: url(../images/CrossFit-home-content-header.jpg);
height: 15px; } 
#home-content-footer {
background-image: url(../images/CrossFit-home-content-footer.jpg);
height: 28px; }  
/*---------------------CONTENT LEFT SIDE ---------------------------*/
#content .left-side {
  width: 219px;
  float:left;
}

#home-content .left-side {
  width: 260px;
  margin-left: 15px;
margin-right: 15px;
padding-top: 0;
  float:left;
  color: #e2e2e2; 
}    
#home-content #creditfooter {
   display: none; }

#home-content .left-side #feeds {
padding-top:25px;
} 
#content .left-side #feeds {
 padding-top: 25px;
 padding-left: 32px;
}
  #home-content .left-side #wodArea {
    max-height: 140px;
               overflow: hidden;
   }
/*---------------------left - sub navigation---------------------------*/
#content .left-side ul.level-2  {
margin: 52px 22px;
width: 222px;
}
#content .left-side ul.level-2 li{
/*margin-bottom: 0px;*/
margin-bottom: -5px;
}
html>body #content .left-side ul.level-2 li{
  margin-bottom: 10px;
}
ul.level-2 li a {
  color: #fff;
  /*padding: 3px 0 3px 27px;*/
   font-size:1.1em;
   padding: 3px 10px 3px 17px;
  display:block;
  font-family: Arial, Verdana, sans-serif;
} 
ul.level-2 li a:hover{
background-color: #5b78a5;
display:block;
color: #ffffff;
} 
ul.level-2 li.active a {
background-color: #989898;
display:block;
color: #000;
}

ul.level-2 li.active a:hover{
background-color: #297293;
display:block;
}
/*---------------------left - sub navigation 2nd level---------------------------*/


html>body #content .left-side ul.level-2 li.sub ul li a {
  margin-bottom: 0;
  display: block;
}
 
ul.level-2 li.sub ul li {
margin-bottom: 0px !important;
 }

ul.level-2 li.sub ul li a {
color: #fff;
display:inline;
padding: 0;
font-size: 12px;
margin-left: 25px;
padding-left: 5px;
margin-right: 0px;
}
ul.level-2 li.sub ul li.active a {
color: #989898;
background-color: transparent; }

ul.level-2 li.sub ul li a:hover {
display:inline;
background-color: #5b78a5;

padding:0 0 0 5px !important;
} 
#sidebar li.sub { margin-top: }
#sidebar li.sub[class] { margin-top: 0; }
*:first-child + html #sidebar li.sub { margin-top: -15px; }




/*---------------------content right side---------------------------*/
#content .right-side{
width: 625px;
padding-top: 15px;
padding-bottom: 25px;
padding-left: 25px;
padding-right: 45px;
min-height: 400px;
float:right;
}
#home-content .right-side{
width: 550px;
padding-top: 0;
padding-bottom: 25px;
padding-left: 25px;
padding-right: 50px;
min-height: 400px;
float:right;
} 
#home-content .right-side #newsArea{
max-height: 380px;
overflow: hidden; }

#home-content .photo-teaser {
background-image: url(../images/CrossFit-home-pic-box.jpg);
height: 230px;
padding: 0 25px 31px 8px;
margin-top: -15px;
width: 600px;
display: block; 
float: right;}


/******* ROTATOR ON HOME PAGE *********/

/* Rotator Styles */

#rotator {
background-image: url(../images/CrossFit-home-pic-box.jpg);
height: 215px;
padding: 15px 25px 31px 8px;
margin-top: -15px;
width: 600px;
display: block; 
float: right;}

#oldrotator {
width: 814px;
height: 319px;
background: #a75d57;
color:#000;
position:relative;
padding-bottom:2.6em;
margin:0 0 0 37px;
padding-top: 25px;
font-size:16px;
}

#rotator .fragmentText {
color: #e2e2e2;
/*background-color: #8fb0b6;    */
float: right;
padding:5px;
height: 190px; 
width: 240px; 
font-size: 0.7em;
z-index: 10;
 }
#rotator .fragmentText  h1, #rotator .fragmentText  p {
color: #e2e2e2;
margin: 0;
} 

/* Tabs */

ul.ui-tabs-nav , li.ui-tabs-nav-item, li.ui-tabs-nav-item a:link, li.ui-tabs-nav-item a:visited {
margin:0;
padding:0;
border:0;
outline:0;
line-height:1.0;
text-decoration:none;
font-size:100%;
list-style:none;
float:left;
font-family: "Myriad Pro", Helvetica, sans-serif;
display: none;
} 
li.ui-tabs-nav-item {
width: 80px;
}

/*#ui-tabs {
position:absolute;
bottom:0px;
left:0;
z-index:1;
width:100%;
background:#a65e57;
height: 40px;
} */
ul.ui-tabs-nav {
float:right;
margin-right: 16px;
margin-top: 8px;
}
/* Non-Selected Tabs */

li.ui-tabs-nav-item a {
height: 20px;
}

li.ui-tabs-nav-item a:link,
li.ui-tabs-nav-item a:visited {
font-size:.8em;
font-weight:normal;
color: #5c7e81;
width: 80px;
border: 2px #f7f0ee solid;

background-color: #d3aeaa; }

/* Hovered Tab */
#rotator .ui-tabs-nav-item a:hover,
#rotator .ui-tabs-nav-item a:active {
color:#333;
}

#rotator li.ui-tabs-nav-item a span {
float:left;
margin: 0 0 0 35px;
padding:4px;
cursor:pointer;
font-weight: bold; }

/* Active Tab */
#rotator .ui-tabs-selected a:link,
#rotator .ui-tabs-selected a:visited,
#rotator .ui-tabs-selected a:hover,
#rotator .ui-tabs-selected a:active {
color:#333;
}

/* Content Panels */
#rotator .ui-tabs-panel {
font-family: "Myriad Pro", Helvetica, sans-serif;
clear:left;
color:#000;
/*padding:40px 540px 15px 15px;*/
height:319px;
}

#rotator .ui-tabs-hide {
display:none;
}

#rotator h2 {
color:#E75D00;
font-weight:normal;
margin:0;
font-size:1.8em;
line-height:1.2em;
}

#rotator p {
font-size:1.3em;
margin:.5em 0;
color: #26160f;
} 






/******** GALLERY MODULE ********/ 
#photo h1{
  text-align: center;
        margin-bottom: 0.5em !important;
  }
#photo .navigation{
  height: 75px;
  text-align: center;
  width: 400px;
  margin: 0 auto;
  }  
  #photo .previous, #photo .next{
    padding: 0px;
    display: block;
    width: 40px;
    height: 25px;
  }
  #photo .previous{
    float: left;
    background: url(/images/previous.gif) no-repeat;
  }
  #photo .next{
    float: right;
    background: url(/images/next.gif) no-repeat;
  }
        #photo .back{
          font-size: 0.9em;
                color: #aaa;
                text-decoration: none;
        }
        #photo .back:hover{
          text-decoration: underline;
        }
  #photo p{
    margin: 0 0 10px 0;
  }
  #photo .image{
    clear: both;
    text-align: center;
  }
  #photo .image img{
    border: 1px solid #111;
  }
        #photo .description{
     width:400px; 
                margin: 1em auto; 
                font-size:0.9em; 
                text-align: center;
        }
#gallery {
margin-left: 50px; }

#gallery ul{
  margin: 0;
  padding: 0;
}
  #content .right-side #gallery ul li{
    margin: 0 5px 5px 0;
    list-style-type: none;
    float: left;
    width: 150px;
    height: 155px;
    line-height: 150px;
    text-align: center;
    border: 1px solid #ccc;
    background-color: #000;
  }

  #gallery ul li:hover{
      border: 1px solid #aaa;

  }


#content .right-side #gallery li img{
    vertical-align: middle;
    border-top: 0px solid #000;
    border-bottom: 0px solid #000;
  }


/******* FOOTER *********/

#footer{
  background: url(../images/CrossFit-Footer.jpg) no-repeat left top;
  height: 136px;
  color: #FFFFFF;
  padding-top: 4px;
  font-family: Helvetica, sans-serif;
  font-size: 12px;
  text-align: center;
} 
.footerLeft {
   float: left;
   padding-left: 40px;}
.footerRight {
   float: right;
    padding-right: 40px;} 

#footer a {
  color: #CC6600;
}
#container #footer a:hover {
  text-decoration: underline;
 }  

#footerlinks #admin_link {
overflow: hidden;
/*background: url(../images/admin-button.gif) no-repeat;*/
background-position: center;
width: 90px;
height: 25px;
float: left;
margin-right: 1em;
font-size: 0px;
text-align: center; }

#footerlinks #edit_link {
font-size: 0px;
overflow: hidden;
/*background: url(../images/edit-button.gif) no-repeat;*/
background-position: center;
width: 90px;
height: 25px;
display: block;
float: right;
}
/*--------------------- MAIN NAVIGATION ---------------------------*/
#footer ul.footer-nav {
background:no-repeat left top;
height: 26px;
padding-left: 0px;
margin-left: 200px;
padding-top:17px;
 } 
#footer ul.footer-nav li {
  color:#fff;
  float:left;
  font-size: 11px;
font-family: Verdana, Helvetica, Arial, sans-serif;
text-transform: uppercase;
text-align: center;
 } 
#footer ul.footer-nav li a {
color:#fff;
font-variant: normal; 
}
#footer ul.footer-nav li.active a {
color: #be1d26;
}
#footer ul.footer-nav li a:hover {
color: #be1d26;
}

/******** SITEMAP MODULE ********/

#sitemap li.sub{
list-style-type: none;
}
