* {
-webkit-font-smoothing: subpixel-antialiased;
/*-webkit-transform: translateZ(0);*/
}

body {
  overflow-x: hidden;
  font-family: 'Roboto Slab', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

p {
  line-height: 1.75;
}

a {
  color: #fed136;
}

a:hover {
  color: #fec503;
}

.popup_toggle {outline: none;}
.col-centered{
    float: none;
    margin: 0 auto;
}

.text-primary {
  color: #fed136 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

section {
  padding: 100px 0;
}

section h2.section-heading {
  font-size: 40px;
  margin-top: 0;
  margin-bottom: 75px;
  width: 100%;
}

section h3.section-subheading {
  font-size: 16px;
  font-weight: 400;
  /*font-style: italic;*/
  margin-bottom: 75px;
  text-transform: none;
  font-family: 'Roboto Slab', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
img {
    vertical-align: middle;
    border-style: none;
    max-width: 100%;
    height: auto;
}

@media (min-width: 768px) {
  section {
    padding: 150px 0;
  }
}

.btn {
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
}

.btn-xl {
  font-size: 18px;
  padding: 20px 40px;
}

.btn-primary {
  background-color: #fed136;
  border-color: #fed136;
}

.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
  background-color: #fec810 !important;
  border-color: #fec810 !important;
  color: white;
}

.btn-primary:active, .btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(254, 209, 55, 0.5) !important;
}

::-moz-selection {
  background: #fed136;
  text-shadow: none;
}

::selection {
  background: #fed136;
  text-shadow: none;
}

img::selection {
  background: transparent;
}

img::-moz-selection {
  background: transparent;
}

#mainNav {
  background-color: #212529;
}
.navbar-expand-lg>.container, .navbar-expand-lg>.container-fluid {
    position: relative;
}
#mainNav .navbar-toggler {
  font-size: 12px;
  right: 0;
  padding: 13px;
  text-transform: uppercase;
  color: white;
  border: 0;
  /*background-color: #fed136;*/
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

  .nav-button {
      position: absolute;
      right: 69px;
      top: 13px;
      padding: 0;
      font: normal normal normal 2.5em/1 FontAwesome;
      color: #fff;
      cursor: pointer;
  }
    .nav-button:before {
      content: "\f095";
  }

#mainNav .navbar-brand {
  color: #fed136;
  font-family: 'Kaushan Script', 'Helvetica Neue', Helvetica, Arial, cursive;
  max-width: 25%;
}

#mainNav .navbar-brand img {
    width: 30%;
    height: auto;
    min-width: 70px;
}
#mainNav .navbar-brand.active, #mainNav .navbar-brand:active, #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
  color: #fec503;
}

#mainNav .navbar-nav .nav-item .nav-link {
  font-size: 90%;
  font-weight: 400;
  padding: 0.75em 0;
  letter-spacing: 1px;
  color: white;
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
  color: #fed136;
}
.fa-navicon:before, .fa-reorder:before, .fa-bars:before {
    font-size: 3em;
}

@media (min-width: 992px) {
  #mainNav {
    padding-top: 25px;
    padding-bottom: 25px;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    transition: 0.3s;
    border: none;
    background-color: transparent;
  }
  #mainNav .navbar-brand {
    font-size: 1.75em;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
  }
  #mainNav .navbar-nav .nav-item .nav-link {
    padding: 1.1em 1em !important;
  }
  #mainNav.navbar-shrink {
    padding-top: 0;
    padding-bottom: 0;
    background-color: #212529;
  }
  #mainNav.navbar-shrink .navbar-brand {
    font-size: 1.25em;
    padding: 12px 0;
  }
  .nav-button {
      color: #fff;
      position: relative;
      border: 2px solid #fed136;
      padding: 13px 40px;
      right: auto;
      top: auto;
      margin-left: 50px;
      margin-left: 50px;
      border-radius: 30px;
      font-size: 90%;
      font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }
.nav-button:before {
      content: "Заказать звонок";
  }
  .nav-button:hover {
      color: #fed136;
  }
  
}

header.masthead {
    text-align: center;
    color: white;
    background-image: url(../img/header.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    /* align-content: center; */
    /* justify-items: center; */
    justify-content: center;
}


header.masthead .intro-text .intro-lead-in {
  font-size: 22px;
  font-style: italic;
  line-height: 22px;
  margin-bottom: 25px;
  font-family: 'Times New Roman', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

header.masthead .intro-text .intro-heading {
  font-size: 50px;
  font-weight: 700;
  line-height: 50px;
  margin-bottom: 25px;
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
#Action {
    position: relative;
}
.action_left img {width: 50%; height: auto; }
.action_right h2.section-heading, .action_right h3.section-heading {
    font-size: 1.5em;
}
/*#Action:before {
    content: '';
    position: absolute;
    width: 10em;
    height: 10em;
    bottom: calc(0px - 0em);
    left: calc(50% - 0em);
    background: url(../img/special.png) no-repeat;
    background-size: contain;
    opacity: 0.5;
} */

@media (min-width: 768px) {
  header.masthead .intro-text .intro-lead-in {
    font-size: 2em;
    font-style: italic;
    line-height: 1.2em;
    margin-bottom: 25px;
    font-family: 'Times New Roman', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }
  header.masthead .intro-text .intro-lead-in > div {
    font-size: 0.8em;
  }
  header.masthead .intro-text .intro-heading {
    font-size: 3em;
    font-weight: 700;
    line-height: 1em;
    margin-bottom: 50px;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
}

.service-heading {
  margin: 35px 0;
  text-transform: none;
}
.icon-scroll {
    width: 40px;
    height: 70px;
    margin-left: -20px;
    /* top: 50%; */
    margin-top: 25px;
    -webkit-box-shadow: inset 0 0 0 1px #fff;
    box-shadow: inset 0 0 0 1px #fff;
    border-radius: 25px;
    position: absolute;
    bottom: 20px;
    left: 50%;
}
.icon-scroll:before {
  content: '';
  width: 8px;
  height: 8px;
  background: #fff;
  margin-left: -4px;
  top: 8px;
  border-radius: 4px;
  position: absolute;
  -webkit-animation-duration: 2s;
          animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-name: scroll;
          animation-name: scroll;
}
@-webkit-keyframes scroll {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(46px);
            transform: translateY(46px);
  }
}
@keyframes scroll {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(46px);
            transform: translateY(46px);
  }
}
.fa-stack {
    position: relative;
    display: inline-block;
    width: 10em;
    height: 10em;
    line-height: 2em;
    vertical-align: middle;
    border: 2em solid transparent;
}
.fa-stack:before {
    content: '';
    position: absolute;
    width: 10em;
    height: 10em;
    left: -2em;
    top: -2em;
    background: #fed136;
    border-radius: 50%;
    z-index: -1;
}

section#why {
    padding-bottom: 0;
}

.advantage1, .advantage2, .advantage3 {
    background: url(../img/advantage1.png) 50% 50% no-repeat;
    background-size: contain;
}
.advantage2 {
    background: url(../img/advantage2.png) 50% 50% no-repeat;
    background-size: contain;
}
.advantage3 {
    background: url(../img/advantage3.png) 50% 50% no-repeat;
    background-size: contain;
}

#portfolio h2, #portfolio h4 {
    width: 100%;
}
#portfolio, #portfolio .container {
    position: relative;
    padding: 2em 0;
    overflow: hidden;
}

#portfolio .portfolio_wrap {
    position: absolute;
    top: 0;
    width: 100%;
    background: url(../img/dots.png);
    color: #fff;
    height: 615px;
    padding-top: 100px;
}
#portfolio .portfolio-item .portfolio-caption p {
  font-size: 16px;
  font-style: italic;
  margin: 0;
  font-family: 'Times New Roman', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h4.portfolio-heading  {
    font-size: 1.333em;
    font-weight: 400;
    /* font-style: italic; */
    margin: auto;
    text-transform: none;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    cursor: default;
}

.portfolio-button {
    color: #fff;
    margin: 50px auto 0;
    position: relative;
    border: 2px solid #fed136;
    background: rgba(0,0,0,0.5);
    padding: 13px 40px;
    border-radius: 30px;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
@media (min-width: 767px) {
  h4.portfolio-heading  {
    margin: 1em auto;
  }
  .portfolio-button {
    margin: 75px auto 0;
  }
}

.slicker_slider {
    padding-bottom: 615px;
    background-size: cover;
    background-position: 50% 50%;
}

@media (min-width: 767px) {
  #portfolio .portfolio-item {
    margin: 0 0 30px;
  }
}





.modal-backdrop.show {
    opacity: .8;
}
.portfolio-modal {
  padding-right: 0px !important;
}

.portfolio-modal .modal-dialog {
    margin: 0 auto;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portfolio-modal .modal-content {
  padding: 50px 0;
  text-align: center;
}

.portfolio-modal .modal-content h2 {
  font-size: 2em;
  margin-bottom: 15px;
}

.portfolio-modal .modal-content p {
  margin-bottom: 30px;
}

.portfolio-modal .modal-content p.item-intro {
  font-size: 16px;
  font-style: italic;
  margin: 20px 0 30px;
  font-family: 'Times New Roman', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.portfolio-modal .modal-content ul.list-inline {
  margin-top: 0;
  margin-bottom: 30px;
}

.portfolio-modal .modal-content img {
  margin-bottom: 30px;
}

.portfolio-modal .modal-content button {
  cursor: pointer;
}

.portfolio-modal .close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 50px;
    height: 40px;
    cursor: pointer;
    background-color: transparent;
}

.portfolio-modal .close-modal:hover {
  opacity: 0.3;
}

.portfolio-modal .close-modal .lr {
    z-index: 1051;
    width: 1px;
    height: 40px;
    margin-left: 35px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    background-color: #212529;
}

.portfolio-modal .close-modal .lr .rl {
    z-index: 1052;
    width: 1px;
    height: 40px;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    background-color: #212529;
}

/******** STEPS **********/
section#steps {
    padding-bottom: 0;
}
section#steps .fa-stack:before {content: none;}
section#steps .fa-stack {border: 1em solid transparent;}
section#steps .col-md-2:nth-of-type(2n) {margin-top: 6em;}
section#steps .col-md-2 {
    padding-right: 0;
    padding-left: 0; 
}
section#steps .service-heading {
    margin: 0 0 1em;
    font-size: 1.3em;
}
section#steps .text-muted {
    font-size: 0.8em;
    margin-left: -10%;
    width: 120%;
}
.step1 {
    background: url(../img/step1.png) no-repeat 50% 50%;
    background-size: contain;
}
.step2 {
    background: url(../img/step2.png) no-repeat 50% 50%;
    background-size: contain;
}
.step3 {
    background: url(../img/step3.png) no-repeat 50% 50%;
    background-size: contain;
}
.step4 {
    background: url(../img/step4.png) no-repeat 50% 50%;
    background-size: contain;
}
.step5 {
    background: url(../img/step5.png) no-repeat 50% 50%;
    background-size: contain;
}
/******** END STEPS **********/

.timeline {
  position: relative;
  padding: 0;
  list-style: none;
}

.timeline:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  margin-left: -1.5px;
  content: '';
  background-color: #e9ecef;
}

.timeline > li {
  position: relative;
  min-height: 50px;
  margin-bottom: 50px;
}

.timeline > li:after, .timeline > li:before {
  display: table;
  content: ' ';
}

.timeline > li:after {
  clear: both;
}

.timeline > li .timeline-panel {
  position: relative;
  float: right;
  width: 100%;
  padding: 0 20px 0 100px;
  text-align: left;
}

.timeline > li .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}

.timeline > li .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}

.timeline > li .timeline-image {
  position: absolute;
  z-index: 100;
  left: 0;
  width: 80px;
  height: 80px;
  margin-left: 0;
  text-align: center;
  color: white;
  border: 7px solid #e9ecef;
  border-radius: 100%;
  background-color: #fed136;
}

.timeline > li .timeline-image h4 {
  font-size: 10px;
  line-height: 14px;
  margin-top: 12px;
}

.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
  padding: 0 20px 0 100px;
  text-align: left;
}

.timeline > li.timeline-inverted > .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}

.timeline > li:last-child {
  margin-bottom: 0;
}

.timeline .timeline-heading h4 {
  margin-top: 0;
  color: inherit;
}

.timeline .timeline-heading h4.subheading {
  text-transform: none;
}

.timeline .timeline-body > ul,
.timeline .timeline-body > p {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .timeline:before {
    left: 50%;
  }
  .timeline > li {
    min-height: 100px;
    margin-bottom: 100px;
  }
  .timeline > li .timeline-panel {
    float: left;
    width: 41%;
    padding: 0 20px 20px 30px;
    text-align: right;
  }
  .timeline > li .timeline-image {
    left: 50%;
    width: 100px;
    height: 100px;
    margin-left: -50px;
  }
  .timeline > li .timeline-image h4 {
    font-size: 13px;
    line-height: 18px;
    margin-top: 16px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    float: right;
    padding: 0 30px 20px 20px;
    text-align: left;
  }
}

@media (min-width: 992px) {
  .timeline > li {
    min-height: 150px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px;
  }
  .timeline > li .timeline-image {
    width: 150px;
    height: 150px;
    margin-left: -75px;
  }
  .timeline > li .timeline-image h4 {
    font-size: 18px;
    line-height: 26px;
    margin-top: 30px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    padding: 0 20px 20px;
  }
}

@media (min-width: 1200px) {
  .timeline > li {
    min-height: 170px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px 100px;
  }
  .timeline > li .timeline-image {
    width: 170px;
    height: 170px;
    margin-left: -85px;
  }
  .timeline > li .timeline-image h4 {
    margin-top: 40px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    padding: 0 100px 20px 20px;
  }
}

.team-member {
  margin-bottom: 50px;
  text-align: center;
}

.team-member img {
  width: 225px;
  height: 225px;
  border: 7px solid #fff;
}

.team-member h4 {
  margin-top: 25px;
  margin-bottom: 0;
  text-transform: none;
}

.team-member p {
  margin-top: 0;
}

section#contact {
  background-color: #212529;
  padding: 26px;
}
#contact .fa:before {color: #fed136;}
#contact .fa {font-size: 1.5em}
#contact .col-lg-6.text-left {
    padding-left: 50px;
}
section#contact .section-heading {
  color: #fff;
}

section#contact .form-group {
  margin-bottom: 25px;
}

section#contact .form-group input,
section#contact .form-group textarea {
  border-radius: 0;
}

section#contact .form-group input.form-control {
  height: auto;
}

section#contact .form-group textarea.form-control {
  height: 248px;
}

section#contact .form-control:focus {
  border-color: #fed136;
  box-shadow: none;
}

section#contact ::-webkit-input-placeholder {
  font-weight: 700;
  color: #ced4da;
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

section#contact :-moz-placeholder {
  font-weight: 700;
  color: #ced4da;
  /* Firefox 18- */
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

section#contact ::-moz-placeholder {
  font-weight: 700;
  color: #ced4da;
  /* Firefox 19+ */
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

section#contact :-ms-input-placeholder {
  font-weight: 700;
  color: #ced4da;
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

footer {
  padding: 25px 0;
  text-align: center;
}

footer span.copyright {
  font-size: 90%;
  line-height: 40px;
  text-transform: none;
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

footer ul.quicklinks {
  font-size: 90%;
  line-height: 40px;
  margin-bottom: 0;
  text-transform: none;
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

ul.social-buttons {
  margin-bottom: 0;
}

ul.social-buttons li a {
    font-size: 1em;
    line-height: 3.3em;
    display: block;
    width: 3em;
    height: 3em;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    color: white;
    border-radius: 100%;
    outline: none;
    text-align: center;
}

ul.social-buttons li a:active, ul.social-buttons li a:focus, ul.social-buttons li a:hover {
  background-color: #fff;
}

.form-control.error {
    background: #ffc9c9;
}



@media (max-width: 768px) {
  .icon-scroll {display: none !important;}
  header.masthead {
    background-attachment: scroll;
  }
  header.masthead .intro-text .intro-heading {
    font-size: 32px;
    line-height: 42px;
  }
  section#steps .text-muted {
    font-size: 1em;
    margin: auto;
    width: 90%;
  }
  section#steps .col-md-2:nth-of-type(2n) {
    margin-top: 0em;
  }
  section#steps .fa-stack {
    display: inline-block;
    width: 20%;
  }
  section#steps .fa-stack {
    display: inline-block;
    width: 20%;
    height: 7em;
}
  section#steps .service-heading {
    display: inline-block;
    width: 79%;
    font-size: 1.2em;
}
  section#steps .col-md-2 {
    padding-right: 0;
    padding-left: 0;
    text-align: left;
    font-size: .8em;
}
  #Action .col-sm-5.col-md-4.text-right.action_left {
    display: none;
  }
  #contact .col-lg-6.text-left, #contact .col-lg-6.text-right {
    text-align: center !important;
    padding: 0;
  }
}