/*general*/

body {
	-webkit-text-size-adjust: none !important;
	background-image: none;
		padding-top:59px;
}

.touch .home {
	overflow: hidden;
	width:100%;
}

.touch .home-mobile-wrap {
	overflow: scroll;
    -webkit-overflow-scrolling: touch;
   	width:100%;
}

.mobile {
	display: block !important;
}

header .logo {
  margin-right: 0;
  float: none;
  display: block;
}

header form {
	display: none;
}

header .site-name {
	float:none;
}

.language-toggle, .search {

}

.searchfield {
	color:  #1b232a !important;
}

.language-toggle {
	display: none;
}

.top-nav .language-toggle {
	float:left;
	display: block;
	margin:30px 0 12px 12px;
}

.top-nav .searchForm {
	margin-top: 30px;
}

::-webkit-input-placeholder { /* WebKit browsers */
    color:    #1b232a;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #1b232a;
   opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:   #1b232a;
   opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
   color:    #1b232a;
}

header nav.top-nav ul.main-nav li a.first {
	border-top:1px solid #ffffff;
}

figure img {
  margin-top: 30px;
  margin-bottom: 36px;
  width: auto;
  max-width: 100%;
}


figure.left-img img {
	margin-left: 0;
}

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


header nav.top-nav {
	padding-top:3em;
	overflow: scroll;
}



html header .hamburger {
	right:6%;
}


.container {
	width:96%;
	margin:0 2%;
}

.home h1 {
	font-size: 2.4em;
}

.home p.vertical-frame {
	font-size:1.5em;
}


.content {
	box-sizing: border-box;
	padding:0 6%;
}

.container .content {
  width: 100%;
  padding: 0 2%;
}
.content.tab-content {
  width: 100%;
  margin: 0;
}

.content.bordered-content {
  background-size: 100% auto;
  padding: 2em 4% 1em 4%;
}

.content.callout p {
  font-weight: 500;
  font-size: 1.6em;
  line-height: 1.3em;
  color: #5f6a72;
}

.header-block {
  height: auto;
  width: 96%;
  margin-top: 12px;
  margin-bottom: 0;
  background-size: 100% auto;
  margin-bottom: 12px;
  background-repeat: no-repeat;
  padding: 0 2%;
}

.header-block h1 {
  color: #5f6a72;
  font-size: 3.6em;
  line-height: 1.1em;
  width: auto;
  margin-left: 0;
  padding-top: 3em;
}

.language-toggle{
	margin-right:10%;
}


html p.vertical-frame {
	width:77%;
}

header {
/*	position: static;*/
	padding-top:12px;
}

.home header {
	position:fixed;
	padding-bottom:12px;
}


html p.vertical-frame::before { 
    background-size: 100% 12px;
    width:100%;   
      border-left: 13px solid #fdba31;
  border-right: 13px solid #fdba31;
	background-position:left top;
}

html p.vertical-frame::after { 
  	background-size: 100% 12px;
    width:100%;
      border-left: 13px solid #fdba31;
  border-right: 13px solid #fdba31;
    background-position:left bottom;
}

html .achievements .achievement {
  float: none;
  box-sizing: border-box;
  padding: 0 6%;
  width: 100%;
}


nav.sub-nav {
  z-index: 8000;
  width: 88%;
  text-align: left;
  padding: 0 0 0 6%;
  bottom: auto;
  background-color: #ffffff;
  margin-right: 6%;
  position: static;
   /*important to override js style which centres menu on right sidebar */
  margin-top: 10px !important;
  padding-right: 6%;
  border-right:1px solid #ffffff;

}

nav.sub-nav h1 {
  text-transform: uppercase;
  font-size: 1.2em;
  line-height: 3.5em;
  color: #d22630;
  margin-bottom: 0;
}

nav.sub-nav ul {
  margin: 0;
  border-bottom: none;
  padding-top:4px;
}

.utilities nav.sub-nav ul {
	border-top:none;
}

nav.sub-nav ul li a {
  font-size: 1.25em;
  line-height: 1.2em;
  padding: 0;
  border-bottom: none;
  display: inline-block;
  color: #1b232a;
  font-weight: 400;
  text-decoration: none;
  padding: 4px 0;
}


.back-to-top {
	display:none;
}

html .bottom-nav a {
	  position: absolute;
	  height: 100%;
	  top: 0;
	  left: 0;
	  width: 100%;
	}
.col {
	width :100% !important;
	float:none;
	padding:0;
}
.col.border-left {
	border-left:none;
}

.col.legend {
	padding-left:6%;
}

	article.case-study {
	  width: 100%;
	  position: relative;
	  padding-bottom: 30px;
	  margin-top: 30px;
	  background-size: 100% auto;
	}
	
	article.case-study .inner {
  width: 95%;
  padding: 0 0 0 5%;
  overflow: hidden;
  margin:0;
}


	article.case-study {
	  width: 100%;
	  position: relative;
	  padding-bottom: 1em;
	  margin-top: 30px;

	}
	
	article.case-study .inner {
  width: 95%;
  padding-right: 0;
  overflow: hidden;
}
	article.case-study h1 {
    font-size: 1.6em;
  line-height: 1.18em;
   padding-right: 40px;
  padding-top: 1em;
  background-position: 95% 2em;
  background-size: 2em 2em;
  	  	    min-height: 4.2em;
}

article.case-study.active h1 {

    background-position: 93% 2.5em;
      background-size: auto;
    background-repeat: no-repeat;

}
	
	article.case-study::after {
	  content: "";
	  background-repeat: no-repeat;
	  color: red;
	  width: 100%;
	  position: absolute;
	  bottom: 0;
	  left: 0;

	  display: block;
	  -moz-transform: scaleY(-1);
	  -o-transform: scaleY(-1);
	  -webkit-transform: scaleY(-1);
	  transform: scaleY(-1);
	  filter: FlipV;
	  -ms-filter: "FlipV";
	  background-size: 100% auto;
	    height: 33px;

	}
	article.case-study img {
		width:100%;
		height:auto;
	}

section article.case-study::after {
	background-color:#ffffff;
}
section.gray-background article.case-study::after {
	background-color:#f1f2f2;
}

html .bottom-nav a .words {
	font-size: 1.4em;
}

ul.tabs li {

	font-size: 1.2em;
	
}
ul.two-tabs {
	width:70%;
}


.content .image-callout {
	margin:0;
	padding:0;
	background-color: #d7dad9;
	margin-bottom: 20px;
	position: relative;
}

.content .image-callout img{
	float:none;
	margin-bottom: 16px;
}

.content .image-callout p{
position: static;
bottom:auto;
padding:0 15px 15px 15px;
width:auto;
right:auto;
margin:0;
}

.home .slide-03 img.flin-flon {
  width: auto !important;
  height: 90% !important;
  display: block;
  position: static !important;
  vertical-align: bottom;
  margin: 2% 0 0 6%;
  top: auto;
  margin-top:2%;
}

.content.bottom-bracket::after {
	width:100%;
	height:2em;
}

section.white-background {
  background-color: #ffffff;
  padding-bottom: 2em;
}

/* Portrait */
@media only screen 
  and (max-width:605px) 
  and (orientation: portrait)  {
	
	body.touch {
		background-image:none, none, none;
	}
	
	html .background-container {
		display: block;
	}
	
	html body .background {
		float: none;
		background-position: center bottom;
		background-size: cover;
		display: block;
	}
	
	html .background-01 {
		background-image:url(../_img/home-back-01-landscape.jpg);
		height:33.3%;
		width:100%;
	}
	
	html .background-02 {
		background-image:url(../_img/home-back-02-landscape.jpg);
		height:33.3%;
		width:100%;
	}
	
	html .background-03 {
		background-image:url(../_img/home-back-03-landscape.jpg);
		height:33.4%;
		width:100%;
	}
	
	html .achievements {
		margin-top: 0;
	}
	
	html .achievement {
		float:none;
		height:33.3%;
	}
	
	html .achievements .h3 {
		font-size: 2.2em;
		line-height: 1.2em;
		margin-bottom: .5em;
	} 
	
	html .achievements p {
		font-size: 1.3em;
		line-height: 1.2em;
	}
	
	html .slideshow {
		  width: 100%;
		  position: relative !important;
		  margin: 0 !important;
		  top: auto !important;
		  left: auto !important;
		  height:auto;
	}
	
	html .slideshow .arrow-button {
	  position: absolute;
	  bottom: -46px;
	  height: 40px;
	  width: 40px;
	  background-size: cover;
	  margin-top: -30px;
	  background-image: url(../_img/round-arrow-down.png);
	  opacity: .7;
	  top:auto;
	}
	html .slideshow .arrow-button.prev-slide {
	  left: 50px;
	}
	html .slideshow .arrow-button.next-slide {
	  right: 50px;
	}
	
	html .slideshow .indicators {
	  position: absolute;
	  top: calc(100% + 15px);
	}
	
	html .slideshow .inner-slideshow {
		height:auto;
	}
	
	html .slideshow .inner-slideshow .slide-animate{
			width:300%;
		}
	html .slideshow .inner-slideshow .slide {
		width:33.33%;
		height: 100%;

	}
	
	html .slideshow .inner-slideshow .slide .text-right .img {
	  float: none;
	  position: relative;
	  width: 100%;

	  overflow: hidden;
	}
	
	html .slideshow .inner-slideshow .slide .text-left .img {
	  float: none;
	  position: relative;
	  width: 100%;
	  overflow: hidden;
	}
	
	html .slideshow .inner-slideshow .slide img {
	  display: block;
	  position: relative;
	  width: 100%;
	}
	

html .slideshow .inner-slideshow .slide .tall-img.img, html .slideshow .inner-slideshow .slide .short-img.img {
 	height:110px;	
 	width:100%;
 	background-size: cover;
 }
 
html .slideshow .inner-slideshow .slide .tall-img, html .slideshow .inner-slideshow .slide .short-img{
 	height:110px;
 }
 
html .slideshow .inner-slideshow .slide .text {
 	height:150px;
 	width:50%;	
 	  padding: 20px 10px 0 20px;
 }

html .slideshow .inner-slideshow p.slide-head {
	font-size: 2.2em;

}
html .slideshow .inner-slideshow p {
	margin:0;	
	font-size: 1.2em;
}


html .slideshow .inner-slideshow .slide .tall-img.img::after {
	top:100%;
	left:25%;    
	margin-left: -12px;
	-ms-transform: rotate(270deg); /* IE 9 */
    -webkit-transform: rotate(270deg); /* Chrome, Safari, Opera */
    transform: rotate(270deg);
}
html .slideshow .inner-slideshow .slide .short-img.img::after {
	top:0%;
	left:75%;    
	margin-left: -12px;
	-ms-transform: rotate(270deg); /* IE 9 */
    -webkit-transform: rotate(270deg); /* Chrome, Safari, Opera */
    transform: rotate(270deg);
}

html .slideshow .inner-slideshow .slide .short-img.img.green-arrow::after{
	-ms-transform: rotate(90deg); /* IE 9 */
    -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
    transform: rotate(90deg);	
}


	/************* SLIDE IMAGES **********/

.slide.slide-01 .img.tall-img {
	background-image: url(../_img/slide-img-01-tablet.jpg);
}

.slide.slide-01 .img.short-img {
	background-image: url(../_img/slide-img-02-tablet.jpg);
}

.slide.slide-02 .img.tall-img {
	background-image: url(../_img/slide-img-03.jpg);
}

.slide.slide-02 .img.short-img {
	background-image: url(../_img/slide-img-04.jpg);
}

.slide.slide-03 .img.tall-img {

}



/************************************/

	




	html .bottom-nav:nth-child(2n) {
	  margin-right: 0;
	}
	
	
	html .bottom-nav {
	  float: left;
	  height: 0;
	  width: 49%;
	  margin-right: 2%;
	  padding-bottom: 49%;
	  position: relative;
	}
	
	html .arrow-up {
		right: 17%;
		left:auto;
		margin-left:0;
	 	margin-right: -30px;
	}
		
	.mobile-overflow{
		width:100%;
		overflow: scroll;
		    -webkit-overflow-scrolling: touch;
	}
	.overflow-inner{
		width:180%;
	}
	
	#section-05 {
		height:auto !important;
	}
}

/* Landscape */
@media only screen 
  and (max-width:605px) 
  and (orientation: landscape) {
	
	
	html .bottom-nav:nth-child(4n) {
	  margin-right: 0;
	}
	
	.bottom-nav:nth-child(3n) {
	  margin-right: 1.33%;
	}
	
	html .bottom-nav {
	  float: left;
	  height: 0;
	  width: 24%;
	  margin-right: 1.33%;
	  padding-bottom: 24%;
	  position: relative;
	}
	
	.header-block h1 {
	  padding-top: 4em;
	}
		article.case-study h1 {
	  background-position: 95% 1.4em;
	}
	
	article.case-study.active h1 {
	    background-position: 93% 2em;
	
	}


}

footer .download {
	float:left;
	padding-bottom:1em;
  background-position: left 2px;
}

footer .footerGroup{
	position: static;
}

.arrow-down {
	display: none;
}
