
.oek-map{position:relative;max-width:575px}.oek-map img{width:100%;height:auto}.oek-point{position:absolute;background:#9c1430;border:2px solid white;border-radius:50%;width:16px;height:16px;transform:translate(-50%,-50%)}.oek-gallery{display:flex;gap:8px;overflow-x:auto}.oek-gallery img{max-height:170px;width:auto}.oek-papers{columns:18rem}details{padding:.5em;margin:.4em 0;border:1px solid #ddd}summary{cursor:pointer}
.contacts #glav .text .batton{padding:0 .35rem;background:#903;color:#fff}.contacts #glav .img div{background:#fff url('/images/info/img_glav.png') no-repeat left top;width:324px;max-width:100%;height:217px}.contacts #glav:has(#petrograt:hover,#petrograt:focus) .img div{background-position:left center}.contacts #glav:has(#viborg:hover,#viborg:focus) .img div{background-position:left bottom}
:root{--wine:#9c1430;--link-color:var(--wine);--link-hover-color:#690e22;--body-color:#494949;--body-bg:#f0f0f0}
html{background:#f0f0f0}
body.site{width:min(940px,100%);min-height:100vh;margin:0 auto;background:linear-gradient(#f0f0f0,#fff 50%,#f0f0f0);color:#494949;font:11px/15px Tahoma,Arial,Helvetica,sans-serif}
body.site a{color:var(--wine)}
body.site :focus-visible{outline:2px solid #9c1430;outline-offset:2px}
.container-header,.container-footer{background:none;box-shadow:none;color:inherit;z-index:auto}
.container-header .grid-child,.container-footer .grid-child{max-width:none;padding:0}
.container-header .container-topbar{padding:0;background:#f0f0f0;color:inherit}
.oek-brand{display:flex;align-items:flex-end;width:calc(100% - 10px);height:auto;aspect-ratio:930/65;justify-content:space-between}
.oek-brand>a{display:block;width:86.02%}
.oek-brand img{width:100%;height:auto;display:block}
.oek-lang{white-space:nowrap;align-self:flex-end;margin:0 15px 4px 0;font:12px/1 Tahoma,Arial,sans-serif}
.oek-lang a{text-decoration:none}.oek-lang a:hover{text-decoration:underline}
.container-header .container-below-top{display:block;width:calc(100% - 29px);margin:0 0 15px 16px}
.container-below-top .mod-custom{width:100%}
.container-header .container-nav{display:block;margin:0 20px 20px 10px;padding:0;width:auto;min-height:0;border-bottom:1px dotted #777}
.container-header .mod-menu,.main-top .mod-menu{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-around;align-items:center;gap:0;list-style:none;margin:0;padding:0}
.container-header .mod-menu>li{margin:0 16px;padding:0}
.container-header .mod-menu>li>a,.main-top .mod-menu>li>a{display:block;padding:4px 7px;margin:0;font:13px/15px Tahoma,Verdana,Arial,sans-serif;text-decoration:none;color:#555;text-transform:uppercase;white-space:normal;box-shadow:none}
.container-header .mod-menu>li>a:hover,.container-header .mod-menu>li.active>a,.main-top .mod-menu a:hover{color:var(--wine);text-decoration:underline}
.container-header .mod-menu>li>a::after{display:none}
.site-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"left" "article" "right" "bottom" "after";align-items:start;gap:0;margin:0 20px 0 10px}
.has-sidebar-right .site-grid{grid-template-columns:minmax(0,67fr) minmax(0,33fr);grid-template-areas:"article right" "bottom bottom" "after after"}
.has-sidebar-left .site-grid{grid-template-columns:minmax(0,28fr) minmax(0,72fr);grid-template-areas:"left article" "bottom bottom" "after after"}
.has-sidebar-left.has-sidebar-right .site-grid{grid-template-columns:minmax(0,26fr) minmax(0,45fr) minmax(0,29fr);grid-template-areas:"left article right" "bottom bottom bottom" "after after after"}
.site-grid>.grid-child{width:100%;max-width:100%;min-width:0;display:block;margin:0;padding:0}
body.site .site-grid>.container-component{grid-area:article}
.site-grid>.container-sidebar-left{grid-area:left}
.site-grid>.container-sidebar-right{grid-area:right}
.site-grid>.container-bottom-a{grid-area:bottom}
.site-grid>.container-bottom-b{grid-area:after}
.site-grid main{padding:14px 24px 0;margin:0}
.has-sidebar-right:not(.has-sidebar-left) main{padding-right:34px}
.has-sidebar-left main{padding-left:34px}
.site-grid .container-sidebar-right>.card:first-child,.site-grid .container-sidebar-left>.card:first-child{margin-top:0}
body.site .container-header .oek-lang a{color:var(--wine)}
.oek-lang{width:115px;margin-right:0}
.site-grid .oek-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,165px),1fr));gap:12px 6px;padding:6px;overflow:visible}
.site-grid .oek-gallery img{width:min(100%,174px);height:auto;aspect-ratio:170/230;max-height:none;object-fit:contain;border:2px solid #ddd;background:#fff}
.site-grid .oek-gallery a:hover img{border-color:var(--wine)}
.container-sidebar-left ul.mod-articles li{border-bottom:1px dotted #aaa;margin:0;padding:4px;text-align:justify}.container-sidebar-left ul.mod-articles a{color:#555;text-decoration:none}
.site-grid .pagenavigation{margin-top:12px}
.site-grid .card,.site-grid .card-body,.site-grid .card-header{background:none;border:0;border-radius:0;color:inherit;margin:0;box-shadow:none;padding:0;min-width:0}
.site-grid h1,.site-grid h2,.site-grid h3,.site-grid h4{font-family:Tahoma,Verdana,Arial,sans-serif;color:#5a5a5a}
.site-grid h1,.com-content-article>.page-header h2{font-size:20px;font-weight:400;line-height:24px;margin:0 0 27px}
.com-content-article>.page-header:has(h1)+.page-header,.com-content-article .article-info{display:none}
.site-grid h2{font-size:18px}.site-grid h3{font-size:16px}.site-grid h4{font-size:14px}
.site-grid p{margin:0 0 5px}
.site-grid .com-content-article__body{text-align:justify}
.site-grid img{max-width:100%;height:auto}
.site-grid .card-header{font:normal 16.5px/21px Tahoma,Arial,sans-serif;color:#474747;margin:0}
.mod-articles-items,.mod-articles{list-style:none;margin:0;padding:0}
.container-sidebar-right .mod-articles-items li{padding:3px 3px 6px;margin:0 0 5px;border-bottom:1px dotted #bbb}
.mod-articles-item-content{display:flex;flex-direction:column}
.mod-articles-item-content dl{order:-1;font-size:10px;color:#777;margin:0}
.mod-articles-item-content dd{margin:0}
.mod-articles-date .icon-calendar,.mod-articles-date .icon-calendar-alt{display:none}
.mod-articles-title{font:400 11px/15px Tahoma,Arial,sans-serif!important;margin:0}
.mod-articles-link{text-decoration:none}.mod-articles-link:hover{text-decoration:underline}
.container-sidebar-right .mod-custom{margin-top:10px}
.container-sidebar-left .card+.card{margin-top:14px}
.main-top.card{background:#e5e5e5;border-bottom:1px dotted #777;margin:6px 0 3px 10px;padding:2px 4px}
.main-top .mod-menu>li>a{font-size:11px;text-transform:none;padding:3px 5px}
.main-top .card-header{display:none}
.container-footer .grid-child{display:flex;flex-direction:column;gap:2px;text-align:center;margin:0;padding:10px}
.oek-sections{display:flex;flex-wrap:wrap;justify-content:center;gap:15px}
.oek-sections a,.oek-notice-link{font:11px/1.5 Tahoma,Arial,sans-serif;color:var(--wine)}
.oek-notice-link{border:0;background:transparent;text-decoration:underline;padding:0}
.oek-banner{position:relative;container-type:inline-size;aspect-ratio:940/210;width:min(940px,calc(100vw - 32px));background-size:100% 100%;background-repeat:no-repeat}
.oek-banner>div{position:absolute;left:52.13%;top:52.38%;width:42.55%;color:white;text-align:left;font:1.17cqw/1.17 Tahoma,Arial,sans-serif;text-shadow:-1px -1px #5f1939}
.oek-banner p{margin:0 0 .55cqw}.oek-banner span{font-size:2.55cqw;line-height:1.2}
.oek-carousel{position:relative;width:100%;container-type:inline-size;background:#f3f3f3}
.oek-slides{display:block;overflow:hidden;position:relative;width:100%;margin:0;isolation:isolate}
.oek-slide,.oek-bridge{position:absolute;inset:0;margin:0;overflow:hidden;background:white}
.oek-slide{z-index:0}
.oek-slide[hidden],.oek-bridge[hidden]{display:none!important}
.oek-back{display:block;width:100%;height:100%!important;object-fit:cover;will-change:opacity}
.oek-slide .oek-layer{position:absolute;max-width:none;height:auto;margin:0;padding:0;border:0;color:#fff;text-align:left;font-family:"Open Sans",Arial,sans-serif;transform-origin:center}
.oek-slide.oek-outgoing{background:transparent}
.oek-entering>.oek-arrow{visibility:hidden}
.oek-flip-grid{position:absolute;inset:0;display:grid;grid-template:repeat(4,minmax(0,1fr))/repeat(6,minmax(0,1fr));background:#e6e5e4;pointer-events:none;--depth:calc(100cqw / 42)}
.oek-flip-grid>div{position:relative;overflow:hidden;perspective:85cqw}
.oek-flip-tile,.oek-flip-face{position:absolute;inset:0}
.oek-flip-tile{transform-style:preserve-3d;transform-origin:50% 50% calc(-.5 * var(--depth))}
.oek-flip-face{overflow:hidden;backface-visibility:hidden}
.oek-flip-face:nth-child(2){transform:translateZ(calc(-1 * var(--depth))) rotateY(180deg)}
.oek-flip-tile::before,.oek-flip-tile::after{content:"";position:absolute;inset:0 auto 0 0;width:var(--depth);background:#b4b2b0;transform-origin:left;transform:rotateY(90deg)}
.oek-flip-tile::after{left:100%}
.oek-flip-face>.oek-flip-photo{position:absolute;display:block;width:600%;height:400%;max-width:none;object-fit:cover}
.oek-slide:not(.oek-caption-shown)>.oek-caption-layer{opacity:0}
.oek-caption-grid{position:absolute;left:50%;top:50%;width:50%;height:25%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));pointer-events:none}
.oek-caption-grid>div{position:relative;perspective:65cqw}
.oek-caption-tile,.oek-caption-tile>div{position:absolute;inset:0}
.oek-caption-tile{transform-style:preserve-3d}
.oek-caption-tile>div{overflow:hidden;backface-visibility:hidden}
.oek-caption-tile>div:nth-child(2){transform:rotateY(180deg)}
.oek-caption-crop{position:absolute;width:600%;height:400%;top:-200%}
.oek-note-grid{inset:0;width:100%;height:100%}
.oek-note-grid .oek-caption-crop{width:300%;height:100%;top:0}
.oek-note-grid .oek-caption-tile>div:nth-child(2) .oek-caption-crop{padding:6px 10px;background:#940537}
.oek-slide-buttons{position:absolute;right:1%;bottom:2%;z-index:3;display:flex;gap:3px;opacity:0;transition:opacity .15s}
.oek-carousel:hover .oek-slide-buttons,.oek-carousel:focus-within .oek-slide-buttons{opacity:1}
.oek-slide-buttons button{border:1px solid #ffffffab;background:#6a162c;color:white;border-radius:3px;min-width:26px;height:24px;font:16px/1 Arial}
.r{width:100%;margin:24px 0}.r td{text-align:center}
.r a:not(#polytech){display:inline-block;width:84px;height:77px;background-image:url('/images/oek/design/big.png');vertical-align:middle}
#qq{background-position:-84px -320px}#ww{background-position:-84px 0}#aa{background-position:-84px -80px}#ss{background-position:-84px -242px}#zz{background-position:-86px -395px}
.r a:is(:hover,:focus-visible){background-position-x:0!important}
#polytech img{width:150px}.gramota img{width:133px;height:auto;border:2px solid #ccc;margin:2px}
.gramota img:hover{border-color:var(--wine)}
.oek-notice{position:fixed;inset:0;max-height:100dvh;max-width:none;width:100%;height:100%;margin:0;border:none;background:transparent;color:#494949;overflow:auto;padding:67px 8px 30px;overscroll-behavior:contain}
.oek-notice::backdrop{background:rgb(0 0 0/.4)}
.oek-notice article{position:relative;width:min(666px,100%);margin:0 auto 6px;border:3px solid var(--wine);border-radius:10px;background:#f0f0f0;padding:30px;text-align:center}
.oek-notice article img{display:block;width:100%;height:auto}
.oek-notice article a{display:block;font:24px/1.38 Tahoma,Arial,sans-serif;margin-bottom:8px}
.oek-notice .oek-close{position:absolute;right:5px;top:1px;background:transparent;color:var(--wine);border:0;font-size:22px;width:28px;height:26px}
.oek-notice .oek-notice-photos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.oek-jump{position:fixed;right:5px;top:32%;display:grid;gap:5px}
.oek-jump a{color:#777!important;background:#ddd;border:1px solid #999;border-radius:4px;opacity:.18;padding:8px 3px;font:28px/1 Arial;text-decoration:none}
.oek-jump a:is(:hover,:focus-visible){opacity:1}
@media(max-width:970px){.oek-banner{width:100%}.oek-jump{display:none}}
@media(max-width:700px){
 body.site{font-size:14px;line-height:1.45}
 .oek-brand{width:100%;display:block;aspect-ratio:auto}.oek-brand>a{width:100%}
 .oek-brand img{height:round(nearest,8.125vw,1px)}
 .oek-lang{display:block;text-align:right;margin:0 9px 3px;font-size:10px}
 .container-header .container-below-top{width:calc(100% - 12px);margin:0 6px 8px}
 .container-header .container-nav{margin:0 8px 12px}
 .container-header .mod-menu{justify-content:center}.container-header .mod-menu>li{margin:0 2px}
 .container-header .mod-menu>li>a{font-size:12px;line-height:16px;padding:5px}
 body.site .site-grid{display:flex;flex-direction:column;margin:0 8px;gap:12px}
 .site-grid .container-component{order:-1}body.site .site-grid main{padding:6px}
 .main-top.card{margin:0 0 8px}
 .site-grid h1{font-size:19px;margin-bottom:18px}
 .com-content-article__body{overflow-wrap:anywhere;overflow-x:auto}
 .container-sidebar-right .mod-articles-title{font-size:14px!important}
 .r tr{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.r td{padding:0}
 .oek-slide-buttons{opacity:1}.oek-slide-buttons button{height:22px;min-width:25px}
 .oek-notice{padding-top:18px}.oek-notice article{padding:27px 10px 10px}
 .oek-notice article a{font-size:16px}.oek-notice .oek-notice-photos{grid-template-columns:repeat(2,1fr)}
}
@media(prefers-reduced-motion:reduce){.oek-slide-buttons{opacity:1;transition:none}}

.oek-readable-caption{display:none}
@media(max-width:700px){
 .oek-readable-caption{position:relative;display:grid;min-height:4.8em;padding:6px 10px;color:white;font:13px/1.3 Tahoma,Arial,sans-serif}
 .oek-carousel[data-caption-phase="reading"] .oek-readable-caption{background:#940537}
 .oek-readable-caption>.oek-note{grid-area:1/1;visibility:hidden}
 .oek-readable-caption>.oek-note.is-current{visibility:visible}
 .oek-readable-caption strong,.oek-readable-caption span{display:block}
 .oek-slide-buttons{bottom:auto;top:2%;right:1%}
 .oek-banner{height:auto;aspect-ratio:auto;padding-top:22.34%;background-size:100% auto;background-position:top center}
 .oek-banner>div{position:static;width:auto;padding:6px 10px;background:#940537;font:13px/1.3 Tahoma,Arial,sans-serif;text-shadow:none}
 .oek-banner>div span{font-size:14px;font-weight:bold}
 .oek-banner p{margin:0}
}
@media(max-width:700px){
 .oek-banner>div>p:first-child{position:absolute;left:52.1%;top:11.9cqw;width:45%;line-height:1.05}
 .oek-banner>div>p:first-child span{font-size:clamp(10px,2.9cqw,16px);line-height:1.08}
 .oek-slide p.oek-layer:first-of-type{font-size:clamp(10px,2.9cqw,16px)!important;max-width:47%;line-height:1.08!important;white-space:normal!important}
 .oek-slide p.oek-layer:nth-of-type(2){visibility:hidden}
 .oek-note{display:flex;flex-direction:column-reverse;justify-content:flex-end}
 .oek-note strong{visibility:hidden}
}

/* Страница услуг ОЭК */
.oek-service-section {
  margin: 0 0 10px;
  padding: 0;
  text-align: left;
}
.oek-service-section > summary {
  padding: 6px 8px;
  font-weight: bold;
}
.oek-service-section > p {
  margin: 0 8px 6px;
}
.oek-service-prices {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
  line-height: 1.35;
}
.oek-service-prices th,
.oek-service-prices td {
  padding: 4px 6px;
  border: 1px solid #d3d3d3;
  vertical-align: top;
  text-align: left;
}
.oek-service-prices th {
  background: #80223a;
  color: #fff;
}
.oek-service-prices th:first-child {
  width: 4.2em;
  padding-inline: 2px;
  text-align: center;
  white-space: nowrap;
}
.oek-service-prices th:last-child { width: 8.2em; }
.oek-service-prices td:first-child { text-align: center; }
.oek-service-prices td:nth-child(2) { overflow-wrap: anywhere; }
.oek-service-prices td:last-child {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.oek-service-prices tbody tr:nth-child(even) { background: #f6f6f6; }
