/* @override 
	http://localhost:8888/tarifawindsurfing/assets/css/layout.css
	http://tarifawindsurfing.com/assets/css/layout.css
*/

/**************************************************************
   #content: Sets the width of the site.  Make changes here
             to convert to a fixed width site.
 **************************************************************/

#content {  
  height: 100%;
  min-height: 100%;
  text-align: left;
}

#content,
#width {
  /* max-width hack for IE since it doesn't understand the valid css property */
  width: expression(document.body.clientWidth > 1000 ? "1000px" : "auto");  
  max-width: 1000px;
  margin: 0 auto;
}

#content[id],
#width[id] {
  width: 94%;
  height: auto;
}


/**************************************************************
   #header: Holds the site title and header images
 **************************************************************/

#header {
	position: relative;
	height: 193px;
	background-image: url(../images/bg/header.jpg);
	background-repeat: repeat-x;	
}

/* Holds the site title and subtitle */
#header #title {
	position: absolute;
	z-index: 4;
	top: 2px;
	padding: 5px;
	text-align: right;
	left: 1px;
	height: 117px;
}

#header h1 {
	position: absolute;
	margin: 0;
	padding: 0;
	left: 231px;
	top: 32px;
}

#header h2 {
	position: absolute;
	top: 100px;
	right: -424px;
	margin: 0;
	padding: 0;
	font: 700 1.1em "trebuchet ms", serif;
	text-transform: lowercase;
	color: #00F0EC;
	width: 147px;
	height: 24px;
}


/* Sets where the header images will go */
#header img.left {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
}
#header img.winddial {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
}
#header img.right {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
}

#topnav {
	margin: 0px;
	padding: 0px;
	width: 100%;
	height: 65px;
}



/**************************************************************
   #page: Holds the main page content.
 **************************************************************/

#page {
	float: left;
	width: 100%;
	clear: both;
	padding-bottom: 4em;
	background-image: url(../images/bg/sidenav.jpg);
	background-repeat: no-repeat;
	background-position: left top;
}
	
#contact {
	background-image: url(../images/bg/sidenav.jpg);
	background-repeat: no-repeat;
	background-position: right bottom;
}

/**************************************************************
   #board: holds fixed width div for a modx dito call
 **************************************************************/

#board {
	margin-bottom: 50px;
}

#board a {
	padding-left: 10 px;
	}

/**************************************************************
   #footer: The page footer - will stick to the bottom if not
            enough content.
 **************************************************************/

#footer {
	float: inherit;
	width: 100%;
	clear: both;
	margin-top: 1em;
	padding-top: 50px;
	background: #FFFFFF url(../images/bg/footer.jpg) repeat-x top left;
}

/* Sets the width of the footer content */
#footer #width {
  position: relative;
  z-index: 3;
  font-size: 0.85em;
}

/**************************************************************
  maxi gallery fixed width div to hold gallery
 **************************************************************/

#gallery {
	width: 720px;
	margin: 5px;
	}

#kitegallery {
	float: left;
	width: 500px;
	margin: 15px;
}

				
			
	/* slider */

#tv {
	background-image: url(../../images/tv.jpg);
	background-repeat: no-repeat;
	height: 560px;
	width: 680px;
	position: relative;
	overflow: hidden;
}

#slidercontainer {
	padding-top: 106px;
	padding-left: 58px;
	position: relative;
}
#slider{}	
#slider ul, #slider li{
	margin:0;
	padding:0;
	list-style:none;
	}
#slider li{ 
	width:2500px;
	height:420px;
	overflow:hidden; 
	}	
#prevBtn, #nextBtn{ 
padding-left: 70px;
	}										

#prevBtn a, #nextBtn a{ 
	font-size: 14px;
	font-weight: 900;
	}
/**************************************************************
   Width classes used by the site columns
 **************************************************************/

.width100 {
  width: 100%;
}

.width75 {
  width: 73.7%;
}

.width50 {
  width: 49.7%;
}

.width33 {
  width: 32.7%;
}

.width25 {
  width: 24.7%;
}
/**************************************************************
   blogcontent holds blog padding
 **************************************************************/

#blogcontent {
	padding-left: 20px;
	}
/**************************************************************
   Alignment classes
 **************************************************************/

.floatLeft {
  float: left;
}

.floatRight {
  float: right;
}

.teamfloatRight {
  float: right;
  padding: 10px;
  max-width: 350px;
  width: expression(this.width > 300 ? 300: true);
  max-height: 180px;
  height: expression(this.height > 180 ? 180: true);
  border: none;
}

.flashheader {
  padding: 10px;
  height: 200px;
}

.alignLeft {
  text-align: left;
}

.alignRight {
  text-align: right;
}



/**************************************************************
   Generic display classes
 **************************************************************/

.clear {
  clear: both;
}

.block {
  display: block;
}



