/**
 * Theme Name: Mattssons
 * Theme URI: http://themehybrid.com/themes/skeleton
 * Description: ...
 * Author: Robin Löfström
 * Author URI: http://jdesign.se
 * Version: 0.1
 * Template: hybrid
 */

/* ====================================================================================================================
 * BASE
 * ====================================================================================================================*/
html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*, *:before, *:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
  }
*{padding: 0;margin: 0;}

body{width: 100%;}

body{
background-color: rgba(255,255,255,1);
color:  rgba(116,115,115,1);
font-family: "futura-pt",sans-serif;
font-size: 100%;
line-height: normal;
font-weight: normal;
-webkit-font-smoothing: antialiased;
}
a{color: inherit;
  cursor: pointer;
  text-decoration: none;
  -o-transition: all .3s;
  -ms-transition: all .3s;
  -moz-transition: all .3s;
  -webkit-transition: all .3s;
  transition: all .3s;
  letter-spacing: 0.5px;
  opacity: 1;
  font-weight: bold;
  display: block;
}
a:hover{opacity: 0.6;}

button{
  cursor: pointer;
    -o-transition: all .3s;
  -ms-transition: all .3s;
  -moz-transition: all .3s;
  -webkit-transition: all .3s;
  transition: all .3s;
}

input, a:hover, a:active, a:focus, input, *:focus {outline: medium none;}
hr {
  background: rgba(43,46,52,1);
  border: 0 none;
  height: 1px;
  margin: 10px 0 10px 20px;
  width: 45px;
}
h1 {font-size: 2.4rem;font-size: 24px;}
h2 {font-size: 1.9rem;font-size: 19px;}
h3 {font-size: 1.3rem;font-size: 13px;}

p {font-size: 1.4rem;font-size: 14px;}
h1,h2,h3{font-weight: bold;}
h1,h2,h3,p{margin:0 0 10px;padding: 0 20px;}
strong{font-weight:900;}

.nomarg{margin: 0 !important;}

ul {height: auto;list-style: outside none none;width: 100%;}

img {
  float: left;
  width: 100%;
}
header {
  top: 0;
  display: inline-block;
  height: auto;
  left: 0;
  position: fixed;
  width: 100%;
  float: left;
  z-index: 9000;
  padding: 0 0 20px;
}
header.clearHeader{background-color: rgba(116,115,115,0);  -webkit-transition: background .3s;  transition: background .3s;}
header.darkHeader{background-color: rgba(116,115,115,0.8);-webkit-transition: background .3s;  transition: background .3s;}
footer {
  background-color: rgba(116,115,115,1);
  padding: 5% 0;
  margin: 10% 0 0;
  float: left;
  width: 100%;
  height: auto;
  color: white;
}

section{position: relative;overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  width: 100%;float: left;}

.last{margin: 0 !important;}


/* ====================================================================================================================
 * NAVIGATION
 * ====================================================================================================================*/

.notis {
  position: relative;
  width: 100%;
  float: left;
  text-align: center;
  background-color: white;
}
.notis p {
  margin: 0;
  padding: 15px 0;
  float: left;
  width: 100%;
  font-size: 13px;
  color: black;
}

.main_logo {
  position: relative;
  width: 100%;
  max-width: 150px;
  float: left;
  top: 20px;
  left: 10%;
}
.desktop_nav {
  position: relative;
  width: auto;
  float: right;
  top: 14px;
  right: 10%;
}
.centernav {
  display: table;
  height: 45px;
  margin: 0 auto;
  text-align: center;
  width: auto;
}
.centernav > ul {
  display: table-cell;
  vertical-align: middle;
}
.centernav > ul li {
  float: left;
  font-size: 15px;
  margin: 0 10px;
}
.centernav > ul li a{
text-transform: none;
color: white;
letter-spacing: 0;
font-weight: bold;
}
.downarrow {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 40px;
  margin: 0 0 30px -20px;
}
/* ====================================================================================================================
VIT: rgba(255,255,255,1)
SVART: rgba(0,0,0,1)
Varmgrå: rgba(116,115,115,1)
Grön: rgba(19,131,56,1)
 * SEKTIONER
 * ====================================================================================================================*/

#index{background-image:url("img/E4_Sthlm_bro_Night_cut.jpg");}
.omoss_bg{background-image:url("img/sektionbilder/dethararmattssons.jpg");}
#kommersiellt{border-top: 4px solid rgba(116,115,115,1);margin:10% 0 0;}
#kommersiellt .secbg_w_rubbe{background-image:url("img/sektionbilder/kommersiellt.jpg");}

#bostader{border-top: 4px solid rgba(116,115,115,1);margin:10% 0 0;}
#bostader .secbg_w_rubbe{background-image:url("img/vasjon.jpg");background-position: center bottom;}

#kontakt{border-top: 4px solid rgba(116,115,115,1);margin:10% 0 0;}
#kontakt .secbg_w_rubbe{background-image:url("img/sektionbilder/kontakt.jpg");}


#index h1 {
  color: white;
  text-align: center;
  margin: 0;
  padding: 0;
  font-weight: bold;
}
#omoss{color: black;}

.citat {
  width: 100%;
  height: auto;
  float: left;
  background-color: rgba(116,115,115,1);
  color: white;
  padding: 10% 0 10% 10%;
}
.citat_white
{
  width: 100%;
  height: auto;
  float: left;
  background-color: rgba(255,255,255,1);
  padding: 15% 0 13% 15%;
  color: black;
}
.citat_symbol {
  width: auto;
  max-width: 30px;
  float: left;
}
.citat_text {
  width: auto;
  float: left;
}
.citat_text p {
  margin: 0;
  font-size: 17px;
}
.citat_white p {
  font-size: 14px;
}
.section_femti {
  width: 40%;
  float: left;
  position: absolute;
  right: 10%;
  top: 10%;
}
.section_img {
      background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  width: 100%;
height: 100%;
}
.section_bg{
    background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  height: 100%;
width: 100%;
}
#omoss .sextio .section_bg {background-image:url("img/sektionbilder/verksamhetochstruktur.jpg");}


.col{float: left;height: 100%;}
.sextio{width: 60%;}
.fyrtio{width: 40%;}

.vertalign {
  display: table;
  height: 100%;
  width: 100%;
}
.centeralign {
  display: table-cell;
  vertical-align: middle;
}
.centeralign h2, .centeralign p{padding: 0 20%;}

.secbg_w_rubbe{
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
position: relative;
  display:table;width: 100%;padding: 20% 0;}

  .bigRubbe{font-size:40px;color: white;margin:0 0 0 10%;letter-spacing: 0;padding: 0 !important;font-weight: bold;}

.offBox {
  background: rgba(116,115,115,1);
  color: white;
  padding: 5%;
  width: 41%;
  position: absolute;
  bottom: -26%;
  right: 10%;
}
.offBox_col{width: 48%;float: left;}
 .offBox p,.offBox h2{padding: 0;}


.autocitat {
  float: left;
  width: 50%;
  margin: 10% 0 0;
  display: table;
}
.citat_center{margin: 0 auto;width: auto;display: table;}
.halfimage {
  width: 40%;
  float: right;
  margin: 10% 10% 0 0;
    background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}

.postnord{background-image:url("img/sektionbilder/4_postnord.jpg");}
.optimalt{background-image:url("img/sektionbilder/7_gubbar.jpg");}

.autocitat .citat {
  width: 50%;
  background: none;
  color: rgba(19,131,56,1);
  padding: 0;
  vertical-align: middle;
  display: table-cell;
  float: none;
}

.femticitat{margin: 10% 0 0;float: left;width: 50%;}

.imgOcitat{
padding: 20% 0;
width: 80%;
    background-image:url("img/sektionbilder/6_DHL.jpg");
    background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  float: left;
}
.femticitat .citat {
  width: auto;
  background: none;
  color: black;
  padding: 20% 0 20% 20%;
  color: rgba(19,131,56,1);
}

.femticitat .halfimage {width: 80%;margin: 0 20% 0 0;}

#bostader .offBox{
 width: 60%;
}

.kontaktuppgifter {
  color: white;
  position: absolute;
  right: 12%;
  top: 35%;
}
.kontaktuppgifter p {
  font-size: 15px;
  padding: 0;
  margin: 0;
  width: 100%;
  float: left;
}

.absoluteMedarbetare {
  position: relative;
  width: 100%;
  top: -80px;
  left: 0;
  float: left;
}
.medarbetare {
  width: 80%;
  margin: 0 auto;
}
.singelMedarbetare {
  width: 20%;
  float: left;
margin: 0 0 40px;
}
.singelMedarbetare p {
  margin: 15px 0 0;
  float: left;
  width: 100%;
  padding: 0 4%;
  color: black;
}
.singelMedarbetare strong{font-size: 16px;}
.singelMedarbetare a {font-weight: normal;}
.singelMedarbetare img {
padding: 0 4%;
}
.footercontent {
  width: 60%;
  margin: 0 0 0 10%;
  float: left;
  height: auto;
}
.footercontent .dubbel {
  float: left;width: 50%;
}
.footercontent h3 {
  font-size: 20px;
  font-weight: bold;
}
.footercontent li {
  padding: 0 20px;
}
.social {
  padding: 0 20px;
  margin: 20px 0 0;
  float: left;
}
.social span {
  height: 20px;
  float: left;
}
.social li {float: left;padding: 0;}
/* ====================================================================================================================
 * FLEXSLIDER
 * ====================================================================================================================*/
 .flex-container a:hover,
.flex-slider a:hover {
  outline: none;
}
.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}
.flex-pauseplay span {
  text-transform: capitalize;
}
.flexslider,.flex-viewport {
  float: left;
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
}
.flexslider .slides{height: 100%;}

.flexslider .slides > li {
background-position: 50% 50%;
background-repeat: no-repeat;
background-size: cover;
display: none;
-webkit-backface-visibility: hidden;
height: 100%;
}

.flexslider .slides:after {
  content: "\0020";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
html[xmlns] .flexslider .slides {
  display: block;
}
* html .flexslider .slides {
  height: 1%;
}
.no-js .flexslider .slides > li:first-child {
  display: block;
}
.flex-direction-nav {
  height: 40px;
  left: 0;
  position: absolute;
  right: 0;
  top: 41%;
  width: 100%;
  z-index: 120;
}
.flex-direction-nav li a {
  float: left;
  height: 100%;
  text-indent: -9999em !important;
  width: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url("img/downarrow.svg");
}
.flex-prev{
    -webkit-transform:rotate(90deg);
    -moz-transform:rotate(90deg);
    -ms-transform:rotate(90deg);
    -o-transform:rotate(90deg);
    transform:rotate(90deg);
  }
.flex-next{    -webkit-transform:rotate(-90deg);
    -moz-transform:rotate(-90deg);
    -ms-transform:rotate(-90deg);
    -o-transform:rotate(-90deg);
    transform:rotate(-90deg);}

.flex-nav-next {
  float: right;
  height: 40px;
  text-align: center;
  width: 120px;
}
.flex-nav-prev {
  float: left;
  height: 40px;
  text-align: center;
  width: 120px;
}

.flex-control-nav {
  bottom: 25%;
  display: block;
  left: 0;
  position: absolute;
  text-align: center;
  width: 100%;
  z-index: 100;
}
.flex-control-nav li {
  margin: 0 6px;
  display: inline-block;
  zoom: 1;
  *display: inline;
  float: none;
}
.flex-control-paging li a {
  width: 7px;
  height: 7px;
  display: block;
  background: rgba(255, 255, 255, 1);
  cursor: pointer;
  text-indent: -9999px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
.flex-control-paging li a:hover {
  background: #000;
  background: rgba(19,131,56,1);
}
.flex-control-paging li a.flex-active {
  background: #000;
  background: rgba(19,131,56,1);
  cursor: pointer;
}


.slider {
  width: 100%;
  float: left;
  margin: 20% 0 0;
}
  .flex {width: 100%;height: 100%;float: left;position: relative;}
 .slides {width: 100%;height: 100%;float: left;}
.slides li {width: 100%;height: 100%;    background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
position: relative;}
.slidecontent{position: absolute;bottom: 0;width:100%;background-color: rgba(255,255,255,.9);color: black;z-index: 2000;}
.slidecontent_inner {
  padding: 30px 10%;
  float: left;
}
.slidecontent_inner p{margin:0;}
.thirds{width: 33.333%;float: left;}
.firstslide h2{margin: 0 0 5px;}
.firstslide h2, .firstslide p {padding: 0;}
/* ====================================================================================================================
 * RESPONSIVE
 * ====================================================================================================================*/
@media screen and (max-width: 1500px) {
    .singelMedarbetare strong {
    width: 100%;
  float: left;
}
}
@media screen and (max-width: 1300px) {
  .thirds {display: none;width: auto;}
  .firstslide {display: inline-block;}
  .slidecontent_inner {padding: 15px 10%;}

  .flex-control-nav {bottom: 110px;left: 1%;}
  .slidecontent_inner p br {display: none;}
  .slidecontent_inner p strong {  margin: 0 5px 0 0;}
  .singelMedarbetare p {font-size: 11px;}
  .singelMedarbetare strong {font-size: 12px;}

}

@media screen and (max-width: 1200px) {
  .singelMedarbetare p {font-size: 9px;}
  .main_logo {  position: relative;  width: 100%;  max-width: inherit;  float: left;  top: 18px;  left: 0;  text-align: center;}

  #index h1 {font-size: 18px;padding: 0 20px;}
  
.main_logo a {
  width: 100%;
  margin: 0 auto;
  max-width: 150px;
}
.fyrtio {
  width: 100%;
  height: auto !important;
  padding: 10% 0;
}
.citat_center {
  padding: 10%;
}
.desktop_nav {  position: relative;  width: 100%;  float: right;  top: 18px;  right: 0;}
#omoss .section_femti{display: none;}
  .citat_white{padding: 15% 10%;}
  .citat_white p br,.citat_text p br{display: none !important;}
  .section_femti{width: 100%;}
  .sextio {  width: 100%;  height: 245px !important;}
.fyrtio {  width: 100%;}
.offBox {  background: rgba(116,115,115,0);  color: white;  padding: 5%;  width: 100%;  position: relative;  bottom: 0;  right: 0;}
.bigRubbe {  margin: 0 0 5% 10%;}
.autocitat {width: 100%;margin: 0;}
.halfimage {  width: 100%;  margin: 0;}
#bostader .offBox,#kontakt .offBox  {  width: 100%;}
#bostader .secbg_w_rubbe,#kontakt .secbg_w_rubbe {  padding: 0;}
#bostader .centeralign,#kontakt .centeralign {
  display: table;
  padding: 20% 0;
  background-color: rgba(0,0,0,0.8);
  color: white;
  width: 100%;
}
  .medarbetare {
  width: 94%;
  margin: 0 auto;
}
.kontaktuppgifter {
  color: white;
  position: relative;
  right: 0;
  top: 0;
  width: 100%;
}
.singelMedarbetare {
  width: 25%;
  float: left;
  margin: 0 0 40px;
}
.kontaktuppgifter p {
  padding: 0 5%;
}
#kommersiellt{margin: 0;}
.femticitat .halfimage {
  width: 100%;
  margin: 0;
}
.imgOcitat{display: none;}
.offBox_col {
  width: 100%;
  float: left;
}
#bostader .centeralign, #kontakt .centeralign { padding: 30% 0 20%;}

#kommersiellt .secbg_w_rubbe{padding: 30% 0 20%;}

#omoss .citat { padding: 30% 0 30% 10%;}
}
@media screen and (max-width: 1000px) {
.singelMedarbetare p {font-size: 7px;}
.femticitat {
  margin: 10% 0 0;
  float: left;
  width: 100%;
}
.femticitat .citat {
  padding: 20% 0 20% 5%;
}
   #index h1 br{display: none;}
  .centeralign h2, .centeralign p{padding: 0 6%;}
  #kontakt .centeralign h2, #kontakt .centeralign p {
  padding: 0 10%;
}
  .footercontent {
  width: 100%;
  margin: 0;
  float: left;
  height: auto;
}
.footercontent .dubbel {
  float: left;
  width: 100%;
  margin: 0 0 5%;
}
.singelMedarbetare {
  width: 33.333%;
  float: left;
  margin: 0 0 40px;
}
.absoluteMedarbetare {
  position: relative;
  width: 100%;
  top: -25px;
  left: 0;
  float: left;
}
.centernav > ul li {
  float: left;
  font-size: 14px;
  margin: 0 5px;
}
#index h1 {
  font-size: 15px;
  padding: 0 20px;
  margin: 60px 0 0;
}
.notis p {
  padding: 10px;
  font-size: 12px;
}
}
@media screen and (max-width: 500px) {
  .singelMedarbetare {
  width: 50%;
}
}
