/* 
Theme name: Excel Blog Child
Description: JH child theme
Author: Chris Short
Version: 1.0
Template: excel-blog
*/


/*Import style sheet of parent theme*/ 

@import url('../excel-blog/style.css');


/*Import Google Font version of stencil */

@import url(//fonts.googleapis.com/css?family=Stardos+Stencil);


/*Declare fonts that are saved server-side in alternative formats*/

@font-face {
  font-family: "MARQUEE_";
	 src: url("http://www.chrisshort.eu/clickandbuilds/JimHileyAtWork/wp-content/themes/excel-blog-child/MARQUEE_.eot");
	src: url("http://jimhiley.chrisshort.eu/wp-content/themes/excel-blog-child/MARQUEE_.TTF");
}

                      /*Alternative stencil-type fonts for the dynamic site description*/
@font-face {
  font-family: "StencilA";
 src: url("http://jimhiley.chrisshort.eu/wp-content/themes/excel-blog-child/ARMY.ttf"); 
}

@font-face {
  font-family: "StencilB";
 src: url("http://jimhiley.chrisshort.eu/wp-content/themes/excel-blog-child/BKIDTRIAL.ttf"); 
}

@font-face {
  font-family: "StencilC";
 src: url("http://jimhiley.chrisshort.eu/wp-content/themes/excel-blog-child/Lintsec.ttf"); 
}

@font-face {
  font-family: "Roughtype";
  src: url("http://jimhiley.chrisshort.eu/wp-content/themes/excel-blog-child/SpecialElite.ttf");
}


/*Paper-textured grey background for elements above main content*/

.site-header, .site-content-contain, .navigation-top{
background-image: url("http://www.chrisshort.eu/clickandbuilds/JimHileyAtWork/wp-content/themes/excel-blog-child/papergrey.png");
	background-color: transparent;
	}


/*Setting typewriter style font for most text*/

body,
button,
input,
select,
textarea ,
.specialpostit{
	color: black;
	font-family: "Roughtype", "Courier", "Courier New","Times New Roman",serif;
	font-size: 15px;
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.66;
}

/*Styles for heading of general pages*/

.site-header {
	position: fixed;
	width: 100%;
	z-index: 1000;
	}

/*Extending the grey heading down to the desired level  - special settings for FirstPageN */

.site-header .site-branding{
	padding: 60px 20px 10px 20px;  /*T R B  extends the grey heading down L */
	text-align: right!important;
	}

.Firstpage .site-header .site-branding{
	padding: 125px 20px 10px 20px;  /*T R B  extends the grey heading down L */
	text-align: right!important;
	}


/*Styling of dynamic site description including stencil-type font*/

.site-header .site-branding .site-description {  
font-family: "StencilA",  "StencilB",  "StencilC", "Stardos Stencil", "Courier","Courier New","Times New Roman",serif;
color: #FB6717;   /*Strong orange colour*/
font-weight: bold;
font-size:70px;
visibility: hidden;
}


/*Moves the dynamic site title down a little */

.site-title {
	padding-top: 20px;
}


/*An off-white colour for dynamic site title text, to mimic effect of white paper showing through*/

 .site-header .site-branding .site-title a {
font-family: "Roughtype", "Courier","Courier New", "Georgia", "Times New Roman",serif;
color: #E3E1E1;
text-transform: none;
font-size:70px;
visibility: hidden;
}	


/*Flex container*/ 
/*This is definitely needed to keep heading elements in place! */

.site-branding-new{
	display: flex;
	height: 160px;
	/*justify-content: stretch;*/	
	align-items: flex-start;
	}

.mike {
	position:fixed;  
	display:inline;
	left: 30px;
	top: 20px;
	z-index: 1099;
}

.biog {
	position:fixed;
	display: inline;
	z-index: 1099;
	left: 170PX;
	text-align: left;
	top: 40px;
	max-width: 650px;
	color: #FFFFFF;
	}


.JH {
	color: #000000;
	font-weight:  bold;
}


.JHAW {
	position:fixed;  
	right: 5px;
	top: 0px;
	z-index: 1199;
}




/* Navigation styles */

.Firstpage .main-navigation {   
	position:fixed;
	margin-top: -70px;                  /*Needed to place it over the bottom of the heading */
	margin-left: 15px;
	width: 100%;
	z-index: 1200; 
}

.main-navigation {
	width: 100%;
}     

.nav-holder {/*necessary for now, or background blue shows*/
background-image:  url("http://jimhiley.chrisshort.eu/wp-content/themes/excel-blog-child/papergrey.png");
background-color:transparent;
		}

.main-navigation ul {
	list-style: none;
	padding-left:250px;
	font: 500 18px/30px "Roughtype", "Courier","Courier New", "Georgia", "Times New Roman", serif;
	text-align: left;
	background-color: transparent;
}

.main-navigation ul:after{
	content: '';
	display: block;	clear: both;

}

.main-navigation li {
	display: inline-block;
	position: relative;
	vertical-align: top;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	color: #FFFFFF;
	padding: 20px 15px;
}

.main-navigation .current_page_item > a,/*Necessary for now or background blue shows on current*/
.main-navigation .current-menu-item > a,
.main-navigation .current-page-ancestor > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
	background-color:transparent;
	color: #FB6717;
	background-image:  url("http://jimhiley.chrisshort.eu/wp-content/themes/excel-blog-child/papergrey.png");

}

.main-navigation li:hover > a,  /*Necessary for now to stop blue showing through on hover*/
.main-navigation li.focus > a,
.main-navigation ul li a:hover,
.main-navigation ul li a:focus {
	color: #FB6717;
	background-image:  url("http://jimhiley.chrisshort.eu/wp-content/themes/excel-blog-child/papergrey.png");
		}


/* MARQUEE STYLES AND ANIMATION */

.textcontain {
  position: relative;
  overflow: hidden;
margin-top: 10px;
	height: 50px;
	}

.textroll {
	font-family: "MARQUEE_", serif;
	font-size:  30px;
	color: #404040;
	position: absolute;
  	left: 0;
  	top: 0;
  	height: 100%;
  	width: 299%;   
	animation: textcontainer 30s linear infinite;   /*This controls the speed in conjunction with the string length*/
  
	/* Hey browser, use your GPU */
  	transform: translate3d(0, 0, 0);
}


.textroll a  {
	color: #404040;
	}

.textroll a:hover  {
	color: #FB6717;
         text-decoration: none;
	}




@keyframes textcontainer {
  0%    { left: 100%; }  /* This means that the text starts 100% from the LH edge of the content area i.e. at the RH edge*/
	100% { left: -125%; }	/*This means that the start of the text has reached a long way off the screen to the left when the cycle starts again */
/* The 125% will need adjusting by trial and error when the length of the string of text in the marquee is changed. */
/*Also need to change the values in @- -keyframes below as these apply to different browsers*/
/*Also as this will change the distance to be travelled, the speed will be slower or faster until it is adjusted by changing the total cycle time */
/* That is done by changing the animation:textcontainer time value above (30s - i.e. seconds - with about 80 characters in marquee string) */
/* Although this is only going to be correct in a certain width of window c 1300px */
}


@keyframes moveTextcontainer{  
  100% { 
    -webkit-transform: translateX(-125%);  
  }
}
@-moz-keyframes textcontainer {
 0%   { -moz-transform: translateX(100%); }
 100% { -moz-transform: translateX(-125%); }
}
@-webkit-keyframes textcontainer {
 0%   { -webkit-transform: translateX(100%); }
 100% { -webkit-transform: translateX(-125%); }
}



/*Paper-textured white background for main content*/

#content {
	background-image: url("http://jimhiley.chrisshort.eu/wp-content/themes/excel-blog-child/paperwhite.png");
	background-color: transparent;
	}


 /* Brings title and main content down below heading */

.site-main {
	padding-top: 130px!important;
}


/* First page styles for page divided into left middle and right areas*/

.Firstpage #primary{
	
	width: 100%;
	padding-top: 0px;
	padding-left: 15px;
	padding-bottom: 20px;
}

.Firstpage #subtable {
	vertical-align: top;
}

.Firstpage #subleft{
	width: 15%;
	padding-top:  40px;
	padding-right: 30px;
	border-right: 1px solid;
    border-top:none;
    border-bottom:none; 
	border-color: #B1AFAF;
	text-align: center;
		}

.Firstpage #submid{
	width: 70%;
	padding-top: 0px;
	padding-left: 15px;
	padding-right: 15px;
		}

.Firstpage #subright{
	width: 15%;
	padding-top:  30px;
	padding-left: 30px;
	border-left: 1px solid;
    border-top:none;
    border-bottom:none; 
	border-color: #B1AFAF;
	text-align: center;
	}


/*Position of date and author of a post*/

#primary .post .text-holder .entry-header .entry-meta {
	padding-top:  30px;
	padding-left: 100px;
}

/*Position and font colour and size etc of the page or post title */

#primary .post .text-holder .entry-header .entry-title,
#primary .page .text-holder .entry-header .entry-title,
.POSTIT {
	font: 23px/30px "Roughtype", "Courier", "Courier New","Times New Roman",serif;
	font-size: 40px;
	font-weight:bold;
	margin: 0 0 10px;
	padding-left:  150px;
	padding-right: 10px;
	padding-top: 40px;
	color: #FB6717;	
	/*border: 1px solid;*/
	/*border-color:#FB6717;*/
	display: inline-block;
	}

.POSTIT {
padding-left: 0px;}



/*Widget styles*/
 
/*Brings widgets down the page */

#secondary {
	padding-top: 160px;
}

#secondary .widget .widget-title{
	font: 23px/30px "Roughtype", "Courier","Courier New", "Georgia", "Times New Roman",serif;
	color: #EDEDED;
	background-image: url("http://jimhiley.chrisshort.eu/wp-content/themes/excel-blog-child/papergrey.png");
	background-color: transparent;
	text-align: center;
	padding: 13px 10px 13px;  /*Top R+L B*/
	}

.widget ul{
	margin: 0;
	list-style: none;
	font-size: 15px;
	line-height: 22px;
	background: transparent;
	padding: 30px;
}


/* Footer styles */


.site-footer{
	background-color: transparent;
	background-image:  url("http://jimhiley.chrisshort.eu/wp-content/themes/excel-blog-child/papergrey.png");

}

.footer-bottom .site-info {
color:#D5D4D3;
}

.footer-bottom .site-by {
color:#D5D4D3;
}



/*Styles for alternative first page heading*/

.site-header-new {
background-image: url("http://jimhiley.chrisshort.eu/wp-content/themes/excel-blog-child/Basik-Paper-midgrey.png");
	background-color: transparent;
}


.search #primary {
padding-top: 100px!important;

}
