@font-face {
    font-family: 'Apercu';
    src: url('http://www.studiopsk.com/fonts/Apercu-regular-webfont.eot');
    src: url('http://www.studiopsk.com/fonts/Apercu-regular-webfont.eot#iefix') format('embedded-opentype'),
        url('http://www.studiopsk.com/fonts/Apercu-regular-webfont.woff') format('woff'),
        url('http://www.studiopsk.com/fonts/Apercu-regular-webfont.ttf') format('truetype'),
        url('http://www.studiopsk.com/fonts/Apercu-regular-webfont.svg#Apercuregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Apercu';
    src: url('fonts/apercu-webfont.eot');
    src: url('fonts/apercu-webfont.eot#iefix') format('embedded-opentype'),
        url('fonts/apercu-webfont.woff') format('woff'),
        url('fonts/apercu-webfont.ttf') format('truetype'),
        url('fonts/apercu-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'DIN';
    src: url('fonts/dinpro-regular-webfont.eot');
    src: url('fonts/dinpro-regular-webfont.eot#iefix') format('embedded-opentype'),
        url('fonts/dinpro-regular-webfont.woff') format('woff'),
        url('fonts/dinpro-regular-webfont.ttf') format('truetype'),
        url('fonts/dinpro-regular-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Apercu Bold';
    src: url('fonts/apercu-bold-webfont.eot');
    src: url('fonts/apercu-bold-webfont.eot#iefix') format('embedded-opentype'),
        url('fonts/apercu-bold-webfont.woff') format('woff'),
        url('fonts/apercu-bold-webfont.ttf') format('truetype'),
        url('fonts/apercu-bold-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}

#html{
    /* font-size: 100%; */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    width: 100%;
    height: 100%;
}

@media all and (max-device-width> 1440px) {
 #projectContent {
         width:700px !important;
 }
}

@media all and (max-device-width: 1440px), (max-width: 1440px) {
 #projectContent {
         width:700px !important;
 }
}

@media all and (max-device-width: 800px), (max-width: 800px) {
 #projectContent {
         width:90vw !important;
 }
 #awards {
/*
    margin-top: 90px;
    padding: 40px 10px 40px 10px;
*/
    font-family: "Apercu";
    font-weight: 500;
    width: 100% !important;
    float: none !important;
	}
 #awards li {
 font-size: 14pt !important;
 }
 #aboutWrapper {
	display: block;
	height:auto !important;
	width:90vw !important;
	}
 #services{
	float: none !important;
	width: 100%;
	padding-bottom: 60px;
	font-weight: normal;
	margin-left: 0 !important;
	margin-top: 60px !important;
	}

 #servicesContent li{
 font-weight: normal !important;
 }

 #services li{
 font-size: 14pt !important;
 }
 #about{
	width: 100% !important;
	float:none !important;
	}
}

@media all and (max-device-width: 900px), (max-width: 900px) {
 #tweecool{
    width: 90vw !important;
    }

 #writtenContent{
 width: 90vw !important;
 }
}

@media all and (max-device-width: 1242px), (max-width: 1242px) {
 #projectContent {
         width:700px !important;
 }
}

@media all and (max-device-width: 750px), (max-width: 750px) {
 #projectContent {
         width:90vw !important;
 }
}

@media all and (max-device-width: 640px), (max-width: 640px) {
 #projectContent {
         width:90vw !important;
 }
 #box2{
 height: 80px !important;
 }
 #writtenContent{
 margin: 0px !important;
 }
 #services{
 width: auto !important;
 }
 #awards li{
 line-height: 100%;
 }
}

@media all and (max-device-width: 400px), (max-width: 400px) {
 #nav2 {
	 display: none;
 }
}

/*
::-moz-selection {
    background: rgba(190,165,227,1);
}
::selection {
    background: rgb(190,166,227);
}
*/

#body{
    margin: 0px;
    height:100%;
    width: 100%;
}

#description{
    padding-top: 20px;
}

#mapContainer {
    border:none;
    background-color: #f5f5f5;
    padding: 0px 0px 0px 0px;
    overflow: hidden;
    position: fixed;
    bottom: 20px;
    left: 50%;
    margin-left: -480px;
    width: 960px;
}

#container {
    border:none;
    background-color: #f5f5f5;
    padding: 140px 0px 0px 0px;
    overflow: hidden;
}

#imageHolder{
    width: 100%;
    height:100vh;
    z-index: -1;
    overflow: hidden;
    position: absolute;
    top:0;
    left: 0;
}

#randomise{
    height: 100vh;
    width: 100vw;
}

body {
    margin: 0;
    padding: 0;
}

#workWrapper {
    display: table;
    width: 100%;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

#workWrapper .project {
  	background-color: transparent !important;
}

/* For older grid */
.regularBrick {
    width: 22%;
    display: inline-block;
    margin: 10px 1.5%;
    font-size: 0; /* Remove inherited font-size and line-height */
}

/* For newer grid */
.rowBrick {
    display: inline-block;
    margin: 7px auto;
    width: 100%;
}

.mainBrick {
    float: left;
    width: 66.21%;
    height: auto;
    font-size: 0; /* Remove inherited font-size and line-height */
}

.columnBrick {
    float: left;
    width: 33.68%;
    height: auto;
    font-size: 0; /* Remove inherited font-size and line-height */
}

.sideBrick {
    float: top;
    width: 95%;
    height: auto;
}

.sideBrickLeft {
    margin-left: 5%;
}

.sideBrickRight {
    margin-right: 5%;
}

.sideBrickInner {
    margin-bottom: 5%;
}

#workWrapper > a:hover {
    background-color: transparent;
}

#footer {
    position:static; 
    bottom:0; 
    width:100%; 
    height:80px; 
    padding:10px; 
    text-align:center; 
    line-height: 60px; 
    font-family:"Apercu"; 
    font-size:1.5em; 
    background-color:rgba(20, 8, 44, 1);
    color:white;
}

#introduction {
    color: rgba(20, 8, 44, 1);
    font-family: "Apercu";
    margin: 0 auto;
    padding-left: 100px;
    position: relative;
    top: 20px;
    width: 65%;
    max-width: 1000px;
    font-weight: normal;
    text-align: left;
    font-size: 24px; /* For support of legacy browsers. */
    line-height: 200%;
}
#down {
    bottom: 20px;
    margin: 70px auto auto;
    width: 20px;
}

#floatdiv {
    left: 50%;
    margin-left: -400px;
    margin-top: 10px;
    position:fixed;
    width:800px;
    display: block;
    z-index: 1000;
}

#logo {
    width: 85%;
    margin:20px auto 20px auto;
    display: block;
}

#writtenContent	{
    position: relative;
    /* cursor:url("images/down%20blue.png") 6 6, auto; */
    /* background-color: #FFFFFF; */
    padding: 30px;
    font-family: "Apercu";
    line-height: 150%;
    font-weight: 300;
    font-size: 10pt;
    width: 900px;
    margin: auto;
}

#writing{
    background-color: #FFFFFF;
    padding: 30px;
    font-family: "Apercu";
    line-height: 150%;
    font-weight: 300;
    font-size: 10pt;
    width: 900px;
    margin: auto;
}

#box {
    position: absolute;
    top: 580px;
    left: 25px;
    right: 25px;
    border: solid 9px #232322;
    height: 130px;
    /*width: 90%;*/
    z-index: 10;
}

#box2 {
    position: absolute;
    top: 110px;
    left: 25px;
    right: 25px;
    border: solid 5px #14082C;
    height: 70px;
    /*width: 90%;*/
    z-index: 10;
}

.workbox {
    padding: 10px;
    left: 410px;
    bottom: 30px;
    border: solid 6px #14082C;
    margin-bottom: 0px;
    height: 30px;
    width: 50%;
    position: absolute;
}

#endstop{
    width: 20px;
    height: 20px;
    position: absolute;
    right: 25px;
    /* bottom: 50px; */
}

#endstop a{
    position: absolute;

    height: 20px;
    width: 20px;
    text-align: right;
    font-family: "Apercu";
    font-size: 55pt;
    color: #3bb8ba;
    display: block;
    text-decoration: none;
    /* border: black solid 1px; */
    line-height: 4%;
}

#endstop a:hover {
    background-color: transparent;
}

#down a:hover{
    background-color: transparent !important;
}

.title {
    width: 300;
    /* //padding-top: 15px; */
    text-decoration: none;
    font-family: "Apercu Bold";
    /* font-weight: 800; */
    font-size: 200%;
    margin: 0;
    border-bottom: 0px solid black;
    text-align: left;
    line-height: 110%;
    color: #14082c;
}

#image {
    cursor: url("images/down%20blue.png") 6 6, auto;
    padding-top: 30px;
    padding-bottom: 10px;
}

img[id="project image"]{
    width: 100%;
    height: auto;
}

#image.last_img {
    cursor: url("images/up%20blue.png") 6 6, auto;
}

#video iframe {
    height: 100%;
}

#description {
    color: #14082C;
    padding-top: 40px;
}

#credits {
    background-color: #333333;
    padding-top: 1px;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 1px;
}

#credits p{
    color: white;
}

#nav{
    list-style:none;
    margin:0;
    padding:0;
    text-align:center;
    font-family: "Apercu";
    font-weight: 500;
    font-size: 10pt;
}

#nav li{
    display:inline;
    color: #14082C;
}

#nav a{
    padding:1px 20px 1px 20px;
    text-decoration: none;
}

a:link {color: #14082C;}      /* unvisited link */
a:visited {color:#14082C;}  /* visited link */
a:hover {color:#14082C;
         background-color:#14082C;
}  /* mouse over link */
a:active {color:#14082C;}  /* selected link */

#nav2 {
    position: fixed;
    float: left;
    top: 10px;
    left: 20px;
}

#nav2 img{
    width: 20px;
    height: 20px;
}

#nav2 a:hover{
    /*background-color: transparent;*/
}

#handle {
    position: absolute;
    display: none;
    margin-left: 40px;
    top: 20px;
    font-family: "Apercu";
    font-weight: 200;
    font-size: 10pt;
}

#handle a{
    text-decoration: none;
}

#email {
    width: 100px;
    position: absolute;
    display: none;
    margin-left: 40px;
    top: 55px;
    font-family: "Apercu";
    font-weight: 200;
    font-size: 10pt;
}

#email a{
    text-decoration: none;
}

#number {
    width: 150px;
    position: absolute;
    display: none;
    margin-left: 40px;
    top: 90px;
    font-family: "Apercu";
    font-weight: 200;
    font-size: 10pt;
}

#number a{
    text-decoration: none;
}

#address {
    width: 250px;
    position: absolute;
    display: none;
    margin-left: 40px;
    top: 118px;
    font-family: "Apercu";
    font-weight: 200;
    font-size: 10pt;
}

#address a{
    text-decoration: none;
}

#map-canvas {
    width: 100%;
    height:100vh;
    margin-top: 0px;
}

.moreinfo {
    display: none;
    font-family: "Apercu";
    font-weight: 200;
    font-size: 10pt;
    line-height: 150%;
}

#clients {
    margin-top: 0px;
    background-color: #14082C;
    padding: 40px 0px 40px 0px;
    font-family: "Apercu";
    font-weight: 500;
    font-size: 14pt;
    width: 100%;
    position: absolute;
}

.holder{
    /* margin-top: 0px; */
    background-color: #d6352a;
    padding: 40px 10px 50px 10px;
    font-family: "Apercu";
    font-weight: 200;
    font-size: 14pt;
    width: 100vw;
    height:1350px;
    /* position: absolute; */
    /* left: 0px; */
}

#awards li {
    list-style-type: none;
    /* color: white; */
    font-family: "Apercu";
    font-weight: normal;
    line-height: 150%;
}

#events {
    height:200px;
    overflow: auto;
    font-family: "Apercu";
    font-weight: 500;
    font-size: 15pt;
    margin-top:20px;
    padding-top:0px;
    padding-left: 10px;
    padding-right: 10px;
    position: relative;
    z-index:20;
    line-height: 140%;
    color: #232322;
}

#events::-webkit-scrollbar {
    display: none;
}

#gradient {
    position: absolute;
    top: 200px;
    left: 0px;
    height: 60%;
    width: 100%;
    z-index: 100;
    background: -moz-linear-gradient(top,  rgba(245,245,245,0) 0%, rgba(245,245,245,1) 76%, rgba(245,245,245,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(245,245,245,0)), color-stop(76%,rgba(245,245,245,1)), color-stop(100%,rgba(245,245,245,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(245,245,245,0) 0%,rgba(245,245,245,1) 76%,rgba(245,245,245,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(245,245,245,0) 0%,rgba(245,245,245,1) 76%,rgba(245,245,245,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(245,245,245,0) 0%,rgba(245,245,245,1) 76%,rgba(245,245,245,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(245,245,245,0) 0%,rgba(245,245,245,1) 76%,rgba(245,245,245,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00f5f5f5', endColorstr='#f5f5f5',GradientType=0 ); /* IE6-9 */
}


.project {
    background-color: #f5f5f5;
    color: white;
    font-family: "Apercu";
    font-weight: 100;
    overflow: hidden;
    position: relative;
    vertical-align: top;
}

.project > div {
    background-color: rgba(245,245,245,0.9);
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
    -webkit-transition: opacity 0.3s linear;
    color: #ccc;
}

.project:hover > div {
    display: block;
    opacity: 1.0;
}

.project > div a {
    color: #f3f3f3;
    text-decoration: none;
}

.project .surroundingBox {
  width: 100%;
  height: 100%;
}

.writingWrapper {
    height: 86%;
    display: flex;
    align-items: center;
}

.writing {
    margin: auto;
    /* background-color: #3cb7ba; */
    /*
            margin-left: 20;
            margin-right: 20;
    */
    color: #14082c;
    text-decoration:none;
    font-family: "Apercu";
    font-size: 18pt;
    font-weight: normal;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
    /* border-bottom: #f2f2f2 solid 1px; */
}

.info{
    color: black;
    padding: 10px 0px 10px 0px;
    font-family: "DIN";
    font-size: 11pt;
    font-weight: 100;
    border-top: solid 1px #14082c;
    position: absolute;
    /*bottom: 10px;*/
    bottom: 0;
    left: 5%;
    right: 5%;
    text-align: left;
    height: 18%;
    max-height: 50px;
}



.project img {

    left: 0;
    position: relative;
    width: 100%;
}

.homeBig {
    height:100%;
    margin-left: -12.6%;
}

#projectContent	{
    /* cursor: url("images/down%20blue.png") 6 6, auto; */
    position: fixed;
    top:120px;
    left:0px;
    right:0px;
    margin-left: auto;
    margin-right: auto;
    background-color: #FFFFFF;
    padding: 30px;
    font-family: "Apercu";
    line-height: 150%;
    font-weight: 300;
    font-size: 10pt;
    width: 700px;
}

#work {
    background-color: #f5f5f5;
    display: table;
    margin-left: auto;
    margin-right: auto;
    padding-top: 40px;
    width: 90%;
    text-align: center;
}

#homeContent {
    background-color: #f5f5f5;
    margin-top: 80px;
    margin-bottom: 20px;
    padding-top: 0px;
}

.diagram{
    /* height: 250px; */
    width: 320px;
    float: left;
    vertical-align: middle;
    margin: 65px;
}

.sidearrows{
    padding-top: 20px;
}

#aboutWrapper {
	/* margin: 0 auto; */
	display: block;
	height: 100%;
	width: 94vw;
}

#services{
	margin-left: 10%;
	width: 40%;
	padding-top: 60px;
	font-weight: 500;
}

#services li{
	list-style-type: none;
	line-height: 150%;
	font-size: 13pt;
}

#servicesContent li{
  font-weight: normal;
}

#awards {
    margin-right: 10%;
    margin-top: -220px;
    margin-bottom: 50px;
   /*  background-color: #14082C; */
    /* padding: 40px 10px 40px 10px; */
    font-family: "Apercu";
    font-weight: 500;
/*
    width: 100vw;
    bottom: 0;
*/
    float:right;
    width: 45%;
}

#awards li{
	font-size: 13pt;
}

#about{
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}

#tweecool {
	font-family: "Apercu";
  font-weight: 500;
  margin: 0 auto;
  text-align: center;
}

#tweecool li {
  display: inline-block;
  width: 25%;
  min-height: 100px;
  margin: 5px;
  padding: 20px;
  vertical-align: top;
  text-align: left;
}

li {list-style-type: none;}

ul.rig {
	padding-left: 0px;
	list-style: none;
	font-size: 0px;
	margin-left: -2.5%; /* should match li left margin */
}
ul.rig li {
	display: inline-block;
	padding: 10px;
	margin: 0 0 2.5% 2.5%;
	/* background: #fff; */
	/* border: 1px solid #ddd; */
	font-size: 16px;
	font-size: 1rem;
	vertical-align: top;
	/* box-shadow: 0 0 5px #ddd; */
}

ul.rig li h3 {
	margin: 0 0 5px;
}
ul.rig li p {
	font-size: .9em;
	line-height: 1.5em;
	color: #999;
}
/* class for 2 columns */
ul.rig.columns-2 li {
	width: 47.5%; /* this value + 2.5 should = 50% */
}
/* class for 3 columns */
ul.rig.columns-3 li {
	width: 30.83%; /* this value + 2.5 should = 33% */
}
/* class for 4 columns */
ul.rig.columns-4 li {
	width: 22.5%; /* this value + 2.5 should = 25% */
}

@media (max-width: 600px) {
	ul.grid-nav li {
		display: block;
		margin: 0 0 5px;
	}
	ul.grid-nav li a {
		display: block;
	}
	ul.rig {
		margin-left: 0;
	}
	ul.rig li {
		width: 100% !important; /* over-ride all li styles */
		margin: 0 0 20px;
	}
	#logo{
		width: 70% !important;
	}
	#nav a{
		padding: 4px !important;
	}
}

@media all and (max-width: 980px){
  .regularBrick {
      width: 47%;
  }

  #clients p {
      text-align: center;
  }

  #mapContainer{
     width: 95vw !important;
     margin-left: -47.5vw !important;
  }
}

@media all and (max-width: 639px){
    .regularBrick {
        width: 97%;
    }

    .project {
	    width: 80vw !important;
    }
    .project img{
	    width: 80vw !important;
	    height: auto !important;
    }

}

#maillist	{
    position: relative;
    /* cursor:url("images/down%20blue.png") 6 6, auto; */
    background-color: #f5f5f5;
    padding: 50px 30px 30px 30px;
    font-family: "Apercu";
    line-height: 150%;
    font-weight: 300;
    font-size: 14pt;
    width: 900px;
    margin: auto;
}

#mail {
	font-size: 16pt;
	font-weight: 300;
}

#submit {
    background-color: #14082c;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius:3px;
    color: #fff;
    font-family: 'Apercu';
    font-size: 16px;
    font-weight: 200;
    text-decoration: none;
    cursor: pointer;
     border:none;
    padding: 5px;
    letter-spacing: 0px;
    margin-top: 10px;
}

#submit:hover {
    border: none;
/*     background:red; */
    box-shadow: none;

}

.input{
	width: 100%;
	padding: 2px;
	outline: none;
	}

.form{
	margin-top: 5px;
	margin-bottom: 30px;
	}

#mailWrapper {
	background-color: #f5f5f5;
	width: 100vw;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

@media all and (max-width: 400px) {
  #introduction {
    font-size: 14px;
  }
}

@media all and (max-width: 500px) {
  #introduction {
    font-size: 20px;
  }
}

@media all and (min-width: 1000px) {
  #introduction {
    padding-left: 50px;
    padding-right: 50px;
  }
}

/*@media all and (max-width: 400px){
    #nav2 {
        float: left;
        left: 13px;
        position: fixed;
        top: 19px;
        width: 60px;
    }

    #nav2 > p {
        float: left;
        margin-bottom: -10px;
        margin-right: 10px;
    }
}*/