/*
Theme Name: Berglunds Mekaniska AB
Theme URI: http://www.connectmedia.se
Description: Berglunds Mekaniska AB

Author: ConnectMedia
Author URI: http://www.connectmedia.se

Version: 1.0

Copyright (C) 2016 ConnectMedia
*/
/* ==============================================================
   Global Variables
============================================================== */
/*  Media Queries from Bootstrap  */
/*  Background Size  */
/*  Transition  */
/*  Translate  */
/*  Linear background  */
/*  Transform  */
/* ==============================================================
   Base
============================================================== */
body {
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  font-smoothing: antialiased;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  line-height: 25px;
  color: #000;
  background-color: #e6e6e6; }

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0; }

/* ==============================================================
   Typography
============================================================== */
p, ul {
  margin: 0 0 15px 0; }

/* ==============================================================
   Headings
============================================================== */
h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  margin: 0 0 15px 0;
  font-weight: 300;
  line-height: 1.2em;
  word-wrap: break-word; }

h1 {
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 34px; }

h2 {
  font-size: 28px; }

h3 {
  font-size: 24px; }

h4 {
  font-size: 22px; }

h5 {
  font-size: 20px; }

h6 {
  font-size: 17px;
  text-transform: uppercase; }

/* ==============================================================
   Links
============================================================== */
a {
  color: inherit;
  text-decoration: underline; }
  a:hover, a:active, a:focus {
    color: inherit;
    text-decoration: none; }
  a.tel, a.tel:hover {
    text-decoration: inherit;
    font-weight: inherit;
    color: inherit; }

/* ==============================================================
   Buttons
============================================================== */
.btn-main, .main-news .news-readmore, .main-news .pagination-btn a, .main-single-post .btn-all-news {
  display: inline-block;
  padding: 15px 30px;
  background-color: #000;
  color: #fff;
  -webkit-transition: all ease 0.2s;
  -moz-transition: all ease 0.2s;
  -o-transition: all ease 0.2s;
  transition: all ease 0.2s;
  text-decoration: none;
  text-transform: uppercase; }
  .btn-main:hover, .main-news .news-readmore:hover, .main-news .pagination-btn a:hover, .main-single-post .btn-all-news:hover, .btn-main:active, .main-news .news-readmore:active, .main-news .pagination-btn a:active, .main-single-post .btn-all-news:active, .btn-main:focus, .main-news .news-readmore:focus, .main-news .pagination-btn a:focus, .main-single-post .btn-all-news:focus {
    color: #fff; }
  .btn-main:hover, .main-news .news-readmore:hover, .main-news .pagination-btn a:hover, .main-single-post .btn-all-news:hover {
    background-color: #333333; }
  .btn-main.rounded, .main-news .rounded.news-readmore, .main-news .pagination-btn a.rounded, .main-single-post .rounded.btn-all-news {
    border-radius: 5px; }
  .btn-main.btn-small, .main-news .btn-small.news-readmore, .main-news .pagination-btn a.btn-small, .main-single-post .btn-small.btn-all-news {
    padding: 2px 17px;
    border-radius: 4px;
    font-size: 14px; }

/* ==============================================================
   Images
============================================================== */
img {
  max-width: 100%;
  height: auto; }
  img.alignleft {
    float: left;
    margin: 0 1em 0 0; }
  img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto; }
  img.alignright {
    float: right;
    margin: 0 0 0 1em; }

/* ==============================================================
   Structure
============================================================== */
@media (min-width: 1400px) {
  .container {
    width: 1340px; } }

/* ==============================================================
   Mobile Navigation
============================================================== */
.mobile-navigation-cover,
.mobile-navigation {
  visibility: hidden;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  -webkit-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: -webkit-transform .4s ease-out, visibility 0s .4s;
  transition: transform .4s ease-out, visibility 0s .4s;
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  transform: translateX(-100%); }

.mobile-navigation-cover {
  height: 140%;
  z-index: 200;
  background-color: #777; }

.mobile-navigation {
  width: 100%;
  height: 100%;
  z-index: 250;
  overflow-y: auto; }

.mobile-nav-open {
  visibility: visible;
  -webkit-transform: translateX(0%);
  -ms-transform: translateX(0%);
  transform: translateX(0%);
  -webkit-transition-delay: 0;
  transition-delay: 0; }

.mobile-navigation-top {
  position: relative;
  height: 70px;
  background-color: rgba(0, 0, 0, 0.15); }

.mobile-navigation-close {
  display: block;
  position: absolute;
  height: 40px;
  width: 40px;
  top: 15px;
  right: 7px;
  z-index: 100;
  cursor: pointer; }
  .mobile-navigation-close:before, .mobile-navigation-close:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    top: 50%;
    margin-top: -5%;
    z-index: -1;
    background: #fff;
    border-radius: 2px; }
  .mobile-navigation-close:before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg); }
  .mobile-navigation-close:after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg); }

.mobile-navigation-nav {
  -webkit-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0); }
  .mobile-navigation-nav ul {
    margin: 0;
    padding: 0;
    list-style: none; }
  .mobile-navigation-nav li {
    display: block;
    position: relative;
    margin: 0; }
  .mobile-navigation-nav a {
    display: block;
    height: 55px;
    padding: 0 15px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    line-height: 55px;
    color: #fff;
    -webkit-transition: background .1s ease-out;
    transition: background .1s ease-out; }
  .mobile-navigation-nav > ul > li:first-child.current_page_item a {
    border-color: transparent; }
  .mobile-navigation-nav > ul > li.current_page_item > a,
  .mobile-navigation-nav > ul > li.current_page_ancestor > a {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: transparent; }
  .mobile-navigation-nav li ul {
    display: none;
    background-color: #fff; }
    .mobile-navigation-nav li ul a {
      border-bottom: 1px solid #ddd;
      font-weight: 300;
      font-size: 14px;
      color: #000; }
    .mobile-navigation-nav li ul li.current_page_item > a {
      text-decoration: underline; }
  .mobile-navigation-nav li.current_page_item > ul,
  .mobile-navigation-nav li.current_page_ancestor > ul {
    display: block; }
  .mobile-navigation-nav li ul li ul {
    border-left: 6px solid #ddd; }
  .mobile-navigation-nav a.toggle-sub-pages {
    position: absolute;
    width: 55px;
    height: 55px;
    top: 0;
    right: 0;
    z-index: 10;
    padding: 0;
    border: none;
    background-repeat: no-repeat;
    background-image: url("images/mobile-nav-toggle-sub-show.png");
    background-size: 30px 30px;
    background-position: center;
    font-size: 0; }
  .mobile-navigation-nav li.current_page_item a.toggle-sub-pages,
  .mobile-navigation-nav li.current_page_ancestor a.toggle-sub-pages,
  .mobile-navigation-nav a.toggle-sub-pages:hover {
    background-color: inherit;
    border: none; }
  .mobile-navigation-nav li.active > a.toggle-sub-pages {
    background-image: url("images/mobile-nav-toggle-sub-hide.png"); }
  .mobile-navigation-nav > ul.mobile-navigation-nav-bottom {
    background-color: rgba(0, 0, 0, 0.15); }
    .mobile-navigation-nav > ul.mobile-navigation-nav-bottom > li:first-child a {
      border-top: none; }
    .mobile-navigation-nav > ul.mobile-navigation-nav-bottom a {
      font-weight: 300; }

/* ==============================================================
   Header
============================================================== */
.header {
  position: relative;
  width: 100%;
  height: 135px;
  z-index: 100;
  margin: auto;
  background-color: #fff; }
  body.subpage .header {
    position: relative; }
  .header .container {
    width: 100%; }
    @media (min-width: 768px) {
      .header .container {
        padding: 0; } }
    @media (min-width: 1200px) {
      .header .container {
        padding: 0 15px; } }

.header-logo {
  position: relative;
  float: left;
  padding: 0 80px 0 10px;
  text-align: center;
  height: 135px;
  background-color: #e6e6e6; }
  @media (min-width: 768px) {
    .header-logo {
      padding: 0 30px 0 30px; }
      .header-logo:after {
        content: "";
        position: absolute;
        width: 20px;
        top: 0;
        right: 0;
        border-top: 135px solid transparent;
        border-left: 40px solid #e6e6e6;
        border-bottom: 0px solid transparent;
        -webkit-transform: translate(100%, 0);
        -ms-transform: translate(100%, 0);
        transform: translate(100%, 0);
        -webkit-transition: all ease 0.2s;
        -moz-transition: all ease 0.2s;
        -o-transition: all ease 0.2s;
        transition: all ease 0.2s; } }
    @media (min-width: 768px) and (min-width: 768px) {
      .header-logo:after {
        border-left-width: 45px; } }
    @media (min-width: 768px) and (min-width: 992px) {
      .header-logo:after {
        border-left-width: 120px; } }
    @media (min-width: 768px) and (min-width: 1200px) {
      .header-logo:after {
        border-left-width: 200px; } }

  .header-logo a {
    display: inline;
    line-height: 135px; }
  .header-logo img {
    display: inline-block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 70%;
    padding: 6px 0; }
    @media (min-width: 768px) {
      .header-logo img {
        max-width: 220px; } }
    @media (min-width: 992px) {
      .header-logo img {
        max-width: 100%; } }

.header-nav-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  padding: 9px 10px;
  background-color: transparent;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  outline: none;
  -webkit-transform: translate(0%, -50%);
  -ms-transform: translate(0%, -50%);
  transform: translate(0%, -50%); }
  @media (min-width: 768px) {
    .header-nav-toggle {
      display: none; } }

.header-nav-toggle-bar {
  display: block;
  width: 24px;
  height: 4px;
  border-radius: 2px;
  background-color: #000; }
  .header-nav-toggle-bar + .header-nav-toggle-bar {
    margin-top: 3px; }

/* ==============================================================
   Navigation
============================================================== */
.navigation {
  position: relative;
  display: none;
  color: #000;
  height: 135px;
  padding: 0 10px 0 5px; }
  @media (min-width: 768px) {
    .navigation {
      display: inherit;
      float: right; } }
  @media (min-width: 992px) {
    .navigation {
      padding: 0 20px 0 5px; } }
  .navigation ul {
    right: 0;
    padding: 0;
    float: left;
    margin: 0;
    list-style: none; }
  .navigation li {
    display: block;
    float: left;
    margin: 0;
    height: 135px; }
    .navigation li:last-child {
      margin-right: 0; }
    @media (min-width: 768px) {
      .navigation li {
        margin: 0 6px; } }
    @media (min-width: 992px) {
      .navigation li {
        margin: 0 10px; } }
    @media (min-width: 1200px) {
      .navigation li {
        margin: 0 12px; } }
    .navigation li a {
      position: relative;
      display: inline-block;
      font-size: 13px;
      text-decoration: none;
      padding: 0;
      color: #000;
      font-weight: 300;
      top: 50%;
      -webkit-transform: translate(0, -50%);
      -ms-transform: translate(0, -50%);
      transform: translate(0, -50%); }
      .navigation li a:after {
        position: absolute;
        left: 50%;
        content: "";
        bottom: 0;
        width: 0%;
        height: 2px;
        background-color: #009944;
        -webkit-transition: width cubic-bezier(0.4, 0, 0.2, 1) 0.375s;
        -moz-transition: width cubic-bezier(0.4, 0, 0.2, 1) 0.375s;
        -o-transition: width cubic-bezier(0.4, 0, 0.2, 1) 0.375s;
        transition: width cubic-bezier(0.4, 0, 0.2, 1) 0.375s;
        -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0); }
      @media (min-width: 768px) {
        .navigation li a {
          font-size: 14px;
          padding: 0 2px 2px; } }
      @media (min-width: 992px) {
        .navigation li a {
          font-size: 17px; } }
      @media (min-width: 1200px) {
        .navigation li a {
          font-size: 22px;
          padding: 0 3px 2px; } }
    .navigation li.current_page_item a, .navigation li.current_page_parent a,
    .navigation li a:hover {
      text-decoration: none; }
      .navigation li.current_page_item a:after, .navigation li.current_page_parent a:after,
      .navigation li a:hover:after {
        width: 100%; }

/* ==============================================================
   Main
============================================================== */
.main, .main-single-post {
  padding: 20px;
  overflow: hidden; }

.main-frontpage {
  padding: 40px 0 40px;
  font-size: 18px;
  font-weight: 300;
  text-align: center; }
  @media (min-width: 768px) {
    .main-frontpage {
      padding: 40px 0 60px; } }
  .main-frontpage .container {
    max-width: 800px; }

/* ==============================================================
   Frontpage cover
============================================================== */
.frontpage-cover {
  position: relative;
  height: 250px; }
  @media (min-width: 768px) {
    .frontpage-cover {
      height: 450px; } }
  @media (min-width: 992px) {
    .frontpage-cover {
      height: 600px; } }
  .frontpage-cover.bg {
    background-image: url("images/frontpage-cover.jpg"); }

/* ==============================================================
   Frontpage header
============================================================== */
.frontpage-header {
  background-color: #009944;
  padding-bottom: 20px; }
  @media (min-width: 768px) {
    .frontpage-header {
      padding-bottom: 60px; } }
  @media (min-width: 992px) {
    .frontpage-header {
      padding-bottom: 70px; } }
  .frontpage-header h1 {
    padding-top: 20px;
    color: #fff;
    text-align: center;
    font-weight: 900;
    font-size: 25px; }
    @media (min-width: 768px) {
      .frontpage-header h1 {
        font-size: 34px; } }

/* ==============================================================
   Frontpage circles
============================================================== */
.frontpage-circles {
  margin-top: 20px; }
  @media (min-width: 768px) {
    .frontpage-circles {
      margin-top: -40px; } }
  @media (min-width: 992px) {
    .frontpage-circles {
      margin-top: -50px; } }
  .frontpage-circles .container {
    max-width: 900px; }
  .frontpage-circles .circle-item {
    position: relative;
    height: 220px;
    width: 220px;
    background-color: #009944;
    border-radius: 140px;
    margin: auto;
    border: 15px solid #e6e6e6; }
    @media (min-width: 992px) {
      .frontpage-circles .circle-item {
        height: 280px;
        width: 280px;
        border-width: 20px; } }
    .frontpage-circles .circle-item h3 {
      position: absolute;
      text-align: center;
      font-size: 23px;
      font-weight: 300;
      color: #fff;
      top: 50%;
      left: 50%;
      -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%); }
      @media (min-width: 992px) {
        .frontpage-circles .circle-item h3 {
          font-size: 23px; } }

/* ==============================================================
   Frontpage service
============================================================== */
.frontpage-service-wrapper {
  height: 400px; }
  .frontpage-service-wrapper:first-child .service-info {
    border-top: none; }
  .frontpage-service-wrapper.left .service-info {
    left: 0; }
  .frontpage-service-wrapper.left .service-image {
    float: right; }
  .frontpage-service-wrapper.right .service-info {
    right: 0; }
  .frontpage-service-wrapper.right .service-image {
    float: left; }
  .frontpage-service-wrapper.map .service-info {
    background-color: #e6e6e6; }
  .frontpage-service-wrapper .service-image {
    height: 100%;
    width: 70%;
    float: right;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; }
    .frontpage-service-wrapper .service-image .frontpage-map {
      width: 100%;
      height: 100%; }
  .frontpage-service-wrapper .service-info {
    position: absolute;
    text-align: center;
    width: 100%;
    height: inherit;
    background-color: #fff;
    font-size: 18px;
    -webkit-transition: all cubic-bezier(0.4, 0, 0.2, 1) 0.375s;
    -moz-transition: all cubic-bezier(0.4, 0, 0.2, 1) 0.375s;
    -o-transition: all cubic-bezier(0.4, 0, 0.2, 1) 0.375s;
    transition: all cubic-bezier(0.4, 0, 0.2, 1) 0.375s;
    border-top: 1px solid #009944; }
    .frontpage-service-wrapper .service-info h2 {
      font-size: 20px;
      font-weight: 900; }
    .frontpage-service-wrapper .service-info p {
      font-weight: 300; }
    @media (min-width: 768px) {
      .frontpage-service-wrapper .service-info {
        width: 40%;
        border-top: none; }
        .frontpage-service-wrapper .service-info h2 {
          font-size: 22px; }
        .frontpage-service-wrapper .service-info:hover {
          width: 45%;
          height: inherit; } }
    @media (min-width: 992px) {
      .frontpage-service-wrapper .service-info {
        width: 30%; }
        .frontpage-service-wrapper .service-info:hover {
          width: 35%; } }
    .frontpage-service-wrapper .service-info.right {
      right: 0; }
    .frontpage-service-wrapper .service-info .service-info-inner {
      width: 80%;
      max-width: 290px;
      top: 50%;
      left: 50%;
      -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
      position: absolute; }
  .frontpage-service-wrapper .service-link {
    position: relative;
    text-decoration: none;
    line-height: 38px;
    font-weight: 900;
    font-size: 20px; }
    @media (min-width: 768px) {
      .frontpage-service-wrapper .service-link {
        font-size: 22px; } }
    .frontpage-service-wrapper .service-link:after {
      position: absolute;
      content: "";
      margin-left: 10px;
      width: 25px;
      height: 38px;
      background-image: url("images/icon-arrow-right.png");
      background-repeat: no-repeat;
      -webkit-background-size: contain;
      -moz-background-size: contain;
      background-size: contain; }

/* ==============================================================
   Subpage cover
============================================================== */
.top-cover {
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 190px; }
  @media (min-width: 768px) {
    .top-cover {
      height: 290px; } }
  .top-cover.bg {
    background-image: url("images/subpage-cover.jpg"); }

/* ==============================================================
   Subpage content
============================================================== */
.main-subpage {
  background-color: #fff;
  padding: 50px 0; }
  .main-subpage .container {
    max-width: 900px; }

/* ==============================================================
   Subpage contact
============================================================== */
.main-contact {
  padding: 0;
  background-color: #fff; }

.contact-left {
  overflow: hidden; }
  @media (min-width: 768px) {
    .contact-left {
      float: left;
      width: 50%; } }

.contact-right {
  position: relative;
  height: 200px;
  z-index: 0;
  margin-top: 15px; }
  @media (min-width: 768px) {
    .contact-right {
      height: 450px;
      float: left;
      width: 50%;
      z-index: 2;
      margin-top: 0; } }
  @media (min-width: 1400px) {
    .contact-right {
      height: 500px; } }

.contact-left-content {
  width: 100%;
  padding: 15px; }
  @media (min-width: 768px) {
    .contact-left-content {
      float: right;
      max-width: 360px;
      margin: auto;
      padding: 25px 15px; } }
  @media (min-width: 992px) {
    .contact-left-content {
      max-width: 470px;
      padding: 45px 15px; } }
  @media (min-width: 1200px) {
    .contact-left-content {
      max-width: 570px;
      padding: 60px 15px; } }
  @media (min-width: 1400px) {
    .contact-left-content {
      max-width: 670px;
      padding: 70px 15px; } }

.contact-right-map {
  width: 100%;
  height: 100%; }
  .contact-right-map img {
    max-width: none; }

/* ==============================================================
   News - list all
============================================================== */
.main-news .news {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e6e6e6; }
  .main-news .news:last-child {
    border: none; }
.main-news .news-header a {
  text-decoration: none; }
.main-news .news-readmore {
  padding: 6px 20px; }
.main-news .news-pagination {
  padding-top: 10px; }
.main-news .pagination-btn a {
  padding: 5px 15px;
  font-size: 13px;
  background-color: #009944; }
  .main-news .pagination-btn a:hover {
    background-color: #003317; }
.main-news .pagination-btn.nav-next a {
  float: right; }
.main-news .pagination-btn.nav-prev a {
  float: left; }

/* ==============================================================
   Single-post
============================================================== */
.main-single-post iframe {
  max-width: 100%; }
.main-single-post .btn-all-news {
  padding: 10px 20px;
  margin-top: 5px; }

/* ==============================================================
   Footer
============================================================== */
.footer {
  padding: 30px 0;
  background-color: #fff;
  text-align: center;
  font-size: 19px;
  font-weight: 300; }
  .footer p {
    margin: 0; }
  .footer span.green {
    color: #009944;
    padding: 0 5px; }
  body.subpage .footer {
    background-color: #e6e6e6; }

/* ==============================================================
   Responsive slides
============================================================== */
.rslides {
  position: absolute;
  list-style: none;
  overflow: hidden;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0; }

.rslides li {
  -webkit-backface-visibility: hidden;
  position: relative;
  display: none;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0; }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left; }

.rslides div {
  z-index: 50;
  display: block;
  height: auto;
  float: left;
  height: 100%;
  width: 100%;
  border: 0;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center; }

/*# sourceMappingURL=style.css.map */
