/*
Theme Name: Fraser Kennedy
Author: Castlegate IT
Author URI: http://www.castlegateit.co.uk/
Version: 0.1
License: MIT License
License URI: http://www.opensource.org/licenses/MIT
Copyright (c) 2015 Castlegate IT. All rights reserved.
*/

/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}
audio, canvas, progress, video {
  display: inline-block;
  vertical-align: baseline;
}
audio:not([controls]) {
  display: none;
  height: 0;
}[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */
a {
  background-color: transparent;
}
a:active, a:hover {
  outline: 0;
}

/* Text-level semantics
   ========================================================================== */
abbr[title] {
  border-bottom: 1px dotted;
}
b, strong {
  font-weight: bold;
}
dfn {
  font-style: italic;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
mark {
  background: #ff0;
  color: #000;
}
small {
  font-size: 80%;
}
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */
img {
  border: 0;
}
svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */
figure {
  margin: 1em 40px;
}
hr {
  box-sizing: content-box;
  height: 0;
}
pre {
  overflow: auto;
}
code, kbd, pre, samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */
button, input, optgroup, select, textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}
button {
  overflow: visible;
}
button, select {
  text-transform: none;
}
button, html input[type="button"], input[type="reset"], input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
button[disabled], html input[disabled] {
  cursor: default;
}
button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
input {
  line-height: normal;
}
input[type="checkbox"], input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
input[type="search"] {
  -webkit-appearance: textfield;
  box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
legend {
  border: 0;
  padding: 0;
}
textarea {
  overflow: auto;
}
optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td, th {
  padding: 0;
}

/*End Normalize
=============================*/


/* Standard Setup */
html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

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

img {
	display: block;
}

.alignleft {
    float: left;
}
.alignright {
    float: right;
}
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
img.alignright,
img.alignleft {
    display: inline;
}
img.alignright {
    margin-left: 1.5em;
}
img.alignleft {
    margin-right: 1.5em;
}

/* Grid */

.row {
    margin-left: auto;
    margin-right: auto;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Page */

.background {
	background: #f9f9f9;
    background-image: url("images/I've-Decided-by-Fraser-Kennedy-bg.jpg");
    background-repeat: no-repeat;
	background-position: top center;
    margin: 0 auto;
}

.container{
    margin: 0 auto;
    max-width: 1200px;
    overflow: auto;
	padding-top: 12px;
}

/* Typography */
body {
    color: #222222;
    font: 16px/1.5 "Proxima-Nova-Soft", sans-serif;
}
p {
    font-weight: 500;
    margin: 1.5em 0;
}
pre, code, tt {
    font: 1em/1.5 monospace;
}
h1 {
    font-size: 4em;
    font-weight: 400;
    text-transform: uppercase;
}
h2 {
    font-size: 63px;
    font-weight: 400;
    line-height: 1;
    margin: 0.5em 0 0;
    text-transform: uppercase;
}
h3 {
    font-size: 1.75em;
    font-weight: 400;
    margin-bottom: 0;
    margin-top: .2em;
}
h4 {
	color:  #4556b3;
    font-size: 1.35em;
    font-weight: 500;
    text-transform: uppercase;
}
h5 {
	color:  #4556b3;
    font-size: 1.6em;
    font-weight: 500;
	margin: 1em 0;
    text-transform: uppercase;
}
h6 {
    font-size: 14px;
    font-weight: 700;
	margin-bottom: 1em;
    text-transform: uppercase;
}
a {
    color: #283684;
	cursor: pointer;
}
a:hover {
    color: #222222;
}
textarea {
	resize: vertical;
}

mark{
    background-color: #fff;
	color: #00a2ff;
}

/* Tables */

table {
    margin-bottom:1.4em;
    width:100%;
}
th {
    font-weight: bold;
    text-transform: uppercase;
}
th, td, caption {
    padding:4px 10px 4px 5px;
}
tfoot {
    font-style:italic;
}

/* Forms */

label {
    display: block;
    line-height: 2;
}

label,
.required {
    vertical-align: top;
}

form input, form textarea, form select, form button, meter {
    border: 1px solid #ccc;
	font-family: "Proxima-Nova-Soft", sans-serif;
}

button,
select {
    padding: .5em 1em;
    cursor: pointer;
}

select {
	background-color:  #f8f8f8;
	border: 1px solid #e3e3e3;
	border-radius: 3px;
	box-shadow: 0 1px 3px 0 rgba(47, 55, 68, 0.09);
	font-weight: 700;
	min-width: 10em;
}

input,
textarea {
    padding: 5px 10px;
    width: 60%;
}

button:focus,
select:focus,
input:focus,
textarea:focus {
    outline: 2px solid #00a2ff;
}

input[type=radio],
input[type=checkbox] {
    width: auto;
}

/* Spritesheet */

.ss,
.ssb:before,
.ssa:after {
    background-image: url("images/spritesheet.png");
}

/* MAIN */

.main {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	margin-bottom: 20px;
	padding-bottom: 30px;
}

.modal {
	cursor: pointer;
}

.cover img,
.blurb,
.send-review {
	margin: 0 auto;
}

.cover img {
    max-width: 100%;
}

.cover img:hover {
    transform: rotate(-3deg);
    transition: transform 0.3s;
}

.blurb,
.send-review {
	background-color: #ffffff;
	border: 1px solid #e9e9e9;
	box-shadow: 0 2px 4px 0 rgba(47, 55, 68, 0.09);
	color: #222222;
	display: block;
    font-weight: 700;
	line-height: 1;
	padding: 1.5em;
    text-align: right;
	text-decoration: none;
    text-transform: uppercase;
	width: 214px;
}

.blurb:hover,
.send-review:hover {
	background: #00a2ff;
	color: #fff;
}

.blurb:before,
.send-review:before {
	content: "";
	display: table;
	height: 15px;
	position: absolute;
	width: 15px;
}

.blurb:before {
	background: url('images/read.png');
}

.send-review:before {
	background: url('images/send.png');
}

.blurb:hover:before,
.send-review:hover:before {
	content: "";
	display: table;
	height: 15px;
	position: absolute;
    transform: rotate(360deg);
    transition: transform 0.5s;
	width: 15px;
}

.blurb:hover:before {
	background: url('images/read-w.png');
}

.send-review:hover:before {
	background: url('images/send-w.png');
}

.send-review {
    margin-bottom: 2em;
	width: 224px;
}

.send-review:hover {
	border: 1px solid #00a2ff;
}

.blurb-popup {
	background: #f8f8f8;
	box-shadow: 0 5px 29px 0 #000000;
	margin: 20px auto;
	max-width: 740px;
	padding: 40px;
	position: relative;
	width: auto;
}

.blurb-popup .blurb-title {
	font-size: 45px;
	margin: 0;
	text-transform: uppercase;
}

.blurb-popup p:nth-of-type(2) {
	margin: 0;
}

.blurb-popup p {
	margin: 1em 0;
}

.share {
	text-align: center;
}

.share .addthis_sharing_toolbox a {
	margin: 0 0.5em;
}

.byline {
	color: #6d6d6d;
	font-size: 18px;
    margin: 0;
}

.author {
	color: #222;
}

.main-links a {
	background: rgba(0, 0, 0, 0.25);
    border: 2px solid #fff;
	border-radius: 100px;
	box-shadow: 0 1px 0 0 #2f3744;
    color: #fff;
    display: block;
	float: right;
    font-weight: 500;
	line-height: 1;
	margin-bottom: 50px;
    padding: 0.75em 1.5em;
    text-align: center;
	text-decoration: none;
	text-shadow: 0 1px 0 #2f3744;
    text-transform: uppercase;
}

.main-links a:hover {
    background-color: #d97a1d;
    border-color: #d97a1d;
	box-shadow: 0;
}

.main-links .fb {
	float: left;
    padding: 0.75em 1.5em 0.75em 2em;
	position: relative
}

.main-links .fb:before {
    background: url('images/facebook.png');
    content: "";
    display: block;
    height: 17px;
	left: 1em;
    position: absolute;
    width: 9px;
}

.main-links .fb:hover {
    background-color: #3b5998;
    border-color: #3b5998;
}

.main-links .revs {
	float: left;	
    margin-left: 12px;
}

.buy {
	background: #fff;
	border: 1px solid #e9e9e9;
	border-radius: 2px;
	box-shadow: 0 2px 4px 0 rgba(47, 55, 68, 0.09);
	font-size: 14px;
    padding: 25px 30px;
}

.price {
	color: #000;
	font-size: 3em;
	font-weight: 700;
	line-height: 1;
}

.payment-types {
    display: inline;
    max-width: 100%;
}

.basket {
	border-bottom: 1px solid rgba(0, 0, 0, 0.14);
    padding: 0.5em 0 2em;
}

.basket label {
	font-weight: 700;
	margin-top: 10px;
}

.buy-now {
	background-color: #64bc68;
    border: 2px solid #fff;
	border-radius: 100px;
    color: #fff;
    display: block;
	font-size: 2.4em;
    font-weight: 700;
    margin-top: 0.75em;
    padding: 14px;
    text-align: center;
	text-shadow: 0 1px 0 #2a682d;
    text-transform: uppercase;
	width: 100%;
}

.buy-now:hover {
	background: #5dab60;
}

.paypal {
	margin: 1em auto;
}

.ebook-links .ebooks-cta {
	margin-bottom: 0.5em;
	text-align: center;
}

.ebook-links a {
    border: 2px solid #00a2ff;
	border-radius: 100px;
    color: #222222;
    display: block;
	float: left;
    font-weight: 500;
	line-height: 1;
	margin: 10px 2% 10px 2%;
    padding: 0.75em 1.5em;
    text-align: center;
	text-decoration: none;
    text-transform: uppercase;
	width: 46%;
}

.ebook-links a:hover {
    background-color: #00a2ff;
    border-color: #00a2ff;
	box-shadow: 0;
	color: #fff
}

.postage {
	background: #f2faff;
	border: 1px solid #d5e7f3;
	border-radius: 3px;
	padding: 0 1em;
}

.postage p {
	margin: 0;
	padding: 1.5em 0;
}

.postage p:not(:last-of-type) {
	border-bottom: 1px solid #d5e7f3;
}


/* INFO */

.info {
	margin-bottom: 60px;
}

.info .about {
	text-align: right;
}

.info .about li {
	list-style: none;
	margin: 1.5em 0;
}

.info .about a {
	color: #222222;
	font-weight: 500;
}

.info .about a:hover,
.info .about .active {
	color:  #263583;
}

.info .about .active {
	font-weight: 700;
	text-decoration: underline;
}

.bbbr {
	background-color: #fff;
	border: 1px solid #e0e0e0;
	padding: 20px;
}

.bbbr p {
	margin: 0;
}

.bbbr a {
	color: #263583;
}

.bbbr a:hover {
	color: #222222;
}

.info .book-info {
	border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.info .book-info .tab-content {
	display: none;
}

.info .book-info .active {
	display: block;
}

.info blockquote {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	font-weight: 500;
	margin: 0;
	padding: 28px;
	position: relative;
}

.info blockquote:first-of-type {
	padding-top: 0;
}

.info blockquote:first-of-type:before,
.info blockquote:first-of-type:after {
	top: 0;
}

.info blockquote:before,
.info blockquote:after {
	color: rgba(0, 0, 0, 0.35);
	font-size: 42px;
    line-height: 42px;
	position: absolute;
    top: 28px;
}

.info blockquote:before {
	content: "“";
    left: 0;
}

.info blockquote:after {
	content: "”";
	right: 0;
}

.info cite {
	color:  #636363;
    display: block;
	font-style: normal;
	margin-top: 1em;
    text-align: right;
}

.tab-content iframe {
    max-width: 100%;
}


/* FOOTER */

.footer {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	font-weight: 500;
    min-height: 100px;
    padding: 20px 0;
}

.footer,
.footer a {
    color: #222222;
	text-decoration: none;
}

.footer-info {
	text-align: right;
}

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

	.pad-4l{padding-left:6.77966%;}.pad-4r{padding-right:6.77966%;}
	
}

@media only screen and (max-width: 1240px) {
    
    .container {
        padding: 0 5%;
    }
	
	.main-links a {
		font-size: 14px;
	}
		
	.basket .alignleft,
	.basket .alignright	{
		float: none;
	}
	
	.basket select {
		width: 100%;
	}
}


@media only screen and (max-width: 1200px) {
	
	.main-links .fb {
		padding: 0.75em 1.5em;
	}
	
	.main-links .fb:before {
		background-image: none;
		display: none;
	}
	
	.price,
	.payment-types {
		float: none;
	}
	
	.payment-types.alignright {
		display: block;
		margin-left: 0;
		margin-top: 5px;
	}
	
}

@media only screen and (min-width: 1200px) {
	
	/* Grid */
	
	[class*=col-]{float:left;margin-left:1.6949%;padding:0;}.right-margin,[class*=col-]:first-child{margin-left:0;}[class*=col-]:last-child{float:right}.col-1-2{width:48.30508%;}.col-1{width:5.08475%;}.col-2{width:11.86441%;}.col-3{width:18.64407%;}.col-4{width:25.42373%;}.col-5{width:32.20339%;}.col-6{width:38.98305%;}.col-7{width:45.76271%;}.col-8{width:52.54237%;}.col-9{width:59.32203%;}.col-10{width:66.10169%;}.col-11{width:72.88136%;}.col-12{width:79.66102%;}.col-13{width:86.44068%;}.col-14{width:93.22034%;}.pad-0l{padding-left:0}.pad-0r{padding-right:0}.pad-1l{padding-left:1.6949%}.pad-1r{padding-right:1.6949%}.pad-2l{padding-left:3.38983%;}.pad-2r{padding-right:3.38983%;}.pad-3l{padding-left:5.08475%;}.pad-3r{padding-right:5.08475%;}.pad-4l{padding-left:5.08475%;}.pad-4r{padding-right:5.08475%;}.right-margin{margin-right:1.6949%;}.half{float:left;width:50%;}.quarter{float:left;width:25%;}.third{float:left;width:33.33333%}

    .switch {
        float: right;
        margin-left: 1.6949% !important;
    }
    
    .switch + div {
        margin-left: 0;
    }
}

@media only screen and (max-width: 1199px) {
	
	.main-text,
	.buy {
		width: 45%;
	}
	
	.main-text {
		float: left;
	}
	
	.main-links a {
		background: #fff;
		border: 1px solid #e9e9e9;
		box-shadow: 0 2px 4px 0 rgba(47, 55, 68, 0.09);
		color: #222222;
		font-size: 16px;
		float: left;
		margin-left: 12px;
	}
	
	.main-links a:hover {
		color: #fff;
	}
	
	.main-links  .fb {
		margin-left: 0;
	}
	
	.buy {
		float: right;
		margin-bottom: 40px;
		margin-left: 10%;
		margin-top: 2.3em;
	}
	
	.share {
		clear: both;
	}
	
	.info .about {
		text-align: left;
	}
	
	.info .about ul {
		padding-left: 0;
	}
	
	.info .about li {
		float: left;
		margin: 0 0 0.5em;
	}
	
	.info .about li a {
		padding: 0.5em;
	}
	
	.info .book-info {
		border-left: 0;
	}
	
	.footer,
	.footer-info {
		text-align: center;
	}
	
	.footer .payment-types {
		margin-bottom: 0.5em;
	}
	
}


@media only screen and (max-width: 800px) {
	
	.main-text,
	.buy {
		width: 100%;
	}
	
	.main-text {
		float: none;
	}
	
	.basket label {
		margin: 0.5em 0;
	}
	
	.blurb-popup {
		margin: 5%;
	}
	
	.buy {
		margin-top: 0;
	}
	
	.buy .price {
		float: left;
	}
	
	.buy .payment-types {
		float: right;
	}
	
}

@media only screen and (max-width: 500px) {
	
	.main-links {
		margin-bottom: 34px;
	}
	
	.main-links a {
		margin-bottom: 16px;
	}
	
	
	.main-links a:last-of-type {
		margin-left: 0;
	}
}

@media only screen and (max-width: 445px) {
	
	.background {
		background-size: 340%;
	}
	
	
	
	.buy .price,
	.buy .payment-types {
		float: none;
	}
	
}

@media only screen and (max-width: 400px) {

	h2 {
		font-size: 52px;
	}
	
	.buy-now {
		font-size: 1.5em;
	}
	
	.blurb-popup .blurb-title {
		font-size: 36px;
	}
}

@media only screen and (max-width: 350px) {
	
	.main-links a,
	.main-links .fb,
	.main-links .revs {
		display: block;
		float: none;
		margin-bottom: 20px;
		margin-left: 0;
	}
	
	.bbbr img {
		display: block;
		float: none;
		margin: 0 auto 10px;
	}
}

@media only screen and (max-width: 300px) {
	
	h2 {
		font-size: 45px;
	}
	
	.buy-now {
		font-size: 1.2em;
	}
	
	.share .addthis_sharing_toolbox a {
		margin: 0 0.2em;
	}
}
	

@media only screen and (max-width: 260px) {
	
	.blurb,
	.send-review {
		padding: 1em;
		max-width: 214px;
		width: auto;
	}
	
}
