/* .list,.scroll,.cell,.grid,.tile,.net,table,.group{} */

html,
body{
    max-width: 100vw;
    overflow-x: hidden;
}

body > main.description{
    white-space: pre-line;
}

body .scroll{
    display: flex;
    align-items: center;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}
body .scroll>a,body .scroll>button{
    white-space: nowrap;
    display: flex;
    align-items: center;
}
body .scroll > img ,
body .scroll > svg,
body .scroll > video,
body .scroll > a,
body .scroll > button,
body .scroll > div
{scroll-snap-align: start;}
body .scroll > a > img,
body .scroll > button > img{
    width: 40px;
    height: 40px;
    min-width:max-content;
    filter: invert(1);
}
body .scroll > a > svg,
body .scroll > button > svg{
    width: 40px;
    height: 40px;
}

.gallery.side-text {
    gap: 12px;
}

.scroll-block{
    display: flex;
    align-items: flex-start;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    gap: 12px;
}
.scroll-block > div{
    width: 90vw;
    scroll-snap-align: start;
}

main > h2{
    padding-top: 1em;
}

ol.advantage{
   list-style: none;
   margin-bottom: 16px;
   margin-top: 16px;
   margin-left: 8px;
   max-width: calc(100vw - 16px);
}
ol.advantage > li {
   display: flex;
   align-items: center;
   gap: 8px;
}
ol.advantage>li>svg, ol.advantage>li>svg, .advantage > li > img{
   width: 30px;
   height: 30px;
}
ol.advantage > li > span{
   font-weight: 600;
}



.gallery > img, .gallery > svg , .gallery > video{
    max-height: 650px;
    object-fit: contain;
}




.gallery-fullscreen{
    position: relative !important;
    z-index: 1;
    width: 100vw;
    height: 100vh;
    overflow-y: hidden;
}
.gallery-fullscreen > img,
.gallery-fullscreen > svg,
.gallery-fullscreen > video{
    display: block;
    min-height: 100vh;
    min-width: 100vw;
    object-fit: cover;
}
.gallery-fullscreen > div.card{
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    position: absolute !important;
    top: 0;
    left: 0;
    pointer-events: none;
}
.gallery-fullscreen > div.card > p{
    max-width: 350px;
    background: #ffffff74;
    width: 34ch;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 15px;
    padding-bottom: 18px;
    border-radius: 16px;
}
.gallery-fullscreen > div.card > p > b{
    font-size: 24px;
    line-height: 1.1;
}
.gallery-fullscreen > div.card > p{
    font-size: 17px;
}



.gallery-topscreen > img{
    height: 650px;
    max-height: 650px;
    width: 100vw;
    object-fit: cover;
}



.gallery-title-screen > img ,
.gallery-title-screen > svg ,
.gallery-title-screen > video {
    width: 100vw;
    height: calc(100vh - 2.5rem - 8rem);
    object-fit: cover;
}



.gallery-card{
    width: 100%;
}
.gallery-card > img,
.gallery-card > video,
.gallery-card > div,
.gallery-card > svg{
    aspect-ratio: 4/3;
    object-fit: cover;
}



.gallery-profile > img,
.gallery-profile > video,
.gallery-profile > div,
.gallery-profile > svg{
    aspect-ratio: 1/1;
}
.gallery-profile > video,
.gallery-profile > img{
    object-fit: cover;
}



.gallery-screen > img,
.gallery-screen > video{
    object-fit: cover;
}



.gallery-card ~ span,
.gallery-profile ~ span,
.gallery-topscreen ~ span,
.gallery-screen ~ span ,
.gallery ~ span{
    display: block;
    text-align: center;
    margin-bottom: 24px;
    margin-top: 8px;
}



.net {
    display: grid;
    grid-template-columns: repeat(auto-fill , minmax(280px, 2fr));
    width: 100%;
    place-self: center;
}
section.net > span,
section.net > h2{
    grid-column: 1 / -1;
}



section.slide{
    overflow: auto;
  -webkit-scroll-snap-type: y mandatory;
      -ms-scroll-snap-type: y mandatory;
          scroll-snap-type: y mandatory;
    max-height: 100vh;
}
section.slide > div{
    scroll-snap-align: start;
}



section.tile-postcard {
    max-width: 1024px;
}
.tile-postcard > .item{
    display: grid;
    grid-template-columns: minmax(auto , 450px) 1fr;
    grid-template-rows: 2rem 9rem 44px;
}
.tile-postcard > .item > .gallery-profile{
    grid-row: 1 / -1;
    grid-column: 1 / 2;
}
.tile-postcard > .item > h3 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    margin-left: 12px;
    font-size: 2rem;
}
.tile-postcard > .item > p {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

main > ul >li{
    font-size: 18px;
    font-weight:500;
    margin-bottom: 12px;
    margin-top: 8px;
}

.large-opposite-tile-postcard,
.large-tile-postcard{
}
.large-opposite-tile-postcard > .item,
.large-tile-postcard > .item{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 2rem max-content 54px 1fr;
    gap: 12px 24px;
}
.large-opposite-tile-postcard > .item > .gallery-screen,
.large-opposite-tile-postcard > .item > .gallery-profile,
.large-opposite-tile-postcard > .item > .gallery-card,
.large-tile-postcard > .item > .gallery-screen,
.large-tile-postcard > .item > .gallery-profile,
.large-tile-postcard > .item > .gallery-card{
    grid-column: 1 / 3;
    grid-row: 1 / -1;
}
.large-opposite-tile-postcard > .item > h3,
.large-tile-postcard > .item > h3 {
    grid-column: 3 / 5;
    grid-row: 1 / 2;
}
.large-opposite-tile-postcard > .item > p,
.large-tile-postcard > .item > p {
    grid-column: 3 / 5;
    grid-row: 2 / 3;
}
.large-opposite-tile-postcard > .item > div.action,
.large-tile-postcard > .item > div.action {
    grid-column: 3 / 5;
    grid-row: 3 / 4;
}

.tile-postcard > .item,
.large-tile-postcard > .item,
.large-opposite-tile-postcard > .item{
    margin-bottom: 12px;
}
.large-opposite-tile-postcard > .item:nth-child(2n) > .gallery-screen,
.large-opposite-tile-postcard > .item:nth-child(2n) > .gallery-profile,
.large-opposite-tile-postcard > .item:nth-child(2n) > .gallery-card{
    grid-column: 3 / 5;
    grid-row: 1 / -1;
}
.large-opposite-tile-postcard > .item > .gallery-screen > img,
.large-opposite-tile-postcard > .item > .gallery-profile > img,
.large-opposite-tile-postcard > .item > .gallery-card > img{
    max-height: 100vh;
}
.large-opposite-tile-postcard > .item:nth-child(2n) > h3{
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}
.large-opposite-tile-postcard > .item:nth-child(2n) > p{
    grid-column: 1 / 3;
    grid-row: 2 / 3;
}
.large-opposite-tile-postcard > .item:nth-child(2n) > div.action{
    grid-column: 1 / 3;
    grid-row: 3 / 4;
}


body .action {margin-left: 8px; width: calc(100% - 16px);}
body .action > a,body .action > button{min-height: 40px;gap: 4px; display: flex; align-items: center;}
body .action > a > img,
body .action > a > svg,
body .action > button > img,
body .action > button > svg{
    width: 34px;
}

body .action-accent{
    margin-left: 8px;
    max-width: calc(100vw - 16px);
}
body .action-accent > a {
    min-height: 35px;
    padding-left: 12px;
    padding-right: 12px;
    display: flex;
    align-items: center;
    width: max-content;
    padding-bottom: 1px;
    border-radius: 15px;
}
body .action-accent > a:first-of-type > span {
    color: #ffffff;
    font-weight: 700px;
}
body .action-accent > a:has(span + img){
    padding-right: 5px;
}
body .action-accent > a:has(img + span){
    padding-left: 5px;
}
body .action-accent > a:first-of-type{
    background: linear-gradient(315deg , #0033aa , #001177);
}

.contact > #map iframe{
    border: unset;
    width: 100%;
}



.list {
}
.list > a{
    width: 100%;
    margin-bottom: 12px;
}



.list-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-left: 8px;
    max-width: calc(100vw - 16px);
}
.list-wrap > a,
.list > a{
    padding-left: 12px;
    padding-right: 13px;
    min-height: 40px;
    padding-top: 8px;
    padding-bottom: 7px;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 4px;
    border-radius: 16px;
    background: #f0f0f0;
    font-style: normal;
    height: max-content;
}
.list > a:has(svg,img),
.list-wrap > a:has(svg,img){
 padding-right: 4px;
}
.list > a > img,
.list > a > svg,
.list-wrap > a > img,
.list-wrap > a > svg{
    min-width: 30px;
    height: 30px;
    aspect-ratio: 1 / 1;
}
.list-wrap > a > span,
.list > a > span,
.list-wrap > a > svg > path,
.list > a > svg > path {
    fill: #000000;
    color: #000000;
}



form.canonical > h3{
   margin-left: 8px;
}
form.canonical > div.group{
   margin-bottom: 8px;
   position: relative;
   display: flex;
   justify-content: space-between;
   width: max-content;
}
form.canonical > div.group > textarea,
form.canonical > div.group > input{
   font-size: 17px;
   width: 100%;
   background: #000000;
   color: #ffffff;
   min-height: 40px;
   border-radius: 12px;
   border: unset;
   padding-left: 10px;
   padding-top: 12px;
}
form.canonical > div.group > textarea{
   min-height: 250px;
   padding-top: 21px;
}
form.canonical > div.group > label{
   position: absolute;
   top: 2px;
   left: 24px;
   font-size: 13px;
   color: #ffffff;
   opacity: 0;
   z-index: 9;
}
form.canonical > div.group > input:focus::placeholder,
form.canonical > div.group > textarea:focus::placeholder{
  color: transparent;
}
form.canonical > div.group > textarea:focus~label,
form.canonical > div.group > input:focus~label{
   transition: 1s;
   opacity: 1;
}
form.canonical > div.group > input:focus{
   outline: 1px solid #ffaa00;
}



a > span {

}
a > img, a > svg{

}



.table-scroll{
   width: unset ;
   white-space: nowrap;
   max-width: 100vw;
   overflow-x: auto;
   display: flex;
   justify-content: space-around;
}
.table-scroll > table {
   margin-top: 12px;
   border-collapse: collapse;
}
.table-scroll > table > thead > tr > th {
   background: #000000;
   color: #ffffff;
}
.table-scroll > table > tbody > tr > td:first-of-type{
    max-width: 34vw;
}
.table-scroll > table > thead > tr > th,
.table-scroll > table > tbody > tr > td{
   height: 34px;
   padding-left: 12px; 
   padding-right: 12px;
   border-bottom: 1px solid #000000;
}
.table-scroll > table > tbody > tr > td > span{
   height:100%;
   display: flex;
   align-items: center;
   gap: 8px;
   padding-left: 12px;
   padding-right: 8px;
}
.table-scroll > table > tbody > tr > td > span > img {
   height: 80%;
}



.table-scroll-wrap{
   width: unset ;
   max-width: 100vw;
   overflow-x: auto;
   display: flex;
   justify-content: space-around;
}
.table-scroll-wrap > table {
   margin-top: 12px;
   border-collapse: collapse;
}
.table-scroll-wrap > table > thead > tr > th {
   background: #000000;
   color: #ffffff;
}
.table-scroll-wrap > table > thead > tr > th,
.table-scroll-wrap > table > tbody > tr > td{
   min-height: 34px;
   padding-left: 12px; 
   padding-right: 12px;
   border-bottom: 1px solid #000000;
}
.table-scroll-wrap > table > tbody > tr > td > span{
   height:100%;
   display: flex;
   align-items: center;
   gap: 8px;
   padding-left: 12px;
   padding-right: 8px;
}
.table-scroll-wrap > table > tbody > tr > td > span > img {
   height: 80%;
}



body ol.tag{
   display: flex;
   flex-wrap: wrap;
   list-style: none;
   padding-left: unset;
   margin: unset;
   gap: 4px;
   padding-left: 2px;
   margin-top: 24px;
   margin-bottom: 8px;
}
body ol.tag > li {
   font-size: 14px;
   background: #aaa;
   color: #ffffff;
   min-height: 24px;
   display: flex;
   align-items: center;
   padding-left: 12px;
   padding-right: 10px;
   font-weight: 500;
   border-radius: 16px;
}
body ol.tag > li > img{
   width: 24px;
   height: 24px;
}
body ol.tag > li.ban,body ol.tag > li.tabu{
   background: #e10;
}
body ol.tag > li.warn{
   color: #000000;
   background: #fa0;
}
body ol.tag > li.safe{
   background: #1a0;
}
body ol.tag > li.note{
   background: #01a;
}
body ol.tag > li > svg , body ol.tag > li > img {
   width: 20px; height: 20px;
   margin-left: 4px;
}
body ol.tag > li:has(img , svg){
   padding-right: 8px;
}
body ol.tag > li.warn > span , body ol.tag > li.warn > svg {
   fill: #000000;
   color: #000000;
}
body ol.tag > li.ban > span,body ol.tag > li.tabu > span,body ol.tag > li.safe > span,
body ol.tag > li.ban > svg,body ol.tag > li.tabu > svg,body ol.tag > li.safe > svg,
body ol.tag > li.note > span , body ol.tag > li.note > svg , body ol.tag > li > svg{
   fill: #ffffff;
   color: #ffffff;
}
body ol.tag > li.safe > img, body ol.tag > li.ban > img,body ol.tag > li.tabu > img{
   filter: invert(1);
}
body ol.tag > li.ban.icon > svg,body ol.tag > li.tabu.icon > svg{fill:#e10;}
body ol.tag > li.warn.icon > svg{fill:#fa0;}
body ol.tag > li.safe.icon > svg{fill:#1a0;;}
body ol.tag > li.note.icon > svg{
   fill: #23e;
}
body ol.tag > li.icon{
   background: unset;
   aspect-ratio: 1/1;
   padding-left: unset;
   padding-right: unset;
}



nav.breadcrumb{padding-left: 8px;padding-right: 8px;margin-bottom: 6px; font-size: 14px;}nav.breadcrumb, nav.breadcrumb>a{display: flex;align-items: center;}nav.breadcrumb>a{font-weight: 600;opacity: 0.5;}nav.breadcrumb>a>img,nav.breadcrumb>a>svg{width: 24px;height: 24px;}nav.breadcrumb>a:any-link{color: #000000;opacity: 1;}nav.breadcrumb>a:any-link:hover{opacity: 0.5;}nav.breadcrumb>a:any-link::after{content: ">";margin-right: 7px;margin-left: 5px;transform: translate(0,-1px);}
nav.breadcrumb{
    width: max-content;
    max-width: 100vw;
    overflow-x: hidden;
}
nav.breadcrumb > a > span{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
nav.breadcrumb > a > span{
    margin-left: 4px;
}


header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}



header > address {overflow-x: auto;scroll-snap-type: x mandatory;}
header > address > a {white-space: nowrap;scroll-snap-align: start;}
header > address {border-radius: 16px;display: flex;align-items:center;margin-bottom: 8px;margin-top: 7px;}
header > address > a {padding-left: 12px;padding-right: 13px;display: flex;align-items:center;width: max-content;gap: 8px;}
header > address > a:has(img,svg){padding-right: 4px;}
header > address > a > span{font-weight: 600;}
header > address>a>svg {min-width: 30px;min-height:30px}
header > address>a>svg>path{fill:#2030e0}



header.snap{
    z-index: 91;
    position: absolute;
    top: 0;
    left: 0;
}



.ceil > a, .ceil > button{
    background: #000000;
    color: #ffffff;
}
.ceil > a > svg > path, .ceil > button > svg > path{
    fill: #ffffff;
}



header.dropdown{display: flex;justify-content: space-between;flex-wrap: wrap;gap: 12px 0;}
header.dropdown nav > ul{position: relative;display: flex;align-items: center; }
header.dropdown nav > ul > li{display: flex;align-items: center;position: relative;}
header.dropdown nav ul li ul{display: none;padding-top: 12px !important;}
header.dropdown nav ul > li > ul > li > ul{padding-left: 12px !important;}
header.dropdown nav ul > li:hover>ul>li:hover>ul{top: -1px;left: 100%;}
header.dropdown nav ul > li:hover>ul{display: block;position: absolute;top: 100%;left: 0;}
header.dropdown a>img , header.dropdown a>svg{display: block;width: 30px;height: 30px;min-width: 30px; min-height: 30px;aspect-ratio: 1/1;margin-left: 8px;}
header.dropdown>nav a>img,header.dropdown>nav a>svg{filter: invert(1);width: 30px; }
ul > li > a:has(img , svg){padding-right: 8px;}
header.dropdown nav ul > li > a{
   width: 100%;
   display: flex;align-items: center;
   text-align: center;
   white-space: nowrap;
   height: 40px;
   padding-left: 15px;
   padding-right: 16px;
   font-weight: 600;
   text-decoration: unset;
   background: #000000;color: #ffffff;
}
header.dropdown nav ul > li > a:has(img , svg){
   padding-right: 8px;
}
header.dropdown nav ul {list-style: none;}



main.grid{
   display: grid;
   grid-template-columns: repeat(auto-fill,minmax(200px , 2fr));
}
main.grid > img , main.grid > video , main.grid > svg {
   object-fit: contain;
   width: 100%;
   height: 100%;
}
main.grid > img {
    aspect-ratio: 1/1; 
    object-fit: contain;
}


    .tile-grid{
        display: grid;
        grid-template-columns: repeat(auto-fill,minmax(200px,2fr));
        gap: 8px;
    }
    
    .tile-grid > div > h3{
        font-size: 18px;
        line-height: 1.1;
        margin-top: 8px;
    }

    section > .grid-tile{
        display: grid;
        grid-template-columns: repeat(3 , 1fr);
    }
    section > .grid-tile > div,
    section > .grid-tile > div > img{
        aspect-ratio: 1/1;
        width: 100%;
        
    }
    section > .grid-tile > div > img{
        object-fit: cover;
    }

    section#portfolio > h2{
        font-size: 34px;
        padding-top: 1rem;
        padding-bottom: 1.2rem;
    }

    .table-scroll-wrap > table > tbody > tr > td{
        text-transform: capitalize;
    }

    #service.service.net > div > .gallery-card > img{
        height: unset;
        aspect-ratio: 1 / 1;
        min-width: unset;
    }

    #mobile-menu {
        display: none;
    }

@media screen and (max-width:650px){ 
   header{display:flex;flex-direction: column;align-items: center;margin-top: 4px;gap: 8px;margin-bottom: 13px;}
   header > address{display: flex;align-items: center;flex-direction: row;max-width: calc(100vw - 24px);margin-left:12px;overflow-x: auto;white-space: nowrap;scroll-snap-type: x mandatory;color: #001177;}
   header > address > a{scroll-snap-align: start; color: inherit;}header > address > a svg path{
    fill: #001177;
   }
   nav>ul>li:last-of-type{margin-right: 12px;}
   ul>li>a{border-radius: 16px;}
   nav>ul{gap: 8px;overflow-x:auto;scroll-snap-type:x mandatory; scroll-padding-left: 12px;scroll-padding-right: 50px;}
   header>nav{margin-left: 12px;width: calc(100vw - 12px);}nav>ul>li{scroll-snap-align: start;}

   .button-mobile.active > svg:nth-child(1) > path:nth-child(1) {
        transform: rotate(45deg) translate(10%, -44%);
   }
   .button-mobile.active > svg:nth-child(1) > path:nth-child(2) {
        transform: rotate(-45deg) translate(-45%, 5%);
   }
   .button-mobile.active > svg:nth-child(1) > path:nth-child(3) {
        opacity: 0; 
    }

    #mobile-menu {
        position: fixed;
        left: 0;
        right: 0;
        transform: translateX(-100%);
        transition: 1s;
    }

    #mobile-menu.active{
        display: flex;
        width: 80vw;
        height: 100vh;
        overflow: hidden;
        background: #ffffff;
        z-index: 91;
        position: fixed;
        top: 0;
        left: 0;
        transform: translateX(0%);
        transition: 0.4s;
        font-size: 18px;
        border-right: 1px solid #000000;
    }
    #mobile-menu.active > ul{
        margin-top: 56px;
        margin-left: 8px;
    }
    #mobile-menu.active > ul li > a:any-link{
        color: #000;
        min-height: 30px;
        display: flex;
        align-items: center;
        width: max-content;
    }
    #mobile-menu.active > ul li > a > span{
        font-weight: 500;
    }
    #mobile-menu.active > ul{
        width: 100%;
    }
    #mobile-menu.active > ul li{
        position: relative;
        width: 100%;
        transition: 0.7s;
    }
    #mobile-menu.active > ul li:has(ul)::after{
        content: "↷";
        position: absolute;
        display: flex;
        align-items: center;
        top: 0;
        right: 0;
        font-weight: 700;
        font-size: 24px;
        min-height: 40px;
        min-width: 40px;
        transition: 0.7s;
    }
    #mobile-menu.active > ul li>ul{
        display: none;
    }
    #mobile-menu.active > ul li.active > ul > li::marker{
        content: "▸   ";
        font-size: 14px;
    }
    #mobile-menu.active > ul li.active>ul{
        display: block;
        margin-left: 40px;
    }
    #mobile-menu.active > ul li.active:has(ul)::after{
        transform: rotate(180deg) translateX(50%);
        transition: 0.7s;
    }
    #mobile-menu.active > img{
        position: absolute;
        filter: invert(1);
        height: 40px;
        left: 8px;
        top: 8px;
    }
    #mobile-menu.active > button{
        top: 8px;
        right: 9px;
        position: absolute;
        min-width: 40px;
        min-height: 40px;
        border-radius: 50%;
        border:1px solid #ffffff;
    }

   a.active > svg > path{
    transition: 1s;
   }
   a.button-mobile{
    color: #444444;
   }
   
   .button-mobile {
    min-width: 40px;
    min-height: 40px;
   }

    section > .grid-tile{
        gap: 0px 4px;
    }

   .tile-grid > div > .gallery.scroll{
        display: flex;
        width: 100%;
        aspect-ratio: 1/1;
    }
    .tile-grid > div > .gallery.scroll > img{
        min-width: 100%;
    }
    .tile-grid > div > img,
    .tile-grid > div > .gallery.scroll > img{
        object-fit: cover;
        aspect-ratio: 1 / 1;
        width: 100%;
    }

   .bottom-bar{
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        background: #ffffff74;
        backdrop-filter: blur(3px);
        border-top: 1px solid #f0f0f0;
        height: 60px;
        padding-bottom: 4px;
        padding-top: 8px;
        z-index: 1;
        width: 100%;
        max-width: 100vw;
        margin-left: unset;
        margin-right: unset;
    }
    .bottom-bar > a > span{
        font-size: 14px;
        color: #000000;
        font-weight: 600;
    }
    .bottom-bar > a {
        background: transparent !important;
        flex-direction: column-reverse;
    }
    .bottom-bar > a > img{
        width: 30px;
        height: 30px;
        filter: invert(0) !important;
    }
    .bottom-bar > a > svg{
        width: 30px;
        height: 30px;
    }


    
    .scroll-block > div{
        min-width: 90vw;
    }

    
    
    .scroll-block > .block{
        width: 90vw;
    }



    .tile-postcard > .item {
        display: block;
    }



    .large-tile-postcard > .item{
        display: block;
    }
    
    
    
    .large-opposite-tile-postcard > .item{
        display: block;
    }



    .large-net{
        grid-template-columns: unset;
    }



    form.canonical > div.group > textarea,
    form.canonical > div.group > input{
        width: calc(100vw - 16px);
        margin-left: 8px;
    }


    
    .list > a{
        margin-left: 8px;
        width: calc(100vw - 32px);
    }

    .gallery-desktop-fullscreen{
        position: relative !important;
        z-index: 1;
        width: 100vw;
        height: 60vh;
        overflow-y: hidden;
    }
    .gallery-desktop-fullscreen > img,
    .gallery-desktop-fullscreen > svg,
    .gallery-desktop-fullscreen > video{
        display: block;
        min-height: 100%;
        min-width: 100vw;
        object-fit: cover;
    }
    .gallery-desktop-fullscreen > div.card{
        width: 100vw;
        height: 100vh;
        display: flex;
        align-items: center;
        position: absolute !important;
        top: 0;
        left: 0;
        pointer-events: none;
    }
    .gallery-desktop-fullscreen > div.card > p{
        max-width: 350px;
        background: #ffffff74;
        width: 34ch;
        margin-left: auto;
        margin-right: auto;
        padding-left: 24px;
        padding-right: 24px;
        padding-top: 15px;
        padding-bottom: 18px;
        border-radius: 16px;
    }
    .gallery-desktop-fullscreen > div.card > p > b{
        font-size: 24px;
        line-height: 1.1;
    }
    .gallery-desktop-fullscreen > div.card > p{
        font-size: 17px;
    }

    .gallery-screen > img,
    .gallery-screen > svg,
    .gallery-screen > video,
    .gallery-screen > div{
        aspect-ratio: 9 / 16;
    }

    body .action-accent.new{
        margin-left: unset;
        max-width: unset;
    }
    body .action-accent.new > a{
        border-radius: unset;
        border-bottom-right-radius: 16px;
        border-top-right-radius: 8px;
        box-shadow: 0 0 0 2px #FFFFFF;
    }
    body .action-accent > a:first-of-type{
        transform: translateY(-16px);
    }
    header nav.bottom-bar a.active{
        opacity: 0.5;
    }

}
@media screen and (min-width:651px){
    header{padding-top: 8px;padding-bottom: 7px;padding-left: 12px;padding-right: 13px;max-width: calc(100vw - 25px);}

    #service div.item > div{
        max-width: 600px;
    }

    header nav.bottom-bar a.active{
        display: none;
    }

    .buttom.-desktop{
        display: none;
    }
    .gallery-desktop-fullscreen{
        position: relative !important;
        z-index: 1;
        width: 100vw;
        height: 100vh;
        overflow-y: hidden;
    }
    .gallery-desktop-fullscreen > img,
    .gallery-desktop-fullscreen > svg,
    .gallery-desktop-fullscreen > video{
        display: block;
        min-height: 100%;
        min-width: 100vw;
        object-fit: cover;
    }
    .gallery-desktop-fullscreen > div.card{
        width: 100vw;
        height: 100vh;
        display: flex;
        align-items: center;
        position: absolute !important;
        top: 0;
        left: 0;
        pointer-events: none;
    }
    .gallery-desktop-fullscreen > div.card > p{
        max-width: 350px;
        background: #ffffff74;
        width: 34ch;
        margin-left: auto;
        margin-right: auto;
        padding-left: 24px;
        padding-right: 24px;
        padding-top: 15px;
        padding-bottom: 18px;
        border-radius: 16px;
    }
    .gallery-desktop-fullscreen > div.card > p > b{
        font-size: 24px;
        line-height: 1.1;
    }
    .gallery-desktop-fullscreen > div.card > p{
        font-size: 17px;
    }

    section > .grid-tile > div,
    section > .grid-tile > div > img{
        border-radius: 4px;
    }
    section > .grid-tile{
        gap: 12px;
    }

    section > .grid-side > div > img{
        max-height: 350px;
    }

    section > .grid-side > div {
        display: flex;
    }
    section > .grid-side > div > div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex-wrap: wrap;
    }
    section > .grid-side > div > div > h2,
    section > .grid-side > div > div > h3,
    section > .grid-side > div > div > h4,
    section > .grid-side > div > div > p{
        width: 100%;
    }

    .gallery.side-text > img{
        border-radius: 16px;
    }

    body > main > h2 > a:any-link{
        display: flex;
        align-items: center;
        min-height: 50px;
        color: inherit;
        text-decoration: underline;
    }
    
    .gallery.side-text.thin {
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
    }

    .tile-grid{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(350px,2fr));
    }

    .tile-grid > div > .gallery.scroll{
        display: flex;
        width: 100%;
        aspect-ratio: 4/3;
    }
    .tile-grid > div > .gallery.scroll > img{
        min-width: 100%;
    }
    .tile-grid > div > img,
    .tile-grid > div > .gallery.scroll > img{
        object-fit: cover;
        aspect-ratio: 4 / 3;
        width: 100%;
        border-radius: 12px;
    }
    
    header > nav.bottom-bar{
        margin-top: 8px;
    }
    header > nav.bottom-bar > a.button-mobile{
        display: none;
    }

    
    header > address{font-size: 20px;}header>nav{margin: 0 auto;}
    
    ul>li>ul>li>a,
    ul>li>ul>li>ul>li>a{border-bottom: 1px solid #dfdfdf;border-left: 1px solid #dfdfdf;border-right: 1px solid #dfdfdf;}
    nav>ul>li:first-of-type>a{border-top-left-radius: 16px;border-bottom-left-radius: 16px;padding-left: 24px;}
    nav>ul>li:last-of-type>a{border-top-right-radius: 16px;border-bottom-right-radius: 16px;padding-right: 24px;}
    ul>li>ul>li:first-of-type>a,
    ul>li>ul>li>ul>li:first-of-type>a{border-top-left-radius: 16px;border-top-right-radius: 16px;border-top: 1px solid #dfdfdf;}
    ul>li>ul>li:last-of-type>a,
    ul>li>ul>li>ul>li:last-of-type>a{border-bottom-left-radius: 16px;border-bottom-right-radius: 16px}



    .scroll-block > div{
        min-width: 250px;
        width: 300px;
    }
    .tile-postcard > .item > h3 {
        margin-top: unset;
        margin-bottom: unset;
    }



    .block{
        min-width: 250px;
    }



    form.canonical > div.group > textarea,
    form.canonical > div.group > input{
        width: 45ch
    }


    main.list > a{
        margin: 0 auto 12px auto;
    }
    .list > a{
        width: 350px;
    }



    .gallery-screen > img,
    .gallery-screen > svg,
    .gallery-screen > video,
    .gallery-screen > div{
        aspect-ratio: 16/9;
    }

    img.small{
        height: 350px;
        width: 622px !important;
        aspect-ratio: 16 / 9;
        border-radius: 16px;
        margin-top: 2em;
        margin-bottom: 0.7em;
    } 

    .gallery-profile,
    .gallery-card{
        max-height: 450px;
        overflow-y: hidden;
        border-radius: 16px;
        margin-bottom: 1em;
        margin-top: 1.8em;
    }
    .gallery-profile > img,
    .gallery-card > img{
        border-radius: 16px;
        object-fit: cover;
        min-width: unset;
        min-width: calc(450px / 9 * 16);
        aspect-ratio: 16 / 9;
        height: 450px;
    }
}

@media screen and (min-width : 1281px) {
    .gallery.side-text {
        display: flex;
    }
    .gallery.side-text.thin {
        max-width: 1280px;
        margin-left: auto;
        margin-right: auto;
    }
}