﻿.navbar {
    position: relative;
    z-index: 3;
    height: 100px;
    padding-right: 30px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: #fff;
}
.logo {
    padding-left: 135px;
    margin: 0;
    position: relative;
    height: 100%;
    line-height: 100px;
    top: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.logo:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    height: 100px;
    width: 135px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    background-position: 100% 0;
    background-image: url(bg-top.png);
}
.logoItem {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
}
.logoItem img {
    height: 55px;
    vertical-align: middle;
    max-width: 100%;
    border-style: none;
}
.mainNav ul li {
    list-style-type: none;
}
.mainNav ul.menu>li {
	height: 100%;
	display: -webkit-inline-box;
	display: -webkit-inline-flex;
	display: -moz-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	margin: 0 20px;
}
.tools {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.toolsItem {
    display: inline-block;
    margin: 0 15px;
    list-style-type: none;
    line-height: 1;
}
.toolsItem a {
    color: #301d55;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
	text-decoration:none;
}
.toolsItem a:hover {
    color: #d43a4b;
}
.toolsItem a:before {
    font-size: 20px;
}
.toolsItem--contact a:before{
	content:"";
	font-family:theme-font;
	line-height:1;
}
.tools>div {
    margin-right: 5px;
    margin-bottom: 2px;
}
@font-face {
	font-family:theme-font;
	font-weight:400;
	font-style:normal;
	font-display:swap;
	src:url(theme-font.woff) format("woff")
}

*, ::after, ::before {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: 0;
}

.section {
    margin-bottom: 110px;
    margin-top: 80px;
}

.footer {
    background: #574940;
    color: #fff;
    padding: 85px 0 80px;
    position: relative;
    font-size: 1.4rem;
}
.footerLogo {
    width: 400px;
    margin: 0 auto;
}
.footerLogo  img {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
    border-style: none;
}
.container:after {
    content: "";
    display: block;
    clear: both;
}
.footerPartner {
    margin-top: 50px;
}
.footerPartner ul {
    text-align: center;
}
.footerPartner li {
    display: inline-block;
    margin: 0 20px;
    list-style-type: none;
}
.footerPartner li img {
    opacity: .5;
    -webkit-transition: .2s ease;
    -o-transition: .2s ease;
    -moz-transition: .2s ease;
    transition: .2s ease;
    height: 75px;
    vertical-align: middle;
    max-width: 100%;
    border-style: none;
}



@media screen and (min-width: 959px){
	.mainNav, .mainNav ul {
		height: 100%;			
		margin-block-start: 0;
		margin-block-end: 0;
		margin-inline-start: 0;
		margin-inline-end: 0;
		padding-inline-start: 0;
	}
	.mainNav ul li {
		list-style-type: none;
	}
	.mainNav ul.menu>li>a {
		position: relative;
		height: 100%;
		display: -webkit-box;
		display: -webkit-flex;
		display: -moz-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: center;
		-webkit-justify-content: center;
		-moz-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
		-webkit-box-align: center;
		-webkit-align-items: center;
		-moz-box-align: center;
		-ms-flex-align: center;
		align-items: center;
	}
	.mainNav ul a {
		font-weight: 700;
		color: #301d55;
		text-transform: uppercase;
		text-decoration: none;
		-webkit-transition: .2s ease;
		-o-transition: .2s ease;
		-moz-transition: .2s ease;
		transition: .2s ease;
	}
	.mainNav ul a:hover {
		color: #d43a4b;
	}
}


@media screen and (max-width: 1150px){
	.navbar {
		padding-right: 0;
	}
	.mainNav ul.menu>li {
		margin: 0 10px;
	}
}


@media screen and (max-width: 959px){
	.mainNav {
		width: 70vw;
		height: 100%;
		position: fixed;
		top: 0;
		background-color: #301d55;
		z-index: 4;
		right: -100%;
		padding: 80px 20px 0;
		-webkit-transition: .2s ease;
		-o-transition: .2s ease;
		-moz-transition: .2s ease;
		transition: .2s ease;
	}
	.footerCopyright {
		padding: 30px 0 25px;
	}
}


@media screen and (max-width: 959px) and (max-width: 739px){
	.mainNav {
		width: 100vw;
	}
}


@media screen and (max-width: 1070px){
	.mainNav {
		display: none;
	}
}

