/*  
Theme Name: AG
Theme URI: http://www.africagathering.org
Description: Specially Built for Africa Gathering.
Version: 1.0
Author: Kuldeep Daftary
Author URI: http://www.kuldeepdaftary.com/
*/

/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
 html, button, input, select, textarea {
    color: #222;
}
body {
    font-size: 1em;
    line-height: 1.4;
    background: #fbfbfb;
}
/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */
 ::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}
::selection {
    background: #b3d4fc;
    text-shadow: none;
}
/*
 * A better looking default horizontal rule
 */
 hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}
/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */
 img {
    vertical-align: middle;
}
/*
 * Remove default fieldset styles.
 */
 fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}
/*
 * Allow only vertical resizing of textareas.
 */
 textarea {
    resize: vertical;
}
/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */
 .chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
/* ==========================================================================
   Author's custom styles
   ========================================================================== */
 body {
    font-family: Verdana, Geneva, sans-serif;
}
#topLine {
    position: absolute;
    display: block;
    width: 100%;
    background: #fabe10;
    height: 10px;
    left: 0;
    top: 0;
}
header {
    position: relative;
    display: block;
    width: 960px;
    height: auto;
    /*overflow: hidden;*/
    margin: 0 auto;
    padding-top: 25px;
    padding-bottom: 30px;
    font-family: 'PT Sans', sans-serif;
}
#logo {
    position: relative;
    display: block;
    overflow: hidden;
    float: left;
    margin-bottom: 30px;
}
#logo a {
    width: 308px;
    height: 100px;
    position: relative;
    display: block;
    float: left;
    background:url(../img/africa-gathering.png) no-repeat;
    border: none;
    text-decoration: none;
}
#social {
    position: relative;
    display: block;
    float: right;
    padding: 0;
    margin: 0;
    height: 41px;
}
#social ul {
    font-family:'PT Sans', sans-serif;
    font-size: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    display: block;
    overflow: hidden;
}
#social li {
    margin-left: 10px;
    line-height: 41px;
    height: 41px;
    text-transform: uppercase;
    float: left;
    position: relative;
    display: block;
}
.ns {
    margin-right: 8px;
}
#social a {
    position: relative;
    display: block;
    color: #7896ae;
    text-decoration: none;
    font-weight: 700;
}
a.social {
    width: 41px;
    height: 41px;
    background: url(../img/sprite.png);
}
.facebook {
    background-position: -51px 0 !important;
}
.gplus {
    background-position: 0 0;
}
.twitter {
    background-position: -102px 0 !important;
}
.linkedin {
    background-position: -152px 0 !important;
}
.flickr {
    background-position: -202px 0 !important;
}
.mail {
    background-position: -251px 0 !important;
}
nav {
    margin-top: 24px;
    position: relative;
    display: block;
    font-size: 15px;
    font-weight: 700;
    padding: 0;
    /*overflow: hidden;*/
    float: right;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    display: block;
    /*overflow: hidden;*/
}
nav li {
    float: left;
    position: relative;
    display: block;
}
nav li ul {
    position: absolute;
    display: none;
    top: 24px;
    left: 0;
    width: 100%;
    z-index: 10;
    padding-top: 1px;
    white-space: nowrap;

}
nav li ul li{
    position: relative;
    display: block;
    float: left;
    background: #7996ae;
    clear: both;
    padding-bottom: 0;
    border-bottom: 1px solid #fff;

}
nav li ul li a{
    white-space: nowrap;
    color: #fff;
}
nav li ul li a:hover {
    color: #fff;
    background: #fabe1f;
}
nav li:hover ul{
    display: block;

}
nav a {
    height: 24px;
    line-height: 24px;
    padding: 0 7px;
    text-align: center;
    color: #2d2e2c;
    text-decoration: none;
    display: block;
    font-style: 15px;
    letter-spacing: 0.5px;
    font-weight: bold;
}
nav li:hover a, nav a:hover, .active a {
    background: #7996ae;
    color: #fff;
}

footer {
    background: #7997ae;
    height: 75px;
    width: 100%;
    position: relative;
    display: block;
    clear: both;
    font-size: 12px;
    overflow: hidden;
}
#footerIn {
    width: 960px;
    height: 75px;
    position: relative;
    display: block;
    margin: 0 auto;
    color: #fff;
    overflow: hidden;
}
#copyright {
    line-height: 75px;
    font-weight: 700;
    text-align: left;
    float: left;
    position: relative;
    display: block;
    height: 75px;
}
#ftrSocial {
    position: relative;
    display: block;
    overflow: hidden;
    height: 51px;
    margin: 12px auto;
    width: 366px;
}
#ftrSocial ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    display: block;
    overflow: hidden;
}
#ftrSocial li {
    margin-left: 10px;
    padding: 0;
    float: left;
    display: block;
    position: relative;
}
#ftrSocial a {
    width: 51px;
    height: 51px;
    position: relative;
    display: block;
    text-decoration: none;
    border: none;
    background: url(../img/sprite.png);
}
#ftrSocial .facebook {
    background-position:-62px -42px !important;
}
#ftrSocial .gplus {
    background-position:0 -42px !important;
}
#ftrSocial .twitter {
    background-position:-124px -42px !important;
}
#ftrSocial .flickr {
    background-position:-245px -42px !important;
}
#ftrSocial .linkedin {
    background-position:-184px -42px !important;
}
#ftrSocial .mail {
    background-position:-305px -42px !important;
}
#credits {
    position: relative;
    display: block;
    float: right;
    margin-top: 21px;
}
#credits a {
    color: #fff;
}
/*HP Banner*/
 #banner {
    width: 960px;
    height: 390px;
    position: relative;
    display: block;
    overflow: hidden;
    clear: both;
    margin: 0 auto;
}
#banner ul {
    position: relative;
    display: block;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 9999px;
}
#banner li {
    position: relative;
    display: block;
    width: 960px;
    float: left;
    height: 390px;
}
#banner a {
    text-decoration: none;
    border: none;
}
/*Home Widgets*/
#homeWidgets{
    position: relative;
    display: block;
    width: 960px;
    margin: 0 auto;
    overflow: hidden;
}
#homeWidgets ul{
    list-style: none;
    padding: 0;
    margin: 25px 0 0 -18px;
    overflow: hidden;
}

#homeWidgets li{
    position: relative;
    display: block;
    width: 308px;
    overflow: hidden;
    /*margin-bottom: 30px;*/
    margin-left: 18px;
    float: left;
}

#homeWidgets h3 {
    font-family: 'PT Sans', sans-serif;
    font-size: 20px;
    line-height: 26px;
    padding: 0;
    margin: 0 0 10px;
}
#homeWidgets h3 a{
    text-decoration: none;
    color: #222;
}

.featuredMedia img{

}

.widgetContent{
    font-size: 12px;
    color: #3b3c39;
    line-height: 16px;
}

.widgetContent a,.more{
    padding: 1px 4px;
    background: #7896ad;
    color: #fff;
    text-decoration: none;
}

.line {
    position: relative;
    display: block;
    width: 100%;
    height: 0;
    background: #fff;
    clear: both;
    border-top:1px solid #d8d8d8;
    border-bottom:1px solid #fff;
    margin: 10px 0;
}

/*Blog Page*/
#post{
    position: relative;
    display: block;
    width: 960px;
    overflow: hidden;
    clear: both;
    margin: 0 auto;
}
aside{
    position: relative;
    float: right;
    width: 207px;
    margin: 20px 0;
}
aside ul{
    position: relative;
    display: block;   
    padding: 0;
    margin: 0;
    list-style: none;
}
aside li{
    position: relative;
    display: block;
    padding: 0;
    margin: 0 0 10px;
}

.sbwidget {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.sbwidget li{
    margin-bottom: 0;
}
.sbwidget p{ 
    font-size:12px;
    color: #696969;
}
.sbwhead {
    position: relative;
    display: block;
    font-size: 15px;
    height: 30px;
    
}

.picture-item {
    float: left;
    padding: 14px;
}

.text{
    position: relative;
    background: #fff;
    height: 30px;
    line-height: 28px;
    z-index: 2;
    display: inline-block;
    padding-right: 5px;
    font-family: 'PT Sans', sans-serif;
    font-weight: bold;
}
.bline,.yline{
    position: absolute;
    display: block;
    width: 100%;
    top: 50%;
    left: 0;
    height: 10px;
    margin-top: -5px;
    z-index: 1;
}
.bline{
    background: #7997ae;
}
.yline{
    background: #fabe10;
}
.events img{
    position: relative;
    display: block;
    float: left;
}
.events li{
    padding: 0;
    margin-bottom: 20px;
    position: relative;
    display: block;
    overflow: hidden;
}
.econtainer{
    position: relative;
    display: block;
    width: 113px;
    /*padding-left: 14px;*/
    float: right;
}
.ehead {
    font-size: 13px;
    color: #fabe10;
    font-weight: bold;
}
.econtent {
    font-size:12px;
    color: #696969;
}
.more{
    margin-top: 5px;
    position: relative;
    display: inline-block;
    overflow: hidden;
    color: #fff !important;
}
.sbwidget ul{
    padding: 0;
    margin: 0;
}
.sbwidget a{
    text-decoration: none;
    font-family: Verdana, Geneva, sans-serif;
    color: #7997ae;
    font-weight: bold;
    font-size: 12px;
}
article {
    position: relative;
    display: block;
    width: 695px;
    overflow: hidden;
    float: left;
}
article h1{
    color: #2d2e2c;
    font-size: 30px;
    font-family: 'PT Sans', sans-serif;
    padding: 15px 0 5px;
    margin: 0;
    line-height: 30px;
    
}
article h1 a{
    text-decoration: none;
    color: #2d2e2c;
}
article time{
    font-size: 15px;
    color: #2d2e2c;
    font-family: 'PT Sans', sans-serif;  
    float: left;
    position: relative;
    display: block;
    clear: both;
    width: 100%;
}

#content {
    position: relative;
    display: block;
    float: left;
    margin-top: 15px;
    overflow: hidden;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 14px;
    color: #3b3c39;
    line-height: 22px;
    margin-bottom: 20px;
}
#content img{
    margin-bottom: 10px;
}
#content h2{
    font-size: 20px;
    padding: 0;
    margin: 0;
    line-height: 24px;
    font-family: Verdana, Geneva, sans-serif;
}

#content h3{
    font-size: 16px;
    padding: 0;
    margin: 0;
    line-height: 18px;
    font-family: Verdana, Geneva, sans-serif;
}
#content blockquote {
    border-top: 1px dotted #ccc;
    border-bottom: 1px dotted #ccc;
    margin: 20px 0;
    padding: 20px 0;
    font-size: 15px;
    font-family: Verdana, Geneva, sans-serif;
}
#content a{
    color: #000;
    text-decoration: none;
    border-bottom: 1px dotted #000;
}

#content input{
    border: 1px solid #ccc;
    height: 24px;
    line-height: 24px;
}
#content textarea{
    border: 1px solid #ccc;
}

.gfield{margin-bottom: 10px;}

#pagination {
    width: 695px;
    position: relative;
    display: block;
    float: left;
}
#pagination .next a{
    float: right;
}
#pagination .previous a{
    float: left;
}

#pagination .previous a,#pagination .next a{ 
    color: #fff;
    padding: 5px 10px;
    background:#fabe10;
    margin-bottom: 20px;
    text-decoration: none;
    font-size: 16px;
    font-family: 'PT Sans', sans-serif;
    font-weight: bold;
}

/*BIO Shortcode*/
.overlay {
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    background:rgba(255,255,255,0.7);
    z-index: 2;
}
.pops {
    position: relative;
    display: block;
    list-style-type: none;
    padding: 0;
    margin: 0 7px;
    width: 680px;
    overflow: hidden;
}
.popsin{
    position: relative;
    display: block;
    width: 150px;
    height: 150px;
    background: #000;
    cursor: pointer;
    padding: 0;
    margin: 10px;
    float: left;
}
.popsin img {
    position: absolute;
    display: block;
    width: 150px;
    height: 150px;
}
.popsin .bio{
    display: none;
}

.popup {
    position: fixed;
    display: block;
    width: 450px;
    min-height: 150px;
    padding: 15px;
    background: #fff;
    left: 50%;
    top: 50%;
    margin-top: -75px;
    margin-left: -250px;
    border: 1px solid #eee;
    font-family: 'PT Sans', sans-serif;
    
    z-index: 99;
}
.pimg {
    position: relative;
    display: block;
    float: left;
    width: 150px;
    height: 150px;
}
.pname,.pcontent {
    margin:0 0 10px 15px;
    position: relative;
    display: block;
    float: left;
    width: 285px;
}
.pcontent {
    font-size: 14px;
    line-height: 20px;
    color: #666;
}
.pname {
    font-size: 18px;
    color: #333;
    
    
}
.nav {
    position: absolute;
    display: block;
    width: 40px;
    bottom: 5px;
    right: 5px;
}
.nav a{
    text-decoration: none;
    color: #333;
    width: 18px;
    height: 18px;
    font-size: 12px;
    display: block;
    position: relative;
    float: left;
    border: 1px solid #eee;
    text-align: center;
    
}
.nav a:hover {
    background: #fabe1f;
    color: #fff;
}
.pclose {
    color: #333;
    width: 18px;
    height: 18px;
    font-size: 18px;
    line-height: 18px;
    border: 1px solid #eee;
    text-align: center;;
    position: absolute;
    display: block;
    top: 5px;
    right: 5px;
    cursor: pointer;
}
.pclose:hover {
    background: #fabe1f;
    color: #fff;   
}

/*BJQS*/
ul.bjqs{position:relative; list-style:none;padding:0;margin:0;overflow:hidden; display:none;}
li.bjqs-slide{position:absolute; display:none;}
ul.bjqs-controls{list-style:none;margin:0;padding:0;z-index:9999;}
ul.bjqs-controls.v-centered li a{position:absolute;}
ul.bjqs-controls.v-centered li.bjqs-next a{right:0;}
ul.bjqs-controls.v-centered li.bjqs-prev a{left:0;}
ol.bjqs-markers{list-style: none; padding: 0; margin: 0; width:100%;}
ol.bjqs-markers.h-centered{text-align: center;}
ol.bjqs-markers li{display:inline;}
ol.bjqs-markers li a{display:inline-block;}
p.bjqs-caption{display:block;width:96%;margin:0;padding:2%;position:absolute;bottom:0;}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */
 .ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}
.ir:before {
    content:"";
    display: block;
    width: 0;
    height: 150%;
}
/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */
 .hidden {
    display: none !important;
    visibility: hidden;
}
/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */
 .visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */
 .visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}
/*
 * Hide visually and from screenreaders, but maintain layout
 */
 .invisible {
    visibility: hidden;
}
/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
 .clearfix:before, .clearfix:after {
    content:" ";
    /* 1 */
    display: table;
    /* 2 */
}
.clearfix:after {
    clear: both;
}
/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
 .clearfix {
    *zoom: 1;
}
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
 @media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}
@media print, (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}
/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
 @media print {
    * {
        background: transparent !important;
        color: #000 !important;
        /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a, a:visited {
        text-decoration: underline;
    }
    a[href]:after {
        content:" (" attr(href)")";
    }
    abbr[title]:after {
        content:" (" attr(title)")";
    }
    /*
     * Don't show links for images, or javascript/internal links
     */
    .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
        content:"";
    }
    pre, blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
        /* h5bp.com/t */
    }
    tr, img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }
    @page {
        margin: 0.5cm;
    }
    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }
    h2, h3 {
        page-break-after: avoid;
    }
}