/* -------------------------------------------------------------- 
   
   base.css
   * Global styling for Schneider Electric sites.
      
-------------------------------------------------------------- */

/* Reset browser defaults
-------------------------------------------------------------- */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0 auto;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: Arial, Helvetica, sans-serif;
  vertical-align: baseline;
}

body { 
  line-height: 1.5; 
}

/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
table, td, th { vertical-align: middle; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

/* Remove annoying border on linked images. */
a img { border: none; }


/* Default font settings. 
   The font-size percentage is of 16px. (0.75 * 16px = 12px) 
-------------------------------------------------------------- */
body { 
  font-size: 75%;
  color: #222; 
  background-color: #efefef;
  font-family: Arial, Helvetica, sans-serif;
  margin: 5px 0;
}


/* Headings
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #111; }

h1 { font-size: 2.2em; line-height: 1; margin-bottom: 0.5em; }
h2 { font-size: 2em; margin-bottom: 0.75em; }
h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; height: 1.25em; }
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
h6 { font-size: 1em; font-weight: bold; }

h1 img, h2 img, h3 img, 
h4 img, h5 img, h6 img {
  margin: 0;
}


/* Text elements
-------------------------------------------------------------- */

p           { margin: 0 0 1.5em; }
p img       { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }

a:focus, 
a:hover     { color: #ec3803; }
a           { color: #009530; }

blockquote  { margin: 1.5em; color: #666; font-style: italic; }
strong      { font-weight: bold; }
em,dfn      { font-style: italic; }
dfn         { font-weight: bold; }
sup, sub    { line-height: 0; }

abbr, 
acronym     { border-bottom: 1px dotted #666; }
address     { margin: 0 0 1.5em; font-style: italic; }
del         { color:#666; }

pre,code    { margin: 1.5em 0; white-space: pre; }
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; } 


/* Lists
-------------------------------------------------------------- */

li ul, 
li ol       { margin:0 1.5em; }
ul, ol      { margin: 0 1.5em 1.5em 1.5em; list-style-position: inside; }

ul          { list-style-type: disc; }
ol          { list-style-type: decimal; }

dl          { margin: 0 0 1.5em 0; }
dl dt       { font-weight: bold; }
dd          { margin-left: 1.5em;}


/* Tables
-------------------------------------------------------------- */

table       { margin-bottom: 1.4em; width:100%; }
th          { color:white; font-weight: bold; background: #626469; }
th,td       {
	padding: 3px 8px;
}
tr.even td  { background: #EFEFEF; }
tfoot       { font-style: italic; }
caption     { background: #eee; }


/* Misc classes
-------------------------------------------------------------- */

.x-small    { font-size: .7em; }
.small      { font-size: .9em; margin-bottom: 1.875em; line-height: 1.875em; }
.large      { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
.hide       { display: none; }

.quiet      { color: #666; }
.loud       { color: #000; }
.scream		{ color: #ec3803; }
.highlight  { background:#ff0; }
.added      { background:#060; color: #fff; }
.removed    { background:#900; color: #fff; }

.first      { margin-left:0; padding-left:0; }
.last       { margin-right:0; padding-right:0; }
.top        { margin-top:0; padding-top:0; }
.bottom     { margin-bottom:0; padding-bottom:0; }
.bordered   { border: 1px solid #ccc;}
.badge { background-color: #E47F00; color: #fff; font-size: .9em; font-weight: bold; padding: 2px 5px; text-decoration: none; }


/* Page shell
-------------------------------------------------------------- */

#wrapper { background-color: #fff; border: 10px solid #fff; width: 950px; }
#main { margin: 0; }
#content { margin: 20px 0 0 10px; }


/* Page header
-------------------------------------------------------------- */
#header, #logo, #global, #search { display: block; margin: 0; padding: 0; }
#header { clear: both; }
#header #country { color: #6e6e6d; float: left; font-size: 1.2em; font-weight:bold; position: relative; top: 10px; width: 277px; }
#logo { border: none; float: left; height: 65px; position: relative; width: 380px; overflow: hidden; }
#global { background: url(../images/title.jpg) bottom left no-repeat; border: none; float: right; height: 65px; position: relative; width: 570px; }
#global #links { display: block; font-size: .9em; height: 23px; margin: 5px 10px 0 0; padding: 0; text-align: right; }
#global #links li { display: inline; line-height: 1; }
#global #links li a { border-right: 1px solid #9FA0A4; color: #626469;  padding: 0 8px; text-decoration: none; }
#global #links li a.last { border-right: 0px solid; padding-right: 0; }
#global #links li a:hover { color: #B10043; text-decoration: underline; }
#search { background-color: #e8e8e8; float: right; height: 30px; padding: 7px 7px 0 0; position: relative; text-align: right; width: 283px; }
#search #searchtext { border: 1px solid #9fa0a4; font-size: 1em; height:1.3em; vertical-align: middle; width: 200px; }
#search #searchbutton { vertical-align: middle; }


/* Site navigation
-------------------------------------------------------------- */

.tabs { display: block; font-size: 1em; font-weight: bold; height: 1%; margin: 0; padding: 0; position: relative; }
.tabs ul { background-color: #009530; float: left; height: auto; margin: 0; padding: 0; width: 100% }
.tabs ul li {  display: inline;  }
.tabs ul li a { background-color: #009530; border-right: 1px solid #fff; color: #fff; float:left; margin: 0; padding: 0.3em 1.3em; text-decoration: none; text-align: center; }
.tabs ul li a:hover { background-color: #efefef; color: #E47F00; }
.tabs ul li a.selected { background-color: #626469; }


/* Section header
-------------------------------------------------------------- */

#breadcrumb { border-bottom: solid 1px #e9e9e9; color: #9FA0A4; font-size: .9em; margin: 0; padding:10px }
#breadcrumb a { color: #9FA0A4; text-decoration: none; }
#breadcrumb a:hover { color: #009530; text-decoration: underline; }
#masthead { background-color: #efefef; clear: both; margin: 0; padding: 0; position:relative; }
#masthead a { color: #ffffff; text-decoration: none; }
#masthead a:hover { text-decoration: underline; }
#masthead h1 { color: #ffffff; font-size: 22px; font-weight: normal; margin-bottom: 0; }


/* Local navigation
-------------------------------------------------------------- */

#nav a { text-decoration: none; }
#nav ul { margin: 0; padding: 0; text-indent: 0; }
#nav ul li { list-style-type: none; margin: 0; padding: 5px; }
#nav ul li.selected { background: url(../images/carat.gif) no-repeat; background-color: #87d300; background-position: 96% 50%; }
#nav ul li.selected a { color: #ffffff; font-weight: bold; }


/* Page footer
-------------------------------------------------------------- */

#footer { display: block; font-size: 11px; margin: 0; }
#footer #links { background-color: #efefef; padding:5px; }
#footer #links ul { margin: 0; padding: 0; }
#footer #links ul li { border-right: 1px solid #cccccc; display: inline; padding: 0 5px 0 6px; list-style-type: none; }
#footer #links a { color: #626469; }
#footer #copyright { color: #626469; font-size: 10px; padding: 5px; } 


.callout {
	background-color: #ffffb3;
	border: 2px solid #ffd100;
	margin: 15px 0;
	padding: 15px;
}
.callout a {
	font-weight: bold;
	text-decoration: underline;
}
.clearall {
	clear: both;
	font-size: 0;
}
.button {
	background-color: #4fa600;
	border: 2px solid #87d300;
	border-style: outset;
	color: white;
	padding: 2px 0;
	margin: 15px 3px 0 0;
	width: auto;
}
.column-in {
	display: block;
	padding: 15px;
}


/* Grid-based layout columns
-------------------------------------------------------------- */

div.span-1, div.span-1-5, div.span-2, div.span-3, div.span-4, div.span-5 {
	float: left;
	margin-right: 10px;
}

/* The last column in a row needs this class. */
div.last { margin-right: 0; }

/* grid is 950px wide, comprised of five 190px-wide columns */
.span-1 { width: 180px; }
.span-1-5 { width: 265px; }  /* 1.5 width */
.span-2 { width: 360px; }
.span-3 { width: 550px; }
.span-4 { width: 740px; }
.span-5 { width: 930px; }

/* Border on right hand side of a column. */
div.border {
  padding-right: 4px;
  margin-right: 5px;
  border-right: 1px solid #eee;
}

/* Border with more whitespace, spans one column. */
div.colborder {
  padding-right: 5px;
  margin-right: 10px;
  border-right: 1px solid #eee;
}


/* Misc classes and elements
-------------------------------------------------------------- */

/* Use a .box to create a padded box inside a column.  */ 
.box { 
  height: 1%;
  padding: 1.5em; 
  margin-bottom: 1.5em; 
  background: #E5ECF9; 
}

/* Use this to create a horizontal ruler across a column. */
hr {
  background: #ddd; 
  color: #ddd;
  clear: both; 
  float: none; 
  width: 100%; 
  height: .1em;
  margin: 0 0 1.45em;
  border: none; 
}
hr.space {
  background: #fff;
  color: #fff;
}

/* Clearing floats without extra markup
   Based on How To Clear Floats Without Structural Markup by PiE
   [http://www.positioniseverything.net/easyclearing.html] */

.clearfix:after, .container:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
.clearfix, .container {display: inline-block;}
* html .clearfix,
* html .container {height: 1%;}
.clearfix, .container {display: block;}

/* Regular clearing
   apply to column that should drop below previous ones. */

.clear { clear:both; }

div.dotted-divider { background: url(../images/bg_border_dot.gif) repeat-x bottom; clear: both; float: none; height: 10px; margin-bottom: 15px; }
div.solid-divider { border-bottom: 1px solid #eee; clear: both; float: none; font-size: 0; height: 3px; margin-bottom: 15px; }

.category-link-list h5 { background: url(../images/bg_border_dot.gif) bottom repeat-x; font-weight: bold; margin-bottom: .5em; padding-bottom: 4px; }
.category-link-list dt { margin: 0; padding: 0; }
.category-link-list dd { color: #626469; font-size: .9em; margin: 0 0 10px 0; padding: 0; text-indent: 0 }

.menu-2col { column-count: 2; column-gap: 15px; column-width: 160px; list-style-position:outside; list-style-type: none; }
.menu-2col ul { margin: 0; padding: 0; list-style-position: outside; }
.menu-2col li { list-style-type: none; margin: 0; padding: 0; }
.mini-caps  { text-transform: uppercase; }


/* Fill colors
-------------------------------------------------------------- */

.spruce-green { background-color: #009530; }
.lady-fern-green { background-color: #4FA600; }
.seedling-green { background-color: #87D300; }
.dark-gray { background-color: #626469; }
.light-gray { background-color: #9FA0A4; }
.sunflower-yellow { background-color: #FFD100; }
.honeysuckle-orange { background-color: #E47F00; }
.fuschia-red { background-color: #B10043; }
.sky-blue { background-color: #42B4E6; }
.xtra-light-gray { background-color: #efefef; }

.gray-gradient { background: url(../images/box-gradient-gray.png) #fff repeat-x top; min-height: 200px; }


/* General purpose navigation tabs
-------------------------------------------------------------- */

.tabstrip { padding: 3px 0; margin-left: 0; border-bottom: 1px solid #ccc; font-size: 12px; }
.tabstrip li { list-style: none; margin: 0; display: inline; }
.tabstrip li a { padding: 3px 0.5em; margin-left: 3px; border: 1px solid #ccc; border-bottom: none; background: #efefef; text-decoration: none; }
.tabstrip li a:link { color: #448; } 
.tabstrip li a:visited { color: #667; }
.tabstrip li a:hover { color: #000; background: #009530; border-color: #ccc; }
.tabstrip li a#current { background: white; border-bottom: 1px solid white; }

