/*
Theme Name: EMW
Theme URI: http://www.emw.org.uk
Description: Child Theme for K2 with EMW specific tweaks
Author: Mark Barnes
Template: k2
Version: 0.1
*/

img#wpstats {
	width:0px;
	height:0px;
	overflow:hidden
}

#sidebar-1 div {
	margin-top:0;
}

.columns-two #sidebar-1 {
	padding-top: 0;
	padding-right: 0;
}

#sidebar-1 #qal-edit-links {
	border-bottom: 1px solid white;
}

#sidebar-1 #qal-log-on {
	padding-top: 1em;
}

#sidebar-1 #qal-log-on h4 {
	display:none;
}

body {
    border: none;
}

body #page {
	width: 955px !important;
}
	
body #primary {
	width: 700px;
}

/*************************************************************
* SET BASIC COLOURS                                          *
*************************************************************/
html {
	margin-bottom: 0;
}

div.entry-content p, div.entry-content ul, div.entry-content ol {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 14px;
	line-height: 24px;
	text-align: left;
}

body.lang-en {
	background: #EDEDED url('background-emw.png') repeat-y 50% 0;
}

body.lang-cy {
	background: #EDEDED url('background-mec.png?2008-10-16') repeat-y 50% 0;
}

#page {
	background: none;
	border: none;
}

body.lang-en a, body.lang-en h1, body.lang-en h2, body.lang-en h3, body.lang-en h4, body.lang-en h5,
body.lang-en h1 a:visited, body.lang-en h1 a:link,
body.lang-en h2 a:visited, body.lang-en h2 a:link,
body.lang-en h3 a:visited, body.lang-en h3 a:link,
body.lang-en h4 a:visited, body.lang-en h4 a:link,
body.lang-en h5 a:visited, body.lang-en h5 a:link,
body.lang-en .entry-content a:visited {
	color: #AA0000;
}

body.lang-cy a, body.lang-cy h1, body.lang-cy h2, body.lang-cy h3, body.lang-cy h4, body.lang-cy h5,
body.lang-cy h1 a:visited, body.lang-cy h1 a:link,
body.lang-cy h2 a:visited, body.lang-cy h2 a:link,
body.lang-cy h3 a:visited, body.lang-cy h3 a:link,
body.lang-cy h4 a:visited, body.lang-cy h4 a:link,
body.lang-cy h5 a:visited, body.lang-cy h5 a:link,
body.lang-cy .entry-content a:visited  {
	color: #009900;
}

/*************************************************************
* FORMAT HEADER                                              *
*************************************************************/
body.lang-cy #header-back {
	background-color: #00AA00;
}

body.lang-en #header-back {
	background-color: #CC0000;
}

#emw-image-header {
	height: 200px;
	margin-left: 175px;
    margin-top:-3px;
}

body.lang-cy #header { 
	background-image: url('headers/front/Cymraeg.png');
}

body.lang-en #header { 
	background-image: url('headers/front/English.png');
}

#header {
	margin-top: -200px;
	background-color: transparent;
}

#header p.description a:link, #header p.description a:visited {
	color:white;
}

#header p.description a:hover {
	text-decoration: underline;
}

#header h1 a:hover {
	text-decoration: none;
	border-bottom: 1px solid white;
}

#header p {
	color:white;
	font-weight: 400;
	width: 250px;
	margin-left: 40px;
}

#header p a, #header p a:link, #header p a:visited {
	color:white; text-decoration: underline;
}

/*************************************************************
* FORMAT FOOTER                                              *
*************************************************************/
p.footerpoweredby, p.footerfeedlinks, p.footerstats {
	display:none;
}

/*************************************************************
* LAYOUT TWEAKS                                              *
*************************************************************/
#page {
	padding-top:0;
}

div.content {
	padding-left:0;
}

body.columns-two #primary-wrapper {
	float:right;
	margin-right:0;
	width: auto;
}

body.columns-two #primary {
	margin-right: 0;
	padding: 0;
}

body.columns-two .secondary {
	float:none;
	overflow:visible;
}

#primary .entry-content img.left {
	float:left; 
	margin-left: 0;
	margin-right:0;
	padding-right: 1.5em;
}

#primary .entry-content img.right {
	float:right;
	margin-right:0;
	padding-left: 1.5em;
}

body.page #primary .entry-head h1, #primary .entry-head h2, #primary .entry-content h3, #primary .entry-content h4, #primary .entry-content h5 {
	text-align:left;
	font-weight: bold;
	letter-spacing: 0;
	margin-top: 0;
    margin-left: 0;
}

#change-language a:visited, #change-language a:link, #change-language p {
	color: white;
}
div.itemtext hr {
	color:#BBBBBB;
	width:85%;
	display:block;
	height:1px;
}

sup, sub {
	line-height:0;
}

sup a:hover, sub a:hover {
	text-decoration:none;
}

ol.footnotes li {
	font-size: 80%;
	line-height:1.35em;
	margin-top:0;
	margin-bottom:0.75em;
}

ol.roman li	{
	list-style-type: lower-roman;
}

ol.alpha li	{
	list-style-type: lower-alpha;
}

#commentlist li .comment-content ol li {
	list-style-type: decimal;
	margin-left: 2em;
}

#commentlist li .comment-content ul li {
	list-style-type: disc;
	margin-left: 2em;
}

#commentlist li .comment-content {
	font-size: 1.15em;
}

#primary div.entry-content hr {
	display: block;
	line-height: normal;
}

#primary td	{
	vertical-align: top;
	margin: 3px 5px 3px 5px;
	text-align: left;
}
					
#primary td.highlight {
	font-weight: bold;
	white-space: normal;
}

.entry-content div.map {
	margin: 0
}

div.gallery {
	width:200px;
	float:right;
	margin:0 0 0 1.5em
}

div.gallery img {
	margin-bottom: 1em
}

div.entry-content div.alert {
	background-color: #FFFFAA;
	font-weight:bold;
	line-height: 150%;
	padding: 8px;
	text-align: center;
	margin: 1em 0 1em 0;
}

/*************************************************************
* FORMAT MENU IN SIDEBAR                                     *
*************************************************************/
#header ul.menu {
	display:none; 
}

.columns-two #sidebar-1 {
	width: 207px;
}

/*************************************************************
* LAYOUT CHANGES IN POST/PAGE                                *
*************************************************************/
div.entry-content div.captioned {
	float:right;
	margin-left:1.5em;
	background-color: #FFFFAA;
}

div.entry-content div.captioned p {
	margin:0;
	padding: 5px;
	text-align: center;
}

div.entry-content {
	font-size: inherit;
	text-align: left;
}

/*************************************************************
* TWEAK PLUG-INS AND SIDEBAR MODULES                         *
*************************************************************/
div.content #alert {
	background-color: #FFFFAA;
	font-weight:bold;
	line-height: 150%;
	padding: 8px;
	text-align: center;
}

body.lang-en div.content #alert {
	border-top: 2px solid #CC0000;
	border-bottom: 2px solid #CC0000;
}

body.lang-cy div.content #alert {
	border-top: 2px solid #00AA00;
	border-bottom: 2px solid #00AA00;
}

div.secondary #search {
	margin-top:0;
	padding:10px 0;
}

div.secondary #search #s{
	width: 75%;
}

div.sb-links
	{ margin-top:0;
}

div.sb-links ul li {
	margin-top: 1.5em;
}

div.sb-links ul li li {
	margin-top: 0;
}					

div.sb-pagemenu a {
	color: black;
	font-weight: bold;
}

div.sb-pagemenu ul a {
	color: #CC0000;
	font-weight: normal;
}

div.pageview div.pageviewhead {
	display:none
}

div.pageview iframe {
	height: 706px !important;
	overflow:hidden;
	border:none !important;
}
/*************************************************************
* PRINT STYLE SHEET                                          *
*************************************************************/
@media print {
	#header, #header-front, #sidebar-1 {
		display:none;
	}
	
}

/*************************************************************
* Tweaks for individual pages                                          *
*************************************************************/


/* pageid-49 = English Camps details page */
body.pageid-49 h3 {
	margin-top:1.5em
}
body.pageid-49 .entry-content ul {
	padding:0
}
body.pageid-49 .entry-content ul li {
	list-style-type: none;
	margin-bottom: 1em;
	line-height: 1.25em;
	padding:0.5em;
	margin:0 0 1em 0;
	padding-left:35px
}
body.pageid-49 ul li.bridgend {
	border: 2px solid #FD7567;
	background: #ffe3e1 url('http://maps.google.co.uk/intl/en_uk/mapfiles/ms/micons/red-dot.png') no-repeat center left
}
body.pageid-49 ul li.pentrenant {
	border: 2px solid #00E64D;
	background: #ccfadb url('http://maps.google.co.uk/intl/en_uk/mapfiles/ms/micons/green-dot.png') no-repeat center left
}
body.pageid-49 ul li.outdoor {
	border: 2px solid #FDF569;
	background: #fffde1 url('http://maps.google.co.uk/intl/en_uk/mapfiles/ms/micons/yellow-dot.png') no-repeat center left
}
body.pageid-49 ul li.bala {
	border: 2px solid #E661AC;
	background: #fadfee url('http://maps.google.co.uk/intl/en_uk/mapfiles/ms/micons/pink-dot.png') no-repeat center left
}
body.pageid-49 ul li.quinta {
	border: 2px solid #67DDDD;
	background: #e1f8f8 url('http://maps.google.co.uk/intl/en_uk/mapfiles/ms/micons/ltblue-dot.png') no-repeat center left
}

/* Sermons page tweaks */

#post-66 div.page-head {
    margin-bottom: 0;
}

div.sermon-browser, div.sermon-browser div.floatright, div.sermon-browser div.floatleft {
    margin-top: 0;
    margin-bottom: 0;
}

div.sermon-browser div.floatright, div.sermon-browser div.floatleft {
    margin-bottom: -28px;
}

div.sermon-browser #mainfilter {
    font-size: 14px;
    font-family: Georgia,"Times New Roman",Times,serif;
    line-height: 24px;
}

div.sermon-browser table.sermons {
    font-family: Georgia,"Times New Roman",Times,serif;
}

html, body {
    height: 100%;
}

html {
    overflow: -moz-scrollbars-vertical;
    overflow-x: auto;
}

#page {
    min-height: 100%;
    margin-bottom: -66px;
    position: relative;
}

#footer {
    height: 56px;
    position: relative;
    width: 735px;
    padding: 0 0 10px 220px;
    margin-left: auto;
    margin-right: auto;
    font-size: 10px;
    line-height: 16px;
}

#footer a {
    font-weight: normal;
    border-bottom: none;
}

#page, div.content, div.secondary, div.emw_menu, div.emw_menu div.menu, div.emw_menu div.menu ul {
    overflow: visible;
}

#sidebar-1 div.widget {
    margin-top : 2em;
}

#sidebar-1 div.emw_menu {
    margin-left : -10px;
    font-size: 120%;
    line-height: 150%;
    margin-top: 0;
}

div.emw_menu a {
    color : white;
}

div.emw_menu ul {
    padding: 0 5px 0 0;
    margin-top: 0;
}

div.emw_menu ul li {
    padding-top: 3px;
    padding-bottom: 3px;
}

div.emw_menu ul li.current_page_item, div.emw_menu li.current_page_ancestor {
    background-color: white;
    margin: 0 -10px 0 -25px;
    padding: 3px 10px 3px 20px;
    border-width: 5px 0 5px 5px;
    border-style: solid none solid solid;
    -moz-border-radius-topleft: 5px;
    -webkit-border-top-left-radius: 5px;
    -moz-border-radius-bottomleft: 5px;
    -webkit-border-bottom-left-radius: 5px;
    position:relative;
}

div.emw_menu ul li.current_page_item {
    font-weight: bold;
}

div.emw_menu ul li.current_page_ancestor, div.emw_menu ul li.current_page_item li {
    font-weight: normal;
}

div.emw_menu ul li.current_page_ancestor ul li {
    background-color: inherit;
    margin: 0;
    padding: 3px 0;
    border: none;
    -moz-border-radius-topleft: inherit;
    -webkit-border-top-left-radius: inherit;
    -moz-border-radius-bottomleft: inherit;
    -webkit-border-bottom-left-radius: inherit;
}

.secondary div.emw_menu ul ul ul {
    margin-left: 10px;
}

body.lang-en div.emw_menu ul li.current_page_ancestor a {
    color: #CC0000;
}

body.lang-cy div.emw_menu ul li.current_page_ancestor a {
    color: #00AA00;
}

body.lang-en div.emw_menu ul li.current_page_item, body.lang-en div.emw_menu li.current_page_ancestor {
    border-color: #770000 white #770000 #770000;
}

body.lang-cy div.emw_menu ul li.current_page_item, body.lang-cy div.emw_menu li.current_page_ancestor {
    border-color: #007700 white #007700 #007700;
}

body.lang-en div.emw_menu ul li.current_page_item a {
    color: #CC0000;
}

body.lang-cy div.emw_menu ul li.current_page_item a {
    color: #00AA00;
}

#custom-language-widget a {
    color: white;
    font-weight: bold;
    font-size: 120%;
}

div.widget #s {
    width: 60%;
    background: white;
}

div.widget #searchsubmit {
    float: none;
}

strong, em, b, i {
    font-family: Georgia,"Times New Roman",Times,serif;
}

strong {
    color: #333333;
}
