html{color:#222;font-size:1em;line-height:1.4}::-moz-selection{background:#b3d4fc;text-shadow:none}::selection{background:#b3d4fc;text-shadow:none}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}audio,canvas,iframe,img,svg,video{vertical-align:middle}fieldset{border:0;margin:0;padding:0}textarea{resize:vertical}.browserupgrade{margin:.2em 0;background:#ccc;color:#000;padding:.2em 0}.hidden{display:none!important}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.clearfix:before,.clearfix:after{content:" ";display:table}.clearfix:after{clear:both}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:1.25dppx),(min-resolution:120dpi){}@media print{*,*:before,*:after,*:first-letter,*:first-line{background:transparent!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}}
html, html * {
    font-family: 'Open Sans';
    font-size:16px;
}
:root{
    --color-blue:#31953F;
    --color-red:#31953F;
    --color-old-red:#d2160d;
    --color-old-green:rgb(47,157,48);;
}
h1 {
    font-size: 1.7em;
    font-weight: 600;
}
#wrapper, header, nav, #icons, #content, #contacts, footer{
    max-width: 1200px;
    margin: 0 auto;
}
footer {
    margin-top: 6px;
}
#branding {
    display: flex;
    margin: 20px 0;
}
#branding * {
    flex: 1;
    align-items: center;
}
#branding .right {
    display: grid;
    grid-template-rows: 100%;
    grid-template-columns: 2.5fr 1fr 1fr;
    grid-gap: 12px;
    justify-content: space-between;
}
#branding .right div:first-child,
#footprint .right div:first-child {
    justify-self: start;
}
#branding .right div:last-child,
#footprint .right div:last-child {
    justify-self: end;
}
.left {
    justify-content: flex-start;
}
#branding .left {
    max-width: 480px;
    margin-right: 20px;
}
#branding .adr {
    text-align: right;
}
.right {
    justify-content: flex-end;
}
nav {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}
#menu-top{
    max-width: 1200px;
}
.menu-wrapper {
    background-color: var(--color-blue);
    height: 50px;
    line-height: 1.8em;
}
.menu-wrapper.bottom {
    background-color: #fafafa;
}
.menu-item a,
.menu-item a:hover,
.menu-item a:visited,
.menu-item a:active {
    cursor: pointer;
    color: #fff;
    text-decoration: none;
    line-height: 28.8px;
    font-size: 16px;
    font-weight: 600;
}
#menu-bottom a,
#menu-bottom a:hover,
#menu-bottom a:visited,
#menu-bottom a:active {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
    float: left;
    padding-right: 30px;
}
.menu-item {
    display: flex;
}
.bx-wrapper {
    box-shadow: none !important;
    border: none !important;
}
.bx-wrapper .bx-pager{
    bottom: 24px !important;
}
#icons {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
#icons a {
    color: inherit;
    text-decoration: none;
}
.icon {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 230px;
    margin: 30px 0;
}
.row.r2, .row.r3 {
    margin: 0 auto;
}
.row.r2 {
    font-size: .86em;
    font-weight: 700;
    max-width: 235px;
    margin-top: 16px;
}
.row.r3 {
    font-size: .8em;
    font-weight: 500;
    margin-top: 10px;
    max-width: 245px;
}
main {
    min-height: calc(100vh - 650px);
}
main img {
    max-width: 100%;
    height: auto;
}
#content {
    margin: 42px auto;
    padding-left: 1em;
}
#content p {
    clear:both;
}
#contacts {
    clear: both;
    display: grid;
    grid-template-rows: 350px;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    min-height: 350px;
    margin-bottom: 32px;
    padding-left: 1em;
}
#hdr {
    font-size: 1.4em;
}
#details {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
#txt {
    max-width: 480px;
    margin-top: -32px;
}
#mkr, #phn, #phn2, #mail {
    position: relative;
    margin-left: 30px;
}
#phn, #phn2, #mail {
   font-weight: 600;
}
#mkr::before,
#phn::before,
#phn2::before,
#mail::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: -27px;
    top: 0;
    background-size: contain;
    background-repeat: no-repeat;
}
#phn::before,
#mail::before{
    top: 6px;
}
#mkr::before {
    background-image: url('/img/contact-marker.png');
}
#mkr span {
       font-weight: 600;
}
#phn::before,
#phn2::before {
    background-image: url('/img/contact-phone.png');
}
#mail::before {
    background-image: url('/img/contact-mail.png');
}
#menu-bottom .right {
    display: flex;
}
#menu-bottom div {
    margin: 0 10px;
}
#menu-bottom .left,
#menu-bottom .left div:first-child {
    margin-left: 0;
}
#menu-bottom .right,
#menu-bottom .right div:last-child {
    margin-right: 0;
}
#menu-bottom .left {
    max-width: 726px;
    display: block;
}
#footprint {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 0.8em;
    font-weight: 500;
}
#footprint .right {
    display: flex;
}
a.current {
    position: relative;
    font-weight: bold;
}
#menu-top a.current::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: #fff;
    bottom: -3px;
    left: calc(50% - 16px);
    border-radius: 3px;
}
.tel {
    font-weight: bold;
    color: var(--color-red);
}
#text-near-logo {
    line-height: 1.7em;
    text-decoration: none;
    color: #121212;
}
#not-found {
    text-align: center;
    font-weight: bold;
    font-size: 42px;
    padding-top: 7%;
    color: var(--color-blue);
}
.btn {
    cursor: pointer;
    color: var(--color-red);
    text-decoration: underline;
}
.mobile {
    display: none;
}
@media screen and (max-width: 875px) {
    #branding .right,
    #menu-bottom {
        font-size: .7em;
        border-width: 2px;
    }
    #branding .left img {
        width: 100%;
    }
}
@media screen and (max-width: 655px) {
    #branding .right,
    #menu-bottom {
        font-size: .6em;
        border-width: 1px;
    }
}
@media screen and (max-width: 600px) {
    #branding .left {
        max-width: 65%;
        margin: auto;
    }
    #branding .left img {
        width: 100%;
    }
    #branding .right,
    .menu-wrapper {
        display: none;
    }
    .bx-wrapper {
        margin-bottom: 20px !important;
    }
    #icons {
        flex-direction: column;
        align-items: center;
        margin-top: 10px;
    }
    .icon {
        width: 100%;
        min-width: 100%;
        margin: 7px;
    }
    #contacts {
        grid-template-rows: 1fr 1fr;
        grid-template-columns: 100%;
    }
    .btn {
        display: block;
        width: 50%;
        padding: 12px;
        border: 1px solid var(--color-blue);
        margin: 0 auto;
        text-decoration: none;
        text-align: center;
    }
    .left {
        text-align: center;
    }
    #txt {
        margin-top: 0;
    }
    #footprint {
        flex-direction: column-reverse;
        align-items: center;
        margin-top: 10px;
    }
    #menu-mobile {
        flex-direction: column;
        align-items: center;
        margin-top: 10px;
        position: sticky;
        top: 0;
        right: 0;
        left: 0;
        background-color: var(--color-blue);
        font-size: 1.4em;
        z-index: 99999;
    }
    #menu-mobile .menu-item {
        margin: 5px 0;
    }
    #mobile-control {
        cursor: pointer;
        display: block;
        position: absolute;
        top: 21px;
        left: 14px;
        width: 30px;
        height: 30px;
        background: url('/img/menu.png') no-repeat;
        background-size: cover;
    }
    #mobile-call {
        cursor: pointer;
        display: block;
        position: absolute;
        top: 29px;
        right: 16px;
        width: 23px;
        height: 23px;
        background: url(/img/call.png) no-repeat;
        background-size: cover;
    }
}