/*  
Theme Name: RichardGrenell
Theme URI: http://www.wordpress.com/
Description: A clean, Adsense-ready WP theme.
Author: Martin Wawrusch
Author URI: http://www.wordpress.com/
Version: 1.3
Tags:blue color, right sidebar, two columns, fixed width
*/

/* Reset Defaults Starts */

* {
  margin: 0;
  padding: 0;
  }

h1, h2, h3, h4, h5, h6, p, blockquote {
  margin: 0;
  padding: 10px;
  }

a {
color:  #1B5C7B;
  }

a:hover {
  color: #333;
  }

blockquote {
  margin: 5px 15px;
  padding: 5px 5px;
  background: #8CB5D8;
  border: 1px solid #3A7CAC;
  }

code {
  color: #3366CC;
  }

a img {
  border: none;
  }

img.centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

img.alignright {
    padding: 4px;
    margin: 0 0 2px 7px;
    display: inline;
}

img.alignleft {
    padding: 4px;
    margin: 0 7px 2px 0;
    display: inline;
}

.alignright {
    float: right;
}

.alignleft {
    float: left;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}




/* Reset Defaults Ends */

body 
{
  position: relative; /* Fixes browser resizing bug in IE6 */
  margin: 0 auto 10px 150px;
  width: 950px;
  font-family: tahoma, geneva, sans-serif; /*Georgia, Helvetica, sans-serif; */ 
  text-align: center; /* IE Centering Technique */

  color: #666;
	background: #EDEDED url(images/header.jpg) no-repeat top left;
}

#wrapper 
{
  
	text-align: left; /* IE Centering Technique */

}

.topcurve {
  margin-top: 15px;
  height: 13px;
  background-color: none;
/*  background: url(images/bgtop.gif) left top no-repeat; */
  }


.topcurvewhite {
  margin-top: 18px;
  height: 13px;
  background-color:White;
clear:both;
  }


.bottomcurve {
  margin: 0;
  height: 13px;
background-color: #1B5C7B;
/*  background: url(images/bgbottom.gif) left bottom no-repeat; */
  }

.bottomcurvewhite {
  margin: 0;
  height: 13px;
/*  background: url(images/bgbottomwhite.gif) left bottom no-repeat; */
    background-color:White;
  }

#header {
  margin: 0;
  padding: 0 0 0 0; 
height: 130px;
  }

#header .logo {
  float:left;
  height:131px;
  width:418px;
}

#header .topright {
  float: right;
  position: relative;
  margin: 0;
  padding: 0;
  text-align: right;
  color: #fff;
margin-top:22px;
width:532px;
  }

#searchform {
  margin-left: 0;
  margin-top: 0;
  margin-right: 0;
  margin-left: 0px;
  width: 290px;
  height: 30px;
  background-image: url(images/Search.png);
  background-repeat: no-repeat;
  vertical-align:center;
  float: right;

  }

*:first-child+html #searchform { /* Filter for IE7 */
  padding: 6px 0;
  }

* html #searchform { /* Filter for IE6 */
  padding: 6px 0;
  }

#searchbox {
  margin-left: 5px;
  margin-bottom: 3px;
  width: 180px;
  background: none;
  border: none;
text-align:left;
margin-right:10px;
  font-size: 18px;
color:#333;

  }

#searchbutton {
  width: 50px;
  background: none;
  border: none;
  background-image: url(images/SearchButton.png);
  background-repeat: no-repeat;
  
  height:29px;
  width:86px;
  color:white;
  font-family: Lucida Sans, Helvetica, sans-serif;
  letter-spacing:   1.3px; 
  font-size: 12px;
 
  }

#searchbutton:hover {
  cursor: pointer;
  background-position:0 -30px;
  }



/* Menu */

#nav {
  clear: both;
  margin:  43px 0 0px 0;
  position:relative;
	float:right;
  right:-13px;
width:532px;
  }

#nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  }


#nav li {
  float: left;
  margin-right: 10px; 
  border-left: solid 1px #2277A0;
  }

#nav li:first-child
{
  border-left: none 0px;
}


* html #nav li a { /* Filter for IE6 to prevent li stacking */
  float: left;
  text-decoration: none;
  }

* html #nav li a span { /* Filter for IE6 to prevent li stacking */
  float: left;
  margin-left: 4px;
  text-decoration: none;
  }

#nav li a {
  display: block;
  height: 28px;
  font-family: Lucida Sans, Helvetica, sans-serif;
  letter-spacing:   1x; 
  font-size: 14px;
  text-decoration: none;
  }

#nav li a span {
  display: block;
  margin-left: 10px;
  padding-left: 0px;
  padding-right: 5px;
  line-height: 28px;
  color: #fff; /* def */
  text-decoration: none;
  }

#nav li a:hover {
  text-decoration: none;
  cursor: pointer; /* For IE6 */
  }

#nav li a:hover span {
  color: #98C9DF; /* 2277A0*/
  }

#nav li.current_page a {
  }

#nav li.current_page a span {
  color: #98C9DF;
  }




/* Main content */

#main {
  clear: both;
  width: 925px; /* Overrides miscalculation in IE6; ignored by other browsers. */
  margin: 0;
  padding: 0 15px 15px 10px;
  background: #fff;
  }

#contentwrapper {
  float: left;
  width: 925px;
  }

#content {
  float: left;
  width: 535px;
  }

#content .pageTitle {
  padding: 5px 10px 0 10px;
  font-size: 14pt;
  color: #215679;
  }

.contentsearch {
  margin: 0 0 40px 100px;
  }

.contentsponsors {
  margin: 0 0 30px 190px;
  }

.adsense_top {
  text-align:center;
  margin:10px 0 25px 0;
  font-size:9pt;
  }

.adsense_sidebar {
  text-align:center;
  margin:0 0 20px 0;
  font-size:9pt;
  }

.post {
  margin: 20px 0 25px 0;
  }

#content h2, #content h3, #content h4, #content h5, #content h6 {
  padding: 0 10px;
  font-weight: bold;
  }

#content h2 {
  font-size: 14pt;
  }

#content h3 {
  font-size: 12pt;
  }

#content h4, #content h5, #content h6 {
  font-size: 11pt;
  }

h2.homeTitle {
  margin: 0 0 15px 0;
  }

h2.postTitle,
h2.postTitle a {
    font-weight:      Normal;
    font-size:        30px;

  font-family: Lucida Sans, Helvetica, sans-serif;

/*
    font-style:       italic;
    font-family:      Georgia, times, serif; */

    color: #1B5C7B;
    margin:           0px 0px 10px 0px;
    text-decoration: none;
                
  }

h2.postTitle a {
  }

h2.postTitle a:hover, 
h2.postTitle a:active
{
  color: #333;
}

.postMeta {
  padding: 2px 10px 4px 10px;
  font-size: 9pt;
  color: #333;
  }

.postMeta .date {
  background: url(images/date.gif) left no-repeat;
  padding: 0 0 0 15px;
  }

.postMeta .filed {
  background: url(images/folder.gif) left no-repeat;
  padding: 0 0 0 18px;
  margin: 0 0 0 3px;
  }

.postMeta .commentcount {
  background: url(images/comments.gif) left no-repeat;
  padding: 0 0 0 18px;
  margin: 0 0 0 3px;
  }

.postMeta .tags {
  background: url(images/tags.gif) left no-repeat;
  padding: 0 0 0 15px;
  }


.postMeta a {
  text-decoration: none;
  }

.postContent img {
  margin: 10px;
  border: 3px solid #CCC;
  }

#content p, .postContent p {
  padding: 5px 10px;
  font-size: 10pt;
  color: #666;
   line-height:1.4em;
  }

.postContent ul, ol {
  padding: 0 0 0 35px;
  }

.postContent ul li, ol li {
  font-size: 10pt;
  color: #333;
  }

p.comments {
  clear: both;
  padding: 5px 10px 5px 10px;
  }

p.comments a {
  padding-left: 20px;
  background: url(images/comment.gif) left top no-repeat;
  font-size: 10pt;
  text-decoration: none;
  }

.commentlist {
  margin: 10px 0;
  font-size: 10pt;
  list-style: none;
  }

.commentlist li {
  margin: 0 0 5px -25px;
  width: 510px;
  }

.commentlist cite {
  padding: 10px;
  font-size: 10pt;
  }

.commentlist cite a {
  }

.commentmetadata {
  padding: 10px;
  }

.comment h3 {
  padding: 0 10px;
  font-size: 12pt;
  font-weight: bold;
  text-decoration: none;
  /* color: #333; */
  color:  #1B5C7B;
  }

.comment p {
  padding: 10px;
  font-size: 10pt;
  color: #666;
  }

.comment a {
  text-decoration: none;
  }

.comment a:hover {
  text-decoration: underline;
  }

.comment textarea {
  width: 510px;
  }

.comment #submit {
  width: 118px;
  height: 30px;
  background: url(images/commentbutton.gif) left top no-repeat;
  border: none;
  font-size: 9pt;
  color: #333;
  }

.comment #submit:hover {
  cursor: pointer;
  }

.navigation {
  margin: 10px 0;
  color: #406E8D;
  text-align: center;
  font-size: 10pt;
  }

.navigation a {
  text-decoration: none;
  }

a.gravatar {
  float:left;
  margin:10px 15px 20px 0;
  width:69px;
  }


/* Start of sidebar */

#allsidebars 
{
  padding-left:10px;
  padding-right:10px;
  padding-bottom:10px;
  padding-top:10px;
  width:335px;
  float:right;
  background-color: #efefef;
  margin-left:30px;

  }


/* Sidebar top welcome box */

.sidebarswrapper 
{
    
  margin-top: 0px;
  padding-top: 9px;

  width: 335px;
  /* background: url(images/bgsidebartop.gif) left top no-repeat; */
  
  }

.sidebars {
  width: 335px;
  }

#allsidebars h2,
.sidebars h2 {
  padding: 0 0 2px 0;
  font-size: 11pt;
/*  color: #6f6f6f; */
/*    letter-spacing: -1px; */
  font-family: Lucida Sans, Helvetica, sans-serif;

  color: #1B5C7B;
  }

.sidebars p {
  padding: 2px 0;
  font-size: 9pt;
  }

/*
#welcome {
  clear: both;
  padding: 0 10px;
  }

#welcome a {
  display: inline;
color:  #1B5C7B;
  }

#welcome a:hover {
  color:#fff;
  }




#welcome p {
  color: #fff;
  margin-top: 5px;
  padding-left: 70px;
  background: url(images/welcome.gif) left top no-repeat;
  }
*/

.sidebarsbottom {
  clear: both;
  width: 335px;
  height: 18px;
  background: url(images/bgsidebarbottom.gif) left bottom no-repeat;
  }


/* Sidebar 2 columns widget-ready */

.sidebarsB {
  width: 335px;
  margin-bottom: 20px;
  }

.sidebar1 {
  float: left;
  width: 160px;
  margin-right:15px;
  vertical-align:top;
  }

.sidebar2 {
  float: right;
  width: 160px;
  vertical-align:top;
  }

.sidebarsB h2 {
  padding: 2px 7px;
  font-size: 11pt;
  color: #1B5C7B;
  font-family: Lucida Sans, Helvetica, sans-serif;
  margin-bottom: 3px;
  }

.sidebarsB table {
  width: 160px;
  }

.sidebarsB ul {
  margin: 0;
  padding: 0 0 5px 0;
  }

.sidebarsB li {
  margin-bottom: 20px;
  list-style: none;
  font-size: 9pt;
  }

.sidebarsB li ul {
  padding: 0;
  }

.sidebarsB ul ul li {
  margin: 0;
  padding: 3px 2px 2px 16px;
  color: #222;
  background: url(images/bullet.gif) left 7px no-repeat;
  line-height: 17px; /* Required for cross-browser consistency; cross-browser defaults vary. */
  border-bottom: 1px dotted #ccc;
  }

.sidebarsB a {
  display: block;

  color: #333;

  text-decoration: none;
  display: inline;
  }

.sidebarsB a:hover {
  color:  #1B5C7B;
  text-decoration: underline;
  }


.sidebarsB h2 a{
 color:  #1B5C7B;
}


.sidebarsB h2 a:hover {
  color:  #333;
}


.sidebarsB p {
  padding: 2px 0;
  font-size: 9pt;
  }

#tag_cloud a {
  display: inline;
  }

.sidebarsB ul.children li {border-bottom:none;}
.sidebarsB ul.children {margin-bottom:-5px;}





/* Footer */

#footer {
  clear: both;
  padding-top: 0;
  color: #fff;
  text-align: center; /* IE Centering Technique */
  background: #1B5C7B;
  }

#footer p {
  padding: 0;
  font-size: 8pt;
  color: #fff;
  text-align: center;
  }

#footer a {
  color: #87BBD9;
  }

#footer a:hover {
  color: #fff;
  }

#credits {
  clear: both;
  margin: 0 auto;
  line-height: 19px;
  }


/* Extras */

.cleared {
  clear: both;
  }

.left {
  float:left;
  }

.right {
  float:right;
  }

#nextprevious {
  padding:10px;
  font-size:80%;
  }




.commentbody {
  float:right;
  width: 420px;
  margin-bottom: 20px;
  padding: 10px 0 10px 0;
  }


#imagelinkLinkedIn ,
#imagelinkfacebook,
#imagelinktwitter,
#imagelinkYouTube
{
    position:relative;
    display:block;
    float:left;
    overflow:hidden;
    text-indent:-300px;
    width:72px;
    height:72px;
    background-image: url('images/ButtonSprite_1.png');
    margin:5px;    
/*    margin-left:50px; */
    margin-left: 5px;
    margin-right:0px;
}

#imagelinkLinkedIn 
{
    background-position: 0px 0px;
}
#imagelinkfacebook
{
    margin-left:5px;
    background-position: -80px 0px;
}

#imagelinktwitter
{
    background-position: -160px 0px;
}

#imagelinkYouTube
{
    background-position: -240px 0px;
}


#imagelinkLinkedIn:hover,
#imagelinkLinkedIn:active
{
    background-position: 0px -80px;
}
#imagelinkfacebook:hover,
#imagelinkfacebook:active
{
    background-position: -80px -80px;
}

#imagelinktwitter:hover,
#imagelinktwitter:active
{
    background-position: -160px -80px;
}

#imagelinkYouTube:hover,
#imagelinkYouTube:active
{
    background-position: -240px -80px;
}

span.h2float
{
    float:left;
    display:block;
    overflow:hidden;

 
    width:55px;
    margin:5px;
    margin-left:0px;
    margin-right:25px;
    text-align:left;
   
    padding: 0 0 2px 0;
    font-weight:bold; 
    font-size: 11pt;
/*    color: #6f6f6f; */
/*    letter-spacing: -1px; */
  font-family: Lucida Sans, Helvetica, sans-serif;
  color: #1B5C7B;
 
}

#allsidebars p
{
     padding: 5px 10px;
   font-size: 9pt;
  color: #333;
  padding-top:0px;
  margin-left:0px;
  padding-left:0px;
  margin-top:8px;
}

hr
{
 color: #CCCCCC;
background-color: #CCCCCC;
height: 0px;
border: 0px none;
 border-top: 1px dashed #CCCCCC;
}

.sidebarswrapper 
{
    margin-bottom:10px;    
}

.postContent p.wp-caption-text {
text-align:center;
}
