/*
 * Main Layout
 */

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */

div.sidebar-bottom
{
  margin-top: 25px;
  margin-left: 40px;
  margin-bottom: 20px;
  vertical-align: baseline;
}
div.content-area
{
  border: 1px solid #446E6F;
  padding: 0px 15px 15px 15px;
  background-color: #ffffff;
  margin-left: 175px; 
  height: 100%; /* 100% height is an IE workaround. Do not remove! */
  position: relative;
}
.content-area:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}
div.body-background 
{
  background-color: #C8CDD0;
  padding: 10px;
  margin-left: 9px;
  margin-right: 10px;
}
.body-background:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}
div.box-area
{
  width: 165px;
  float: left;
}


/*
 * Header CSS 
 */
#flags
{
  white-space: nowrap;
  text-align: center;
  padding-bottom: 5px;  
}
#flags img
{
  position: relative;
  z-index: 2;
  border: 0px;
  padding-left: 5px;
  padding-right: 5px;
}

#flags ul
{
  white-space: nowrap;
  padding: 0px;
  margin: 0px;
  display: inline;
}
#flags li
{
  white-space: nowrap;
  display: inline;
}

#top-images
{
  white-space: nowrap;
  float: left;
}
#top-images img
{
  position: relative;
  z-index: 2;
  border: 0px;
}

#top-images ul
{
  white-space: nowrap;
  padding: 0px;
  margin: 0px;
  display: inline;
  float: left;
}
#top-images li
{
  float: left;
  white-space: nowrap;
  display: inline;
}
div.header-bg
{
  z-index: 0;
  height: 140px;
  background-image: url(http://www.internethelpblog.com/templates/niche/images/ihb-mid.jpg);
  background-repeat: repeat;
  position: relative;
}
#header-left img
{
  position: absolute;
  z-index: 1;
  bottom: 0px;
  left: 0px;
}
#header-right img
{
 position: absolute;
 right: -3px;
}

/*
 * Main Box Layout
 */

div.box-header
{
  font-weight: bold; 
  color: #ffffff;
  border: 1px solid #446E6F;
  padding: 3px 0 3px 0;
  text-align: center;
  width: 165px;
  background-color: #3B5859;
}
div.box-content
{
  border-left: 1px solid #446E6F;
  border-right: 1px solid #446E6F;
  border-bottom: 1px solid #446E6F;
  margin-bottom: 10px;
  text-align: left;
  background-color: #ffffff;
  width: 165px;
}

/*
 * Featured Articles
 */
#featured {
  clear: right;
}
.featured:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}
#featured-left
{
  width: 49%;
  float: left;
}

#featured-right
{
  width: 49%;
  float: right;
}

#featured-left img
{
  border: 0px;
  padding: 8px;
  float: left;
  width: 100px;
  height: 100px;
}
#featured-right img
{
  border: 0px;
  padding: 8px;
  float: right;
  width: 100px;
  height: 100px;
}
#featured-left span
{
  font-family: Tahoma, Verdana, Sans-Serif;
  font-size: small;
  font-style: italic;
}
#featured-right span
{
  font-family: Tahoma, Verdana, Sans-Serif;
  font-size: small;
  font-style: italic;
}

/*
 * Articles
 */

#article
{
  position: relative;
}
#article img
{
  margin: 20px 8px 0px 0px;
  float: left;
  width: 100px;
  height: 100px;
}
#article span
{
  font-family: Tahoma, Verdana, Sans-Serif;
  font-size: small;
  font-style: italic;
}
.article:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}


img.borderless-image
{
  border: 0px;
}
  

/* Using div.body instead of just body is an IE workaround. Do not remove! */
/*
* html body <more> {width:730px}
* html body #body <more> {width:730px}
*/
div.body
{
  min-width: 730px;
  width:expression(document.body.clientWidth < 780 ? "730px" : "100%" );
  position: relative;
  margin: 15px 15px 15px 15px;
  font-family: Tahoma, Verdana, Sans-Serif;
  font-size: small;
  line-height: normal;
  font-weight: normal;
  font-variant: normal;
}
body 
{
  background-color: #ffffff;
}

#author-blurb 
{
  clear: right;
  float: right;
  width: 150px;
  border: 1px solid ;
  margin: 7px 0px 7px 7px;
  padding: 7px;
  background-color: #C8CDD0;
}
#author-blurb img
{
  padding: 5px;
  float: right;
  width: 60px;
  height: 60px;
}
h1
{
  color: #000;
  display: block;
  background-color: #FFFFFF;
  border: 1px solid #FFFFFF;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-top: 7px;
  padding-bottom: 7px;
  font-size: xx-large; 
  font-weight: 700;
  text-align: center;
  text-decoration: underline;
}
h2
{
    padding: 0px;
    font-size: x-large; 
    font-weight: bold;
}
h3 
{
    padding: 0px;
    font-size: large; 
    font-weight: bold;
}
h4
{
    margin-top: 10px;
    padding: 0px;
    font-weight: bold;
    font-size: small;
}
a:link {
  color: #000000;
  font-family: Tahoma, Verdana, Sans-Serif;
  font-size: small;
  font-weight: bold;
  text-decoration: underline;

}
a:hover {
  color: #3B5859;
  font-family: Tahoma, Verdana, Sans-Serif;
  font-size: small;
  font-weight: bold;
  font-style: normal;
  line-height: normal;
  font-variant: normal;
  text-transform: none;
  text-decoration: underline;
}
a:visited {
  color: #000000;
  font-family: Tahoma, Verdana, Sans-Serif;
  font-size: small;
  font-weight: bold;
  font-style: normal;

}

.inputstyle {
  font-family: Tahoma, Verdana, Sans-Serif;
  font-size: small;
  font-weight: normal;
  color: #5F726F;
  background-color: #E2EDEB;
  border: 1px solid #333333;
}

div.clr
{
  clear: both;
}

div.scyscraper-ad
{
  text-align: center;
  padding-top: 12px;
  padding-bottom: 12px;
}
div.wide-ad
{
  margin-top: 12px;
  margin-bottom: 12px;
  text-align: center;
}
div.article-ad
{
  margin-left: 10px;
  margin-bottom: 7px;
  float: right;
  width: 300px;
  height: 250px;
}
div.search-box
{
  padding-left: 5px;
  padding-right: 5px;
  text-align: center;
  padding-top: 5px;
  padding-bottom: 5px;
}


ul { margin-left: 13px; padding-left: 13px; }

form { display: inline; }

#button {
  width: 100%;
  /* border-right: 1px solid #000; */
  padding: 0px;
  /* margin-bottom: 1em; */
  font-family: 'Tahoma', 'Trebuchet MS', 'Lucida Grande',
    Verdana, Lucida, Geneva, Helvetica, 
    Arial, sans-serif;
  background-color: #649293;
}

#button ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border: none;
}
  
#button li {
  border-bottom: 1px solid #0A5064;
  margin: 0;
}

#button li a {
  display: block;
  padding: 5px 5px 5px 5px;
  border-left: 10px solid #507778;
  border-right: 10px solid #71AAAB;
  background-color: #649293;
  color: #FFFFFF;
  text-decoration: none;
  text-align: center;
  width: 100%;
}

html>body #button li a {
  width: auto;
}

#button li a:hover {
  border-left: 10px solid #659EA0;
  border-right: 10px solid #9FE4E6;
  background-color: #86C3C5;
  text-align: center;
  color: #ffffff;
}


/*
 * Categories page
 */

div.top-article 
{
  /* IE workaround, cannot be 100% */
  width: 90%;
  margin-right: 25px;
  min-height: 150px;
}
div.top-article div.description 
{
  font-style: italic;
  margin: 0px 0px 0px 85px;
}
div.top-article img
{
  border: 0px;
  padding-top: 5px;
  width: 75px;
  height: 75px;
  float: left;
}
div.top-article span
{
  display: block;
  margin: 0px 25px 5px 85px;
}
/* problem here in firefox */
div.all-categories
{
  display: block;
  width: 95%;
  text-align: center;
  padding: 0;
  margin-left: 2.5%;
  margin-right: 2.5%;
  margin-top: 15px;
  margin-bottom: 0px;
}
.all-categories:after {
    content: "."; 
    display: block; 
    height: 0; 
    visibility: hidden;
}
div.cat-a { text-align: left; float: left; display: block; width: 25%; }
div.cat-b { text-align: left; float: left; display: block; width: 25%; }
div.cat-c { text-align: left; float: left; display: block; width: 25%; }
div.cat-d { text-align: left; float: left; display: block; width: 25%; }

div.cat-row
{
  width: 100%;
}
.cat-row:after {
    content: "."; 
    display: block; 
    height: 0; 
    visibility: hidden;
}

/*
 * Search page specific, other search related stuff
 */
div.footer
{
  margin-top: 10px;
  clear: both;
  text-align: center;
}
#top-searches 
{
  width: 150px;
  border: 1px solid #000000;
  background-color: #AAAAAA;
  padding: 7px;
  margin: 10px 1px 10px 10px;
  float: right;
}

span.search-header
{
  font-size: larger;
  display: block;
  color: #ffffff;
  border: 1px solid #446E6F;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 6px 10px 6px 10px;
  text-align: right;
  background-color: #3B5859;
}

div.search-result
{
  width: 90%;
  margin: 0px 0px 10px 0px;
}
div.search-result span
{
  display: block;
  font-family: Tahoma, Verdana, Sans-Serif;
  font-size: small;
  font-style: italic;  
  margin-top: 5px;
}
