body {
    font-family: 'Roboto Slab', serif;
    background-color: #fff;
    overflow-x: hidden;
}

.block-header {
    background: url(../images/header.jpg) top center no-repeat;
}

.block-primary {
    min-height: 1070px;
    position: relative;
}

#logo {
    margin: 100px auto 10px;
    width: 289px;
    display: block;
}

h3 {
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    font-size: 36px;
    font-weight: 700;
}

.block-header h3 {
    text-shadow: 0 2px 10px rgba(5, 5, 15, .35);
}

.block-header p {
    color: #dcc6ed;
    font-size: 18px;
    font-weight: 300;
    text-align: center;
}

.block-header .heads {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.block-header .col {
    font-size: 14px;
    font-weight: 300;
    color: #dcc6ed;
}

.button {
    color: #3d0067;
    font-size: 16px;
    padding: 8px 30px;
    font-weight: 700;
    background-color: #ffcc35;
}

a.button:link, a.button:visited {
    background-color: #ffcc35;
    padding: 14px 25px;
    text-align: center;
    text-decoration: none;
}

a.button:hover, a.button:active {
    background-color: #FCDE76;
    color: #3d0067;
}

.block-header .button-margin {
    margin-top: 50px;
}

.block-arrow-container {
    margin-top: 20px;
    position: absolute;
    bottom: 50px;
    display: block;
    width: 32px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    /*z-index: 300;*/
}

.block-arrow-container .block-arrow {
    width: 32px;
    display: inline-block;
}

.block-arrow-container .block-arrow .mouse {
    background: url(../images/nav-mouse.png) top center no-repeat;
    display: block;
    width: 32px;
    height: 54px;
}

.block-arrow-container .block-arrow .arrows {
    background: url(../images/nav-arrows.png) top center no-repeat;
    display: block;
    width: 14px;
    height: 24px;
    margin: 0 auto;
    -webkit-animation: arrow-jump 1.2s infinite;
    -moz-animation: arrow-jump 1.2s infinite;
    -o-animation: arrow-jump 1.2s infinite;
    animation: arrow-jump 1.2s infinite;
}

@-webkit-keyframes arrow-jump {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(10px);
        -moz-transform: translateY(10px);
        -transform: translateY(10px);
        transform: translateY(10px);
    }
}

@keyframes arrow-jump {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(10px);
        -moz-transform: translateY(10px);
        -transform: translateY(10px);
        transform: translateY(10px);
    }
}

.center-img {
    margin-left: auto;
    margin-right: auto;
}

.sections {
    background-color: #ffcc35;
    color: #3d0067;
    border-radius: 50%;
    width: 57px;
    height: 57px;
    font-weight: 700;
    font-size: 18px;
    padding-top: 15px;
    margin-bottom: 20px;
}

.block-header .badge-container {
    margin-top: 80px;
}

.block-header .badge {
    color: #ffcc35;
    font-size: 25px;
    font-weight: 400;
    text-align: center;
    padding: 0 0 0 1px;
    width: 57px;
    height: 57px;
    border-radius: 50%;
    box-shadow: 2px 0 10px 0 rgba(0, 0, 0, .2);
    margin-bottom: 20px;
}

.block-header .badge-color {
    background: #66497a;
}

.block-1 {
    color: #272529;
    background: url(../images/block1.jpg) top center no-repeat;
    background-position: 0px -1050px;
    /*z-index: -2;*/
}

.block-1 h3 {
    color: #3d0067;
    font-weight: 700;
    font-size: 30px;
}

.block-1 .intro p {
    color: #272529;
    font-size: 18px;
    font-weight: 300;
    padding: 25px;
}

.block-1 p {
    font-size: 16px;
    font-weight: 300;
}

.block-1 p span {
    color: #3d0067;
    font-size: 24px;
    font-weight: 700;
}

.block-1 .header {
    margin-top: 70px;
}

.block-1 .textbox {
    margin-top: -30px;
    position: relative;
}

.block-1 .boxes {
    margin-top: 40px;
    padding-left: 15px;
    padding-right: 15px;
    border: 15px double transparent;
    background: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0) 0%, rgba(243, 242, 243, 1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0) 0%, rgba(243, 242, 243, 1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(243, 242, 243, 1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f3f2f3', GradientType=1); /* IE6-9 fallback on horizontal gradient */
    background-repeat: no-repeat;
    background-origin: padding-box;
    min-height: 370px;
}

.block-1 .img1 {
    position: absolute;
    top: 90px;
    height: 150px;
    left: -190px;
    width: 160px;
    /*z-index: 2;*/
    background-size: auto;
    background: url('../images/block1-content2-img1.png') no-repeat;

}

.block-1 .img2 {
    position: absolute;
    top: 90px;
    height: 150px;
    right: -190px;
    width: 160px;
    /*z-index: 2;*/
    background-size: auto;
    background: url('../images/block1-content2-img2.png') no-repeat;

}

.block-1 .img3 {
    position: absolute;
    top: 90px;
    height: 150px;
    left: -190px;
    width: 160px;
    /*z-index: 2;*/
    background-size: auto;
    background: url('../images/block1-content2-img3.png') no-repeat;

}

.block-1 .img4 {
    position: absolute;
    top: 90px;
    height: 160px;
    right: -190px;
    width: 160px;
    /*z-index: 2;*/
    background-size: auto;
    background: url('../images/block1-content2-img4.png') no-repeat;

}

.block-2 {
    color: #fefefe;
    background: url(../images/block2.jpg) top center no-repeat;
    background-size: auto;
    margin-top: 100px;
}

.block-2 h3 {
    font-weight: 700;
    font-size: 30px;
}

.block-2 h4 {
    display: inline-block;
    margin-top: 30px;
    color: #ffcc35;
    font-size: 18px;
    font-weight: 700;
}

.block-2 #carousel-example-generic{
    margin-top: 10px;
}

.block-2 p {
    color: #dcc6ed;
    font-size: 18px;
    font-weight: 300;
}

.block-2 .content {
    margin-top: 100px;
}

.block-2 .carousel-inner > .item > img {
    display: inline-block;
}

.carousel-control {
    background-image: none !important;
}

.block-2 i {
    border: solid;
    border-color: #66497a;
    border-radius: 10%;
    border-width: 0 5px 5px 0;
    display: inline-block;
    padding: 3px;
    height: 25px;
    width: 25px;
}

.block-2 i:hover {
    border-color: #ffcc35;
}

.aright {
    margin-left: -80px;
    margin-top: 110%;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.aleft {
    margin-right: -80px;
    margin-top: 110%;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.block-3 {
    margin-top: -300px;
    color: #272529;
    background: url(../images/block3.jpg) top center no-repeat;
    color: #272529;
    font-size: 16px;
    font-weight: 300;
}

.block-3 .content {
    margin-top: 80px;
}

.block-3 h3 {
    font-size: 30px;
    color: #3d0067;
    font-weight: 700;
}

.block-3 h4 {
    font-size: 18px;
    color: #3d0067;
    font-weight: 700;
}

.block-3 .badge {
    color: #ffcc35;
    font-size: 25px;
    font-weight: 300;
    text-align: center;
    padding: 10px 0 0 0;
    width: 47px;
    height: 47px;
    border-radius: 50%;
    margin-bottom: 5px;
    margin-right: 15px;
}

.block-3 .content-left:hover .badge {
    color: #FCDE76;
}

.block-3 .badge-color {
    background: #ffffff;
}

.block-3 .content-left {
    font-weight: 700;
    font-size: 18px;
    color: #545555;
    margin-top: 50px;
}

.block-3 .content-right {
    padding: 70px;
    padding-top: 40px;
    padding-bottom: 110px;
    margin-top: 50px;
    background: url(../images/block3-content.png) top center no-repeat;
    background-size: 100% 100%;

}

.block-3 .img1 {
    position: absolute;
    top: 300px;
    height: 179px;
    right: -240px;
    width: 179px;
    /*z-index: 2;*/
    background-size: auto;
    background: url('../images/block3-content2.png') no-repeat;

}

.block-3 .head {
    padding-left: 30px;
}

.block-3 .content-right .par1 {
    margin-bottom: 14%;
}

.block-3 .content-right .par2 {
    margin-bottom: 14%;
    float: right;
    text-align: right;
}

.block-3 .content-right .par3 {
    margin-bottom: 14%;
    clear: both;
    text-align: left;
}

.block-3 .content-right .par4 {
    float: right;
    text-align: right;
}

.block-3 .content-right p span {
    font-size: 18px;
    font-weight: 700;
    color: #3d0067;
}

.block-3 .content-right p {
    margin-bottom: 1px;
    font-size: 14px;
    font-weight: 400;
    color: #615f63;
}

.block-4 {
    padding-top: 80px;
    margin-top: 30px;
    color: #dcc6ed;
    font-size: 18px;
    font-weight: 300;
    background: url(../images/block4.jpg) top center no-repeat;
}

.block-4 h3 {
    color: #fefefe;
    font-size: 30px;
    font-weight: 700;
}

.block-footer {
    margin-top: -700px;
    height: 100%;
    background: url(../images/block5.jpg) top center no-repeat;
    color: #3d0067;
    font-size: 18px;
    font-weight: 300;
}

.block-footer a:hover {
    text-decoration: none;
}

.block-footer .header {
    margin-top: 100px;
}

.block-footer .logos img {
    margin-left: auto;
    margin-right: auto;
}

.block-footer .logos {
    margin-top: 20px;
    text-align: center
}

.block-footer .logos h4 {
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    color: #3d0067;
    font-size: 18px;
    margin-top: -3px;
}

.footer-button {
    margin-top: 110px;
    position: relative;
    height: 150px;
    background-color: #fefefe;
    color: #3d0067;
    font-size: 18px;
    font-weight: 300;
    /*z-index: 3;*/
}

.block-contacts {
    position: absolute;
    /*z-index: 3;*/
    width: 100%;
    margin-top: -50px;
    background: url(../images/block6.jpg) top center no-repeat;
    background-size: auto;
    padding: 28px;
}

.block-contacts a {
    color: #ffffff;
    font-weight: bolder;
    font-size: 18px;
    vertical-align: baseline;
}

.block-contacts a:hover {
    text-decoration: none;
}

.block-contacts span {
    color: #ffcc35;
    padding: 15px;
    vertical-align: middle;
}

.block-contacts .content {
    vertical-align: middle;
}

.block-contacts .icon-phone, .icon-mail {
    font-size: 30px;
}

.badge-to-top {
    background-color: #ffcc35;
    text-align: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 2px 0 10px 0 rgba(0, 0, 0, .2);
    /*z-index: 1000;*/
}

.badge-to-top:hover {
    background-color: #FCDE76;
}

.atop {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    border: solid;
    border-color: #66497a;
    border-radius: 30%;
    border-width: 0 5px 5px 0;
    display: inline-block;
    padding: 5px;
    height: 20px;
    width: 20px;
    margin-top: 18px;
}

.to-top {
    position: fixed;
    right: 50px;
    bottom: 50px;
    line-height: 60px;
    display: none;
    /*z-index: 1000;*/
}

.to-animated {
    visibility: hidden
}

@media only screen and (max-width: 1660px) {
    .block-3 .img1 {
        display: none;
    }

    .block-1 .img4, .img3, .img2, .img1 {
        display: none;
    }

}

@media only screen and (max-width: 1200px) {
    .footer-button {
        margin-top: 150px;
    }
}

@media only screen and (max-width: 1000px) {
    .block-arrow-container {
        margin-top: 40px;
        bottom: 0px
    }

    .footer-button {
        margin-top: 10px;
    }
}

@media only screen and (max-width: 880px) {
    .block-arrow-container {
        display: none;
    }

    .block-contacts {
        margin-top: -10px;
    }
}

@media only screen and (max-width: 768px) {
    .carousel-control {
        display: none;
    }
}

@media only screen and (max-width: 450px) {
    .block-contacts {
        margin-top: 0px;
    }

    #logo {
        margin-top: 10px;
    }

    .block-header .badge-container {
        margin-top: 40px;
    }

    .block-header .button-margin {
        margin-top: 20px;
    }

    .longNameButton {
        display: none;
    }

    .block-contacts {
        margin-top: 40px;
    }

    .block-3 .content-right {
        background: none;
        margin-top: 0px;
    }

    .block-contacts {
        padding: 0px;
    }

    .block-4 .btn-custom {
        width: 100%;
    }

    .block-4 .demo {
        margin-top: 30px;
    }

    .block-4{
        padding-top: 30px;
    }

}