/* Theme control */
footer.entry-meta {
  display: none;
}
#masthead 
{ 
  top: -27 !important;
}
.nav-collapse img
{
  width:45px;
  height:45px;
}
.bl_author_img img
{
  width:100px;
  height:100px; 
}
li
{
  /* Fix odd rendering of lists */
  padding-bottom:5px;
  font-size:18px;
  color:#525252
}
.post-meta ul li 
{
  float: left;
  margin-right: 15px;
  font-size: 14px; 
}
.post-meta ul li a:hover {
  color: #8224E3!important;
  text-decoration: underline;
}

H1, H2, H3
{
  /* Make headers look consisent (when I forget to do it )*/
  text-transform:capitalize;
}

/* Links */
.single footer.entry-meta {
  display: block !important;
}
/* Render links nicely */
a, a:link, a:visited, a:active {
  color: #2f7fb8!important;
}
a:hover {
  color: #8224E3!important;
  text-decoration:underline;
}
/* Headers are sometimes links, 
     but don't render them in blue */
H1 a, 
H1 a:link, 
H1 a:visited, 
H1 a:active, 
H2 a, 
H2 a:link, 
H2 a:visited, 
H2 a:active, 
H3 a, 
H3 a:link, 
H3 a:visited, 
H3 a:active
{
   color:#000000!important;
}
.recentcomments a:hover 
{
  text-decoration: underline;
}
.entry-title a:hover 
{
  color: #8224E3!important;
}
.more-link:hover 
{
  background: none!important;
  color: #8224E3!important;
  text-decoration:underline!important;
}
.more-link 
{
  color: #dd437b!important;
}


/* Widget override */
#bl_socialbox-2
{
  background-color:transparent!important;
  text-align:center!important;
}
.socialbox
{
  background-color:transparent!important;
}
.widget-head {
  background: #2E3641;
  padding: 0px 0px  !important;
  -moz-border-radius: 3px 3px 0 0;
  -webkit-border-radius: 3px 3px 0 0;
  border-radius: 3px 3px 0 0;
  color: #fff;
  margin: -15px -15px 0px !important;
  text-align:center;
}
.widget-head:before {
  display:none !important;
}
div.tagcloud 
{
  color: #8CCBF9!important;
  text-align: center!important;
}
/* Format the stack exchange widget to match rest of theme */
.se-votes, 
.se-status
{
 display:none;
}
.se-hyperlink
{
  line-height:20px;
  font-size: 18px;
}
.se-post-meta
{
  text-align:right;
  font-size: 12px;  
}
.se-post-title
{
  font-size: 18px;
}
.se-post-summary 
{
  border-bottom: 1px solid #e0e0e0;
  -moz-box-shadow: 0 1px 0 #fff;
  -webkit-box-shadow: 0 1px 0 #fff;
  box-shadow: 0 1px 0 #fff;
  font-size: 18px;
  padding: 8px 12px;
  margin-left: -15px;
  margin-right: -15px;
  overflow: hidden;
  clear: both;
}
.se-post-summary:hover {
  border-left: 3px solid #F69087;
  padding-left: 9px;
  background: #F8F8F8;
}
.se_best_answers
{
    margin-bottom: -15px !important;
}
hr
{
  clear:both;
}
.category-icon
{
  border: 8px solid #FFFFFF;
  height: 70px;
  text-align: center;
  vertical-align:middle;
  width: 70px;
  -webkit-border-radius: 35px;
  -moz-border-radius: 35px;
  display:block;
  background-repeat:no-repeat;
  background-position:center; 
}
/* Categories */
.category-title
{
  white-space:nowrap;
  padding-right:10px;
  padding-left:10px
}
.dropdown-menu li a:hover[href="http://kejser.org/database-naming-conventions/"] 
, .category-naming-image
{
  background-color: #dd437b!important;
}
.category-naming-image
{
  background-image: url("http://kejser.org/wp-content/uploads/2014/05/naming-icon.png")
}
.category-slides, .category-slides-image
{ 
  background-color: #3fa9f5; 	
}
.category-slides-image
{
  background-image: url("http://kejser.org/wp-content/uploads/2014/05/Slides-Icon.png"); 
}
.category-modeling, .category-modeling-image
{ 
  background-color: #dd437b; 	
}
.category-modeling-image
{
  background-image: url("http://kejser.org/wp-content/uploads/2014/02/New-Modeling.png"); 
}

.category-databases, .category-databases-image
{
  background-color: #dd9e4e; 
}
.category-databases-image
{
  background-image: url("http://kejser.org/wp-content/uploads/2014/02/Engines.png");
}
.category-steel, .category-steel-image
{ 
  background-image: url("http://kejser.org/wp-content/uploads/2014/02/Grade-Of-Steel.png"); 
}
.category-steel-image
{ 
  background-color: #3fa9f5; 
}
.category-programming, .category-programming-image
{ 
  background-color: #b37cee; 
}
.category-programming-image
{ 
  background-image: url("http://kejser.org/wp-content/uploads/2014/02/Programming-creative.png"); 
}
.category-utilities, .category-utilities-image
{ 
  background-color: #40d84d;
}
.category-utilities-image
{  
  background-image: url("http://kejser.org/wp-content/uploads/2014/02/Utilities.png"); 
}

/* Render menu nicely */
.dropdown-menu 
{
  border-top: #2f7fb8 2px solid!important;
}
.dropdown-menu li a:hover[href="http://kejser.org/category/modeling/"] {
background-color: #dd437b!important;
}
.dropdown-menu li a:hover[href="http://kejser.org/category/databases/"] {
background-color: #dd9e4e!important;
}
.dropdown-menu li a:hover[href="http://kejser.org/category/programming/"] {
background-color: #b37cee!important;
}
.dropdown-menu li a:hover[href="http://kejser.org/category/grade-of-the-steel/"] {
background-color: #3fa9f5!important;
}
.dropdown-menu li a:hover[href="http://kejser.org/category/utilities/"] {
background-color: #40d84d!important;
}
.dropdown-menu li a:hover[href="http://kejser.org/resources/source-code/"] {
background-color: #b37cee!important;
}
.dropdown-menu li a:hover[href="http://kejser.org/resources/slides/"] 
{
  background-color: #3fa9f5!important;
}

/* Format database conventions */
p.rule, 
p.rule-title,
ul.rule
{
  
  font-weight:bold;
  padding-left:50px;
  background-image: url("http://kejser.org/wp-content/uploads/2014/05/Rule.png");
  background-repeat:no-repeat;
  min-height:50px;
  padding-top:10px;
}

div.indent-table
{
  padding-left:50px;
}
p.rule-example, 
ul.rule-example 
{
  padding-left:50px!important;
}
p.rule-detail,
ul.rule-detail
{
  padding-left:50px!important;
}
p.alternative,
p.alternative-title
{
  font-weight:bold;
  margin-left:50px;
  padding-left:50px;
  color:#323b45; 
  background-image: url("http://kejser.org/wp-content/uploads/2014/05/Reject.png");
  background-repeat:no-repeat;
  min-height:40px;
  color:#2f7fb8; 
}
p.alternative-detail,
ul.alternative-detail,
  ul.alternative-detail li
{
  margin-left:50px;
  padding-left:50px;
  color:#2f7fb8;
}
p.alternative-example
{
  margin-left:50px;
  padding-left:50px;
  color:#2f7fb8;
}

/* Format tables */
.tablepress .odd td {
	background-color: #F9F9FF;
}
.tablepress .even td {
}
.tablepress thead .sorting_asc,
.tablepress thead .sorting_desc,
.tablepress thead .sorting:hover 
{
  background-color: #8224E3;
  color: black;
}
.tablepress thead th,
.tablepress tfoot th 
{
  background-color: #2F7FB8;
  color:black;
}
div#mqtranslate-2.box.widget_mqtranslate
{
  background-color:transparent!important;
  text-align:center!important;
  padding:0 0 0 0;  
  margin:0 0 0 0;
  border:0 0 0 0;
  border-color:transparent!important;
  display:block!important;
}
ul.qtrans_language_chooser
{
  display: inline!important;
  list-style-type: none!important;
  padding-top:10px;
}
ul.qtrans_language_chooser li
{
  display: inline!important;
  padding-right:10px;
  list-style-type: none!important;
}

.qtrans_widget_end
{
  display:none;
}
.between_posts
{
  background-color:transparent!important;
  border:0px!important;
}
h2
{
  clear:both;
  padding-top:20px;
}
div.datafeed
{
  float:left;
  padding-right:20px;
}
th
{
  text-align:left;
  color:black;
  background-color:#8ccbf9;
  padding-left:5px;
  padding-right:5px;
}
td
{
  text-align:left;
  vertical-align:top;
  padding-right:5px;
  padding-left:5px;
  border-top: 1px solid black;
}
#searchbutton
{
  width:60px;
  height:30px;
  text-align:center;
  padding: 0 0 0 0;
  color:black;
}
#searchbox
{
  width:200px;
  height:30px;
  margin:0 0 0 0;
  text-align:left;
  color:black;
}
#cse-search-box
{
	margin-top:-10px;
}