/*
Theme Name: Twentyeleven Child
Description: Child theme for the twentyeleven theme for ESC
Author: John Morgan
Template: twentyeleven
*/

@import url("../css/style.css");;

#main,.entry-content {
padding:0;
}

#main,.singular.page .hentry {
padding:0;
}

/* remove grey background boundary around page */
body {
	padding: 0 0em;
}
#page {
	margin: 0em auto;
	max-width: 1000px;
}

/* change whitespace at top of page */

#site-title {
	margin-right: 270px;
	padding: 0.65625em 0 0;
}

#site-description {
	color: #7a7a7a;
	font-size: 14px;
	margin: 0 270px 0.85625em 0;
}

/* remove search form from header */
#branding #searchform {
	display:none;
}
#branding .only-search + #access div {
	padding-right: 0px;
}

/* 
colour of top menu background, entry title and page title
*/

#site-title a {
color: #FFFFFF; font-size: 20px;
}
#branding {
        background: #002868;  border-top: 0;
}

#access {
background: #002868;
}

.entry-title, .entry-title a {
    color: #002868; font-size: 20px;
}

h1.entry-title {
color:#002868 !important; font-size: 20px;
}

/* change colour of footer and colour of links in footer */
#colophon {
clear: both;
background-color: #002868;
}
#colophon 
.widget-title {
	color: #666;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	text-transform: uppercase;
}

#colophon a:link {color: #FFFFFF;
font-weight: normal; } 


/* hold dropdown for mobile users a moment */
#access ul ul {
top: 2.333em;
}

/* remove Proudly Powered By Wordpress in footer */
#site-generator {
display:none;
}

/* get rid of borders around images */
img[class*="align"],
img[class*="wp-image-"],
#content .gallery .gallery-icon img {
border: none;
}

/* =Responsive Structure for narrow screens
* to keep min width and sidebar
-------------------------------------------- */
@media (max-width: 800px) {
     #page {
       min-width: 400px;
}

/* keep the sidebar - for right sidebar */
    .right-sidebar #main #content {
        margin: 0 29% 0 1%;
        width: 70%;
    }
    .right-sidebar #main #secondary {
        float: right;
        margin: 0 1% 0 1%;
        width: 24%;
    }
/* keep the sidebar - for left sidebar */
    .left-sidebar #main #content {
        margin: 0 1% 0 29%;
        width: 70%;
    }
    .left-sidebar #main #secondary {
        float: right;
        margin: 0 -1% 0 2%;
        width: 24%;
    }
/* correction for 'showcase' template */
    .page-template-showcase-php #main #primary.showcase {
        float: right;
        margin: 0 2% 0 2%;
        width: 96%;
    }
    .page-template-showcase-php #main #primary.showcase #content {
        margin: 0 6% 0 6%;
        width: 88%;
    }
    .page-template-showcase-php section.recent-posts {
        float: right;
        margin-right: 0pt;
        margin-left: 31%;
        width: 69%;
    }
    .page-template-showcase-php #main .widget-area {
        float: left;
        margin-right: -22.15%;
        margin-left: 0pt;
        width: 22.15%;
    }
/* correction for singular posts/pages without sidebar */
    .singular #main #content {
        margin: 0 8% 0 8%;
        width: 84%;
    }

/* eshop cart options order */
add_filter('eshop_option_set_ordering', 'myeshop_optionsetorrder',1,10);
function myeshop_optionsetorrder($qu){
return 'ORDER BY admin_name, id ASC';
}
/*This file was exported by "Export WP Page to Static HTML" plugin which created by ReCorp (https://myrecorp.com) */