/*
File:			custom.css
Description:	Custom styles for Thesis

BASIC USAGE:

If you have enabled the custom stylesheet in the Thesis options panel, the <body> tag 
will be appended with the "custom" class, like so: <body class="custom">. You can use 
the "custom" class to override *any* CSS declarations contained in the style.css file.

For example, if you wish to change the default link color to green, you would add the 
following declarations to this file:

	.custom a, .custom a:visited { color: #090; }	<--- This makes links green
	.custom a:hover { color: #00f; }	<--- This makes links blue when you mouse over them

WHY THIS WORKS:

By using the "custom" class, you are creating more specific CSS declarations for HTML
elements. CSS styling is applied through rules of specificity, and because declarations
prepended with .custom are more specific, they get applied when the page is rendered!

More information about styling your Thesis installation using this file can be found
in the User's Guide:
	http://diythemes.com/thesis/rtfm/customizing-thesis-with-customcss/
*/
.custom h1 { margin-top: 0; margin-bottom:0; }
.custom h2 { margin-top: 0; margin-bottom:0; }
.custom h3 {margin-top: 0; margin-bottom:0; }
.custom br { margin-top: 0; margin-bottom:0; }
.custom img { clear:none; margin-top: 0; margin-bottom:0; }

/*space between headline and post*/
.custom .headline_area { margin-bottom: 5px; }

.custom .icon { float: left; margin: 0 1em 0 0 ; }
.custom .myimage { float:right; margin: 1em 1em 1em 1em; }
.custom .mydiv { float:right; width: 220pix; overflow:auto; }

/* Middle Nav bar */
.custom ul#topnav {
border-style: none;
-moz-border-radius: 7px;
list-style-image: none;
list-style-position: outside;
list-style-type: none;
vertical-align: middle;
background:#0044aa none repeat scroll 0 0;
width: 100%;
float: left;
}
.custom ul#topnav li { float: left; padding: 6px 5px 6px 5px; }
.custom ul#topnav li a { font-size: 1.6em; color: #ffffff; }
.custom ul#topnav li a:hover { color: #aaaaaa } 

/* Display only one teaser */
.custom .teaser {
   width: 100%;
   margin-top: 2em;
   padding-top: 2em;
   border-top: 1px dotted #bbb;
   text-align: justify;
}
.custom .teasers_box {
   padding-top: 0;
   padding-bottom:0;
   border-top: 0;}

/*Custom top bar background - edit here */
.custom #customnav { position: relative; height: 32px; width: 974px: padding: 0 1em; background: #ffffff 100% 100% no-repeat; border: none; }

/* Custom sidebar headings - rounded */
.custom .sidebar h3{background-color: #2c5aa0;
-moz-border-radius: 6px;&nbsp;padding: 0.4em 0.4em 0.4em 1em; font-weight:bold; font-size:1em; color:#ffffff;}

/* Header background - custom */
.custom #header { 
-moz-border-radius: 10px;
background-color: #224477;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#111144', endColorstr='#224499'); /* for IE */
background: -webkit-gradient(linear, left top, left bottom, from(#114), to(#249)); /* for webkit browsers */
background: -moz-linear-gradient(top,  #114,  #249); /* for firefox 3.6+ */
}

.custom .buy-now {
   border: none;
   color: white;
   background-color: #008CBA;
   padding: 11px 24px;
   text-align: center;
   text-decoration: none;
   display: inline-block;
   font-size: 16px;
   margin-left: 20px;
   margin-top: 6px;
   margin-bottom: 10px;
}

.custom .buy-now:hover, .buy-now:active, .buy-now:focus {
  background-color: #00BFFF;
}

/* space between individual widgets */
.custom li.widget { margin-bottom: 1em ; }

a.myrsslink:link {color: #ffffff;}
a.myrsslink:active {color: #ffffff;}
a.myrsslink:visited {color: #ffffff;}
a.myrsslink:hover {color: #777777;}

.sidelist {
  list-style: none;
  margin: 0.3em 0;
  padding: 0;
}

div#sidebars ul.sidelist li {
 margin: 0em;
}

a.sidebutton {
  border-radius: 3px;
  padding: 3px 8px;
  box-shadow: none;
  border: 1px solid lightgrey;
 overflow: hidden;
 text-overflow: ellipsis;
 white-space: nowrap;
 background: #e9e9e9;
 color: black;
 width: 205px;
 margin: 0.1em;
 display: inline-block;
 text-align: center;
 font-weight: 500;
}

a.sidebutton:hover {
  color: #003380;
  background: #f0f8ff;
  border: 1px solid lightblue;
  box-shadow: 0 0 5px rgba(81, 203, 238, 1);
  text-decoration: none;
}

a.button-blue, button.button-blue {
 background:#e8f0fe;
 color:#003380;
}

a.button-red, button.button-red {
 background:#fef0e8;
 color:#803300;
}