@import url('iphone.css') handheld, only screen and (max-device-width: 480px);

/**
 * General definitions
 */

html, body {
  background: #072138 url('/m/images/background.jpg') no-repeat center top;
  font: 11px Lucida Grande, sans-serif;
} 

img {
  border: none;
} 

h1 {
  margin:0;
  font-size: 1.45em;
} 

h2 {
  font-size: 1.45em;
  margin-top: 2em;
  margin-bottom: 0;
} 

h3 {
  font-size: 1.27em;
  margin-top: 1em;
  margin-bottom: 0;
} 

p {
  max-width: 450px;
  margin-bottom: 1.1em;
  margin-top: 0;
} 

a {
  color: #135f9f;
  text-decoration: none;
} 

a:hover {
  text-decoration: underline;
} 

.separator {
  clear: both;
} 

a.more {
  display: block;
  width: 5em;
}

a.more:after {
  content: " »";
} 

a.read {
color: #FF5906;
} 

ul.compact {
  margin: .5em 0;
  padding-left: 1em ;
} 
ul.compact li {
  margin: .35em 0;
  max-width: 350px;
}

ul.compact li {
  margin-left: 1em;
} 

.meta {
  color: #777;
} 

.new {
  font-weight: bold;
  background: #FF5906;
  color: white;
  padding: .2em .4em;
  font-size: 10px;
} 
/**
 * Important message
 */

div.important_message {
  padding: 1em;
  font-size: 1.2em;
  border: solid 10px #efefef;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  margin-bottom: 2em;
  font-weight: bold;
  text-align: center;
} 

/**
 * Forms
 */

input, textarea {
  padding: .5em;
} 

label {
  font-weight: bold;
  display: block;
} 
div.field {
  margin: 1em 0;
} 

ul.errorlist {
  padding: 0;
  margin: 0;
  color: #990000;
  font-weight: bold;
} 

.field.error textarea,
.field.error input {
  border: 2px solid #990000;
} 

ul.errorlist li {
  list-style: none;
  padding: 0;
  margin: 0;
} 


textarea {
  width: 80%;
  height: 10em;
} 
/**
 * More lists
 */

ul.morelist {
  font-weight: bold;
  color: #135f9f;
  padding: 1em;
  border: solid 1px #efefef;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
} 

ul.morelist li {
  list-style: outside none;
  padding: .5em 0;
} 

ul.morelist li:before {
  content: '> ';
} 

/**
 * Base canvas
 */

#maincontainer {
  position: relative;
  width: 900px;
  margin: 0 auto;
  -webkit-transition: opacity .3s ease-out;
} 

#languageform {
  position: absolute;
  top: -1em;
  right: 0;
} 

#languageform a {
  color: #ccc;
} 

#languageform a.selected {
  color: white;
} 

#logocontainer {
display: block;
  margin-top: 3em;
  margin-bottom: .5em;
} 

#baseline {
  margin-top: .2em;
  color: white;
} 

#topnav {
  border-top: solid 4px #ff5906;
  background: #05314e;
  color: white;
  position: relative;
} 

#topnav ul {
  padding: 0;
  margin: 0;
} 

#topnav li {
  font-weight: bold;
  line-height: 32px;
  height: 32px;
  font-size: 12px;
  padding: 0 15px;
  list-style: none;
  float: left;
  border-left: solid 1px #05314e;
  border-right: solid 1px #05314e;
}

#topnav li.selected,
#topnav li.selected:hover {
  background: #1461a1;
  border-left: solid 1px #1461a1;
  border-right: solid 1px #1461a1;
} 

#topnav li a {
  display: block;
  background: transparent url('/m/images/icons/home-off.png') no-repeat left 3px;
  padding-left: 27px;
  color: white;
} 

#topnav li:hover a {
  text-decoration: none;
}

#topnav li:hover {
  background: transparent url('/m/images/tb-on.png') repeat-x left top;
  border-left: solid 1px #1461a1;
  border-right: solid 1px #1461a1;
}

#topnav li.last {
  position: absolute;
  right: 0;
  top: 0;
} 

#topnav a.home { background-image: url('/m/images/icons/home-off.png'); } 
#topnav li.selected a.home { background-image: url('/m/images/icons/home-on.png'); } 
#topnav a.webdev { background-image: url('/m/images/icons/webdev-off.png'); } 
#topnav li.selected a.webdev { background-image: url('/m/images/icons/webdev-on.png'); } 
#topnav a.iphone { background-image: url('/m/images/icons/iphone-off.png'); } 
#topnav li.selected a.iphone { background-image: url('/m/images/icons/iphone-on.png'); } 
#topnav a.facebook { background-image: url('/m/images/icons/facebook-off.png'); } 
#topnav li.selected a.facebook { background-image: url('/m/images/icons/facebook-on.png'); } 
#topnav a.services { background-image: url('/m/images/icons/services-off.png'); } 
#topnav li.selected a.services { background-image: url('/m/images/icons/services-on.png'); } 
#topnav a.contact { background-image: url('/m/images/icons/contact-off.png'); } 
#topnav li.selected a.contact { background-image: url('/m/images/icons/contact-on.png'); } 

#beforemaincontent {
  background: white;
} 
#maincontent {
  padding: 32px;
  background: white;
  min-height: 300px;
} 

#footer a {
  color: white;
} 
#footer {
  text-align: center;
  color: white;
  font-size: .9em;
  padding-top: 1em;
  padding-bottom: 2em;
} 

#leftcol {
  width: 66.66666%;
  float: left;
} 

#rightcol {
  width: 33.33333%;
  float: left;
} 


#leftcol .colcontent {
  padding-right: 3em;
} 
#rightcol .colcontent {
  padding-left: 3em;
} 

#maincontent p {
  text-align: justify;
} 

/**
 * Overlay
 */

#overlay {
  position: absolute;
  z-index: 10000;
  width: 90%;;
  max-width: 750px;
  height: 80%;
  padding-top: 3.5em;
  -webkit-box-shadow: 0 0 50px #000;
  -moz-box-shadow: 0 0 50px #000;

  opacity: 0;
  display: none;
  -webkit-transform: scale(0.0) rotate(0deg);
  -webkit-transition: .3s ease-out;
  -webkit-transition-property: -webkit-transform, opacity;
} 

#overlay.beforeAnimation {
  -webkit-transition: none;
  -webkit-transform: scale(0.0) rotate(360deg);
}

#overlay.visible {
  display: block;
}

#overlay.on {
  -webkit-transform: scale(1.0) rotate(360deg);
  opacity: 1;
  display: block;
}

body.safari #overlay,
body.chrome #overlay {
  display: block;
} 

#overlay a.close:hover {
  text-decoration: none;
  background-color: #3f75a1;
}
#overlay .close {
  display: block;
  background: #05314E;
  color: white;
  padding: .5em 1em;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  position: absolute;
  top: .75em;
  right: .75em;
  font-weight: bold;
  line-height: 1em;
} 

#overlaycontent {
  position: relative;
  padding: 4em;
  border-top: 4px solid #FF5906;
} 

#overlayframe {
  height: 100%;
  background: white;
  overflow: auto;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
} 

#overlaytitle {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #1461a1; 
  color: white;
  text-align: center;
  height: 3.5em;
  line-height: 3.5em;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
} 
#overlaytitle h2 {
  margin: 0;
  padding: 0;
  height: 100%;
} 

#overlaynav, #overlaycontent {
  opacity: 0;
  -webkit-transition: .2s ease-out;
  -webkit-transition-property: opacity;
} 
#overlaytitle.on, #overlaynav.on, #overlaycontent.on {
  opacity: 1;
} 

#overlaynav {
  position: absolute;
  background: transparent;
  width: 140%;
  height: 0;
  top: 50%;
  left: -20%;
}

#overlaynav a {
  color: white;
  position: absolute;
  opacity: .5;
  top: 50%;
  padding-top: 40px;
  width: 100px;
  text-align: center;
  background: transparent url('/m/images/right-arrow.png') no-repeat center top;
  display: block;
} 

#overlaynav a:hover {
  opacity: 1;
  text-decoration: none;
} 

#overlaynav .next {
  right: 0;
} 

#overlaynav .previous {
  left: 0;
  background-image: url('/m/images/left-arrow.png');
} 

#overlaynav span.title {
  font-weight: bold;
} 

/**
 * Homepage
 */

#home #servicesbox {
  margin: 0;
  padding: 0;
} 

#home #servicesbox h2 {
  margin-top: .93em;
}
#home #servicesbox li {
  width: 33.333333%;
  float: left;
  list-style: none;
  cursor: pointer;
  border-bottom: solid 1px #bbb;
} 
#home #servicesbox li div.content1 {
  border-right: solid 1px #e7e7e7;
} 

#home #servicesbox li.last div.content1 {
  border-right: none;
} 

#home #servicesbox li div.content2 {
  margin: 1px;
  background: transparent url('/m/images/box-bk.png') repeat-x left bottom;
  padding: 1em 3em;
  height: 8em;
}

#home #servicesbox li:hover {
  color: #135f9f;
}
#home #servicesbox p {
  text-align: justify;
}

#home #home_footer {
  background: white;
} 
#home #home_footer .highlightbordercontent {

  padding: 1em;
} 
#home #home_footer p {
  max-width: 900px;

}
/**
 * Realisations
 */

#realisations ul {
padding-left: 2em;
} 
li.realisation {
  list-style: none;
  padding-left: 22px;
  margin-left: -22px;
} 

li.realisation {
  background: transparent no-repeat left 1px;
}

/**
 * Realisation detail
 */

div.realisation .screenshot {
  margin: 0 0 1em 0;
  position: relative;
  left: -3px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  z-index: 1;
  background: black;
}
#overlaycontent div.realisation {
  width: 500px;
  margin: 0 auto;
} 
#overlaycontent div.realisation .screenshot {
  width: auto;
  margin: 0 auto 1em auto;
}

div.realisation .metainformation,
div.realisation p {
  text-align: justify;
} 
div.realisation .screenshot img {
  position: absolute;
  top: 0;
  opacity: 0;
  -webkit-transition: .5 ease-out;
  -webkit-transition-property: opacity;
  width: 100%;
  border: solid 5px #ddd;
          /*
  -khtml-border-radius: 5px;
  -webkit-box-shadow: 0 0 30px #777;
  -moz-box-shadow: 0 0 10px #777;
  */
  display: block;
} 

div.realisation .metainformation {
  float: right;
  width: 16em;
  border: solid 1px #eee;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -khtml-border-radius: 5px;
  background: -webkit-gradient(linear, left bottom, left top, from(#fff), to(#f3f3f3));;
  padding: 1em 1em 1em 1em;
  position: relative;
  bottom: 1.5em;
  margin-left: 2em;
} 

div.realisation .metainformation ul {
  padding: 0;
  margin: 0;
}
div.realisation .metainformation li strong {
  color: #999;
}
div.realisation .metainformation li {
  list-style: none;
  padding-top: .6em;
}

/**
 * Contact form
 */

#id_message, #id_subject {

  width: 100%;
} 

/**
 * About page
 */

body#about #stephanejais_pic {
  float: left;
  margin-top: 1em;
  margin-right: 1em;
  margin-bottom: 1em;
  width: 200px;
} 

body#about .message {
  clear: both;
  margin: 1em 0;
  font-size: 1.3em;
} 

body#about #address h2 {
  margin: 1em 0;
} 

#justreleased {
  border: solid 1px #ffda00;
  margin-bottom: 1.5em;
  background: transparent url('/m/images/yakaz-iphone-icon.jpg') no-repeat 10px 10px;
  height: 65px;
  width: 337px;
  padding-left: 100px;
  padding-right: 10px;
  padding-top: 25px;
  font-weight: bold;
}
#justreleased p {
  text-align: left;
} 

#justreleased a {
  color: black;
} 
#justreleased:hover a,
#justreleased:hover {
  text-decoration: none;
  color: #135f9f;
  cursor: pointer;
} 

