/*
Theme Name:     Agility Child
Description:    Child theme for the Agility theme, for Inequality
Author:         Ben McKeown
Author URI:     http://benmckeown.co.nz/
Template:       agility
Version:        0.1.0
*/

/* HEADER */

#header #header-inner {
    border-bottom: none;
    margin-bottom: 12px;
}

#header #header-search {
    margin-top: 40px;
}

#sub-title {
    text-transform: none;
    font-size: 14px;
}


/* primary nav */

#header #primary-nav {
    border-top: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
}

nav#main-nav.nav-default-right {
    position: static;
}

nav#main-nav.nav-default-right > ul {
    float: left;
}

nav#main-nav > ul > li {
    display: inline-block;
    padding: 12px 0;
    margin: 0 2em 0 0;
    position: relative;
}

nav#main-nav > ul > li a {
    font-weight: bolder;
    font-style: normal;
    text-transform: uppercase;
    color: #999;
}

nav#main-nav > ul > li.current-menu-item > a {
    padding-top: 9px;
    border-color: #000;
}

nav#main-nav > ul > li:hover > a, nav#main-nav > ul > li > a:hover {
    padding-top: 9px;
}


/* BOOK colouring in nav */

nav#main-nav > ul > li.menu-item-19 > a {
    color: #de341b;
}

/* sidebar nav */

ul#sidebar-nav {
    margin-bottom: 0;
}

#sidebar-nav li.current_page_item a {
    font-weight: bold;
}

#sidebar-nav li.current_page_item .children a {
    font-weight: normal;
}

#sidebar-nav li {

}

#sidebar-nav li a {
    display: block;
    position: relative;
    width: 100%;
    font-size: 13px;
    line-height: 24px;
    text-decoration: none;
    border-bottom: 1px dotted #bbb;
    padding-bottom: 12px;
}

#sidebar-nav li a:hover {
    text-decoration: underline;
}

#sidebar-nav li:last-child a {
    border-bottom: none;
}

#sidebar-nav ul.children {
    padding-left: 24px;
    margin-left: 0;
    margin-bottom: 0;
    margin-top: 12px;
    border-bottom: 1px dotted #bbb;
}

#sidebar-nav ul.children li a {
    border-bottom: none;
}

/* breadcrumbs */

.entry-header ul.breadcrumbs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.entry-header ul.breadcrumbs li {
    display: inline-block;
    margin-right: 8px;
}

.entry-header ul.breadcrumbs li.first-children:after {
    content: '>';
    text-decoration: none;
    font-size: 10px;
    color: #777;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    padding-left: 8px;
}

.entry-header ul.breadcrumbs li a {
    text-decoration: none;
    font-size: 10px;
    color: #777;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
}

.entry-header ul.breadcrumbs li a:hover {
    text-decoration: underline;
}


/* sidebar book widget */

.widget_child_book_widget h1.widget-title {
    margin-bottom: 1em;
    color: #d83f28;
}

.widget_child_book_widget form {
    margin-top: 0.5em;
    margin-bottom: 0;
}


/* FOOTER */

p#footer-disclaimer {
    font-size: 10px;
}


/* HOMEPAGE */

.no-margin-bottom,
#brick-269 {
    margin-bottom: 0;
}

body.home h6.widget-title {
    font-weight: bolder;
    font-size: 15px;
}

body.home blockquote.testimonial p {
    font-size: 13px;
}

#text-4 h3.widget-title {
    line-height: 100%;
}

/* tweaking EventON defaults */
body.home .ajde_evcal_calendar .calendar_header p {
    font-size: 2em;
}

body.home .ajde_evcal_calendar .calendar_header .evcal_arrows {
    width: 20px;
    height: 20px;

    margin-top: 6px;
}

body.home .ajde_evcal_calendar .calendar_header .evcal_arrows .fa {
    font-size: 16px;

    margin-top: 0;
}

.page-template-default #evcal_list {
    list-style: none !important;
    padding: 0;
    margin: 0 0 1.5em !important;
}


/* CONTENT */

.entry-content .one-half,
.entry-content .one-third,
.entry-content li {
    line-height: 1.8em;
}


/* MEDIA QUERY STUFF */

@media only screen and (max-width: 767px) {
    #header #header-search {
        margin-top: 5px;
    }
}

@media only screen and (min-width: 768px) {
    #brick-249 {
        margin-left: 0;
    }
}
