/*  
Theme Name: Twenty Fourteen Child
Theme URI: http://therussc.co.uk
Description: Child Theme of TwentyFourteen
Author: Webbo
Author URI: http://therussc.co.uk
Template: twentyfourteen
Version: 22.1103.1256
*/
@import url(../twentyfourteen/style.css);

/* JPW edits */

/* see line 160 */

/* centre whole site */
.site {
margin:0 auto;
}

/* stops search box */
.search-toggle {
display:none;
}


/* NB. TAKEN OUT LINK TO WORDPRESS IN FOOTER.PHP  */
.site-footer {
	/* background-image:url('xxx'); */
	background-color: #000; /*WAS #000 - RED FOR TEST*/
	font-size: 14px; /* parent 12 */
	text-align: center;
	position: relative;
	z-index: 3;
}

/* FOR "UPCOMING EVENTS" - NEED TO DISTANCE IT FROM TOP... */
.widget-title {
	font-size: 16px !important;
	margin-top: 30px !important;	/* MOVE 'UPCOMING EVENTS' AWAY FROM TOP */
}

/* EVENT DATE */
.widget .ical .eventdate {
    font-size: 1rem !important; /* WAS 0.785714rem (c. 12.5PX) 14px / 16 px = 0.875 em */
	font-weight: 900;
}

/* EVENT SUMMARY */
.widget .ical .summary {
    font-size: 0.875rem !important; /* WAS 0.785714rem (c. 12.5PX) 14px / 16 px = 0.875 em */
	font-weight: 900;
	color: #00ffff; /* FONT TEXT CYAN */
}

.entry-title {
	font-size: 18px;
    font-weight: 300;
    line-height: 1; /* WAS 1.0909090909; */
    margin: 0 !important;  /* WAS 0 0 12px 0; */
    text-transform: uppercase;
}


.content-area {
	padding-top: 20px;
}

.primary-sidebar {
	padding-top: 0; /* WAS 48PX */
}

/* set font for site */
body {
    font-family: Georgia, Serif;
}

/* STYLING FOR PAYPAL BUTTONS */
input, textarea {
  border: none; /* WAS 1px solid rgba(0, 0, 0, 0.1) */
  border-radius: 2px;
  color: #2b2b2b;
  padding: 0; /* WAS 0 10px 7px  (CHANGED 191118 - STOP PADDING ON HIDDEN TEXT INPUTS*/
}

.entry-content table, .comment-content table {
  font-size: 14px;
  line-height: 1.2857142857;
  margin-bottom: 0; /* WAS 24PX */
}

table, th, td {
  border: none; /* WAS 1px solid rgba(0, 0, 0, 0.1) */
}

form p {
	margin-bottom: 0; /* 24px everywhere else */
}

/* AFFECTS TEXT INSIDE DROP DOWN ONLY */
input, textarea, keygen, select, button {
  margin: 0em;
  font: normal normal normal 15px/normal Arial; /* WAS 13.3333330154419px */
}

td {
	font-family: Georgia;
	font-size: 120%;
}



/* WHICH ONE */
#main-content {
  background-color: #f5f5f5;
}


#primary {
  background-color: #f5f5f5;
}

/* THIS (BODY)IS 'OUTSIDE' */
body {
	background: #f5f5f5; /* was f5f5f5 */
}

.site {
	background-color: #f5f5f5; /* was FFF */
}

#content {
	background-color: #f5f5f5;
}

#secondary {
	background-color: #191970 !important; /* midnight blue */
	padding: 0 30px; /* WAS 0 30 - WORKS BUT... WHAT EFFECT ON OTHERS? */
}

/* DOES NOWT */
#primary-sidebar {
	background-color: #191970 !important; /* midnight blue */
}


/* stop image.size-full being 100% of page */

img.limit-size {
    max-width: 400px;
}

img.size-full,
img.size-large,
.wp-post-image,
.post-thumbnail img {
	height: auto !important; /* WAS auto */
	/* max-width: auto%;  WAS 100% */
}

img.size-full, img.size-large, .wp-post-image, .post-thumbnail img {
	height: auto !important; /* WAS auto */
	/* max-width: auto%;  WAS 100% */
}

/*180112 - bring renewals poster back onto site! */
.wp-caption img.renewals[class*="wp-image-"] {
    display: block;
    margin: 0 160 0 0; /* was 0 */
}

.comment-content img[height], .entry-content img, .entry-summary img, img[class*="align"], img[class*="wp-image-"], img[class*="attachment-"], #site-header img {
    width: 100%; /* WAS auto */
}



.site-content .entry-header {
    background-color: #fff;
    padding: 0 10px 0 !important; /* WAS 0 10px 12px; */
}

/* THIS - PLUS MEDIA QUERY BELOW - WORKS  LOCALLY BUT NOT LIVE! WITHOUT MEDIA QUERY IS FOR MOBILES */
img.ceroc {
	height: auto !important; /* was 300px */
	width: auto !important;  /*was auto */
	float: none;
	margin: auto;
}

/* for Privacy Policy */
.indent50
{
	margin: 0.833333% 1.666667%;
	padding-top:0px;
	padding-left:50px; /* only change */
	padding-right:10px;
	padding-bottom:10px;
}

.indent50-outside
{
list-style-type:circle;
list-style-position:outside !important; /* changed */
margin-top:0.5em; 
margin-bottom:1.5em;
margin-left:0px; 
padding-left:20px; /* 50 WORKS */
}

.widget_text ol {
    list-style: decimal-leading-zero outside; /* changed */
}

.heading3 {
	margin: 0.833333% 1.666667%;
	padding-top:0px;
	padding-left:10px;
	padding-right:10px;
	padding-bottom:10px;
	}


@media screen and (min-width: 768px) {
	img.ceroc {
	height: auto !important; /* was 300px */
	width: auto !important;  /*was auto */
	float: right;
	padding: 20px; 
	margin: auto;
	}
} 

/* THIS - PLUS MEDIA QUERY BELOW - WORKS  LOCALLY BUT NOT LIVE! WITHOUT MEDIA QUERY IS FOR MOBILES */
img.advert-ceroc {
	height: auto !important; /* was 300px */
	width: auto !important;  /*was auto */
	float: none;
	margin: auto;
}


@media screen and (min-width: 768px) {
	img.advert-ceroc {
	height: auto !important; /* was 300px */
	width: auto !important;  /*was auto */
	float: right;
	padding: 20px; 
	margin: auto;
	}
} 


/* MEDIA QUERY - MOVE WHEN DONE - THIS NEEDS MOVING TO 1400 - CARE 2 X 1080 MEDIA QUERIES */ 
@media screen and (min-width: 1080px) {
	.site-content, .site-main .widecolumn {
	margin-left: 240px; /*MADE 240 TO MIRROR SECONDARY - WAS 222PX - ADD 180 PX: YES- GET IN!!! */
	}
} 

/* NOT DOING ANYTHING (TOP ONE)? */
@media screen and (min-width: 1008px) {
	#secondary {
	  background-color: #191970 !important; /* midnight blue */
	}
	
	.site-description {
	  margin: 0; /* WAS 0 0 18PX */
	}	

}


/* CRITICAL - LEFT SIDEBAR */
@media screen and (min-width: 1080px) {
	#secondary {
	width: 240px; /* C. HALFWAY BETWEEN 340 (1400) & 122 (1008) - WAS 162 px  - TRY ADJUSTING HERE FOR BACKGROUND COLOUR - CARE WHAT IT DOES ELSEWHERE */
	background-color: #191970 !important; /* midnight blue */
	}
}


@media screen and (min-width: 1400px) {
	#secondary {
	width: 340px; /* NEED CORRESPONDING CHANGE FOR MAIN AREA TO MAKE LATTER, BIGGER - I.E. BIG SCREENS - TRY ADJUSTING HERE FOR BACKGROUND COLOUR - CARE WHAT IT DOES ELSEWHERE */
	background-color: #191970 !important; /* midnight blue */
	}
	
	.site-content, .site-main .widecolumn {
	margin-left: 402px; /*WAS 222PX - ADD 180 PX: YES- GET IN!!! - SHOULD THIS BE 450 TO MIRROR WIDTH OF SECONDARY?  */
	}
}


@media screen and (min-width: 846px) {
	.content-area, .content-sidebar {
	  padding-top: 20px; /* WAS 72PX */
	}
}



/* MAKE IMAGES IN NEXTGEN GALLERY RESPONSIVE - WORKS(!) - ENSURE COLUMNS SET TO THREE */
.ngg-gallery-thumbnail-box { margin: 5px .5%!important; width: 32.3%!important; }
.ngg-gallery-thumbnail a { display: block; overflow: hidden; }
.ngg-gallery-thumbnail a img { border: 1px solid #8eb83b!important; width: 95%!important; padding: 2%!important; margin: 0 auto!important; }

/* Adjustments to allow full page width after removing right sidebar via child functions.php (ex: http://www.findurlaptop.com/tech/2014/03/04/remove-right-sidebar-in-twenty-fourteen-wordpress-theme/ 
STARTS */
.hentry {
	max-width: 100% !important; /* was 90%  then 78.94737% - 100% works until change size of left sidebar - some tests to follow - IF IN DOUBT REVERT TO 100% ALL THROUGH.  TAKING DOWN TO 80% SOLVES "LEFT" BUT LEAVES BIG MARGIN(?) ON RIGHT  - AND ISSUES ON RESIZE.  90% BRINGS THIS TOO FAR LEFT.  CONSIDER PERCENTAGES V-A-V  MEDIA QUERY TESTS... NEED TO BALANCE PERCENTAGES WITH FIXED PIXELS IN MEDIA QUERIES... CONSIDER USING PERCENTAGES IN BOTH? */
/* NEW TEST - PERCENTAGES THROUGHOUT - ATTEMPT TO MAKE LEFT SIDEBAR 400/1900 = 21.052631%; THUS BIG BIT IS 100% LESS THAN THAT = 78.94737% */
	margin: 0 50px 48px !important; /* WAS 0 auto 48px */
	background-color: #f5f5f5;
}

.site-content .entry-header,
.site-content .entry-content,
.site-content .entry-summary,
.site-content .entry-meta,
.page-content {
	max-width: 100% !important; /* was 90% then 78.94737% - GETTING THERE!*/
	background-color: #f5f5f5; /* white smoke YES - THIS ONE FOR PAGE BACKGROUND! */
}

.post-navigation,
.image-navigation {
	max-width: 100% !important; /* was 90% then 78.94737% */
}

.comments-area {
max-width: 100% !important; /* was 90% then 78.94737% */
margin-left: 20px !important;
margin-right: 20px !important;
}
/* <!-- Full page adjustments ENDS --> */

/* NAVIGATION /*
/* Centre Primary Navigation Menu & increase Font Size */
.header-main {
 text-align: center;
}

.primary-navigation {
 float: none;
 font-size: 18px; /* TEST */
}
/* <!-- Centre/Font-size ENDS --> */

/* EX HB // HOLD FOR NOW //
.site-navigation a:hover {
	color: #ffffff !important; /* white //
}

/* Colour of Menu Item for CURRENT PAGE //
.site-navigation .current_page_item > a,
.site-navigation .current_page_ancestor > a,
.site-navigation .current-menu-item > a,
.site-navigation .current-menu-ancestor > a {
	color: #EC008C !important; /* Pink! //
	font-weight: 900;
}

a {
	color: #ffffff !important; /* white //
	text-decoration: none;
}
/* END HOLD FOR NOW // */

/* Custom Colours in Twenty Fourteen – Get the Green Outta my Theme!
ex: http://voodoopress.com/custom-colours-twenty-fourteen-get-green-outta-theme/ (SEEMS EXCELLENT!) */
/* Rev. Voodoo: 
	replaced #24890d with #bc175b
	replaced #41a62a with #d62c68
	replaced #55d737 with #ed2597
	
JPW
	replaced #bc175b with #003366
	replaced #d62c68 with #000066
	replaced #ed2597 with #0000c0 	
*/
a {
	color: #003366;
}

a:active,
a:hover {
	color: #003366;
}

.widget a {
    color: #003366 !important;
}

::selection {
	background: #003366;
}

::-moz-selection {
	background: #003366;
}

button,
.contributor-posts-link,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background-color: #003366;
}

button:hover,
button:focus,
.contributor-posts-link:hover,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
	background-color: #003366;
}

button:active,
.contributor-posts-link:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	background-color: #0000c0;
}

.search-toggle {
	background-color: #003366;
}

.search-toggle:hover,
.search-toggle.active {
	background-color: #003366;
}

.search-box {
	background-color: #003366;
}

.site-navigation a:hover {
	color: #003366;
}

.site-navigation .current_page_item > a,
.site-navigation .current_page_ancestor > a,
.site-navigation .current-menu-item > a,
.site-navigation .current-menu-ancestor > a {
	color: #0000c0;
}

.entry-title a:hover {
	color: #003366;
}

.entry-meta a:hover {
	color: #003366;
}

.cat-links a:hover {
	color: #003366;
}

.entry-meta .tag-links a:hover {
	background-color: #003366;
}

.entry-meta .tag-links a:hover:before {
	border-right-color: #003366;
}

.entry-content .edit-link a:hover {
	color: #003366;
}

.hentry .mejs-controls .mejs-time-rail .mejs-time-current {
	background: #003366;
}

.page-links a:hover {
	background: #003366;
	border: 1px solid #003366;
}

.post-navigation a:hover,
.image-navigation a:hover {
	color: #003366;
}

.paging-navigation .page-numbers.current {
	border-top: 5px solid #003366;
}

.paging-navigation a:hover {
	border-top: 5px solid #003366;
}

.comment-author a:hover,
.comment-list .pingback a:hover,
.comment-list .trackback a:hover,
.comment-metadata a:hover {
	color: #003366;
}

.comment-reply-title small a:hover {
	color: #003366;
}

.widget a:hover {
	color: #003366;
}

.widget button,
.widget input[type="button"],
.widget input[type="reset"],
.widget input[type="submit"] {
	background-color: #003366;
}

.widget input[type="button"]:hover,
.widget input[type="button"]:focus,
.widget input[type="reset"]:hover,
.widget input[type="reset"]:focus,
.widget input[type="submit"]:hover,
.widget input[type="submit"]:focus {
	background-color: #003366;
}

.widget input[type="button"]:active,
.widget input[type="reset"]:active,
.widget input[type="submit"]:active {
	background-color: #0000c0;
}

.widget-title a:hover {
	color: #003366;
}

.widget_calendar tbody a {
	background-color: #003366;
}

.widget_calendar tbody a:hover {
	background-color: #003366;
}

.widget_twentyfourteen_ephemera .entry-meta a:hover {
	color: #003366;
}

.content-sidebar .widget a {
	color: #003366;
}

.content-sidebar .widget a:hover {
	color: #003366;
}

.content-sidebar .widget input[type="button"],
.content-sidebar .widget input[type="reset"],
.content-sidebar .widget input[type="submit"] {
	background-color: #003366;
}

.content-sidebar .widget input[type="button"]:hover,
.content-sidebar .widget input[type="button"]:focus,
.content-sidebar .widget input[type="reset"]:hover,
.content-sidebar .widget input[type="reset"]:focus,
.content-sidebar .widget input[type="submit"]:hover,
.content-sidebar .widget input[type="submit"]:focus {
	background-color: #003366;
}

.content-sidebar .widget input[type="button"]:active,
.content-sidebar .widget input[type="reset"]:active,
.content-sidebar .widget input[type="submit"]:active {
	background-color: #0000c0;
}

.content-sidebar .widget .widget-title a:hover {
	color: #003366;
}

.content-sidebar .widget_twentyfourteen_ephemera .entry-meta a:hover {
	color: #003366;
}

.site-info a:hover {
	color: red; /* WAS #003366 */
}

.featured-content a:hover {
	color: #003366;
}

.slider-control-paging a:hover:before {
	background-color: #003366;
}

.slider-control-paging .slider-active:before,
.slider-control-paging .slider-active:hover:before {
	background-color: #003366;
}

.slider-direction-nav a:hover {
	background-color: #003366;
}

@media screen and (min-width: 783px) {
	.primary-navigation ul ul {
		background-color: #003366;
	}
	.primary-navigation li:hover > a,
	.primary-navigation li.focus > a {
		background-color: #003366;
	}

	.primary-navigation ul ul a:hover,
	.primary-navigation ul ul li.focus > a {
		background-color: #003366;
	}
}

@media screen and (min-width: 1008px) {
	.secondary-navigation ul ul {
		background-color: #003366;
	}
	.secondary-navigation li:hover > a,
	.secondary-navigation li.focus > a {
		background-color: #003366;
	}

	.secondary-navigation ul ul a:hover,
	.secondary-navigation ul ul li.focus > a {
		background-color: #003366;
	}
}
/* <!-- Custom Colour replacement ENDS --> */

/* REPOSITION MEDIA QUERY... WORKS (NEEDS TO BE BELOW 'MAIN' .HENTRY)*/
@media screen and (max-width: 1024px) {
	.hentry {
	margin: 0 10px 10px !important;
	}
}



/**
 * 3.0 Basic Structure
 * -----------------------------------------------------------------------------
 */
 
/*test  BIG SIZE - NO DOUBT MORE TO DO... - HOLD FOR NOW //
.site {
	background-color: #fff;
	max-width: 1920px; /* was 1260 //
	position: relative;
} 


.site-header {
	background-color: #000;
	max-width: 1920px; /* was 1260 //
	position: relative;
	width: 100%;
	z-index: 4;
}

// END 'HOLD FOR NOW' */

/*  Use More Screen Real Estate by Making Twenty Fourteen Wider - ex
http://voodoopress.com/use-screen-real-estate-making-twenty-fourteen-wider/ 
OK - BUT PROBLEMS WITH HEADER IMAGE BEING 'STUCK' AT 1260PX
- NB. REFER TO ARTICLE RE CHANGES TO CHILD'S FUNCTIONS.PHP, TOO //
HOLD FOR NOW (TW0) // */
.site {
	max-width: 100%; /* was 1420px */ 
}

.site-header {
	max-width: 100%; /* was 1420px */ 
}
/* TRY OTHER BIT OF CODE */
#site-header img {
	width: 100%;
}


/* MEDIA QUERY TEST TO EXPAND PRIMARY SIDEBAR - ** GOOD SO FAR ** */
@media screen and (min-width: 1008px) {
	.site:before {
		width: 182px; /* was 182px */
	}
}

@media screen and (min-width: 1080px) {
	.site:before {
		width: 21.052631%; /* was 222px DELIBERATELY BIG AT 500PX (BEFORE PERCENTAGE PLAN) - SEE EFFECT (CUTS IN) ON MAIN CONTENT - WHICH NOW NEEDS ADJUSTING (look at ratio with 182, above) */
		/* PERCENTAGES SEEM TO WORK - TO BE CONTINUED... (WILL NEED MEDIA QUERIES...) */ 
	}
}
