body {

}

.main_header {
  position: fixed;
  display: block;
  background-color: #fff;
  top: -110px;
  left: 0;
  right: 0;
  z-index:100; 
  /* border-top: 2px solid #6583a8; */
  box-sizing: content-box;
  border-bottom: solid 1px #FFFFFF;
  box-shadow: 0 3px 8px -5px rgba(0, 0, 0, .5);
  transition: top 0.3s;
  height: 100px;
}
.logo {display: flex; align-items: center; justify-content: center;}
.main_menu {display: flex; justify-content: center; padding: 0px 0px 0px 0px;}
.navbar-brand {display: flex; align-items: center; justify-content: center; padding: 0px; background-color: #fff; }
.navbar-brand img {width: 120px;}
.navbar {display: flex; height: 100px; align-items: center; justify-content: center; background-color: #fff; padding: 0px; padding-left: 30px; padding-bottom: 10px;}
.navbar-light {background-color: #fff;}
.navbar-nav .nav-item {padding: 0px 13px 0px 13px;}
.navbar-nav .nav-item .nav-link {font: normal 16px/20px OpenSansBold, sans-serif; color: #445972; border: none; text-decoration: none}
/*.navbar-nav .nav-item .nav-link:hover {font: normal 16px/20px OpenSansBold, sans-serif; color: #234670; border: none; transition: all 0.5s ease; text-decoration: none}*/
.nav-link {
  position: relative;
}
.nav-link::after {
  position: absolute;
  content: '';
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 1px;
  background: #000;
  width: 0;
  transition: 0.3s;
}
.nav-link:hover:after {
  width: 100%;
}


.navbar-toggler {background-color: #fff;}
.navbar-collapse {justify-content: center;}


.dropdown .dropdown-menu {
  display: block;
  visibility: hidden;
  opacity: 0;
  transition: all 0.2s ase;
  -moz-transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  transition: all 0.2s ease;  box-shadow: 0 0 8px 1px rgba(0, 0, 0, .2);
}

.dropdown:hover .dropdown-menu {
  visibility: visible;
  opacity: 1;
}
.dropdown {
  display: inline-block;
}

.navlink:before {
	display: flex;
	content: "";
	height: 50px;
	margin: 5px 0 0;
}



.anchor {
	position: relative;
	top: -100px;
}

@media screen and (max-width: 1200px) {
.anchor {
	position: relative;
	top: -180px;
}
}

.slogan {width: 800px; margin-top: 10px;}
.slogan h1 {font: normal 60px/80px OpenSansBold, sans-serif; color: #fff;}

@media screen and (max-width: 995px) {
	.slogan h1 {
		font: normal 50px/65px OpenSansBold, sans-serif; color: #fff;
	}
}
@media screen and (max-width: 757px) {
	.slogan h1 {
		font: normal 45px/55px OpenSansBold, sans-serif; color: #fff;
	}
}

@media screen and (max-width: 510px) {
	.slogan h1 {
		font: normal 35px/45px OpenSansBold, sans-serif; color: #fff;
		margin-left: 10px;
	}
}

@media screen and (max-width: 380px) {
	.slogan h1 {
		font: normal 35px/45px OpenSansBold, sans-serif; color: #fff;
		margin-top: -70px;
	}
}


.header1 {position: absolute; top: 15px; left: 30px;  background-color: #0f4c83; font: normal 3em OpenSansBold, sans-serif; color: #fff; padding: 10px 30px 10px 30px;}



.header2 {position: absolute; top: 15px; right: 30px;  background-color: #0f4c83; font: normal 3em OpenSansBold, sans-serif; color: #fff; padding: 10px 30px 10px 30px;}





.p-first {}
.p-first::first-letter {
  font-size: 2em;
  color: #0f4c83;
  font-weight: bold;
}

.about {margin: 0; padding: 0; overflow: hidden;}
.uslugi {margin: 0; padding: 0; overflow: hidden;}
.contact {margin: 0; padding: 0; overflow: hidden;}



form {
  width: 100%;
 /* height: 30px;*/
  position: relative;
}
 
input[type="text"] {
  display: block;
  width: 100%;
  /*height: 100%;*/
  border: 1px solid #999;
  border-radius: 5px;
}
 
input[type="submit"]:hover {
  background: #444;
  color: #fff;
}

.send {display: inline-block; width: 150px; padding: 10px 30px 10px 30px; text-decoration: none; cursor: pointer; background: #023f76; font: bold 13px/13px verdana; color: #fff; border-radius: 3px; margin-top: 5px;}
#result_form {font: 18px/19px OpenSansRegular; color: #e17713; margin-top: 10px;}
.star {font: 12px/12px OpenSansRegular; color: red;}
textarea { display: block; width: 100%; border: 1px solid #999; }
.icon {display: flex; justify-content: center; align-items: center; padding: 10px 10px 10px 0px;}

.contacts {display: flex; justify-content: left; align-items: center; vertical-align: middle; padding-top: 0px;}
.request {display: flex; justify-content: center;}

.anchor {
	position: relative;
	top: -30px;
}

@media screen and (max-width: 580px) {
	.form-class {
		
		padding-left: 0vh;
	}
	.icons {padding-left: 0vh;}
}

footer {
  position: relative;
  padding-bottom: 40px;
//  height: 185px;
//  max-height: 185px;
  margin-top: 0px;
  background: #023f76;
  font: 18px/30px OpenSansRegular;
  color: #fff;
  //padding: 0px;
  /*box-shadow: 0px -4px 10px 1px rgba(0, 0, 0, .3);*/
  z-index: 1;
  overflow: hidden;
}
footer .qr, .copy, .f_menu, .addr_email, .question {padding-top: 30px; margin-top: 30px;}
footer a {color: #000; text-decoration: underline;}
footer a:hover {color: #607d8b; text-decoration: underline;}

footer .info {text-align: center;}

@media screen and (max-width: 480px) {
	footer {
		font: 14px/18px OpenSansRegular;
		margin-top: 10px;
		}
	footer .info {
	padding-bottom: 10px;
	}
}


.on_top {position: fixed; bottom: 20px; right: 40px; z-index: 100000; display: none;}
.on_top button {width: 45px; height: 45px; background: url('/img/on_top.png') no-repeat center center; background-color: #e17713; border: 1px solid #fff; border-radius: 3px; }
.on_top button:hover {width: 45px; height: 45px; background: url('/img/on_top.png') no-repeat center center; background-color: #4488bb; border: 1px solid #fff; border-radius: 3px; transition: 0.3s; cursor: pointer;}

#scroll_top {
	display: none;
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 45px;
	height: 45px;
	background: url('/img/on_top.png') no-repeat center center;
	background-color: #e17713;
	border: 1px solid #fff;
	border-radius: 3px;
	opacity: 0.5;
	z-index: 100000;
}
#scroll_top:hover {
	width: 45px; height: 45px; background: url('/img/on_top.png') no-repeat center center; background-color: #4488bb; border: 1px solid #fff; border-radius: 3px; transition: 0.3s; cursor: pointer;
 	opacity: 1;
}
