/*
THEME NAME: Afia
DESCRIPTION: Simple minimal & responsive theme.
Theme URI:https://github.com/dominic-n/afia
Text Domain:  afia
TAGS: right-sidebar, custom-background, custom-menu, custom-header, editor-style, featured-images, light, threaded-comments, sticky-post
VERSION: 1.9.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
AUTHOR:DOMINIC_N
*/


.inline
{
display:inline;
}
/*site-tile*/
.site-title > a
{
text-decoration:none;
text-transform:capitalize;
}
.linkab
{
color:rgb(128,128,192);
text-decoration:underline;
}
.side-head
{
color:green;
text-align:center;
}
.error-aimg
{
left:170px;
}
.fa-exclamation-triangle
{
	color:rgba(160,45,20,.7);
	font-size:50px;
}
.site-title
{
display:inline;
font-size: 24px;
    line-height: 1.042;
    font-weight: 700;
}
.site-description
{
font-family:Garamond;
font-size:12px;
}
/*.time*/
.time-pic
{
height:15px;
width:15px;
}
.author-pic
{
height:13px;
width:10px;
}
.cat-pic
{
height:15px;
width:20px;
}

@media screen and(max-device-width: 1250px)
{



}
 .categ
{
color:green;
}
.linka, .linka a
{
text-decoration:none;
}
.navbar-default a {
  color:#34495e;
  font-family:sans-serif;
}
.navbar-default .navbar-header:hover a,
.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-brand:hover
,
.navbar-default .navbar-nav a:hover
{
  color: #1abc9c;
  text-decoration: none;
}
.navbar-collapse, .menu {
    box-shadow: none;
    padding-right: 21px;
    padding-left: 21px;
}

.linkb
{
text-decoration:none;
color:blue;
}
.linkb:hover
{
text-decoration:underline;
}
.linka a:hover
{
text-decoration:underline;
}
.lnk:hover
{
text-decoration:underline;
}
.lnk, .side-head
{
text-transform:uppercase;
}

header.header
{
  background-color: #ecf0f1;
}
.navbar-collapse{
  float: right;
}
.navbar-default{
  width: 100%;
}
.footertext a{text-decoration:none;color:green;}

.recent-single-a, .categories a
{
text-decoration:none;
text-transform:capitalize;
color:blue;
}
.recent-single-a:hover
{
text-decoration:underline;
color:green;
}
.categories a:hover
{
text-decoration:underline;
color:green;
}
.content-error
{
font-family:verdana;
color:rgb(205,36,219);
padding-left:5%;
}
#erral
{
position:relative;
top:70px;
}
.top-bar
{
margin-top:10px;
position:relative;
width:100%;
background:rgb(234,238,238);
border-color:black;
border-style:solid;
border-width:1px;
border-right:none;
border-left:none;
padding-top:5px;
padding-bottom:5px;
}
#errall{padding-left:10%;}
#sideba ul{list-style:none; padding-left:0px;}
#sideba ul li{    padding: 10px 3px;}
#sideba h3{text-align:center;}
#sideba>div{padding:2%; border-radius:5px; margin-bottom:15px;}
.dotot
{
	display:inline-block;
	vertical-align: top;
}
.top-bar a 
{
text-decoration:none;
color:green;
}
.idle
{
text-decoration:none;
text-transform:capitalize;
color:black;
font-family:Calibri;
}
.idle:hover
{
color:rgb(155,210,81);
text-decoration:underline;
}
.no-list
{
list-style:none;
list-style-position:none;
text-decoration:none;
padding:0px;
margin:0px;
}
.smaller
{
font-size:21px;
}
.commentlist
{
list-style:none;
}
#commentform input[type=text]
{
width:100%;
height:30px;
border-radius:3px;
border-width:2px;
}
#commentform input:focus
{
border-color:green;
color:green;
background:rgb(234,238,238);
color:black;
font-family:Calibri;
}
#commentform textarea
{
width:100%;
border-radius:3px;
border-width:2px;
}
#commentform textarea:focus
{
border-color:green;
background:rgb(234,238,238);
color:black;
font-family:Calibri;
}
body{
  line-height:0;
  font-size:15px;
  font-family:sans-serif;
}
#content{
  margin-top: 15px;
}
#content,header.header{
  line-height: 1.42857143;
}
.content-post{
  line-height: 1.82857143;
}
.comment-body
{
margin-bottom:20px;
text-align:20px;
}
#respond h3,#comments
{
color:green;
}
#commentform input[type=submit]
{
background:green;
border:ridge;
border-width:3px;
border-color:green;
border-radius:5px;
text-decoration:bold;
color:white;
}
#post_nav
{
text-decoration:bold;
}
#post_nav a
{
color:green;
text-transform:lowercase;
text-decoration:none;
}
#post_nav a:hover
{
text-decoration:underline;
color:blue;
}
.previous_post
{
}
.next_post
{
position:absolute;
right:0px;
}
#related_post_title a 
{
text-decoration:none;
color:blue;
}
#related_post_title a:hover
{
text-decoration:underline;
color:green;
}
.right
{
position:absolute;
right:0%;
}
.lucida
{
font-family:Lucida Calligraphy;
}
.logname
{
color:rgb(7,182,3);
text-decoration:bold;
}
.log a 
{
color:green;
text-decoration:none;
font-family:Lucida Calligraphy;
}
.log a:hover
{
color:black;
text-decoration:underline;
}
.title
{
text-transform:capitalize;
}
#footba
{
position: relative;
width:100%;
word-wrap: break-word;
bottom:0px;
padding:5px 2px;
text-align: center;
}
.footertext
{
position:relative;
}
.nav-links a
{
text-decoration:none;
color:blue;
}
.nav-links a:hover
{
text-decoration:underline;
color:green;
}
blockquote {
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
}
blockquote:before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}
cite
{
color:gray;
text-decoration:italic;
text-indent:20px;
}
cite:before
{
content:'-';
}
table{border:1px;}
dt {
    font-weight: bold;
    text-decoration: underline;
	color:green;
	text-transform:capitalize;
  }
  dd {
    margin: 0;
    padding: 0 0 0.5em 0;
	text-indent:30px;
  }
  .dotot ol li ol
  {list-style-type:upper-alpha;}
  .dotot ol li ol li ol{list-style-type:upper-roman}{}
  address {border-width:1px;border-radius:5px;background:#f9f9f9;text-decoration:italic; position:relative;left:30px;}
  abbr[title], acronym[title] {
     border-bottom-width: 0;
   }
  big{text-decoration:bold;}
  abbr[title],acronym[title]{color:green;text-decoration:italic;}
  code ,tt{border-width:1px;border-radius:5px;background:#f9f9f9;text-decoration:italic;text-decoration:bold;color:green;}
  del{text-decoration:line-through;}
  em{text-decoration:italic;}
  ins {
text-decoration: none;
border-bottom: 1px dotted;
}
 kbd {border-width:1px;border-radius:5px;background:#f9f9f9;text-decoration:italic;text-decoration:bold;color:green;} 
 .dotot{-ms-word-break:break-word; word-wrap: break-word;}
 q { quotes: '"' '"'; }
 sub,sup{color:green;}
 var{border-width:1px;border-radius:5px;background:#f9f9f9;text-decoration:italic;text-decoration:bold;color:red;}
 table {
    border-collapse: collapse;
}
 table, th, td {
   border-width: 0px ;
   border:solid;
   border-color:black;}
   th,td{
    padding:5px;
   }
   tr:nth-child(even) {background-color: #f2f2f2}
   thead {
    background-color: green;
    color: white;
	}
.alignnone,.alignnone img
{
position:relative;
max-width:95%;
}

.alignright
{
float: right;
}
.content-post img{margin:1em;}
.wp-image-904, .wp-caption-text{float:left;}
#post_comments ul 
{
list-style-type:none;
}
 .comment{border:solid;border-width:1px;border-color:#f9f9f9; margin-top:20px; }
 .even {background:#f9f9f9;}
 .odd{background:white;}
 .comment li article {left:30px;}
.back 
{
background: #f9f9f9;
}
.thumbnail>img
{
	position:relative;
	width:90%;
	height:auto;
	left:2.5%;
}
#header-img> img
{
position:relative;
width:90%;
height:auto;
left:5%;
}
.sticky
{
background: #e9e9e9;
padding:10px 5px;
}
.sticky:before
{
content:'This is a sticky post.';
} 
 /* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}
 .gallery-caption {
  padding: 0 15px;
}
.bypostauthor {
  background-color: #fcfcfc;
}
header.header,ul.sub-menu,#leftContent,#sideba>div,.breadcrumbs span{
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
/****
8***8***
Menu
***8***8
****/
#menu{
left:30px;
}
#menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#menu ul li {
  display: block;
  position: relative;
  float: left;
  background:  #5FB6CC;
  z-index:9999;
}

#menu li ul { display: none; min-width:100%; }

#menu ul li a {
  display: block;
  padding: 1em;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
}

#menu ul li a:hover { background: #d8dcd7; }
#menu li.menu-item-has-children:hover>ul.sub-menu{
  display: block;
  position: absolute;
}

#menu li:hover li { float: none; }

#menu li:hover a { background: #5FB6CC; }

li:hover li a:hover { background: #2c3e50; }

#menu li ul li { border-top: 0; }
#menu ul ul ul {
  left: 100%;
  top: 0;
}
#menu ul:before,
#menu ul:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

#menu ul:after { clear: both; }


.abcen1
{
  padding-top:150px;
}
.h3_home{
  margin-bottom: 60px;
}
/*pagination*/

.nav-links {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}

.nav-links .page-numbers{
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #337ab7;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}
.nav-links:first-child {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.nav-links:last-child{
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.nav-links a:hover
.nav-links a:focus{
  z-index: 2;
  color: #23527c;
  background-color: #eee;
  border-color: #ddd;
}
.nav-links .current{
  z-index: 3;
  color: #fff;
  cursor: default;
  background-color: #337ab7;
  border-color: #337ab7;
}
#sideba{
  padding-left: 10px;
}
/*Breadcrumb*/
.breadcrumbs { 
  list-style: none; 
  overflow: hidden; 
  margin:10px 0px 20px;
}
.breadcrumbs a{
  color:#1abc9c;
}
.breadcrumbs span.active{
  color:white;
}
.breadcrumbs span {
  text-decoration: none;
  outline: none;
  display: block;
  float: left;
  font-size: 16.9px;
  font-family: serif,Calibri; 
  line-height: 36px;
  color: white;
  /*need more margin on the left of links to accomodate the numbers*/
  padding: 0 10px 0 60px;
  background: #666;
  background: linear-gradient(#666, #333);
  position: relative;
}
/*since the first link does not have a triangle before it we can reduce the left padding to make it look consistent with other links*/
.breadcrumbs span:first-child {
  padding-left: 46px;
  border-radius: 5px 0 0 5px; /*to match with the parent's radius*/
}
.breadcrumbs span:first-child:before {
  left: 14px;
}
.breadcrumbs span:last-child {
  border-radius: 0 5px 5px 0; /*this was to prevent glitches on hover*/
  padding-right: 20px;
}

/*hover/active styles*/
.breadcrumbs span.active, .breadcrumbs span:hover{
  background: #333;
  background: linear-gradient(#333, #000);
}
.breadcrumbs span.active:after, .breadcrumbs span:hover:after {
  background: #333;
  background: linear-gradient(135deg, #333, #000);
}

/*adding the arrows for the breadcrumbs using rotated pseudo elements*/
.breadcrumbs span:after {
  content: '';
  position: absolute;
  top: 0; 
  right: -18px; /*half of square's length*/
  /*same dimension as the line-height of .breadcrumbs a */
  width: 36px; 
  height: 36px;
  /*as you see the rotated square takes a larger height. which makes it tough to position it properly. So we are going to scale it down so that the diagonals become equal to the line-height of the link. We scale it to 70.7% because if square's: 
  length = 1; diagonal = (1^2 + 1^2)^0.5 = 1.414 (pythagoras theorem)
  if diagonal required = 1; length = 1/1.414 = 0.707*/
  transform: scale(0.707) rotate(45deg);
  /*we need to prevent the arrows from getting buried under the next link*/
  z-index: 1;
  /*background same as links but the gradient will be rotated to compensate with the transform applied*/
  background: #666;
  background: linear-gradient(135deg, #666, #333);
  /*stylish arrow design using box shadow*/
  box-shadow: 
    2px -2px 0 2px rgba(0, 0, 0, 0.4), 
    3px -3px 0 2px rgba(255, 255, 255, 0.1);
  /*
    5px - for rounded arrows and 
    50px - to prevent hover glitches on the border created using shadows*/
  border-radius: 0 5px 0 50px;
}
/*we dont need an arrow after the last link*/
.breadcrumbs span:last-child:after {
  content: none;
}
#searchsubmit{
  padding: 4px 10px;
  background:#1e88cf;
  color:white;
  border:1px solid #1e88cf;
  border-radius:3px;
}
#s{
   padding: 4px 0px;
  border:1px solid;
  border-radius:3px;
  width:60%;
}
#leftContent{
  padding-bottom:30px;
}
.thumbnail.shortform{
  width:20%;
  padding:5px;
  float:left;
  margin:0px 5px 5px 0px;
}
.thumbnail.shortform img{
  width:100%;
  max-height:100px;
  margin:0px;
  left:0px;
}
.floatnone{
  clear:both;
}
h1,h2,h3,h4,h5,h6{
  font-family:cursive,serif;
}
#leftContent a{
  font-family:monospace;
}