/*
 Theme Name: Scott Cole Web Design and Development
 Author: Scott Cole
 Description: A custom theme for my portfolio website, a redesign in November 2018
 Version:  1.0
 Tags: portfolio
 */

/* ********************* */
/* html and body styles */
/* ********************* */

@-ms-viewport {
  width: device-width;
}

html {
  box-sizing: border-box;
  -ms-overflow-style: scrollbar;
}

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

html,
body {
	margin: 0;
	padding: 0;
}

/* ********************* */
/* site-wide fonts and lists and things */
/* ********************* */
h1,
.h1,
h1 a,
.h1 a,
h2,
.h2,
h2 a,
.h2 a,
h3,
.h3,
h3 a,
.h3 a,
h4,
.h4,
h4 a,
.h4 a,
h5,
.h5,
h5 a,
.h5 a,
h6,
.h6
h6 a,
.h6 a {
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	line-height: 1.125em;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
	
}

h1,
h1 a,
.h1,
.h1 a {
	font-size: 2.5rem;
}

h2,
h2 a,
.h2,
.h2 a {
	font-size: 2rem;
}

h3,
h3 a,
.h3,
.h3 a {
	font-size: 1.75rem;
}

h4,
h4 a,
.h4,
.h4 a {
	font-size: 1.5rem;
}

h5,
h5 a,
.h5,
.h5 a {
	font-size: 1.25rem;
}

h6,
h6 a,
.h6,
.h6 a {
	font-size: 1rem;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
	margin-top: 1.618em;
	margin-bottom: 0.618em;
}


p,
ul,
ol,
a {
	font-family: 'helvetica', sans-serif;
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.5em;
}

a {
	text-decoration: none;
}

blockquote,
.callout-text {
	font-family: 'Roboto', sans-serif;
	font-size: 1.25rem;
	line-height: 1.25em;
	font-weight: 400;
}

.callout-list,
.callout-list-homepage-value {
	padding-left: 0;
}

.callout-list li,
.callout-list-homepage-value li {
	position: relative;
	list-style-type: none;
	margin-bottom: 1rem;
}

.callout-list li::before,
.callout-list-homepage-value li::before {
	position: absolute;
	top: 0;
	left: 0;
}

.callout-list li {
	padding-left: 2rem;
}

.callout-list li::before {
	content: '';
	width: 20px;
	height: 20px;
	background-image: url('https://www.scottcole.net/wp-content/themes/scottcolethemenov2018/assets/img/icons/callout-list-tick-blue.svg');
}

.callout-list-homepage-value li {
	padding-left: 3rem;
}

.callout-list-homepage-value--paintroller::before {
	content: '';
	width: 42px;
	height: 42px;
	background-image: url('https://www.scottcole.net/wp-content/themes/scottcolethemenov2018/assets/img/icons/paint-roller-icon.svg');
	background-size: contain;
	background-repeat: no-repeat;
}

.callout-list-homepage-value--clock::before {
	content: '';
	width: 42px;
	height: 42px;
	background-image: url('https://www.scottcole.net/wp-content/themes/scottcolethemenov2018/assets/img/icons/clock-icon.svg');
	background-size: contain;
	background-repeat: no-repeat;
}

.callout-list-homepage-value--clipboard::before {
	content: '';
	width: 42px;
	height: 42px;
	background-image: url('https://www.scottcole.net/wp-content/themes/scottcolethemenov2018/assets/img/icons/clipboard-list-icon.svg');
	background-size: contain;
	background-repeat: no-repeat;
}

.meta-info {
	font-size: 0.8em;
	font-style: italic;
}


/* ********************* */
/* site-wide colors */
/* ********************* */
body {
	background-color: rgba(247, 244, 242, 1);
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6,
p,
ul,
ol {
	color: rgba(38, 22, 29, 1);
}

a {
	color: rgba(25, 176, 207, 1);
	transition: .2s all;
}

a:hover:not(.button-primary):not(button-secondary):not(.form-submit .submit) {
	color: rgba(21, 162, 191, 1);
	transition: .2s all;
}

/* ********************* */
/* helper classes, things like shadows, rounded corners and custom margins and padding, and adding colors via extra classes */
/* ********************* */
.bg-white {
	background-color: #fff;
}

.bg-warm-grey {
	background-color: rgba(247, 244, 242, 1);
}

.text-white,
.text-white * {
	color: #fff;
}

.text-bluegrey,
.text-bluegrey * {
	color: #f4f6f7;
}

.text-center,
.text-center * {
	text-align: center;
}

.subtle-shadow {
	box-shadow: 0px 2px 4px rgba(0,0,0,0.18);
}

.bigger-shadow {
	box-shadow: 0px 20px 40px 25px rgba(0,0,0,0.2);
}

.border-radius-4 {
	border-radius: 4px;
}

.width-100 {
	width: 100%;
	height: auto;
}

.max-width-1000 {
	max-width: 1000px;
}

.b-trans-1 {
	border: 1rem solid transparent;
}

.p-0 {
	padding: 0;
}

.p-1,
.pt-1,
.py-1 {
	padding-top: 1rem;
}

.p-2,
.pt-2,
.py-2 {
	padding-top: 1.625rem;
}

.p-3,
.pt-3,
.py-3 {
	padding-top: 2.625rem;
}

.p-4,
.pt-4,
.py-4 {
	padding-top: 4.25rem;
}

.p-5,
.pt-5,
.py-5 {
	padding-top: 6.875rem;
}

.p-6,
.pt-6,
.py-6 {
	padding-top: 11.0625rem;
}

.p-1,
.pb-1,
.py-1 {
	padding-bottom: 1rem;
}

.p-2,
.pb-2,
.py-2 {
	padding-bottom: 1.625rem;
}

.p-3,
.pb-3,
.py-3 {
	padding-bottom: 2.625rem;
}

.p-4,
.pb-4,
.py-4 {
	padding-bottom: 4.25rem;
}

.p-5,
.pb-5,
.py-5 {
	padding-bottom: 6.875rem;
}

.p-6,
.pb-6,
.py-6 {
	padding-bottom: 11.0625rem;
}

.p-1,
.pl-1,
.px-1 {
	padding-left: 1rem;
}

.p-2,
.pl-2,
.px-2 {
	padding-left: 1.625rem;
}

.p-3,
.pl-3,
.px-3 {
	padding-left: 2.625rem;
}

.p-4,
.pl-4,
.px-4 {
	padding-left: 4.25rem;
}

.p-5,
.pl-5,
.px-5 {
	padding-left: 6.875rem;
}

.p-6,
.pl-6,
.px-6 {
	padding-left: 11.0625rem;
}

.p-1,
.pr-1,
.px-1 {
	padding-right: 1rem;
}

.p-2,
.pr-2,
.px-2 {
	padding-right: 1.625rem;
}

.p-3,
.pr-3,
.px-3 {
	padding-right: 2.625rem;
}

.p-4,
.pr-4,
.px-4 {
	padding-right: 4.25rem;
}

.p-5,
.pr-5,
.px-5 {
	padding-right: 6.875rem;
}

.p-6,
.pr-6,
.px-6 {
	padding-right: 11.0625rem;
}

.m-0,
.mt-0,
.my-0 {
	margin-top: 0;
}

.m-0,
.mb-0,
.my-0 {
	margin-bottom: 0;
}

.m-1,
.mt-1,
.my-1 {
	margin-top: 1rem;
}

.m-2,
.mt-2,
.my-2 {
	margin-top: 1.625rem;
}

.m-3,
.mt-3,
.my-3 {
	margin-top: 2.625rem;
}

.m-4,
.mt-4,
.my-4 {
	margin-top: 4.25rem;
}

.m-5,
.mt-5,
.my-5 {
	margin-top: 6.875rem;
}

.m-6,
.mt-6,
.my-6 {
	margin-top: 11.0625rem;
}

.m-1,
.mb-1,
.my-1 {
	margin-bottom: 1rem;
}

.m-2,
.mb-2,
.my-2 {
	margin-bottom: 1.625rem;
}

.m-3,
.mb-3,
.my-3 {
	margin-bottom: 2.625rem;
}

.m-4,
.mb-4,
.my-4 {
	margin-bottom: 4.25rem;
}

.m-5,
.mb-5,
.my-5 {
	margin-bottom: 6.875rem;
}

.m-6,
.mb-6,
.my-6 {
	margin-bottom: 11.0625rem;
}

.m-1,
.ml-1,
.mx-1 {
	margin-left: 1rem;
}

.m-2,
.ml-2,
.mx-2 {
	padding-left: 1.625rem;
}

.m-3,
.ml-3,
.mx-3 {
	margin-left: 2.625rem;
}

.m-4,
.ml-4,
.mx-4 {
	margin-left: 4.25rem;
}

.m-5,
.ml-5,
.mx-5 {
	margin-left: 6.875rem;
}

.m-6,
.ml-6,
.mx-6 {
	margin-left: 11.0625rem;
}

.m-1,
.mr-1,
.mx-1 {
	margin-right: 1rem;
}

.m-2,
.mr-2,
.mx-2 {
	margin-right: 1.625rem;
}

.m-3,
.mr-3,
.mx-3 {
	margin-right: 2.625rem;
}

.m-4,
.mr-4,
.mx-4 {
	margin-right: 4.25rem;
}

.m-5,
.mr-5,
.mx-5 {
	margin-right: 6.875rem;
}

.m-6,
.mr-6,
.mx-6 {
	margin-right: 11.0625rem;
}

/* ********************* */
/* buttons and forms things */
/* ********************* */
.button-primary,
.button-secondary,
.form-submit .submit,
.wpcf7-submit {
	display: inline-block;
	box-sizing: border-box;
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	font-size: 1.25rem;
	padding: .75rem 1.625rem .75rem 1.625rem;
	border: 4px solid rgba(25, 176, 207, 1);
	transition: all .2s;
}

.button-primary,
.form-submit .submit,
.wpcf7-submit {
	background-color: rgba(25, 176, 207, 1);
	color: #fff;
}

.button-secondary {
	background-color: rgba(21, 162, 191, 0)
	color: rgba(25, 176, 207, 1);
}

.button-secondary:visited {
	color: rgba(25, 176, 207, 1);
}

.button-primary:hover,
.form-submit .submit:hover,
.wpcf7-submit:hover {
	border: 4px solid rgba(21, 162, 191, 1);
	background-color: rgba(21, 162, 191, 1);
	text-decoration: none;
	color: #fff;
	transition: all .2s;
}

.button-secondary:hover {
	border: 4px solid rgba(21, 162, 191, 1);
	background-color: rgba(21, 162, 191, 1);
	text-decoration: none;
	color: #fff;
	transition: all .2s;
}

.link-with-arrow {
	position: relative;
	color: rgba(25, 176, 207, 1);
	transition: all .2s;
}

.link-with-arrow:hover {
	color: rgba(21, 162, 191, 1);
	transition: all .2s;
}

.link-with-arrow:hover::after {
	transform: translateX(10px);
	transition: all .2s;
}

.link-with-arrow::after {
	content: url('https://www.scottcole.net/wp-content/themes/scottcolethemenov2018/assets/img/icons/link-with-arrow.svg');
	position: absolute;
	right: -22px;
	top: 0px;
	transition: all .2s;
}

.button-primary-cta {
	border: 4px solid rgba(255, 47, 25, 1);
	background-color: rgba(255, 47, 25, 1);
}

/* form stuff */
.form-field,
.comment-form-comment #comment,
.comment-form-author #author,
.comment-form-email #email,
.comment-form-url #url,
.wpcf7-text,
.wpcf7-textarea {
	display: block;
	outline: none;
	border-radius: 4px;
	box-shadow: none;
	border: none;
	background-color: #fff;
	padding: 1rem 1.618rem 1rem 1.618rem;
}

.wpcf7-text,
.wpcf7-textarea {
	background-color: #f7f4f2;
}

.form-field:focus,
.comment-form-comment #comment:focus,
.comment-form-author #author:focus,
.comment-form-email #email:focus,
.comment-form-url #url:focus,
.wpcf7-text:focus,
.wpcf7-textarea:focus {
	outline: inherit;
}

.comment-form-comment #comment,
.comment-form-author #author,
.comment-form-email #email,
.comment-form-url #url,
.wpcf7-text,
.wpcf7-textarea {
	width: 75%;
}

.comment-form-comment #comment,
.wpcf7-textarea {
	resize: none;
}

input[type=submit] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

/* ********************* */
/* header section, including main nav menu */
/* ********************* */
header {
	width: 100%;
	background-color: rgba(86, 52, 68, 1);
	border-top: 4px solid rgba(25, 176, 207, 1);
}

#menu-main-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	list-style-type: none;
	padding-left: 0;
	margin: 0;
}

#menu-main-menu li a,
.header-logo a {
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	color: #fff;
}

#menu-main-menu li {
	margin-right: 1.75rem;
	margin-top: .25rem;
	margin-bottom: .25rem;
}

#menu-main-menu li a {
	font-size: 1.125rem;
	transition: all .2s;
}

#menu-main-menu li a:hover {
	color: rgba(25, 176, 207, 1);
	transition: all .2s;
}

/* ********************* */
/* footer section */
/* ********************* */
footer {
	display: flex;
	width: 100%;
	background-color: #26161d;
}

footer * {
	color: #fff;
	transition: all .2s;
}

footer * a {
	color: rgba(25, 176, 207, 1);
	text-decoration: underline;
}

footer * a:hover {
	color: rgba(21, 162, 191, 1);
	text-decoration: none;
	transition: all .2s;
}

footer * a,
footer * p {
	font-size: .875rem;
}

#menu-footer-menu {
	list-style-type: none;
	padding-left: 1rem;
}

.footer-contact-social p,
.footer-contact-social a {
	padding-left: 1rem;
}

.footer-contact-social--icons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.footer-contact-social--icons a {
	display: block;
	width: 2rem;
	height: 2rem;
	margin-top: 2rem;
	margin-right: 1rem;
}

.footer-contact-social--icons a img {
	width: 2rem;
	height: 2rem;
}

.footer-review-widget-area {
	margin-top: 2rem;
}

/* ********************* */
/* homepage specific styling */
/* ********************* */
.sc-home-hero {
	background:
		linear-gradient( to right top, 
			rgba(38, 22, 29, .95), 
			rgba(17, 214, 255, 0.5)),
		url('https://www.scottcole.net/wp-content/themes/scottcolethemenov2018/assets/img/climbing-mountain.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

.sc-home-who-for {
	margin-top: -4.25rem;
}

.recent-review-home {
	margin-top: -2.625rem;
}

.recent-review-home--inner-wrap {
	position: relative;
}

.recent-review-home--quotemark-1,
.recent-review-home--quotemark-2 {
	position: absolute;
	display: block;
	width: 20%;
	max-width: 80px;
	height: auto;
	opacity: 0.15;
}

.recent-review-home--quotemark-2 {
	right: 5%;
	bottom: 5%;
}

.big-tick {
	display: block;
	width: 20%;
	height: auto;
	margin: 0 auto;
}

@media (min-width: 768px) {
	.big-tick {
		width: 50%;
	}
}

/* ********************* */
/* Portfolio styling, including 'folio examples on the homepage */
/* ********************* */
/* homepage 'folio stuff */
.homepage-folio { /* approx golden ratio padding hack */
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 50px;
	padding-bottom: 56.25%;
	padding-left: 0;
	padding-right: 0;
}

.homepage-folio--info-wrap {
	position: absolute;
	width: 100%;
	bottom: 0;
	left: 0;
}

.homepage-folio--project-1 {
	background:
		linear-gradient( to top,
			rgba(38, 22, 29, .9),
			rgba(38, 22, 29, 0)),
		url('https://www.scottcole.net/wp-content/themes/scottcolethemenov2018/assets/img/blurred-london.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* Actual portfolio page */
.portfolio {
	display: flex;
	width: 95%;
	max-width: 1300px;
	margin: 0 auto;
	margin-bottom: 80%;
	flex-wrap: wrap;
}

.portfolio--content-wrap,
.portfolio--img-wrap {
	position: relative;
	width: 100%;
}

.portfolio--img-wrap {
	display: flex;
	align-items: flex-start;
}

.portfolio--content-list {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	padding-left: 0;
}

.portfolio--content-list li {
	position: relative;
	padding-left: 2.6rem;
}

.portfolio--content-list li::before {
	position: absolute;
	left: 0.9375rem;
	top: 1px;
	content: "";
	width: 1.25rem;
	height: 1.25rem;
}

.portfolio--content-list-website::before {
	background-image: url('https://www.scottcole.net/wp-content/themes/scottcolethemenov2018/assets/img/icons/portfolio--content-list-website.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.portfolio--content-list-bespoke::before {
	background-image: url('https://www.scottcole.net/wp-content/themes/scottcolethemenov2018/assets/img/icons/portfolio-content-list-bespoke.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.portfolio--content-list-wordpress::before {
	background-image: url('https://www.scottcole.net/wp-content/themes/scottcolethemenov2018/assets/img/icons/portfolio--content-list-wordpress.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.portfolio--content-list-customisation::before {
	background-image: url('https://www.scottcole.net/wp-content/themes/scottcolethemenov2018/assets/img/icons/portfolio--content-list-customisation.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.portfolio--content-list-sideproject::before {
	background-image: url('https://www.scottcole.net/wp-content/themes/scottcolethemenov2018/assets/img/icons/portfolio--content-list-sideproject.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.portfolio--img-secondary {
	display: block;
	width: 60%;
	height: auto;
}

.portfolio--img-main {
	position: absolute;
	max-width: 60%;
	right: 10%;
	top: 10%;
}

@media (min-width: 800px) {
	.portfolio {
		margin-bottom: 500px;
	}
	
	.portfolio:nth-of-type(2n) {
		flex-direction: row-reverse;
	}
	
	.portfolio--content-wrap {
		width: 38%;
		padding-right: 2.625rem;
		padding-left: 1rem;
	}
	
	.portfolio--img-wrap {
		width: 62%;
		padding-left: 1.625rem;
		padding-right: 1.625rem;
	}
	
	.portfolio--img-wrap-reverse {
		justify-content: flex-end;
	}
	
	.portfolio--img-secondary {
		width: 60%;
	}

	.portfolio--img-main {
		position: absolute;
		max-width: 60%;
		right: 10%;
		top: 10%;
	}
	
	.portfolio--img-main-reverse {
		right: initial;
		left: 10%; 
		top: 10%;
	}
}

/* casestudy */
.casestudy-hero {
	width: 100%;
}

.casestudy-summary {
	position: relative;
}

.casestudy-summary::after {
	content: "";
	position: absolute;
	bottom: 0;
	right: 50%;
	transform: translate(50%, 0);
	height: 1px;
	width: 80%;
	background-color: rgba(38, 22, 29, 1);
}

@media (min-width: 900px) {
	.casestudy-summary::after {
		right: 0;
		bottom: 50%;
		transform: translate(0, 50%);
		width: 1px;
		height: 80%;
	}
}

.casestudy-main-content img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.casestudy-contact-me {
	width: 100%;
}

/* ********************* */
/* work with me template styling */
/* ********************* */
.workwithme-hero {
	width: 100%;
}

.workwithme-step--wrap {
	display: flex;
	width: 100%;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: wrap;
}

.workwithme-step--icon-wrap {
	width: 20%;
	max-width: 100px;
}

.workwithme-step--icon-wrap img {
	display: block;
	width: 100%;
	height: auto;
}

.workwithme-step--content-wrap {
	width: 80%;
}

/* homepage work with me process stuff */


/* ********************* */
/* blog roll, blog page and comments wrap styling */
/* ********************* */
/* Form styling, including for the comments form, is handled in the "buttons and forms" section */
.blog-roll {
	display: flex;
	width: 95%;
	max-width: 1300px;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
}

.blog-roll--item-wrap {
	width: 100%;
	padding: 1rem;
}

.blog-roll--item {
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 50px;
	padding-bottom: 100%;
	padding-left: 0;
	padding-right: 0;
}

.blog-roll--item-content-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 0 1rem 1rem 1rem;
}

.blog-roll--item-content-wrap > a {
	font-size: 0.8em;
	font-style: italic;
}

.blog-roll--item-content-wrap p {
	color: #fff;
}

@media (min-width: 700px) {
	.blog-roll--item-wrap {
		width: 50%;
	}
}

@media (min-width: 1200px) {
	.blog-roll--item {
		padding-bottom: 56.25%;
	}
	.blog-roll--item-wrap {
		
	}
}

.blog-post--title {
	position: relative;
}

.blog-post--title::after {
	content: "";
	width: 50%;
	height: 4px;
	background-color: rgba(25, 176, 207, 1);
	position: absolute;
	left: 0;
	bottom: 0;
}

.blog-post img {
	display: block;
	max-width: 100%;
	height: auto;
}

.blog-post--author-box > a {
	font-size: 0.8em;
	font-style: italic;
}

.blog-post--author-box img {
	border-radius: 50%;
	border: 8px solid rgba(247, 244, 242, 1);
	margin-top: calc(-2rem + -72px);
}

.comments-wrap {
	display: flex;
	width: 95%;
	max-width: 1300px;
	margin: 0 auto;
	margin-bottom: 4.25rem;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;
}

.comments-wrap h3#comments {
	width: 100%;
}

.comments-wrap .commentlist,
.comments-wrap .comment-respond {
	width: 100%;
	padding: 1rem;
}

@media (min-width: 900px) {
	.comments-wrap .commentlist,
	.comments-wrap .comment-respond {
		width: 50%;
	}
}


/* ********************* */
/* template part styling */
/* ********************* */