/*
 Theme Name:   Jacqueline Wilson Hueman Child Theme
 Theme URI:    http://www.jw-mag.com
 Description:  Theme for Jacqueline Wilson which is a child theme of Hueman
 Author:       Graeme Pirie
 Author URI:   http://www.dcthomson.co.uk
 Template:     hueman
 Version:      1.0.0
 Tags:         
*/

@import url("../hueman/style.css");

/*****************************************************************************************************************************************************************************

$tools

Helper classes for common styles such as floats, clear etc.

*************************************************************************************************************************************************************************** */

@import url(assets/css/helper.css);

/*****************************************************************************************************************************************************************************

$generic

Reset and normalisation of browser styles.

*************************************************************************************************************************************************************************** */

@import url(assets/css/reset.css);

/*****************************************************************************************************************************************************************************

$base

Basic styles that control layout and global styles. No classes should go in this section.

*************************************************************************************************************************************************************************** */

@import url(assets/css/type.css);

@import url(assets/css/forms.css);

* {
    margin: 0;
    padding: 0;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
    font: 400 16px/1.462 Arial,"Helvetica Neue",Helvetica,sans-serif;
    color: #333;
    background: url(./assets/img/pagebg.gif) repeat fixed center top;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    counter-reset: rules-counter;
}

strong {
	font-weight: bold;
}

/*****************************************************************************************************************************************************************************

$components

More specific styles to for the site. Without this section the site should resemble a plain wireframe. Add class styles in here to override base styles

*************************************************************************************************************************************************************************** */

#header .social-links {
	float: none;
    margin: 1em 0 2em;
    text-align: center;
}

#header .social-links .social-tooltip {
	background: #3B8DBD;
	padding: 7px;
	font-size: 16px;
	border-radius: 50px;
	float: none;
}

@media only screen and (min-width: 955px) {
	#header .social-links {
		position: absolute;
		left: 22px;
		top: 10px;
	}
}

@media only screen and (min-width: 1200px) {

	#header .social-links {
		top: 46px;
	}
}

.latest-cover {
	margin: 1em 0;
	max-width: 120px;
}

.home-widgets {
	margin: 1.5em 0;
}

.home-widget {
	margin: 0 35px 0 0;
} 

.home-widget:nth-child(3n) {
	margin: 0;
}

.price-box {
	background: #fbe4ec;
	margin: 0 0 1.875em 0;
}

.tabs li {
	margin: 0;
	color: #fff;
	line-height: 3.563;
	padding: 0 1.125em; 
}

.tabs li:hover, .tabs .active {
	background-color: #ff7bac;
	color: #fff;
	cursor: pointer;
}

.tabs li:hover {
	color: #e3097e;
}

.slider-header {
	background: #EE3399;
}

.entry .subs-gallery {
	border: 1px solid #EE3399; 
	margin: 0 0 1.5em 0;
}

.tab-panel h2 {
	display: none;
}

.tab-panel p {
	padding: 0 22.2532981530343%;
	margin: 0 0 3.125em 0;
}

.tab-panel .cta {
	border-top: 1px solid #EE3399; 
	color: #EE3399;
	line-height: 4.875;
}

.entry .slide-nav {
	margin: 0 0 3.125em 0;
}

.entry .slide-nav li {
	float: left;
	width: 50%;
	text-align: center;
	margin: 0;
	outline: 1px solid #e3097e;
	list-style: none;
	border-bottom: 1px solid #EE3399; 
}

.slide-nav a {
	background: url(./assets/img/icons/subs-prev.png) top left no-repeat;
	text-indent: -9999em;
	height: 23px;
	width: 22px;
	display: block;
	margin: 1.875em auto;
}

.slide-nav a.next {
	background: url(./assets/img/icons/subs-next.png) top left no-repeat;
}

.price-box {
	padding: 2em 0 0 0;
	border: 1px solid #EE3399;
}

.price-box img.deal-icon {
	top: 0;
	left: 0;
	margin: 0;
	width: auto;
	display: none;
}

.best-deal img.deal-icon {
	display: block;
}

.price-box h2 {
	margin: 0 0 .25em 0;
}

.price-box h3 {
	font-weight: lighter;
	color: #EE3399;
	font-size: 1.125em;
	margin: 0 0 1.125em 0;
}

.price-box ul {
	padding: 0 2em;
}

.price-box.subs-float ul {
	width: 40%;
	padding: 0 0 0 2em;
}

.price-box img {
	padding: 0 2em 0 0;
	width: 31.5%;
	margin: 0 0 1.25em 0;
}

.price-box a {
	background: #e3097e;
	color:#fff;
	line-height: 3.125;
	border-top: 1px solid #e3097e;
	display: block;
	clear: both;
}

.price-box a:hover {
	background: #fff;
	color: #e3097e; 
}

.subs-text {
	margin: 0 0 2em 0;
	padding: 2em;
	overflow: hidden;
	clear: both;
	border: 1px solid #EE3399;
}

.subs-info-image {
	display: block;
	margin: 0 auto;
}

.entry .subs-advantages {
	border: 1px solid #EE3399; 
	padding: 0;
	margin: 0 0 2em 0;
	clear: both;
	overflow: hidden;
}

.subs-advantages li {
	border-bottom: 1px solid #EE3399;
	margin: 0;
	padding: 1em;
}

.entry .subs-advantages li:last-child {
	border: none;
}

.subs-icons {
	margin: 0 auto 2em auto;
}


@media only screen and (min-width: 50.5em) {
	.entry .tabs {
		float: right;
		margin: .25em;
	}

	.subs-logo {
		float: left;
		padding: 0;
	}

	.entry .tabs li {
		float: left;
		list-style: none;
	}

	.tabs li:hover, .tabs .active a {
		background: url(../img/icons/tabs-active.png) bottom center no-repeat #ff7bac;
	}

	.tab-panel img {
		float: left;
		width: 62.53132832080201%;
		border-right: 1px solid #e3097e;
		position: relative;
	}

	.tab-panel .info {
		float: left;
		width: 37.33967167919799%;
	}

	.tab-panel .cta {
		position: absolute;
		bottom: 0;
		right: 0;
		width: 37.33967167919799%;
	}

	.subs-logo {
		margin: .625em;
	}

	.subs-float ul {
		float: left;
		width: 60%;
	}

	.price-box {
		width: 32.2%;
		float: left;
		margin-right: .6em;
	}

	.price-box.wide {
		max-width: none;
		width: 49%;
	}

	.price-box.box-3, .price-box.box-5 {
		margin-right: 0;
		float: right;
	}

	.price-box.box-5 ul {
		float: left;
	}

	.entry .subs-advantages li {
		float: left;
		width: 25%;
		border-right: 1px solid #EE3399;
		border-bottom: none;
		list-style: none;
	}

	.subs-info-image {
		float: right;
		max-width: 30%;
	}

	.subs-icons {
		margin: 0 auto 1em auto;
		display: block;
	}

	.comp-archive h1.entry-title {
		margin: 0 0 0.6em;
	}

	.single-competition .wpcf7 {
		clear: both;
	}

	.tab-panel p {
		margin: 0 0 1em 0;
	}

	.comp-thanks {
		float: left;
		width: 65%;
	}

	.comp-cover {
		float: right;
		width: 25%;
		margin: 0 0 2em 0;
	}
}

/* Competitions */

.comp-archive {
	padding: 2.563em;
	float: none;
	margin: 0 auto 1.5em;
	width: auto;
	border: 1px solid #ff18a6;
	overflow: hidden;
}

.comp-archive header {
	margin: 0 0 1em 0;
}

.comp-archive img {
	display: block;
	margin: 2em auto;
}

.more-link {
	display: block;
	width: 50%;
	margin: 1em auto;
	border: 1px solid #ff18a6;
	clear: both;
	padding: .5em;
	text-align: center;
}

.comp-closing {
	clear: both;
	display: block;
}

.competition input {
	box-sizing: border-box;
}

.competition input[type="submit"] {
	background: #ff18a6;
	border: none;
	color: #fff;
	cursor: pointer;
}

.single-competition header {
	margin: 0 0 1.5em 0;
}

.g-recaptcha {
	clear: both;
	margin-bottom: 1.5em;
}

.call-out {
	padding: 1em 1em 0 1em;
	background: #f0f0f0;
	clear: both;
	overflow: hidden;
	margin: 0 0 1em 0;
}

@media only screen and (min-width: 50.5em) {
	.comp-archive img {
		float: left;
		margin: 0 2em 0 0;
	}

	.comp-intro {
		float: left;
		width: 65%;
	}

	.comp-archive .more-link {
		float: right;
		width: auto;
	}
}

.home .latest-posts {
	background: #ec619f url("./assets/img/jwwebteam.png") no-repeat scroll 1em 1em;
	border: 5px solid #59c6f2;
	outline: 1px solid #000;
	color: #fff;
	padding: 1.5em 1.5em 1.5em 350px;
}

.home .latest-posts li:not(:last-child) {
	border-bottom: 1px dotted;
	margin: 0 0 1em 0;
}

.home .latest-posts h2 {
	color: #fff;
	margin: 0 0 .5em 0;
	font-weight: bold;
	font-size: 24px;
}

.home .latest-posts h3 {
	font-size: 18px;
	font-weight: bold;
}

.home .latest-posts .post-byline {
	text-transform: none;
	font-style: italic;
}

.home .latest-posts a {
	color: #fff;
}

.home .latest-posts .more-link {
	background: #fff;
	float: right;
	width: 25%;
	color: #3b8dbd;
}

.home .latest-posts .post-byline {
	color: #fff;
}

.reds-rules {
	background: #ec619f url("./assets/img/rulesbg.png") center 1em no-repeat;
	border: 5px solid #59c6f2;
	outline: 1px solid #000;
	color: #fff;
	width: 85%;
	margin: 0 auto;
}

.reds-rules ul {
	margin: 5em 0 0 0;
}

.reds-rules li {
	margin: 0 0 .75em 0;
	counter-increment: rules-counter;
	position: relative;
	padding: 0 0 0 1.5em;
}

.reds-rules li:before {
  content: counter(rules-counter);
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
}

.sidebar .reds-rules {
	margin-top: 2em;
}

.single .content .reds-rules {
	padding: 1.5em;
}

/*****************************************************************************************************************************************************************************

$trumps

Really specific styles that override styles set above and in parent theme.

*************************************************************************************************************************************************************************** */

#header {
	background: none;
}

#header-ads {
	float: none;
	border-bottom: 2px solid #59C6F2;
}

#header .group > .container-inner {
	background: #fff;
}

.site-title {
	float: none;
	left: 40%;
	position: absolute;
}

.site-title a img {
	max-height: 150px;
}

.team-list .post-thumbnail {
	width: 18%;
}

.team-list .post-thumbnail img {
	width: auto;
}

.team-list [itemprop="text"] {
	width: 82%;
}

.widget > ul li::before {
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: bold; 
}

#nav-header .nav li a {
	color: #fff;
}

#nav-header .nav li.current_page_item > a, #nav-header .nav li.current-menu-item > a, #nav-header .nav li.current-menu-ancestor > a, #nav-header .nav li.current-post-parent > a {
	font-weight: bold;
	background: rgba(0, 0, 0, 0.1) none repeat scroll 0 0;
}

.page-template-page-subscriptions .entry .price-box ul li, .page-template-page-subscriptions .entry .subs-text ul li {
	list-style-type: initial;
}