/* //////////////////////////////// DASHBOARDS //////////////////////////////// */

#dashboards { display: none; width: 100%; height: 100%; position: absolute; z-index: 9999; background-color: rgba(0,0,0,0.8); top: 0; left: 0; }

#dashboards h2, #dashboards h3, #dashboards h4, #dashboards h5 { color: #FFF; }

#dashboards h2 { font-size: 30px; line-height: 40px; margin-bottom: 20px; position: relative; z-index: 100; }
#dashboards h3 { font-size: 25px; line-height: 35px; margin-bottom: 20px; position: relative; z-index: 100; }
#dashboards p { color: #EEE; }

#dashboard-outer { 
	width: 100%; height: 100%; 
	position: absolute; z-index: 8000; 
	display: block; overflow: visible; top: 0; right: 0; text-decoration: none; 
}

#dashboard-inner { display: block; width: 100%; height: auto; position: relative; padding: 0; overflow: visible; overflow-y: auto; height: calc(100% - 0px); background-color: #111; } 

#dashboards .db-content.main { width: 100%; display: block; clear: both; position: relative; }
#dashboards .db-content.aside { background-color: #222; width: 100%; display: block; clear: both; position: relative; }

#dashboards .db-content .db-inner { padding: 20px; position: relative; }

#dashboards .close-btn { 
	width: 40px; height: 40px; top: 20px; right: 20px; padding: 0; display: block; position: absolute; z-index: 100; border-radius: 100px; -webkit-border-radius: 100px;
	background: url(../img/close2.png) no-repeat center; background-size: 20px; background-color: #00d4c3; cursor: pointer; 
} 

#dashboards .live-scales { margin: 0 auto; padding: 0; }

/* Switch */

.switch-container { cursor: default; position: relative; left: 50%; margin-left: -85px; margin-bottom: 20px; margin-top: 30px; padding-bottom: 10px; width: 200px; display: block; overflow: hidden; }

.switch-container div.label { display: inline-block; color: #777; font-size: 18px; line-height: 18px; font-family: Panton,Times New Roman, serif; font-style: normal !important; font-weight: 600; text-rendering: optimizeLegibility; }

.switch { position: relative; display: inline-block; width: 60px; height: 34px; margin: 0 15px -8px 15px; }
.switch input { display: none; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #00d4c3; -webkit-transition: .4s; transition: .4s; }
.slider:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: #000; -webkit-transition: .4s; transition: .4s; }

input:checked+.slider { background-color: #00d4c3; }
input:focus+.slider { box-shadow: 0 0 1px #00d4c3; }
input:checked+.slider:before { -webkit-transform: translateX(26px); -ms-transform: translateX(26px); transform: translateX(26px); }

.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }

#dashboard .switch-content { display: block; overflow: hidden; padding: 10px 0; }

.switch-container .label.active { color: #FFF; }

/* Dashbaord Lightbox */

#dashboard-lightbox-container { width: 100%; height: 100%; display: none; position: absolute; z-index: 9999; top: 0; left: 0;  }

#dashboard-lightbox { 
	width: 100%; height: 100%; 
	display: flex; justify-content: center; align-items: center; align-content: center;
	overflow: hidden; top: 0; right: 0; text-decoration: none; 
	background-color: rgba(0,0,0,0.6); 
}

#dashboard-lightbox-inner { width: 90%; max-width: 450px; height: auto; position: relative; padding: 0; overflow: visible; } 

.dashboard-close { 
	width: 40px; height: 40px; top: 10px; right: 10px; padding: 0; display: block; position: absolute; border-radius: 100px; -webkit-border-radius: 100px;
	background: url(../img/close2.png) no-repeat center; background-size: 20px; background-color: #00d4c3; cursor: pointer; 
}

#dashboard-lightbox-inner h3 { font-size: 25px; line-height: 35px; margin-bottom: 20px; color: #333; font-family: Panton,Times New Roman, serif; font-style: normal !important; font-weight: 600; text-rendering: optimizeLegibility; }
#dashboard-lightbox-inner p { color: #666; font-size: 14px; line-height: 18px; }

.dashboard-lightbox-header { height: 125px; width: 100%; display: block; background-color: #4daf50; border-radius: 20px; -webkit-border-radius: 20px; }

.dashboard-lightbox-header.red { background-color: #c00d0e; }
.dashboard-lightbox-header.green { background-color: #4daf50; }
.dashboard-lightbox-header.lime { background-color: #86bd27; }
.dashboard-lightbox-header.orange { background-color: #f18a00; }
.dashboard-lightbox-header.yellow { background-color: #00d4c3; }
.dashboard-lightbox-header.pink { background-color: #e50251; }
.dashboard-lightbox-header.blue { background-color: #178ecc; }

.dashboard-lightbox-icon { width: 200px; height: 200px; position: absolute; z-index: 300; left: 50%; margin-left: -100px; margin-top: -100px; }
.dashboard-lightbox-icon img { width: 100%; height: auto; display: block; }

#dashboard-content { position: relative; display: block; }

.dashboard-lightbox-text { padding: 100px 20px 20px 20px; text-align: left; margin-top: -100px; border-radius: 0 0 20px 20px; -webkit-border-radius: 0 0 20px 20px; background-color: #FFF; }

/* Live and Counting */

.live-header { width: 140px; height: 100px; display: block; position: absolute; z-index: 0; top: 0; right: 0; background: url('../inline/img/dashboards/scales/live-01.svg') no-repeat top right; background-size: 100%; pointer-events: none; }

.shift-down { margin-top: 80px; }

.live-data { width: 100%; height: auto; display: block; padding: 10px 0; /* background: url('../inline/img/dashboards/scales/line-02.svg') no-repeat left 10% bottom 10%; background-size: 15%; */ }

.live-data .data-item { display: block; clear: both; padding: 10px 0; position: relative; } 
.live-data .data-item:nth-child(even) { padding: 10px 0 10px 20px; }

.live-data .data-item .data-img { width: 150px; height: 150px; margin-right: 20px; float: left; display: inline-block; position: relative; }
.live-data .data-item .data-img span.data-feed-lrg { position: absolute; z-index: 100; top: 80px; font-size: 30px; line-height: 40px; text-align: center; width: 100%; color: #FFF; font-family: Panton, Times New Roman, serif; font-style: normal !important; font-weight: 600;}
.live-data .data-item .data-img span.data-feed-lrg.short { top: 65px; }
.live-data .data-item .data-img span.data-feed-sml { position: absolute; z-index: 100; top: 100px; font-size: 16px; line-height: 20px; text-align: center; width: 100%; color: #FFF; font-family: Panton, Times New Roman, serif; font-style: normal !important; font-weight: 600;}

.live-data .data-item h4 { font-size: 18px; line-height: 28px; color: #FFF; font-family: 'Panton', Arial, sans-serif; font-weight: 700; margin: 20px 0; }
.live-data .data-item a { color: #FFF !important; font-size: 14px; line-height: 20px; padding-bottom: 5px; border-bottom: 2px solid #00d4c3; text-decoration: none; }
.live-data .data-item a:hover { color: #00d4c3 !important; }

.live-data .data-item .data-img.meals { background: url('../inline/img/dashboards/scales/data-blob-1-01.png') no-repeat center; background-size: 100%; }
.live-data .data-item .data-img.c02 { background: url('../inline/img/dashboards/scales/data-blob-2-01.png') no-repeat center; background-size: 100%; }
.live-data .data-item .data-img.earth { background: url('../inline/img/dashboards/scales/data-blob-3-01.png') no-repeat center; background-size: 100%; }

/* Live Header */
.live-header .ring-container { position: absolute; top: 31px; right: 7px; display: block; width: 50px; height: 50px; overflow: hidden; }
.live-header .circle { width: 15px; height: 15px; background-color: #c00d0e; border-radius: 50%; position: absolute; top: 10px; left: 10px; }
.live-header .ringring { border: 3px solid #c00d0e; -webkit-border-radius: 30px; height: 25px; width: 25px; position: absolute; left: 5px; top: 5px; -webkit-animation: pulsate 1s ease-out; -webkit-animation-iteration-count: infinite;  opacity: 0.0; }

@-webkit-keyframes pulsate { 0% {-webkit-transform: scale(0.1, 0.1); opacity: 0.0;} 50% {opacity: 1.0;} 100% {-webkit-transform: scale(1.2, 1.2); opacity: 0.0;} }

/* Rainforest */

#dashboard-inner.rainforest { background-color: #FFF; } 

#dashboard-inner.rainforest .title { position: relative; z-index: 4000; top: 0px; left: 0px; padding: 30px; display: block; overflow: hidden; pointer-events: none; }
#dashboard-inner.rainforest .title h2 { color: #222; max-width: 80%; }
#dashboard-inner.rainforest .title p { color: #222; width: 70%; }

.rainforest-container-outer { position: relative; display: block; width: 100%; height: auto; overflow: hidden; }
.rainforest-container { display: block; overflow: hidden; position: relative; width: 100%; bottom: 0; }
.rainforest-container img { width: 100%; height: auto; display: block; }

.hotspots { position: absolute; display: block; width: 100%; height: 100%; overflow: hidden; top: 0; left: 0; }
.hotspot { position: absolute; display: block; width: 50px; height: 50px; overflow: hidden; z-index: 1000; }
.hotspot .circle { width: 15px; height: 15px; background-color: #e50251; border-radius: 50%; position: absolute; top: 10px; left: 10px; }
.hotspot .ringring { border: 3px solid #e50251; -webkit-border-radius: 30px; height: 25px; width: 25px; position: absolute; left: 5px; top: 5px; -webkit-animation: pulsate 1s ease-out; -webkit-animation-iteration-count: infinite;  opacity: 0.0; }

.hotspot.air { top: 8%; left: 45%; }
.hotspot.clouds { top: 12%; left: 58%; }
.hotspot.rain { top: 30%; left: 23%; }
.hotspot.tree { top: 42%; left: 78%; }
.hotspot.roots { top: 68%; left: 45%; }
.hotspot.carbon { top: 51%; left: 52%; }

#dashboard-lightbox-inner.simple {  } 
#dashboard-lightbox-inner.simple .dashboard-lightbox-text { padding: 50px 50px 50px 50px; background-color: #ffda00; border-radius: 20px; -webkit-border-radius: 20px; } 
#dashboard-lightbox-inner.simple .dashboard-close { background: url(../img/close3.png) no-repeat center; background-size: 20px; background-color: #000; top: -90px; }

a.rainforest-btn { 
	font-size: 12px; line-height: 16px;
	position: absolute; bottom: 15px; margin: 0 auto; padding: 10px 20px; 
	background-color: #c00d0e; color: #FFF !important;
	text-decoration: none; font-weight: bold; text-align: center; text-transform: uppercase; 
	border-radius: 0 100px 100px 0; -webkit-border-radius: 0 100px 100px 0; 
	-webkit-transition: .3s ease-in-out; -moz-transition: .3s ease-in-out; -o-transition: .3s ease-in-out; transition: .3s ease-in-out;
}
a.rainforest-btn:hover { background-color: #333; padding: 10px 40px;  }


/* Graph */

.graph { width: 100%; height: auto; display: block; overflow: hidden; }

.graph-img { width: 100%; height: 200px; padding-bottom: 25%; display: inline-block; position: relative; background: url('../inline/img/dashboards/rainforest/graph-bkg-01.svg') no-repeat left top; background-size: 100%; }

.graph-img .graph-data { width: 100%; height: auto; position: absolute; z-index: 100; top: 0; left: 0; display: block; }

.graph-data img { width: 100%; height: auto; display: block; }

.graph-key { width: 100%; display: inline-block; float: right; margin-top: 20px; }

.graph-key .key-item { text-decoration: none; margin: 0 0 10px 0; display: inline-block; }

.graph-key .key-item .switch { width: 45px; height: 22px; display: inline-block; margin: 0 0 -8px 0; }
.graph-key .key-item .key-label { display: inline-block; padding: 0 10px 0 5px; }
.graph-key .key-item .key-label a { color: #FFF !important; font-size: 11px; line-height: 14px; font-weight: bold; text-decoration: none; }
.graph-key .key-item .key-label a:hover { color: #00d4c3 !important; }

.graph-key .switch.green .slider { background-color: #86bd27; }
.graph-key .switch.orange .slider { background-color: #f18a00; }
.graph-key .switch.yellow .slider { background-color: #00d4c3; }
.graph-key .switch.red .slider { background-color: #e50251; }
.graph-key .switch.blue .slider { background-color: #178ecc; }

.graph-key .slider:before { height: 16px; width: 16px; left: 3px; bottom: 3px; background-color: #000; }

.graph-key input:checked+.slider { background-color: #00d4c3; }
.graph-key input:focus+.slider { box-shadow: 0 0 1px #00d4c3; }
.graph-key input:checked+.slider:before { -webkit-transform: translateX(23px); -ms-transform: translateX(23px); transform: translateX(23px); }

/* rainforest Live Data */

.rainforest-live-data { display: flex; width: 100%; align-items: center; justify-content: space-between; position: relative; z-index: 100; margin-top: 50px; }
.rainforest-live-data .item { width: 150px; height: 150px; }
.rainforest-live-data .item.titles {  }

.rainforest-live-data .item.item-data { }
.rainforest-live-data .item h4 { font-size: 14px; line-height: 14px; clear: both; color: #000 !important; text-align: center; margin: 15% 0; font-family: Panton, Times New Roman, serif; font-style: normal !important; font-weight: 600; }
.rainforest-live-data .item h4 span.rn-data { font-size: 18px; line-height: 18px; }
.rainforest-live-data .item h4 span.rn-unit { font-size: 14px; line-height: 14px; padding-left: 5px; }

.rainforest-live-data .item.titles { background: url('../inline/img/dashboards/rainforest/live-blob-titles-01.svg') no-repeat left top; background-size: 100%; }
.rainforest-live-data .item.blob-1 { background: url('../inline/img/dashboards/rainforest/live-blob-1-01.svg') no-repeat left top; background-size: 100%; }
.rainforest-live-data .item.blob-2 { background: url('../inline/img/dashboards/rainforest/live-blob-2-01.svg') no-repeat left top; background-size: 100%; }
.rainforest-live-data .item.blob-3 { background: url('../inline/img/dashboards/rainforest/live-blob-3-01.svg') no-repeat left top; background-size: 100%; }

.rainforest-live-data .blob-title { position: absolute; z-index: 100; margin-top: -30px; width: 25%; display: block; color: #CCC !important; font-size: 12px !important; text-align: center; }

/* AQL */

.aql-live { width: 50px; height: auto; position: absolute; right: 140px; top: 30px; display: block; }



/* //////////////////////////////////////////////////////////////////////////////////////////// */
/* //////////////////////////////// START OF RESPONSIVE STYLES //////////////////////////////// */
/* //////////////////////////////////////////////////////////////////////////////////////////// */


/* ////////////////////////////////  bigger than mobile version //////////////////////////////// */

@media screen and (min-width: 480px) {



}

/* //////////////////////////////// ipad mini or galaxy note version //////////////////////////////// */  

@media screen and (min-width: 480px) and (max-width: 768px) {

	#dashboards .live-scales { padding: 0 15%; }

	.rainforest-container { /* margin-top: 150px; */ }

	.graph { width: 100%; }
	.graph-img { width: 60%; height: 180px; padding-bottom: 15%; }
	.graph-key { width: 40%; }
	.graph-key .key-item { margin: 0 0 10px 10px; display: block; clear: both; }

	a.rainforest-btn { font-size: 16px; line-height: 22px; bottom: 30px; }

}

/* //////////////////////////////// big ipad version //////////////////////////////// */

@media screen and (min-width: 768px) {

/* 	#dashboard-inner { width: 90%; height: 90%; } */

	#dashboards h2 { font-size: 30px; line-height: 40px; margin-bottom: 30px; }
	#dashboards h3 { font-size: 25px; line-height: 35px; margin-bottom: 30px; }

	#dashboards .live-scales { padding: 0 15%; }

	#dashboard-lightbox-inner {  max-width: 500px; width: 90%; }
	.dashboard-lightbox-text { padding: 120px 40px 40px 40px; }
	#dashboard-lightbox-inner h3 { font-size: 35px; line-height: 45px; }
	#dashboard-lightbox-inner p { color: #666; font-size: 16px; line-height: 26px; }

	.graph { width: 100%; }
	.graph-img { width: 55%; height: 220px; padding-bottom: 25%; margin-right: 5%; }
	.graph-key { width: 40%; }
	.graph-key .key-item { margin: 0 0 5px 5px; display: block; clear: both; }

	a.rainforest-btn { font-size: 16px; line-height: 22px; bottom: 30px; }

}

/* //////////////////////////////// full wide version //////////////////////////////// */ 

@media screen and (min-width: 960px) {

	#dashboard-outer { width: 100%; position: absolute; z-index: 8000; display: flex; justify-content: center; align-items: center; align-content: center;overflow: hidden; top: 0; right: 0; text-decoration: none; }
	#dashboard-inner { display: flex; align-items: stretch; justify-content: flex-end; width: 90%; height: 90%; position: relative; padding: 0; overflow: visible; background-color: #111; border-radius: 5px; -webkit-border-radius: 5px; } 

	#dashboards .db-content.main.rainforest-live { width: 50%; }
	#dashboards .db-content.aside.rainforest-live { width: 50%; }

	#dashboards .db-content.aside { overflow-y: auto; }

	#dashboards .close-btn { width: 50px; height: 50px; top: -25px; right: -25px; }

	#dashboards .db-content .db-inner { padding: 30px; position: relative; }

	#dashboards .live-scales { margin: 0 auto; padding: 0; }

	#dashboards .switch-content { padding: 0px; }

	.shift-down { margin-top: 0px; }

	#dashboard-lightbox-inner { max-width: 600px; }
	.dashboard-lightbox-text { padding: 120px 50px 50px 50px; }
	.dashboard-lightbox-text.scroll { height: 70vh; overflow-y: scroll; }

	.dashboard-lightbox-header { height: 175px; }
	#dashboard-lightbox-inner h3 { font-size: 40px; line-height: 50px; }
	#dashboard-lightbox-inner p { color: #000; font-size: 18px; line-height: 28px; }
	.dashboard-lightbox-icon { width: 300px; height: 300px; margin-left: -150px; margin-top: -150px; }
	.dashboard-close { width: 50px; height: 50px; }

	.db-inner-rainforest { display: flex; flex-direction: column; flex-wrap: wrap; align-items: stretch; }

	#dashboard-inner.rainforest .title { position: relative; z-index: 4000; top: 0; }
	#dashboard-inner.rainforest .title h2 { max-width: 100%; }
	#dashboard-inner.rainforest .title p { width: 100%; }

	.rainforest-container { position: relative; bottom: 0; }
	.rainforest-container-outer { position: relative; bottom: 0; height: 100%; }

	.rainforest-live-data .item h4 span.rn-data { font-size: 16px; line-height: 16px; }
	.rainforest-live-data .item h4 span.rn-unit { font-size: 12px; line-height: 12px; padding-left: 5px; }

	.graph-img { padding-bottom: 15%; }

}

/* //////////////////////////////// full wide 1080 version //////////////////////////////// */ 

@media screen and (min-width: 1080px) {

	#dashboards h2 { margin-bottom: 20px; }
	#dashboards h3 { margin-bottom: 20px; }

	#dashboard-inner.rainforest .title { position: absolute; z-index: 4000; top: 0; }
	#dashboard-inner.rainforest .title h2 { max-width: 100%; }
	#dashboard-inner.rainforest .title p { width: 45%; }

	.rainforest-container { position: absolute; bottom: 0; }
	.rainforest-container-outer { position: absolute; bottom: 0; height: 100%; }

	#dashboards .db-content.aside.rainforest-live .db-inner.short { padding: 15px 30px; }

	.graph-key { margin-top: 0px; }
	.graph-img { padding-bottom: 2%; }

}

/* //////////////////////////////// full wide version //////////////////////////////// */ 

@media screen and (min-width: 1200px) {

	.graph-key { margin-top: 0px; }
	.graph-img { padding-bottom: 15%; }

}

/* //////////////////////////////// very wide version //////////////////////////////// */ 

@media screen and (min-width: 1500px) { 

	#dashboard-inner { width: 80%; height: 80%; }

	.rainforest-container { /* margin-top: 200px; */ }

	.rainforest-live-data .item h4 { font-size: 16px; line-height: 16px; }
	.rainforest-live-data .item h4 span.rn-data { font-size: 18px; line-height: 18px; }
	.rainforest-live-data .item h4 span.rn-unit { font-size: 14px; line-height: 14px; padding-left: 5px; }

	.graph-img { padding-bottom: 45%; }
	.graph-key .key-item .key-label { margin: 10px 0; }
	.graph-key .key-item .key-label a { font-size: 16px; line-height: 20px; }

}

/* //////////////////////////////// extra wide version //////////////////////////////// */ 

@media screen and (min-width: 1750px) {

	#dashboards h2 { font-size: 50px; line-height: 56px; margin-bottom: 30px; }
	#dashboards h3 { font-size: 35px; line-height: 45px; margin-bottom: 30px; }

	#dashboard-inner { width: 80%; }

	#dashboards .switch-content { padding: 30px; }

	.switch-container { margin-left: -150px; margin-bottom: 20px; width: 300px; }
	.switch-container div.label { font-size: 25px; line-height: 25px; }

	.live-data { padding: 10px 0; }
	.live-data .data-item:nth-child(even) { padding: 10px 0 10px 20px; }
	.live-data .data-item { padding: 20px 0; }
	.live-data .data-item h4 { font-size: 25px; line-height: 35px; }

}

/* //////////////////////////////// extra extra wide version //////////////////////////////// */ 

@media screen and (min-width: 2000px) {

	#dashboard-inner { width: 70%; }

}
