/*RoseBud Style Sheet
for RnD Pilot
*/
* {
    box-sizing: border-box;
}
/* Education is the Key to ALL Success - November 3rd 2015 */

body {
	margin: 0px;
	padding: 0px;
}


header {
	/* RoseBud Style Variable #2  */
	background-color: white;
	padding: 10px;
	margin: 1%;
    float: left;
	width: 98%;
	font-family: arial, sans-serif;
	border: solid 1px grey;
	border-radius:25px;
}

/* For (mobile phones) all viewports: */
[class*="col-"] {
	margin: 0px;
/*	clear: left; */
    width: 100%;
	font-family: arial, sans-serif;
	border: solid 0px green; 
	background-color: black; 
}

[class*="white-col-"] {
	margin: 0px;
	clear: left;
    width: 100%;
	font-family: arial, sans-serif;
	border: solid 3px green; 
	background-color: white;
}


[class*="col-"] {
    float: left;
/*    padding: 15px; */
    border: 0px solid red;
}

.col-7 {
	background-color: white;
	margin: 1%;
	width: 98%;
}


.col-3-backpic {
	height: 320px;
	/* RoseBud Style Variables #3 - I think!  */
	background: url(/peach/images/rbud-midsize-racing.jpg) repeat;
	border: solid 0px red;
	border-radius: 25px;
}

.col-3-backpic-2 {
	height: 320px;
	/* RoseBud Style Variables #3 - I think!  */
	background: url(/peach/images/rbud-midsize-chuckles.jpg) repeat;
	border: solid 0px red;
	border-radius: 25px;
}


.col-3 {
	border: solid 1px grey;
	border-radius: 25px;
	width: 98%;
	margin: 1%;
	font-family: arial, sans-serif;
	height: 320px;
	position: relative;
	background-color: white;
	/* border: solid 0px red; */
}

.col-3-ddp {
	border: solid 1px grey;
	border-radius: 25px;
	width: 98%;
	margin: 1%;
	font-family: arial, sans-serif;
	position: relative;
	background-color: white;
}


.col-3-rowstart {
	position: relative;
	background-color: white;
	margin: 1%;
	height: 320px;
	border-radius: 25px;
	border: solid 1px grey;
}

.datestamp {
	float: left;
	margin-top: 10px;
	margin-left: 10px;
	font-family: arial;
	font-size: 12px;
	color: grey;
}

.category {
	display: block;
	text-align: right;
	margin-top: 10px;
	margin-right: 10px;
	font-family: arial;
	font-size: 12px;
	color: black;
}

	span.storypic {
	/* float: left; 
	margin-left: 10px; 
	width:98%;  */
	margin-top: 0px; 
	border: solid 0px red;
}

	.storypicimage {
	display: block;
	margin: auto;
	max-width: 100%;
	}

.panelheading {
	float: left;
	margin-left: 10px;
	margin-top: 0px;
}

.panelheading h1, .panelheading h3 {
		font-family: "century gothic";
		color: black;
		font-weight: normal;
		display: inline;
		border: solid 0px green;
}


/* Dropdown menu experiment */
.subtop {
	position: relative;
	border: solid 1px red;
}

.subitem {
    position: absolute;
    top: 40px;
    left: 0;
	z-index: 999;
	border: solid 1px green;
	overflow: visible;
	display: none;
}

.subtop:hover ul.subitem {
	display: block;
}


/* Vertical Navigation Styling 'lifted' from Middleway style sheet (rosebudstyle03.css) */

a.vertnav:link, a.vertnav:visited {
    display: block;
    width: 150px;
    font-weight: bold;
    color: black;
    background-color: lightgrey;
    text-align: center;
    padding: 4px;
    text-decoration: none;
    text-transform: uppercase;
}

a.vertnav:hover, a.vertnav:active {
    background-color: grey;
}

/* End Vertical Navigation Styling */

[class*="button"] {
	float: left;
	display: block;
    text-align: center;
    padding: 3px;
    text-decoration: none;
    text-transform: uppercase;
}

#mainstory {
		clear: left;
		position: relative;
/*		z-index: -1; */
		width: 98%; 
		margin: 1%;
		/* height: 380px;
		/* Additions for Rosebud Peach Doc style */
		padding: 10px;
		font-family: arial;
	/* RoseBud Style Variable #2 - mainstory image 
		background: url(images/rosebud2c.jpg) no-repeat;*/
		border: solid 1px grey;
		border-radius: 25px;
}


#mainheading {
		position: relative;
		display: block;
		top: 50%; 
		left: 5%;
		width:33%; 
		background-color:black; 
		padding:10px;
}


#mainheading h1, h3 {
		font-family: "century gothic";
/*		font-size: 30px; */
		color: white;
		font-weight: normal;
		display: inline;
}


.storyheading {
		position: relative;
		display: block;
		top: 40%; 
		/*background-color:black; */
		margin-left:10px;
		border: solid 0px red;

}

.storyheading h1, .storyheading h3 {
		font-family: "century gothic";
/*		font-size: 30px; */
		font-weight: normal;
		display: inline;
}



@media only screen and (max-width: 768px) {
	img.ad {
		float: left;
		width: 100%;
		height: auto; 
	}

    .white-col-12 {
		background-color: black; 
	}
 	
	img.logo {
/* Variable */		
	width: 21%;
	}

	#mobilemenu {
		float: right;
		width: 16.5%;
	}

	a.button:link, a.button:visited {
	border-bottom: solid 1px black;
	}

	a.topicheadbutton:link, a.topicheadbutton:visited, a.topicheadbutton:hover, a.topicheadbutton:active {
		display: none;
	}

	a.topicbutton:link, a.topicbutton:visited, a.topicbutton:hover, a.topicbutton:active {
		display: none;
	}

	a.morebutton:link, a.morebutton:visited, a.morebutton:hover, a.morebutton:active {
		display: none;
	}

	a.searchbutton:link, a.searchbutton:visited, a.searchbutton:hover, a.searchbutton:active {
		display: none;
	}

	#mainstory {
/*		width: 320px; 
		height: 300px;
/* Variable #4 
		background-position: -250px -25px; */
	}

	#mainheading {
		top: 10%; 
		left: 5%;
		width:50%; 
		background-color:black; 
		padding:10px;
	}

	
}


@media only screen and (min-width: 768px) {
    /* For desktop: */
    .col-1 {width: 8.33%;}
    .col-2 {width: 16.66%;}
    .col-3 {
		width: 26.35%; 
		border: solid 1px grey;
		font-family: arial, sans-serif;
		height: 640px;
		border-radius: 25px;
		margin: 1%;
/*	    padding: 15px; */
	}
    .col-4 {width: 33.33%;}
    .col-5 {width: 41.66%;}
    .col-6 {width: 50%;}
    .col-7 {
		width: 58.33%;
		float: none; 
		margin: auto;
		padding-top:30px;
		border: solid 0px green; 
		}
    .col-8 {width: 66.66%;}
    .col-9 {width: 75%;}
    .col-10 {width: 83.33%;}
    .col-11 {width: 91.66%;}
    .col-12 {
		width: 100%;
		font-family: arial, sans-serif;
		border: solid 0px green; 
		background-color: black; 
	}
    .white-col-12 {
		width: 100%;
		font-family: arial, sans-serif;
		border: solid 0px green; 
		background-color: white; 
	}

	.col-3-ddp {
		width: 26.35%; 
		border: solid 1px grey;
		border-radius: 25px;
		margin: 1%;
		font-family: arial, sans-serif;
	}

	.col-3-backpic {
		width: 26.35%; 
		margin-left: 10%;
		margin-right: 1%;
		margin-top: 1%;
		margin-bottom: 1%;
		border-radius: 25px;
	}

	.col-3-backpic-2 {
		width: 26.35%; 
		margin: 1%;
		border-radius: 25px;
	}

	.col-3-rowstart {
		width: 26.35%; 
		margin-left: 10%;
	}

	img.ad {
		width: 50%;
		margin: auto;
		display: Block;
/*    height: auto; */ 
	}

	img.logo {
/* Variable */		
		width: 60px;
	}

/*	a.button:link, a.button:visited { */
	[class*="button"] {
		height: 60px;
	}

	span {
		display: block;
		margin-top: 20px;
		border-top: solid 0px red;
	}

	a.topicheadbutton:link, a.topicheadbutton:visited {
		color: black;
		background-color: white;
	}

	a.topicheadbutton:hover, a.topicheadbutton:active {
		color: black;
		border-right: solid 1px black;
		height: 60px;
		/* Style Variable for shading of nav button */
		background-color: orange;
	}

	a.topicbutton:link, a.topicbutton:visited {
		color: grey;
		background-color: white;
	}

	a.topicbutton:hover, a.topicbutton:active {
		border-left: solid 1px black;
		border-right: solid 1px black;
		height: 60px;
		/* Style Variable for shading of nav button */
		background-color: orange;
	}

	a.morebutton:link, a.morebutton:visited {
		width: 100px;
		color: black;
		background-color: white;
		border-left: solid 1px grey;
		border-right: solid 1px grey;
	}

	a.morebutton:hover, a.morebutton:active {
		/* Style Variable for shading of nav button */
		background-color: orange;
		height: 60px;
	}

	a.searchbutton:link, a.searchbutton:visited {
		width: 100px;
/*    font-weight: bold; */
		color: black;
		background-color: white;
		border-right: solid 1px grey;
	}

	a.searchbutton:hover, a.searchbutton:active {
		/* Style Variable for shading of nav button */
		background-color: orange;
	}


	#soc-fb {
		width: 30px;
		height: 25px;
		background: url(/peach/images/sm-social-matrix.jpg) -334px -48px;
		/* border: solid 1px red; */
	}

	#soc-tw {
		width: 30px;
		height: 25px;
		background: url(/peach/images/sm-social-matrix.jpg) -125px -50px;
	}

	#soc-yt {
		width: 30px;
		height: 25px;
		background: url(/peach/images/sm-social-matrix.jpg) -58px -112px;
	}

	#soc-gp {
		width: 30px;
		height: 25px;
		background: url(/peach/images/sm-social-matrix.jpg) -395px -114px;
		display: none;
	}

	#soc-tu {
		width: 30px;
		height: 25px;
		background: url(/peach/images/sm-social-matrix.jpg) -260px -175px;
	}

	/* Meant to apply to social buttons allowing them a slightly elevated top margin (15px instead of 20px) */
	.social {
		margin-top: 15px;	
		margin-left: 10px;
	}

	#mobilemenu {
		display: none;
	}


	
}

ul {
	position: relative;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

li {
	display: inline-block;
	position: relative;
}

a.button:link, a.button:visited {
    width: 100px;
/*    font-weight: bold; */
    color: black;
    background-color: white;
	border-right: solid 1px grey;
}

a.button:hover, a.button:active {
	/* Style Variable for shading of nav button */
    background-color: orange;
}


/* All New in Rosebud Peach NFI Pilot - needs to be added, along with backpic story heading link to RnD NFI */
/* Likely to be a variable (probably #4) also- colour for this heading will vary */
a.bpnav:link, a.bpnav:visited {
	color: red;
    text-shadow: 4px 4px 4px #aaa;
	text-decoration: none;
}

a.bpnav:hover, a.bpnav:active {
	color: red;
    text-shadow: 4px 4px 4px #aaa;
	text-decoration: none;
}

a.whitenav:link, a.whitenav:visited {
	color: white;
}

a.whitenav:hover, a.whitenav:active {
	color: white;
}

a.yellownav:link, a.yellownav:visited {
	color: yellow;
	text-decoration: none;
}

a.yellownav:hover, a.yellownav:active {
	color: yellow;
	text-decoration: none;
}

a.bluenav:link, a.bluenav:visited {
	color: blue;
	text-decoration: none;
}

a.bluenav:hover, a.bluenav:active {
	color: blue;
	text-decoration: none;
}

a.cyannav:link, a.cyannav:visited {
	color: cyan;
    text-shadow: 4px 4px 4px #aaa;
	text-decoration: none;
}

a.cyannav:hover, a.cyannav:active {
	color: cyan;
    text-shadow: 4px 4px 4px #aaa;
	text-decoration: none;
}


