.nav-logo {
    float: left;
    margin: 15px 30px 0 0;
    width: 250px;
}



/* responsive navbar */
#header {
    overflow: visible;
    display: table;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9;
    transition: ease all 0.2s;
}
.shrink {
    background: #1b3864;
}
.btn-header {
    position: absolute;
    right: 15px;
    top: 18px;
}

.nav-icon{
    width: 30px;
    height: 23px;
    position: absolute;
    margin: 0;
    top: 17px;
    right: 20px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    display: none;
}
.nav-icon span{
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #ffffff;
    border-radius: 0px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}
.nav-icon span:nth-child(1) {
    top: 0px;
}

.nav-icon span:nth-child(2),
.nav-icon span:nth-child(3) {
    top: 11px;
}

.nav-icon span:nth-child(4) {
    top: 22px;
}

.nav-icon.open span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
}

.nav-icon.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.nav-icon.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.nav-icon.open span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
}
.menu,
.menu .sub-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    float: right;
}
.menu li {
  float: left;
  margin: 0;
  position: relative;
}

.menu li:last-child {
  margin-right: 0;
}

.menu .sub-menu li {
  width: 100%;
}

.menu li a {
  display: block;
  text-decoration: none;
    height: 75px;
    line-height: 75px;
}

#top-nav li a {
  color: #8CC152;
  padding: 5px 0;
}

#top-nav .sub-menu {
  background: #fff;
}

#top-nav .sub-menu li a {
  padding: 5px;
}

#top-nav .sub-menu li > a:hover,
#top-nav .sub-menu li.selected > a {
  background: #8CC152;
  color: #000;
}

#primary-nav li a {
    color: #fff;
    padding: 0 15px;
    background-image: none;
}

#primary-nav li.active > a,
#primary-nav li > a:hover,
#primary-nav li.selected > a {
  background: #fff;
    /*background-image: linear-gradient(90deg,#683497,#3254ba);*/
  color: #101010;
}

.downarrow {
  	background: none;
  display: inline-block;
	  padding: 0;
  	text-align: center;
  min-width: 3px;
    vertical-align: text-bottom;
}

.sub-menu .downarrow {
  position: absolute;
  right: 0;
  padding-right: 10px;
}

.downarrow:before {
  content: '\25be';
  color: inherit;
  display: block;
	  font-family: sans-serif;
	  font-size: 24px;
  line-height: 1.1;
	  width: 1em;
  	height: 1em;
}

.menu .sub-menu {
  display: none;
  position: absolute;
  left: 0;
  max-height: 1000px;
}

.menu .sub-menu.hide {
  display: none;
}

#primary-nav .sub-menu {
  background: #dc2829;
  min-width: 220px;
  z-index: 200;
}

#primary-nav .sub-menu li {
  border-bottom: 1px solid rgba(0,0,0,0.2);
}
#primary-nav .sub-menu li a {
  height: auto;
    line-height: normal;
    padding: 10px;
    color: #fff;
}
#primary-nav .sub-menu li a:hover {
  background: #e3e3e3;
    color: #000;
}

#primary-nav .sub-menu li:last-child {
  border-bottom: 0;
}

#primary-nav .sub-menu .downarrow:before {
  content: '\25b8';
}

#primary-nav.mobile {
  display: none;
  position: relative;
  top: 100%;
  width: 100%;
}

#primary-nav.mobile li {
  width: 100%;
  margin: 0;
  border-bottom: 1px solid #ccc;
}

#primary-nav.mobile li.selected > a {
  border-bottom: 1px solid #ccc;
}

#primary-nav.mobile li:last-child {
  border: none;
}

#primary-nav.mobile li a {
  padding: 10px 15px;
    height: auto;
    line-height: normal;
}

#primary-nav.mobile .sub-menu li a {
  padding-left: 7%;  
}

#primary-nav.mobile .sub-menu .submenu li a {
  padding-left: 9%;  
}

#primary-nav.mobile .sub-menu .sub-menu .sub-menu li a {
  padding-left: 11%;  
}

#primary-nav.mobile .sub-menu {
  float: left;
  position: relative;
  width: 100%;
}

.mobile .downarrow,
.mobile .sub-menu .downarrow {
  position: absolute;
  right: 10px;
    top: 8px;
}

#primary-nav.mobile .sub-menu .downarrow:before {
  content: '\25be';
}
#primary-nav-button.mobile {
  display: inline-block;
}/* responsive nad end */


.hero-wrapper {
    display: table;
    position: relative;
    margin: 0;
}
.hero-text-group {
    position: absolute;
    z-index: 2;
    bottom: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-15%);
    width: 100%;
    max-width: 1140px;
}
.hero-text-group h1 {
    margin: 0;
    color: #fff;
    font-size: 51px;
}
.section-about {
    padding: 80px 0;
    position: relative;
    background: #1b3864;
}


.product-block {
    border-bottom: solid 2px #dc2829;
    margin: 0 0 30px 0;
    background: #fff;
    box-shadow: none;
    transition: ease all 0.2s;
}
.product-block:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.product-block h5 {
    font-size: 16px;
    margin: 15px 10px;
}
.product-block i {
    color: #dc2829;
    vertical-align: middle;
    transition: ease all 0.2s;
    font-size: 14px;
}
.product-block:hover h5 {
    color: #dc2829;
}
.product-block:hover i {
    margin-left: 5px;
}
.home-intro-wrapper {
    display: table;
    position: relative;
    width: 100%;
    padding: 80px 0;
}
.home-intro-wrapper:before {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    top: 0;
    right: 0;
    background: #f1f1f1;
    z-index: -1;
}
.intro-block {
    width: 100%;
    position: relative;
    background: #fff;
    padding: 40px;
    box-shadow: 0px 30px 50px rgba(0,0,0,0.15);
    color: #101010;
    margin: 0 0 30px 0;
    min-height: 350px;
}

.intro-block .btn {
    position: absolute;
    left: 40px;
    bottom: 40px;
}
.core-block {
	min-height: 400px;
}


footer {
    display: table;
    position: relative;
    width: 100%;
    background: #101010;
    padding: 40px 0 0 0;
    color: #fff;
    font-size: 14px;
}
.footer-logo {
    margin-bottom: 30px;
    max-width: 250px;
}
ul.footer-contact {
    margin: 0 0 30px 0;
    padding: 0;
    list-style: none;
}
ul.footer-contact li {
    position: relative;
    margin-bottom: 10px;
}
ul.footer-contact li a {
    color: #ccc;
    text-decoration: none;
}
ul.footer-contact li a:hover {
    color: #fff;
    text-decoration: underline;
}


ul.footer-links {
    margin: 0 0 30px 0;
    padding: 0;
    list-style: none;
    text-align: right;
}
ul.footer-links li {
    position: relative;
    margin-bottom: 5px;
    display: inline-block;
    margin: 0px 15px 10px 0;
}
ul.footer-links li a {
    color: #ccc;
    text-decoration: none;
}
ul.footer-links li a:hover {
    color: #fff;
    text-decoration: underline;
}
.social {
    font-size: 24px;
}
.footer-bottom {
    color: #999;
    width: 100%;
    padding: 15px 0;
}
.inner-wrapper {
    position: relative;
    display: table;
    width: 100%;
    padding-top: 75px;
}
/*
.inner-wrapper:before {
    position: absolute;
    z-index: -1;
    background: #1b3864;
    width: 100%;
    height: 300px;
    top: 0;
    left: 0;
    content: "";
}
*/
ul.list {
    margin: 0 0 30px 0;
    padding: 0;
    list-style: none;
}
ul.list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}
ul.list li i {
    position: absolute;
    top: 0;
    left: 0;
    color: #1b3864;
    transition: ease all 0.25s;
}

.product-img {
    margin-bottom: 15px;
}
.map {
    width: 100% !important;
}
.address {
    position: relative;
    padding-left: 35px;
}
.address i {
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 22px;
}
.form-success {
    display: table;
    font-size: 60px;
    margin: 0px auto 20px auto;
}
.form-wrapper {
    margin-bottom: 50px;
}

.parallax-window {
    min-height: 350px;
    background: transparent;
	position: relative;
}
.parallax-window h3 {
	width: 100%;
	text-align: center;
	position: absolute;
	z-index: 2;
	left: 0;
	top: 50%;
	transform: translateY(-55%) !important;
	margin: 0;
	color: #fff;
}
.parallax-slider {
	opacity: 0.4;
}



@media (max-width: 991px) {
    #header {
        position: relative;
        background: #1b3864;
    }
    .nav-logo {
      margin: 10px 0 10px 0;
    }
    .intro-block {
        min-height: auto;
    }
}
@media (max-width: 1199px) {
    .intro-block {
        min-height: 400px;
    }
}

@media (max-width: 991px) {
    .intro-block {
        min-height: auto;
    }
    .intro-block .btn {
        position: relative;
        left: auto;
        bottom: auto;
    }
}

@media (max-width: 768px) {
    
    .nav-icon{
       display: block;
    }
    .hero-text-group {
        position: relative;
        z-index: 2;
        top: auto;
        left: 0;
        width: 100%;
        transform: none;
        margin-top: 15px;
    }
    .hero-text-group h1 {
        margin: 0;
        padding: 15px 0px 40px 0;
        color: #fff;
        font-size: 36px;
    }
    .home-intro-wrapper {
        padding: 40px 0 80px 0;
    }
    .site-credit {
        float: left;
    }
    .inner-wrapper {
        padding-top: 0px;
    }
	.parallax-window {
		min-height: 250px;
	}
    .section-about {
        padding: 40px 0;
    }
    ul.footer-links {
        text-align: left;
    }
}
@media (max-width: 641px) {
    .intro-block {
        padding: 30px;
    }
}

@media (max-width: 481px) {
    .hero-text-group h1 {
        padding: 20px;
        font-size: 24px;
    }
}

