#header-bg {
    width: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    height: 780px;
    z-index: -1;
    overflow: hidden;
}

#header-bg2 {
    width: 100%;
    background: url('/templates/frontend/images/bg1.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    height: 900px;
    top: 0;
    z-index: 0;
    opacity: 1;
}


.slogan {
    color: #fff;
    font-size: 100px;
		font-weight: 900;
    text-align: center;
    line-height: 96px;
    text-transform: uppercase;
    margin-top: 120px;
}

.slogan-description {
    color: #fff;
    font-size: 26px;
    text-align: center;
		font-weight: 300;
    width: 600px;
    margin: 26px auto  88px auto;
    line-height: 35px;
}


.main-services {
    padding-bottom: 90px;
}

.main-services h3 {
    font-size: 18px;

    font-weight: bold;
    color: #ff0505;
    margin-bottom: 15px;
}

.main-services a {
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    line-height: 31px;
    padding: 0;
    margin: 0;
}

/*-----main services if width < 480---*/
.main-services-min {
    display: none;
}
.services-list{
    margin-bottom: 20px;
}
.services-list li{
    display: block;
    border-bottom: 1px solid rgba(255,255, 255, 0.3);
}
.services-list li:last-child {
    border-bottom: 0;
}
.services-list li a  {
    color: #ff0505;

    font-size: 18px;
    font-weight: bold;
    padding: 20px 0;
    display: block;
    text-decoration: none;
}

/*---work block---*/

.work-block {
    padding-top: 130px;
}

.work-description .block {
    margin-bottom: 63px;
}

.work-description .block h3 {
    color: #db2828;

    font-weight: bold;
    margin-bottom: 7px;
    margin-top: 4px;
    font-size: 18px;
}

.work-description .block p {
    font-size: 16px;
    line-height: 28px;
}


#experience-2 h2, #experience h2 {
    color: #555;
}

/*------------partners**************/

.partners {
    margin: 130px 0 70px 0;
}

.logos-min {
    margin-top: -55px;
}
.partners .logos-min div {
    height: 156px;
}

.partners .rix {
    margin-top: 10px;
    background: url('/templates/frontend/images/rix2.png') no-repeat  center center;
}

.partners .sa {
    background: url('/templates/frontend/images/sa.png') no-repeat  center center;
}

.partners .presesnams {
    background: url('/templates/frontend/images/nams.png') no-repeat  center center;
}

.partners .orto {
    background: url('/templates/frontend/images/orto.png') no-repeat  center center;
}
.partners .av {
    background: url('/templates/frontend/images/av.png') no-repeat  center center;
}



.partners .ecg {
    background: url('/templates/frontend/images/ecg2.png') no-repeat  center center;
}

.partners .wk {
    background: url('/templates/frontend/images/wk2.png') no-repeat  center center;
}

.partners .logos-min div.ilior {
    background: url('/templates/frontend/images/ilior2.png') no-repeat  center center;
    border-bottom: 0;
}

/****************************MEDIA QUERIES**************************/

@media all and  (max-height:1025px) {
    .slogan-description{
       margin: 20px auto 50px auto;
    }
    .slogan {
        margin-top: 80px;
        font-size: 80px;
        line-height: 80px;
    }

    .main-services {
        padding-bottom: 50px;
    }


}

/*--------------------------*/
@media all   and (min-width:930px) and (max-width:1060px) {
    .slogan {
        font-size: 85px;
    }
}

/*--------------------------*/
@media all  and (max-width:1025px) {
    .work-headers .col3 {
        display: none;
    }

    .logos-min {
        margin-top: 0;
    }
}

@media all   and (min-width:481px) and (max-width:1025px) {

    #header-bg {
        height: 940px;
    }

    #header-bg2 {
        height: 1040px;
    }

    .slogan {
        font-size: 42px;
        line-height: 50px;
        margin-top: 130px;
    }
    .slogan-description {
        width: auto;
        font-size: 20px;
        line-height: 35px;
        margin-top: 20px;
    }
    nav ul li a {
        padding: 15px;
    }
    header .right {
        width: auto;
    }

    .main-services {
        display: table;
        width: 98%;
    }
    .main-services  .min-row {
        display: table-row;
    }
    .main-services .col3 {
        display: table-cell;
        margin: 0;
        width: 49%;
    }

    .main-services .col3.last {
        border-left: 1px solid rgba(255, 255, 255, 0.3);
        padding-left: 40px;
        padding-bottom: 35px;
        box-sizing: border-box;
    }

    #m3 {
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }
    #m4 {
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        min-height: 250px;
    }

    #m3, #m4 {
        padding-top: 50px;
    }

    .min-row {
        vertical-align: top;
    }

    .min-row:after {
        content: " ";
        display: block;
        height: 0;
        clear: both;
    }

    .work-block{
        padding-top: 65px;
    }
    .work-description .col6 {
        padding-bottom: 40px;
    }
    .partners {
        margin-top: 65px;
        margin-bottom: 55px;
    }
    .partners .logos-min .col6 {
        width: 22.5%;
    }
    .logos-min {
        padding-top: 35px;
    }
}

@media all   and (min-width:480px) and (max-width:680px) {
    .partners .logos-min .col6 {
        width: 48%;
    }
}

/*--------------------------*/
@media all   and (min-width:600px) and (max-width:1025px) {
    .slogan {
        font-size: 54px;
        line-height: 65px;
    }

    #header-bg {
        height: 970px;
    }

}

/*--firefox---*/
@-moz-document url-prefix()  {
    #header-bg {
        top: 0;
    }

    @media all  and (max-width:480px) {
        #top-slider-block {
            height: 600px;
        }
    }
}
/*--------------------------*/

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

    #header-bg {
        height: 629px;
    }

    h2 {
        margin-bottom: 20px;
        font-size: 26px;
    }

    .slogan {
        font-size: 29px;
        line-height: 40px;
        text-align: left;
        margin-top: 110px;
    }

    .slogan-description {
        text-align: left;
        font-size: 18px;
        line-height: 32px;
        max-width: 270px;
        margin: 20px 0;
    }

    .main-services {
        display: none;
    }
    .main-services-min {
        display: block;
    }

    .work-block {
        padding-top: 80px;
    }
    .work-headers h2 {
        margin-bottom: 0;
    }

    .work-description .big1 {
        padding-top: 20px;
    }

    .work-description .big2 {
        padding-bottom: 30px;
    }

    .work-description .block h3{
        font-size: 18px;
    }

    .work-description .block {
        margin-bottom: 35px;
    }


    .partners {
        margin-top: 70px;
        margin-bottom: 50px;
    }

    .logos-min {
        padding-top: 0;
    }
}

/*------------------------------ mobile devices ----------------------------------------*/
@media  only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (   min--moz-device-pixel-ratio: 1.5),
only screen and (     -o-min-device-pixel-ratio: 3/2),
only screen and (        min-device-pixel-ratio: 1.5)
{
    .partners .rix {
        background: url('/templates/frontend/images/rix-big.png') no-repeat  center center;
        -webkit-background-size: 153px 34px;
        -o-background-size: 153px 34px;
        -moz-background-size: 153px 34px;
        background-size: 153px 34px;
    }

    .partners .ecg {
        background: url('/templates/frontend/images/ecg-big.png') no-repeat  center center;
        -webkit-background-size: 135px 70px;
        -o-background-size: 135px 70px;
        -moz-background-size: 135px 70px;
        background-size: 135px 70px;
    }

    .partners .wk {
        background: url('/templates/frontend/images/wk-big.png') no-repeat  center center;
        -webkit-background-size: 120px 57px;
        -o-background-size: 120px 57px;
        -moz-background-size: 120px 57px;
        background-size: 120px 57px;
    }

    .partners .logos-min div.ilior {
        background: url('/templates/frontend/images/ilior-big.png') no-repeat  center center;
        -webkit-background-size: 133px 37px;
        -o-background-size: 133px 37px;
        -moz-background-size: 133px 37px;
        background-size: 133px 37px;
    }

}