html{
  overflow-x:hidden;
  }

#inner-header {
  font-family: "Montserrat",sans-serif;
  height: 90px;
  margin: 0 auto;
  max-width: 1320px;
  overflow: hidden;
  position: relative;
}
#logo {
  position:absolute;
  display: block;
  height: 38px;
  margin-bottom: 0px;
  width: 195px;
}
#logo img {
  height: auto;
  max-width: 100%;
}

#top-contact {
  color: #cc0033;
  font-size: 18px;
  font-weight: 400;
  line-height: 18px;
  margin-top: 13px;
  text-align: right;
}
#top-contact ul {
  float: right;
  list-style: outside none none;
  margin: 0;
  padding: 0;
}
#top-contact ul li {
  float: left;
  margin-left: 34px;
}
#phone-icon {
  color: #036536;;
  display: none;
  font-size: 30px;
  margin: 17px 28px 0 0;
  position: absolute;
  right: 65px;
  top: 0;
}

.padding-side-40px {
  padding-left:40px;
  padding-right:40px;
}

#studies {
  margin-bottom:50px;
}

#practices {
  margin-top: 2em;
  margin-bottom: 3em;
}

#solutions img:hover, #studies img:hover {
  opacity: 0.6;
}

#quotes-section {
  margin-bottom:20px;
}

.category-img {
  width:139px; 
  margin: 0 auto;
}

@media (max-width: 767px) {
  .category-btn {
    margin-top:25px;
  }
}

@media (max-width: 620px) {

    .display-small-banner-image {
      display: none;
    }
}

@media (min-width: 621px) {

    .display-large-banner-image {
      display: none;
    }
}

@media (max-width: 300px) {

    body {
      width: 300px;
    }
}

@media (max-width: 1199px) {

    .dotted-border-gridposition1 {
      border-bottom:1px dotted #ADD8E6;
      padding-bottom: 25px;
    }

     .dotted-border-gridposition2 {
        border-bottom:1px dotted #ADD8E6;
        padding-bottom: 25px;
     }
}

@media (min-width: 768px) {

     .dotted-border-gridposition2, .dotted-border-gridposition4 {
        border-left:1px dotted #ADD8E6;
     }
}
@media (max-width: 767px) {
      .dotted-border-gridposition3 {
          border-bottom:1px dotted #ADD8E6;
          padding-bottom: 25px;
      }
}


@media (min-width: 1200px) {

      .dotted-border-gridposition3 {
          border-left:1px dotted #ADD8E6;
      }
}

h1.middle {  
  position: absolute;
  width: 70%;
  z-index:3;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight:900;
  color:#ffffff; 
  text-align:center; 
  text-shadow: 3px 3px 1px #702828;
  margin-top: 0;
  right: 0%;
}

@media (min-width: 1700px) {

  h1.middle {
    font-size: 2.5em;
    top: 23%;
    left: 17%;
    line-height: 2.45;
  }

}

@media (min-width: 1550px) and (max-width: 1699px) {

  h1.middle {
    font-size: 2.25em;
    top: 24%;
    left: 16%;
    line-height: 2.35;
  }

}

@media (min-width: 1400px) and (max-width: 1549px) {

  h1.middle {

    font-size: 2.1em;
    top: 25%;
    left: 17%;
    line-height: 2.3;
  }
}

@media (min-width: 1240px) and (max-width: 1399px) {

  h1.middle {

    font-size: 1.95em;
    top: 27%;
    left: 16%;
    line-height: 2.1;
  }

}

@media (min-width: 1140px) and (max-width: 1239px) {

  h1.middle {
      font-size: 1.85em;
      top: 27%;
      left: 18%;
      line-height: 2.05;
  }

}

@media (min-width: 1015px) and (max-width: 1139px) {

  h1.middle {
      font-size: 1.7em;
      top: 28%;
      left: 18%;
      line-height: 2;
  }

}

@media (min-width: 860px) and (max-width: 1014px) {

  h1.middle {
    font-size: 1.6em;
    top: 30%;
    left: 17%;
    line-height: 1.85;
  }

}

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

  h1.middle {
      font-size: 1.5em;
      top: 31%;
      left: 18%;
      line-height: 1.75;
  }

}

@media (min-width: 720px) and (max-width: 767px) {
  
  h1.middle {
    width: 90%;
    font-size: 1.65em;
    top: 18%;
    left: 11%;
    line-height: 1.75;
  }
}

@media (min-width: 660px) and (max-width: 719px) {
  
  h1.middle {
    width: 90%;
    font-size: 1.5em;
    top: 23%;
    left: 10%;
    line-height: 1.55;
  }
}

@media (min-width: 621px) and (max-width: 659px) {
  
  h1.middle {
    width: 90%;
    font-size: 1.4em;
    top: 20%;
    left: 10%;
    line-height: 1.6;
  }
}

@media (min-width: 600px) and (max-width: 620px) {
  
  h1.middle {
    width: 90%;
    font-size: 1.5em;
    top: 20%;
    left: 11%;
    line-height: 1.6;
  }
} 

@media (max-width: 599px) {
 
  h1.middle {
    display: none;
  }

  .intro-backup {
    font-weight: bold;
  }

}

@media (max-width: 450px) {
 
  div.intro-backup h2 {
    font-size: 25px;
    line-height: 1.4;
  }
}

@media (min-width: 600px) {
 
  .intro-backup {
    display: none;
  }
}

.practices-text {
  font-family:Lato; 
  font-size: 18px; 
  line-height: 2.0;
  text-align: justify;
  padding-left: 5px;
  padding-right: 5px;
}

@media (min-width: 1200px) {

  .practices-text {
      height:365px;
      overflow:auto;
  }
}

@media (min-width:1120px) and (max-width: 1199px) {

  .practices-text {
      height:170px;
      overflow:auto;
  }

}

@media (min-width:1050px) and (max-width: 1119px) {

  .practices-text {
      height:200px;
      overflow:auto;
  }
}

@media (min-width:970px) and (max-width: 1049px) {

  .practices-text {
      height:215px;
      overflow:auto;
  }

}

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

  .practices-text {
      height:245px;
      overflow:auto;
  }

}


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

  .practices-text {
      height:285px;
      overflow:auto;
  }

}

@media (min-width: 991px) and (max-width: 1199px) {

  .container {
    width:auto;
  }

  .feat-text {
    margin: 5vw 5vh 0;
    width: 74%;
  }

  .feat-text p {
    margin: 2vw 0;
  }
  
  .feat-text h3 {
    font-size: 23px;
    line-height: 27px;
  }

  .price-outer h4 span, #summary h4 span {
    font-size:2.5vw;
  }

}


@media (max-width: 991px) {
  
  .container {
    width:auto;
  }

  #top-contact {
    margin-right: 89px;
    margin-top: 36px;
  }
  
  #banner-home {
    font-size: 6vw;
    line-height: 6vw;
  }
  
  #banner-home h1 { 
    font-size: 2.5vw;
    line-height: 7vw;  
  }
  
  #banner-home h2 {
    display:none;
  }
  
  .feat-image {
    height: 46vw;
    overflow: hidden;
  }
  
  .feat-text, .feat-text.right {
    float: none;
    margin: 7vw auto;
    text-align: center;
  }
  
  .owl-buttons { display:none; }
  
  #address, #map-small { min-height:400px; height:auto; }
  
  #address-inner {
    padding: 77px 5% 0;
    text-align: center;
  }
  
  .price-content #description, .price-content #summary, .price-content .price-outer  { width:100%; }
  .price-content #description { margin: 55px 0 0; }
  .price-content #summary {margin:55px 0; }
  
  #icon-slider-outer {
    padding: 75px 0;
    width:75%;
  }
  
  #icon-slider-inner h3 {
    font-size: 22px;
    line-height: 30px;
  }

}

@-ms-viewport { width: device-width; }

@media (min-width: 768px) and (max-width: 979px) {
  
  .hidden-desktop  { display: inherit !important; }
  .visible-desktop  { display: none !important ; }
  .visible-tablet  { display: inherit !important; }
  .hidden-tablet  { display: none !important; }
}

@media (max-width: 767px) {
  .hidden-desktop  { display: inherit !important; }
  .visible-desktop  { display: none !important; }
  .visible-phone  { display: inherit !important; }
  .hidden-phone    { display: none !important; }
  
  #default-banner h1, #home-banner {
    font-size: 4.5vw;
    line-height: 2.8vw;
  }
   
   #top-contact { font-size:15px; }
   
}

.carousel-control.left,.carousel-control.right  {background:none;width:25px;}
.carousel-control.left {left:-25px;}
.carousel-control.right {right:-25px;}
.broun-block {
  /*background: url("http://myinstantcms.ru/images/bg-broun1.jpg") repeat scroll center top rgba(0, 0, 0, 0);*/
  padding-bottom: 34px;
}
.block-text {
  background-color: #fff;
  border:3px solid gray;
  border-radius: 5px;
  box-shadow: 3px gray
  /*box-shadow: 0 3px 0 gray;*/
  color: #626262;
  font-size: 14px;
  margin-top: 27px;
  padding: 15px 18px;
}
.block-text a {
 color: #7d4702;
  font-size: 25px;
  font-weight: bold;
  line-height: 21px;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.mark {
  padding: 12px 0;background:none;
}
.block-text p {
  color: #585858;
  font-family: Georgia;
  font-style: italic;
  line-height: 20px;
}
.sprite-i-triangle {
  background-position: 0 -1298px;
  height: 44px;
  width: 50px;
}
.block-text ins {
  bottom: -44px;
  left: 50%;
  margin-left: -60px;
}


.block {
  display: block;
}
.zmin {
  z-index: 1;
}
.ab {
  position: absolute;
}

.rel {
  position: relative;
}

p.speech
{
  position: relative;
  width: 200px;
  height: 100px;
  text-align: center;
  line-height: 100px;
  background-color: #fff;
  border: 8px solid #036536;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  -webkit-box-shadow: 2px 2px 4px #888;
  -moz-box-shadow: 2px 2px 4px #888;
  box-shadow: 2px 2px 4px #888;
}

p.speech:before
{
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: 30px;
  top: 100px;
  border: 25px solid;
  border-color: #036536 transparent transparent #036536;
}

p.speech:after
{
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: 38px;
  top: 100px;
  border: 15px solid;
  border-color: #fff transparent transparent #fff;
}

.thumbnail {
  background:none;
  border:none;
}

.box {
  background:#FFF;
}

.effect5
{
  position: relative;
  margin: 0px auto;
  padding:20px;
}
.effect5:before, .effect5:after
{
  z-index: -1;
  position: absolute;
  content: "";
  bottom: 25px;
  left: 10px;
  width: 50%;
  top: 80%;
  max-width:300px;
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
}
.effect5:after
{
  transform: rotate(8deg);
  right: 10px;
  left: auto;
}

.glyphicon{
font-size:50px;
color: #036536;
}

.quotes{
font-family:Lato; 
font-size:19px;
font-style:italic;
}

.header {
  font-size: 35px;
  text-transform: uppercase;
  letter-spacing: 5px;
}


.description {
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1.3em;
  margin: -2px 0 45px;
}


.input {
  display: flex;
  align-items: center;
}


.button {
  height: 44px;
  border: none;
}

  
#email {
  width: 75%;
  background: #FDFCFB;
  font-family: inherit;
  color: #737373;
  letter-spacing: 1px;
  text-indent: 5%;
  border-radius: 5px 0 0 5px;
}


#submit {
  width: 25%;
  height: 46px;
  background:#000000;
  font-family: inherit;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 1px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: background .3s ease-in-out;
}
  

#submit:hover {
  background: #d45d7d;
}  

input:focus {
  outline: none;
  outline: 2px solid black;
  box-shadow: 0 0 2px black;
}

h4.heading {
    display: table;
    width: 100%;
}
.hline {
    display: table-cell;
    width: 100%;
    border: none;
}
.hline:after {
    content: '';
    border-top: 1px dotted black;
    width: 100%;
    display: inline-block;
    vertical-align: middle;
}

/* ------------------------------------------
  FIXED HEADER
--------------------------------------------- */

header {
  background: #70BF08;
  position: fixed;
  z-index: 3;
  width: 100%;
  left: 0;
  top: 0;
}

.logo {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  text-decoration: none;
  font-weight: bold;
  line-height: 55px;
  padding: 0 20px;
  color: #fff;
  float: left;
}

.fixed {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
}

.nav-collapse,
.nav-collapse * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.nav-collapse,
.nav-collapse ul {
  list-style: none;
  width: 100%;
  float: left;
}

@media screen and (min-width: 40em) {
  .nav-collapse {
    float: right;
    width: auto;
  }
}

.nav-collapse li {
  float: left;
  width: 100%;
}

@media screen and (min-width: 40em) {
  .nav-collapse li {
    width: auto;
  }
}

.nav-collapse a {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  border-top: 1px solid white;
  text-decoration: none;
  background: #70BF08;
  padding: 0.7em 1em;
  color: #fff;
  width: 100%;
  float: left;
}

.nav-collapse a:active,
.nav-collapse .active a {
  background: #b73214;
}

@media screen and (min-width: 40em) {
  .nav-collapse a {
    border-left: 1px solid white;
    padding: 1.02em 2em;
    text-align: center;
    border-top: 0;
    float: left;
    margin: 0;
  }
}

.nav-collapse ul ul a {
  padding-left: 2em;
}

@media screen and (min-width: 40em) {
  .nav-collapse ul ul a {
    display: none;
  }
}


/* ------------------------------------------
  NAV TOGGLE STYLES
--------------------------------------------- */

@font-face {
  font-family: "responsivenav";
  src:url("../icons/responsivenav.eot");
  src:url("../icons/responsivenav.eot?#iefix") format("embedded-opentype"),
    url("../icons/responsivenav.ttf") format("truetype"),
    url("../icons/responsivenav.woff") format("woff"),
    url("../icons/responsivenav.svg#responsivenav") format("svg");
  font-weight: normal;
  font-style: normal;
}

.nav-toggle {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-decoration: none;
  text-indent: -300px;
  position: relative;
  overflow: hidden;
  width: 60px;
  height: 55px;
  float: right;
}

.nav-toggle:before {
  color: #fff; /* Edit this to change the icon color */
  font: normal 28px/55px "responsivenav"; /* Edit font-size (28px) to change the icon size */
  text-transform: none;
  text-align: center;
  position: absolute;
  content: "\2261"; /* Hamburger icon */
  text-indent: 0;
  speak: none;
  width: 100%;
  left: 0;
  top: 0;
}

.nav-toggle.active:before {
  font-size: 24px;
  content: "\78"; /* Close icon */
}

video{
width: 100%; 
height: auto;
z-index:1;
}

video:before{
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  padding-right: 40px;
  border-radius: 5px;
}

.main{
  -webkit-filter: grayscale(100%); /* Chrome, Safari, Opera */
filter: grayscale(100%);
}

.overlay{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color:#036536;
  opacity:0.3;
}
/*
nav ul li a {
  font-weight:bold;
  letter-spacing: 1px;
} */