body { 
	/*border: 1px solid red;*/
}

.middle-align-helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

img {
    display: inline-block;
    vertical-align: middle;
}

#holderDiv {
	position: absolute;
	z-index: 0;
		-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
		-moz-box-sizing: border-box;    /* Firefox, other Gecko */
		box-sizing: border-box;         /* Opera/IE 8+ */
	background-color: #1d2b34;
	border-radius: 7px;
	padding: 0px 6px;
	/*v for biggeye-specific sizing v*/
	margin: 0 auto;
	width: 100%;
	overflow: hidden;
		/*border: 1px solid yellow;*/

}
#panel-div {
	position: relative;
	    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
	    box-sizing: border-box;         /* Opera/IE 8+ */
	background-color:  #26495f;
	border-radius: 3px;
	padding: 3px;
	margin: 0.5em auto;
	text-align: center;
}
#viewer-div {
	position:relative;
	display: inline-block;
	z-index: 0;
}
#mosaic-holder {
	position:relative;
	display: inline-block;
	z-index: 0;
}
/*.rotated #mosaic-holder {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}*/

#holderDiv.rotated {
	-webkit-transform: rotateZ(-90deg);
	transform: rotateZ(-90deg);
	padding: 0px 0px;
	-webkit-transform-origin: top left;
	transform-origin: top left;
	/*position: absolute;*/
	top: 100%;
	margin: 0 auto;
	margin: 0 auto;
}
.rotated #panel-div {
	/*border: 2px solid orange;*/
	padding: 0;
	margin: 0;
}
.rotated #viewer-div {

}
.rotated #countdown-holder {
	position: absolute;
	right: 0px;
	text-align: right;
}

/* 
----------------------
POPUP DISPLAY
----------------------
*/

#popup-display {
	text-align: center;
	width: 512px;
	height: 384px;
	font-size: 20px;
	left: 394px;
	top: 15%;
	background-color: #FFFFFF;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	margin: 0 auto;
	border: 8px solid rgba(0,0,0,0.65);
	-moz-background-clip: padding;     /* Firefox 3.6 */
	-webkit-background-clip: padding;  /* Safari 4? Chrome 6? */
	background-clip: padding-box;      /* Firefox 4, Safari 5, Opera 10, IE 9 */
	border-top: none;
	position: absolute;
	z-index: 200;
	color: orange;
	box-shadow: 0px 8px 20px 8px rgba(0,0,0,0.4), inset 0px 0px 30px -15px #FFFFFF;
	display: none;
}
#popup-display > .metrics-bar {
	display: inline-block;
	position: absolute;
	width: 23%;
	height: 80%;
	border-radius: 10px 10px 0 0;
	box-shadow: 3px 1px 3px rgba(0,0,0,0.5);
	bottom: 12%;
	border: 3px solid rgba(255,255,255,0.6);
	border-bottom: 0;
}
#popup-display > .response {
	background: -webkit-linear-gradient(rgba(244,164,96,0.95), rgba(244,164,96,0.25)); /* For Safari 5.1 to 6.0 */
	  background: -o-linear-gradient(rgba(244,164,96,0.95), rgba(244,164,96,0.25)); /* For Opera 11.1 to 12.0 */
	  background: -moz-linear-gradient(rgba(244,164,96,0.95), rgba(244,164,96,0.25)); /* For Firefox 3.6 to 15 */
	  background: linear-gradient(rgba(244,164,96,0.95), rgba(244,164,96,0.25)); /* Standard syntax */
	left: 0.5%;
}
#popup-display > .reach {
		background: -webkit-linear-gradient(rgba(153,153,204,0.95), rgba(153,153,204,0.25)); /* For Safari 5.1 to 6.0 */
		  background: -o-linear-gradient(rgba(153,153,204,0.95), rgba(153,153,204,0.25)); /* For Opera 11.1 to 12.0 */
		  background: -moz-linear-gradient(rgba(153,153,204,0.95), rgba(153,153,204,0.25)); /* For Firefox 3.6 to 15 */
		  background: linear-gradient(rgba(153,153,204,0.95), rgba(153,153,204,0.25)); /* Standard syntax */
	left: 25.5%;
}
#popup-display > .google-load {
	background: -webkit-linear-gradient(rgba(153,153,102,0.95), rgba(153,153,102,0.25)); 
	  background: -o-linear-gradient(rgba(153,153,102,0.95), rgba(153,153,102,0.25)); 
	  background: -moz-linear-gradient(rgba(153,153,102,0.95), rgba(153,153,102,0.25)); 
	  background: linear-gradient(rgba(153,153,102,0.95), rgba(153,153,102,0.25));
	left: 50.5%;
}
#popup-display > .availability {
	background: -webkit-linear-gradient(rgba(95,158,160,0.95), rgba(95,158,160,0.25)); /* For Safari 5.1 to 6.0 */
	  background: -o-linear-gradient(rgba(95,158,160,0.95), rgba(95,158,160,0.25)); /* For Opera 11.1 to 12.0 */
	  background: -moz-linear-gradient(rgba(95,158,160,0.95), rgba(295,158,160,0.25)); /* For Firefox 3.6 to 15 */
	  background: linear-gradient(rgba(95,158,160,0.95), rgba(95,158,160,0.25)); /* Standard syntax */
	left: 75.5%;
}
#popup-display > .metric-text {
	padding-top:6px;
	background: -webkit-linear-gradient(rgba(50,50,50,0.75), rgba(50,50,50,0.55)); /* For Safari 5.1 to 6.0 */
	  background: -o-linear-gradient(rgba(50,50,50,0.75), rgba(50,50,50,0.55)); /* For Opera 11.1 to 12.0 */
	  background: -moz-linear-gradient(rgba(50,50,50,0.75), rgba(50,50,50,0.55)); /* For Firefox 3.6 to 15 */
	  background: linear-gradient(rgba(50,50,50,0.75), rgba(50,50,50,0.55)); /* Standard syntax */
	width: 24%; /*124px;*/
	height: 12%;
	color: white;
	font-family: sans-serif;
	font-size: 65%;
	line-height: 110%;
	letter-spacing: 0px;
	bottom: 0px;
	position:absolute;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
	text-shadow: 0 0 3px  #000000, 0 1px 3px #000000;
}
.metric-text {
	box-shadow: 3px 1px 3px rgba(0,0,0,0.5);
}

#popup-display > .response.metric-text {
	color: #f4a460;
}
#popup-display > .reach.metric-text {
	color: #9999cc;
}
#popup-display > .google-load.metric-text {
	color: #999966;
}
#popup-display > .availability.metric-text {
	color: #5f9ea0;
}
#popup-display > #popup-header {
	position: absolute;
	width: 100%;
	background-color: rgba(0,0,0,0.65);
	  -moz-background-clip: padding;     /* Firefox 3.6 */
	  -webkit-background-clip: padding;  /* Safari 4? Chrome 6? */
	  background-clip: padding-box;      /* Firefox 4, Safari 5, Opera 10, IE 9 */
	border-radius: 0.5em 0.5em 0 0;
	bottom: 100%;
	left: -8px;
	padding: 3px 0 18px 0;
	border: 8px solid rgba(0,0,0,0.65);
	border-bottom: none;
	box-shadow: 0px -8px 20px 8px rgba(255,255,255,0.2);
}
#popup-display > #popup-header > #popup-site-name {
	color:  #5b889f;
	font-family: sans-serif;
	font-size: 95%;
	text-shadow: 2px 2px 2px rgba(0,0,0,.5);
	width: 100%;
}
#popup-display > #popup-header > #popup-site-name a {
	color: #566;
	font-size: 85%;
	text-decoration: none;
}
#popup-display > #popup-header > #popup-site-name a:hover {
	color: #FFF;
}

#popup-display > #popup-header > .x {
	text-align: center;
	width: 5%;
	padding-bottom:5%;
	border-radius:50%;
	color: #3b5967;
	position: absolute;
	right: 0;
	top: 0;
	border: 2px solid #1d2b34;
	cursor: pointer;
}
#popup-display > #popup-header > .x:after {
	content: "x";
	position: absolute;
		left: 50%;
		margin-left: -25%;
	font-family: sans-serif;
	font-size: 120%;
	font-weight: bold;
	line-height: 100%;
}
#popup-display > #popup-header > .x:hover {
	color: #ffffff;
	border: 2px solid #dddddd;
}

#popup-display > .floating-circle-text {
	text-align: center;
	background-color: rgba(0,0,0,0.45);
	color: #3b5967;
	font-family: sans-serif;
	font-size: 340%;
	width: 22.5%;
	height: 30%;
	border-radius: 50%;
	top: 33%;
	margin: auto 0 auto 0;
	position: absolute;
	line-height: 165%;
}

#popup-display > #popup-site-rank {
	left: -42%;
	top: 33%;
	color: #496e80;
}
#popup-display > #popup-prev, #popup-display > #popup-next {
	top: 33%;
	text-align: center;
	cursor: pointer;
	color: #3b5967;
	line-height: 150%;
}
#popup-display > #popup-prev {
	right: -36%;
}
#popup-display > #popup-next {
	right: -60%;
}
#popup-cover {
	background-color: rgba(0,0,0,0.65);
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 190;
	display: none;
}

/*
	POPUP ROTATED
*/
.rotated #popup-display {
	left: 394px;
	top: 25%;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0); /*bug fix - layering gets lost upon rotation*/
}
.rotated #popup-cover {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

.rotated #popup-display > #popup-site-rank {
	left: 39%;
	top: 110%;
}
.rotated #popup-display > #popup-prev, .rotated #popup-display > #popup-next {
	top: 110%;
	text-align: center;
	cursor: pointer;
	color: #3b5967;
	line-height: 150%;
}
.rotated #popup-display > #popup-prev {
	left: 0%;
}
.rotated #popup-display > #popup-next {
	right: 0%;
}

/*
--------------- END POPUP DISPLAY ---------------
*/
#metrics-controls {
	position: relative;
	display: block;
	margin-top: 0.4em;
	color: #83a3b7;
}
.metric-toggle {
	color: #507b95;
	font-family: sans-serif;
	text-transform: uppercase;
	font-size: calc( 0.8vw );
	cursor: pointer;
}
.metric-toggle:hover {
	color: #83a3b7;
}
.metric-toggle[data-selected=true] {
  color: #83a3b7;
}
#toggle-number::after, #toggle-url::after, #toggle-sheen::after {
	content: " ";
	display: inline-block;
	width: 4em;
	/*border: 1px solid orange;*/
}
#off::before, [id='4-bars']::before { /* can't start #id with a number */
	content: " | ";
	/*display: inline;*/
	margin: 0 1em;
}
#bottom-bars-holder {
	/*border: 1px solid red; */
	/*position: relative;*/
	z-index: 10;
}
#infobar-holder {
	position: relative;
	margin-top: 30px;
	/*border: 1px dashed green;*/
}
.rotated #bottom-bars-holder {
	display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;	width: 100%; 
}
.rotated #metrics-controls {
	-webkit-order: 1;
		    order: 1;
	margin-top: 0.15em;
	padding-bottom: 0.25em;
}
.rotated .metric-toggle {
	display: none;
}
.rotated #infobar-holder {
	-webkit-order: 2;
		    order: 2;
	margin-top: 0;
	z-index: 2;
}
.rotated .help-icon {
	display: none;
}
.rotated .infobar-scroller-labels {

	/*display: table-row;*/ /* Will be displayed in the middle */
}
.rotated .infobar-scroller-labels span {
	top: 1em;
}
.rotated .infobar-scroller {
	/*display: table-row;*/
}


.rotated #metrics-controls label {
	margin-left: 0.5em;
	margin-right: 0.5em;
}

.rotated .metric-toggle, .rotated #metrics-controls input[type=checkbox] + span {
  font-size: calc( 1.2vh );
  margin-right: calc( 0.5vh );
  margin-left: calc( 0.3vh );
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
body {
	background-color: #000;
	margin: 0;
	height: 100%;
}
html {
	height: 100%;
}
input[value=response] {
	background-color: #F4A460;	
}
input[value=reach] {
	background-color: #9999CC;
}
input[value=googleScore] {
	background-color: #999966;
}
input[value=availability] {
	background-color: #5F9EA0;	
}
input[type=checkbox] {
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid #555555;
	box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);
	padding: calc( 0.4vw );
	margin: 0 0 -3px 0;
	border-radius: 4px;
	display: inline-block;
	position: relative;
}
input[type=checkbox]:checked:after {
	content: '\2714';
	font-size: 12px;
	position: absolute;
	top: -3px;
	left: 3px;
	color: #EEEEEE;
}

input[type=checkbox] + span {
  color: #507b95;
  font-family: sans-serif;
  text-transform: uppercase;
  font-size: calc( 0.8vw );
  cursor: pointer;
  margin-right: 8px;
  margin-left: 4px;
} 
input[type=checkbox] + span:hover {
  color: #83a3b7;
} 
input[type=checkbox]:checked + span {
  color: #83a3b7;
  font-style: normal;
}

.rotated #metrics-controls input[type=checkbox]:checked:after {
	font-size: 12px;
	top: -3px;
	left: 3px;
}

.clearfix:after {
  content: " ";
  display: table;
  clear: both;
}
.clearfix:before {
  content: " ";
  display: table;
  clear: both;
}

/* Large screens ----------- */
#header-img {
	width: 25%; 
	margin: 0.9em 0.1em 0.75em 1.5vw; 
	color: #9cf; f
	font-family: sans-serif;
}
/*#beta-img {
	display:inline-block;
	float:right;
	margin-top: 1%;
}*/
/*#footer-img {
	margin: 0 0 0 0;
	display:inline-block;
	left:0;
	width:100%;
}*/
#ngs-logo-img {
	margin-left: 22px;
	margin-top: 10px;
	/*width: 300px;*/
	width: 17%;
}
#tk-logo-img {
	float: right;
	margin-top: 7px;
	width: 17%;
}

.rotated #header-img {
	width: 30%; 
	margin-bottom: 1.2em;
}
.rotated #ngs-logo-img {
	margin-left: 1.2em;
	margin-top: 1em;
	width: 25%;
}
.rotated #tk-logo-img {
    margin-top: 1em;
    margin-right: 1.5%;
	width: 27%;
}

#media-test {
	color: white;
	font-size: 30px;
}
/*@media (max-width : 1300px) {
	#footer-img {
		width:100%;
	}

	#media-test {
		color: orange;
	}
}*/
/*@media (max-width : 1158px ) {
	#holderDiv {
		width: 1024px;
	}
	#panel-div {
		width: 1012px;
	}
}*/
/*@media (max-width : 738px) {
	#media-test {
		color: yellow;
	}
	#header-img {
		width:84%;
	}
	#beta-img {
		width:15%;
	}
}*/