/* Standalone Portfolio styles.
   Base/header rules are the subset of SnakeSpeareV6/styles/styles_v4.css the portfolio page uses;
   panel rules are a copy of SnakeSpeareV6/styles/snakebites.css. */

/* ===== Base (from styles_v4.css) ===== */
:root {
  --default-bg: #FFFFFF;
  --default-font-color: #000000;
  --header-gradient-left: #F0F0F0;
  --link: #0080FF;
  --top-menu-highlight-bg: #878686;
  --header-colour: #08454e;
}
body {
  background-color: var(--default-bg);
  color: var(--default-font-color);
  margin: 0px;
  height: 100%;
  overflow: hidden;
}
body, td, input, select, textarea, div {
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: normal;
}

/* Custom scrollbar */
body, div {
  scrollbar-width: thin;
}
body::-webkit-scrollbar, div::-webkit-scrollbar {
  width: 11px;
}
body::-webkit-scrollbar:horizontal, div::-webkit-scrollbar:horizontal {
  height: 11px;
}
body::-webkit-scrollbar-thumb, div::-webkit-scrollbar-thumb {
  background-color: #B9B9B9;
  border-radius: 45px;
}
body::-webkit-scrollbar-thumb:hover, div::-webkit-scrollbar-thumb:hover {
  background-color: #C9C9C9;
}

/* ===== Header (from styles_v4.css) ===== */
#headerBar {
  width: 100%;
  min-width: 1000px;
  height: 42px;
  background-color: var(--header-colour);
  white-space: nowrap;
  overflow: hidden;
}
#portfolioLogo {
  width: 188px;
  height: 42px;
  background-image: url(../images/logo_portfolio_188x42.svg);
  float: left;
}
#incidiumLogo {
  width: 175px;
  height: 42px;
  background-image: url(../images/logo-incidium-175x42.svg);
  float: right;
}
#loginBar {
  width: 100%;
  min-width: 1050px;
  height: 26px;
  border-bottom: 1px solid #000000;
  overflow: hidden;
  background-color: var(--header-gradient-left);
}
#loginMenu {
  margin-left: 5px;
  float: left;
}
#loginMenu ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
#loginMenu ul li {
  height: 26px;
  position: relative;
  display: inline;
  float: left;
}
#loginMenu ul li a {
  display: block;
  padding: 6px 10px;
  text-decoration: none;
}
#loginMenu ul li a:link, #loginMenu ul li a:visited {
  color: var(--link);
}
#loginMenu ul li a:hover {
  background: var(--top-menu-highlight-bg);
  color: #EEEEEE;
}
/* sits directly below the header (42px) and login bar (26px + 1px border), so scrolled content never covers the border */
#mainContentWrapper {
  position: absolute;
  width: 100%;
  top: 69px;
  bottom: 0px;
  overflow: auto;
  clear: both;
}
#mainContent {
  margin: 15px;
}

/* ===== Panels (from snakebites.css) ===== */
.grid {
	 margin: 0 auto;
}
.grid:after {
  content: '';
  display: block;
  clear: both;
}
.bitesPanel {
	border: 1px solid #6f96b2;
	margin-left: 20px;
	margin-top: 20px;
}
.grid-item {
	float: left;
	width: 480px;
	visibility: hidden;
}
.heroGraphic {
	margin-top: 4px;
	margin-bottom: -4px;
	height: 257px;
	width: 456px;
}

.bitesBorderPanel {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	border: 2px solid #b9e0ec;
}
.bitesInnerPanel {
	background-color: #e3ebf1;
	padding: 10px;
}
.labelGraphic {
	width: 456px;
	height: 36px;
	display:block;
}
.moodGraphic {
	width: 456px;
	height: 36px;
	display:block;
}
.descText {
	font-family: Arial;
	font-size: 15px;
	background-color: #FFFFFF;
	color: #0d2e46;
	margin-top: 12px;
	padding: 8px;
	border: 1px dashed #6f96b2;
}
.ctaText {
	font-family: Arial;
	font-size: 13px;
	color: #0d2e46;
	text-indent: 4px;
	margin-top: 7px;
	margin-bottom: 3px;
}
.panelButton {
	background-color: #6f96b2;
	padding: 8px;
	margin-top: 4px;
}
.buttontext1 {
	font-family: Arial;
	font-size: 15px;
	color: #FFFFFF;
}
.buttontext2 {
	font-family: Arial;
	font-size: 12px;
	color: #FFFFFF;
	font-weight: bold;
	margin-top: 6px;
}
.panelButton:hover {
	background-color: #0d2e46;
	cursor: pointer;
}
.sliderHidden {
	visibility: hidden;
	width:456px;
	height:257px;
  overflow: hidden;
	z-index:0;
	margin-top: 4px;
}
.controlButton {
	width: 37px;
	height: 37px;
	float: right;
	right:0px;
	margin-top: 6px;
	margin-right: 6px;
	z-index: 100;
	position: absolute;
	background-image: url('../images/pauseplay.png');
}
.controlButton:hover {
	cursor:pointer;
}
.controlPlay {
	background-position: -37px 0;
}
.controlPause {
	background-position: 0 0;
}

@media (max-width: 930px) {
	.grid {
		max-width: 930px;
		margin: 0 0;
	}
	.bitesPanel {
		margin-left: 5px;
	}
	.gimage {
		margin-left: 5px;
	}
}

@media (max-width: 500px) {
	.grid {
		max-width: 500px;
		margin: 0 0;
	}
	.bitesPanel {
		margin-left: 5px;
	}
	.gimage {
		margin-left: 5px;
	}
}

/* Set Viewports */
@viewport {
  width: extend-to-zoom;
  zoom: 1.0;
}
@-ms-viewport{
  width: extend-to-zoom;
  zoom: 1.0;
}
