/*
Styling for Traxx website
@author Rob Tuley
@version SVN: $Id: core.css 13 2010-07-20 23:36:14Z andrew $
*/

/*
MAIN LAYOUT & STYLES
*/

body
{
  text-align: center;
  font-family: Verdana,Arial,Helvetica,sans-serif;
  font-size: 90%;
}

#page
{
  width: 750px;
  text-align: left;
  margin: 0 auto;
  background: #333;
  padding-top: 120px; /* space for header */
  position: relative;
}

a
{
  color: #ff8702;
  text-decoration: none;
}

a:hover, a:active, a:focus
{
  color: #ff8702;
  text-decoration: underline;
}

h2, h3
{
	margin: 1em 0 0.5em 0;
	font-weight: bold;
}

/*
HEADER
*/

#header
{
  background: url('../images/layout/logo.gif') top left no-repeat;
  height: 120px;
  width: 750px;
  position: absolute;
  top: 0;
  left: 0;
}

  #header ul
  {
    float: right;
    padding-top: 80px;
  }

    #header ul li
    {
      float: left;
      text-transform: uppercase;
    }

      #header ul li a
      {
        display: block;
        padding: 0.5em;
        color: #fff;
        text-decoration: none;
        border-top: 1px solid #636363;
      }

				#header ul li:last-child a
				{
					padding-right: 1em;
				}

      #header ul li a:hover, #header ul li a:focus, #header ul li a.cur
      {
        color: #ff8500;
        border-top: 1px solid #ff8500;
      }

/*
BANNER
*/

#banner
{
  position: relative;
  background: #737373;
  padding-bottom: 3px;
}

  #banner h1
  {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 710px;
    font-size: 200%;
    line-height: 1.5;
  }

    #banner h1 span
    {
      color: #333;
      background: #fff;
      text-transform: uppercase;
    }

		#banner h1 span em
		{
			color: #ff8702;
		}

	#banner ul.b-switch
	{
		position: absolute;
		top: 24px;
		left: 10px;
		padding-left: 10px;
		background: #fff url('../images/layout/view_images.gif') 2px 2px no-repeat;
		min-height: 90px;
	}
	* html #banner ul.b-switch {height: 90px} /* IE6 */

		#banner ul.b-switch li a
		{
			display: block;
			background: #fff url('../images/layout/banner_off.gif') top left no-repeat;
			width: 14px;
			height: 14px;
			margin: 5px;
			text-indent: -9999px;
			outline: none;
		}

		#banner ul.b-switch li a.active, #banner ul.b-switch li a:hover, #banner ul.b-switch li a:focus
		{
			background: #fff url('../images/layout/banner_on.gif') top left no-repeat;
		}

	#banner a.flash-vid
	{
		position: absolute;
		bottom: 20px;
		right: 20px;
		background: #fff;
		font-size: 150%;
		padding: 5px;
	}

/*
CONTENT
*/

#content
{
  font-size: 80%;
}

  #content p, #content h4
  {
    margin: 0.5em 0;
  }

  #content img.splash
  {
    float: right;
    margin: 20px 20px 20px 0;
  }

  #content .box
  {
    margin: 20px;
    background: #fff url('../images/layout/chamfer.gif') bottom right no-repeat;
    border-top: 20px solid #ccc;
  }

	#content .with-image
	{
		margin-right: 0;
		float: left;
    width: 340px;
	}

  #content .box .section
  {
    padding: 0 10px 10px 40px;
		min-height: 150px;
  }
	* html #content .box .section {height: 150px} /* IE6 */

	  #content .box .home
		{
			background: url('../images/layout/welcome.gif') 10px 20px no-repeat;
		}

		#content .box .contact
		{
			background: url('../images/layout/contact.gif') 10px 20px no-repeat;
		}

		#content .box .product
		{
			background: url('../images/layout/products.gif') 10px 20px no-repeat;
		}

		#content .box .work
		{
			background: url('../images/layout/work.gif') 10px 20px no-repeat;
		}

		#content .box .press
		{
			background: url('../images/layout/press.gif') 10px 20px no-repeat;
		}

		#content .box .partner
		{
			background: url('../images/layout/partners.gif') 10px 20px no-repeat;
		}

		#content .box .section .block
		{
			border-left: 1px dashed #ccc;
			padding: 10px 0 0 10px;
		}

		/* see JS effect to make blocks render depending on whether single or multiple */

		#content .box .section img
		{
			float: right;
			padding: 5px;
			padding-top: 10px;
		}

/*
FOOTER
*/

#footer
{
  font-size: 75%;
  padding: 20px;
  background: #737373 url('../images/layout/footer.jpg') top left repeat-x;
  color: #fff;
}

  #footer a
  {
    color: #fff;
    font-weight: bold;
  }

/*
PARTNERS
*/

#content .partner h2
{
	padding: 5px;
	margin: 0 10px 10px 0;
	font-size: 150%;
	background: #ececec;
}

#content .partner div.region
{
	padding-bottom: 1em;
}

#content .partner div.type
{
	width: 310px;
	float: left;
}

#content .partner div.c-active
{
	border: 2px solid #ccc;
	padding: 10px;
	max-width: 300px;
	background: #fff;
}

#content .partner h4.active a
{
	color: #000;
}

	#banner div#map-links a {
		position: absolute;
		border: 1px solid transparent;
		outline: 0;
		text-indent: -9999px;
		display: block;
	}

		#banner div#map-links a:hover {
			border: 1px solid #ff8702;
		}

		#banner div#map-links a.europe {
			top: 15px;
			left: 338px;
			width: 144px;
			height: 78px;
		}
            #banner div#map-links a.europe:hover {
                background: url('../images/content/map-parts/europe.png') top left no-repeat;
            }

		#banner div#map-links a.pacific {
            top: 61px;
			left: 457px;
			width: 225px;
			height: 181px;
		}
            #banner div#map-links a.pacific:hover {
                background: url('../images/content/map-parts/pacific.png') top left no-repeat;
            }

		#banner div#map-links a.latin {
			top: 95px;
			left: 143px;
			width: 150px;
			height: 163px;
		}
            #banner div#map-links a.latin:hover {
                background: url('../images/content/map-parts/latin-america.png') top left no-repeat;
            }

		#banner div#map-links a.north {
			top: 5px;
			left: 43px;
			width: 217px;
			height: 106px;
		}
            #banner div#map-links a.north:hover {
                background: url('../images/content/map-parts/north-america.png') top left no-repeat;
            }

		#banner div#map-links a.caribbean {
			top: 108px;
			left: 202px;
			width: 49px;
			height: 30px;
            z-index: 2;
		}
            #banner div#map-links a.caribbean:hover {
                background: url('../images/content/map-parts/carribean.png') top left no-repeat;
            }


		#banner div#map-links a.middle {
			top: 84px;
			left: 418px;
			width: 54px;
			height: 49px;
            z-index: 2;
		}
            #banner div#map-links a.middle:hover {
                background: url('../images/content/map-parts/middle-east.png') top left no-repeat;
            }

		#banner div#map-links a.africa {
			top: 88px;
			left: 325px;
			width: 124px;
			height: 131px;
		}
            #banner div#map-links a.africa:hover {
                background: url('../images/content/map-parts/africa.png') top left no-repeat;
            }

div.other-regions
{
	clear: left;
}

	div.other-regions h3
	{
		font-size: 120%;
		padding-top: 15px;
	}

/*
PRESS
*/

.press p.date
{
	color: #aaa;
}

.press p.read-more span
{
	display: block;
	position: absolute;
	top: -9999px;
}

#content .box .press .odd
{
	width: 370px !important;
}

#content .box .press .even
{
	width: 250px !important;
}

/*
WORK
*/

p.read-more span
{
	display: block;
	position: absolute;
	left: -9999px;
}

div.case-study-set
{
	clear: left;
	border-top: 1px dashed #ccc;
	margin-left: -10px;
}

	div.c-first
	{
	border-top: none !important;
	}

div.case-study
{
	width: 180px;
	margin-left: 10px;
	padding-right: 120px;
	float: left;
}

div.c-odd
{
	border-right: 1px dashed #ccc;
}

/*
UTILITY
*/

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.clearfix {
	display: inline-block;
}

html[xmlns] .clearfix {
	display: block;
}

* html .clearfix {
	height: 1%;
}
