html,body{
    padding: 0px;
    margin: 0px;
    font-family: 'Titillium Web', sans-serif;
}

a {
    color: #b22217;
}


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;

}

.nav ul.mainmenu .active a{
    color: #b22217;
   /* 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;
    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;
}

.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/bg1.jpg");
    background-size: cover;
    background-attachment: fixed;
}


.projects-bg{
    background: url("../img/bg2.jpg");
    background-size: cover;
    background-attachment: fixed;
}


.partners-bg{
    background: url("../img/bg_partners.jpg");
    background-size: cover;
    background-attachment: fixed;
}


.contacts-bg{
    background: url("../img/bg3.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%;
}



a.home{
    display:block;
    float: left;
    background: #ffffff;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 6px solid #b22217;
    font-size:14px;
}

a.home img{
    margin: 55px 30px 50px;
    display: block;
    width: 120px;

}


h1{
    position: absolute;
    bottom: 100px;
    font-size:30px;
}

.supertitle_bg{

    position: absolute;
    bottom: 100px;
    background: #ffffff;
     position: absolute;  width:100%; opacity: 0.7;
    height:200px;
}
h1,h2{

    color:#b22217;
}





.contacts-info-block{

    border-radius: 5px;
    border:1px dotted #CCCCCC;
    position: absolute;
    right:0px;
    bottom:10px;
    background: #ffffff;
    z-index: 1;
    opacity: 0.8; padding: 20px; margin-top:200px; width: 450px; float: right;
}




.languagebtns{
    float: right;
    position: absolute;
    right:0px;
    margin-top:10px;
    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;

}


@media all and (min-width:1100px){

    .fixed-width{
        width: 1000px;
    }


    .languagebtns{
        float: right;
        position: absolute;
        right:0px;
        margin-top:10px;
        margin-right:-50px;

    }
}



@media all and (max-width:1099px){

    .fixed-width{
        width: 750px;
    }
}


@media all and (max-width:800px){

    .fixed-width{
        width: 450px;
    }
    .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;

    }

    a.home {
        font-size: 12px;
        padding-bottom: 52px;
    }

}


@media all and (max-width:500px){

    .fixed-width{
        width: 300px;
    }

    .nav ul.mainmenu{
        width:140px;
        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;
    }

    h2{
        font-size: 16px;
    }

    p{
        font-size:12px;
    }
    .contacts-info-block{

        width: 200px;
    }
    a.home {
        font-size: 12px;
        padding-bottom: 52px;
    }
}

