/*
Theme Name:     Twenty Twelve Beata
Description:    Musica Beata child theme for the Twenty Twelve theme 
Author:         Gail Hedley
Author URI:     http://mostlyharmless.org.uk/
Template:       twentytwelve
Version:        0.1.0
*/

@import url("../twentytwelve/style.css");

/* fonts.com web fonts
font-family:'Ehrhardt W01 Italic';
font-family:'Ehrhardt W01 Roman';
font-family:'Ehrhardt W01 Semibold';
font-family:'EhrhardtW01-SemiboldIta';
*/

/*Setting main font*/
body {
    font-family:'Ehrhardt W01 Roman';
}

body.custom-font-enabled {
    font-family:'Ehrhardt W01 Roman';
    font-size:1.2rem;
    text-rendering:optimizelegibility;
}

/*Setting correct bold font*/
.archive-title, .page-title, .widget-title,
.entry-content th, .comment-content th, 
.entry-content dt, .comment-content dt,
        .main-navigation .current-menu-item > a,
	.main-navigation .current-menu-ancestor > a,
	.main-navigation .current_page_item > a,
	.main-navigation .current_page_ancestor > a {
    font-family:'Ehrhardt W01 Semibold';
    font-weight:normal;
}
/*Setting correct bold-italic font */
article.format-link header {
    font-family:'EhrhardtW01-SemiboldIta';
    font-weight:normal;
}

/*Add extra top padding*/
.site-header {
    padding-top: 2.5em;
}

/*Menu right aligned rather than left*/
/* NOTE _ WOULD LIKE A SOLUTION THAT DOESN'T REVERSE THE MENU ORDER */
.nav-menu li {
    float: right;
}

/*Various font size changes */
.main-navigation li {
    font-size: 1.2rem;
}
.archive-title, .page-title, .widget-title, .entry-content th, .comment-content th {
    font-size: 1.0rem;
}
.widget-area .widget p, .widget-area .widget li, .widget-area .widget .textwidget {
    font-size: 1.0rem;
}
.widget-area .widget a {
    font-size: 1.0rem;
}

/*No borders around menu*/
.main-navigation ul.nav-menu, .main-navigation div.nav-menu > ul {
    border: none;
}

/* Styling for pictures that don't want shadow/border (add this class to the html as req'd */
img.no-border {
    border: none;
    background: none;
    border-radius: 0px;
    box-shadow: none;
}

/* Also for pictures in the image widget */
img.attachment-full {
    border: none;
    background: none;
    border-radius: 0px;
    box-shadow: none;
}

/*heading background*/
hgroup {
    background-color: #fccc06;
    position:absolute;
    width:100%;
    left:0;
    right:0;
    margin-top: 6em;
}

#masthead h1 {
    font-weight:normal;
    font-family:'Ehrhardt W01 Semibold';
    letter-spacing:4.5px;
    max-width: 68.5714rem;
    margin-left:auto;
    margin-right:auto; 
    padding: 0 1.71429rem;
    color: black;
    }

.site-header h1 a, .site-header h2 a {
    color: black;
}


/*Absolute positioning of heading needs bigger nav margin */
.main-navigation {
    margin-bottom: 4.5em;
}

/* Background image at bottom of screen */
body.custom-background {
    background-color: #fff;
    background:url(./Web-image.jpg) bottom left repeat-x fixed;
}

/* Tranparent page background */
.site {
    background-color: transparent;
}

/* Shrink gaps in sidebar */
.widget-area .widget h3 {
    margin-bottom: 0.75rem;
}

/*Reduce article bottom margin */
.site-content article {
    margin-bottom: 2.5rem;
    border-bottom: 4px double #ccc;
}

/*Recent Posts on Front Page */
li.beata-front {
    line-height: 1.71429em;
    padding-bottom: 0.75em;
    margin-bottom: 0.75em;
    border-bottom: 1px double #ccc;
}

/* Sidebar spacing */
h3.widget-title {
    line-height: 1.71429em;
    margin-bottom: 0.75em;
}

/* Recent Posts on front page styling */
h3.beata-front {
    font-weight:normal;
    font-family:'Ehrhardt W01 Semibold';
    line-height: 1.71429em;
}

/* Change bottom border */
footer[role="contentinfo"] {
    border-top: 4px double #ccc;
}

/* Restyling menu */
.main-navigation li ul li a {
    background: white;
    text-color: #21759b;
    border: none;
}

.main-navigation li ul li a:hover {
    background: white;
    text-color: black;
    border: none;
}

/* Styling drop-down small-screen menu */

/* hide the default responsive menu and menu button */
h3.menu-toggle {display: none}
.main-navigation ul.nav-menu, .main-navigation div.nav-menu > ul {display: none;}

/* new responsive selectnav css */
.selectnav { display: none; }
select.selectnav {margin:0 auto;} /* centers select */
 
/* small screen */
 @media screen and (max-width: 600px) {
     .js #menu-top { display: none; }
     .js .selectnav { display: block; }
}

/* Background over page contents!?!?! */