/*
Theme Name: CAE Solutions
Theme URI: http://cae-sc.com/
Description: 
Version: 4.0
Author: CAE Solutions
Tags: 
*/



/* Basic page structure */
html{padding: 0px; margin: 0px;}
body {
    font-size: 9pt; /* Resets 1em to 10px */
    font-family: 'ＭＳ　Ｐゴシック', Osaka, 'Lucida Grande', 'Hiragino Kaku', Verdana, Arial, Sans-Serif;
    color: #333;
    padding: 0px;
    background-color: #f3f3f3;
    margin: 0px;
    }

#page {
    
    	margin: 0px auto 0px auto;
	padding: 0px;
	width: 1193px;
	border: 1px solid #ededed;
	border-top: 8px solid #818385;
	background-color: white;
	text-align: left;
    }

/**** header ****/



#header {
    width: 100%;
    height: 81px;
    }    

#header h1 {
    float: left;
    height: 80px; /* match with padding-top below */
    margin: 0px;
    overflow: hidden;
    }
    
#header h1 a {
    background-image: url(images/logo.png);
    background-repeat: no-repeat;
    display: block;
    height: 0px;
    overflow: hidden;
    padding-top: 80px; /* match with height above */
    width: 133px;
    }
    
#header .description {
    float: right;
    width: 32%;
    color: #666;
    } 
    
#header #search {
    text-align: right;
    margin-top: 1em;
    }
    
#header #searchsubmit {
    position: relative;
    top: 5px;
    }
    
#headergraphic {
    clear: both; 
    width: 1190px;
    }

/**** search ****/

#search #s { border: 1px solid #f7941e; }



/**** breadcrumbs ****/

#breadcrumbs { 
    color: #aaa; 
  margin: 0; 
    margin-bottom: 5px; 
padding-left: 15px;
  }
#breadcrumbs img{
padding-bottom:2px;
display:inline-block;
}

#breadcrumbs a, #breadcrumbs a:visited {
    color: #888;
  text-decoration: none;
  }
  
#breadcrumbs a:hover { background-color: #aaa; }


/**** site-wide and/or popular styles ****/

#subheader {
margin-bottom: 15px; 
padding-left: 15px; 
}

/** white border table with orange headers and white cells **/
/** this style only occurs inside post blocks **/

a img { border: none; }

.post table { 
    border: 2px solid white; 
    border-collapse: collapse;
    margin-top: 1em;
    margin-bottom: 1em;
    }

.post th, td {
    vertical-align: top;
    padding: 5px 0px 5px 0px;
    }

.post th {

    background-color: #f27024;
    background-color: #FF7F00;
    border: 1px solid white;
    color: white;
    text-align: left;
    }

.post table.gray th, .post table.grey th {
    background-color: darkgray;
    }
    
.post td { 
    background-color: white;
    border: 1px solid #f27024;
    border-left: none;
    color: #333;
    }

.post table.gray td, .post table.grey td {
    border: 1px solid darkgray;
    }
    
.post table.aligncenter td { 
    text-align: center; 
    font-size: smaller;
    }

/* in-post links, site wide */

.post a, .page a                 { text-decoration: none; }
.post a:link, .page a:link       { color: #666; } 
.post a:visited, .page a:visited { color: #666; } 
.post a:hover, .page a:hover     { color: #eee; background-color: #666; } 

/**** grey boxes ****/
/** backgrounds are specific width graphics, styled in the individual sections **/

.blend {
    background-repeat: repeat-y;
    margin-bottom: 15px;
    }
    
.blend .top {
    background-repeat: no-repeat;
    width: 100%;
    }
    
.blend .bottom {
    background-repeat: no-repeat;
    background-position: bottom left;
    width: 100%;
    }


/**** single-box wide pages ****/
/** also used on home page for search results **/
/*
  ----------------------------
 |                            |
 |                            |
 |----------------------------|
 |/--------------------------\|
 ||                          ||
 ||                          ||
 ||            X             ||
 ||                          ||
 ||                          ||
 |\--------------------------/|
 |----------------------------|
  ----------------------------
*/

#widepage .blend, #search .blend {
width: 1164px; /* has to match background blend graphic */
margin:15px 17px 15px 15px;
    background-color:#f3f3f3; 
-moz-border-radius:10px;  
-webkit-border-radius:10px;
border-radius:10px;
box-shadow:1px 1px 6px #999;  
-moz-box-shadow:1px 1px 6px #999;  
-webkit-box-shadow:1px 1px 6px #999;  
    }
    
    
#widepage .blend .top, #search .blend .top {
    
    height: 9px;
    }

#widepage .blend .bottom, #search .blend .bottom {
    
    height: 9px;
    }

#widepage .post, #search .post {
    width: 90%;
    margin: auto;
    }

#home #search table {
/* needed by some search results on the index page */
    width: 80%;
  }

/**** 2 column structure with sidebar ****/
/** used on most pages **/
/* we used tables for the columns because
   MSIE 6/7 had too many bugs in the float
   rendering - the right column kept dropping.
   This way isn't 'proper' but it breaks better
   than float columns.
   
*/
 
/*
  ----------------------------
 |                            |
 |                            |
 |============================|
 |/-----\ /------------------\
 ||     | |                   |
 ||  X  | |                   |
 ||  X  | |                   |
 ||  X  | |                   |
 ||     | |                   |
 |\     / \                  /
 |----------------------------|
  ----------------------------
*/

#left { 
float:left;
width: 300px;
padding-left: 15px;
padding-right: 15px;
padding-bottom: 10px;
    }
    

#left ul    { margin: 0px; padding-left: 0px; }
#left ul ul { padding-left: 10px;}
#left li    { list-style-type: none; 
	padding-top: 3px;
	padding-right: 0px;
	padding-bottom: 3px;
	padding-left: 0px;
	text-align: left;
	font-size: 12px;
	color: #666666;
	border-bottom: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #CCCCCC;
	border-bottom-width: 1px;
	list-style-type: none;
	margin: 0px;}

#left li { color: #000; }

#left a { 
   display:block;
    color: #666; 
    text-decoration: none;
    }
    
#left a:hover { 
   display:block;
    background-color: #999; 
    color: white;
    }

#left .currentpost { 
    background-color: #FFA000 ; /* #e27c3e; */
    padding-left: 5px; 
    }
   
#left .currentpost a { color: white; }

#left .currentpost ul { background-color: white; padding-left: 5px; } 
#left .currentpost ul a { color: #666; }

#newssidebar h3 { font-weight: normal; }

/*
  ----------------------------
 |                            |
 |                            |
 |============================|
 |/-----\ /------------------\|
 ||     | |                  ||
 ||     | |                  ||
 ||     | |       XXX        ||
 ||     | |                  ||
 ||     | |                  ||
 |\-----/ \------------------/|
 |----------------------------|
  ----------------------------
*/


#right {
float:left;

    width: 670px;
    padding-left: 5px;
    }
    
#right .blend {
    width: 670px; /* has to match background blend graphic */
    background-image: url(images/shade-left-550-bg.png);
    }

#right .blend .top {
    background-image: url(images/shade-left-550-top.png);
    height: 7px;
    }

#right .blend .bottom {
    background-image: url(images/shade-left-550-bottom.png);
    height: 7px;
    }

#right .post {
    width: 80%;
    margin: auto;
    }

#right h2 {
    margin: 0px;
    }

#right img {
    display:inline;
    }

#right .post h2 a:hover { 
    color: #ddd;
    background-color: #666; 
    text-decoration: none;
    }

#right .category-products p a { 
    background-image: url(images/clicker-med.png); 
    background-repeat: no-repeat;
    padding-left: 15px;
    }

#right .category-products p a.noicon { 
    background-image: none; 
    padding-left: 0px;
    }

#right h2 a { 
    color: #333; 
    text-decoration: none;
    background-color: transparent;
    }
#table_typeA th{
text-align:left;
padding:5px;
}


/**** 2 column structure withOUT sidebar ****/
/** used on the product overview page (category-4.php) **/
/** 2 balanced columns **/
 
/*
  ----------------------------
 |                            |
 |                            |
 |============================|
 |/-----------\  /-----------\|
 ||           |  |           ||
 ||           |  |           ||
 ||     X     |  |     X     ||
 ||           |  |           ||
 ||           |  |           ||
 |\-----------/  \-----------/|
 |----------------------------|
  ----------------------------
*/

#products table#column2 {
clear: both; 
    border: none;
    border-collapse: collapse;
    margin: 0;
    width: 1190px;
    }

#products table#column2 td {
    padding: 0px;
    }

#products table#column2 #left,
#products table#column2 #right {
    width: 50%;
    }

#products table#column2 #left {
    padding-right: 10px; 
    }
    
#products .productbox {
    width: 375px; /* has to match background blend graphic */
    background-image: url(images/shade-left-380-bg.png);
    background-repeat: repeat-y;
    margin-bottom: 10px;
    }
    
#products .productbox .top {
    background-image: url(images/shade-left-380-top.png);
    background-repeat: no-repeat;
    height: 7px;
    width: 100%
    }

#products .productbox .bottom {
    background-image: url(images/shade-left-380-bottom.png);
    background-repeat: no-repeat;
    background-position: bottom left;
    height: 7px;
    width: 100%
    }
    
#products .productbox table {
    width: 350px;
    table-layout: fixed;
    border: none;
    margin-left: 5px;
    }

#products .productbox td.graphic {
    width: 185px; /* duplicated in html for IE */
    padding-left: 10px;
    text-align: center;
  vertical-align: middle;
    }

#products .productbox td.graphic img {
    margin: auto;
    }

#products  .productbox td.titles { 
/*extra id needed to override line 389 */
    padding: 0px 9px 0px 10px;
    width: 160px; /* duplicated in html for IE */
    text-align: left;
    }

#products .productbox h3 { 
    margin-top: 0px; 
    color: #bebebe;
    font-size: 14pt;
    font-weight: normal;
    }

#products .productbox .titles ul {
    margin: 0;
    padding-left: 0;
    }

#products .productbox .titles li {
    list-style-type: none; 
    }
        
#products .productbox a       { color: #959595; text-decoration: none; }
#products .productbox a:hover { color: white;   background-color: #bebebe; }


/**** 3 section structure for home page ****/
/** used on index.php) **/
 
#home table {
    border: none;
    margin: 0;
    width: 100%;
    }

#home table td {
    padding: 0px;
    }

#home #featured { 
    width: 100%;
    }
  
  
#home h2 { 
    margin: 2px 0 2px 0px; 
    color: #666;
    font-size: 14pt;
    font-weight: bold;
    }

#home table {
    table-layout: fixed;
    width: 765px;
    border-collapse: separate;
    border-spacing: 1px;
    position: relative;
    left: -1px;
  }

/*
  ----------------------------
 |                            |
 |                            |
 |============================|
 |/----\ /----\ /----\ /-----\|
 || XX | | XX | | XX | |  XX ||
 |\----/ \----/ \----/ \-----/|
 |/--------------------------\|
 ||                          ||
 ||                          ||
 ||                          ||
 ||                          ||
 |\--------------------------/|
 |----------------------------|
  ----------------------------
  
  Again, its tabled as divs
  didn't deliver reliable alignment
  
*/

#home .productbox .top {
    background-image: url(images/shade-left-185-top.png);
    background-repeat: no-repeat;
    height: 7px;
    width: 100%
    }

#home .productbox .inner {
    width: 185px; /* has to match background blend graphic */
    background-image: url(images/shade-left-185-bg.png);
    background-repeat: repeat-y;
  overflow: hidden;
  height: 100%;
    }

#home .productbox .bottom {
    background-image: url(images/shade-left-185-bottom.png);
    background-repeat: no-repeat;
    background-position: bottom left;
    height: 7px;
    }

#home .productbox h3, #home .productbox h4 { 
    margin: 2px 0 2px 5px; 
    margin-left: 5px;
    color: #666;
    font-size: 10pt;
    font-weight: normal;
    }
    
#home .productbox h3 {
    /*
    line-height: 0.9em;
    margin-bottom: 5px;
    */
    }
    
#home .productbox h4 { 
    font-size: 10pt; 
  height: 3em;
  }

#home  .productbox h4 a
    { color: #666; 
      text-decoration: none; }


#home .productbox .graphic {
    margin-left: 0px;
    text-align: center;
    }

#home .productbox .graphic img {
    display: block;
    margin: auto;
    }
    
#home #featuredbanner {
	padding-top: 10px;
	padding-right: 15px;
	padding-bottom: 10px;
	padding-left: 15px;
	clear: both;
    }


/*
  ----------------------------
 |                            |
 |                            |
 |============================|
 |/----\ /----\ /----\ /-----\|
 ||    | |    | |    | |     ||
 |\----/ \----/ \----/ \-----/|
 |/-----------\ /------------\|
 ||           | |            ||
 ||    XX     | \------------/|
 ||    XX     | /------------\|
 ||           | |            ||
 |\-----------\ \------------/|
 |----------------------------|
  ----------------------------
  
*/

#home #news .blend {
    background-image: url(images/shade-right-370-bg.png);
    background-repeat: repeat-y;
    width: 370px;
    margin-bottom: 7px;
    }

#home #news .blend .top {
    background-image: url(images/shade-right-370-top.png);
    height: 7px;
    }

#home #news .blend .bottom {
    background-image: url(images/shade-right-370-bottom.png);
    height: 7px;
    }

#home #news .post { 
margin:0px;
    padding: 0px 10px 0px 0px; 
    width: 350px;
    }

#home #news ul { 
    padding-left: 0; 
    padding-top: 5px;
    background-color: white;
    margin: 0;
    }
    
#home #news li { 
    list-style-type: none; 
    margin-left: 5px;
    border-bottom: 1px solid #ccc;
    line-height: 2em;
    }
    
#home #news li.year {
    border: none;
    /* background-image: url(images/datebar.png); */
    background-repeat: no-repeat;
    height: 19px;
    width: 353px;
    line-height: 0.8em;
    padding: 5px 0 0 10px;
    color: black;
    }
    
#home #news .post table {
    width: 350px;
    }
    
#home #news .xt {
    display: none;
    }
    
  
/*
  ----------------------------
 |                            |
 |                            |
 |============================|
 |/----\ /----\ /----\ /-----\|
 ||    | |    | |    | |     ||
 |\----/ \----/ \----/ \-----/|
 |/----\ /----\ /----\ /-----\|
 ||    | |    | |    | |     ||
 |\----/ \----/ \----/ \-----/|
 |/-----------\ /------------\|
 ||           | |    XXX     ||
 ||           | \------------/|
 ||           | /------------\|
 ||           | |    XXX     ||
 |\-----------\ \------------/|
 |----------------------------|
  ----------------------------
  
*/

#home .blend {
    background-image: url(images/shade-right-370-bg.png);
    background-repeat: repeat-y;
    width: 375px;
    margin-bottom: 7px;
    }

#home .blend .top {
    background-image: url(images/shade-right-370-top.png);
    height: 7px;
    }

#home .blend .bottom {
    background-image: url(images/shade-right-370-bottom.png);
    height: 7px;
    }
  
#home .post { 
    padding: 0 10px; 
    width: 350px;
    }

#home .post table {
    width: 350px;
    left: 0px;
  }

#home table.events {
    border-collapse: collapse;
  }
  
#home table.events  tr {
    border-bottom: 1px solid #ccc;
    }
        
#home table.events  th {
    background-color: white; 
    color: inherit;
    font-weight: normal;
    border: none;
    vertical-align: top;
    text-align: left;
    padding: 5px;
    width: 35%;
    }
    
#home table.events td {
    border: none;
    vertical-align: top;
    text-align: left;
    padding: 5px;
    }

#home .events td.more {
    border-bottom: 1px solid white;
    }

    
/**** footer ****/
/*
  ----------------------------
 |                            |
 |                            |
 |----------------------------|
 |/--------------------------\|
 ||                          ||
 ||                          ||
 ||                          ||
 ||                          ||
 ||                          ||
 |\--------------------------/|
 | XXXXXXXXXXXXXXXXXXXXXXXXXX |
  ----------------------------
*/

#footer { 
 margin-top:10px;
 background-image: url(images/footer-background.png);
 background-repeat: repeat-x;
 clear: both;
 color: #e7e8e9;
 font-size: 12px;
 height: 42px;
 width: 1196px;
 line-height:42px;
 text-align: center;
 display: block;
 }
    
#footer ul { 
    margin: auto;
    padding: 0px;
    }

#footer li {
    display: inline;
    list-style-type: none;
    padding: 0px 20px;
    
    }

#footer a { color: #e7e8e9; text-decoration: none; }
.footer-bottom {
width:100%;
padding-left:15px;
padding-light:15px;
line-height:10px;}

.pagename { display: none; }

.alignright {
    float: right;
  margin-left: 20px;
  }
element { }


