/*
    Theme Name: Advantage Accounting
    Author: Nodding Dog
    Author URI: http://noddingdogdesign.com
    Description: A really basic theme with only one menu and one sidebar section. This theme has no style to it just simply a blank canvas. Including a Blog roll (index.php), 
    page template, single post template. 
    Text Domain: skelaton
    Version: 1.0
    License: GNU General Public Licese V2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Tags: blank, plain, developer, standard
*/
/* display for IE 8 and older */
@import url(http://fonts.googleapis.com/css?family=EB+Garamond);
header, hgroup, nav, section, article, aside, footer{
    display:block;
}
html{
     
}
body{
    background: #e5e5e5;
    font-size: 14px;
    font-family: 'EB Garamond', serif;
}
a{
    color: inherit;
}
h1, h2, h3, h4, h5, h6{
    font-family: 'EB Garamond', serif;
}
.text-center img{
    display: inline-block;
}
#page{
    background: #FFFFFF;
    color: #000000;
}
#main{

}
#primary{
   
}
#primary.one-col{
   
}
#secondary{
    
}
/*
    Header
*/
header{
    padding: 0;
}
hgroup{
    background: #FFFFFF;
    padding: 10px 0;
    
}
#site-name{
    margin: 0;
}
#site-name a{
    text-decoration: none;
}
#site-name span{
    font-size: 0;
    height: 0;
    width: 0;
    position: absolute;
}
#site-description{

}
/*
    Navigation
*/
#nav-toggle{
    display: none;
    margin-top: 20px;
}
nav{
    margin-top: 35px;
}
nav #main-menu{
    position: relative;
    z-index: 50;
}
#main-menu ul{
    margin-bottom: 0;
    text-align: right;
}
#main-menu ul li{
    font-size: 0;
    
}
#main-menu ul li a{
    padding: 5px 15px;
    font-size: 16px;
    text-transform: uppercase;
}
#main-menu ul.nav-menu > li:first-child a{
    padding: 5px 15px 5px 0;
}
#main-menu ul li .sub-menu{
    position: absolute;
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
}
#main-menu ul li:hover .sub-menu{
    display:block;
}

/*
 *    Banner
 */
#banner{
    margin-left: -15px;
    margin-right: -15px;
    position: relative;
    margin-bottom: 15px;
}
#banner-image{
    width: 100%;
    height: auto;
}
#banner-details{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 28.333331%;
    background: rgba(255, 255, 255, 0.7);
    padding: 15px 25px 0;
}
#banner-details #banner-header{
    border-bottom: solid 1px #000000;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
#banner-details #banner-header #banner-title{
    font-size: 30px;
}
/*
 *    Content
 */
article, aside{
    background: #eaf2f7;
    padding-top: 17px;
    margin-bottom: 5px;
}
article.no-background, aside.no-background{
    background: none;
}
.entry-header{
    background: #67a4c5;
    position: relative;
}
.entry-header .title-left{
    position: absolute;
    left: -8px;
    top: 0;
    width: 8px;
    height: 100%;
    background: #67a4c5;
}
.entry-header .title-right{
    position: absolute;
    top: 0;
    right: -8px;
    width: 8px;
    height: 100%;
    background: #67a4c5;
}
.entry-header .entry-title{
    color: #000000;
    text-align: center;
    font-size: 24px;
    font-family: 'EB Garamond', serif;
    margin: 0;
    padding: 10px 0;
}

.entry-content{
    position: relative;
    padding: 15px 15px 25px;
}
.entry-content .title-left{
    position: absolute;
    left: -8px;
    top: 0;
    width: 8px;
    height: 100%;
    background: url(images/title-left.png) top left no-repeat;
}
.entry-content .title-right{
    position: absolute;
    top: 0;
    right: -8px;
    width: 8px;
    height: 100%;
    background: url(images/title-right.png) top right no-repeat;
}

/*
 *    About Page
 */
.testimonial{
    margin-bottom: 15px;   
}
.testimonial-meta{
    text-align: right;
    font-weight: bold;
}

/*
 *    Footer
 */
#footer{
    background: #FFFFFF;
    margin-bottom: 15px;
    padding-bottom: 15px;
}
#partners{
    margin-top: 15px;
}
#footer h4{
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 5px;
}
#footer p{
    font-size: 12px;
    line-height: 13px;
    margin: 0;
}
.partner{
    
}
.partner a{
    display: block;
    line-height: 45px;
}

/*
 *    Contact Page
 */
.acf-map{
    height: 350px;
}
/*
 *    Rules for devices smaller than desktop
 */
@media (max-width : 989px){
    nav{
        margin-top:25px;
    }
    nav ul{
        text-align: center;
    }
    #main-menu ul li a{
        font-size: 12px;
    }
    #banner-details{
        width: 56%;
    }
    #banner-details #banner-header #banner-title{
        font-size: 24px;
    }
}

/*
 *  Mobile Only Rules
 */
@media(max-width: 767px){
    #nav-toggle{
        display: block;
    }
    nav{
        display: none;
        clear: both;
        width: 100%;
    }
    nav ul{
        display: block;
        width: 100%;
    }
    nav ul li{
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }
    nav ul li.menu-item-has-children{
        padding-bottom: 0; 
    }
    nav ul li.menu-item-has-children > a{
        background: url(images/dropdown.png) center right no-repeat;
    }
    nav ul.list-inline>li{
        padding-left: 0;
        padding-right: 0;
    }
    #main-menu ul.nav-menu li a,
    #main-menu ul.nav-menu li:first-child a{
        padding: 0;
        display: block;
        text-align: center;
    }
    #main-menu ul li:hover .sub-menu{
        display: none;
    }
    #main-menu ul li .sub-menu{
        background: #EEEEEE;
        border-top: 1px solid #BBBBBB;
        margin: 0;
        padding: 0;
        width: 100%;
        position: relative;
        left: auto;
    }
    #banner{
        overflow: hidden;
    }
    #banner #banner-image{
        display: none;
    }
    #banner-details{
        width: 100%;
        padding-bottom: 15px;
        position: relative;
        text-align: left;
    }
    #banner-details #banner-header #banner-title{
        font-size: 18px;
    }
    #banner-details #banner-content{
        color: #000000;
    }
    .partner{
        margin-bottom: 8px;
    }
    .partner:nth-child(3n + 1){
        clear: both;
    }
    #footer p, #footer h4{
        text-align: center;
    }
}
