/*
Theme name: Alexandrewsdesign
Theme URI: http://alexandrewsdesign.co.uk
Version: 1.0
*/


/*
 * Derived from einaros's Sons of Obsidian theme at
 * http://studiostyl.es/schemes/son-of-obsidian by
 * Alex Ford of CodeTunnel:
 * http://CodeTunnel.com/blog/post/71/google-code-prettify-obsidian-theme
 */

.str {
	color: #EC7600;
}
.kwd {
	color: #93C763;
}
.com {
	color: #66747B;
}
.typ {
	color: #678CB1;
}
.lit {
	color: #FACD22;
}
.pun {
	color: #F1F2F3;
}
.pln {
	color: #F1F2F3;
}
.tag {
	color: #8AC763;
}
.atn {
	color: #E0E2E4;
}
.atv {
	color: #EC7600;
}
.dec {
	color: purple;
}
::marker {
color:#e3e3e3;
}
pre.prettyprint {
	border: 1px solid #888;
	border-radius:5px;
	padding: 35px;
}
ol.linenums {
	margin-top: 0;
	margin-bottom: 0;
}
.prettyprint {
	background: #000;
!important
}
li.L0, li.L1, li.L2, li.L3, li.L4, li.L5, li.L6, li.L7, li.L8, li.L9 {
	color: #555;
!important  list-style-type: decimal;
}
li.L1, li.L3, li.L5, li.L7, li.L9 {
	background: #111;
!important
}

@media print {
.str {
	color: #060;
}
.kwd {
	color: #006;
	font-weight: bold;
}
.com {
	color: #600;
	font-style: italic;
}
.typ {
	color: #404;
	font-weight: bold;
}
.lit {
	color: #044;
}
.pun {
	color: #440;
}
.pln {
	color: #000;
}
.tag {
	color: #006;
	font-weight: bold;
}
.atn {
	color: #404;
}
.atv {
	color: #060;
}
}
body, html {
	margin: 0;
	font-family: 'Lato', sans-serif;
	background: #E8E9E7;
	height: 100%;
	color: #878787;
    font-size: 17px;
}
html {
	overflow-y: scroll;
}
::selection {
	background: #ABD5B6;
	color: #2E2E2E; /* WebKit/Blink Browsers */
}

::-moz-selection {
 background: #ABD5B6;
 color:#2E2E2E; /* Gecko Browsers */
}
::-webkit-selection {
 background: #ABD5B6;
 color:#2E2E2E; /* Gecko Browsers */
}
::-ms-selection {
 background: #ABD5B6;
 color:#2E2E2E; /* Gecko Browsers */
}

h1, h2, h3, h4 {
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	color: #666666;
}
h1 {
  font-size: 2rem;
}
h1:after {
	content: "";
	display: block;
	height: 1px;
	width: 30px;
	background-color: #666666;
	margin-right: auto;
	margin-left: auto;
	margin-top: 10px;
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1.3rem;
}
h4 {
  font-size: 1rem;
font-weight: 700;
}
p {
	font-size: 1rem;
}
#PageHeader {
        text-align:center;
}
#PageHeader h2:after {
	content: "";
	display: block;
	height: 1px;
	width: 30px;
	background-color: #666666;
	margin-right: auto;
	margin-left: auto;
	margin-top: 10px;
}
#PageHeader h2 {
font-family: 'Lora', serif;
font-size: 2rem;
font-weight: 600;
}
#contentwrapper {
	opacity: 0;  /* make things invisible upon start */
	-webkit-animation: fadeIn ease-in 1;  /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */
	-moz-animation: fadeIn ease-in 1;
	animation: fadeIn ease-in 1;
	-webkit-animation-fill-mode: forwards;  /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
	-moz-animation-fill-mode: forwards;
	animation-fill-mode: forwards;
	-webkit-animation-duration: 0.5s;
	-moz-animation-duration: 0.5s;
	animation-duration: 0.5s;
}
#main {
	margin: 0;
	padding: 25px;
	padding-bottom: 0;
	display: block;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 0;
	width: 95%;
	max-width: 1300px;
	background-color: #FCFCFC;
	min-height: 100%;
	-webkit-box-shadow: 0px 0px 7px rgba(0,0,0,0.19);
	box-shadow: 0px 0px 7px rgba(0,0,0,0.19);
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}
/*header*/

#header {
	margin: 0;
}
#socialwrapper {
	margin-bottom: -35px;
	margin-bottom: 10px;
	text-align: center;
}
.icon {
	display: inline-block;
	vertical-align: central;
	height: 30px;
	background-color: #F4F4F4;
	border-radius: 20px;
}
.icon:hover {
	display: inline-block;
	vertical-align: central;
	height: 30px;
	background-color: #DBDBDB;
	border-radius: 20px;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
#socialwrapper img {
	height: 30px;
	margin: 5px;
	width: auto;
}
.wp-block-code {
	background-color:#F4F4F4;
	padding:30px;
	border-left: 5px solid #ABD5B6;
	border-radius: 0px 10px 10px 0px;
}
code {
	white-space: pre-wrap;
    overflow-wrap: break-word;
	display:block;
	width:100%;
}
.css:before, .scss:before, .html:before, .js:before {
	content:".CSS";
	display: inline-block;
	font-family: 'Lato', sans-serif;
	letter-spacing:2px;
	margin:0;
	margin-left:-30px;
	margin-top:-30px;
	padding:3px 30px 3px 20px;
	font-size:10px;
	line-height:38px;
	background-color:#EDEDED;
	border-radius: 0px 0px 10px 0px;
	margin-bottom:20px;
}
.scss:before {
	content:".SCSS";
}
.html:before {
	content:".HTML";
}
.js:before {
	content:".JS";
}
 @-webkit-keyframes fadeIn {
from {
opacity:0;
}
to {
opacity:1;
}
}
@-moz-keyframes fadeIn {
from {
opacity:0;
}
to {
opacity:1;
}
}
@keyframes fadeIn {
from {
opacity:0;
}
to {
opacity:1;
}
}
#logo {
	width: 80%;
	max-width: 700px;
	display: block;
	height: auto;
	margin-right: auto;
	margin-left: auto;
}
#access {
	position: relative;
	text-align: center;
	color: #909090;
	font-size: 11px;
	font-weight: 700;
	margin-bottom: 70px;
	text-transform: uppercase;
}
#access:before {
	content: "";
	display: block;
	margin-left: auto;
	margin-right: auto;
	height: 1px;
	width: 70%;
	background-color: #DBDBDB;
	opacity: 0;
}
#access:after {
	content: "";
	display: block;
	margin-left: auto;
	margin-right: auto;
	height: 1px;
	width: 70%;
	background-color: #DBDBDB;
}
#access ul {
	margin: 0;
	padding: 0;
}
#access li {
	list-style: none;
	padding: 0;
	margin: 0;
	display: inline-block;
	margin-right: 10px;
	margin-left: 10px;
}
#access a {
	margin: 0;
	position: relative;
	text-decoration: none;
	padding-left: 10px;
	padding-right: 10px;
	color: inherit;
	z-index: 2;
	line-height: 30px;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	z-index: 1;
}
#access li:hover {
}
#access li:before {
	padding: 0;
	margin: 0;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: -30px;
	width: 0px;
	background-color: #E8E8E8;
	height: 30px;
	content: "";
	display: block;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
#access li:hover:before {
	width: 100%;
}
#access li.current_page_item {
	background-color: #F4F4F4;
}
#access ul li ul {
	position: absolute;
	left: 0;
	top: 32px;
	width: 100%;
	padding: 0;
	display: block;
	margin: 0;
	z-index: 99999;
}
#access ul li ul li {
	opacity: 0;
}
#access ul li:hover ul li {
	opacity: 1;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
#access ul li ul li {
	display: inline-block;
}
#access ul li ul:after {
	content: "";
	display: block;
	margin-left: auto;
	margin-right: auto;
	height: 1px;
	width: 70%;
	background-color: #DBDBDB;
}
/*indexpage*/
#post {
	max-width: 750px;
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 100px;
}
.wfull {
	max-width: 750px;
	height: auto;
	width: 100%;
	padding: 0;
	margin-bottom: 20px;
	margin-top: 20px;
}
#post ul {
	font-size: inherit;
}
#portfolioblock {
	background-color: #F4F4F4;
	padding-bottom: 100px;
	margin-left: -25px;
	margin-right: -25px;
	padding-right: 20px;
	padding-left: 20px;
	display: block;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;
	margin-top: 40px;
	margin-bottom: 70px;
}
#portfolioheader {
	line-height: 20px;
	padding-top: 40px;
	padding-bottom: 40px;
	text-align: center;
}
#postoverlay {
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	background-color: rgba(0,0,0,0.0);
	height: 100%;
	position: absolute;
	width: 100%;
	z-index: 999;
	text-align: center;
	pointer-events: none;
	overflow: hidden;
}
#posttile:hover #postoverlay {
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	background-color: rgba(0,0,0,0.70);
}
#postoverlay p:after {
	content: "";
	display: block;
	height: 1px;
	width: 200px;
	background-color: #EDEDED;
	margin-right: auto;
	margin-left: auto;
	margin-top: 12px;
}
#posttile #postoverlay p {
	padding-top: 12px;
	text-align: center;
	pointer-events: none;
	color: #EDEDED;
	font-size: 18px;
	text-transform: capitalize;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	margin-top: 400px;
	opacity: 0;
}
#posttile:hover #postoverlay p {
	pointer-events: none;
	opacity: 1;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	margin-top: 50px;
}
#posttile {
	max-width: 800px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 40px;
	position: relative;
	overflow: hidden;
}
#postimage {
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	width: 100%;
	position: relative;
	-webkit-filter: saturate(1);
	-moz-filter: saturate(1);
	-o-filter: saturate(1);
	-ms-filter: saturate(1);
	display: inline-block;
	-webkit-box-shadow: 0px 0px 7px rgba(0,0,0,0.19);
	box-shadow: 0px 0px 7px rgba(0,0,0,0.19);
}
#postimage:hover {
	-webkit-filter: saturate(0);
	-moz-filter: saturate(0);
	-o-filter: saturate(0);
	-ms-filter: saturate(0);
}
#postimage img {
	width: 100%;
	height: auto;
}
#contentwrapper .link {
	margin: 0;
	margin-right: 10px;
	margin-left: 10px;
	display: inline-block;
	position: relative;
	text-decoration: none;
	color: inherit;
	z-index: 2;
	line-height: 25px;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	z-index: 1;
}
#contentwrapper .link:before {
	padding: 0;
	margin: 0;
	margin-bottom: -25px;
	width: 0px;
	background-color: #E8E8E8;
	height: 25px;
	content: "";
	display: block;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
#contentwrapper .link:hover:before {
	width: 110%;
	margin-left: -5%;
}
#contentwrapper .link:after {
	content: "";
	display: block;
	margin-left: auto;
	margin-right: auto;
	height: 1px;
	width: 70%;
	background-color: #DBDBDB;
}
blockquote {
	background-image: url(images/quote.svg);
	background-repeat: no-repeat;
	margin-top: 40px;
	margin-bottom: 45px;
	min-height: 55px;
	padding-top: 0px;
	background-size: 40px auto;
}
blockquote p {
	font-size: 16px;
	font-style: italic;
	padding-left: 35px;
	padding-top: 17px;
	padding-bottom: 5px;
	text-indent: 10px;
	font-weight: bold;
}
#post ul li {
	padding: 5px 0;
}
summary {
	margin: 0;
	outline: none;
	font-size: 14px;
	padding-left: 50px;
	padding-right: 50px;
	display: inline-block;
	position: relative;
	text-decoration: none;
	color: inherit;
	z-index: 2;
	line-height: 25px;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	z-index: 1;
}
summary:before {
	outline: none;
	padding: 0;
	margin: 0;
	margin-bottom: -25px;
	width: 0px;
	background-color: #E8E8E8;
	height: 25px;
	content: "";
	display: block;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
summary:hover:before {
	width: 110%;
	margin-left: -5%;
	outline: none;
}
summary:after {
	content: "";
	outline: none;
	display: block;
	margin-left: auto;
	margin-right: auto;
	height: 1px;
	width: 70%;
	background-color: #DBDBDB;
}
/*footer*/
#footerwrapper {
	position: relative;
	margin-right: -25px;
	margin-left: -25px;
	margin-top: 25px;
	height: 50px;
}
#copyright {
	position: absolute;
	font-size: 10px;
	right: 5px;
	bottom: 2px;
}
#copyright a {
	color: inherit;
	text-decoration: none;
}
#skills {
	text-align: center;
}
#skills img {
	width: 60px;
	height: auto;
	display: inline-block;
	vertical-align: middle;
	margin: 20px;
}
.icon2 {
	display: inline-block;
}
.wp-block-code {
background-color: #252525;
color: #aaaaaa;
margin:50px 0px;

}
h2.wp-block-heading {
margin-top:50px 30px;
}

@media (max-width:500px) {
body, html {
	font-size:14px
}
p {
	padding-left: 0px;
	padding-right: 0px;
}
h1 {
	padding-left: 0px;
	padding-right: 0px;
}
h2 {
	padding-left: 0px;
	padding-right: 0px;
}
h3 {
	padding-left: 0px;
	padding-right: 0px;
}
h4 {
	padding-left: 0px;
	padding-right: 0px;
}
#logo {
	width: 100%;
}
.wp-block-code {
margin:50px 0px;
}
}

