/*FOOTER*/

.back_to_top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 9999;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  background: #786F4A;
  color: #fff;
  cursor: pointer;
  border-radius: 2px;
  display: none;
}

.back_to_top:hover {
  background: #fff;
  color: #84600a;
}

.back_to_top-show {
  display: block;
}

.footer_top{
	background: #14191d;
	padding: 55px 0 76px;
}

.footer_top2 {
	background: #13191D;
    padding: 55px 0 76px;
}

.ndt_play{
	display: none;
}

.foot_dots{
	display: none;
}

.foot_map{
	text-align: center;
}

.foot_map iframe{
	width: 1170px;
	height: 511px;
}

.footer_bottom{
	background: url(../img/our_contacts.jpg) no-repeat;
	background-size: cover;
	height: 838px;	
}

.footer_contacts{
	padding: 55px 0 0 0;
	font-family: 'RobotoSlab';
	width: 1150px;
	margin: 0 auto;
}

.contacts_title{
	font-weight: 700;
	font-size: 50px;
	color: #fff;
	margin-bottom: 110px;
	display: block;
}

.footer_block{
	display: flex;
	justify-content: space-between;
	margin-bottom: 40px;
}

.footer_flex{
	display: flex;
	flex-direction: flex;
}

.footer_text{
	color: #fff;
	width: 355px;
}

.footer_text a{
	color: #fff;
}

.foot_adr{
	display: flex;
	align-items: flex-start;
	margin: 0 80px 15px 0;
}

.foot_adr img, .cont_tel_bl img, .cont_mail img{
	margin-right: 13px;
	width: auto;
}

.foot_adr span{
	font-weight: 400;
	font-size: 15px;
	line-height: 17px;
	display: block;
}

.cont_tel_bl{
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}

.cont_tel_bl a{
	color: #fff;
	/*font-weight: 700;*/
}

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

.footer_info2{
	color: #fff;
	width: 420px;
}

.footer_line{
	border-bottom: 1px solid #fff;
	margin-bottom: 40px;
}

.cont_tel_bl2{
	display: flex;
	align-items: center;
	margin-bottom: 30px;	
}

.cont_tel_bl2 a{
	color: #fff;
}

.cont_tel_bl2 img{
	margin-right: 13px;
}

.foot_soc{
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
}

.foot_soc a{
	margin-bottom: 47px;
	width: 40px;
	height: 40px;
}

.foot_soc a:last-child{
	margin-bottom: 0;
}

.foot_tg{
	background: url(../img/logo/tg_hover.png);
}

.foot_f{
	background: url(../img/logo/f_hover.png);
}

.foot_vk{
	background: url(../img/logo/vk_hover.png);
}

.foot_yt{
	background: url(../img/logo/yt_hover.png);
}

.foot_tg:hover{
	background: url(../img/logo/tg.png);
}

.foot_f:hover{
	background: url(../img/logo/f.png);
}

.foot_vk:hover{
	background: url(../img/logo/vk.png);
}

.foot_yt:hover{
	background: url(../img/logo/yt.png);
}

.foot_line{
	border: 2px solid #fff;
	width: 179px;
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
}

.foot_line.t{
	position: absolute;
	top: -105px;
	left: -71px;
}

.foot_line.b{
	position: absolute;
	bottom: -60px;
	left: -71px;
}

.footer_title{
	font-size: 25px;
	font-weight: 700;
	color: #fff;
}

.frame_left img{
	width: 70%;
}

.frame_right img{
	width: 130px;
}

.frame_left {
    position: absolute;
    top: 0;

}

.frame_right {
    position: absolute;
    top: 20%;
    right: 0;
    
}
/*FOOTER END*/

/* modal */
.overlay-err {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 10;
	transition: all 0.3s ease;
	opacity: 0;
	visibility: hidden;
}

.overlay-err.open {
	visibility: visible;
	display: block;
	opacity: 1;
}

.popup-err {
	z-index: 11;
	position: fixed;
	top: 7%;
	left: 50%;
	transform: translateX(-50%);
	margin: 0 15px;
	max-width: 900px;
	width: calc(50% - 16px);
	max-height: 90vh;
	background-color: white;
	transition: all 0.5s ease;
	/* opacity: 1; */
	display: none;
	/*visibility: hidden;*/
	overflow-y: scroll;
	overflow-x: hidden;
	width: 90%;
}

.popup-err_main {
	background: #fff;
	padding: 40px;
}

.popup-err_block {
	width: 70%;
	display: flex;
	justify-content: center;
	margin: 0 auto 30px;
}

.popup-err_btn {
	display: flex;
	justify-content: space-between;
}

.popup-err_btn button {
	padding: 10px;
	background: #7B6F47;
	border: none;
	color: #fff;
	font-weight: 900;
}

.popup-err_btn button:hover {
	background: #fff;
	color: #7B6F47;
	cursor: pointer;
	outline: 1px solid #7B6F47;
}

.popup-err_main img {
	margin-right: 20px;
	/*width: 120%;*/
}

.popup-err_block_text {
	justify-content: space-around;
	display: flex;
	flex-direction: column;
}

.popup-er_block_text span {
	font-size: 25px;
}

.popup-err_main_text span {
	font-size: 18px;
	font-weight: bold;
}

.popup-err.open {
	visibility: visible;
	/* opacity: 1; */
	display: block;
}

/*.close {
	cursor: pointer;
	color: #fff;
	font-size: 90px;
	position: absolute;
	right: 0px;
	top: -30px;
}

.close img {
	width: 50px;
}*/

.no-active-item {
	display: none;
}

.active-item {
	display: block;
}
/* end modal */

/*----------------------ADAPTIVE---------------------------*/



@media (max-width: 1380px) {
	.foot_map iframe{
		width: 80%;
	}

	.foot_dots{
		left: -70px;
	}
}

@media (max-width: 1210px) {
	.footer_contacts{
		width: unset;
		
	}

	.last_new{
		width: unset;
	}
}

@media (max-width: 1170px) {
	/*.footer_line.last{
		display: none;
	}*/

	.footer_block{
		justify-content: space-around;
	}

	.footer_flex{
		flex-direction: column;
		justify-content: center;
	}

	.footer_text{
		margin-bottom: 30px;
	}	
	.contacts_title {
	    font-weight: bold;
	    font-size: 35px;
	    text-align: center;
	    margin-bottom: 85px;
	}
	.footer_title {
	    font-size: 20px;
	    font-weight: bold;
	    margin-left: 14%;
	}
}

@media (max-width: 1025px) {

	
	.foot_adr img, .cont_tel_bl img, .cont_mail img{
		
		
	}
}





@media (max-width: 900px) {

	.contacts_title {
		font-weight: bold;
		font-size: 35px;
		text-align: center;
		margin-bottom: 85px;
		width: 90%;
	}
	.footer_bottom{
	background: url(../img/our_contacts.jpg) no-repeat;
	background-size: 100% 100%;
	/*height: 838px;*/	
	}
	.foot_adr img, .cont_tel_bl img, .cont_mail img {
		width: auto;
		
	}
	.cont_tel_bl a {
		font-weight: 100;
	}
	.footer_title {
		font-size: 20px;
		font-weight: bold;
		margin-left: 55px;
	}
	.footer_contacts {
		padding: 0 0 110px 0;
	}
	.back_to_top {
		right: 25px;
		border: 1px solid #fff;
	}	
}

@media (max-width: 480px) {
	.foot_dots,
	.foot_soc {
		display: none;
	}
	.footer_bottom{
		background: url(../img/footer-bg.png) no-repeat;
		background-size: 100% 100%;
		/*height: 838px;*/	
	}
	.footer_flex {
		margin-left: 10px;
	}

	.footer_contacts {
		padding: 50px 20px;
	}
	.footer_text {
		width: 100%;
	}
	
	.footer_title {
		margin:0;
	}
	.footer_info2 {
		width: auto;
	}
	.footer_top {
		padding: 25px 0 0;
	}
	.contacts_title {
		font-size: 25px;
		margin-bottom: 40px;
	}
}
