@import url(http://fonts.googleapis.com/css?family=Crete+Round);
 
@import url(http://fonts.googleapis.com/css?family=Droid+Sans);
html,
button,
input,
select,
textarea {
  color: #222222;
  font-family: 'Droid Sans', sans-serif;
}
h1,
legend {
  color: #566671;
  font: normal 32px/1.2em 'Crete Round', serif;
  padding-bottom: .4em;
}
p {
  margin: 0;
}
a {
  outline: none!important;
  -moz-outline-style: none!important;
}
input {
  -webkit-appearance: none;
  border-radius: 0;
}
body {
  font-size: 16px;
  line-height: 1.6em;
}
header .top,
div.content,
footer ul {
  padding: 0 20px;
}
header {
  height: 150px;
  background: #fbfcf7 url('../img/light-back.png') repeat-x;
  border-bottom: 1px solid white;
}
header .top {
  margin: 0 auto;
  position: relative;
  height: 100%;
}
header img.logo {
  position: absolute;
  margin: 0;
  padding: 0;
  bottom: 20px;
  right: 20px;
  width: 380px;
}
header .decoration {
  margin: 0;
  position: absolute;
  bottom: 0;
  left: 20px;
  width: 262px;
  height: 145px;
  background: url('../img/cables.png') no-repeat left top;
  background-size: 100% 100%;
}
.content {
  margin: 0 auto;
}
section {
  margin: 30px 0;
}
section:first-child {
  margin-top: 0px;
}
section:before {
  content: "";
  display: block;
  width: 100%;
  height: 16px;
  margin: 30px 0 40px;
  background: url('../img/divider.jpg') no-repeat left top;
  background-size: 100% 100%;
}
section:first-child:before {
  margin-top: 0px;
}
section a {
  text-decoration: none;
  color: #222222;
}
section a:hover span {
  text-decoration: underline;
}
section a h1 {
  margin: 0;
  clear: left;
}
.about h1 {
  text-align: center;
  width: 100%;
  margin-bottom: 25px;
}
.about article.more p {
  width: auto;
}
article {
  overflow: auto;
}
article.more {
  margin-top: 1em;
  display: none;
}
article p {
  float: left;
}
article span.more {
  display: block;
  text-align: right;
  clear: both;
  color: #a35021;
  margin-top: .5em;
}
article .image {
  background-color: #f5f5f5;
  background-size: 100% 100%;
  float: right;
  position: relative;
}
article .image p.caption {
  position: absolute;
  display: block;
  color: white;
  font-size: 13px;
  line-height: 1.2em;
  bottom: 0px;
  margin: 1em;
  width: auto;
  padding: 0;
}
article .image:after {
  content: "";
  display: block;
  background: url('../img/shadow.jpg') no-repeat left top;
  background-size: 100% 100%;
}
article p.success {
  display: none;
}
article a {
  color: #a35021;
}
article a:hover {
  text-decoration: underline;
}
section.expanded span.more {
  opacity: 0;
  -webkit-transition: opacity 0.2s ease-in-out 0s;
  -moz-transition: opacity 0.2s ease-in-out 0s;
  transition: opacity 0.2s ease-in-out 0s;
}
section.right article h1,
section.right article p {
  float: right;
  clear: right;
}
section.right article .image {
  float: left;
}
.about .image {
  background-image: url('../img/mattias.jpg');
}
.business .image {
  background-image: url('../img/elbil.jpg');
}
.private .image {
  background-image: url('../img/hemel.jpg');
}
section article.more p {
  float: left;
}
form {
  float: right;
  padding-bottom: 1px;
}
form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  margin-bottom: 1.6em;
}
form .fields {
  overflow: hidden;
}
form legend {
  display: block;
  font-size: 22px;
  padding-bottom: 10px;
}
form .input {
  background: white;
}
form .input input {
  background: transparent;
  border: 1px solid #bbb;
  margin: 0;
  display: block;
  margin-bottom: -1px;
  -webkit-box-sizing: border-box;
  /* Safari/Chrome, other WebKit */
 
  -moz-box-sizing: border-box;
  /* Firefox, other Gecko */
 
  box-sizing: border-box;
  /* Opera/IE 8+ */
 
  width: 100%;
}
form .input span {
  position: absolute;
  color: #999;
}
form .input input,
form .input span {
  font-size: 16px;
  height: 40px;
  line-height: 40px;
  padding: 0 10px;
}
form .input input[type='text'],
form .input input[type='number'],
form .input textarea {
  font-size: 16px;
  -webkit-text-size-adjust: none;
}
form .button {
  color: #a35021;
  text-align: right;
  display: block;
  margin-top: 10px;
  display: inline-block;
  float: right;
}
form .button:hover {
  text-decoration: underline;
}
footer {
  color: #aaaaaa;
  font-size: 14px;
  margin-top: 50px;
  background: #464545;
  background: -moz-radial-gradient(circle, #4a4949 33%, transparent 10%), -moz-radial-gradient(circle, #4a4949 33%, #464545 10%) 8px 8px;
  background: -webkit-radial-gradient(circle, #4a4949 33%, transparent 10%), -webkit-radial-gradient(circle, #4a4949 33%, #464545 10%) 8px 8px;
  background: radial-gradient(circle, #4a4949 33%, transparent 10%), radial-gradient(circle, #4a4949 33%, #464545 10%) 8px 8px;
  background-size: 16px 16px;
}
footer ul {
  margin: 0 auto;
  padding-top: 70px;
  padding-bottom: 70px;
  list-style: none;
  text-align: center;
}
footer a {
  color: #aaaaaa;
  text-decoration: none;
}
footer a:hover {
  color: white;
}
footer span {
  margin-right: 5px;
}
footer .logo {
  margin: 0 auto;
  width: 180px;
  margin-bottom: 15px;
}

footer .logo img{
  width: 100%;
}

/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}
::selection {
  background: #b3d4fc;
  text-shadow: none;
}
/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */
img {
  vertical-align: middle;
}
/*
 * Remove default fieldset styles.
 */
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (max-width: 99998px) {
  /* Auto generated width */
  header .top {
    width: 960px;
    -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
   
    -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
   
    box-sizing: border-box;
    /* Opera/IE 8+ */
   
  }
  .content {
    width: 960px;
    -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
   
    -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
   
    box-sizing: border-box;
    /* Opera/IE 8+ */
   
  }
  section a h1 {
    width: 433.17972350230417px;
  }
  article p {
    width: 433.17972350230417px;
  }
  article .image {
    width: 433.17972350230417px;
    height: 231.02918586789556px;
    margin-bottom: 23.102918586789556px;
  }
  article .image:after {
    width: 433.17972350230417px;
    height: 23.102918586789556px;
    margin-top: 231.02918586789556px;
  }
  form {
    width: 433.17972350230417px;
  }
  footer ul {
    width: 960px;
    -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
   
    -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
   
    box-sizing: border-box;
    /* Opera/IE 8+ */
   
  }
}
@media only screen and (max-width: 959px) {
  /* Auto generated width */
  header .top {
    width: 640px;
    -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
   
    -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
   
    box-sizing: border-box;
    /* Opera/IE 8+ */
   
  }
  .content {
    width: 640px;
    -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
   
    -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
   
    box-sizing: border-box;
    /* Opera/IE 8+ */
   
  }
  section a h1 {
    width: 285.7142857142857px;
  }
  article p {
    width: 285.7142857142857px;
  }
  article .image {
    width: 285.7142857142857px;
    height: 152.38095238095238px;
    margin-bottom: 15.238095238095237px;
  }
  article .image:after {
    width: 285.7142857142857px;
    height: 15.238095238095237px;
    margin-top: 152.38095238095238px;
  }
  form {
    width: 285.7142857142857px;
  }
  footer ul {
    width: 640px;
    -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
   
    -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
   
    box-sizing: border-box;
    /* Opera/IE 8+ */
   
  }
}
@media only screen and (max-width: 639px) {
  /* Auto generated width */
  header .top {
    width: 480px;
    -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
   
    -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
   
    box-sizing: border-box;
    /* Opera/IE 8+ */
   
  }
  .content {
    width: 480px;
    -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
   
    -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
   
    box-sizing: border-box;
    /* Opera/IE 8+ */
   
  }
  section a h1 {
    width: 211.9815668202765px;
  }
  article p {
    width: 211.9815668202765px;
  }
  article .image {
    width: 211.9815668202765px;
    height: 113.0568356374808px;
    margin-bottom: 11.30568356374808px;
  }
  article .image:after {
    width: 211.9815668202765px;
    height: 11.30568356374808px;
    margin-top: 113.0568356374808px;
  }
  form {
    width: 211.9815668202765px;
  }
  footer ul {
    width: 480px;
    -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
   
    -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
   
    box-sizing: border-box;
    /* Opera/IE 8+ */
   
  }
}
@media only screen and (max-width: 479px) {
  /* Auto generated width */
  header .top {
    width: 320px;
    -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
   
    -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
   
    box-sizing: border-box;
    /* Opera/IE 8+ */
   
  }
  .content {
    width: 320px;
    -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
   
    -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
   
    box-sizing: border-box;
    /* Opera/IE 8+ */
   
  }
  section a h1 {
    width: 138.24884792626727px;
  }
  article p {
    width: 138.24884792626727px;
  }
  article .image {
    width: 138.24884792626727px;
    height: 73.73271889400921px;
    margin-bottom: 7.373271889400921px;
  }
  article .image:after {
    width: 138.24884792626727px;
    height: 7.373271889400921px;
    margin-top: 73.73271889400921px;
  }
  form {
    width: 138.24884792626727px;
  }
  footer ul {
    width: 320px;
    -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
   
    -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
   
    box-sizing: border-box;
    /* Opera/IE 8+ */
   
  }
}
@media only screen and (max-width: 639px) {
  /* Mobile landscape */
  header .top,
  div.content,
  footer ul {
    width: 480px;
  }
  header {
    height: 120px;
  }
  .top .decoration {
    display: none;
  }
  header img.logo {
    display: block;
    position: relative;
    bottom: auto;
    right: auto;
    margin: 0 auto;
    top: 35px;
  }
  section:before {
    height: 8px;
    margin: 0px 0 25px;
  }
  footer ul {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}
@media only screen and (max-width: 479px) {
  /* Mobile portrait */
  article h1,
  article p,
  article .image,
  article .image:after,
  article form {
    width: 280px;
    float: left!important;
  }
  article .image {
    height: 150px;
    margin-bottom: 15px;
  }
  article .image:after {
    height: 15px;
    margin-top: 150px;
  }
  header .top,
  div.content,
  footer ul {
    width: 320px;
  }
  header {
    height: 100px;
  }
  header img.logo {
    width: 280px;
    height: 48.845383999999996px;
    top: 30px;
  }
  h1 {
    font-size: 30px;
  }
  form {
    margin-top: 2.8em;
  }
  footer .logo {
    margin-bottom: 1.6em;
  }
  footer span {
    display: block;
    margin-top: 1em;
  }
}
@media only screen and (min-width: 960px) {
  /* Big screens */
  body {
    font-size: 20px;
  }
  header img.logo {
    width: 500px;
    height: 87.22389999999999px;
    bottom: 15px;
  }
  footer .logo {
    width: 260px;
    height: 45.356427999999994px;
  }
  h1 {
    font-size: 46px;
  }
  article .image p.caption {
    font-size: 16px;
  }
  .about a article p {
    margin-top: 2.5em;
  }
  footer {
    font-size: 18px;
    line-height: 1.8em;
  }
  footer span {
    margin-right: 15px;
  }
  form legend {
    font-size: 28px;
  }
  form .input input,
  form .input span {
    font-size: 18px;
    height: 50px;
    line-height: 50px;
    padding: 0 10px;
  }
  form .input input {
    border: 2px solid #bbb;
    margin-bottom: -2px;
  }
}