.main-container {
  width: 100%;
  overflow: hidden;
}

body:not(.path-frontpage) {
  margin: 0;
}

body:not(.path-frontpage) #navbar {
  position: relative;
}

body:not(.path-frontpage) .footer {
  position: relative;
}

body:not(.path-frontpage) .main-container {
  padding: 30px;
}

#block-slaid1kartinka img {
    width: 60%;
    margin: 0 auto;
    display: block;
}

#fullpage>div#content1:before {
   opacity: 1;
   position: static;
}

#block-views-block-partners-block-1 .form-group h3 {
  text-align: left;
}

.views-view-grid .views-row {
  margin-bottom: 15px;
}

#block-views-block-partners-block-1 .views-col, #block-views-block-partners-block-1 .views-view-grid .views-col, #block-views-block-partners-block-1 .views-view-grid:last-child .views-col {
  width: 250px;
  text-align: left;
}

#block-views-block-experts-block-1 .block-title {
  color: #222;
  font-family: Roboto;
  font-weight: bold;
  margin-bottom: 60px;
  padding-bottom: 20px;
  position: relative;
  text-align: center;
}

#block-views-block-experts-block-1 .block-title::after {
  background: #5694ca none repeat scroll 0 0;
  border-radius: 2px;
  bottom: 0;
  content: "";
  height: 4px;
  left: 50%;
  margin-left: -30px;
  position: absolute;
  width: 40px;
}

#block-views-block-experts-block-1 .views-col {
  margin-bottom: 30px;
}

.jumbotron {
  background: #c4daed none repeat scroll 0 0;
  background: #ffffff; /* Old browsers */
  background: -moz-linear-gradient(top, #ffffff 0%, #c4daed 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #ffffff 0%,#c4daed 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #ffffff 0%,#c4daed 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#c4daed',GradientType=0 ); /* IE6-9 */
}

#content4 {
  background: #f6f6f6 none repeat scroll 0 0;
}

/*#fullpage > div#content5 {
  background: rgba(0, 0, 0, 0) url("../images/startup.jpg") no-repeat scroll 0 0 / cover ;
  color: #000;
}

#fullpage > div#content5::before {
  background: #fff none repeat scroll 0 0;
  bottom: 0;
  content: "";
  left: 0;
  opacity: 0.9;
  position: absolute;
  right: 0;
  top: 0;
}*/

#myMenu .active {
  background: #f6f6f6 none repeat scroll 0 0;
  border-radius: 2px;
}

body {
    font-family: "Open Sans";
}

#block-contactpopupblock,
#block-contactpopupblock-2,
#block-contactpopupblock-3,
#block-contactpopupblock-4 {
    display: none;
}

.container-fluid {
    padding: 0px;
}

.wrapper {
    padding-left: 50px;
    padding-right: 50px;
}

#navbar {
    background: #b3b5b6;
    border: none;
    font-size: 14px;
    color: #ffffff;
    padding: 13px 15px;
    border-radius: 0;
    transition: background-color 2s ease;
}

#navbar .navbar-brand {
    font-size: calc((100vw - 768px)/512 * 10 + 16px);
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 400;
    transition: color 2s ease;
}

#navbar.black-text-header {
    background-color: #fff;
}

#navbar.black-text-header #myMenu li a, #navbar.black-text-header .navbar-brand {
    color: #383838;
}

#navbar.black-text-header .logo svg path {
    fill: #383838;
}

#navbar .logo {
    margin-left: 38px;
}

#block-logotip {
    display: inline-block;
}

#navbar  .logo object, #navbar  .logo svg {
    width: 37px;
    height: 31px;
}

#navbar .logo svg path {
    fill: #fff;
    transition: fill 2s ease;
}

#navbar #myMenu {
    float:right;
    text-transform: uppercase;
}

#navbar #myMenu li a {
    color: #ffffff;
    padding: 7px 12px;
    font-family: Open Sans;
    font-weight: 400;
    font-size: calc((100vw - 768px)/512 * 5 + 9px);
    transition: color 2s ease;
}

#navbar #myMenu .active {
    background: none;
    position: relative;
}

#navbar #myMenu li a:hover {
    background: none;
}

#navbar #myMenu .active:before {
    content:"";
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: #1796ca;
    border-radius: 50%;
    bottom: 0;
    left: 50%;
    margin-left:-5px;
}

#fullpage .video {
    display: none;
}

#fullpage>div .fp-tableCell {
    vertical-align: baseline;
}

#fullpage>div#content1 {
    background: #b3b5b6;
    color: #fff;
    padding-left: 50px;
    padding-right: 50px;
}

#fullpage>div#content1 .fp-tableCell {
   /* background: url(../images/slide-1.png) right center no-repeat;*/
    background-size: 50%;
    vertical-align: middle;
}

#fullpage>div#content5 .fp-tableCell {
    color: #fff;
}

#fullpage>div#content2,
#fullpage>div#content3,
#fullpage>div#content4,
#fullpage>div#content5 {
    background: url(../images/bg-slide-2.jpg) no-repeat;
    background-size: cover;
    background-color: #534542;
    color: #3a3a3a;
}

#fullpage>div#content5 .content {
    padding-top: 40px;
}


#fullpage .order {
    background-color: #f0f0f0;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid #dadada;
    color: #3a3a3a;
    position: relative;
}

#fullpage .order h1 {
    margin: 0;
    font-size: calc((100vw - 768px)/512 * 15 + 18px);
    font-weight: 400;
}

#fullpage .order p {
    font-size: calc((100vw - 768px)/512 * 8 + 14px);
}

#fullpage .order .btn {
    padding: 6px 12px;
    margin: 0;
}

#fullpage .order .right-btn {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
}

#fullpage .content {
    padding-top: 20px;
    color: white;
    font-size: calc((100vw - 768px)/512 * 5 + 11px);
}

#fullpage .content .contacts {
    font-size: calc((100vw - 768px)/512 * 4 + 14px);
}

#fullpage .content .contacts .tel a, #fullpage .content .contacts .email a {
    text-decoration: none;
    color: #fff;
    font-size: calc((100vw - 768px)/512 * 2 + 18px);
}


#fullpage .content h1 {
    font-size: calc((100vw - 768px)/512 * 15 + 18px);
    font-weight: 400;
}

#fullpage .content h2 {
    font-size: calc((100vw - 768px)/512 * 6 + 16px);
    margin: 0;
    text-align: center;
    margin-bottom: 25px;
}

#fullpage .content p:nth-of-type(3){
    font-weight: 400;
}

#fullpage .buttons {
    margin: 10px 0 20px 0;
    color: white;
    font-size: calc((100vw - 768px)/512 * 5 + 11px);
    position: relative;
}

#fullpage .buttons .text-right {
    position: absolute;
    right: 50px;
    bottom: 0;
}

#fullpage .buttons .btn,
#fullpage .content .title-list {
    margin: 0;
}

#fullpage .buttons .text-right a {
    position: relative;
    padding-right: 30px;
}

#fullpage .buttons .text-right a:after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 30px;
    background: url("../images/angle-right.svg") no-repeat center;
    background-size: contain;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);

}

#fullpage .content ul {
    list-style: none;
    margin: 0;
    margin-bottom: 15px;
}

#fullpage .content ul li:before {
    content:  "-";
    position: relative;
    left: -5px;
}

#fullpage .play-video {
    position: relative;
    width: 80%;
    margin: 0 auto;
    cursor: pointer;
}

#fullpage .play-video img {
    width: 90%;
    margin: 0 auto;
    display: block;
}


@keyframes pulse {
  0%, 100% {
    transform: scale3d(1, 1, 1);
  }

  50% {
    transform: scale3d(1.5, 1.5, 1.5);
  }

}

.pulse {
 animation: pulse 2s infinite;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 20px 27px;
    border: none;
    color: #8a8a8a;
    background-color: #e9e9e9;

}

.footer .right-btn {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
}

.footer .right-btn .btn {
    font-size: calc((100vw - 768px)/512 * 6 + 11px);
}

.footer .tel-description {
    font-size: calc((100vw - 768px)/512 * 6 + 12px);
}

.footer .tel {
    display: inline-block;
}

.footer .tel a {
    font-size: calc((100vw - 768px)/512 * 6 + 14px);
    color: #8a8a8a;
    text-decoration: none;
}

.footer .small-gray-text {
    font-size: calc((100vw - 768px)/512 * 4 + 12px);
    color: #c3c3c3;
}

#block-slaid1zagolovok p {
    color: #fff;
    font-size: calc((100vw - 768px)/512 * 15 + 18px);
    font-weight: 400;
    margin-bottom: 20px;
}

#block-slaid1opisanie p {
    font-size: calc((100vw - 768px)/512 * 8 + 14px);
    margin-bottom: 20px;
}

#fullpage .btn {
    color: #fff;
    font-size: calc((100vw - 768px)/512 * 6 + 11px);
    font-weight: 300;
    text-transform: initial;
    margin-top: 20px;
    margin-right: 20px;
    padding: 10px 20px;
}

@keyframes blink {
  0% {
    background-position-x: -60%;
  }

  25% {
    background-position-x: -250%;
  }


  100% {
    background-position-x: -250%;
  }

}

#fullpage .btn.btn-blue {
    background-color: #1d96cf;
    background: #1d96cf; /* Old browsers */
    background: -moz-linear-gradient(45deg, #1d96cf 0%, #1d96cf 42%, #82c6ff 50%, #1d96cf 59%, #1d96cf 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#1d96cf), color-stop(42%,#1d96cf), color-stop(50%,#82c6ff), color-stop(59%,#1d96cf), color-stop(100%,#1d96cf)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(45deg, #1d96cf 0%,#1d96cf 42%,#82c6ff 50%,#1d96cf 59%,#1d96cf 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(45deg, #1d96cf 0%,#1d96cf 42%,#82c6ff 50%,#1d96cf 59%,#1d96cf 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(45deg, #1d96cf 0%,#1d96cf 42%,#82c6ff 50%,#1d96cf 59%,#1d96cf 100%); /* IE10+ */
    background: linear-gradient(45deg, #1d96cf 0%,#1d96cf 42%,#82c6ff 50%,#1d96cf 59%,#1d96cf 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1d96cf', endColorstr='#1d96cf',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    background-size: 200%;
    background-position-x: -60%;
    animation: blink 3.5s infinite;
}

.blink {
 animation: blink 2s infinite;
}

#fullpage .btn.btn-default, .btn.btn-default {
    color: #8a8a8a;
    font-weight: 400;
    background-color: transparent;
}

#fullpage .btn.btn-transparent {
    background-color: transparent;
    border: 1px solid white;
}

@media (max-width:767px) {

    #navbar #myMenu,
    #navbar #myMenu li {
        float: none;
        text-align: center;
    }

    #navbar #myMenu li a {
        font-size: 14px;
    }

    #navbar .navbar-brand {
        font-size: 26px;
    }

    #navbar .logo {
        margin-left: 14px;
    }

    #block-slaid1zagolovok p {
        font-size: 16px;
    }

    #block-slaid1opisanie p {
        font-size: 13px;
    }

    #fullpage .btn, .footer .btn {
        font-size: 11px;
    }

    .footer .tel a {
        font-size: 14px;
    }

    .footer .right-btn .btn {
        font-size: 8px;
    }

    .footer .tel-description {
        display: none;
    }

    #fullpage .order h1 {
        font-size: 13x;
    }

    #fullpage .order p {
        font-size: 11px;
    }

    #fullpage .order h1 {
        font-size: 16px;
    }

    #fullpage .order p {
        font-size: 13px;
    }

    .wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }

    #fullpage .order .right-btn {
        right: 20px;
    }

    #fullpage .content {
        font-size: 11px;
    }

    #fullpage .content h1 {
        font-size: 16px;
    }

    #fullpage .btn {
        padding: 6px 12px;
    }

    #fullpage .buttons .text-right {
        right: 20px;
    }

    #fullpage .buttons p {
        font-size: 11px;
    }

    #fullpage .content h2 {
        font-size: 16px;
        margin: 10px 0;
    }

    .navbar-header .region-navigation {
        float:left;
    }

    #fullpage .content .contacts {
        font-size: 14px;
    }

    #fullpage .content .contacts .tel a,
    #fullpage .content .contacts .email a {
        font-size: 18px;
    }

     #fullpage>div#content1,
     #fullpage>div#content5 {
        height: 100vh!important;
    }

     #fullpage>div#content2,
     #fullpage>div#content3,
     #fullpage>div#content4,
     #fullpage>div#content5 {
        padding-top: 0px!important;
        padding-bottom: 0px!important;
    }

    .fp-scrollable, .slimScrollDiv, .fp-tableCell, .fp-table {
        height: auto!important;
    }
    
    #fullpage .play-video {
        width: 100%;
    }
    
    #fullpage .play-video img {
        width: 100%;
    }
}

@media (max-width: 648px) {

    #fullpage .buttons .text-right {
        right: 0px;
        position: static;
        text-align: center;
        margin-top: 10px;
    }

    #fullpage .buttons div {
        text-align: center;
    }

    #fullpage .order p {
        font-size: 8px;
    }
    
    #fullpage > div#content1 .fp-tableCell {
        background-position: top center;
    }
}

@media (max-width: 855px) and (min-width: 768px) {

    #navbar .logo {
        margin-left: 5px;
    }
}
