
/*****************************************************
  * DH Interactive Ltd:
  * Duncan Hart
  * http://www.dhinteractive.co.uk
  *
  * Client: Stefi Orazi
  * Client: http://www.stefiorazi.co.uk
  *
  * Author: Duncan Hart
  * Author: http://www.dhinteractive.co.uk <support@dhinteractive.co.uk>
  *
  * Date 09/2013	- Created
  *
 *****************************************************
 */
 
/*****************************************************
* Font
/*****************************************************
*/

@font-face {
  font-family: 'Graphik Web';
  src: url('../_fonts/Graphik-Regular-Web.eot');
  src: url('../_fonts/Graphik-Regular-Web.eot?#iefix') format('embedded-opentype'),
     url('../_fonts/Graphik-Regular-Web.woff') format('woff'),
     url('../_fonts/Graphik-Regular-Web.ttf') format('truetype'),
     url('../_fonts/Graphik-Regular-Web.svg#Graphik Web') format('svg');
  font-weight:  400;
  font-style:   normal;
  font-stretch: normal;
}

.Graphik-Regular-Web {
  font-family: 'Graphik Web';
  font-weight:  400;
  font-style:   normal;
  font-stretch: normal;
}


@font-face {
  font-family: 'Graphik Web';
  src: url('../_fonts/Graphik-Bold-Web.eot');
  src: url('../_fonts/Graphik-Bold-Web.eot?#iefix') format('embedded-opentype'),
     url('../_fonts/Graphik-Bold-Web.woff') format('woff'),
     url('../_fonts/Graphik-Bold-Web.ttf') format('truetype'),
     url('../_fonts/Graphik-Bold-Web.svg#Graphik Web') format('svg');
  font-weight:  700;
  font-style:   normal;
  font-stretch: normal;
}

.Graphik-Bold-Web {
  font-family: 'Graphik Web';
  font-weight:  700;
  font-style:   normal;
  font-stretch: normal;
}


/*****************************************************
* Global
/*****************************************************
*/

html, body {
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: none;
  height: 100%;
}

body {
  overflow-x: hidden;
	margin-left: 50px;
	margin-right: 50px;
  background: #ffffff;
}

body a:link, body a:visited {
  color: #FFFFFF;
  text-decoration: none;
}

body a:hover {
  color: #fc9c8a;
}

* {
  padding: 0;
  margin: 0;
}

.base {
  float: left;
  display: block;
  position: relative;
  min-height: 100%;
  width: 100%;
  opacity: 1;
}

.base.closed {
  margin-left: 0px;
  transition-property: margin-left;
  transition-duration: 0.5s;
  transition-delay: 0s;
}

.base.open {
  margin-left: -90%;
  margin-right: 5px;
  transition-property: margin-left;
  transition-duration: 0.5s;
  transition-delay: 0s;
}

/* Mobile Override */
@media screen and (max-width: 1024px) {
  
  body {
    margin-left: 20px;
    margin-right: 20px;
  }

}


/*****************************************************
* Header
/*****************************************************
*/

#header {
	float: left;
	margin: 0px;
	margin-top: 42px;
	padding: 0px;
  padding-top: 2px;
	width: 100%;
  height: 14px;
}

#header>.logo {
  position: relative;
  float: left;
  width: auto;
  height: 21px;
  font-family: 'Graphik Web';
  font-size: 14px;
  box-sizing: border-box;
  border-bottom: 1px solid #000;
}

#header>.logo a {
  display: block;
  color: #000;
  width: 100%;
  height: 100%;
}

/* Mobile Override */
@media screen and (max-width: 1023px) {
  
  #header {
    position: fixed;
    margin-top: 0px;
  }

  #header>.logo {
    margin-top: 15px;
  }

}

/*****************************************************
* Footer
/*****************************************************
*/

#footer {
	position: relative;
	float: left;
	margin: 0px;
	padding: 0px;
	width: 100%;
	opacity: 0;
}

/*****************************************************
* Navigation (Primary)
/*****************************************************
*/

.nav {
  float: left;
  position: relative;
}

.nav>ul {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

.nav>ul, .nav>ul>li>ul {
  height: 100%;
  padding: 0px;
}

.nav>ul>li>ul {
  display: none;
  position: absolute;
  padding-top: 20px;
  height: auto;
  width: 120px;
  z-index: 100;
}

.nav>ul>li:hover ul {
  display: block;
  width: 300px;
}

.nav>ul>li, .nav>ul>li>ul>li {
  position: relative;
  list-style-type: none;
  box-sizing: border-box;
  font-family: 'Graphik Web';
  font-size: 14px;
  line-height: 14px;
  color: #000;
}

.nav>ul>li {
  float: left;
  display: inline-block;
  margin-left: 35px;
  height: 21px;
}

.nav>ul>li>ul>li {
  float: left;
  margin: 0px;
  width: 100%;
  min-height: 17px;
  margin-bottom: 4px;
}

.nav>ul>li>a, .nav>ul>li>ul>li>a {
  display: block;
  width: 100%;
  height: 100%;
  color: #000;
}

.nav>ul>li.selected, .nav>ul>li:hover {
  border-bottom: 1px solid #000;
}

.nav>ul>li>ul>li>a>span {
  float: left;
  box-sizing: border-box;
  min-height: 16px;
}

.nav>ul>li>ul>li>a>span>span.highlight {
  display: inline;
  color: #fd9c8b;
}

.nav>ul>li>ul>li.selected, .nav>ul>li>ul>li:hover>a>span, .nav>ul>li>ul>li>a>span.selected {
  border-bottom: 1px solid #000;
}

.nav-toggle {
  display: none;
}

/* Mobile Override */
@media screen and (max-width: 1023px) {

  .nav {
    position: absolute;
    top: 0;
    right: 20px;
    margin: 0;
    margin-right: -90%;
    width: 90%;
    z-index: 1;
    overflow-y: auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
  }

  .nav.open {
    display: block;
  }

  .nav {
    background-color: #FFF;
  }

  .nav>ul {
    position: relative;
    float: none;
    display: block;
    margin-top: 10px;
    padding-bottom: 120px;
    overflow-x: hidden;
  }

  .nav>ul>li>ul {
    padding-top: 5px;
    position: relative;
  }

  .nav>ul>li:hover ul {
    width: 85%;
  }

  .nav>ul>li {
    float: left;
    display: block;
    margin: 0px;
    padding: 0px;
    padding-left: 16px;
    padding-right: 0px;
    width: 100%;
    height: auto;
    text-align: left;
  }

  .nav>ul>li {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .nav>ul>li>ul>li {
    line-height: 18px;
  }

  .nav>ul>li>ul>li>a>span>span.highlight {
    /* display: none; */
  }

  .nav>ul>li, .nav>ul>li span {
    border: none !important;
    text-align: left;
  }

  .nav-toggle {
    position: absolute;
    display: inline-block;
    top: 17px;
    right: 40px;
    padding-top: 10px;
    width: 30px;
    height: 8px;
    border: none;
    background: none;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
  }

  .nav-toggle:focus {
    outline: 0;
  }

  .nav-toggle span {
    display: block;
  }

  .nav-toggle:hover {
    opacity: 1;
  }

  .nav-toggle:active {
    transition: 0;
  }

  .lines {
    display: inline-block;
    width: 30px;
    height: 1px;
    border-radius: 0px;
    transition: 0.3s;
    position: relative;
  }
  
  .lines:before, .lines:after {
    display: inline-block;
    width: 30px;
    height: 1px;
    border-radius: 0px;
    transition: 0.3s;
    position: absolute;
    left: 0;
    content: '';
    -webkit-transform-origin: 0.28571rem center;
    transform-origin: 0.28571rem center;
  }

  .nav-toggle>.lines, .nav-toggle>.lines:before, .nav-toggle>.lines:after {
    background: #000;
  }

  .lines:before {
    top: 10px;
  }

  .lines:after {
    top: -10px;
  }

  .nav-toggle.closed {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  .nav-toggle.x.closed .lines {
    background: transparent;
  }

  .nav-toggle.x.closed .lines:before, .nav-toggle.x.closed .lines:after {
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    top: 0;
    height: 1px;
    width: 30px;
  }

  .nav-toggle.x.closed .lines:before {
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
  }

  .nav-toggle.x.closed .lines:after {
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
  }

}




/*****************************************************
* Elements
/*****************************************************
*/

.element_1 {
  position: relative;
  float: left;
  width: 100%;
  height: 100%;
  background: #FFF;
  margin-top: 80px;
  /* visibility: hidden; */
  overflow: hidden;
}

.element_1 img {
  width: 100%;
}

.element_2 {
  float: left;
  width: auto;
  max-width: 50%;
  height: 100px;
  margin-top: 20px;
  font-size: 14px;
  font-family: 'Graphik Web';
  line-height: 20px;
}

.element_2 .title, .element_2 .paragraph, .element_2 .description {
  float: left;
  clear: both;
}

.element_2 .description {
  max-width: 335px;
}

.element_2 .title {
  /* font-weight: bold; */
}

.element_2 .paragraph {
  color: #000000;
}

.element_2 .description a {
  /* color: #fc9c8a; */
  color: #000000;
}

.element_2 .description a:hover {
  /* color: #fc9c8a; */
  color: background: #ffffff;
}

.element_1>.url, .view_url_mobile  {
  position: absolute;
  /* top: 15px; */
  /* left: 12px; */
  z-index: 100;
  font-size: 14px;
  font-family: 'Graphik Web';
}

.view_url_mobile {
  display: none;  
}

.element_1>.url a:link, .view_url_mobile a:link, .element_1>.url a:visited, .view_url_mobile a:visited {
  /* color: #fc9c8a; */
  color: #000000;
}

.element_1>.url a:hover{
  color: #fc9c8a;
}

.element_3 {
  float: left;
  width: 100%;
  min-height: 500px;
  height: 100%;
  background: #FFF;
  margin-top: 80px;
  font-size: 14px;
  font-family: 'Graphik Web';
  line-height: 20px;
  padding-bottom: 15px;
}

.element_3_inner {
/*
  padding-top: 15px;
  padding-left: 15px;
*/
}

.element_3_inner>.description {
  max-width: 100%;
}

.element_3_inner>.description>span {
  float: left;
  width: 100%;
  min-height: 10px; 
}

.element_3 .title, .element_3 .paragraph_1, .element_3 .description, .element_3 .url_1, .element_3 .url_2 {
  float: left;
  clear: both;
}

.element_3 .description {
  max-width: 335px;
}

.element_3 .paragraph_1 {
  color: #000000;
}

.element_3 .paragraph_2 {
  color: #000000;
}

.element_3 .paragraph_3 {
  color: #000000;
}

.element_3 .paragraph_4 {
  float: left;
  clear: both; 
  color: #000000;
}

.element_3 .description a {
  color: #000000;
}

.element_3 .description a:hover {
  /* color: #ffffff;; */
  color: #000000;
}

.element_3 .description a:hover {
  /* color: #ffffff;; */
}

.element_3 .url_1 a:link, .element_3 .url_1 a:visited {
  /* color: #179e93; */
  color: #000000;
}

.element_3 .url_1 a:hover {
  color: #000000;
}

.element_3 .url_2 a:link {
  /* color: #189ac0; */
  color: #000000;
}

.element_3 .url_2 a:hover, .element_3 .url_2 a:visited {
  color: #000000;
}

.element_4 {
  float: left;
  width: 100%;
  min-height: 500px;
  height: 100%;
  background: #FFF;
  margin-top: 80px;
  font-size: 14px;
  font-family: 'Graphik Web';
  line-height: 20px;
  padding-bottom: 15px;
}

.element_4_inner {
/*
  padding-top: 15px;
  padding-left: 15px;
*/
}

.element_4 .title, .element_4 .paragraph_1, .element_4 .description {
  float: left;
  clear: both;
}

.element_4 .paragraph_1 {
  color: #000000;
}

.element_4 a:link, .element_4 a:visited {
  color: #000000;
}

.element_4 a:hover {
  color: #dcddde;
}

.client_lists {
  float: left;
  margin-right: 20px;
  width: 268px;
}


.element_1, .element_2, .element_3, .element_4 {
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out; /* IE10 is actually unprefixed */
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out; 
}

.element_1.load, .element_2.load, .element_3.load, .element_4.load {
  opacity: 1;
}

.element_1.show, .element_2.show, .element_3.show, .element_4.show {
  opacity: 1;
  -ms-transform: translate(0px, 0px); /* IE 9 */
  -webkit-transform: translate(0px, 0px); /* Safari */
  transform: translate(0px, 0px);
}

.element_1.hide, .element_2.hide, .element_3.hide, .element_4.hide {
  opacity: 0;
  -ms-transform: translate(0px, 120px); /* IE 9 */
  -webkit-transform: translate(0px, 120px); /* Safari */
  transform: translate(0px ,120px);
} 


/* Mobile Override */
@media screen and (max-width: 1023px) {

  .element_1, .element_3, .element_4 {
    margin-top: 60px;
  }

  .element_1 img {
    width: 200%;
    margin-left: -50%;
    overflow: hidden;
  }

  .element_2 {
    max-width: 100%;
  }

  .element_1>.url {
    /* display: none; */
  }

  .view_url_mobile {
  /*
    display: block;
    top: auto;
    left: 0px;
    position: absolute;
    bottom: 20px;
    */
  }

  .element_1.hide, .element_2.hide, .element_3.hide, .element_4.hide, .element_1.show, .element_2.show, .element_3.show, .element_4.show {
    opacity: 1;
    transform: translate(0px, 0px);
  }

  .element_3_inner>.description, .element_2 .description {
    max-width: 90%;
  }

}

/*****************************************************
* Project(s)
/*****************************************************
*/

.arrow_n, .arrow_p {
  position: absolute;
  display: none;
  top: 50%;
  margin-top: -20px;
  height: 40px;
  width: 40px;
  background-repeat: none;
  background-position: 0px 0px;
  background-size: 40px, 40px;
  z-index: 200;
  /* visibility: hidden; */
}

.arrow_n {
  right: 0px;
  /* margin-right: 10px; */
  background-image: url('../_img/_global/arrows_n.png');
}

.arrow_p {
  /* margin-left: 10px; */
  background-image: url('../_img/_global/arrows_p.png');
}

.view_project {
  position: absolute;
  margin-left: 15%;
  width: 70%;
  height: 100%;
}

.project_loader {
  position: absolute;
  top: 0px;
  margin-top: 30px;
  margin-left: 30px;
  font-size: 15px;
  font-family: 'Graphik Web';
  z-index: 1;
  color: #000000;
}

.project_img {
  overflow: hidden;
}

.project_panel {
  width: 7000px;
  background: #FF0000;
}

/*****************************************************
* Overlay Image(s)
/*****************************************************
*/

#overlay {
  visibility: hidden;
  position: fixed;
  left: 0px;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  z-index: 400;
  background: #FFF;
  overflow: hidden;
}

#overlay_inner {
  height: 100%;
  background-color: #FFF;
}

#overlay_logo {
  float: left;
  margin-top: 44px;
  margin-left: 50px;
  position: absolute;
  font-family: 'Graphik Web';
  font-size: 14px;
  height: 21px;
  z-index: 900;
  height: 21px;
  background-image: url('../_img/_global/line.gif');
  background-repeat: repeat-x;
  background-position: 0px 20px;
}

.overlay_arrow_n {
  top: 50%;
  right: 0px;
  margin-right: 50px;
  margin-top: -20px;
  background: url('../_img/_global/arrows_n.png') no-repeat;
  display: hide;
}

.overlay_arrow_p {
  top: 50%;
  margin-left: 50px;
  margin-top: -20px;
  background: url('../_img/_global/arrows_p.png') no-repeat;
  display: hide;
}

.overlay_close {
  right: 0px;
  top: 50px;
  margin-right: 50px;
  background: url('../_img/_global/close.png') no-repeat;
}

.overlay_arrow_n, .overlay_arrow_p, .overlay_close {
  position: absolute;
  width: 40px;
  height: 40px;
  background-position: 0px 0px;
  background-size: 40px, 40px;
  cursor: pointer;
  z-index: 1000;
}


.overlay_images {
  margin: 0px;
  padding: 0px;
  height: 100%;
  width: 100%;
  background-repeat: no-repeat;
  background-attachment:fixed;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.overlay_no_crop {
  margin: 0 auto;
  margin-top: 80px;
  height: 100px;
  width: 100px;
}

.overlay_preload {
  position: absolute;
  bottom: 0px;
  margin-left: 50px;
  margin-bottom: 50px;
  font-size: 15px;
  font-family: 'Graphik Web';
  z-index: 1000;
  color: #000000;
}

/* Mobile Override */
@media screen and (max-width: 1023px) {

  #overlay_logo {
    margin-top: 17px;
    margin-left: 20px;
  }

  .overlay_arrow_n, .overlay_arrow_p, .overlay_close {
    margin: 0px;
    width: 40px;
    height: 40px;
    background-position: 0px 0px;
    background-size: 100%, 100%;
    background-repeat: no-repeat;
  }

  .overlay_close {
    right: 20px;
    top: 15px;
    background-image: url('../_img/_global/close.png');
  }

  .overlay_arrow_n {
    top: 50%;
    margin-right: 20px;
    margin-top: -20px;
  }

  .overlay_arrow_p {
    top: 50%;
    margin-left: 20px;
    margin-top: -20px;
  }

  .overlay_images {
    background-size: contain;
  }

}

/*****************************************************
* Swipe Overlay
/*****************************************************
*/

.swipebox_1 {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  top: 0px;
}

.swipebox_2 {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 400;
  top: 0px;
}

