/*
 Theme Name: Erik Olssons Mekaniska
 Theme URI: http://eomek.se
 Description: Erik Olssons Mekaniska WordPress-theme
 Author: Fem punkter
 Version: 1.0.0
 Tags: responsive, modern, business, flat
*/

@font-face {font-family: 'clear_sansbold';src: url('fonts/clear-sans/clearsans-bold-webfont.eot');src: url('fonts/clear-sans/clearsans-bold-webfont.eot?#iefix') format('embedded-opentype'),url('fonts/clear-sans/clearsans-bold-webfont.woff') format('woff'),url('fonts/clear-sans/clearsans-bold-webfont.ttf') format('truetype'),url('fonts/clear-sans/clearsans-bold-webfont.svg#clear_sansbold') format('svg');font-weight: normal;font-style: normal;}
@font-face {font-family: 'clear_sansregular';src: url('fonts/clear-sans/clearsans-regular-webfont.eot');src: url('fonts/clear-sans/clearsans-regular-webfont.eot?#iefix') format('embedded-opentype'),url('fonts/clear-sans/clearsans-regular-webfont.woff') format('woff'),url('fonts/clear-sans/clearsans-regular-webfont.ttf') format('truetype'),url('fonts/clearsans-regular-webfont.svg#clear_sansregular') format('svg');font-weight: normal;font-style: normal;}
@font-face {font-family: 'clear_sans_mediumregular';src: url('fonts/clear-sans/clearsans-medium-webfont.eot');src: url('fonts/clear-sans/clearsans-medium-webfont.eot?#iefix') format('embedded-opentype'),url('fonts/clear-sans/clearsans-medium-webfont.woff') format('woff'),url('fonts/clear-sans/clearsans-medium-webfont.ttf') format('truetype'),url('fonts/clear-sans/clearsans-medium-webfont.svg#clear_sans_mediumregular') format('svg');font-weight: normal;font-style: normal;}
@font-face {font-family: 'clear_sansitalic';src: url('fonts/clear-sans/clearsans-italic-webfont.eot');src: url('fonts/clear-sans/clearsans-italic-webfont.eot?#iefix') format('embedded-opentype'),url('fonts/clear-sans/clearsans-italic-webfont.woff') format('woff'),url('fonts/clear-sans/clearsans-italic-webfont.ttf') format('truetype'),url('fonts/clear-sans/clearsans-italic-webfont.svg#clear_sansitalic') format('svg');font-weight: normal;font-style: normal;}

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
}

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

body {
  background: #0d0d0d;
  background-image: url("img/pattern3.png"), url("img/eomek_bg_re_re.png");
  background-position: center bottom,  50% 700px;
  background-repeat: repeat, no-repeat;
  color: #f6f6f6;
  font-family: "clear_sansregular", sans-serif;
}

a:link,
a:visited {
  color: #212121;
}

a:hover,
a:active {
  color: #BA5A0C;
}

/* --
  Typografi
-- */

h1 {
  font-size: 2.475em;
  line-height: 54px;
  color: #F6F6F6;
  text-shadow: 0px 0px 8px #213041;
  font-weight: normal;
}
h2 {
  font-family: "clear_sansregular", sans-serif;
  font-size: 1.4em;
  line-height: 24px;
  font-weight: normal;
  color: #212121;
}
h3 {
  font-size: 1em;
  letter-spacing: 1px;
  line-height: 19px;
  font-weight: normal;
}

p {
  font-size: 0.875em;
  line-height: 1.625em;
  color: #f6f6f6;
}

h2.introt {
  font-size: 1.125em;
  letter-spacing: 1px;
  line-height: 24px;
  text-transform: uppercase;
  font-weight: normal;
  color: #f6f6f6;
}

/* --
  Editable
-- */

.editable p {
  color: #45484a;
  margin-top: 12px;
}
.editable h3 {
  font-size: 1.25em;
  color: #212121;
  margin: 32px 0 8px 0;
  letter-spacing: 0;
}
  .editable p:first-child,
  .editable p.emp-title {
    margin-top: 0;
  }
.editable h2 {
  margin-top: 16px;
}
  .editable h2:first-child {
    margin-top: 0;
  }

.editable img {
  width: 100%;
}

code iframe {
  width: 100%;
}


/* --
  Links
-- */
a.backlink:link,
a.backlink:visited {
  font-family: "clear_sansbold", sans-serif;
  font-size: 0.875em;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #212121;
}

/* --
  Fixes
-- */
.right {float:right;}
.left {float:left;}
.center {text-align:center;}
.padding-top {padding-top: 60px;}
.margin-top {margin-top: 100px;}
.s-margin {margin-top: 32px;}
.m-pad {padding-top: 66px;}
.whitebg {position: relative; float: left;background: #F6F6F6;}
.padded {padding: 60px 0;}
.padding {padding: 2em 0 1em 0;}
.full {width: 100%;}
.noleft {margin-left: 0!important;}
.ptopbot {padding: 60px 0 20px 0;}
.alignleft {position:relative;float:left; margin: 0 16px 16px 0;}
.alignright {position:relative;float:right; margin: 0 0 16px 16px;}
strong {font-family: "clear_sansbold", sans-serif;}

/* --
  Grid
-- */

.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}

.container {
  margin: 0 auto;
  max-width: 1292px;
  width: 90%;
}
.mainnav {
  max-width: 1200px;
}
.introholder {
  max-width: 768px;
  padding: 0 0 46px 0;
}

.row {
  margin-top: 1.5em;
}

.row:first-child {
  margin-top: 0;
}

.column {
  float: left;
  margin-left: 5%;
}
.column:first-child {margin-left: 0;}
.column.full {width: 100%;}
.column.two-thirds {width: 65%;}
.column.half {width: 47.5%;}
.column.one-third {width: 30%;}
.column.one-fourth {width: 21.25%;}


/* --
  Header
-- */

header {
  position: relative;
  float: left;
  width: 100%;
  height: 167px;
  background: #ffffff;
  -webkit-box-shadow: 0px 4px 0px 0px rgba(0, 0, 0, 0.33);
  -moz-box-shadow:    0px 4px 0px 0px rgba(0, 0, 0, 0.33);
  box-shadow:         0px 4px 0px 0px rgba(0, 0, 0, 0.33);
}

.topmenu {
  position: relative;
  float: left;
  width: 100%;
  height: 57px;
  border-bottom: 1px solid #D8D8D8;
}

a.logo {
  position: relative;
  float: left;
  margin-top: 22px;
  /*width: 206px;*/
  height: 46px;
}

a.logo-extra img {
      max-width: 263px;
      margin-left: 1rem;
}

a.logo-extra {
      margin-top: 12px;
}
  a.logo h2 {
    font-family: "Calibri", "clear_sansregular", sans-serif;
    font-weight: bold;
    text-shadow: 0px 3px 2px rgba(150, 150, 150, 0.5);
    position: relative;
    float: left;
    width: 100%;
    font-size: 1.5em;
  }

.logowrap {
  max-width: 90%;
}

/* --
  Short Links 
-- */

.mail:before,
.telephone:before,
.sitemap:before {
  position: relative;
  float: left;
}

.mail:before {
  margin: 2px 8px 0 0;
  content: url("img/envelope.png");
}
.telephone:before {
  margin: 3px 8px 0 0;
  content: url("img/phone.png");
}
.sitemap:before {
  margin: 3px 8px 0 0;
  content: url("img/sitemap.png");
}

ul.shortlinks {
  text-transform: uppercase;
  font-size: 0.775em;
}
  ul.shortlinks li {
    display: inline-block;
    margin-right: 25px;
  }
  ul.shortlinks li:last-child {
    margin-right: 0;
  }
    ul.shortlinks li a:link,
    ul.shortlinks li a:visited {
      color: #6E6E6E;
      line-height: 57px;
      letter-spacing: 1px;
    }

/* --
  Main Navigation
-- */

.toggle {
  display: none;
}
label[for="toggle"] {
  position: relative;
  float: right;
  display: none;
}
label[for="toggle"] p {
  color: #000;
  line-height: normal;
  margin: 44px 32px 0 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.burger,
.burger:before,
.burger:after {
  position: relative;
  float: right;
  display: block;
  width: 22px;
  top: 52px;
  background: #212121;
  height: 3px;
}
  .burger:before {
    content: "";
    top: -6px;
    background: #212121;
    height: 3px;
  }
  .burger:after {
    content: "";
    top: 3px;
    background: #212121;
    height: 3px;
  }

nav {
  position: relative;
  float: right;
  /*width: 728px;*/
  width: auto;
  margin-top: 45px;
  z-index: 999;
}
  nav ul {
    list-style-type: none;
    float: right;
    }
    nav ul li {
      display: inline-block;
      padding: 0 12px;
    }
    nav ul li.wpml-ls-item {
      padding: 0 2px;
    }
    nav ul li.wpml-ls-first-item {
      padding-left: 16px;
    }
      nav ul li a {
        -moz-transition:    color .15s;
        -webkit-transition: color .15s;
        transition:         color .15s;
      }
      nav ul li a:link,
      nav ul li a:visited {
        display: block;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 0.875em;
        color: #212121;
      }
      nav ul li a:hover,
      nav ul li a:active {
        color: #BA5A0C;
      }
      /*nav ul li:last-child {
        border: 3px solid #BA5A0C;
        padding: 9px 20px;
        margin-left: 10px;
        border-radius: 30px;
      }
      nav ul li:last-child:hover {

      }*/


/* --
  Sub-navigation
-- */

.subnav {

}

.subnav li {
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.subnav li:last-child {
  margin-bottom: 0;
}

.subnav li.current_page_item a:link,
.subnav li.current_page_item a:visited {
  color: #BA5A0C;
}


/* --
  Introduktion
-- */

.intro {
  position: relative;
  float: left;
  width: 100%;
  padding: 100px 0;
  border-top: 8px solid rgba(255,255,255, .15);
}

.line {
  position: relative;
  margin: 0 auto;
  width: 55px;
  height: 3px;
  background: #BA5A0C;
  margin: 18px auto 23px auto;
}

.divider {
  position: relative;
  margin: 50px auto 0 auto;
  width: 44px;
  height: 44px;
  background: url("img/dividEr.png");
}

.s-services h3 {
  font-size: 1.25em;
}

.s-services a:link,
.s-services a:visited {
  color: #f6f6f6;
  border-bottom: 2px solid #BA5A0C;
}

.s-services a:hover,
.s-services a:active {
  color: #BA5A0C;
}

.s-services h3 {
  text-transform: uppercase;
  margin-bottom: 12px;
}

a.start-project:link,
a.start-project:visited {
  border: 3px solid #BA5A0C;
  padding: 9px 20px 11px 20px;
  margin-left: 10px;
  border-radius: 30px;
  color: #f6f6f6;
  font-size: 0.875em;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 15px;
}
a.services:link,
a.services:visited {
  font-size: 0.875em;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #f6f6f6;
  border-bottom: 2px solid #BA5A0C;
  padding: 0 0 2px 0;
  margin: 0 15px;
}


/* --
  Content 
-- */
.content {
  position: relative;
  float: left;
  width: 100%;
  padding: 56px 0;
}
.content-wrap {
  position: relative;
  float: left;
  width: 100%;
  padding: 46px;
}
p.content-headline {
  font-size: 1.4em;
  color: #212121;
}
.content-wrap ul {
  font-size: 0.875em;
  color: #212121;
  list-style-type: none;
}
.content-wrap ul:nth-child(2) {
  margin-top: 24px;
}


/* --
  Slider
-- */
.hero-eomek {
	position: relative;
	float: left;
	width: 100%;
	height: 540px;
	border-bottom: 10px solid black;
}

/* Slider */
.slick-slider
{
    position: relative;
    height: 540px;
    overflow: hidden;
    display: block;
    box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
    margin-left: auto;
    margin-right: auto;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 540px;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    width: 100%;
    display: block;
    height: 100%;
    object-fit: cover;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}

.slider-text {
    position: absolute;
    bottom: 30%;
    background: rgba(33, 33, 33, 0.9);
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

.slider-text-inner {
  padding: 3rem 2rem;
  text-align: center;
}

.slider-text-inner p,
.slider-text-inner h1,
.slider-text-inner h2,
.slider-text-inner h3,
.slider-text-inner h4,
.slider-text-inner h5,
.slider-text-inner a:link,
.slider-text-inner a:visited {
  color: #ffffff;
}

.slider-text-inner p {
  margin-bottom: 0.5rem;
}

.slider-text-inner h1,
.slider-text-inner h2,
.slider-text-inner h3,
.slider-text-inner h4,
.slider-text-inner h5 {
  margin-bottom: 1rem;
}

.slider-text-inner a:link,
.slider-text-inner a:visited {
  border-bottom: 2px solid #BA5A0C;
}

@media screen and (max-width: 1228px) {
  .slider-text {
    max-width: 650px;
  }
  .slider-text-inner {
    padding: 2rem 1rem;
  }
}

@media screen and (max-width: 828px) {
  
  .slider-text {
    bottom: unset;
    top: 20%;
    max-width: 85%;
  }
  
  .slider-text p:first-of-type {
    display: none;
  }
  
  .slider-text-inner h1,
  .slider-text-inner h2,
  .slider-text-inner h3,
  .slider-text-inner h4,
  .slider-text-inner h5 {
    font-size: 1.125em;
    margin-bottom: 0.5rem;
  }
  .slider-text-inner {
    padding: 1rem;
  }
  .slider-text-inner:before {
    content: "NYHET";
    font-size: 0.68rem;
    margin-bottom: 0.5rem;
  }
  .slider-text-inner p {
    font-size: 0.8rem;
  }
  
}

/* Arrows */
.slick-prev,
.slick-next
{
    font-size: 0;
    line-height: 0;

    position: absolute;
    top: 50%;

    display: block;

    width: 44px;
    height: 44px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);

    cursor: pointer;

    color: transparent;
    border: none;
    outline: none;
    background: transparent;
    z-index: 999;
}

.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus
{
    color: transparent;
    outline: none;
    background: transparent;
}
.slick-prev:hover:before,
.slick-prev:focus:before,
.slick-next:hover:before,
.slick-next:focus:before
{
    opacity: 1;
}
.slick-prev.slick-disabled:before,
.slick-next.slick-disabled:before
{
    opacity: .25;
}

.slick-prev:before,
.slick-next:before
{
    font-family: 'slick';
    font-size: 20px;
    line-height: 1;

    opacity: .75;
    color: white;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-prev
{
    left: 1.5rem;
}
.slick-next
{
    right: 1.5rem;
}

/* Dots */
.slick-dotted.slick-slider
{
    margin-bottom: 30px;
}

.slick-dots
{
    position: absolute;
    bottom: 1rem;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
    z-index: 100
}
.slick-dots li
{
    position: relative;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 2px;
    padding: 0;
    cursor: pointer
}
.slick-dots li button
{
    font-size: 0;
    line-height: 0;
    display: block;
    width: 8px;
    height: 8px;
    padding: 2px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: rgba(255, 255, 255, 0.4);
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    border-radius: 100%;
}
.slick-dots li button:hover,
.slick-dots li button:focus
{
    outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before
{
    opacity: 1;
}
.slick-dots li button:before
{
    font-family: 'slick';
    font-size: 6px;
    line-height: 20px;

    position: absolute;
    top: 0;
    left: 0;

    width: 20px;
    height: 20px;

    content: '•';
    text-align: center;

    opacity: .25;
    color: transparent;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button {
  background: white;
}
.slick-dots li.slick-active button:before
{
    opacity: .75;
    color: transparent;
}


/* --
  Employees
-- */
.employee {
  position: relative;
  float: left;
  width: 23.125%;
  margin-left: 2.5%;
  margin-top: 32px;
  min-height: 418px;
}
  .employee:first-child {margin-left:0;}
  .employee:nth-child(4n+1) {margin-left:0;}
.employee img {
  width: 100%;
  height: auto;
  padding: 0;
  border-radius: 0;
  border: none;
}
ul.emp {
  position: relative;
  float: left;
  margin: 12px 0 0 0;
  width: 100%;
  list-style-type: none;
}
  ul.emp li {
    display: block;
    margin-top: 8px;
  }
  ul.emp .telephone:before {
    margin: 1px 12px 0 0;
  }
  .one-ellipsis {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
p.emp-name {
  position: relative;
  float: left;
  width: 100%;
  margin: 12px 0 0 0;
  color: #212121;
  font-size: 1.4em;
}
p.emp-title {
  position: relative;
  float: left;
  color: #868686;
}

/* --
  News
-- */
.newsfeed {
  position: relative;
  float: left;
  width: 100%;
  background: #f6f6f6;
}
.sb-news {
  position: relative;
  float: left;
  width: 30%;
  border-right: 1px solid #D8D8D8;
  padding: 46px;
  min-height: 380px;
}
.newsfeed article {
  position: relative;
  float: right;
  width: 70%;
  padding: 46px;
}
.sb-alt-title {
  font-family: "clear_sansbold", sans-serif;
  font-size: 0.875em;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #212121;
  width: 100%;
}
.newsfeed article h2 {
  font-family: "clear_sansbold", sans-serif;
  font-size: 1.55em;
  color: #212121;
  text-transform: none;
  letter-spacing: 0;
}
.newsfeed article ul.article-stuff {
  position: relative;
  float: left;
  width: 100%;
  margin-top: 16px;
}
.newsfeed article p,
.referens-ind p {
  position: relative;
  float: left;
  width: 100%;
  color: #45484a;
  margin-top: 24px;
}
aside.sb-news ul {
  position: relative;
  float: left;
  font-family: "clear_sansbold", sans-serif;
  font-size: 0.875em;
  margin-top: 12px;
}
aside.sb-news ul li {
  padding: 18px 0;
  border-bottom: 1px solid #D8D8D8;
}
aside.sb-news ul li a:link,
aside.sb-news ul li a:visited {
  color: #212121;
}

/* --
  MAP
-- */

#map_canvas {
  position: relative;
  float: left;
  width: 100%;
  min-height: 300px;
  margin: 32px 0 0 0;
}

/* --
  Projects
-- */

.column.projects:first-child {
  margin-left: 0;
}
.column.projects {
  width: 24.0712074303405573%; 
  margin-left:1.23839009287926%;
  background: #f6f6f6;
  /*height: 400px;*/
  -webkit-box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.33);
  -moz-box-shadow:    5px 5px 0px 0px rgba(0, 0, 0, 0.33);
  box-shadow:         5px 5px 0px 0px rgba(0, 0, 0, 0.33);
}
.wrap {
  position: relative;
  float: left;
  padding: 16px;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.wrap img {
  position: relative;
  float: left;
  width: 100%;
  height: auto;
}
p.client {
  position: relative;
  float: left;
  font-size: 0.685em;
  text-transform: uppercase;
  color: #212121;
  margin: 8px 0;
  width: 100%;
}
  p.client:after {
    position: relative;
    float: left;
    content: "";
    width: 100%;
    height: 1px;
    background: #D8D8D8;
    top: 8px;
  }
span.date {
  color: #989B9D;
}
h4.project-title {
  font-family: "clear_sansbold", sans-serif;
  position: relative;
  float: left;
  margin: 10px 0 8px 0;
  font-size: 1.250em;
  color: #212121;
  font-weight: normal;
}
.wrap p {
  position: relative;
  float: left;
  color: #45484A;
}
.wrap p.article-excerpt {
  margin-top: 0;
}

a.to-project:link,
a.to-project:visited {
  position: relative;
  float: left;
  font-size: 0.875em;
  letter-spacing: 1px;
  text-transform: uppercase;
  width: 100%;
  padding: 12px 16px;
  margin-top: 20px;
  background: #BA5A0C;
  color: #212121;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
}
a.to-project:hover {
  background: #D6A110;
}
a.to-project:hover:after {
  animation: slide 0.5s;
  -webkit-animation: slide 0.5s;
}
a.to-project:after {
  position: absolute;
  right: 16px;
  top: 14px;
  content: url("img/arrow.png");
}
@-webkit-keyframes slide {
  0% {right: 16px;}
  50% {right: 22px;}
  100% {right: 16px;}
}
a.blue-btn:link,
a.blue-btn:visited {
  position: relative;
  float: right;
  font-size: 0.875em;
  letter-spacing: 1px;
  color: #f6f6f6;
  text-transform: uppercase;
  padding: 0 0 2px 0;
  border-bottom: 2px solid #BA5A0C;
  margin-top: 46px;
}

a.blue-btn:hover,
a.blue-btn:active {
  color: #BA5A0C;
}
.referens-ind {
  position: relative;
  float: left;
  width: 100%;
  padding: 46px;
}
h2.referens {
  font-family: "clear_sansbold", sans-serif;
  font-size: 2.475em;
  line-height: 54px;
  color: #212121;
  text-transform: none;
  text-shadow: none;
  letter-spacing: 0;
}
.project-gallery {
  position: relative;
  float: left;
  width: 100%;
  margin: 32px 0 0 0;
}
.project-img {
  position: relative;
  float: left;
  margin: 0 0 3.83333333333333% 0;
  width: 48.08333333333333%;
}
.project-img:nth-child(odd) {
  margin-right: 3.83333333333333%;
}
.project-img img {
  width: 100%;
  height: auto;
  border: none;
  border-radius: 0;
  padding: 0;
}
.caption-offgrid {
  position: absolute;
  width: 300px;
  height: 120px;
  background: #212121;
  padding: 16px;
  bottom: -12px;
  right: -16px;
}
  .caption-offgrid h5 {
    font-family: "clear_sansbold", sans-serif;
    font-size: 1em;
    color: #F6F6F6;
  }
  .caption-offgrid p {
    color: #F6F6F6;
    margin-top: 12px;
  }
ul.next-prev {
  font-family: "clear_sansbold", sans-serif;
  font-size: 0.875em;
  text-transform: uppercase;
  letter-spacing: 1px;
}
ul.next-prev li {
  display: inline;
  padding: 10px 40px;
  border-right: 1px solid #D8D8D8;
}
  ul.next-prev li:last-child {
    border-right: none;
  }
ul.next-prev li a:link,
ul.next-prev li a:visited {
  color: #212121;
}
a.next:after {
  position: relative;
  left: 14px;
  top: 2px;
  display: inline-block;
  content: url("img/arrow.png");
}
a.prev:before {
  position: relative;
  right: 14px;
  top: -2px;
  display: inline-block;
  content: url("img/arrow.png");
  transform:rotate(180deg);
  -ms-transform:rotate(180deg);
  -webkit-transform:rotate(180deg);
}

/* --
  News N Stuff
-- */
.news {
  position: relative;
  float: left;
  width: 100%;
  padding: 56px 0 0 0;
}
.sb-head {
  position: relative;
  float: left;
  width: 100%;
  padding: 32px 46px 27px 46px;
  background: #f6f6f6;
  border-bottom: 1px solid #D8D8D8;
}
p.sb-title {
  float: left;
  font-family: "clear_sansbold", sans-serif;
  font-size: 0.875em;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #212121;
}
  .smaller {width: 70% !important;}
.news-col {
  position: relative;
  float: left;
  width: 100%;
  background: #f6f6f6;
}
.insta-col {
  position: relative;
  float: left;
  width: 34.8297213622291%;
  background: #f6f6f6;
}
.news-col article {
  position: relative;
  float: left;
  width: 33.33333333333333%;
  border-right: 1px solid #D8D8D8;
  padding: 46px;
}
p.article-title {
  font-family: "clear_sansbold", sans-serif;
  font-size: 1.1em;
  color: #212121;
  line-height: 24px;
}

ul.article-stuff,
ul.project-info {
  position: relative;
  float: left;
  margin-top: 4px;
}
ul.project-info {
  padding-bottom: 24px;
}
ul.project-info:after {
  position: relative;
  float: left;
  top: 24px;
  content: "";
  height: 1px;
  background: #D8D8D8;
  width: 50%;
}

ul.article-stuff li,
ul.project-info li {
  display: inline;
}
ul.article-stuff li:first-child,
ul.project-info li:first-child {
  margin-right: 16px;
}


.article-info,
.article-author,
.project-info {
  display: inline;
  font-size: 11px;
  color: #868686;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.article-info:before {
  content: url("img/clock.png");
  margin-right: 5px;
  vertical-align: middle;
}
.article-author:before {
  content: url("img/profile.png");
  margin-right: 5px;
  vertical-align: middle;
}
.project-time:before {
  content: url("img/clock.png");
  margin-right: 5px;
  vertical-align: middle;
}
.project-tags:before {
  content: url("img/tag.png");
  margin-right: 5px;
  vertical-align: middle;
}
p.article-excerpt {
  position: relative;
  float: left;
  margin-top: 19px;
  color: #45484A;
  /* fixed height for IE */
  height: 3em;
}
.ellipsis {
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
a.cta:link,
a.cta:visited {
  position: relative;
  float: left;
  font-size: 0.875em;
  letter-spacing: 1px;
  color: #212121;
  text-transform: uppercase;
  border-bottom: 3px solid #BA5A0C;
  margin-top: 32px;
}
  .insta-margin {
    margin-top: 24px !important;
  }

/* --
  Instagram
-- */
.insta-wrap {
  position: relative;
  float: left;
  padding: 46px;
}
.insta {
  width: 100%;
}
.insta a {
  display: block;
  position: relative;
  float: left;
  width: 32.5%;
  margin-right: 1.2%;
}
  .insta a:last-child {
    margin-right: 0;
  }
.insta a img {
  max-width: 115px;
  width: 100%;
  height: auto;
}

/* --
  Tjänster
-- */

.tabs {
  position: relative;
  float: left;
  width: 100%;
  background: #d8d8d8;
  -moz-box-shadow:    inset 0px -2px 3px 0px rgba(0,0,0,0.15);
  box-shadow:         inset 0px -2px 3px 0px rgba(0,0,0,0.15);
}
  .tabs ul {
    display: block;
  } 
    .tabs ul li {
      list-style-type: none;
      display: block;
      position: relative;
      float: left;
      width: 12.5%;
      text-align: center;
      display: table;
      height: 90px;
    }
      .tabs ul li a {
        display: block;
        text-transform: uppercase;
        font-size: .675em;
        color: #0C1826;
        display: table-cell; 
        vertical-align: middle; 
        text-align: center;
        letter-spacing: 1px;
        border-right: 1px solid rgba(0,0,0,0.1)
      }
      .tabs ul li a:hover {
        background: #CECCCC;
      }
      .tabs ul li.active a:hover {
        background: #83888D;
      }
    .tabs ul li:last-child a {
      border-right: 0;
    }
    .tabs ul li.active {
      background: #979CA1;
      -moz-box-shadow:    inset 0px -2px 3px 0px rgba(0,0,0,0.15);
      box-shadow:         inset 0px -2px 3px 0px rgba(0,0,0,0.15);

    }
    .tabs ul li.active a {
      border-right: 0;
    }
    
    /* -- TOGGLE -- */
      
      #tabs-toggle {
        display: none;
      }
  
      #tabs-toggle:checked ~ ul {
        display: block;
      }

      label[for="tabs-toggle"] {
        display: none;
        cursor: pointer;
        text-transform: uppercase;
        color: #0C1826;
        vertical-align: middle; 
        text-align: center;
        padding: 1em 0;
        letter-spacing: 1px;
        -webkit-user-select:  none;
        -moz-user-select:     none;
        -ms-user-select:      none;
      }
        label[for="tabs-toggle"] p:after {
          display: inline-block;
          margin: 1px 0 0
          content: url("../img/down.png");
          width: 10px;
          height: 7px;
        }
          #tabs-toggle:checked ~ label[for="tabs-toggle"] p:after {
            width: 10px;
            height: 7px;
            -webkit-transform: rotate(180deg);
            -ms-transform:     rotate(180deg);
            transform:         rotate(180deg);
          }

  ul.pro-list {
    position: relative;
    float: left;
    width: 100%;
    margin: 12px 0 0 16px;
  }
    ul.pro-list li {
      position: relative;
      float: left;
      width: 100%;
      list-style-type: disc;
      color: #45484a;
    }

.service {
  position: relative;
  float: left;
  width: 70%;
  padding: 0 0 0 2.875em;
}

.service-img {
  position: relative;
  float: left;
  max-width: 22.5em;
  width: 30%;
}

/* -- 
  Form
-- */
p.form-info {
  position: relative;
  float: left;
  color: #45484a;
  width: 30%;
  padding: 20px 0 0 0;
}
p.form-checkbox {
  position: relative;
  float: left;
  color: #45484a;
  width: 100px;
  margin: 0 24px 0 10px;
}
input[type="text"] {
  width: 70%;
  border-radius: 4px;
  outline: none;
  border: 1px solid #CFCFCF;
  padding: 10px;
  margin-bottom: 16px;
  color: #45484a;
}
textarea {
  width: 70%;
  height: 120px;
  resize: none;
  border-radius: 4px;
  outline: none;
  border: 1px solid #CFCFCF;
  color: #45484a;
  padding: 10px;
}
.check-holder {
  position: relative;
  float: left;
  width: 100%;
  margin: 2em 0;
}
ul.form-list {
  margin-top: 0!important;
}
ul.form-list li {
  font-size: 1.175em;
  display: block;
  margin-bottom: 12px;
}
  ul.form-list li p {
    position: relative;
    color: #45484a;
    margin-left: 24px;
  }
.send-button {
  outline: none;
  border: none;
  padding: 12px 46px;
}
span.wpcf7-list-item-label {
  color: #000;
}

.formmenu {
  position: relative;
  float: left;
  width: 100%;
  border: 1px solid #fcfcfc;
  border-radius: 8px;
  margin-top: 0;
}
  .formmenu li {
    position: relative;
    float: left;
    width: 33.3333333333333333%;
    background: #D8D8D8;

  }
    .formmenu li:first-child {
      border-top-left-radius: 8px;
      border-bottom-left-radius: 8px;
      border-right: 1px solid #C1C0C0; 
    }

    .formmenu li:last-child {
      border-top-right-radius: 8px;
      border-bottom-right-radius: 8px;
      border-left: 1px solid #C1C0C0;
    }

    .formmenu li a:link,
    .formmenu li a:visited {
      display: block;
      text-align: center;
      padding: 2em;
      font-size: 1.125em;
      color: #979CA1;
      text-transform: uppercase;
      letter-spacing: 1px;
    }
      .formmenu li.active {
        background: #212121;
        border: 0;
      }
        .formmenu li.active a:link,
        .formmenu li.active a:visited {
          color: #F6F6F6;
        }

label {
  font-size: .875em;
}

.wpcf7-list-item {
  position: relative;
  float: left;
  width: 25%;
}
  span .wpcf7-list-item {
    margin-left: 0;
  }

.wpcf7-submit {
  margin: 2em 0 0 0;
  padding: 1em 5em;
  border-radius: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #102033;
  border: 3px solid #BA5A0C;
  background: none;
}
  .wpcf7-submit:hover {
    background: #BA5A0C;
  }

div.wpcf7-validation-errors {
  border: 0;
}

/* --
  Projekt
-- */
          
#filter-toggle {
  display: none;
}

label[for="filter-toggle"] {
  display: block;
  position: relative;
  float: right;
  font-size: .875rem;
  color: #212121;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid gold;
  padding: .25em 1em;
  margin: -3px 0 0 0;
  border-radius: 50px;
  border: 3px solid #BA5A0C;
  -webkit-user-select:  none;      
  -moz-user-select:     none; 
  -ms-user-select:      none; 
}

.filter-tab {
  display: none;
  position: relative;
  float: left;
  width: 100%;
  background: #d8d8d8;
  padding: 0 2.875em;

}

a.project {
  display: block;
  position: relative;
  float: left;
  width: 23.125%;
  min-height: 300px;
  margin: 0 2.5% 2em 0;
  background: #212121;
  -webkit-transition: opacity .15s;
  -moz-transition: opacity .15s;
  transition: opacity .15s;
}
  a.project:hover {
    opacity: .7;

  }
  a.project:nth-child(4n+0) {
    margin: 0;
  }

  a.project img {
    position: relative;
    float: left;
    width: 100%;
    overflow: hidden;
    padding: 0;
    border: 0;
  }
  .title {
    position: relative;
    float: left;
    width: 100%;
    background: #212121;
    padding: 1em;
  }
  .title h4 {
    position: relative;
    float: left;
    padding: .25em 0 0 0;
    font-size: 1.25em;
    color: #f6f6f6;
  }
  .title p {
    color: #f6f6f6;
  }


/* --
  Footer
-- */
footer {
  position: relative;
  float: left;
  width: 100%;
  background: #212121;
}
ul.footer-ul {
  position: relative;
  float: left;
  width: 39.05325443786982%;
  margin: 0 10%;
  list-style-type: none;
  font-size: 0.80em;
}
  ul.footer-ul:first-child {
    margin-left: 0;
  }
  ul.footer-ul:last-child {
    margin-right: 0;
  }

ul.footer-nav {
  position: relative;
  list-style-type: none;
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 1px;
  float: right;
}
  ul.footer-nav li {
    display: inline-block;
    margin-right: 32px;
    padding: 86px 0;
  }
  ul.footer-nav li:last-child {
    margin-right: 0;
    background: #BA5A0C;
    padding: 86px 18px;
  }
    ul.footer-nav li a:link,
    ul.footer-nav li a:visited,
    footer a:link,
    footer a:visited {
      color: #f6f6f6;
    }

/* --
  Media Queries
-- */
/* 1328 breakpoint */
@media screen and (max-width: 1328px) {
  /* Footer Navigation */
  ul.footer-nav li {
    margin-right: 16px;
  }

  /* Tjänster Toggle */
  .tabs ul {
    display: none;
  }
    .tabs ul li {
      width: 100%;
      height: auto;
    }
      .tabs ul li a {
        color: #0C1826;
        display: table-cell; 
        vertical-align: middle;
        font-size: 0.875em;
        padding: 1em 0;
        text-align: center;
        letter-spacing: 1px;
        border-right: 0;
      }

  label[for="tabs-toggle"] {
    display: block;
  }
}

@media screen and (max-width: 1275px) {
  a.logo.logo-extra img {
      max-width: 200px;
  }
  a.logo.logo-extra {
     margin-top: 22px;
  }
}
@media screen and (max-width: 1210px) {
  a.logo.logo-extra img {
      max-width: 160px;
  }
  a.logo.logo-extra {
     margin-top: 2px;
  }
}
@media screen and (max-width: 1190px) {
  a.logo.logo-extra img {
      max-width: 130px;
      position: absolute;
      
  }
  a.logo .logo-extra {
     margin-top: 2px;
  }
}
@media screen and (max-width: 1024px) {
  a.logo.logo-extra img {
      max-width: 230px;
      position: relative;
  }
  a.logo.logo-extra {
     margin-top: 22px;
  }
}
@media screen and (max-width: 701px) {
  a.logo.logo-extra img {
      max-width: 180px;
      margin-left: 0;

  }
  a.logo.logo-extra {
     margin-top: 22px;
  }
}
/* 1140 breakpoint */
@media screen and (max-width: 1140px) {
  /* Navigation */
  nav {
    /*width: 728px;*/
    width: auto;
  }
  nav ul li {
    padding: 0 12px;
  }
  /* Footer Navigation */
  ul.footer-nav li {
    margin-right: 8px;
  }
  ul.footer-nav li:last-child {
    padding: 78px 10px;
  }
  ul.footer-ul {
    font-size: 0.7em;
  }
  /* Form */
  p.form-info {
    width: 100%;
  }
  .wpcf7-list-item {
    width: 100%;
  }
}
/* 1024 breakpoint */
@media screen and (max-width: 1024px) {
  /* Nav */
  .resize {
    width: 100%;
  }
  label[for="toggle"] {
    margin-right: 5%;
  }
  a.logo {
    margin-left: 5%;
  }
  #toggle:checked~nav {
    display: block;
  }
  #toggle:checked ~ label[for="toggle"] .burger {
    background: #f6f6f6;
  }
  #toggle:checked ~ label[for="toggle"] .burger:before {
    transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    top: 0px;
    height: 3px;
    width: 22px;
  }
  #toggle:checked ~ label[for="toggle"] .burger:after {
    transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    top: -3px;
    height: 3px;
    width: 22px;
  }
  nav {
    display: none;
  }
  nav {
    background: #b55329;
    position: relative;
    float: left;
    width: 100%;
    -webkit-box-shadow: 0px 4px 0px 0px rgba(0, 0, 0, 0.33);
    -moz-box-shadow:    0px 4px 0px 0px rgba(0, 0, 0, 0.33);
    box-shadow:         0px 4px 0px 0px rgba(0, 0, 0, 0.33);
    margin-top: 26px;
  }
    nav ul {
      margin-left: 5%;
      float: left;
    }
      nav ul li {
        position: relative;
        float: left;
        display: block;
        width: 100%;
        padding: 0;
      }
      nav ul li.wpml-ls-first-item {
        padding-left: 0px;
      }
      nav ul li:after {
        content: "";
        position: relative;
        float: left;
        width: 50%;
        height: 1px;
        background: #9a421c;
      }
      nav ul li:last-child:after {
        height: 0;
      }
        nav ul li:last-child {
          padding: 0;
          margin: 0;
          border: 0;
        }
  nav ul li a:link,
  nav ul li a:visited {
    color: #fff;
    padding: 15px 0;
  }
  label[for="toggle"] {
    display: block;
    cursor: pointer;
  }
  /* Intro */
  .column.one-fourth.s-services {
    width: 47.5%;
    min-height: 141px;
  }
  .column.one-fourth.s-services:nth-child(odd) {
    margin-left: 0;
  }
  .column.one-fourth.s-services:nth-child(3),
  .column.one-fourth.s-services:nth-child(4) {
    margin-top: 32px;
  }
  .column.half.s-services {
    margin-top: 32px;
  }
  /* Projects */
  .column.projects {
    width: 49.21875%;
    margin-left: 1.5625%;
  }
  .column.projects:nth-child(odd) {
    margin-left: 0;
  }
  .column.projects:nth-child(3),
  .column.projects:nth-child(4) {
    margin-top: 1.5625%;
  }
  ul.next-prev li {
    padding: 10px 20px;
  }
  /* News */
  .news-col {
    width: 100%;
    border-bottom: 1px solid #D8D8D8;
  }
  /* Insta */
  .insta-col {
    width: 100%;
  }
  /* Footer */
  .column.one-third {
    width: 100%;
  }
  .sub-nav-margin {
    margin-bottom: 1rem;
  }
    .padded {
      padding: 32px 0;
    }
  .column.two-thirds {
    width: 100%;
    margin-left: 0;
  }
  ul.footer-ul {
    font-size: 0.8em;
    width: 100%;
    text-align: center;
  }
  ul.footer-ul:last-child {
    margin: 20px 0;
  }
  ul.footer-nav {
    position: relative;
    float: none;
    margin: 0 auto;
    width: 172px;
    text-align: center;
    padding-bottom: 32px;
  }
    ul.footer-nav li {
      display: block;
      padding: 6px 0;
    }
    ul.footer-nav li:last-child {
      padding: 10px 18px;
      border-radius: 30px;
      border: 3px solid #BA5A0C;
      background: #212121;
      margin-top: 6px;
    }
  /* Employees */
  .employee {
    width: 48.75%;
    min-height: 505px;
  }
  .employee:nth-child(odd) {
    margin-left: 0;
  }
  p.emp-name,
  p.emp-title {
    width: 100%;
  }
  /* Projects */
  .caption-offgrid {
    position: relative;
    float: left;
    width: 100%;
    height: auto;
    bottom: 0;
    right: 0;
    top: -5px;
  }
  a.project {
    width: 48.75%;
     margin: 0 2.5% 2em 0;
  }
  a.project:nth-child(even) {
    margin: 0;
  }
}

/* 768 breakpoint */
@media screen and (max-width: 768px) {
  /* Intro */
  .introholder {
    max-width: 100%;
  }
  ul.next-prev .hide {
    display: none;
  }
  /* News */
  .newsfeed article {
    width: 100%;
  }
  .sb-news {
    width: 100%;
  }
  /* Form */
  .column.half {
    width: 100%;
    margin: 0;
  }
  input[type="text"] {
    width: 100%;
  }
  .formmenu li {
    width: 100%;
    border-bottom: 1px solid #C1C0C0;
  }
  .formmenu li:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 0;
    border: 0;
  }
  .formmenu li:last-child {
    border-top-right-radius: 0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border: 0;
  }
  
  /* Slider */
  .hero-eomek,
  .slick-slider,
  .slick-slide {
    height: 240px;
  }
}

/* 640 breakpoint */
@media screen and (max-width: 640px) {
  body {
    background-position: center bottom, 70% 80px;
  }
  a.logo {
    margin-top: 24px;
  }
  /* Logo */
  a.logo img {
    width: 124px;
  }
  .burger {
    top: 38px;
  }
  label[for="toggle"] p {
    margin: 31px 32px 0 0;
  }
  nav {
    margin-top: 10px;
  }
  /* Header */
  .topmenu {
    display: none;
  }
  header {
    height: 80px;
  }
  /* Intro */
  .intro {
    padding: 60px 0;
  }
  .column.one-fourth.s-services {
    width: 100%;
    margin: 32px 0 0 0;
    min-height: 0;
  }
  .column.one-fourth.s-services:first-child {
    margin-top: 0;
  }
  a.services:link,
  a.services:visited {
    position: relative;
    float: left;
    width: 100%;
    border-bottom: 0;
    padding: 14px;
    color: #212121;
    background: #BA5A0C;
    margin: 0;
  }
  a.start-project:link,
  a.start-project:visited {
    position: relative;
    float: left;
    width: 100%;
    margin: 16px 0 0 0;
  }
  /* Projects */
  a.blue-btn:link,
  a.blue-btn:visited {
    float: left;
    width: 100%;
    text-align: center;
    margin: 32px 0 0 0;
    padding: 16px 46px;
    border-bottom: 0;
    color: #212121;
    background: #BA5A0C;
  }
  .project-img {
    width: 100%;
  }
  /* News */
  .news-col {
    border-bottom: 0;
  }
  .news-col article {
    width: 100%;
    border-bottom: 1px solid #D8D8D8;
  }
  .news-col article:last-child {
    border-bottom: 0;
  }
  /* Tjänster */
  .service {
    width: 100%;
    padding: 0;
  }
  .service-img {
    display: none;
  }
  /* Employees */
  .employee {
    min-height: 360px;
  }
  /* Editable Images */
  .size-medium {
    width: 100%;
    height: auto;
  }
}

/* 480 breakpoint */
@media screen and (max-width: 480px) {
  /* Projects */
  .column.projects {
    width: 100%;
    margin: 16px 0 0 0;
  }
  .column.projects:nth-child(3),
  .column.projects:nth-child(4) {
    margin: 16px 0 0 0;
  }
  .referens-ind {
    padding: 16px;
  }
  /* News & Insta */
  .sb-head {
    padding: 32px 16px 27px 16px;
  }
  .news-col article {
    padding: 32px 16px;
  }
  .insta-wrap {
    padding: 32px 16px;
  }
  /* Content */
  .content-wrap {
    padding: 32px 16px;
  }
  /* Employees */
  .employee {
    width: 100%;
    margin-left: 0;
  }
  /* News */
  .newsfeed article,
  .sb-news {
    padding: 16px;
    min-height: 0;
  }
  /* Form */
  a.project,
  .wpcf7-submit {
    width: 100%;
  }
  a.project,
  a.project:nth-child(4n+0),
  a.project:nth-child(even) {
    margin: 0 0 2em 0;
  }
}

/* 320 breakpoint */
@media screen and (max-width: 320px) {
  ul.next-prev {
    font-size: 0.775em;
  }
  a.logo h2 {
    font-size: 1em;
    margin-top: 3px;
  }
}







