/*
Theme Name: Geodatengruppe Schwerin
Theme URI: https://www.geodatengruppe-schwerin.de
Author: Richard Stickel
Author URI: https://www.richardstickel.de
Version: 1.0
*/


html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	word-wrap: normal;
    position: relative;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
body {
    margin: 0;
    padding: 0;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    font-size: 19px;
    background-image: url('images/background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
}
body::before, body::after {
    content: "";
    width: 10px;
    height: 80%;
    position: fixed;
    left: 50px;
    border-left: 3px solid #0F6FC6;
    border-right: 2px solid #0F6FC6;
    top: 10%;
    transform: skewY(40deg);
}
body::after {
    left: auto;
    right: 50px;
}
img{
	width: 100%;
	display: block;
	margin: 0;
    height: auto;
    -ms-interpolation-mode: bicubic;
    image-rendering: optimizeQuality;
}
article img{
    width: auto;
    display: inherit;
}
.header-image{
    width: 100%;
}
svg {
    display: block;
}
.clear{
    clear: both;
}
article, p, h1, h2, h3, h4, a {
    color: #00006d;
}
h2 {
    margin: 80px 10px 40px;
}

article {
    margin: 0 auto;
    padding: 0 100px;
}
section {
    margin-top: 80px;
}

.leistungsgruppe{
    border: 2px solid #009DD9;
    padding: 10px 20px;
    margin-bottom: 20px;
    text-align: center;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#b8d4f0+28,7faedc+100 */
    background: #b8d4f0; /* Old browsers */
    background: -moz-linear-gradient(top, #b8d4f0 28%, #7faedc 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #b8d4f0 28%,#7faedc 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #b8d4f0 28%,#7faedc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b8d4f0', endColorstr='#7faedc',GradientType=0 ); /* IE6-9 */
}
.leistungsgruppe-name {
    font-weight: bold;
    font-style: italic;
    text-transform: uppercase;
    color: #00006d;
    display: block;
    margin-bottom: 20px;
    font-size: 24px;
    text-align: left;
}
.leistungsgruppe-seit {
    float: right;
    display: inline-block;
    font-style: italic;
    margin-left: 20px;
}
.leistung{
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#0095ce+0,0072a5+100 */
    background: #0095ce; /* Old browsers */
    background: -moz-linear-gradient(top,  #0095ce 0%, #0072a5 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #0095ce 0%,#0072a5 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #0095ce 0%,#0072a5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0095ce', endColorstr='#0072a5',GradientType=0 ); /* IE6-9 */
    color: #fff;
    border-radius: 12px;
    padding: 14px 23px 16px;
    font-weight: bold;
    font-style: italic;
    font-size: 16px;
    display: inline-block;
    margin: 0 10px 10px 0;
    width: calc(25% - 61px);
    text-align: center;
    vertical-align: middle;
    hyphens: auto;
    box-shadow: 2px 4px 6px rgba(0,0,0,0.25);
}
.leistung-mitbild {
    text-decoration: underline;
    cursor: pointer;
}
.leistung-mitbild:hover {
    opacity: 0.8;
}
.lightbox {
  height:100%;
  width:100%;
  position: fixed;
  z-index:11;
  display:none;
  top:0;
  background-color: rgba(0,0,0,0.8);
}
.close-btn {
  width:60px;
  height:80px;
  cursor:pointer;
  background-size:30px;
  background-position: 10px center;
  background-repeat: no-repeat;
  position: absolute;
  top:0;
  right:0;
  background-image:url("images/icon-big-close.svg");
}

#lightbox-image-inner {
    background-size: contain;
    width: 80%;
    height: calc(100% - 130px);
    margin: 0 10% 20px;
    margin-top: 0px;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    margin-top: 40px;
}
#lightbox-image figcaption {
    color: #fff;
    width: auto;
    text-align: center;
    padding: 0 20px;
    font-size: 17px;
}



@media (max-width: 1150px) {
    .leistung{
        width: calc(50% - 61px);
    }
    iframe {
        width: 100%;
    }
}

@media (max-width: 750px) {
    .leistung{
        width: calc(100% - 61px);
    }
    .leistungsgruppe-name {
        font-size: 20px;
        text-align: center;
    }
    .leistungsgruppe-seit {
        float: none;
        margin: 0 0 10px;
        font-size: 15px;
    }
}

@media (max-width: 600px) {
    body::before, body::after {
        display: none;
    }
    article {
        padding: 0 20px;
    }
    #lightbox-image-inner {
        height: calc(100% - 160px);
    }
    h2 {
        font-size: 24px;
    }
}

