/*
Theme Name: AdamHyde-CETA

*/

h1.page-title {display: none;}

.content_cards_card {
margin-left: 0 !important;
}

.content_cards_card .content_cards_image img {
display:none !important;
}

/*
article::after {
 content: " - continue reading";
}
*/

.sticky {
padding: 5px;
}

.sticky-post {
display:none;
}

.sticky .entry-title {
display:none;
}


/**
 * 1.0 - Normalize
 *
 * Normalizing styles have been helped along thanks to the fine work of
 * Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
 */

@font-face {
    font-family: 'RegularFont';
    src: url('fonts/Karla-Regular.ttf');
}
@font-face {
    font-family: 'BoldFont';
    src: url('fonts/Karla-Bold.ttf');
}
@font-face {
    font-family: 'ItalicFont';
    src: url('fonts/Karla-Italic.ttf');
}
@font-face {
    font-family: 'BoldItalicFont';
    src: url('fonts/Karla-BoldItalic.ttf');
}

html {
	font-family: 'RegularFont', sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	font-size: 16px;
}

body {
	margin: 0;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	outline: none;
	-webkit-font-smoothing: antialiased;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);	
	box-sizing: border-box;
	overflow-x:hidden;
	background: white;
}
h1, h2 {
	color: #980064;
}
h1, h2, .site-header .site-description {
	font-size: 2.5rem;
	font-family: 'BoldFont', sans-serif;
	line-height: 105%;
}
.sidebar .widget-title {
	font-size: 1rem;
	color: #980064;
}
a {
	text-decoration: none;
	color: #980064;
}
.site-branding {
	display: inline-block;
}
.site-header {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100vh; /*height of header, search on this comment to find related style*/
	background-color: #DDD;
	background-repeat: no-repeat;
	background-size: cover;
	background-position-x: 50%;
	background-position-y: 100%;
	transition: background-position-y 5s;
	z-index: 2;
	box-sizing: border-box;
}

.scrolled .site-header, body:not(.home) .site-header {
	background-position-y: 30%;
	transition: background-position-y 5s;
	 top: calc( -100vh);
}
.scrolled .site-header {
	 top: 0;
	
}
.scrolled .site-header-main {
	    background-color: rgba(255,255,255,0.95);
		-webkit-transition: opacity 5s;
        -moz-transition: opacity 5s;
        -ms-transition: opacity 5s;
        -o-transition: opacity 5s;
        transition: opacity 5s;	    
}

.site-header:before {
	content: "";
	position: absolute;
	height: 100%;
	width: 40%;
	top: 0px;
	left: 0px;
	background-image: linear-gradient(to left, rgba(0, 0, 0, 0.0), rgba(3, 2, 2, 0.3));
}
.site-header:after {
	position: absolute;
	top: calc(100vh + 9px); /*height of header, search on this comment to find related style*/
	left: 3vw;
	color: #980064;
	width: 20vw;
	opacity: 1;
	transition: opacity 0.5s;
}
.site-header-main {
	background-color: rgba(255,255,255,0.8);
	position: fixed;
	width: 100%;
	top: 0px;
	left: 0px;
	z-index: 200;
}
.site-header-main .site-title {
	display: inline-block;
	background-color: #980064;
	z-index: 1;
	padding: 10px 20px 10px 10px;
	margin: 0;
	font-size: 1rem;
}
.site-header-main .site-title:before {
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: inline-block;
	margin-right: 10px;
	content: "";
	vertical-align: middle;
	background-size: cover;
	background-image:url('https://www.adamhyde.net/wp-content/uploads/2017/02/adam-thumb.jpg');
}
.site-header-main .site-description {
	position: absolute;
	top: 40px;
	left: 30px;
	color: #FFF;
	width: 46rem;
	opacity: 1;
	transition: opacity 1.5s;
}
.scrolling .site-description, .scrolled .site-header:after, body:not(.home) .site-description, body:not(.home) .site-header:after {
	opacity: 0;
	transition: opacity 0.2s;
}
.scrolling .site-description {
	display:none;
}

.site-header-main .site-title a {
	text-decoration: none;
	color: #FFF;
	vertical-align: middle;
	font-family: 'BoldFont', sans-serif;
}
.site-header-menu {
	-webkit-flex: 0 1 100%;
	-ms-flex: 0 1 100%;
	flex: 0 1 100%;
	display: inline-block;
	padding: 15px 0px;
	line-height: 30px;
	height: 30px;
	vertical-align: top;
}
.main-navigation ul {
	list-style: none;
	margin: 0; 
	padding: 0;
}

.main-navigation li {
	position: relative;
	display: inline-block;
	margin-left: 20px;
}
.main-navigation li a {
	color: inherit;
	text-decoration: none;
	/* padding-left: 10px; */
}
.main-navigation li.current-menu-item a, .main-navigation li a:hover {
	color: #980064;
}
.site-main {
	margin-left: 20vw;
	width: 60vw;
	border-left: 3px solid #EEE;
	padding: 3vw;
	margin-top: 0px;
	padding-top: 60px;
	box-sizing: border-box;
	min-height: 200vh;
}
.site-main img {
	width: 100%;
	height:auto;
}
.site-content {
	position: relative;
	padding-top: 0px;
}
.next.page-numbers {
	float:right;
	margin-right: 1.5vw;
    padding: 5px 10px;
    background: #eee;	
    margin-right:0;
}
.prev.page-numbers, .nav-previous a, .nav-next a {
	margin-right:1.5vw;
	margin-right: 1.5vw;
    padding: 5px 10px;
    background: #eee;	
}
.nav-previous a, .nav-next a {
	float:left;
}
.nav-next a {
	margin-right:0;
	float:right;
}
.meta-nav {
	font-weight:bold;
	margin-right:5px;
}
.next:hover, .prev:hover, .nav-previous:hover a, .nav-next:hover a {
	color:white !important;
	background-color: #980064;
}
pre {
	white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word; 
}
.home .site-content:after, .home .site-content:before {
	/*
	content: "Latest posts";
	padding: 10px 40px 10px 20px;
	color: #980064;
	position: absolute;
	top: -37px;
	left: 50%;
	margin-left: -30px;
	background-color: rgba(255, 255, 255, 0.9);
	z-index: 10;
	width: 100px;
	transition: all 0.5s;
	opacity: 1;
}
.home .site-content:after {
	content: "\f431";
	font-family: 'Genericons';
	z-index: 11;
	text-align: right;
	background-color: transparent;
	line-height: 1.3rem;
	font-size: 2rem;
	width: 120px;
	margin-left:-25px;
*/
 } 

.scrolldown {
	padding: 10px 40px 10px 20px;
	color: #980064;
	position: absolute;
	left: 50%;
	margin-left: -30px;
	background-color: rgba(255, 255, 255, 0.9);
	z-index: 20;
	width: 100px;
	transition: all 0.5s;
	opacity: 1;	
	top: calc( 100vh - 37px );
	cursor:pointer;
}
.home .scrolldown:after {
	content: "\f431";
    font-family: 'Genericons';
    z-index: 11;
    text-align: right;
    background-color: transparent;
    line-height: 1.3rem;
    font-size: 2rem;
    position: absolute;
}	
.scrolling .site-content:after, .scrolling .site-content:before, .scrolling .scrolldown, .scrolling .site-header-caption {
	transition: all 0.5s;
	opacity: 0;
}
.wp-caption-text {
	font-size:75%;
	color:#980064;
	padding-bottom:15px;
}
.post {
	position: relative;
}
article {
	border-bottom:3px solid #EEE;
	padding-bottom:20px;
	margin-bottom:20px;
	line-height: 1.50;
	
}
article a:hover {
	color:#a8a8a8;
}
.byline, .entry-header, .entry-content {
	box-sizing: border-box;
}
body.home .entry-header, body.single-post .entry-header, body.search-results .entry-header {
	padding-top: 0px;
	margin-top: 0px;
}
.entry-content {
	padding:0 0 25px 0;
}
.byline {
	top: 0px;
	margin-right:20px;
}
.byline .author img {
	display: none;
}

.byline .author a:before {
	content: "Written by ";
}
.entry-footer {
	/* NOTHING HERE AS IT BREAKS THE POSITION OF BYLINE */
}
.posted-on, .comments-link, .edit-link, .tags-links {
	display: block;
	margin-bottom: 20px;
	margin-left: -20vw;
	position: absolute;
	width: 20vw;
}
.tags-links {
	top:80px;
	width:15vw;
}
.tags-links a {
	display:block;
	padding-bottom:5px;
}
.tags-links a:hover {
	color:#a8a8a8;
}
.tag-title {
	display:block;
	padding-bottom:5px;
	padding-top: 10px;
}
.posted-on {
	top: 20px;
}
.posted-on a {
	color: inherit;
}
.posted-on time {
	display: none;
}
.posted-on time:last-child {
	display: block;
}
.posted-on:before {
	content: "";
	font-family: 'BoldFont', sans-serif;
	display: block;
	color: #980064;
}
#comment {
	border:1px solid black;
}
.comments-link {
	top: 50px;
}
.comment-author img {
	display:none;
}
.comment-form-comment label {
	display:none;
}
.edit-link {
	bottom:0px; 
}
.site-info {
	position: absolute;
	left: 3vw;
	bottom: 3vw;
	width: 20vw;
}
.sidebar {
	background-color: #EEE;
	position: absolute;
	width: 19vw;
	right: 0px;
	top: 0px;
	padding: 3vw;
	box-sizing: border-box;
	min-height: 100%;
}
.sidebar section {
	padding-bottom:25px;
}
.sidebar ul {
	list-style: none;
	padding: 0px;
	margin: 0;
}
.sidebar a {
	color: inherit;
	margin-bottom: 10px;
	display: inline-block;
}
.sidebar a:hover {
	color:#980064;
}
.page-title, .comment-reply-title {
	color:#a8a8a8;
}
.dropdown-toggle,
	.main-navigation ul .dropdown-toggle.toggled-on,

	.site-header .social-navigation,
	.site-footer .main-navigation {
		display: none;
	}
	
.search-submit {
	-webkit-appearance: none;
	background-color: transparent;
	border: none;
	vertical-align: middle;
	cursor: pointer;
	padding: 0px;
}
.search-submit:after {
	content: "\f400";
	font-family: 'Genericons';
	color: #980064;
	font-size: 1.3rem;
}
.mailpoet_text_label {
	display:none !important;
}
.mailpoet_submit {
	    margin-top: -10px;
}
input {
	border:1px solid black;
	background-color:transparent;
	color:#980064;
	padding:5px 8px;
}
input[type="button" i], input[type="submit" i], input[type="reset" i], input[type="file" i]::-webkit-file-upload-button, button {
	background-color:transparent;
	color:#980064;
	border:none;
	padding:5px 10px;
	cursor:pointer;	
	border:1px solid #980064;
}
button:hover, input[type="button" i]:hover, input[type="submit" i]:hover, input[type="file" i]::-webkit-file-upload-button:hover {
	background-color:#980064;
	color:#eee;
}
.cat-links {
	display:none;
}
iframe {
	width:100%;
}
.entry-title {
	padding-top:15px;
	color:#a8a8a8;	
}
.post .entry-title {
	color:#980064;
}
figure {
	width:100% !important;
	margin:10px 0;
}
.search-field {
	max-width:10vw;
}

/* ADMIN BAR STUFF */
.site {
	position: relative;
	padding-top: 100vh; /*height of header, search on this comment to find related style*/
	
	transition: padding-top 1.5s;
}
body:not(.home) .site {
	padding-top: 60px; 
}
.admin-bar .site-header-main {
	top: 32px;
}
.admin-bar .site-header {
	padding-top: 32px;
}
.admin-bar .site-header:after {
	padding-top: 32px;
}

.menu-toggle {
	display: none;
}


/* MOBILE STUFF */
@media screen and (min-width:60em) and (max-width:79.9999em) {
	.blogmenu { display:none !important; }
}	



@media screen and (max-width: 56.875em) {
	.menu-toggle {
		display: inline-block;
		/* visibility: hidden; */
		position: absolute;
		right: 15px;
		top: 15px;
		text-transform: uppercase;
		font-family: inherit;
		font-size: 1.2em;
		font-weight: 600;
		background: none ;
		border: none;
	}

	.menu-toggle:hover  {

		color: #980064;
	}

	

	/* .menu-toggle:after {
		visibility: visible;
		font-family: 'Genericons';
		content: "\f419";
		font-size: 20px;
		line-height: 20px;
	}
	.menu-toggle.toggled-on:after {
		content: "\f500";
		line-height: 10px;
	} */
	.site-header {
		height: 40vh;
	}
	.site-header-main {
		width: 100vw;
	}
	.site-header-menu {
		padding: 0px;
		display: block;
		margin-left: -100vw;
		width: 100vw;
		transition: margin-left 0.5s;
		height: 0px;
	}
	.site-header-menu.toggled-on {
		margin-left: 0;
		transition: margin-left 0.5s;
	}
	.main-navigation ul {
		padding: 20px 0px;
		background-color: #980064;
	}
	.main-navigation ul li {
		display: block;
	}
	.main-navigation ul li a {
		color: #FFF;
	}
	.site-description {
		display: none;
	}
	.site {
		padding-top: 40vh;
	}
	.site-main {
		margin-left: 0px;
		width: 100%;
		min-height: 0;
		border: none;
		padding-top: 60px;
	}
	.entry-content {
		min-height: 0;
	}
	.byline, .posted-on, .comments-link, .edit-link {
		position: relative;
		top: auto;
		margin: 0px;
		width: auto;
	}
	.posted-on:before {
		display: none;
	}
	.sidebar {
		position: relative;
		width: 100%;
	}
	body.home .entry-header, body.single-post .entry-header {
		margin-top: 0px;
	}
	.scrolled .site-header, body:not(.home) .site-header {
		top: -20vh;
	}
	body.single-post .entry-header {
		padding-top: 0px;
	}
	html {
		margin-top: 0px !important;
	}
	.site-header:after {
		width: 100%;
		top: calc(40vh + 10px);
	}
	.admin-bar .site-header-main {
		top: 0px;
	}
	.admin-bar .site-header, .admin-bar .site-inner {
		padding-top: 0px;
	}
	.admin-bar .site-header:after {
		padding-top: 0px;
	}
	#wpadminbar {
		display: none;
	}
	.entry-title {
		margin:0;
		margin-top:10px;
		font-size:200%;
	}
	.scrolldown {
		display:none;
	}
	.site-header-caption {
		font-size:1rem;
	}
	.site-header-main .site-title {
		padding:10px 20px;
	}
	.main-navigation li.current-menu-item a, .main-navigation li a:hover {
		color:black;
	}
	button:hover, input[type="button" i]:hover, input[type="submit" i]:hover, input[type="file" i]::-webkit-file-upload-button:hover {
		color:#980064;
	}
	.tags-links {
		display:none;
	}
	.site-content {
		padding-top:50px;
	}
}


/**
 * 7.0 - Accessibility
 */

/* Text meant only for screen readers */
.says,
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	/* many screen reader and browser combinations announce broken words as they would appear visually */
	word-wrap: normal !important;
}

/* must have higher specificity than alternative color schemes inline styles */
.site .skip-link {
	background-color: #f1f1f1;
	box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.2);
	color: #21759b;
	display: block;
	font-family: Montserrat, "Helvetica Neue", sans-serif;
	font-size: 14px;
	font-weight: 700;
	left: -9999em;
	outline: none;
	padding: 15px 23px 14px;
	text-decoration: none;
	text-transform: none;
	top: -9999em;
}

.logged-in .site .skip-link {
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.2);
	font-family: "Open Sans", sans-serif;
}

.site .skip-link:focus {
	clip: auto;
	height: auto;
	left: 6px;
	top: 7px;
	width: auto;
	z-index: 100000;
}



/* custom typography tweaking from outside. */

/* framed picture when there is only one pic in the article */
article .framed {
    border: 5px solid white;
    outline: 5px solid #980064;
    width: 90% !important;
    text-align: right;
    margin: 2em 0 3em  auto;
    display: block;
    box-sizing: border-box;
}

article .small-right {}

/* blockquote inside an article */
article blockquote p {
    font-family: inherit;
    font-size: 1em;
    margin-right: 2em;
    font-weight: bold;
    font-style: italic;
    max-width: 55ch;
    line-height: 1.4;
    border-left: 1px solid #980064;
    padding-left: 1em;
}

/* blockquote h2 */
article h2 {
    margin-top: 3em !important;
    font-size: 1.4em !important;
}

article h3 {
    margin-top: 2em !important;
    font-size: 1.1em !important;
}

article .entry-title {
    font-size: 2.3em !important;
}

article p {
    max-width: 75ch;
}

article li {
    max-width: 75ch;
}

article ol {
    margin-left: 0;

    /* text-indent: 0; */
    padding-left: 1em;
}

article ol {
    counter-reset: ol;
    list-style-type: none;
}

article ol li {
    counter-increment: ol;
    margin-left: 1em;
    margin-top: 1em;
}

article ol li:before {
    content: counter(ol);
    width: 1em;
    color: #980064;
    font-weight: bold;
    margin-right: 0.4em;
    display: block;
    float: left;
    margin-left: -1.5em;
}

article ul li {
    list-style-type: none;
    margin-left: 1em;
    margin-top: 1em;
}

article ul li:before {
    content: "\2023";
    font-family: sans-serif;
    width: 1em;
    color: #980064;
    font-weight: bold;
    margin-right: 0.4em;
    display: block;
    float: left;
    margin-left: -1.5em;
}

article a {
    border-bottom: 1px solid #980064;
}

article a:hover {
    background: #980064;
    color: white !important;
}

/* picture with caption with 4 options for the locations of captions  */

article figure {
    position: relative;
}

article figure img {
    /* max-height: 600px !important; */
    width: 100%;
    object-fit: cover;
    /* or cover if it’s a photo with a less interesting background*/
}



article figure figcaption {
    /* color:  white !important;
    background: #980064; */
    color: #980064 !important;
    background: white;
    padding: 1em !important;
    margin-top: -2em;
    display: block;
    max-width: 33ch;
    border: 8px solid #980064;
    outline: 4px solid white;
    font-size: 85% !important;
}

.top-left + figcaption {
    position: absolute;
    top: 4em;
    left: -2em;
}

.top-right + figcaption {
    position: absolute;
    top: 4em;
    right: -2em;
}

.bottom-left + figcaption {
    position: absolute;
    bottom: 4em;
    left: -2em;
}

.bottom-right + figcaption {
    position: absolute;
    bottom: 4em;
    right: -2em;
}

/* picture with float right */

article img.small-float-left {
    width: 10ch !important;
    float: left;
    margin-bottom: 0.3em;
    margin-right: 1em;
}

article img.float-left {
    width: 30ch !important;
    float: left;
    margin-bottom: 0.3em;
    margin-right: 1em;
}

article img.float-right {
    width: 30ch !important;
    float: right;
    margin-bottom: 0.3em;
    margin-left: 1em;
}

article img.vertical {
	width: auto !important;
	max-height: 600px !important;
	margin: 2em 0 2em 4em !important;
	float: right;


}

.vertical + figcaption {
    position: absolute;
    margin-top: 650px !important;
    right: 0;
    border: 0;
}


/* repair top images and captions */

.site-header-caption {
	padding: 10px 20px 10px 20px;
    color: #980064;
    position: absolute;
    left: 0;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 20;
    transition: all 0.5s;
    opacity: 1;
    bottom: 0;
    cursor: pointer;
}



