/*
	Theme Name: seodr.
	Description: SEO Doktorn WordPress Theme
	Version: 1.0
	Author: SEO Doktorn i Sverige AB
	Author URI: https://www.seo-doktorn.se
*/
/*------------ Reset ------------*/
*,
*:after,
*:before {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* {
  margin: 0;
  padding: 0;
  outline: 0;
  border: 0;
  font-size: 100%;
}

body {
  font: 400 1.1em/1.7 'Rajdhani', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #222;
  padding-top: 89px;
}

a:focus, a:hover, a:active, input:focus {
  outline: 0;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

h1, h2, h3, h4, h5, h6, .main-title {
  margin: 0 0 20px;
  font-weight: 400;
}

h1, .main-title {
	font-size: 2.4em;
  line-height: 1.1;
}

h2 {
	font-size: 2em;
  line-height: 1.2;
}

h3 {
	font-size: 1.6em;
  line-height: 1.3;
}

h4 {
	font-size: 1.2em;
  line-height: 1.4;
}

.bg-main {
  background-color: #e23e22;
}

b, strong {
  font-weight: 600;
}

a[href^=tel] {
   text-decoration:inherit;
   color: inherit;
}

.main-contact-button {
    position: fixed !important;
    bottom: 250px;
    right: 47px;
    z-index: 4;
    transform: rotate(-90deg);
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    transition: all 0.25s ease;
    transform-origin: top right;
    box-shadow: 0 -1px 10px rgba(0,0,0,.25);
    padding: 14px 25px 18px !important;
}

.page-template-page-contact .main-contact-button {
  display: none;
}

#map {
  height: 500px;
  width: 100%;
}

.grecaptcha-badge { visibility: hidden; }

.recaptcha-info {
  font-size: 0.85em;
  margin-top: 20px;
  line-height: 1.3;
}

.recaptcha-info a {
  color: #e23e22;
  font-weight: 500;
}

.recaptcha-info a:hover {
  color: #e23e22;
  text-decoration: underline;
}


/*--------- 404 --------*/

#post-404 .btn-secondary-onwhite {
  margin-left: 8px;
}

#post-404 {
  border: 2px dashed #ddd;
  padding: 40px 5%;
}


.pagination .page-numbers {
  display: inline-block;
  font-weight: 600;
  padding: 5px 15px;
  background-color: #f6f6f6;
  margin: 5px 3px 0 0;
}

.pagination .page-numbers:hover {
  text-decoration: none;
  background-color: #ddd;
}

.pagination .page-numbers.dots:hover {
  background-color: #f6f6f6;
}

.pagination .page-numbers.current {
  background: #e23e22;
    color: #fff !important;
}


/*----------- Structure -----------*/

#breadcrumbs {
  padding: 10px 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7em;
}

#breadcrumbs a:hover {
  text-decoration: underline;
}

.clear:before,
.clear:after {
  content: ' ';
  display: table;
}

.clear:after {
  clear: both;
}

.clear {
  *zoom: 1;
}

.flex {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.flex-space {
  -webkit-justify-content: space-between;
  -ms-justify-content: space-between;
  justify-content: space-between;
}

.vert-center {
  -ms-align-items: center;
  align-items: center;
}

.horiz-center {
  -webkit-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
}

.row-reverse {
  flex-direction: row-reverse;
}

.center {
  text-align: center;
}

.wrap-l-main {
    margin-left: 5%;
}

.wrap-l {
  width: 90%;
  margin: 0 auto;
  position: relative;
}

.wrap {
  max-width: 1280px;
  width: 90%;
  margin: 0 auto;
  position: relative;
}

.wrap-m {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
  position: relative;
}

.wrap-s {
  max-width: 800px;
  width: 90%;
  margin: 0 auto;
  position: relative;
}

.wrap-xs {
  max-width: 600px;
  width: 90%;
  margin: 0 auto;
  position: relative;
}

/*---------- Cols ----------*/
.col-1-2 {
  width: 48%;
}

.col-1-3 {
  width: 31%;
}

.col-2-3 {
  width: 65%;
}

.col-1-4 {
  width: 23%;
}

.col-1-6 {
  width: 15%;
}

.col-3-4 {
  width: 73%;
}

.col-f-1-2 {
  width: 50%;
}

.col-f-1-3 {
  width: 33.33%;
}

.col-f-2-3 {
  width: 66.67%;
}

.col-f-1-4 {
  width: 25%;
}

.col-f-3-4 {
  width: 75%;
}

/*------------ General -----------*/
.pad-l {
  padding: 100px 0;
}

.pad-l-bottom {
  padding-bottom: 100px;
}

.pad {
  padding: 80px 0;
}

.pad-bottom {
  padding-bottom: 80px;
}

.pad-m {
  padding: 60px 0;
}

.pad-m-bottom {
  padding-bottom: 60px;
}

.pad-s {
  padding: 40px 0;
}

.pad-s-bottom {
  padding-bottom: 40px;
}

.pad-xs {
  padding: 20px 0;
}

.pad-xs-bottom {
  padding-bottom: 20px;
}

.marg-b {
  margin-bottom: 60px;
}

.marg-b-s {
  margin-bottom: 30px;
}

::selection {
  background: #04A4CC;
  color: #FFF;
  text-shadow: none;
}

::-webkit-selection {
  background: #04A4CC;
  color: #FFF;
  text-shadow: none;
}

::-moz-selection {
  background: #04A4CC;
  color: #FFF;
  text-shadow: none;
}

/*--------- Links & Buttons --------*/

.upper, .main-content p.upper, .main-content p.upper a {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-bottom: 25px !important;
  font-size: 1em !important;
}

.top-section p.upper a {
	color: #fff;
}

.main-content p.upper a {
	color: #222;
}


a {
  color: #222;
  text-decoration: none;
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}

a:hover {
  color: #222;
}

button.btn {
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}

a.btn, .btn {
  line-height: 1;
  display: inline-block;
  text-transform: uppercase;
  font-weight: 600 !important;
  letter-spacing: 0.1em;
  text-align: center;
  text-decoration: none !important;
}

a.btn-primary, .btn-primary {
  background: #e23e22;
  color: #fff !important;
  padding: 14px 25px;
}

.btn-primary-small {
  background: #e23e22;
  color: #fff !important;
  padding: 9px 12px 7px;
  font-size: 0.85em;
}

a.btn-secondary, .btn-secondary {
  background: transparent;
  color: #fff !important;
  padding: 13px 25px;
  border: 1px solid #fff;
}

.btn-secondary-onwhite {
  background: transparent;
  color: #333 !important;
  padding: 13px 25px;
  border: 1px solid #333;
}

a.btn-primary:hover, .btn-primary:hover {
  background: #e23e22;
  color: #fff;
}

a.btn-secondary:hover, .btn-secondary:hover {
  background: transparent;
  color: #fff;
}


/*-------- Cookies ---------*/

#cookie-notice {
  font-size: 1em;
  line-height: 1.3;
}

#cookie-notice .button#cn-accept-cookie {
  background: transparent;
  color: #fff !important;
  padding: 13px 25px;
  border: 1px solid #fff;
  line-height: 1;
  display: inline-block;
  text-transform: uppercase;
  font-weight: 600 !important;
  letter-spacing: 0.1em;
  margin-left: 20px;
}

#cn-notice-text a {
  text-decoration: underline;
  color: #fff;
}

.cookie-notice-container {
  padding: 30px;
  box-shadow: 0 0 20px rgba(0,0,0,.1);
}

@media only all and (max-width: 1150px) {
  #cn-notice-text {
    display: block;
    margin-bottom: 20px !important;
  }

  #cookie-notice .button#cn-accept-cookie {
    margin-left: 0;
  }

  .cookie-notice-container {
  padding: 30px 5%;
}
}

/*------- forms ---------*/

.ssbp-wrap .ssbp-list li:first-of-type {
  margin-left: 0 !important;
}

.ssbp-wrap {
  margin-bottom: 30px;
}

.single-post .wpcf7 {
  margin-top: 50px;
}

.wpcf7 {
  background-color: #f6f6f6;
  padding: 30px;
}

.logo-img-form {
  width: 110px;
  margin-bottom: 20px;
}

.input-outer {
  margin-bottom: 25px;
}

.input-outer .divide {
  float: left;
  width: 48%;
}

.input-outer .divide p {
  margin-bottom: 0;
}

.input-outer .divide+.divide {
  margin-left: 4%;
}

.input-outer div {
  position: relative;
}

.input-outer label {
  color: #a4a7a8;
  position: absolute;
  left: 12px;
  top: 10px;
  z-index: 10;
  pointer-events: none;
  transition: transform 150ms ease-out, font-size 150ms ease-out;
  font-weight: 400;
}

.wpcf7-form-control-wrap {
  position: relative;
}

.wpcf7 input[type="text"], .wpcf7 input[type="tel"], .wpcf7 input[type="email"], .wpcf7 textarea {
  width: 100%;
  padding: 12px 12px 9px 12px;
  border-radius: 0;
  -webkit-box-shadow: 0 2px 0 0 #bbb;
  -moz-box-shadow: 0 2px 0 0 #bbb;
  box-shadow: 0 2px 0 0 #bbb;
  transition: all 0.25s ease;
  -webkit-appearance: none;
  background: #fff;
}

div.wpcf7 input[type="file"] {
  width: 100%;
}

.focused label {
  transform: translateY(-120%);
  font-size: .75em;
  left: 0;
}

.wpcf7 input.filled, .wpcf7 textarea.filled {
  box-shadow: 0 2px 0 0 #69cc75;
}

span.wpcf7-not-valid-tip {
  font-size: 0.8em;
  margin-top: 3px;
}

.submit-outer {
  float: right;
}

.wpcf7 input[type="submit"] {
  background: #e23e22;
  color: #fff !important;
  padding: 14px 25px;
  line-height: 1;
  display: inline-block;
  text-transform: uppercase;
  font-weight: 600 !important;
  letter-spacing: 0.1em;
  text-align: center;
  text-decoration: none !important;
  border-radius: 0;
}

div.wpcf7 .ajax-loader {
  display: inline;
}

.wpcf7 input[type="submit"].filled {
    box-shadow: none;
}

/* checkbox */
.wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 0.85em;
}

.wpcf7-acceptance a {
  color: #e23e22;
  font-weight: 500;
}

.wpcf7-acceptance a:hover {
  text-decoration: underline;
}

.wpcf7-form-control-wrap.acceptance-251 {
  float: left;
}

span.wpcf7-list-item {
  margin: 0;
}

.wpcf7-acceptance .wpcf7-list-item label {
  position: relative;
  cursor: pointer;
  padding: 3px 0 0 35px;
}

.wpcf7 input[type="checkbox"] {
  width: auto;
  display: inline-block;
  display: none;
}

.wpcf7-acceptance .wpcf7-list-item-label:before {
  content: "";
  display: block;
  position: absolute;
  border: 2px solid #bbb;
  border-radius: 100%;
  height: 28px;
  width: 28px;
  top: 0;
  left: 0;
  z-index: 5;
  transition: border .1s linear;
  -webkit-transition: border .1s linear;
}

.wpcf7-acceptance .wpcf7-list-item-label:after {
  content: "";
  display: block;
  position: absolute;
  border-radius: 100%;
  height: 18px;
  width: 18px;
  top: 5px;
  left: 5px;
  margin: auto;
  transition: background 0.1s linear;
  -webkit-transition: background 0.1s linear;
}

.wpcf7 input[type="checkbox"]:checked~.wpcf7-list-item-label:after {
  background: #69cc75;
}

div.wpcf7-response-output {
    margin: 2em 0 1em;
    padding: 10px 5%;
    border: none;
    text-align: center;
    font-weight: 600;
}

div.wpcf7-mail-sent-ok {
    border: none;
    background: #69cc75;
    color: #fff;
}

div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
    border: none;
    background-color: #ff0000;
    color: #fff;
}

.page-template-page-ansokan .flexible-small.pad {
  padding: 80px 0 0;
}

.page-template-page-ansokan .flexible-small .wrap-s {
  max-width: 600px;
}


/*-------------- Fixed search ---------------*/

.fixed-search {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
}

.search-overlay {
	background: rgba(0,0,0,.7);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.fixed-search.active {
    display: block;
}

.fixed-search .wrap-xs {
  position: relative;
  top: 50%;
  background: #e23e22;
  color: #fff;
  padding: 20px 30px 30px;
  text-align: center;
  -ms-transform: translateY(-70%);
  transform: translateY(-70%);
  -webkit-transform: translateY(-70%);
  box-shadow: 0 0 20px rgba(0,0,0,.3);
  -webkit-transition: opacity 0.6s ease;
    -moz-transition: opacity 0.6s ease;
    transition: opacity 0.6s ease;
    opacity: 0;
}

.fixed-search .wrap-xs.opa {
    opacity: 1;
}

.fixed-search .search {
  width: 100%;
}

.fixed-search .search-input {
  width: 100%;
  padding: 15px;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  margin-bottom: 15px;
}

.fixed-search .search-submit {
  width: 100%;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.fixed-search .icon-cross {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #fff;
  font-size: 1.2em;
  cursor: pointer;
}

.search-results .main-loop article {
    border-top: 1px solid #ddd;
    padding-top: 30px;
}

.owl-carousel .owl-stage, .owl-carousel.owl-drag .owl-item {
    -ms-touch-action: auto;
    touch-action: auto;
}

/*--------- Front page ---------*/


.front-carousel .item {
  height: 400px;
  color: #fff;
}

.front-carousel .item .wrap-l {
  position: relative;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

.front-carousel h1, .front-carousel h2 {
  font-size: 3.3em;
  line-height: 1.1;
}

.front-carousel .main-content p {
  font-size: 1.5em;
  margin-bottom: 0;
  line-height: 1.3;
}

.front-carousel .col-f-2-3 {
  width: 50%;
}

.front-carousel .col-f-1-3 {
  position: relative;
  width: 50%;
}

.front-carousel .btn {
  position: absolute;
  bottom: 0;
  right: 0;
}



.post-puff {
  padding: 15px 0
}

.post-puff .btn {
  margin-left: 20px;
}

.post-puff p {
  animation: pulse 4s infinite;
  font-weight: 500;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.custom-arrow {
  width: 35px;
  position: relative;
  left: 0;
  -webkit-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -ms-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
}

.puff:hover .custom-arrow, .ref-info:hover .custom-arrow, .term-page-listing article:hover .custom-arrow, .ref-listing article:hover .custom-arrow {
  left: 10px;
}


/*------- Puffar --------*/

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: -webkit-linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 80%);
  background: -moz-linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 80%);
  background: -o-linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 80%);
  background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 80%);
  -webkit-transition: background 1s ease-out;  
  -moz-transition: background 1s ease-out;  
  -o-transition: background 1s ease-out;  
  transition: background 1s ease-out; 
}

.puff {
    color: #fff;
    height: 380px;
}

.puff:hover .overlay, .ref-listing article:hover .overlay {
  background: -webkit-linear-gradient(0deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 80%);
  background: -moz-linear-gradient(0deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 80%);
  background: -o-linear-gradient(0deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 80%);
  background: linear-gradient(0deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 80%);
}

.puff a {
  color: #fff;
  display: block;
  height: 100%;
  position: relative;
}

.job-puff {
  position: relative;
}

.puff a div {
  position: absolute;
  left: 0;
  bottom: 40px;
  width: 76%;
  padding: 0 7%;
}

.job-puff-inner {
  position: absolute;
  left: 0;
  bottom: 40px;
  width: 100%;
  padding: 0 7%;
}

.puff.col-f-1-3 a div {
  width: 100%;
}

.puff h2 {
  margin: 0;
  font-size: 2.4em;
}

.puff h3 {
  margin: 0;
}

.puff.col-f-1-3 h2 {
  font-size: 1.9em;
}

.owl-theme .owl-nav.disabled+.owl-dots {
  text-align: left;
}

.owl-theme .owl-dots .owl-dot span {
    width: 13px;
    height: 13px;
    margin: 0 5px;
    background: rgba(255,255,255,.4);
    display: block;
    -webkit-backface-visibility: visible;
    transition: opacity .2s ease;
    border-radius: 50%;
}

.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background: #fff;
}

.seo-text-section .col-1-2 + .col-1-2 {
  margin-left: 4%;
}

.seo-text-section p {
  font-size: 0.9em;
}

.seo-text-section h2, .seo-text-section h3 {
  font-size: 1em;
  margin: 0 0 5px;
  font-weight: 600;
}

.ref-section {
  height: 430px;
  position: relative;
}

.ref-info {
  background: #e23e22;
  position: absolute;
  left: 0;
  top: -50px;
  width: 430px;
}

.ref-info h2 {
  font-size: 1.9em;
  margin: 0;
}

.ref-info a {
  color: #fff;
  display: block;
  padding: 40px 7%;
}



/*----------- Pages ---------*/

.main {
  margin: 50px 0;
}

.main-top {
  margin-top: 50px;
}

.main-content p {
  margin-bottom: 25px;
}

.main-content ul, .main-content ol {
  margin-bottom: 25px;
  padding-left: 1.3em;
}

.main-content p a {
  color: #e23e22;
  font-weight: 500;
}

.main-content a:hover {
  text-decoration: underline;
}

.top-section {
  background: url(/wp-content/uploads/2020/01/main-bgfull.jpg);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  color: #fff;
}

.top-section .col-f-1-3 {
  position: relative;
}

.top-section .col-f-1-3 .btn {
  position: absolute;
  bottom: 0;
  right: 0;
}

.structure-box .sidebar {
  background-color: #f6f6f6;
  padding: 40px 40px 120px;
}

.structure-box .col-f-2-3 {
  padding: 0 7% 80px;
}

.structure-box .col-f-1-3 .main-content {
	padding: 0;
}

.jobb-contact {
	margin-bottom: 40px;
}

.jobb-contact p {
	font-size: 1.3em;
  line-height: 1.5;
}


.puff.no-job-info a:hover {
  text-decoration: none;
}

/*-------- Sidebar menu ---------*/

.sidebar-menu {
  border: 1px solid #ccc;
}

.sidebar-menu .top-item-term > a {
  font-size: 1.4em;
}

.sidebar-menu ul, .sidebar-menu {
  list-style-type: none;
}

.sidebar-menu a {
  display: block;
  padding: 10px 15px;
  border-left: 6px solid transparent;
  line-height: 1.3;
}

.sidebar-menu li + li {
  border-top: 1px solid #ccc;
}

.sidebar-menu ul.sub-menu a {
  padding: 10px 25px;
}

.sidebar-menu a:hover, .sidebar-menu .top-item-term.active a:hover {
 border-left: 6px solid #e8520d;
}

.sidebar-menu ul.sub-menu {
  font-size: 1.1em;
  border-top: 1px solid #ccc;
  display: none;
}

.sidebar-menu li.active .sub-menu {
  display: block;
}

.sidebar-menu .top-item-term.active {
  background-color: #eee;
}

.archive .sidebar-menu .top-item-term.active {
  background-color: #f6f6f6;
}

.sidebar-menu .top-item-term.active a {
  border-left: 6px solid #ddd;
}

.single .sidebar-menu ul.sub-menu li.current a {
  border-left: 6px solid #e8520d;
}

.ingress {
  font-size: 1.3em;
  line-height: 1.3;
}

.top-item-term {
    position: relative;
}

.top-item-term i {
    position: absolute;
    right: 0;
    top: 0;
    font-weight: 500;
    padding: 18px;
    display: block;
    cursor: pointer;
}

.archive .sidebar-menu .top-item-term.active > a {
    border-left: 6px solid #e8520d;
}


/*-------- Tjänster archive --------*/


.term-page-listing .col-2-3 {
  margin-left: 4%;
}

.term-page-listing .col-1-3 p:first-of-type {
	font-size: 1.3em;
  line-height: 1.3;
}

.wrap-l .term-page-listing + .term-page-listing {
  border-top: 1px solid #ddd;
  padding-top: 35px;
}

.term-page-listing article img.wp-post-image {
  width: 100%;
}

.term-page-listing article {
  position: relative;
  width: 48%;
  margin-bottom: 35px;
  background: #e23e22;
}

.term-page-listing article:nth-child(even) {
    margin-left: 4%;
}

.term-page-listing article div {
  background: #e23e22;
  color: #fff;
  padding: 20px 5%;
}

.term-page-listing article div h3 {
  margin: 0 0 10px;
}

.term-page-listing article a {
  color: #fff;
  display: block;
  height: 100%;
}

.term-page-listing h2 a {
  color: #222;
}

.custom-excerpt {
  line-height: 1.3;
  margin-bottom: 5px;
  font-weight: 500;
  font-size: 0.9em;
}

.puff-section-tjanst .puff a div {
    position: relative;
    left: 0;
    bottom: auto;
    padding: 100px 5% 40px;
}

.puff-section-tjanst .puff.col-f-1-3 {
    height: auto;
}

.puff-section-tjanst .puff.col-f-1-2 {
    height: auto;
}

.puff-section-tjanst .puff.col-f-1-2 h2 {
    font-size: 1.9em;
}

.seo-text-tjanst {
	width: 100%;
  margin-left: 0 !important;
}

/*---------- Nyheter ------------*/

.main-loop article {
	padding: 30px 0;
}

.main-loop article + article {
	border-top: 1px solid #ddd;
	padding-top: 30px;
}

.single-post .attachment-post-thumbnail {
	margin-bottom: 25px;
}


/*-------- Tjänster single --------*/

.img-tjanst-carousel {

}

.img-tjanst-carousel .wp-caption-text {
  font-size: 0.85em;
  line-height: 1.3;
  margin-bottom: 0;
  background: #f6f6f6;
  padding: 5px 10px;
}

.owl-theme.img-tjanst-carousel .owl-nav {
    line-height: 1;
    margin-top: 20px;
    margin-bottom: 20px;
}

.owl-theme.img-tjanst-carousel .owl-nav [class*=owl-] {
    background: #e23e22;
    color: #fff !important;
    margin: 0;
    border-radius: 0;
    padding: 12px 0 !important;
    font-size: 1.3em;
    margin: 4px;
}

.sidebar-coworker {
  margin-bottom: 40px;
}

.sidebar-coworker .flex div {
  display: inline-block;
  width: 25%;
}

.sidebar-coworker .flex div img {
  width: 100%;
}

.sidebar-coworker .flex div + div {
  width: 70%;
  margin-left: 5%;
  line-height: 1.35;
}

.sidebar-coworker .flex + .flex {
  margin-top: 20px;
}

.sidebar-coworker .flex div h4 {
  font-weight: 500;
  margin: 0;
  font-size: 1.1em;
}

.sidebar-coworker .flex div p {
  font-size: 0.85em;
}

.sidebar-coworker .flex div a {
  text-decoration: underline;
}


/*-------- Kontakt -----------*/

.office-section {
  background: #e23e22;
  color: #fff;
}

.office-section h3 {
  margin: 0 0 10px;
}

.office-section.main-content a {
  color: #fff;
  font-weight: 400;
}

.office-section .col-f-1-3 {
  padding: 50px 20px 30px;
}

.office-section .col-f-1-3 + .col-f-1-3 {
  border-left: 1px solid rgba(255,255,255,.3);
}

.office-section i {
  font-size: 1.4em;
}

.filter-outer {
  background-color: #f6f6f6;
  padding: 30px 0 35px;
}

.filter-outer strong {
  display: block;
}

.filter {
  cursor: pointer;
}

.filter-outer .flex {
  float: left;
}

.filter-outer .office-btn {
  float: right;
  padding: 9px 12px 7px 28px;
  position: relative;
}

.filter-outer .office-btn i {
  position: absolute;
  top: 8px;
  left: 8px;
}

.flex .filter + .filter {
  margin-left: 5px;
}

.filter-item {
  display: none;
  padding: 30px 0 0;
}

.filter.btn.btn-primary-small {
  color: #222 !important;
  background-color: #e6e6e6;
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}

.filter.btn.btn-primary-small.current, .filter.btn.btn-primary-small:hover {
  background: #e23e22;
  color: #fff !important;
  position: relative;
}

.filter.btn.btn-primary-small.current:after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -8px;
  border: 8px solid transparent;
  border-top-color:  #e23e22;
  z-index: 1;
}

.filter-item.current {
  display: inherit;
}

.contact-coworkers .flex {
  background-color: #f6f6f6;
  width: 48%;
  margin-bottom: 20px;
}

.contact-coworkers .flex:nth-child(even) {
  margin-left: 4%;
}

.contact-coworkers .flex div {
  display: inline-block;
  width: 35%;
}

.contact-coworkers .flex div img {
  width: 100%;
}

.contact-coworkers .flex div + div {
  width: 60%;
  margin-left: 5%;
  line-height: 1.35;
}

.contact-coworkers .flex div h4 {
  font-weight: 500;
  margin: 0;
  font-size: 1.1em;
}

.contact-coworkers .flex div h2, .sidebar-coworker .flex div h2 {
  font-size: 0.75em;
  background-color: #ccc;
  display: inline-block;
  text-transform: uppercase;
  font-weight: 600 !important;
  letter-spacing: 0.1em;
  padding: 7px 12px 6px;
  margin-bottom: 3px;
}

.contact-coworkers .flex div p {
  font-size: 0.85em;
}

.contact-coworkers .flex div a {
  text-decoration: underline;
}

.fakturering-section {
  background-color: #f6f6f6;
}

.fakturering-section .col-f-1-2 {
  padding: 40px 5% 40px;
}

.info_content h3 {
  margin-bottom: 5px;
  font-weight: 500;
}

.info_content {
  font-family: 'Rajdhani', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-align: center;
  padding: 10px;
  line-height: 1.5;
}

.info_content p {
  font-size: 1.2em;
}

/*--------- Historik / timeline ------------*/


.page-template-page-historik .history-section {
    position: relative;
}

.history-section .overlay {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0,0,0,.7);
    z-index: 2;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: calc( 50% - 2px);
    height: 100%;
    width: 2px;
    background-color: #fff;
    z-index: 2;
}

.timeline {
    position: relative;
    z-index: 2;
}

.milestone {
    padding: 80px 0;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.timeline .milestone:nth-child(even) {
    flex-direction: row-reverse;
}

.milestone-box {
  color: #fff;
  background: #e23e22;
}

.milestone-box img {
  width: 100%;
}

.timeline-text {
  padding: 30px;
}

.timeline-text h2 {
    font-size: 1.7em;
}

.timeline-text p {
  margin-bottom: 20px;
  line-height: 1.5;
}

.timeline-text a {
  color: #fff;
  text-decoration: underline;
}

.timeline-text .upper {
 margin-bottom: 10px !important;
}

.milestone-year {
    padding: 0 20px;
}

.milestone-year span, .milestone-year-top span {
    background: #e23e22;
    width: 60px;
    letter-spacing: 0.1em;
    color: #fff;
    height: 60px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 50%;
}

.milestone-year-top {
  padding: 0 0 20px 0;
  display: none;
}

.history-caption-text {
  font-size: 0.75em;
    padding: 5px 10px 4px;
    font-style: italic;
    font-weight: 500;
    border-bottom: 1px dashed rgba(255,255,255,.5);
    line-height: 1.3;
    color: rgba(255,255,255,.7);
}


/*---------- Medarbetare single --------*/

.sidebar-coworker.contact-single-coworker {
  margin-bottom: 0;
}

.contact-single-coworker .flex {
   background-color: #f6f6f6;
}

.contact-single-coworker .flex div {
   background-color: #f6f6f6;
   width: 35%;
}

.contact-single-coworker .flex div + div {
    width: 60%;
    margin-left: 5%;
}

.sidebar-coworker.contact-single-coworker .flex div h4 {
  font-size: 1.2em;
  margin: 0 0 10px;
}

.sidebar-coworker.contact-single-coworker .flex div p {
  font-size: 1em;
}

.single-medarbetare h1, .post-type-archive-medarbetare h1, .tax-referenskategori h1, .search-results h1, .tax-medarbetarekategori h1 {
  margin: 0;
}

/*----------- Artiklar -----------*/
.artiklar-objekt{
	margin-bottom: 20px;
	border-top: 1px solid #ddd;
}

.artiklar-objekt .col-2-3{
  padding: 50px;
  position: relative;
}
.artiklar-inner{
  width: 80%;
}
.artiklar-objekt h2{
  font-size: 1.8rem;
}
.artiklar-objekt .date{
  font-weight: 500;
  width: 100%;
  margin: 20px 0px;
}

/*----------- Referenser på Tjänstsida -----------*/
.spec-ref-listing article {
  height: 80%;
  width: 49%;
  font-size: 0.8em;
  padding: 30px 25px;
  background: #e23e22 url(/wp-content/uploads/2020/01/bg-left-dark-small.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; 
  position: relative;
  margin-bottom: 2%;
  color: #fff;
}

.spec-ref-listing article a {
  display: block;
  height: 100%;
  width: 100%;
  position: relative;
  color: #fff;
}

.spec-ref-listing article:nth-child(2n+1) {
  margin-right: 0%; 
}

.spec-ref-listing article:nth-child(2n+2) {
  margin-left: 2%;
}


/*----------- Referenser -----------*/

.term-ingress {
  margin-top: 20px;
}

.ref-listing article h2 {
  font-size: 1.9em;
  margin: 0 0 10px;
}

.ref-listing article {
  position: relative;
  margin-bottom: 30px;
  background: #e23e22;
  
  color: #fff;
  width: 23.5%;
}



.ref-listing article:nth-child(4n+7), .ref-listing article:nth-child(4n+8), .ref-listing article:nth-child(4n+9) {
  margin-left: 2%;
}

.ref-listing article a {
  display: block;
  height: 100%;
  position: relative;
  color: #fff;
}

.ref-listing article:nth-child(1n+6) {
  font-size: 0.8em;
  padding: 30px 25px;

  background: #e23e22 url(/wp-content/uploads/2020/01/bg-left-dark-small.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.ref-listing article:nth-child(1), .ref-listing article:nth-child(2) {
  width: 49% !important;
  height: 380px;
}

.ref-listing article:nth-child(1) {
  margin-left: 0 !important;
}

.ref-listing article:nth-child(2) {
  margin-left: 2% !important;
}

.ref-listing article:nth-child(3), .ref-listing article:nth-child(4), .ref-listing article:nth-child(5) {
  width: 32%;
  height: 380px;
}

.ref-listing article:nth-child(3) {
  margin-left: 0 !important;
}

.ref-listing article:nth-child(4), .ref-listing article:nth-child(5) {
  margin-left: 2% !important;
}

.ref-listing article:nth-child(-n+5) .attachment-post-thumbnail {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.ref-listing article:nth-child(-n+5) div {
  position: absolute;
  left: 0;
  bottom: 40px;
  width: 100%;
  padding: 0 7%;
}

.ref-listing article:nth-child(1n+6) .attachment-post-thumbnail, .ref-listing article:nth-child(1n+6) .overlay {
  display: none;
}

.custom-refcat-terms {
  font-size: 1.2em;
  margin-bottom: 10px;
}

.ref-listing article:nth-child(-n+5) .custom-refcat-terms {
	font-size: 1em;
}

.ref-listing article:nth-child(1n+6) .custom-ref-terms {
  display: none;
}

.ref-cat-ort {
	font-weight: 600;
  font-size: 0.9em;
  background: #e23e22;
  padding: 7px 8px 6px;
  display: inline-block;
  line-height: 1;
  border-radius: 15px;
}

.custom-ref-terms {
  line-height: 1.3;
}

.custom-ref-terms span + span:before {
  content: ", ";
}

.custom-refcat-terms .upper + .upper:before {
	content: ", ";
}

.main-content p.bildtext {
  padding: 5px 5%;
  text-align: center;
  background-color: #eee;
  font-size: 0.9em;
  font-weight: 500;
  margin-bottom: 0;
}

.ref-carousel {
  margin-bottom: 30px;
}

.main-content ul.single-ref-list {
  list-style-type: none;
  padding-left: 0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.main-content ul.single-ref-list li span {
  font-weight: 600;
  display: block;
  padding: 7px 0 5px;
  line-height: 1.2;
}

.main-content ul.single-ref-list li span + span {
  font-weight: 400;
  text-align: right;
}

#referens .sing-ref + .sing-ref {
  border-top: 2px solid #e23e22;
  padding-top: 30px;
  margin-top: 45px;
}

.main-content ul.single-ref-list li + li {
  border-top: 1px solid #ddd;
}

.owl-theme.ref-carousel .owl-nav {
    margin-top: 0;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    line-height: 1;
    margin-top: -30px;
}

.owl-theme.ref-carousel .owl-nav [class*=owl-] {
    background: #e23e22;
    color: #fff !important;
    margin: 0;
    border-radius: 0;
    padding: 12px 0 !important;
    font-size: 1.3em;
}

.owl-carousel.ref-carousel .owl-nav button.owl-prev {
  position: absolute;
  left: 0;
}

.owl-carousel.ref-carousel .owl-nav button.owl-next {
  position: absolute;
  right: 0;
}



.filter-section {
  background-color: #f6f6f6;
  padding: 15px 0 20px;
}

.top-level-terms select {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 1px solid #999;
  padding: 10px 15px;
  line-height: 1.3;
  border-radius: 4px;
  font-size: 1.1em;
  cursor: pointer;
}

.top-level-terms .top-level-term + .top-level-term {
  margin-left: 20px;
}

.top-level-term {
  width: 270px;
}

.outer-select {
  position: relative;
}

.outer-select i {
  position: absolute;
  right: 15px;
  top: 14px;
  pointer-events: none;
  color: #666;
  font-size: 1.1em !important;
}

.more-ref-section {
	background-color: #f6f6f6;
	border-bottom: 1px solid #ccc;
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin-bottom: 35px;
    overflow: hidden;
    max-width: 100%;
}

.embed-container iframe, .embed-container object, .embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.artiklar-share{
  margin-bottom: 20px;
}
.artiklar-share .col-1-2 + .col-1-2{
  text-align: right;
}


@media only screen and (max-width: 1000px) {

.ref-listing article {
  width: 48%;
}

.ref-listing article:nth-child(4n+7), .ref-listing article:nth-child(4n+8), .ref-listing article:nth-child(4n+9) {
  margin-left: 0;
}

.ref-listing article:nth-child(odd) {
  margin-left: 4%;
}
.artiklar-outer .col-1-3,
.artiklar-outer .col-2-3{
  width: 100%;
}

}


@media only screen and (max-width: 900px) {

.ref-listing article:nth-child(1), .ref-listing article:nth-child(2) {
  width: 100% !important;
  
}

.ref-listing article:nth-child(2) {
  margin-left: 0 !important;
}

.ref-listing article:nth-child(3), .ref-listing article:nth-child(4), .ref-listing article:nth-child(5) {
  width: 100%;
  
}

.ref-listing article:nth-child(4), .ref-listing article:nth-child(5) {
  margin-left: 0 !important;
}

.ref-listing article:nth-child(-n+5) div {
  padding: 0 5%;
}

}


@media only screen and (max-width: 600px) {

.ref-listing article {
  width: 100%;
}

.ref-listing article:nth-child(odd) {
  margin-left: 0;
}

.ref-listing article:nth-child(1n+6) {
  padding: 30px 5%;
}

}


/*----------- Flexibla fält --------------*/


.flex.right {
    flex-direction: row-reverse;
}

.flexible-fifty-fifty .left .col-f-1-2.main-content {
  padding: 0 0 0 5%;
}

.flexible-fifty-fifty .right .col-f-1-2.main-content {
  padding: 0 5% 0 0;
}

.flexible-fifty-fifty .btn {
	margin-top: 10px;
}

.flexible-fifty-fifty .col-f-1-2 img.fifty-fifty-cust-img {
  width: 100%;
}

.flexible-small .btn {
	margin-top: 20px;
}

blockquote {
	font-family: 'Playfair Display', serif;
	font-size: 1.5em;
	font-style: italic;
}

.flexible-gallery {
  border-left: 2px solid #fff;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  border-top: 2px solid #fff;
}

.gallery-img {
  height: 380px;
  border: 2px solid #fff;
}

.gallery-img img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  object-position: center top;
}

.flexible-gallery .flex .gallery-img:nth-child(1), .flexible-gallery .flex .gallery-img:nth-child(2) {
  width: 50%;
}

.flexible-gallery .flex .gallery-img:nth-child(3), .flexible-gallery .flex .gallery-img:nth-child(4), .flexible-gallery .flex .gallery-img:nth-child(5) {
  width: 33.33%;
}

.puff-section-reg .col-1-3 + .col-1-3 {
	margin-left: 3.5%;
}

.puff-section-reg .col-1-3 {
	background-color: #f6f6f6;
}

.puff-section-reg .col-1-3 .text-content {
	padding: 30px 5%;
}

.puff-section-reg .col-1-3 .text-content h2 {
	word-wrap: break-word;
  overflow-wrap: break-word;

-webkit-hyphens: auto;
   -moz-hyphens: auto;
        hyphens: auto;
}

.sma-bilder {
	padding: 0;
  height: 200px;
	background-color: #fff;
	border-top: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-left: 1px solid #ddd;
}

.sma-bilder img {
	max-height: 65px;
  max-width: 65%;
  position: relative;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

.flex .col-1-6:nth-child(6n+2), .flex .col-1-6:nth-child(6n+3), .flex .col-1-6:nth-child(6n+4), .flex .col-1-6:nth-child(6n+5), .flex .col-1-6:nth-child(6n+6) {
    margin-left: 2%;
}

.flex .col-1-6 {
  line-height: 1.3;
  margin-bottom: 20px;
}

.flex .col-1-6.has-sublink a {
  border: 1px solid #ccc;
  padding: 10px 10px 0;
}

.flex .col-1-6 p {
  margin-top: 15px;
  font-size: 0.9em;
  font-weight: 500;
}

.flex .col-1-6 a {
  display: block;
  height: 100%;
}

.flex .col-1-6 img, .flexible-fifty-fifty-mal img {
  width: 100%;
}

.flex .col-1-6 a:hover {
  text-decoration: none;
  background-color: #f6f6f6;
}

.flexible-fifty-fifty .left .col-f-3-4.main-content {
    padding: 0 0 0 5%;
}

.flexible-fifty-fifty .right .col-f-3-4.main-content {
    padding: 0 5% 0 0;
}

.flexible-fifty-fifty-mal .wrap-s {
  border: 1px solid #ccc;
  padding: 30px;
}


/*----------- Footer ------------*/

.footer h3 {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-bottom: 20px !important;
  font-size: 1em !important;
}

.footer ul {
  list-style-type: none;
}

.footer .col-f-1-3 img {
  object-fit: cover;
  width: 100%;
  height: 100% !important;
}

.footer .widget_media_image {
  height: 100%;
}

.footer .col-f-1-3 {
  background: #e23e22;
  color: #fff;
  position: relative;
}

.footer .col-f-1-3 a {
  color: #fff;
}

.footer .col-f-1-3 p, .footer .col-f-1-3 ul {
  font-size: 1.2em;
}

.footer .col-f-1-3 .widget_nav_menu {
  width: 50%;
}

.footer .col-f-1-3 .btn {
  margin-top: 30px;
}

.footer a:hover {
	text-decoration: underline;
}

.f-nav-flex {
  position: absolute;
  left: 0;
  bottom: 40px;
  width: 100%;
  padding: 0 50px;  
}

.footer .col-f-1-3:nth-child(2) {
  background: url(/wp-content/uploads/2020/01/bg-left-dark.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.footer .col-f-1-3 + .col-f-1-3 {
  padding: 40px 50px;
}

.sub-footer {
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.1em;
  font-size: 0.9em;
}

.copyright {
  display: inline-block;
  margin-left: 30px;
}

.link-footer {
  text-align: right;
  margin-left: 4%;
}

.footer-logo {
  width: 110px;
}


.linkedin-icon {
	background-color: #0072b0;
	color: #fff;
	padding: 4px 7px 1px 8px;
    display: inline-block;
    border-radius: 2px;
}

.footer a.linkedin-icon:hover {
	text-decoration: none;
	color: #fff;
	background-color: #06689D;
}

.middle-footer {
  border-bottom: 1px solid #ddd;
}

.cert-images img {
  height: 55px;
  margin: 20px;
}


/*------------ responsive ------------*/

@media only screen and (max-width: 1550px) {

.front-carousel .col-f-2-3 {
  width: 66.67%;
}

.front-carousel .col-f-1-3 {
  width: 33.33%;
}

}




@media only screen and (max-width: 1000px) {

.flex .col-1-6 {
  width: 23%;
}

.flex .col-1-6:nth-child(6n+2), .flex .col-1-6:nth-child(6n+3), .flex .col-1-6:nth-child(6n+4), .flex .col-1-6:nth-child(6n+5), .flex .col-1-6:nth-child(6n+6) {
    margin-left: 0;
}

.flex .col-1-6:nth-child(4n+2), .flex .col-1-6:nth-child(4n+3), .flex .col-1-6:nth-child(4n+4) {
    margin-left: 2.66%;
}

.front-carousel .col-f-1-3, .top-section .col-f-1-3 {
  margin-top: 30px;
}

.front-carousel .col-f-1-3, .front-carousel .col-f-2-3, .top-section .col-f-1-3, .top-section .col-f-2-3 {
  width: 100%;
}

.front-carousel .btn, .top-section .col-f-1-3 .btn {
    position: relative;
    bottom: 0;
    right: 0;
}

.front-carousel .item {
    height: 500px;
}

.puff a div {
    position: absolute;
    left: 0;
    bottom: 40px;
    width: 100%;
    padding: 0 7%;
}

.puff.col-f-1-3 {
    width: 100%;
    height: auto;
}

.puff a div, .job-puff-inner {
    position: relative;
    left: 0;
    bottom: auto;
    width: 100%;
    padding: 100px 5% 40px;
}

.puff.col-f-1-2 {
  height: auto;
}

.term-page-listing .col-2-3, .term-page-listing .col-1-3 {
    margin-left: 0;
    width: 100%;
}

.term-page-listing .col-1-3 {
  margin-bottom: 35px;
}

.top-level-term {
    width: 32%;
}

.top-level-terms .top-level-term + .top-level-term {
    margin-left: 2%;
}

.office-section .col-f-1-3 {
  width: 50%;
}

.office-section .col-f-1-3 + .col-f-1-3 {
  border-left: none;
}

.office-section .col-f-1-3:nth-child(1) {
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,.3);
}

.office-section .col-f-1-3:nth-child(3) {
  border-left: 1px solid rgba(255,255,255,.3);
}

.filter-outer .flex {
  float: none;
}

.filter-outer .office-btn {
  display: none;
}

.filter {
  margin: 0 5px 5px 0;
}
.flex .filter + .filter {
  margin-left: 0;
}

.puff.no-job-info {
  height: auto;
}
	.artiklar-objekt img{
		width: 100%;
		height: 100%;
	}
	.artiklar-objekt{
		border: none;
	}
	.artiklar-inner {
    width: 100%;
}
	.artiklar-objekt .col-2-3{
		    padding: 40px;
	}

}



@media only screen and (max-width: 900px) {

.footer .col-f-1-3:first-child {
  display: none;
}

.footer .col-f-1-3 + .col-f-1-3 {
  padding: 40px 5%;
}

.sub-footer .col-1-2 {
  width: 100%;
}

.link-footer {
    text-align: left;
    margin-left: 0;
    margin-top: 20px;
}

.f-nav-flex {
    position: relative;
    left: 0;
    bottom: auto;
    width: 100%;
    padding: 0;
}

.footer .col-f-1-3 {
  width: 100%;
}

.structure-box .col-f-1-3, .structure-box .col-f-2-3 {
  width: 100%;
}

.structure-box .sidebar {
    padding: 40px 5% 120px;
}

.structure-box .col-f-2-3 {
    padding: 0 5% 80px;
}

.sidebar-coworker .flex {
  background-color: #eee;
}

.contact-single-coworker .flex {
  background-color: #f6f6f6;
}

.top-level-term {
    width: 100%;
}

.top-level-terms .top-level-term + .top-level-term {
    margin-left: 0;
    margin-top: 5px;
}

.flexible-gallery .flex .gallery-img:nth-child(1), .flexible-gallery .flex .gallery-img:nth-child(2) {
  width: 50%;
}

.flexible-gallery .flex .gallery-img:nth-child(3) {
  width: 100%;
}

.flexible-gallery .flex .gallery-img:nth-child(4), .flexible-gallery .flex .gallery-img:nth-child(5) {
  width: 50%;
}

.flexible-gallery .flex .gallery-img {
  height: 250px;
}

.contact-coworkers .flex {
  width: 100%;
}

.contact-coworkers .flex:nth-child(even) {
  margin-left: 0;
}

.filter.btn.btn-primary-small.current:after {
  content: none;
}


}




@media only screen and (max-width: 800px) {

.flex .col-1-6 {
  width: 48%;
}

.flex .col-1-6:nth-child(4n+2), .flex .col-1-6:nth-child(4n+3), .flex .col-1-6:nth-child(4n+4) {
    margin-left: 0;
}

.flex .col-1-6:nth-child(even) {
  margin-left: 4%;
}

.puff-section-reg .col-1-3 + .col-1-3 {
  margin-left: 0;
  margin-top: 60px;
}

.puff-section-reg .col-1-3 {
  width: 100%;
}

.front-carousel h1, .front-carousel h2 {
  font-size: 2.6em;
}

.puff.col-f-1-2 {
    width: 100%;
}

.flexible-fifty-fifty .col-f-1-2 {
    width: 100%;
}

.flexible-fifty-fifty .col-f-1-2.main-content {
    padding: 0;
    margin-top: 35px;
}

.flexible-fifty-fifty .left .col-f-1-2.main-content, .flexible-fifty-fifty .right .col-f-1-2.main-content {
  padding: 0;
}

.milestone {
    padding: 50px 0;
    display: block;
}

.milestone .col-f-1-2 {
    width: 100%;
}

.timeline-text {
    padding: 30px 5% 40px;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 15%;
    height: 100%;
    width: 2px;
    background-color: #fff;
    z-index: 2;
}

.milestone-year-top {
  display: inline-block;
  padding: 0;
  position: relative;
  left: 12%;
  margin-left: -30px;
}

.milestone-year {
  display: none;
}

}




@media only screen and (max-width: 700px) {

.term-page-listing article {
  width: 100%;
}

.term-page-listing article:nth-child(even) {
    margin-left: 0;
}

}



@media only screen and (max-width: 600px) {

.flexible-fifty-fifty .col-f-3-4, .flexible-fifty-fifty .col-f-1-4 {
    width: 100%;
}

.flexible-fifty-fifty .col-f-3-4 {
  margin-top: 35px;
}

.flexible-fifty-fifty .left .col-f-3-4.main-content, .flexible-fifty-fifty .right .col-f-3-4.main-content {
    padding: 0;
}

.flexible-fifty-fifty-mal .wrap-s {
  padding: 15px;
}

.ingress {
    font-size: 1.1em;
}

.pad-m {
    padding: 30px 0;
}

.main {
    margin: 30px 0 50px;
}

.main-top {
    margin-top: 30px;
}

.front-carousel h1, .front-carousel h2 {
    font-size: 2.3em;
}

.puff h2 {
  font-size: 1.9em;
}

.puff-section-reg .col-1-3 .text-content h2 {
  font-size: 1.7em;
}

h1, .main-title {
  font-size: 2.3em;
}

.ref-info {
    width: 90%;
}

.ref-info a {
    padding: 40px 5%;
}

.input-outer {
  margin-bottom: 0;
}

.input-outer div {
  margin-bottom: 25px;
}

.input-outer .divide {
  float: none;
  width: 100%;
}

.input-outer .divide+.divide {
  margin-left: 0;
}

.wpcf7-form-control-wrap.acceptance-251, .submit-outer {
  float: none;
}

.wpcf7 input[type="submit"] {
  width: 100%;
  margin-top: 25px;
}

.wpcf7 {
  padding: 30px 5%;
}

.office-section .col-f-1-3 {
  width: 100%;
  padding: 50px 5% 30px;
}

.office-section .col-f-1-3 + .col-f-1-3 {
  border-left: none;
}

.office-section .col-f-1-3:nth-child(3) {
  border-top: 1px solid rgba(255,255,255,.3);
}

.fakturering-section .col-f-1-2 {
  width: 100%;
}

.sidebar-coworker.contact-single-coworker .flex div h4 {
  margin: 0;
  font-size: 1.1em;
}

.sidebar-coworker.contact-single-coworker .flex div p {
    font-size: 0.85em;
}

#post-404 .btn {
  width: 100%;
}

#post-404 .btn-secondary-onwhite {
  margin-left: 0;
  margin-top: 15px;
}

.main-contact-button {
    position: fixed !important;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 4;
    transform: rotate(0deg);
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    transition: all 0.25s ease;
    transform-origin: top right;
    box-shadow: 0 -1px 10px rgba(0,0,0,.25);
    padding: 18px 5px 17px !important;
}
	
	  .spec-ref-listing article {
    width: 100% !important;
  }
  .spec-ref-listing article:nth-child(2n+1) {
    margin-right: 0%; 
  }
  
  .spec-ref-listing article:nth-child(2n+2) {
    margin-left: 0%;
  }

}



@media only screen and (max-width: 500px) {

.flexible-gallery .flex .gallery-img:nth-child(1), .flexible-gallery .flex .gallery-img:nth-child(2) {
  width: 100%;
}

.flexible-gallery .flex .gallery-img:nth-child(4), .flexible-gallery .flex .gallery-img:nth-child(5) {
  width: 100%;
}

.seo-text-section .col-1-2 {
    width: 100%;
}

.seo-text-section .col-1-2 + .col-1-2 {
    margin-left: 0;
}

.sidebar-coworker .flex div {
    width: 35%;
}

.sidebar-coworker .flex div + div {
    width: 60%;
    margin-left: 5%;
}

}



/*------------ WordPress core ---------*/
.alignnone {
  margin: 5px 0 20px 0;
  height: auto;
}

#gallery-1 img {
  height: auto;
}

.aligncenter,
div.aligncenter {
  height: auto;
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  height: auto;
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  height: auto;
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #FFF;
  border: 1px solid #F0F0F0;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption .wp-caption-text,
.gallery-caption {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/*------------ Print css -----------*/
@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " ("attr(href) ")";
  }

  abbr[title]:after {
    content: " ("attr(title) ")";
  }

  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }

  pre, blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr, img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }



  @page {margin: 0.5cm;}
  p,h2,h3 {orphans: 3;widows: 3;}
  h2,h3 {page-break-after: avoid;}

}