/* 
This CSS file is sourced from:
ROSEbud NFI BASE CSS Style Sheet (rosenfibase.css)
Version 0.2 started 10/7/17 
Introduces support for Navigator sidebar  

Version 0.1 ARCHIVED 10/7/17

----
About: ROSEbud NFI BASE CSS Style Sheet (rosenfibase.css)
For use with Rosebud-Doolinx NFI 
Was itself based on:
RoseBud Style Sheet
for RnD Pilot (rosestyle.css)
*/
* {
    box-sizing: border-box;
}
/* Education is the Key to ALL Success - November 3rd 2015 */

body {
	margin: 0px;
	padding: 0px;
}

/* Vertical Spacing Element */
.vertical-spacing-element {
		border: solid 1px white;
		margin: auto;
		margin-top: 50px;
		vertical-align: middle;
		text-align: center;
		width: 100%;	
		/* test */
		clear: left;
}

/* V02 Changes start */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-family: "Lato", sans-serif;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover, .offcanvas a:focus{
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

/* V02 Changes End */


header {
	/* RoseBud Style Variable #2  */
	background-color: white;
	padding: 0px;
	margin: 0px;
    float: left;
	width: 100%;
	font-family: arial, sans-serif;
	border: solid 0px red;
}

/* 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-3-backpic {
	height: 480px;
	/* RoseBud Style Variables #3 - I think!  
	background: url(images/rbud-midsize-gourl.jpg) no-repeat; */
	border: solid 0px red;
}


.col-3 {
	border: solid 1px grey;
	border-radius: 25px;
	width: 98%;
	margin: 1%;
	font-family: arial, sans-serif;
	/* height: 640px; */
	position: relative;
	background-color: white;
}

.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;
	border: solid 0px red;
}

.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;
}

.storypic {
	float: left;
	/* margin-left: 0px; */
	/* changes march 2017 */
	margin-left: 20px;
	margin-top: 0px;
}

/*
.storypic h1 {
	font-family: arial;

}
*/

	span.storypic {
	/* float: left; 
	margin-left: 10px; 
	width:98%;  */
	margin-top: 20px; 
	margin-right: 20px;
	border: solid 0px red;
}

	.storypicimage {
	display: block;
	margin: auto;
	max-width: 100%;
	}

.panelheading {
	float: left;
	margin-left: 10px;
	margin-top: 20px;
}

.panelheading h1, .panelheading h3 {
		font-family: "century gothic";
		color: black;
		font-weight: normal;
		display: inline;
		border: solid 0px green;
}

.panelstoryright {
		border: solid 0px green;
		margin-left: 400px;
		display: block;
		padding-right: 10px;
		font-family: "arial";
		font-size: 20px;
		color: gray;
}

.panelstoryright h1,h2 {
	color: black;
}

.panelstoryright a {
    text-decoration: none;
	color: gray;
}

.panelstoryright a:hover {
	color: black;
}


/* 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 */

#mainstorypic {
		width: 100%; 
		height: 315px;
		border: solid 0px red;
}

#mainheading {
		clear: both;
		position: relative;
		display: block;
		top: 93%; 
		left: 40%;
		width:40%; 
		background-color: white; 
		padding:0px;
		border: solid 0px red;		
}

[class*="button"] {
	float: left;
	display: block;
    text-align: center;
    padding: 3px;
    text-decoration: none;
    text-transform: uppercase;
}


/* Mobile Navigator */
#navbay {
		display: block;
/*		margin-top:48%;
		margin-left:42.5%; */
		margin-top:200px;
		margin-left:160px;
		width:50px; 
/*		background-color: rgba(0,0,0,0.5); */
		background-color: black; 
		padding:10px;
}

#mainheading h1, h3 {
		font-family: "arial";
/*		font-size: 30px; */
		color: gray;
		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;
}

.storyheading a {
	text-decoration: none;
}


@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;
	}

	#mainstorypic {
/*		width: 320px; 
/* Variable #4 */
		/* changes march 2017 */
		height: 320px; 
		background-position: -250px -25px;
	}

	#mainheading {
		clear: both;
		top: 55%; 
		left: 10%;
		width:80%; 
/*		background-color: rgba(0,0,0,0.5); */
		padding:10px;
	}
	
	

	#panelcontainer {
		margin-left: 0%;
	}

	
}


@media only screen and (min-width: 768px) {
    /* For desktop: */
    .col-1 {width: 8.33%;}
    .col-2 {width: 16.66%;}
    .col-3 {
		border: solid 1px grey; 
		font-family: arial, sans-serif;
		border-radius: 25px;
		margin: 1%;
		height: 250px;
	}
    .col-4 {width: 33.33%;}
    .col-5 {width: 41.66%;}
    .col-6 {width: 50%;}
    .col-7 {width: 58.33%;}
    .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; 
	}

/* Desktop Navigator */
#navbay {
		float: right;
		display: block;
		margin-top:5%;
		margin-right:5%;
		top: 5%; 
		right: 5%;
		width:50px; 
		background-color: rgba(0,0,0,0.5); 
		padding:10px;
}

	#panelcontainer {
		margin-left: 1%;
		/* changes october 2018 */
	}

	.col-3-backpic {
		width: 24%; 
		margin-left: 14%;
	}

	.col-3-rowstart {
		width: 24%; 
		margin-left: 14%;
	}

	.col-3-ddp {
		width: 26.35%; 
		border: solid 1px grey;
		border-radius: 25px;
		margin: 1%;
		font-family: arial, sans-serif;
	}

	
	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(images/sm-social-matrix.jpg) -334px -48px;
		/* border: solid 1px red; */
	}

	#soc-tw {
		width: 30px;
		height: 25px;
		background: url(images/sm-social-matrix.jpg) -125px -50px;
	}

	#soc-yt {
		width: 30px;
		height: 25px;
		background: url(images/sm-social-matrix.jpg) -58px -112px;
	}

	#soc-gp {
		width: 30px;
		height: 25px;
		background: url(images/sm-social-matrix.jpg) -395px -114px;
		display: none;
	}

	#soc-tu {
		width: 30px;
		height: 25px;
		background: url(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: orange;
    text-shadow: 4px 4px 4px #aaa;
	text-decoration: none;
}

a.bpnav:hover, a.bpnav:active {
	color: orange;
    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;
}

	
/* DESKTOP-ONLY Section */
@media screen and (min-width: 760px) {
	.col-3 {
		min-height: 250px;
	}
	
/* END DESKTOP-ONLY Section */
}

/* MOBILE-ONLY Section */
@media screen and (max-width: 760px) {
	.fw-panelcontainer {
		margin: 0%;
	}	
	
	.panelstoryright {
		border: solid 0px green;
		margin-left: 10px;
		margin-top: 230px;
	}
	
	.col-3 {
		width: 98%;
		position: relative;
		background-color: white;
	}
	
}
/* END MOBILE-ONLY Section */

#mainstorypic {
	/* RoseBud Style Variable #2 - mainstory image */

background: url(/nfi/images/doolinxlogo1366banner.jpg) no-repeat center;
}
@media only screen and (max-width: 768px) {
#mainstorypic {background: url(/nfi/images/doolinxlogo360x640.jpg) no-repeat;
}
}

