/* Stylesheet for Global Battery Solutions by Rowan Bixler */

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

html {
	scroll-behavior: smooth;
}

body {
	padding-right: 2.5%;
	padding-left: 2.5%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 100px;
}

header {
	max-width: 100%;
}

.banner {
	display: block;
	width: 322px;
	max-width: 100%;
	margin-top: 10px;
	margin-left: auto;
	margin-right: auto;
}

.toolbar {
	height: 100px;
	width: 100%;
	display: inline-block;
	background-color: rgba(255,255,255,0.8);
	/* Experimental web feature (Can be viewed in Microsoft Edge) */
	backdrop-filter: saturate(180%) blur(20px);  
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	position: fixed;
	top: 0;
	z-index: 2;
	left: 0;
	transition: 0.3s;
}

.toolbox {
	float: right;
	/*padding-right: 4em;*/
	display: inline-block;
	vertical-align: center;
	margin-top: 0px;
	transition: 0.4s;
}

.toolicon {
	padding-left: 2em;
}

/* Tooltip container */
.tooltip {
	position: relative;
	display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
	display: inline;
	visibility: hidden;
	width: 100px;
	background-color: #2b2b2b;
	color: #fff;
	text-align: center;
	padding: 5px 0;
	border-radius: 6px;
	font-family: 'Open Sans', sans-serif;

	/* Position the tooltip text */
	position: absolute;
	z-index: 1;
	top: 110%;
	left: 25%;
	margin-left: -17px;

	/* Fade in tooltip */
	opacity: 0;
	transition: opacity 0.4s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: transparent transparent #2b2b2b transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
	visibility: visible;
	opacity: 1;
}

.open {
	color: #62788d;
	font-weight: bold;
	font-size: 50px;
	margin-left: 35px;
	margin-right: 10px;
}

.sidenav {
	height: 100%; /* 100% Full-height */
	width: 0; /* 0 width - change this with JavaScript */
	position: fixed; /* Stay in place */
	z-index: 3; /* Stay on top */
	top: 0;
	right: 0;
	background-color: #62788d;
	overflow-x: hidden;/* Disable horizontal scroll */
	padding-top: 60px; /* Place content 60px from the top */
	transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

button {
	color: inherit;
	background-color: inherit;
	border: none;
}

button:active {
	border: none;
}

/* The navigation menu links */
.sidenav a, .dropdown-btn {
	padding: 8px 8px 8px 32px;
	text-decoration: none;
	font-size: 16px;
	font-family: 'Open Sans', sans-serif;
	color: #FFFFFF;
	display: block;
	transition: 0.3s;
}

.non-dropdown-nav {
	margin-left: -8px;
}

.dropdown-container {
	display: none;
	background-color: #FFFFFF;
	padding-left: 8px;
}

.dropdown-container a {
	color: #7d99b4;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:active {
	color: #FFFFFF;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
	position: absolute;
	top: 0;
	right: 25px;
	font-size: 36px;
	margin-left: 50px;
}

.navbar {
	float: right;
}

.dropbtn {
	background-color: rgba(125, 153, 180, 0.6);
	/* Experimental web feature (Can be viewed in Microsoft Edge) */
	backdrop-filter: blur(10px);  
	-webkit-backdrop-filter: blur(10px);
	color: white;
	padding: 16px;
	font-size: 16px;
	border: none;
	cursor: pointer;
	font-family: 'Open Sans', sans-serif;
	transition: 0.4s;
}

.dropbtn a {
	text-decoration: none;
	color: white;
}

.dropdown {
	position: relative;
	display: inline-block;
	transition: 0.4s;
}

.dropdown-content {
	visibility: hidden;
	opacity: 0;
	position: absolute;
	right: 0;
	background-color: #f9f9f9;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
}

.dropdown-content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
	transition: 0.4s;
	font-family: 'Open Sans', sans-serif;
}

.dropdown-content a:hover {
	background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
	visibility: visible; 
	opacity: 1; 
	transition: visibility 0s, opacity 0.4s linear;
}

.dropdown:hover .dropbtn {
	background-color: #62788d;
}

.navheader {
	min-height: 380px;

	/* Center and scale the image nicely */
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
  
	/* Needed to position the navbar */
	position: relative;
	margin-top: 100px;
}

#main {
	width: 100%;
	max-width: 100%;
	margin-top: 0px;
}

h1 {
	font-size: 50px;
	font-family: 'Open Sans', sans-serif;
}

h2 {
	font-family: 'Open Sans', sans-serif;
}

p {
	font-size: 1.15em;
	font-family: 'Open Sans', sans-serif;
}

ul {
	font-size: 1.15em;
	font-family: 'Open Sans', sans-serif;
	text-decoration: none;
}

article {
	display: inline-block;
	padding-top: 5em;
	padding-bottom: 5em;
	width: 100%;
}

.right-article-img {
	display: inline-block;
	float: right;
	margin-left: 2em;
	max-width: 100%;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.left-article-img {
	display: inline-block;
	float: left;
	margin-right: 2em;
	max-width: 100%;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.background-img-article {
	color: #FFFFFF;
	text-align: center;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.whitebutton {
	display: inline-block; 
	padding: 10px 20px; 
	border: solid #ffffff;  
	font-weight: bold;
	letter-spacing: 0.0625em; 
	background: #ffffff00; 
	color: #ffffff; 
	text-decoration: none;
	font-family: 'Open Sans', sans-serif;
	transition: 0.4s;
}

.whitebutton:hover, .blackbutton:hover {
	border: solid #7d99b4;
	color: #7d99b4;
}

.blackbutton {
	display: inline-block; 
	padding: 10px 20px; 
	border: solid #000000;  
	font-weight: bold;
	letter-spacing: 0.0625em; 
	background: #ffffff00; 
	color: #000000; 
	text-decoration: none;
	font-family: 'Open Sans', sans-serif;
	transition: 0.4s;
	cursor: pointer;
}

/*Accordion style rules*/
.accordion {
  	cursor: pointer;
  	display: inline-block; 
	padding: 10px 20px; 
	border: solid #000000;  
	font-weight: bold;
	letter-spacing: 0.0625em; 
	background: #ffffff00; 
	color: #000000; 
	text-decoration: none;
    font-family: 'Open Sans', sans-serif;
	transition: 0.4s;
	font-size: 1.15em;
}

.active, .accordion:hover {
  	border: solid #7d99b4;
	color: #7d99b4;
}

.panel {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-out;
}

/*Timeline style rules*/
.timeline, .timeline-container, .timeline-left, .timeline-right, .timeline-content {
	box-sizing: border-box;
}

/* The actual timeline (the vertical ruler) */
.timeline {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
	content: '';
	position: absolute;
	width: 6px;
	background-color: #000000;
	top: 0;
	bottom: 0;
	left: 50%;
	margin-left: -3px;
}

/* Container around content */
.timeline-container {
	padding: 10px 40px;
	position: relative;
	background-color: inherit;
	width: 50%;
}

/* The circles on the timeline */
.timeline-container::after {
	content: '';
	position: absolute;
	width: 25px;
	height: 25px;
	right: -17px;
	background-color: white;
	border: 4px solid #7d99b4;
	top: 15px;
	border-radius: 50%;
	z-index: 1;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

/* Place the container to the left */
.timeline-left {
	left: 0;
}

/* Place the container to the right */
.timeline-right {
	left: 50%;
}

/* Add arrows to the left container (pointing right) */
.timeline-left::before {
	content: " ";
	height: 0;
	position: absolute;
	top: 22px;
	width: 0;
	z-index: 1;
	right: 30px;
	border: solid #7d99b4;
	border-width: 10px 0 10px 10px;
	border-color: transparent transparent transparent #7d99b4;
}

/* Add arrows to the right container (pointing left) */
.timeline-right::before {
	content: " ";
	height: 0;
	position: absolute;
	top: 22px;
	width: 0;
	z-index: 1;
	left: 30px;
	border: solid #7d99b4;
	border-width: 10px 10px 10px 0;
	border-color: transparent #7d99b4 transparent transparent;
}

/* Fix the circle for containers on the right side */
.timeline-right::after {
	left: -16px;
}

/* The actual content */
.timeline-content {
	padding: 20px 30px;
	background-color: white;
	position: relative;
	border-radius: 6px;
	border: solid #7d99b4;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.timeline-content img {
	display: block;
	margin-right: auto;
	margin-left: auto;
	width: 100%;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
/* Place the timelime to the left */
.timeline::after {
	left: 31px;
}

/* Full-width containers */
.timeline-container {
	width: 100%;
	padding-left: 70px;
	padding-right: 25px;
}
  
/* Make sure that all arrows are pointing leftwards */
.timeline-container::before {
	left: 60px;
	border: medium solid white;
	border-width: 10px 10px 10px 0;
	border-color: transparent white transparent transparent;
}

/* Make sure all circles are at the same spot */
.timeline-left::after, .timeline-right::after {
	left: 15px;
}
  
/* Make all right containers behave like the left ones */
.timeline-right {
	left: 0%;
}

} /*End of Timeline rules*/

.profilecard {
	display: inline-block;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
	width: 350px;
	max-width: 90%;
	margin-left: auto;
	margin-right: auto;
	margin: 1em;
	text-align: center;
}

.profileimg {
	width: 100%;
}

.jobtitle {
	color: grey;
	font-size: 15px;
}

.profilelink {
	height: 30px;
	width: 30px;
	cursor: pointer;
	margin-bottom: 10px;
}

.press article {
	display: inline;
	width: 100%;
	height: 600px;
}

.presslogo {
	display: inline-block;
	height: 15px;
	float: left;
	padding: 0;
	margin-top: 15px;
	margin-right: 5px;
}

.press a {
	text-decoration: none;
	color: #62788d;
}

.press a:hover {
	color: #7d99b4;
}

.press h1 {
	font-size: 15px;
	font-weight: bold;
}

.press h2 {
	font-size: 1.5em;
}

.pubdate {
	color: grey;
}

.haloaccess {
	width: 100%;
	height: 821px;
	margin-top: 2em;
	border: solid #7d99b4;
}

footer {
	width: 100%;
	margin-top: 2em;
	padding-top: 2em;
	border-top: solid #7d99b4;
}

footer a {
	text-decoration: none;
	color: #62788d;
	font-size: 12px;
	font-family: 'Open Sans', sans-serif;
	margin-right: 2em;
	text-align: left;
	padding-bottom: 1em;
}	

footer a:hover {
	color: #7d99b4;
}

footer p {
	font-size: 12px;
	font-family: 'Open Sans', sans-serif;
	text-align: right;
}

.desktop {
	display: none;
}

.tablet {
	display: none;
}

.mobile {
	display: inline;
}

@media only screen and (min-width: 850px) {
	
body {
	margin-top: 0px;
}

.banner {
	display: inline;
	width: 322px;
	max-width: 100%;
    height: auto;
	float: left;
	margin-right: 1em;	
	margin-top: 1em;
	margin-left: 2.5%;
	margin-bottom: 0.5em;
	max-width: 100%;
}

.toolbar {
	position: fixed;
	top: 0;
	z-index: 2;
	left: 0;
}

.toolbox {
	margin-top: 20px;
	margin-right: 2.5%;
}

#main {
	width: 92%;
	max-width: 92%;
	margin-left: auto;
	margin-right: auto;
}

.right-article-img {
	max-width: 55%;
}

.left-article-img {
	max-width: 55%;
}

.press {
	display: inline-block;
	width: 30%;
	padding: 2em;
	border-right: solid #7d99b4;
}

.diagram-element a {
	text-decoration: none;
	color: #FFFFFF;
	font-family: 'Open Sans', sans-serif;
	transition: 0.4s;
	font-weight: bold;
}

.diagram-label {
	text-align: left; 
	margin-left: 5%; 
	margin-right: 85%;
	padding-bottom: 3em;
}

.diagram-number {
	padding: 1.5em;
	font-size: 1em;
	border: solid #FFFFFF;
	border-radius: 50px;
	background-color: rgba(125, 153, 180, 0.8);
	/* Experimental web feature (Can be viewed in Microsoft Edge) */
	backdrop-filter: blur(10px);  
	-webkit-backdrop-filter: blur(10px);
}

.diagram-element a:hover {
	color: #7d99b4;
}

.diagram-number:hover {
	border: solid #7d99b4;
	background: rgba(255, 255, 255, 1);
}

.diagram-label:hover + .diagram-number {
	color: #7d99b4;
	border: solid #7d99b4;
	background: rgba(255, 255, 255, 1);
}

.desktop {
	display: inline;
}

.tablet {
	display: none;
}

.mobile {
	display: none;
}

}