/* $Id: layout-fixed.css,v 1.2 2008/04/21 17:05:17 johnalbin Exp $ */

/*
 * LAYOUT STYLES
 *
 * Define CSS classes to create a table-free, 3-column, 2-column, or single
 * column layout depending on whether blocks are enabled in the left or right
 * columns.
 *
 * This layout is based on the Border Politics Layout Method.
 *   http://drupal.org/node/201428
 *
 * Only CSS that affects the layout (positioning) of major elements should be
 * listed here.  Such as:
 *   display, position, float, clear, width, height, min-width, min-height
 *   margin, border, padding, overflow
 */


/************************************************ Chopi Resets and IE Hacks  ************************************************/

* { padding: 0; margin: 0; }

.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clearfix {display: inline-table;}
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

/** body **/
  body
  {
    margin: 0;
    padding: 0;
    /* chopi adds below */
	font: 12px/18px "Lucida Grande", "Trebuchet MS", Tahoma, Verdana, sans-serif;
	background-color: #f6f6f6;
  }

  #page,
  #closure-blocks
  {
    /*
     * If you want to make the page a fixed width and centered in the viewport,
     * this is the standards-compliant way to do that. See also the ie.css file
     * for the necessary IE5 hack to center a div.
     */
    margin-left: auto;
    margin-right: auto;
    /*width: 960px;  chopi taken out*/
  }

  #page-inner
  {
  }

  #navigation-top,
  #navigation
  {
    position: absolute; /* Take the named anchors out of the doc flow    */
    left: -10000px;     /* and prevent any anchor styles from appearing. */
  }

  #skip-to-nav
  {
    float: right;
    margin: 0 !important;
    font-size: 0.8em;
  }

  #skip-to-nav a:link, #skip-to-nav a:visited
  {
    color: #fff; /* Same as background color of page */
  }

  #skip-to-nav a:hover
  {
    color: #000;
    text-decoration: none;
  }

  /* Alternatively, the skip-to-nav link can be completely hidden until a user tabs
     to the link. Un-comment the following CSS to use this technique. */
  /*
  #skip-to-nav a, #skip-to-nav a:hover, #skip-to-nav a:visited
  {
    position: absolute;
    left: 0;
    top: -500px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  #skip-to-nav a:active, #skip-to-nav a:focus
  {
    position: static;
    width: auto;
    height: auto;
  }
  */

/** header **/
  #header
  {
  	/* chopi adds below */
  	background-image: url(images/cc-img/head-backg.jpg);
	background-repeat: repeat-x;
	height: 114px;
  }
  
  /* chopi adds below */
  
  #header-inner
  {
  }
  
  /* chopi adds below till logo */
  
 #headcent {
	width: 960px;
	height: 114px;
	margin: 0 auto; }
  
#mast1-1 {
	background-image: url(images/cc-img/head-backg.jpg);
	background-repeat: no-repeat;
	width: 725px;
	height: 114px;
	float: left; }

#mast1-2 {
	/*background-image: url(images/cc-img/masthead2.jpg);*/
	/*background-repeat: no-repeat;*/
	width: 235px;
	height: 114px;
	float: right; }
	
#mast1-2 a {
	background-image: url(images/cc-img/masthead2-off.jpg);
	background-repeat: no-repeat;
	width: 235px;
	height: 114px;
	float: right; }
	
#mast1-2 a:hover {
	background-image: url(images/cc-img/masthead2-on.jpg);
	background-repeat: no-repeat;
	width: 235px;
	height: 114px;
	float: right; }

/*
#mast2-1 {
	background-image: url(images/mast2-1.jpg);
	background-repeat: no-repeat;
	width: 837px;
	height: 46px;
	float: left; }

#mast2-2 {
	background-image: url(images/mast2-2.jpg);
	width: 123px;
	height: 46px;
	float: right; }
*/	
	
  #logo-title
  {
  }

  #logo
  {
    margin: 0 10px 0 0;
    padding: 0;
    float: left;
  }

  h1#site-name, div#site-name
  {
    margin: 0;
    font-size: 2em;
    line-height: 1.3em;
  }

  #site-slogan
  {
  }


/************************************************ Chopi Nav  ************************************************/	

#navhold {
	background-image: url(images/cc-img/navback.jpg);
	width: 954px;
	height: 42px;
	z-index: 99;
	margin: 0 auto;
	position: relative; }
	
#navpad {
	margin: 0 50px;
	padding: 9px 0px 0px 10px;
	text-align: center;
	float: left;
	position: relative;
	z-index: 9999; }
	


  #header-blocks
  {
    clear: both; /* Clear the logo */
  }

/** main (container for everything else) **/
  #main
  {
    position: relative;
    background-image: url(images/cc-img/wrap-ds-back.jpg);
	background-repeat: repeat-y;
	width: 1000px;
	margin: 0 auto;
	clear: both;
  }

  #main-inner
  {
  	background-image: url(images/cc-img/content-back.jpg);
	background-repeat: no-repeat;
	width: 954px;
	margin: 0 auto;
	clear: both;
  }

/** content **/
 
 
 /* #content,
  .two-sidebars #content
  {
    float: left;
    width: 560px;
    margin-left: 200px; /* The width of #sidebar-left 
    margin-right: -760px; /* Negative value of #content's width + left margin. 
    padding: 0;  DO NOT CHANGE. Add padding or margin to #content-inner. 
  }

  .sidebar-left #content
  {
    width: 760px;
    margin-left: 200px; /* The width of #sidebar-left. 
    margin-right: -960px; /* Negative value of #content's width + left margin. 
  }

  .sidebar-right #content
  {
    width: 760px;
    margin-left: 0;
    margin-right: -760px; /* Negative value of #content's width + left margin. 
  }

  .no-sidebars #content
  {
    width: 960px;
    margin-left: 0;
    margin-right: -960px; /* Negative value of #content's width + left margin. 
  } */

/*  #content-inner
  {
    margin: 0;
    padding: 0;
  }   */

/** navbar **/
  #navbar
  {
    float: left;
    width: 100%;
    margin-left: 0;
    margin-right: -100%; /* Negative value of #navbar's width + left margin. */
    padding: 0; /* DO NOT CHANGE. Add padding or margin to #navbar-inner. */
    height: 3.6em; /* The navbar can have any arbritrary height. We picked one
                      that is twice the line-height pluse 1em: 2 x 1.3 + 1 = 3.6
                      Set this to the same value as the margin-top below. */
  }

  .with-navbar #content,
  .with-navbar #sidebar-left,
  .with-navbar #sidebar-right
  {
    margin-top: 3.6em; /* Set this to the same value as the navbar height above. */
  }

  #navbar-inner
  {
  }

  #search-box
  {
    width: 200px;
    margin-right: -200px; /* Negative value of #search-box's width. */
    float: left;
  }

  #primary
  {
    margin-left: 200px; /* Width of search-box */
  }

  #secondary
  {
    margin-left: 200px; /* Width of search-box */
  }

  #navbar ul /* Primary and secondary links */
  {
    margin: 0;
    padding: 0;
    text-align: left;
  }

  #navbar li /* A simple method to get navbar links to appear in one line. */
  {
    float: left;
    padding: 0 10px 0 0;
  }

  /* There are many methods to get navbar links to appear in one line.
   * Here's an alternate method: */
  /*
  #navbar li
  {
    display: inline;
    padding: 0 10px 0 0;
  }
  */

/** sidebar-left chopi switched this off using lcol **/
  #sidebar-left
  {
    /*float: left;*/
    /*width: 200px;*/
   /* margin-left: 0;*/
    /*margin-right: -200px; /* Negative value of #sidebar-left's width + left margin. */
    /*padding: 0; /* DO NOT CHANGE. Add padding or margin to #sidebar-left-inner. */
  }

  #sidebar-left-inner
  {
    /*margin: 0 20px 0 0;*/
    /*padding: 0;*/
  }

/** sidebar-right **/
  #sidebar-right
  {
    float: left;
    width: 200px;
    margin-left: 760px; /* Width of content + sidebar-left. */
    margin-right: -960px; /* Negative value of #sidebar-right's width + left margin. */
    padding: 0; /* DO NOT CHANGE. Add padding or margin to #sidebar-right-inner. */
  }

  #sidebar-right-inner
  {
    margin: 0 0 0 20px;
    padding: 0;
  }

/** footer **/
  #footer
  {
  }

  #footer-inner
  {
  }

/** closure **/
  #closure-blocks /* See also the #page declaration above that this div shares. */
  {
  }

/** Prevent overflowing content **/
  #header,
  #content,
  #navbar,
  #sidebar-left,
  #sidebar-right,
  #footer,
  #closure-blocks
  {
    overflow: visible;
    word-wrap: break-word; /* A very nice CSS3 property */
  }

  #navbar
  {
    overflow: hidden; /* May need to be removed if using a dynamic drop-down menu */
  }
