/*
Theme Name: Rekon Group
Theme URI: http://limedesign.com.au
Author: Nathan Winnall
Author URI: http://limedesign.com.au
Description: A theme for Rekon Group
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


/* normalize.css */
button,hr,input{overflow:visible}progress,sub,sup{vertical-align:baseline}[type=checkbox],[type=radio],legend{box-sizing:border-box;padding:0}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}details,main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;text-decoration:none}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{padding:.35em .75em .625em}legend{color:inherit;display:table;max-width:100%;white-space:normal}textarea{overflow:auto}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}[hidden],template{display:none}

/* GLOBAL STYLES */
html {
	box-sizing: border-box;
	width:100%;
	height:100%;
	margin:0;
	padding:0;
}

body {
	width:100%;
	min-height:100%;
	padding: 10px;
	margin:0;
	box-sizing: border-box;
	color: #323e48;
	background: #ffffff;
	font-family: 'robotolight';
	font-size: 16px;
	line-height: 1.6em;
	overflow-x: hidden;
}

img {
	display: block;
}

p {
	margin: 0 0 20px 0;
}

p:last-child {
	margin: 0;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	margin-bottom: 15px;
}

h1, h2, h3 {
	font-family: 'ridleyLight';
}

h1 strong, h2 strong, h3 strong {
	font-family: 'ridleyBold';	
}

.btn-solid {
	display: inline-block;
	position: relative;
	font-family: 'ridleyBold';
	padding: 10px 15px;
	background: #00aeef;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: .3s ease;
	box-sizing: border-box;
	cursor: pointer;
	border-radius: 4px;
}

.btn-solid:hover {
	background: #323e48;
}

/* COLOURS */
.white {
	color: #ffffff;
}

.bg-blue {
	background: #00aeef;
}

.bg-light-blue-grey {
	background: #f7f8fc;
}

/* HEADER */
header {
	position: relative;
	width: 100%;
	height: 80px;
}

.site-logo {
	display: block;
	position: absolute;
	top: 18px;
	left:20px;
	width: 240px;
	box-sizing: border-box;
	z-index: 1010;
}

.mobile-site-logo {
	display: block;
	position: absolute;
	top: 30px;
	width: 200px;
	height: 50px;
}

.mobile-site-logo img {
	width: 100%;
	height: auto;
}

.rekon-welcome {
	display: block;
	position: absolute;
	top: 24px;
	left:280px;
	font-size: .85em;
	width: auto;
	box-sizing: border-box;
}

/* CONTENT */
main.content {
	height: calc(70vh - 90px);
}

main.content .ff-grid {
	height: 100%;
}

main.content .site {
	width: 25%;
	height: 100%;
	background-size: cover;
	background-position: center right;
	background-repeat: no-repeat;
	flex: 1;
	-webkit-transition: flex .8s ease;
	transition: flex .8s ease;
}

main.content .site:hover {
	flex: 5;	
}

/* P4RM EQUATION */

.p4rm-eq {}

.p4rm-eq .p4rm-item {
	position: relative;
	flex-grow: 1;
	flex-basis: 0;
	padding: 0;
	margin: 0;
	text-align: center;
}

.p4rm-eq .p4rm-item:after {
	display: block;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: -7px;
	width: 14px;
	height: 14px;
	content: '';
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	background-image: url('svg/times.svg');	
}

.p4rm-eq .p4rm-item:first-child:after {
	display: none;
}

.p4rm-eq .p4rm-item:last-child:after {
	background-image: url('svg/equals.svg');	
}

.p4rm-eq .p4rm-item .radialProgressBar {
	 position: relative;
	text-align: center;
	width: 110px;
	height: 110px;
	margin: 0 auto;
	border-radius: 100%;
	background-repeat: no-repeat;
	background-position: center;
}

.p4rm-eq .p4rm-item .radialProgressBar.people {
	background-image: url('svg/people-circle-bg.svg');
}

.p4rm-eq .p4rm-item .radialProgressBar.planning {
	background-image: url('svg/planning-circle-bg.svg');
}

.p4rm-eq .p4rm-item .radialProgressBar.plan {
	background-image: url('svg/plan-circle-bg.svg');
}

.p4rm-eq .p4rm-item .radialProgressBar.perform {
	background-image: url('svg/perform-circle-bg.svg');
}

.p4rm-eq .p4rm-item .radialProgressBar.reflect {
	background-image: url('svg/reflect-circle-bg.svg');
}

.p4rm-eq .p4rm-item .radialProgressBar.money {
	background-image: url('svg/money-circle-bg.svg');
}

.p4rm-eq .p4rm-item .radialProgressBar.results {
	background-image: url('svg/results-circle-bg.svg');
}

.p4rm-eq .p4rm-item .overlay {
	display: -ms-flexbox;
	display: flex;
	
	-ms-flex-pack: center;
	justify-content: center;
	
	-ms-flex-align: stretch;
	align-items: stretch;
	
	-ms-flex-line-pack: stretch;
	align-content: stretch;
	
	  position: relative;
	 padding-top: 60px;
	 font-family: 'ridleyBold';
	 font-size: .8em;
	 text-transform: uppercase;
}

.p4rm-eq .p4rm-item:last-child {
	color: #ffffff;
}

.p4rm-eq .p4rm-item .overlay:before {
	display: block;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 18px;
	content: '';
	width: 40px;
	height: 40px;
	background-repeat: no-repeat;
	background-position: top center;
	background-size: contain;	
}

.p4rm-eq .p4rm-item .people .overlay:before {
	background-image: url('svg/p4rm-people-icon.svg');
}

.p4rm-eq .p4rm-item .planning .overlay:before {
	background-image: url('svg/p4rm-planning-icon.svg');
}

.p4rm-eq .p4rm-item .plan .overlay:before {
	background-image: url('svg/p4rm-plan-icon.svg');
}

.p4rm-eq .p4rm-item .perform .overlay:before {
	background-image: url('svg/p4rm-perform-icon.svg');
}

.p4rm-eq .p4rm-item .reflect .overlay:before {
	background-image: url('svg/p4rm-reflect-icon.svg');
}

.p4rm-eq .p4rm-item .money .overlay:before {
	background-image: url('svg/p4rm-money-icon.svg');
}

.p4rm-eq .p4rm-item .results .overlay:before {
	background-image: url('svg/p4rm-results-icon.svg');
}


/* FOOTER */
footer.footer {
	height: calc(30vh - 20px);
	min-height: 195px;
	margin-top: 10px;
	padding: 20px;
	box-sizing: border-box;
}

footer.footer .ff-grid {
	height: 100%;
}


.accordion {
  width: 100%;
  height: calc(70vh - 90px);
  overflow: hidden;
}

.accordion ul {
  width: 100%;
  height: 100%;
  display: table;
  table-layout: fixed;
  margin: 0;
  padding: 0;
}

.accordion ul li {
  display: table-cell;
  vertical-align: bottom;
  position: relative;
  width: 25%;
  height: 100%;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  transition: all 1200ms ease;
}

.accordion ul li.site .normal-state {
	height: 100%;
}

.accordion ul li .normal-state .title-container {
	background: #ffffff;
	padding: 10px 20px;
	border-radius: 5px;
	transition: .5s ease;
}

.accordion ul li .normal-state .title-container .site-icon {
	vertical-align: top;
	display: inline-block;
	width: 30px;
}

.accordion ul li .normal-state .title-container .site-title {
	vertical-align: top;
	display: inline-block;
	padding: 4px 0 0 10px;
	font-family: 'ridleyBold';
	font-size: 1.5em;
	color: #00aeef;
}

.accordion ul li .hover-state {
	display: none;
}

.accordion ul li.site.active .hover-state {
	display: flex;
}

.accordion ul li .hover-state .hover-cont {
	visibility: hidden;
	opacity; 0;
}

.accordion ul li.site.active .hover-state .hover-cont {
	visibility: visible;
	opacity; 1;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 40px;
	width: 100%;
}


.accordion ul li.site.no-active .normal-state .title-container {
	background: transparent;
}

/* HOVER STATE */
.accordion ul li.site .hover-state .title-container .site-icon {
	vertical-align: top;
	display: inline-block;
	width: 60px;
}

.accordion ul li.site .hover-state .title-container .site-title {
	vertical-align: top;
	display: inline-block;
	padding: 20px 0 0 20px;
	font-family: 'ridleyBold';
	font-size: 2.5em;
	color: #00aeef;
}

.accordion ul li.site.active .hover-state .hover-cont .hover-desc {
	padding-left: 80px	
}

.accordion ul li.site.active .normal-state {
	display: none;
}

/* HOVER STATES NO-ACTIVE */
.accordion ul li.site.no-active .normal-state .title-container .site-title {
	display: none;
}

.accordion ul li.site.no-active .normal-state .title-container .site-icon {
	width: 60px;
}

/*.accordion ul li div {
  display: block;
  overflow: hidden;
  width: 100%;
  height: 100%;
}*/


.accordion ul:hover li { width: 12%; }

.accordion ul:hover li:hover { width: 64%; }


/* ANIMATIONS */
.fade-in {
  animation: fadeIn ease 1s;
  -webkit-animation: fadeIn ease 1s;
  -moz-animation: fadeIn ease 1s;
  -o-animation: fadeIn ease 1s;
  -ms-animation: fadeIn ease 1s;
}@keyframes fadeIn {
  0% {
	opacity:0;
  }
  100% {
	opacity:1;
  }
}

@-moz-keyframes fadeIn {
  0% {
	opacity:0;
  }
  100% {
	opacity:1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
	opacity:0;
  }
  100% {
	opacity:1;
  }
}

@-o-keyframes fadeIn {
  0% {
	opacity:0;
  }
  100% {
	opacity:1;
  }
}

@-ms-keyframes fadeIn {
  0% {
	opacity:0;
  }
  100% {
	opacity:1;
}

/* Large */
@media only screen and (max-width : 1024px) {
	
	/* P4RM */
	.p4rm-eq .p4rm-item {
		flex-basis: 25%;
		margin-bottom: 20px;	
	}	
}

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

	.accordion { height: auto; }
	
	.accordion ul li,
	.accordion ul li:hover,
	.accordion ul:hover li,
	.accordion ul:hover li:hover {
	  position: relative;
	  display: table;
	  table-layout: fixed;
	  width: 100%;
	  -webkit-transition: none;
	  transition: none;
	}
	
	.rekon-p3-values .people, .rekon-p3-values .performing, .rekon-p3-values .results {
		margin: 0 0 20px 0;
	}
	
	}
	
	/* HOVER STATE */
	.accordion ul li.site .hover-state .title-container .site-icon {
		display: block;
	}
	
	.accordion ul li.site .hover-state .title-container .site-title {
		display: block;

	}
	
	.accordion ul li.site.active .hover-state .hover-cont {
		width: auto!important;
	}
	
	/* P4RM */
	.p4rm-eq .p4rm-item {
		flex-basis: 50%;	
	}

}
