.wrap-header-menu {
    border-top: 4px solid #077e1b;
}

#footer {
    border-top: 7px solid #077d1b;
}

#footer-copyright-links {
    background: #000;
    height: 45px;
    box-sizing: border-box;
    padding-top: 6px;
    line-height: 16px;
}

#header .header-in {
    padding-top: 15px;
}

#header-contact {
    height: 38px;
}

#header-logo {
    width: 200px;
}

#header-logo a {
    padding-top: 2px;
}

#header-menu {
    max-width: 800px;
}

#header-menu > ul > li > a {
    text-transform: uppercase;
    line-height: 38px;
    height: 38px;
    font-size: 12px;
    box-sizing: border-box;
}

#header-logo a {
    line-height: 87px;
}

#header-logo img {
    vertical-align: middle;
}

@media only screen and (min-width: 480px) {
    #news-list h2.news {
        display: none;
    }

    .homepage #news-list h2.news {
        display: block;
    }
}

@media only screen and (max-width: 639px) {
    body #header .header-in {
        padding: 0;
    }

    body #header-logo {
        margin-bottom: 0;
        text-align: left;
    }

    #header-contact-menu, #header-contact {
        display: none;
    }

    #header-logo a {
        padding: 0;
    }

    body #header {
        min-height: 87px;
    }

}

#header-menu ul.menu a {
    margin: 0 14px;
    padding: 0 2px;
}

#header-menu > ul > li.active > a, #header-menu > ul > li:hover > a {
    border-bottom: 3px solid #29b541;
    color: #29b541;
}

#header-menu > ul > li.active > a {
    color: #29b541;
}

#footer {
    padding-top: 60px;
    padding-bottom: 0;
}

#footer h3 {
    font-size: 14px;
}

#footer-newsletter-form input[type="text"] {
    color: #fff;
    background: #030303;
}

#footer-newsletter-form input[type="text"]::-webkit-input-placeholder {
    color: #686D71;
}

#footer-menu li {
    margin-bottom: 8px;
}

#footer h3 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
}

#footer a, #footer-menu li a {
    font-size: 13px;
}

#footer-social .social-item a img {
    opacity: 0.4;
}

#footer-social .social-item a {
    color: #686d71;
    font-family: 'Nunito', sans-serif;
    font-size: 12px;
}

button[type="submit"], input[type="submit"] {
    resize: none;
}

.homepage #content a.link1 {
    display: none;
}

#home-categories a, #home-categories a:hover {
    -webkit-box-shadow: none;
    box-shadow: none;
}

#home-categories a div.category-text {
    width: 100% !important;
}

#home-categories a div.category-image {
    width: 100% !important;
    height: 100% !important;
    padding: 0;
    border: none;
}

#news-list .news-item-image, #references-list .references-item-image {
    border: none;
    padding: 0;
    margin-bottom: 0;
}

#content .news-box h3, #content .references-box h3 {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 8px;
    height: 1.4em;
    overflow: hidden;
}

#right-2column-news .news-box h3 {
    padding-top: 0px;
    margin-bottom: 6px;
}

@media only screen and (max-width: 479px) {

    #header-logo {
        position: relative;
        z-index: 999;
    }

    #news-list .news-item-image, #references-list .references-item-image {
        margin: auto;
        float: none;
    }

    #content .news-box h3, #content .references-box h3 {
        overflow: visible;
        height: auto;
    }

    .news-box, .references-box {
        text-align: center;
    }

}

.homepage #content #home-categories a .category-image {
    position: relative;
    text-align: center;
}

.homepage #content #home-categories a .category-image > img {
    position: static;
    bottom: auto;
    left: auto;
    right: auto;
    height: auto;
    box-sizing: border-box;
    display: block;
}

.homepage #content #home-categories a {
    border: none;
    float: none;
    margin: 0;
    width: 100%;
    background-color: #f2f2f2;
}

.homepage #content #home-categories a {
    height: auto;
    min-height: 234px;
}

@media only screen and (min-width: 800px) {
    .homepage #content #home-categories a .category-image > img {
        display: inline;
        vertical-align: bottom;
    }

    .homepage #content a.link1 {
        display: block;
        margin: auto;
        margin-top: 355px;
        width: 400px;
        float: none;
    }

    .homepage #content {
        overflow-x: hidden;
        position: relative;
        background: url('custom/hp3.png') top center;
        background-size: 1920px auto;
        background-repeat: no-repeat;
    }

    .homepage #content .content-in {
        background: transparent;
    }

    .homepage #content #home-categories {
        display: block;
        width: 100%;
        max-width: 1920px;
        position: absolute;
        top: 538px;
        left: 50%;
        transform: translateX(-50%);
    }

    .homepage #content #home-categories > div {
        display: inline-block;
        width: 25%;
        box-sizing: content-box;
        height: 299px;
        position: relative;
    }

    .homepage #content #home-categories a {
        position: absolute;
        bottom: 0;
        min-height: 100px;
        background-color: transparent;
    }

    .homepage #content #home-categories div:nth-child(4) a .category-image > {
        border-right: none;
        /*width: 477px;*/
    }

    #home-column {
        min-height: 461px;
        margin-bottom: 36px;
    }

}

.gallery-detail .date {
    display: inline-block;
    min-width: 200px;
}

#content .gallery-detail > h2 {
    margin-top: 25px;
}

#left-2column .galerie a {
    width: 228px;
    height: 171px;
}

@media only screen and (max-width: 479px) {

    #content #right-2column .right-2column-in #news-list {
        padding-left: 15px;
        padding-right: 15px;
    }

    #news-list .news-box h3, #references-list .references-box h3 {
        font-weight: 500;
        font-size: 18px;
    }

    #content .news-item-image, #right-home-column .news-item-image, #content .references-item-image {
        width: 100%;
        height: auto;
    }

    #left-2column .news-item-image, #left-2column .references-item-image {
        width: 100%;
        height: auto;
    }

    #news-list .news-item-image img, #references-list .references-item-image img {
        position: static;
        width: auto;
        height: auto;
    }

    #content #news-list {
        background: #f2f2f2;
    }

    #content #news-list .news-box {
        background: #f2f2f2;
        padding: 0;
        margin-bottom: 0px;
    }

    #content #news-list .news-box .news-box-item > div:last-child, #content #references-list .references-box .references-box-item > div:last-child {
        padding: 0 15px 15px 15px;
    }

    #news-list .news-item-image, #references-list .references-item-image, #news-list .news-item-image img, #references-list .references-item-image img {
        background: transparent;
    }

    #content .content-in {
        padding: 0 0 30px 0;
    }

    #breadcrumbs, #content .content-in > p, #content .content-in > ul, #content .content-in > h1, #content .content-in > h2, #content .content-in > h3, #content .content-in > #left-2column > .inner > div[id] > p, #content .content-in > #left-2column > .inner > div[id] > ul, #content .content-in > #left-2column > .inner > div[id] > h1, #content .content-in > #left-2column > .inner > div[id] > h2, #content .content-in > #left-2column > .inner > div[id] > h3 {
        margin-left: 15px;
        margin-right: 15px;
    }

    #content #contact-info, #content #contact-form, #content #form-form {
        margin-left: 15px;
        margin-right: 15px;
    }

    #content .vice, #content .vice-poptavka {
        margin-right: 15px;
    }

    #pagination {

    }

    #news-list .news-box h1, #news-list .news-box h2, #news-list .news-box h3 {
        padding: 8px 0 8px 0;
    }

    #content h2 {
        margin-top: 0;
        padding-top: 20px;
        padding-left: 15px;
        padding-right: 15px;
        text-align: center;
        font-weight: 500;
    }

    #right-home-column .inner {
        padding-left: 15px;
        padding-right: 15px;
    }

    #content #news-list .news-box, #content #news-list .news-box .news-box-item {
        padding-bottom: 5px;
    }

    #column .galerie, #content .content-in > #left-2column > .inner .galerie {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    #left-2column .galerie a {
        width: 100%;
        height: auto;
        border: none;
        padding: 0;
    }

    #left-2column .galerie a img {
        position: static;
        width: auto;
        height: auto;
    }

    .content-in p img {
        max-width: 100%;
    }

    #content .gallery-detail > h2 {
        margin-bottom: 0;
    }

    .gallery-detail > p {
        margin-left: 15px;
        margin-right: 15px;
        text-align: center;
    }

    .gallery-detail .date {
        display: block;
    }
}

#home-partners {
    margin-top: 40px;
}

@media only screen and (min-width: 480px) {

    #home-partners {
        margin-top: 80px;
    }

    #content #news-list .news-box {
        background: #f2f2f2;
        padding: 6px;
        border-radius: 3px;
    }

    #content #news-list.detail .news-box {
        padding: 15px;
    }

    #right-2column-news #news-list .news-box {
        background: transparent;
        padding: 0;
    }

    #content .news-item-image, #right-home-column .news-item-image, #content .references-item-image {
        width: 178px;
        height: 134px;
    }

    #left-2column .news-item-image, #left-2column .references-item-image {
        width: 178px;
        height: 134px;
    }

    .homepage #content h2 {
        margin-bottom: 45px;
    }

    #content #home-partners h2 {
        margin-bottom: 20px;
        margin-top: 25px;
    }

    #content h1 {
        margin-bottom: 40px;
    }

    #content .gallery-detail > p {
        margin-bottom: 10px;
    }
}

@media only screen and (min-width: 1200px) {

    .wrap-width {
        width: 1200px;
    }

    #content .wrap-width {
        width: 1200px;
    }
}

ul.menu div.submenu {
    padding-top: 14px;
    background: #fff;
}

#content #news-list .vice {
    display: none;
}

#content #news-list .vice-text {
    display: none;
}

#news-list .news-box h3, #references-list .references-box h3 {
    font-size: 16px;
}

#news-list .news-box h3 a, #references-list .references-box h3 a {
    color: #066916;
}

#news-list .news-box, #news-list .news-box .news-box-item, #references-list .references-box, #references-list .references-box .references-box-item {
    min-height: 134px;
}

#news-list .news-box div.date, #news-list .news-box .news-box-item div.date {
    margin-bottom: 3px;
    color: #191919;
}

body #content {
    font-size: 15px;
    line-height: 24px;
}

.content-in h3 img[style], .content-in a > img[style="float: left;"], .content-in div > img[style="float: left;"] {
    margin-right: 15px;
}

#content .vice, #content .vice-poptavka {
    height: auto;
    padding: 10px 20px 13px 20px;
}

#content h1.h-main, #content h2.h-main, #content h3.h-main {
    margin-top: 15px;
}

#content #news-list .news-box, #content #news-list .news-box .news-box-item {
    font-size: 12px;
    line-height: 23px;
}

.galerie a:hover, #news-list .news-item-image:hover, #references-list .references-item-image:hover {
    border-color: transparent;
}

@media only screen and (min-width: 1140px) {
    #left-home-column {
        width: 608px;
    }

    #right-home-column {
        width: 480px;
    }
}

#news-list .news-box-item .news-item-date, #references-list .references-box-item .references-item-date {
    margin-left: 5px;
}

#footer-newsletter-form input[type="text"], #footer-newsletter-form input[type="submit"], input[type="submit"] {
    height: 40px;
    line-height: 40px;
}

#footer-newsletter-form input[type="submit"] {
    text-transform: uppercase;
    font-weight: 600;
    text-shadow: 0px 2px 1px rgba(100, 100, 100, 0.7);
    font-size: 15px;
    border-radius: 4px;
}

a.button-link, #content .vice, #content .vice-poptavka, input[type="submit"] {
    text-transform: uppercase;
    font-weight: 600;
    text-shadow: 0px 2px 1px rgba(0, 0, 1, 0.27);
    font-size: 16px;
    border-radius: 4px;
    position: relative;
}

a.button-link, #content .vice, #content .vice-poptavka {
    box-shadow: inset 0px -4px 0px 0px #056915;
}

#content .vice-poptavka {
    float: none;
    width: auto;
    padding: 13px 30px 18px 30px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-top: 40px;
}

.video-container iframe, .video-container object, .video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#right-home-column .inner {
    min-height: 374px;
}

@media only screen and (min-width: 780px) {
    #left-2column {
        width: 100%;
    }

    #left-2column > .inner {
        margin-right: 320px;
    }

    #right-2column {
        margin-left: -320px;
    }
}

.content-in .O0 p img {
    margin: 0;
}

#header-hotline {
    display: none;
}

input[type="checkbox"] {
    height: auto;
    margin-right: 6px;
}

#home-partners {
    text-align: center;
}

#home-partners a {
    vertical-align: middle;
}

@media only screen and (min-width: 800px) {
    #home-partners a {
        display: inline-block;
        width: 32%;
        box-sizing: border-box;
    }

    .homepage #home-partners a {
        width: 20%;
    }
}

#mobile-menu.fixed {
    -webkit-box-shadow: none;
    box-shadow: none;
    top: 32px;
    right: 0;
    width: 100%;
    z-index: 99;
    position: absolute;
}

#mobile-menu.fixed div.mobile-menu-home {
    float: right;
    margin-right: 15px;
    margin-bottom: 20px;
}

#mobile-menu.fixed ul.menu {
    background: #fff;
    padding-bottom: 5px;
}

#mobile-menu.fixed ul.menu li {
    text-align: left;
    border-bottom: 1px solid #EEEEEE;
}

#mobile-menu.fixed ul.menu a {
    padding: 2px 20px;
    height: 35px;
    line-height: 35px;
}

#mobile-menu.fixed ul.menu div.submenu {
    padding-top: 0;
    position: static;
}

#content #form-form fieldset:nth-child(2) legend {
    font-weight: bold;
    margin-bottom: 5px;
}

#content #form-form fieldset p {
    margin-bottom: 0px;
}

#content #form-form fieldset {
    margin-bottom: 8px;
}

#content #form-form fieldset:nth-child(1) {
    margin-bottom: 0px;
}

#content #form-form fieldset:nth-child(1) p {
    margin-bottom: 15px;
}

@media only screen and (min-width: 1200px) {
    #footer-newsletter {
        width: 400px;
    }
}

@media only screen and (max-width: 800px) {
    #home-categories {
        display: block;
    }
}

#home-categories > div {
    position: relative;
}

#home-categories a div.category-perex {
    background: rgba(7, 125, 27, 0.87);
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    max-width: 479px;
    height: 25%;
    line-height: 1.2;
    text-align: left;
    display: block;
    padding-left: 20px;
    margin: auto;
}

#home-categories a:hover div.category-perex {
    background: rgba(7, 125, 27, 0.87);
}

#home-categories a div.category-perex:before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}
#home-categories a div.category-perex div {
    display: inline-block;
    vertical-align: middle;
}

@media only screen and (min-width: 800px) {
    #home-categories a div.category-perex {
        padding-left: 40px;
        font-size: 1.3vw;
    }
}