

/* ==========================================================================
   generic
   ========================================================================== */
 body, html{
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: 'Lato', sans-serif;
	color:#535353;
	background: #4DB1E7;
}

h1, h2, h3, h4{
	margin: 0;
	padding: 0;
	font-weight: 900;
	color: #535353;
}

.ellipsis {
  text-overflow: ellipsis;
  /* Required for text-overflow to do anything */
  white-space: nowrap;
  overflow: hidden;
}

.ellipses-2-lines{
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	line-height: 19px;     /* fallback */
	max-height: 38px;      /* fallback */
	-webkit-line-clamp: 2; /* number of lines to show */
	-webkit-box-orient: vertical;
}

img{
	max-width: 100%;
	height: auto;
}

.clear {
	clear: both;
	height: 0;
}

/* ==========================================================================
   pre loader
   ========================================================================== */

#page-loader {
    position:fixed;
    width:100%;
    height:100%;
    background:#4DB1E7;
    color: #fff;
    margin: 0;
    z-index:10000;
    padding: 0;
}

#page-loader .loader-logo{
    display:block;
    width:100%;
    position:absolute;
    top: 16%;
    margin:-35px auto 0;
    text-transform:uppercase;
    font-size: 53px;
    /* line-height:70px; */
    font-weight:400;
    text-align:center;
    z-index:2;
}

#page-loader .loader-logo span {
    font-size:52px;
    font-weight:100;
}

#page-loader .page-loader-gif {
    display:block;
    position:absolute;
    top: 160%;
    left:50%;
    margin-top:-64px;
    margin-left:-64px;
    width:128px;
    height:128px;
    /* background:url('../assets/page-loader-blue.gif') no-repeat; */
    z-index:1;
}

#page-loader h2{
	color: #fff;
	margin-bottom: 20px;
}

/* back to webaruba.com link */
.back-to-web{
	color: #fff;
	position: absolute;
	top: 10px;
	font-size: 16px;
	transition: all 300ms ease-in-out;
}

.back-to-web:hover{
	background: #80c8ef;
	text-decoration: none;
	color: #fff;
}

/* ==========================================================================
   interface
   ========================================================================== */
.main-container{
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 40px;
	background: #4DB1E7;
}

.interface-bg{
	background: #fff;
	width: 100%;
	max-width: 1840px;
	min-height: 895px;
	height: 92vh;
	padding: 1.5%;
	box-shadow: 0 10px 20px rgba(0,0,0,0.1), 0 1px 9px  rgba(0,0,0,0.33);
}

.interface-header{
	border-bottom: 1px solid #C2C2C2;
	height: 10%;
}

.interface-header h1{
	text-align: center;
	text-transform: uppercase;
	font-weight: 900;
	color: #4DB1E7;
	line-height: 5vh;
	font-size: 3vw;
	/* padding-top: 2%; */
}


.interface-secondary-row{
	height: 44%;
	border-bottom: 1px solid #C2C2C2 !important;
}



/* ==========================================================================
   main row
   ========================================================================== */

.interface-main-row{
	height: 35%;
	border-bottom: 1px solid #C2C2C2;
	padding-top: 20px;
	padding-bottom: 20px;
}

.interface-main-row .col{
	height: 100%;
	padding: 0;
	/* background: pink; */
	border-right: 1px solid #C2C2C2;
}

.interface-main-row .col-3{
	border-right: none;
}

.interface-main-row .col-1 img{
	width: 46%;
	position: relative;
}

.interface-main-row .col-1 img.border{
	position: absolute;
	left: 50%;
	margin-left: -23%;
}

.interface-main-row .col .title{
	font-size: 19px;
	font-weight: 900;
	margin-top: 3px;
	max-width: 176px;
	color: #4DB1E7;
	/* text-transform: capitalize; */
}

.interface-main-row .col .title>span{
	font-weight: 400;
	margin-top: 10px;
	color: #535353;
}

.interface-main-row .circle-icon-area{
	position: absolute;
	text-align: center;
}

.interface-main-row .circle-icon-area.wind{
	left: 0px;
	top:0;
}

.interface-main-row .circle-icon-area.wind img.in.border{
	animation: rotate 14s infinite;
	animation-timing-function: linear; 
	animation-delay: 0;
}

.interface-main-row .circle-icon-area.wind img.in.border-2{
	  animation-direction: reverse; 
}

.interface-main-row .circle-icon-area.solar{
	left: 0px;
	top: 54%;
}

.interface-main-row .circle-icon-area.solar img.in.border{
	animation: rotate 14s infinite;
	animation-timing-function: linear; 
	/* animation-delay: 9s; */
}

.interface-main-row .circle-icon-area.solar img.in.border-2{
	  animation-direction: reverse; 
}

.interface-main-row .circle-icon-area.total-power{
/*	position: relative;
	display: block;
	margin: 0 auto;
	margin-top: 66px;*/
	right: 4px;
	top:0;
}

.interface-main-row .circle-icon-area.total-power img.in.border{
	animation: rotate 14s infinite;
	animation-timing-function: linear; 
	/* animation-delay: 3s; */
}

.interface-main-row .circle-icon-area.total-power img.in.border-2{
	  animation-direction: reverse; 
}

.interface-main-row .circle-icon-area.bio-gas{
	right: 4px;
	top:0;
}

.interface-main-row .circle-icon-area.bio-gas img.in.border{
	animation: rotate 14s infinite;
	animation-timing-function: linear; 
	/* animation-delay: 6s; */
}

.interface-main-row .circle-icon-area.bio-gas img.in.border-2{
	  animation-direction: reverse; 
}

.interface-main-row .circle-icon-area.fossil-fuels{
	right: 4px;
	top: 52%;
}

.interface-main-row .circle-icon-area.fossil-fuels img.in.border{
	animation: rotate 14s infinite;
	animation-timing-function: linear; 
	/* animation-delay: 12s; */
}

.interface-main-row .circle-icon-area.fossil-fuels img.in.border-2{
	  animation-direction: reverse; 
}

.interface-main-row .circle-icon-area{
	position: absolute;
	text-align: center;
	width: 33.3333%;
	max-width: 176px;
	box-sizing: border-box;
}


@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*---row 1 col 2-------------------------------------------*/

.interface-main-row .col-2{
	padding: 10px 12px;
}
.carbon-counter{
	padding-top: 10px;
	float: left;
}

.carbon-counter span{
	font-size: 27px;
	font-weight: 900;
	border: 2px solid #4DB1E7;
	padding: 5px 9px;
	text-align: center;
	/* width: 41px; */
	margin-left: 6px;
	border-radius: 5px;
	display: inline-block;
}

.carbon-counter-unit{
	font-size: 38px;
	font-weight: 900;
	float: left;
	width: 0%;
	margin-left: 17px;
}

.ytd-cars{
	font-size: 1.5vw;
	font-weight: 700;
	margin-top: 43px;
	width: 70%;
	float: left;
}

.ytd-cars-images{
	float:left;
	display: block;
	width: 30%;
	margin-top: 43px;
	min-height: 76px;
	position: relative;
	/* overflow: hidden; */
}

.ytd-cars-images .car{
	width: 70%;
	position: absolute;
	bottom: 0;
	left: 10%;
}

.ytd-cars-images .dust{
	width: 22%;
	position: absolute;
	left: 74%;
	bottom: 1px;
	opacity: 0;
	transform-origin: 0% 100%;
	transform: scale(.4);
	animation: dust 3s infinite ease-in-out;
}


.carbon-footprint-number {
	color: #4DB1E7;
}

@keyframes dust {
  0% {
  	transform: scale(.4);
    opacity: 0;
  }
  50% {
  	transform: scale(1);
    opacity: 1
  }
  100% {
  	transform: scale(.4);
  	opacity: 0;
  }
}

/*---row 1 col 3-------------------------------------------*/

.interface-main-row .col-3 {
	padding: 10px 30px;
	position: relative;
}

.interface-main-row .col-3 h3 {
	font-size: 30px;
	width: 55%;
	float: left;
}

.interface-main-row .col-3 .leaf{
	width: 38%;
	/* float: left; */
	clear: both;
	bottom: 9px;
	margin-top: 22px;
	position: absolute;
}

.interface-main-row .col-3 .leaf img{
	/* position: absolute; */
	opacity: 1;
	max-width: 159px;
	/* width: 55%; */
}


.interface-main-row .col-3 .leaf-1.in{
	transform-origin: 0% 100%;
	animation: leafs 5s infinite ease-in-out;
	animation-delay: 0;

}


@keyframes leafs {
  0% {
    transform: translate(0px,0px) rotate(-2deg);
  }
  50% {
    transform: translate(20px,0px) rotate(5deg);
  }
  100% {
  	transform: translate(0px,0px) rotate(-2deg);
  }
}

.interface-main-row .col-3 .chart-container{
	float: left;
	position: relative;
	width: 45%;
	/* 	position: relative;
top: -71px; */
}

.pie-number {
	position: absolute;
	left: 46%;
	top: 50%;
	text-align: center;
	transform: translate(-50%,-50%);
	font-size: 40px;
	font-weight: 900;
}

.pie-number span{
	font-size: 27px;
	position: absolute;
	top: 6px;
}


/* ==========================================================================
   second row
   ========================================================================== */
 .interface-secondary-row{
	margin: 0;
	border: 0;
	position: relative;
	max-width: 100%;
}

.interface-secondary-row .slides{
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

.left-chart-area {
}

.left-chart-area img{
	max-width: 100%;
	z-index: 1;
	transition: all 1s ease-in;
	transform: translate(-400px,0);
}


.flex-active-slide .left-chart-area img{
	transform: translate(0px,0);
}

.left-chart-area h2{
	z-index: 2;
	position: absolute;
	left: 25%;
	top: 15%;
	width: 65%;
	font-size: 3vw;
	text-align: right;
	transition: all 1s ease-in;
	transform: translate(0px,200px);
}

.flex-active-slide .left-chart-area h2{
	transform: translate(0px,0);
}

.left-chart-area.white-text h2{
	color: #fff;
	text-shadow: 2px 2px 2px rgba(1,1,1,.8);
}

.left-chart-area.white-text h2>span{
	font-size: 45px;
}

.left-chart-area.wind h2{
	color: #4DB1E7;
}

.left-chart-area.solar h2{
	color: #F8A632;
}

.left-chart-area.biogas h2{
	color: #329d4a;
}


.left-chart-area.fossil-fuels h2{
	color: #EE2732;
}

.left-chart-area.carbon-footprint h2{
	/* color: #AB41A7; */
	color: #9B9B9B;
}

.left-chart-area.total-power h2{
	color: #AB41A7;
}

.chart-area{
	margin-top: 3vh;
}


/* ==========================================================================
  footer
   ========================================================================== */
.interface-footer{
	padding: 20px 0 0px;
	/* height: 13%; */
	/* overflow: hidden; */
}

.interface-footer img{
	max-width: 100%;
	height: auto;
	max-height: 68px;
	margin: 2% auto 0;
	display: block;
}

.thanks-text h2{
	font-size: 17px;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.footer-row{
}

.footer-block {
	border-right: 1px solid #C2C2C2;
	min-height: 68px;
	display: table;
}

.footer-block.no-border{
	border-right:none;
}

#clock, #current-date{
	font-size: 1.5vw;
	line-height: 35px;
	font-weight: 700;
	color: #4DB1E7;
	text-align: center;
	/* display: table-cell; */
	vertical-align: middle;
}


/*==========  Non-Mobile First Method  ==========*/
@media only screen and (min-width : 1920px) {
	.interface-header h1{
		font-size: 70px;
	}

	.ytd-cars{
		font-size: 28px;
	}

	.left-chart-area h2{
		font-size: 60px;
	}

	#clock, #current-date{
		font-size: 29px;
	}
}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1199px) {


	/* title */
	.interface-header{
		height: auto;
		padding-bottom: 20px;
	}
	.interface-header h1{
		font-size: 35px;
	}

	/* circles */
	.interface-main-row .col .title{
		font-size: 14px;
		/* width: 100%; */
		max-width: none;
	}

	.main-container{
		height: auto;
	}

   .interface-bg{
		height: auto;
	}

	/*row 1*/
	.interface-main-row .col{
		border-right: none;
		overflow: hidden;
		padding: 10px 0 20px;
		border-bottom: 1px solid #c2c2c2;
	}
	
	/* circles */

	.interface-main-row .circle-icon-area.total-power{
		margin-top: 0;
	}
	
	.interface-main-row{
		height: auto;
		border-bottom: none;
	}
	.interface-main-row .circle-icon-area {
		width: 20%;
		float: left;
		max-width: none;
		margin-bottom: 10px;
		position: relative;
		/* display: block; */
	}

	/* col 2 */
	.ytd-cars{
		font-size: 20px;
		width: 100%;
		margin-top: 15px;
		text-align: center;
	}

	.interface-main-row .col-2 h3{
		margin: 12px 0;
		text-align: center;
		padding-bottom: 9px;
		border-bottom: 2px solid #4CAFE5;
	}

	.carbon-counter{
	float: none;
	width: 264px;
	display: inline;
	left: 50%;
	position: relative;
	margin-left: -132px;
	}

	.ytd-cars-images {
		margin-top: 4%;
		left: 50%;
		transform: translateX(-50%);
	}

	.carbon-counter-unit{
		text-align: center;
		width: 100%;
		margin-left: 0;
		margin-top: 0px;
		border-bottom: 2px solid #4CAFE5;
	}

	/* col 3 */
	.interface-main-row .col-3 h3{
		width: 100%;
		margin: 10px 0;
		text-align: center;
		font-size: 24px;
	}

	/* circle chart */
	.interface-main-row .col-3 .chart-container{
		width: 39%;
		left: 50%;
		transform: translateX(-50%);
	}

	.interface-main-row .col-3 .leaf{
		display: none;
	}
	/* row 2 */

	.interface-secondary-row{
		height: auto;
	}

	.interface-secondary-row .slides{
		height: 35vw;
	}

	 .interface-secondary-row .slides{
	 	transform: none;
	 }

	 .left-chart-area{
	 	
	 }

	 .left-chart-area h2{
	 	width: 100%;
	 	text-align: left;
	 	position: static;
	 	margin: 20px 0;
	 	font-size: 30px;
	 }

	 .left-chart-area.white-text h2{
		color: #F8A632;
		text-shadow: none;
		font-size: 30px;
	 }

	 .left-chart-area.white-text h2>span{
	 	font-size: 30px;
	 }

	.flexslider .slides img{
		display: none;
	}

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
	.footer-block{
		display: block;
		border-right: none;
		border-bottom: 1px solid #C2C2C2;
		padding: 12px 0;
	}

	.footer-block h2{
		text-align: center;
		display: block;
	}

	.footer-block.thanks-text{
		border-bottom: none;
		padding: 0;
		height: 10px;
		min-height: 0;
		margin-bottom: 16px;
	}

	.clock-footer{
		border-bottom: none;
		text-align: center;
	}

	#clock{
		display: block;
	}

	#clock, #current-date{
		font-size: 25px;
	}
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {

	/* title */
	.interface-header {
		padding-bottom: 10px;
	}


	/*main*/
	.main-container{
		padding:15px;
	}
	.main-container.aruba{
		padding:15px;
		padding-top: 35px;
	}
	.interface-bg{
		padding: 15px;
		height: auto;
	}

	/* circles */
	.interface-main-row .circle-icon-area {
		width: 50%;
		float: left;
		max-width: none;
		margin-bottom: 10px;
		position: relative;
		/* display: block; */
	}

	.interface-main-row .circle-icon-area.total-power{
		/*left: 50%;
    	transform: translateX(-50%);*/
	}

	.interface-secondary-row .slides{
		height: 60vw;
	}

	.left-chart-area h2{
		font-size: 24px;
		text-align: center;
	}

	 .left-chart-area.white-text h2{
		font-size: 24px;
	 }

	 .left-chart-area.white-text h2>span{
	 	font-size: 24px;
	 }
}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {
 	.interface-header h1{
		font-size: 23px; 
		line-height: 30px;
	}

	.flex-nav-prev, .flex-nav-next{
		/* display: none; */
	}

}

/* Custom, iPhone Retina */ 
@media only screen and (max-width : 320px) {
    
}


