/*
Theme Name: Dmig Original
Theme URI: //www.designmadeingermany.de
Description: Design made in Germany
Author: Martin Rack
Version: 1
Tags: -
*/







.galerie a:hover .imageborder {
box-shadow: 1px 1px 0 var(--highlight);
}


.galerie a:hover .image::before {
box-shadow: inset 1px 1px 0 var(--highlight), 1px 1px 0 var(--highlight);
background: var(--bgr2);
}


.galerie .thumbtitel {
padding: 10px 18px; color: var(--text); border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; background: var(--bgr1); border-top: solid 1px var(--border); box-shadow: inset 1px 1px 0 var(--highlight);
}

.galerie .thumbtitel b {
display: block;
font-size: 20px;
font-weight: normal;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.galerie a:hover .thumbtitel {
background: var(--bgr2);
color: var(--text);
}

.galerie a:hover .imagebackground {
filter: brightness(0.95);
}

.galerie a:active .thumbtitel {
background: var(--bgr3);
box-shadow: inset 2px 2px 0 var(--shadow);
}

.galerie {
display: block;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
column-gap: 24px;
row-gap: 12px;
margin-bottom: 12px;
}

.filter {
display: block;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
margin-bottom: 0;
}

.image {  margin-bottom: 24px; }

.textpaper a.nodeco { text-decoration: none; color: inherit; top: auto;
    line-height: inherit;
    display: inline;
    overflow: auto;
    text-wrap: initial;
    max-width: auto; }


@media all and (min-width: 421px) {

.image {  margin-bottom: 0; }

.galeriehide { display: none; }

.galerie {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
column-gap: 24px;
row-gap: 12px;
}

.galerie .image {
margin-bottom: 12px;
}

.filter {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.filter .button { margin-bottom: 24px; }

}

@media all and (min-width: 851px) {


.galeriehide { display: block; }

.galerie {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
column-gap: 24px;
row-gap: 12px;

}

.filter {
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
}

}

@media all and (max-width: 555px) {
.filter .button {
margin-bottom: 12px;
}
}

.textpaper {
background-color: #fff;
margin-top: -1px;
position: relative;
padding-bottom: 100px;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
text-shadow: none;
font-family: 'Text', Sans-Serif;
letter-spacing: 0;
color: #222;
cursor: auto;
box-shadow: 0 -1px 0 rgb(0 0 0 / 6%), 2px 2px 0 var(--shadow);
}

.textpaper * {
user-select: text;
}

.designerprofil * {
user-select: none;
}



.textpaper *::selection {
background: rgb(148 148 148 / 27%);
}

.dark .textpaper {
color: #bbb;
}

.textpaper a {
text-decoration: underline;
color: rgb(0 107 255);
}

.textpaper a:hover {
color: #222;
}

.textpaper p a {
color: #111;
    display: inline-block;
    border-bottom: solid 1.5px;
    line-height: 0.9;
    text-decoration: none;
    text-wrap: nowrap;
    overflow: visible;
    text-overflow: ellipsis;
    max-width: 100%;
}

.textpaper p b a {
    border-bottom: solid 2.5px;
}

.textpaper p a:has(> img) {
border: none;
}


.textpaper h2 a {
    font-weight: bold;
    display: inline-block;
    border-bottom: solid 4px;
    line-height: 0.9;
    text-decoration: none;
    text-wrap: nowrap;
    overflow: inherit;
    text-overflow: ellipsis;
    max-width: 100%;
    position: relative;
    top: 5px;
}


.textpaper h3 a {
    font-weight: bold;
    display: inline-block;
    border-bottom: solid 3px;
    line-height: 0.85;
    text-decoration: none;
    text-wrap: nowrap;
    overflow: inherit;
    text-overflow: ellipsis;
    max-width: 100%;
    position: relative;
}



.textpaper p a.nodeco {
border: none;
font-weight: normal;
}

.textpaper p a:hover {
color: rgb(0 107 255);

}

.dark .textpaper p a:hover {
color: #fff;
}

.dark .textpaper a {
color: #fff;
}

.dark .textpaper a:hover {
opacity: 0.65;
}

.textpaper p {
text-align: left;
cursor: default;
letter-spacing: 0;
padding: 0 100px;
padding-top: 2em;
margin: 0 auto;
overflow: hidden;
cursor: auto;
}


.textpaper.closed p, .textpaper.closed ul, .textpaper.closed h3, .textpaper.closed h4 {
display: none;
}

.textpaper.closed p:nth-of-type(1) {
display: block;
pointer-events: none;
}

.textpaper p b, .textpaper p strong {
font-size: 19px;
}

.dark .textpaper p b, .dark .textpaper p strong {
color: #eee;
}

.textpaper img {
margin: 0.6em 0;
opacity: 1;
border-radius: 5px;
width: 100%;
height: auto;
}


.textpaper h1, .textpaper h2, .textpaper h3 {
padding: 0 100px;
color: #222;
}

.dark .textpaper h1, .dark .textpaper h2, .dark .textpaper h3 {
color: #fff;
}

.textpaper h1 {
margin-bottom: 48px;
font-weight: bold;
letter-spacing: -0.01em;
font-size: 50px;
line-height: 1.1;
padding: 0px 100px;
font-weight: bold;
margin-left: -2px;
text-align: left;
}


@media all and (min-width: 1120px) {

.textpaperxx p {
text-align: justify;
}

.textpaperxx h1 {
    text-align: center;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}

}




.textpaper h2 {
font-weight: bold;
padding-top: 1.3em;
font-size: 30px;
line-height: 1.2;
text-align: left;
}

.textpaper h3 {
font-size: 24px;
line-height: 1.3;
text-align: left;
font-weight: bold;
padding-top: 2em;
}



.textpaper.closed .weiterlesenbutton {
display: inline-block;
}

.weiterlesenbutton span {
background: #222;
border-radius: 5px;
padding: 10px 15px;
color: #fff;
}

.dark .weiterlesenbutton span {
background: #eee;
color: #262728;
-webkit-font-smoothing: auto;
}



.textpaper ol, .textpaper ul, .textpaper li {
margin: 0;
padding: 0;
text-align: left;
}

.textpaper ul, .textpaper ol {
letter-spacing: 0;
padding: 0 100px;
padding-top: 2em;
margin: 0 auto;
overflow: hidden;
cursor: auto;
}

.textpaper ol {
list-style: decimal-leading-zero;
}

.textpaper ul li {
margin-left: 18px;
padding-left: 10px;
margin-bottom: 0.5em;
}

.textpaper ol li {
margin-left: 25px;
padding-left: 15px;
margin-bottom: 0.5em;
}

.textpaper ol li:before {
text-align: left;
}

.imageborder {
background-color: #fff;
}

.sub {
padding: 100px;
padding-bottom: 24px;
font-weight: bold;
font-size: 19px;
text-align: left;
}

.dark .textpaper .sub {
color: #eee;
}

.designerprofil {
    overflow: hidden;
    text-align: left;
    padding: 90px 100px;
    padding-top: 80px;
    background: #222;
    color: #fff;
    margin-top: 100px;
    margin-bottom: -101px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
font-size: 19px;
font-family: title, text, sans-serif;
letter-spacing: 0.04em;
}

.designerprofil strong {
font-weight: normal;
font-size: 12px;
opacity: 0.4;
}

.profilbasics, .profilkontakt, .profillinks {
float: left;
width: 66.6%;
}

.profilbasics {
width: 33.3%;
}

.profilname {
margin-bottom: 0.5em;
}

.profillinks {
margin-top: 0.5em;
}

.designerprofil a { text-decoration: none; color: #fff; opacity: 0.4; }
.designerprofil:hover a { text-decoration: none; color: #fff; border-bottom: solid 1px; opacity: 1; }
.designerprofil:hover a:hover { opacity: 0.4; }

.designerprofil .singlename a { opacity: 1; font-size: 24px; }


@media all and (max-width: 300px) {


.profilname, .profillinks {
margin: 0;
}

.profilbasics, .profilkontakt, .profillinks, .profilmail, .profilort, .profilname, .profiltelefon, .profilwebsite, .profilsocial {
width: 100% !important;
padding: 0 !important;
margin-top: 0.3em;
}

.profilwebsite {
margin-top: 0;
}

}


@media all and (max-width: 400px) {

.profilname, .profillinks {
margin: 0;
}

.profilbasics, .profilkontakt, .profillinks, .profilmail, .profilort, .profilname, .profiltelefon {
width: 100% !important;
padding: 0 !important;
margin-top: 0.3em;
}

.profilname {
margin: 0;
}

}


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

.designerprofil a {
opacity: 1;
}

.profilmail, .profilort, .profilsocial {
padding-left: 9px;
}
.profilname, .profiltelefon, .profilwebsite {
padding-right: 9px;
}


.profilbasics, .profilkontakt, .profillinks {
float: left;
width: 100%;
}

.profilbasics {
width: 100%;
}

.profilname, .profilort {
width: 50%; float: left;
}

}


@media all and (min-width: 800px) and (max-width: 888px) {

.profilbasics, .profilkontakt, .profillinks {
float: left;
width: 100%;
}

.profilbasics {
width: 100%;
}

.profilname, .profilort {
width: 50%; float: left;
}

}


@media all and (min-width: 700px) and (max-width: 750px) {

.profilbasics, .profilkontakt, .profillinks {
float: left;
width: 100%;
}

.profilbasics {
width: 100%;
}

.profilname, .profilort {
width: 50%; float: left;
}

}


@media all and (max-width: 699px) {

.textpaper {
padding-bottom: 24px;
}

.textpaper ul, .textpaper ol {
padding: 0 24px;
padding-top: 2em;
}

.textpaper p {
padding: 0 24px;
padding-top: 1em;
}
.textpaper h1 {
padding: 0 24px;
padding-top: 18px;
font-size: 38px;
margin-bottom: 48px;
margin-left: -1px;
}

.textpaper h2 {
padding: 0 24px;
padding-top: 1em;
font-size: 25px;
font-weight: bold;
}

.textpaper h3 {
padding: 0 24px;
padding-top: 1em;
font-size: 22px;
font-weight: bold;
}

.textpaper .sub {
padding: 24px 24px;
padding-bottom: 0;
}


.designerprofil {
padding: 24px 24px;
padding-top: 12px;
background: #222;
color: #fff;
margin-top: 24px;
margin-bottom: -25px;
}

}


@media all and (max-width: 499px) {

.textpaper {
padding-bottom: 24px;
}

.textpaper p {
font-size: 16px;
}

.textpaper p b, .textpaper p strong {
font-size: 17px;
}

.textpaper h1 {
padding-top: 24px;
font-size: 28px;
text-align: left;
margin-bottom: 24px;
}

.textpaper h2 {
font-size: 19px;
text-align: left;
padding-bottom: 8px;
}

.textpaper h3 {
font-size: 19px;
line-height: 1.38;
text-align: left;
font-weight: bold;
padding-top: 1em;
}

.textpaper h3 b {
font-size: 19px;
line-height: 1.3;
}


.textpaper.closed .weiterlesenbutton {
display: block;
margin: 10px 24px;
margin-top: 28px;
text-align: left;
}

}




#filter {
float: none; width: 100%; padding: 0; display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
gap: 0 24px;
grid-auto-flow: row;
grid-template-areas:
'zweicols zweicols .'
'. . .'
'. . .';
}


.hiddenfilter {display:none;}
.show .hiddenfilter {display:block;}


@media all and (max-width: 555px) {
#filter {
grid-template-columns: minmax(0, 1fr);
}
}


@media all and (max-width: 555px) {
#filter { display: block; }
}







.xxx {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url(https://www.designmadeingermany.de/ddig/files/loading.svg?1);
background-position: center;
background-repeat: no-repeat;
background-size: 90px;
filter: drop-shadow(1px 1px 0px var(--highlight));
}






