html, body {
    padding: 0px;
    margin: 0px;
    font-family: 'Titillium Web', sans-serif;
}

a {
    color: #b22217 !important;
}

a:hover {
    color: #8a1e15;
}

.nav {
    height: 181px;
    position: fixed;
    width: 100%;
    z-index: 2;
    top: 0px;
}

.nav-box {
    height: 150px;
    position: relative;
}

.nav ul.mainmenu {
    float: right;
    margin: 0px;
    height: 151px;
    padding: 0px;
    margin-right: 15px;

}

.nav ul.mainmenu .active a {
    color: #b22217 !important;
    /* background: #ccc; */
}

.nav ul.mainmenu li {
    margin: 0px;
    padding: 0px;
    display: inline-block;
    list-style: none;
    position: relative;
    width: 70px;
    height: 120px;
    margin-left: 20px;
    padding: 0 10px;
}

.nav ul.mainmenu li a {
    position: absolute;
    bottom: 0px;
    display: block;
    text-align: center;
    vertical-align: bottom;
    color: #fff !important;
    text-decoration: none;
    font-size: 14px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    padding: 10px 0;
}

.nav ul.mainmenu li a:hover {
    color: #b22217 !important;
}

.nav ul.mainmenu li a i {
    display: block;
    font-size: 20px;
    margin: 0 0 10px;
}

.navbg {
    position: absolute;
    width: 100%;
    height: 130px;
    background: #bfbfbf;
    opacity: 0.5;
    border-bottom: 1px solid #353535;
}

section {
    width: 100%;
    position: relative;
}

.main-bg {
    background: url("../img/about_1.jpg");
    background-size: cover;
    background-attachment: fixed;
}

.projects-bg {
    background: url("../img/bg_projects.jpg");
    background-size: cover;
    background-attachment: fixed;
}

.partners-bg {
    background: url("../img/partners_1.jpg");
    background-size: cover;
    background-attachment: fixed;
}

.contacts-bg {
    background: url("../img/bg_contact_1.jpg");
    background-size: auto;
    background-attachment: fixed;
}

.milk-bg {
    background: url("../img/products_1.jpg");
    background-size: cover;
    background-attachment: fixed;
}

.bg-clear {
    background: #ffffff;
    height: 100%;
    position: absolute;
    width: 100%;
    opacity: 0.7;

}

article {
    padding-top: 200px;
    width: 100%;
    position: relative;
}

.fixed-width {
    margin: 0 auto;
    clear: both;
}

.content {
    height: 100%;
    position: absolute;
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
}

.content_op1 {
    height: 100%;
    position: absolute;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
}

.content_op2 {
    height: 100%;
    position: absolute;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
}

.content_op5 {
    height: 100%;
    position: absolute;
    width: 100%;
    background: rgba(255, 255, 255, 0.6);
}

a.home {
    display: block;
    float: left;
    background: #ffffff;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 6px solid #b22217;
    font-size: 12px;
    color: #aeaeae;
}

a.home img {
    margin-top: 23px;
    margin-bottom: 10px;
    display: block;
    width: auto;

}

h1 {
    position: absolute;
    bottom: 130px;
    font-size: 30px !important;
    font-weight: bold !important;
}

h2 {


    font-size: 26px !important;
}

.supertitle_bg {

    position: absolute;
    bottom: 100px;
    background: #ffffff;
    position: absolute;
    width: 100%;
    opacity: 0.7;
    height: 140px;
}

h1, h2 {

    color: #2f9600 !important;
}

.contacts-info-block {

    border-radius: 5px;
    border: 1px dotted #CCCCCC;
    position: absolute;
    right: 0px;
    bottom: 230px;
    background: #ffffff;
    z-index: 1;
    opacity: 0.8;
    padding: 20px;
    margin-top: 200px;
    width: 450px;
    float: right;
}

.languagebtns {
    float: right;
    right: 0px;
    margin-top: 60px;
    margin-right: -30px;

}

.languagelink {
    width: 30px;
    text-align: center;

    display: block;
    text-decoration: none;
    color: #ffffff;
    padding: 0 10px;
    font-size: 12px;

}

.languagelink.active {
    background: #ffffff;
    color: #3d3d3d;

}

.languagelink:hover {
    background: #ffffff;
    color: #3d3d3d;

}

.logo-partner {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.home-article {
    height: 250px !important;
    padding-top: 0px !important;
}

.pic-slide {
    max-width: 800px !important;
}

.pad-170 {
    padding-top: 170px;
}

.products-article {
    height: 1070px !important;
}

.about-article {
    height: 490px !important;
}

.friends-article {
    height: 530px !important;
}

.projects-article {
    height: 1300px !important;
}

.contacts-article {
    height: 760px !important;
}

.logo-sm {
    width: 145px !important;
    margin: 0px !important;
    font-size: 20px !important;
    padding-bottom: 5px !important;
}

.container-partner {
    width: 160px;
    margin-left: 10px;
    margin-bottom: 15px;
    float: left;
}

.img-partner {
    width: 160px;
    height: 150px;
    float: left;
}

.project-photo {
    width: 30%!important;
    padding: 1%;
    height: 400px;
}

.text {
    text-align: center;
}

.pad-40 {
    padding-top: 40px;
}

.product-list li {
    list-style-type: disc !important;
}

@media all and (min-width: 1200px) {

    .logo-sm {
        display: none !important;
    }
}

@media all and (max-width: 1200px) {

    .logo-lg {
        display: none !important;
    }
}

@media all and (min-width: 1201px) {

    .fixed-width {
        width: 1135px;
    }
}

@media all and (max-width: 1200px) {

    .fixed-width {
        width: 850px;
    }
}

@media all and (max-width: 1000px) {

    .fixed-width {
        width: 750px;
    }

    .nav ul.mainmenu li {

        padding: 0 0 0 2px;
        margin: 0px;
    }

    a.home {
        font-size: 12px;
        padding-bottom: 19px;
    }

    a.home img {
        margin: 56px 30px 10px;
        width: 60px;
    }
}

@media all and (max-width: 750px) {

    .fixed-width {
        width: 700px;
    }

}

@media all and (max-width: 700px) {

    .fixed-width {
        width: 500px;
    }
    .project-photo{
        height: 330px;
        width: 100%;
    }
    .logo-sm {
        width: 90px !important;
        padding-bottom: 6px !important;
    }

    .nav ul.mainmenu {
        width: 300px;
        margin: 10px 0 0 0;
    }

    .nav ul.mainmenu li {
        width: 50px;
        height: 110px;
    }

    .nav ul.mainmenu li a {
        font-size: 10px;
    }

    .products-article {
        height: 1240px !important;
    }
    .projects-article{
        height: 2000px!important;
    }
}

@media all and (max-width: 500px) {

    .fixed-width {
        width: 320px;
    }

    .friends-article {
        height: 850px !important;
    }

    .nav ul.mainmenu {
        width: 175px;
        margin: 10px 0 0 0;
    }

    .nav ul.mainmenu li {
        width: 50px;
        height: 60px;
    }

    .nav ul.mainmenu li a {
        font-size: 10px;
    }

    h1 {
        font-size: 18px !important;
    }

    h2 {
        font-size: 16px !important;
    }

    p {
        font-size: 12px !important;
    }

    .contacts-info-block {

        width: 200px;
    }

    .languagebtns {
        margin-top: 50px !important;
        margin-right: -60px;
    }

    .home-article {
    }

    .products-article {
        height: 1330px !important;
    }

    .about-article {
        height: 450px !important;
    }

    .projects-article {
        height: 2200px !important;
    }

    .contacts-article {
        height: 760px !important;
    }

    .project-photo {
        width: 100%;
    }

}

* {
    box-sizing: border-box;
}

/* Position the image container (needed to position the left and right arrows) */
.container {
    position: relative;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
    cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Container for image text */
.caption-container {
    text-align: center;
    background-color: #222;
    padding: 2px 16px;
    color: white;
}

.carousel {
    height: 600px;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Six columns side by side */
.column {
    float: left;
    width: 16.66%;
}

/* Add a transparency effect for thumnbail images */
.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}

/* Language buttons */
.languagepicker {
    background-color: #FFF;
    display: inline-block;
    padding: 0;
    height: 40px;
    overflow: hidden;
    transition: all .3s ease;
    margin: 0 50px 10px 0;
    vertical-align: top;
    float: left;
}

.languagepicker:hover {
    /* don't forget the 1px border */
    height: 81px;
}

.languagepicker a {
    color: #000;
    text-decoration: none;
}

.languagepicker li {
    display: block;
    padding: 0px 10px;
    line-height: 40px;
    border-top: 1px solid #EEE;
}

.languagepicker li:hover {
    background-color: #EEE;
}

.languagepicker a:first-child li {
    border: none;
    background: #FFF !important;
}

.languagepicker li img {
    margin-right: 5px;
}

.roundborders {
    border-radius: 5px;
}

.large:hover {
    /*
    don't forget the 1px border!
    The first language is 40px heigh,
    the others are 41px
    */
    height: 245px;
}

/* Language ends */
