body {
    line-height: 1.4;
}

h1,
h2,
h3,
h4 {
	font-family: "franklin-gothic-urw", sans-serif;
	font-style: normal;
	font-weight: 500;
}

p,
span {
    font-family: Arial, Helvetica, sans-serif;
}

label {
    font-weight: bold !important;
}

.main-content {
    margin: 0;
}

div {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.row {
    margin-left: -10px;
    margin-right: -10px;
}

.row .row {
    margin-left: 0;
    margin-right: 0;
}

.block {
    position: relative;
    min-height: 1px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

.block :last-child {
    margin-bottom: 0;
}

.block.half {
    width: 50%;
    float: left;
}

.blockheader {
    background: #f7a600;
    color: #FFF;
    text-transform: uppercase;
    padding: .5em 1em;
    margin: 0;
}

.block a {
    color: #f7a600; 
}

.block a:hover {
    color: #E75114; 
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child {
    margin-top: 0;
}

a.chevron:after {
    content:'\f078';
    font-family: FontAwesome;
    font-size: 1em;
    font-weight: bold;
    margin-left: 6px;
    color: #f7a600;
}
/* MAP CONTROLS */
.ol-control {
  border-radius: 15px;
  background-color: transparent;
  -webkit-box-shadow: none;
  box-shadow: none;
}
button.ol-zoom-in, button.ol-zoom-out {
  border-radius: 15px;
  margin-bottom: .5em;
  -webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.45);
  box-shadow: 0 2px 5px rgba(0,0,0,0.45);
}
button.o-button {
  border-radius: 1em;
  width: 2em;
  height: 2em;
}
#o-home-button {
  top: 5.5em;
}
#o-geolocation-button {
  top: 8em;
}

/* HEADER */

header[role="banner"] {
    height: auto;
    position: relative;
}

.headerlinks {
    width: 100%;
    float: none;
}

header .section-container {
    position: relative;
}

.emblem {
    float: left;
    margin: 2em 0 0 0;
}

.emblem img {
    width: 200px;
    height: auto;
}

.logo {
    position: absolute;
    right: 0;
    bottom: 5px;
    width: auto;
}

.logo img {
    width: 70px;
    height: auto;
}

.globalnavigation-wrapper {
    background: #FFF;
    height: auto;
    margin-top: 2em;
    border-bottom: 5px solid #f7a600;
    width: 100%;
}


ul.global-navigation {
    height: auto; 
}

ul.global-navigation li {
    width: auto;
    height: auto;
}

ul.global-navigation li a  {
    color: #f7a600;
    text-transform: uppercase;
    font-weight: bold;
}

ul.global-navigation li a {
    padding: 20px 30px;
}

/* SUBMENU */

.sub-menu ul li a.current {
    color: #f7a600 !important;
    padding: .8em .5em .8em 1.3em;
    background: url(../img/bg-sub-arrow.png) 5px 15px no-repeat !important;
    border-bottom: 1px solid #f2f2f2;
}

.sub-menu ul li a:hover {
    color: #f7a600 !important;
}

/* KVMAPBLOCK */

.kvmapblock {       
    position: relative;
}

.kvmapblock canvas {
    cursor: pointer;
}

/*.kvmapblock .map-container {
    height: 480px;
}

.kvmapblock .map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}*/

/*.kv-pin {
    height: 40px;
    width: 35px;
    position: absolute;
}*/
/*.kv-pin.color-80348b {
    background: url(../img/karlstad-vaxer/pin-80348b.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    top: 309px;
    left: 480px;
}*/

/* PROJECT */

.project .list-item {
    background: #999;
    width: 100%;
    height: 210px;
    position: relative;
}

.project .list-item.color-f07d1b {
    border: 4px solid #f07d1b;
}

.project .list-item.color-80348b {
    border: 4px solid #80348b;
}

.project .list-item.color-f8ba19 {
    border: 4px solid #f8ba19;
}

.project .list-item.color-e30613 {
    border: 4px solid #e30613;
}

.project .list-item.color-ea528e {
    border: 4px solid #ea528e;
}

.project .list-item.color-0098cc {
    border: 4px solid #0098cc;
}

.project .list-item.color-00a13a {
    border: 4px solid #00a13a;
}

.project .list-item .kv-status-banner {
    position: absolute;
    top: 0;
    right: 0;
    padding: .5em 1em;
}

.kv-status-banner.color-f07d1b {
    background: #f07d1b;
}

.kv-status-banner.color-80348b {
    background: #80348b;
}

.kv-status-banner.color-f8ba19 {
    background: #f8ba19;
}

.kv-status-banner.color-e30613 {
    background: #e30613;
}

.kv-status-banner.color-ea528e {
    background: #ea528e;
}

.kv-status-banner.color-0098cc {
    background: #0098cc;
}

.kv-status-banner.color-00a13a {
    background: #00a13a;
}

.kv-status-banner span {
    color: #FFF;
}

.project .list-item .overlay {
    background: #FFF;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: all 0.7s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
}

.project .list-item .overlay:hover {
    opacity: .3;
}

.project .list-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project .list-item figcaption {
    background: rgba(0,0,0,.5);
    color: #FFF;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1em;
}

.project .list-item figcaption h3 {
    margin: 0;
}

.project .list-item figcaption p {
    margin-top: .5em;
    margin-bottom: 0;
}

/* POPUP */

#o-popup {
  font-size: 0.875em;
  line-height: 1.42857143;
  position: absolute;
  width: 270px;
}
#o-identify-carousel,
#o-identify {
	height: 100%;
}
.o-popup a:active,
.o-popover a:hover {
  outline: 0;
}
.o-sidebar a,
.o-popup a {
  color: #428bca;
  text-decoration: none;
}
.o-sidebar a:hover,
.o-sidebar a:focus,
.o-popup a:hover,
.o-popup a:focus {
  color: #2a6496;
  text-decoration: underline;
}
.o-popup {
    position: absolute;
    display: none;
    bottom: 50px !important;
    left: -50%;
    width: 100%;
    z-index: 1010;
    padding: 1px;
    text-align: left;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    /* border-radius: 6px; */
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    white-space: normal;
    border-radius: 0 !important;
}
.o-popup:before, .o-popup:after {
  display: block;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.o-popup:after {
  border-top-color: white;
  border-width: 10px;
  left: 50%;
  margin-left: -10px;
  bottom: -20px;
}
.o-popup:before {
  border-top-color: #999999;
  border-width: 11px;
  left: 50%;
  margin-left: -11px;
  bottom: -22px;
}
.o-sidebar-title,
.o-popup-title {
  margin: 0;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: bold;
  line-height: 18px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  border-radius: 5px 5px 0 0;
  display: none;
}
.o-sidebar-content,
.o-popup-content {
    padding: 0 !important;
    width: 100% !important;
    height: 100%;
}
.o-sidebar,
.o-sidebar-content {
	height: 100%;
}
#o-sidebar .o-header1,
#o-popup .o-header1 {
  font-weight: bold;
  font-size: 1.2em;
}
/*.sidebar .image-container,
.popup .image-container{
  margin-bottom: 10px;
  margin-left: -14px;
  margin-right: -14px;
  margin-top: -9px;
  position: relative;
}*/
.o-sidebar .o-image-container img,
.o-popup .o-image-container img{
  vertical-align: top;
  width: 100%;
}
.o-sidebar .o-image-attribution,
.o-popup .o-image-attribution{
  background-color: rgba(0,0,0,0.5);
  box-sizing: border-box;
  color: rgb(220,220,220);
  text-align: right;
  font-size: 0.7em;
  font-style: italic;
  height: 15px;
  line-height: 15px;
  padding-right: 5px;
  position: absolute;
  bottom: 0;
  width: 100%;
}
/*generic close button*/
.o-close-button {
    height: 2.429em;
    float: right;
    width: 2.429em;
    position: absolute;
    z-index: 9;
    background: #FFF;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    right: -15px;
    top: -15px;
}
.o-close-button:hover {
  cursor: pointer;
}
.owl-item ul {
    margin: 0;
    padding: 0;
}

.o-mapwindow-button {
    display: none !important;
}

.owl-theme .owl-controls {
    margin: 0 !important;
}

.owl-prev .o-icon-fa-chevron-left, .owl-next .o-icon-fa-chevron-right {
    width: .5em !important;
    height: .5em !important;
}

.owl-theme .owl-controls .owl-page span {
    display: block;
    width: 8px !important;
    height: 8px !important;
    margin: 5px 2px 0 2px !important;
    background: #FFF !important;
}

#o-identify-carousel {
    position: relative;
}

.owl-pagination {
    position: absolute;
    top: 10px;
    left: 119px;
}

.owl-buttons {
    position: absolute;
    bottom: -15px;
    left: 83px;
}

.owl-theme .owl-controls .owl-buttons div {
    margin: 0 15px !important;
    padding: 3px !important;
    background: #FFF !important;
}

/* PROJECTLISTBLOCK */

.projectlistblock {
    margin-bottom: 0;
}

.project-listing {
    margin-top: 30px;
    padding: 0;
    overflow: hidden;
}
.project-listing .project {
    width: 33.3333%;
    float: left;
    padding: 0 10px;
	margin: 0 0 20px 0;
}

/*.project-listing .project:nth-child(3n+1) {
    padding-left: 0;
}

.project-listing .project:nth-child(3n+3) {
    padding-right: 0;
}*/

/* FILTER CATEGORIES */

.filter {
    margin-top: 2em;
}

.filter .category-button {
    padding: .5em 1.5em;
    margin: 0 1em 1em 0;
    display: inline-block;
    color: #FFF;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    opacity: .3;
}

.filter .category-button.color-f07d1b {
    background: #f07d1b;
}

.filter .category-button.color-80348b {
    background: #80348b;
}

.filter .category-button.color-f8ba19 {
    background: #f8ba19;
}

.filter .category-button.color-e30613 {
    background: #e30613;
}

.filter .category-button.color-ea528e {
    background: #ea528e;
}

.filter .category-button.color-0098cc {
    background: #0098cc;
}

.filter .category-button.color-00a13a {
    background: #00a13a;
}

.filter .category-button.is-checked {
    opacity: 1;
}

.filter .category-button-all {
    background: transparent;
    color: #444;
    white-space: nowrap;
    padding: 0;
    cursor: pointer;
}

.filter .category-button:hover,
.filter .category-button.is-checked:hover {
    color: #FFF;
}

.multiple-categories {
    position: relative;
    margin: 1em 0 2em 0;
    display: flex;
}

.multiple-categories:before {
    content: '';
    position: absolute;
    top: -8px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #80348b;
}

.multiple-categories span {
    margin-left: 30px;
    font-size: .8em;
}

/* SORT */

.sort-wrapper {
    background: #f2f4f6;
    padding: .5em 1.5em;
    margin-top: 1em;
    overflow: hidden;
}

.sort-wrapper label {
    float: left;
    margin-right: 1em;
    cursor: default;
}

.sort-wrapper a,
.sort-wrapper a:link, 
.sort-wrapper a:visited {
    margin-right: 1em;
    color: #444;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
}

.sort-wrapper a.is-active,
.sort-wrapper a:hover {
    color: #f7a600;
}

.sort-wrapper .options {
    float: left;
    overflow: hidden;
}

.sort-wrapper .sort-order {
    float: left;
}

.sort-order .sort-status {
    float: right;
}

.sort-wrapper .sort-order {
    margin-right: 2em;
}

/* PREAMBLE */

#article-img {
    margin-left: 5px;
    margin-right: 5px;
}

#article-img img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.preamble {
    max-width: 570px;
    margin: 0 auto;
    text-align: center;
}

.preamble .top {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5em;
}

.preamble .top .kv-project-title,
.preamble .top .kv-project-status {
    float: left;
}

.preamble .kv-project-title {
    margin: 19px .5em 0 0;
}

.preamble .kv-status-banner {
    color: #FFF;
    padding: 1em 2em;
}

.preamble ul {
    text-align: left !important;
    padding-left: 15px;
    display: block;
    margin: 2em 0;
}

/* PROJECT PLAN PROJECTS */

/*.kv-projectlist .project:nth-child(3n+1) {
    padding-left: 0;
}

.kv-projectlist .project:nth-child(3n+3) {
    padding-right: 0;
}*/

/* TIMELINE */

.timelineblock {
    padding-top: 30px;
}

.timelineblock .timeline {
    padding-top: 30px;
    margin-bottom: 30px;
    overflow: hidden;
    min-height: 300px;  
    background: transparent !important;
}

.timelineblock .step {
    width: 11.1%;
    float: left;
    vertical-align: top;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timelineblock .step .title { 
    min-height: 60px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timelineblock .step:before {
    background: #f7a600;
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50px;
    position: absolute;
    left: 50%;
    top: -30px;
    margin-left: -14px;
    display: none;
}

.timelineblock .timeline.color-f07d1b .step:before {
    background: #f07d1b;
}

.timelineblock .timeline.color-80348b .step:before {
    background: #80348b;
}

.timelineblock .timeline.color-f8ba19 .step:before {
    background: #f8ba19;
}

.timelineblock .timeline.color-e30613 .step:before {
    background: #e30613;
}

.timelineblock .timeline.color-ea528e .step:before {
    background: #ea528e;
}

.timelineblock .timeline.color-0098cc .step:before {
    background: #0098cc;
}

.timelineblock .timeline.color-00a13a .step:before {
    background: #00a13a;
}

.timelineblock .step.is-active:before {
    display: block;
}

.timelineblock .step a {
    font-weight: bold;
    color: #444;
    padding: 0 20px;
    font-size: .9em;
}

.timelineblock .bar {
    height: 6px;
    background: #ced0d6;
    width: 100%;
    position: relative;
    top: 18px;
    left: 0;
}

.timelineblock .step .details {
    background: #f2f4f6;
    padding: 1.5em;
    width: 350px;
    position: absolute;
    top: 88px;
    left: -115px;
    text-align: left;
    display: none;
}

.timelineblock .step:first-child .details {
    left: 0;
}

.timelineblock .step:first-child .details:before {
    left: 34px;
}

.timelineblock .step:last-child .details {
    left: -228px;
}

.timelineblock .step:last-child .details:before {
    left: 263px;
}

.timelineblock .step.is-active .details {
    display: block;
}

.timelineblock .step .details:before {
    content: url('../img/karlstad-vaxer/arrow-grey.png');
    width: 30px;
    height: 30px;
    position: absolute;
    top: -18px;
    left: 152px;
}

.timelineblock .details h4 {
    /*color: #f7a600;*/
    font-weight: bold;
    margin-bottom: .25em;
}

/* IMAGESLIDESHOWBLOCK */

#galleria {
    max-width: 980px;
    height: 480px;
}

.galleria-thumbnails .galleria-image {
    width: 80px !important;
    height: 45px !important;
}
.galleria-thumbnails .galleria-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

/* EDITORBLOCK */

.editorblock .inner {
    max-width: 570px;
    margin: 0 auto;
}

.editorblock.orange {
    background: #f7a600;
    color: #FFF;
    margin: 0 10px 30px 10px;
    padding: 0;
    text-align: center;
}

.editorblock.orange .inner {  
    padding: 2em 1em;
}

.editorblock.orange h2 {
    font-size: 1.8em;
    margin-bottom: 0;
}

.editorblock.orange p,
.editorblock.orange a {
    margin-top: .5em;
}

.editorblock.orange a,
.editorblock.orange a.chevron:before {
    color: #FFF;
}

.editorblock.orange a:hover {
    color: #EEE;
}

/* NEWSLISTBLOCK */

.newslistblock .newslistblock-row {
    background: #f2f4f6;
    padding: 0 1em;
    overflow: hidden;
}

.newslistblock .newslistblock-row .inner {
    padding: 2em 0;
}

.newslistblock.half .newslistblock-row .inner {
    padding: 1em 0;
}

.newslistblock .newslistblock-row .inner {    
    border-bottom: 1px solid #FFF;
    overflow: hidden;
}

.newslistblock .newslist .image-container {
    width: 30%;
    float: left;
    padding-right: 2em;
}

.newslistblock .newslist .image-container img {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
}

.newslistblock .newslist .text-container {
    width: 70%;
    float: right;
}

.newslistblock .newslist h2 {
    color: #f7a600;
    margin-bottom: .5em;
    font-size: 1.3em;
}

.newslistblock.half .excerpt {
    display: none;
}

.newslistblock .excerpt {
    margin-top: 1em;
}

.newslistblock p {
    margin-bottom: 0;
}

.newslistblock .show-more {
    float: right;
}

.newslistblock .show-more a {
    color: #444;
    display: inline-block;
    overflow: initial;
}

.newslistblock .show-more a:hover {
    color: #E75114;
}

/* DOCUMENTLISTBLOCK */

.documentlistblock table {
    border: 1px solid #dadada;
}

.documentlistblock table td {
    padding: .5em 1em;
}

.documentlistblock table tr:nth-child(even){
    background: #f2f4f6;
}

.documentlistblock table .file-name { 
    width: 75%;
}

.documentlistblock table .file-name a {
    float: left;
    color: #f7a600;
    font-weight: bold;
    padding-left: 12%;
}

.documentlistblock table .file-name a:hover {
    color: #E75114;
    font-weight: bold;
}

.documentlistblock table .file-size {
    width: 25%;
    text-align: right;
}

/* PROJECTINFOBLOCK */

.projectinfoblock .inner {
    background: #f2f4f6;
    padding: 1em;
}

.projectinfoblock p:last-child {
    margin-bottom: 0;
}

/* FEATUREBLOCK */

.featureblock {
    height: auto !important;
    margin-bottom: 1em;
}

.featureblock .inner {
    background: #f2f4f6;
    padding: 1.5em;
    overflow: hidden;
}

.featureblock .Teaser {
    width: 25%;
    float: left;
    padding: 0 1em;
    margin: 1em 0 0 0;
}

.featureblock .Teaser:nth-child(1),
.featureblock .Teaser:nth-child(2),
.featureblock .Teaser:nth-child(3),
.featureblock .Teaser:nth-child(4) {
    margin-top: 0;
}

.featureblock .Teaser .item {
    background: #fff;
    width: 100%;
    height: 180px;
    position: relative;
    cursor: pointer;
}

.featureblock .Teaser .item:hover img {
    opacity: .7;
}

.featureblock .Teaser .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: all 0.7s ease 0s;
    -webkit-transition: all 0.7s ease 0s;
    -moz-transition: all 0.7s ease 0s;
    -o-transition: all 0.7s ease 0s;
}

.featureblock .Teaser figcaption {
    background: #f7a600;
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    padding: 1em;
}

.featureblock .Teaser figcaption h3 {
    margin: 0;
    color: #FFF;
}

.l-footergrid h5 {
    font-weight: bold;
}

/* MEDIA QUERIES
--------------------------------------------------------*/

@media only screen and (min-width: 980px) {

    .featureblock div:nth-child(4n+1) .Teaser,
    .featureblock .Teaser:nth-child(4n+1) {
        padding-left: 0;
    }

    .featureblock div:nth-child(4n+4) .Teaser,
    .featureblock .Teaser:nth-child(4n+4) {
        padding-right: 0;
    }
}

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

    .emblem {
        margin: 1em 0 0 0;
    }

    .globalnavigation-wrapper {
        background: #f7a600;
        border-bottom: none;
        margin-top: 1em;
    }

    .globalnavigation-wrapper .section-container {
        max-width:93.5%;
        margin: 0 auto;
    }

    ul.m-service-navigation {
        overflow: hidden;
    }

    ul.global-navigation li, 
    ul.m-service-navigation li {
        border: none;
        padding: 0;
        width: 100%;
    }

    .m-menu {
        padding: 1em 0;
        background: #f7a600;
        width: auto;
        float: none;
    }

    .m-menu li:first-child {
        border: none;
    }

    ul.global-navigation li a,
    ul.m-service-navigation li a {
        color: #FFF;
        text-transform: uppercase;
        font-weight: bold;
        padding: 20px 0;    
        border-top: 1px solid #f8ba19;
    }

    ul.global-navigation li a:hover,
    ul.m-service-navigation li a:hover {
        color: #FFF;
    }

    .m-menu li.menu-icon,
    .m-menu li.search-icon {
        width: auto;
    }

    .m-menu li a.show-menu,
    .m-menu li a.show-search {
        line-height: 1;
        font-size: 1.2em;
    }

    .m-menu li a.show-menu {
        padding: 0;
        background-image: none !important;
    }

    .m-menu li a.show-menu:before {
        content:'\f0c9';
        font-family: FontAwesome;
        font-size: 28px;
        color: #FFF;
        margin-right: 10px;
    }

    .m-menu li a.show-search:before {
        content:'\f002';
        font-family: FontAwesome;
        font-size: 24px;
        color: #FFF;
        margin-right: 10px;
    }
    
    .featureblock .inner {
        padding: 0;
        background: transparent;
    }

    .featureblock .Teaser {
        width: 50%;
        float: left;
        padding: 0 10px;
    }
    
    .featureblock div:nth-child(odd) .Teaser,
    .featureblock .Teaser:nth-child(odd) {
        padding-left: 0;
    }

    .featureblock div:nth-child(even) .Teaser,
    .featureblock .Teaser:nth-child(even) {
        padding-right: 0;
    }

    .sort-wrapper a,
    .sort-wrapper a:link, 
    .sort-wrapper a:visited {
        margin-right: 12px;
    }

    .timelineblock .step a { 
        font-size: .8em;
    }

    .timelineblock .step .details {
        top: 82px;
    }

    .timelineblock .step .details::before {
        left: 144px;
    }
    
    .timelineblock .step:first-child .details::before {
        left: 26px;
    }

    .timelineblock .step:last-child .details::before {
        left: 256px;
    }
}

@media screen and (min-width: 768px) and (max-width: 979px) {

    ul.global-navigation li, 
    ul.m-service-navigation li {
        border: none;
    }

    .featureblock .Teaser:nth-child(1),
    .featureblock .Teaser:nth-child(2) {
        margin-top: 0;
    }

    .featureblock .Teaser:nth-child(3),
    .featureblock .Teaser:nth-child(4) {
        margin-top: 1em;
    }

    .kvmapblock img {
        height: 400px;
    }
	
    .project-listing .project {
        float: left;
        width: 50%;
        padding: 0 10px;
    }
    .project-listing .project:nth-child(odd) {
        padding-left: 0;
    }
    .project-listing .project:nth-child(even) {
        padding-right: 0;
    }
}


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

    .logo img {
        width: 60px;
    }

    .service-nav .sn-search {
        width: 82%;
    }

    .block:last-child {
        margin-bottom: 0;
    }

    .block.half {
        width: 100%;
        float: none;
    }

    .emblem img {
        width: 150px;
    } 

    ul.global-navigation li a,
    ul.m-service-navigation li a {
        padding: 20px 0;
    }

    .service-nav li.searchbox {
        margin: 0 auto;
    }

    .featureblock {
        margin-bottom: 0;
    }

    #app-wrapper {
        /*height: 400px;*/
    }
    
    .sort-wrapper {
        padding: 0;
        background: transparent;
    }

    .sort-wrapper .sort-order {
        margin-bottom: .5em;
    }

    .sort-wrapper .sort-order,
    .sort-wrapper .sort-status {
        width: 100%;
        background: #f2f4f6;
        padding: 1em 1em .5em 1em;
        overflow: hidden;
    }

    .sort-wrapper label {
        min-width: 70px;
        float: left;
        margin: 0;
    }

    .sort-wrapper .options {
        width: 70%;
        float: left;
    }

    .sort-wrapper a {
        margin-bottom: .5em;
    }

    .project-listing {
        margin-bottom: 0;
    }

    .project-listing .project {
        float: none;
        width: 100%;
        padding: 0;
    }

    .project-listing .project:last-child {
        margin-bottom: 0;
    } 

    #article-img img {
        height: 350px;
    }

    .preamble {
        padding-left: 10px;
        padding-right: 10px;
        text-align: left;
    }

    .timelineblock {
        padding-top: 0;
    }

    .timelineblock .timeline {
        min-height: 1px;
        margin: 0;
        padding-top: 20px;
    }

    .timelineblock .bar,
    .timelineblock .step,
    .timelineblock .step.is-active:before,
    .timelineblock .step.is-active .title {
        display: none;
    }

    .timelineblock .step.is-active {
        width: 100%;
        display: block;
    }

    .timelineblock .step.is-active .details {
        width: 100%;
        max-width: 570px;
        margin: 0 auto;
        position: static;
    }

    .timelineblock .step.is-active .details:before {
        left: 45%;
    }

    #galleria {
        height: auto !important;
    }

    .editorblock.orange h2 {
        font-size: 1.6em;
    }

    .newslistblock p {
        display: none;
    }
}

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

    h1 {
        font-size: 1.8em;
    }

    .logo {
        position: static;
        float: right;
        padding: 0;
        margin: 3em 0 0 0;
    }

    .featureblock .Teaser {
        width: 100%;
        height: 180px !important;
        float: none;
        padding: 0;
        margin-top: 1em !important;
    }

    .featureblock .Teaser:first-child {
        margin-top: 0 !important;
    }	

    .filter {
        margin-top: 1em;
    }

    .sort-wrapper {
        margin-top: 1em;
    }

    .sort-wrapper .sort-order {
        margin-bottom: 1em;
    }

    .multiple-categories {
        margin: 1em 0;
        border-top: 1px solid #dadada;
        padding: 1em 0;
    }

    .multiple-categories:before {
        top: 15px;
    }

    .project-listing {
        margin-top: 1em;
    }

    .preamble .top {
        display: block;
    }

    .preamble .top .kv-project-title, 
    .preamble .top .kv-project-status {
        float: none;
    }

    .preamble .kv-project-title {
        margin: 0 0 .5em 0;
    }

    .preamble .kv-status-banner {
        display: inline-block;
        padding: 1em 1.5em;
    }

    .newslistblock .newslistblock-row .inner {
        padding: 1em 0;
    }

    .newslistblock .newslist .image-container {
        width: 100%;
        float: none;
        margin-bottom: 1em;
        padding: 0;
    }

    .newslistblock .newslist .text-container {
        width: 100%;
        float: none;
    }

    .editorblock.orange {
        text-align: left;
    }
		.ol-zoom {
			bottom: 5.5em;
			top: auto;
		}
		#o-home-button {
			bottom: 3em;
			top: auto;
		}
		#o-geolocation-button {
			bottom: .5em;
			top: auto;
		}
}

@media print {
	.service-wrapper {border: none;}
	ul.service-nav {display: none;}
}