/*general*/

body {

	background-image: none !important;
}

html .background-container {
	display: block;
}

.background-container {
  width:100%;
  position: fixed;
  top:49px;
  left:0;
  bottom:0;
  right:0;
}

.background {
  float:left;
  height:100%;
  background-position: center bottom;
  background-size: cover;
}

.background-01 {
  background-image:url(../_img/home-back-01-portrait.jpg);
  width:32.1%;
}

.background-02 {
  background-image:url(../_img/home-back-02-portrait.jpg);
  width:35.5%;
}

.background-03 {
  background-image:url(../_img/home-back-03-portrait.jpg);
  width:32.4%;
}


.touch .home {
	overflow: hidden;
}

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


.container {
	width:90%;
	margin:0 5%;
}


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

.container .content {
	width:100%;
	padding:0 1%;
}

.content.tab-content {
	width:84%;
	margin:0 8%;
}

.content.bordered-content {
	padding:30px 6%;
	background-size: contain;
}


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

.header-block {
  height: 255px;
  width: 100%;
  margin-top: 12px;
  margin-bottom: 0;
  background-size: cover;
  margin-bottom: 12px;
}

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


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

header {


	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 .h3 {
	font-size: 3.5em;
}

html .achievements p {
	font-size: 1.5em;
}

html .achievements .achievement {
	padding:0 4%;
}


html .slideshow .indicators {
	left:0;
	margin-left:0;
	top:auto;
	bottom:-30px;
}

.touch .arrow-down {
	display: none;
}

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%;

}

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;
}


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

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


/*html .bottom-nav a {
	  position: absolute;
	  height: 100%;
	  top: 0;
	  left: 0;
	  width: 100%;
	}*/
html .home .bottom-nav-group{
	width:90%;
}

	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;
}
	article.case-study h1 {
  background-position: 95% 40px;
}

article.case-study.active h1 {
  background-position: 95% 56px;
}
	
	article.case-study::after {
	  content: "";
	  background-repeat: no-repeat;
	  color: red;
	  width: 100%;
	  position: absolute;
	  bottom: 0;
	  left: 0;
	  height: 53px;
	  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;
	}
	article.case-study img {
		width:100%;
		height:auto;
	}
/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait)  { 

	html .background-container {
		display: block;
	}
	
	.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: 42.1%;
	}
	
	
	html .slideshow {
		  width: 70%;
		  position: absolute;
		  margin: -310px auto 0 auto;
		  top: 50%;
		  left: auto;
		  height:621px;
	}
	
	html .slideshow .inner-slideshow .slide-animate{
		width:300%;
	}
	
	html .slideshow .inner-slideshow .slide {
		width:33.33%;
		height: 621px;

	}
	
	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;
	}
	
.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%;
}
	
	html .bottom-nav:nth-child(4n) {
	  margin-right: 1%;
	}
	
	.bottom-nav:nth-child(3n) {
	  margin-right: 0;
	}
	html .home .bottom-nav-group {
  width: 100%;
}

	html .bottom-nav {
	  float: left;
	  height: 0;
	  	  top: 0;
	  left: 0;
	  width: 32%;
	  margin-right: 1%;
	  padding-bottom: 32%;
	  position: relative;
	   background-size: cover;
	}
	
	
	html .bottom-nav a{
		  width: 100%;
 		 padding-bottom: 100%;
	}
	
	
	html .arrow-up {
		right: 17%;
		left:auto;
		margin-left:0;
	 	margin-right: -30px;
	}
	

html .slideshow .inner-slideshow .slide .tall-img.img, html .slideshow .inner-slideshow .slide .short-img.img {
 	height:207px;	
 	width:100%;
 	background-size: cover;
 }
 
html .slideshow .inner-slideshow .slide .tall-img, html .slideshow .inner-slideshow .slide .short-img{
 	height:207px;
 }
 
html .slideshow .inner-slideshow .slide .text {
 	height:208px;
 	width:50%;	
 	padding:20px 24px;
 }

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

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


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 {
	background-image: url(../_img/slide-img-05.jpg);
}

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

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

	
}


/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  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;
	  	  top: 0;
	  left: 0;
	  width: 24%;
	  margin-right: 1.33%;
	  padding-bottom: 24%;
	  position: relative;
	   background-size: cover;
	}
	
	
	html .bottom-nav a{
		  width: 100%;
 		 padding-bottom: 100%;
	}
	



}