body.gray header {
	padding: 57px 72px 40px 152px;
	}

body.white header {
	padding: 26px 47px 0 152px;
	background-color: rgb(43, 54, 66);
	height: 79px;
	}

body.gray header,
body.gray footer {
	background-color: transparent;
	}

body.white header,
body.white footer {
	background-color: rgb(43, 54, 66);
	color: white;
	}

body.white footer {
	background-color: rgb(43, 54, 66);
	}

header .left {
	float: left;
	}

header .right {
	float: right;
	font-size: 32px;
	top: -18px;
	}

header .right img {
	margin: 0 12px 0 21px;
	top: 9px;
	}
	
header .right {
	font-family: pfdin-regular;
	text-transform: uppercase;
	}

header #city_code {
	color: rgb(249, 192, 0);
  	}

#show_menu {
	position: fixed;
	cursor: pointer;
	z-index: 3;
	text-align: left;
	}

body.white #show_menu {
	position: absolute;
	top: 0;
	left: 0;
	width: 130px;
	height: 160px;
	}

body.white #show_menu img {
	position: absolute;
	top: 26px;
	left: 50px;
	}

body.gray #show_menu {
	position: absolute;
	top: 0;
	left: 0;
	width: 130px;
	height: 120px;
	}

body.gray #show_menu img {
	left: 50px;
	top: 57px;
	}

/* ========================= */

#menu {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 0;
	background-color: rgba(0, 0, 0, .9);
	font-family: pfdin-regular;
	font-size: 23px;
	overflow: hidden;
	z-index: 2;
	color: white;
	transition: .3s;
 	}

#menu.scrollable {
    position: absolute !important;
	}

#menu.active {
	width: 260px;
	}

#menu .inner {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 300px;
	padding-top: 140px;
	opacity: 0;
	transition: .3s;
	}

#menu .inner.active {
	opacity: 1;
	}

#menu li {
	padding: 12px 50px 12px;
	text-transform: uppercase;
	margin-bottom: 7px;
 	}

#menu li.active {
	color: rgb(249, 192, 0);
 	}

#menu li:hover {
	background-color: rgb(249, 192, 0);
	color: black;
 	}

#video_wrap {
	position: fixed;
	overflow: hidden;
	top: 0;
	left: 0;
	z-index: 0;
	height: 100%;
	width: 100%;
	text-align: center;
	}

video {
	margin-left: auto;
	margin-right: auto;
	}

#video_wrap video {
	left: 0;
	top: 0;
	width: 100%;
	height: auto;
	}

#video_wrap.portrait video {
	height: 100%;
	width: auto;
	}

/* =============================== */

footer {
	font-family: Roboto-Thin;
	font-size: 16px;
	}

#content {
	height: 100%;
	display: table-row;
	}

#footer_wrap {
	display: table-row;
	}

body.gray footer {
	padding: 57px 48px 22px 50px;
	}

body.white footer {
	padding: 41px 48px 13px 50px;
	background-color: #3a4756;
	}

footer .col:nth-child(1) { text-align: left; }
footer .col:nth-child(2) { text-align: center; }
footer .col:nth-child(3) { text-align: right; }

footer .col:nth-child(2) img {
	top: -14px;
	left: -12px;
	}

footer .col:nth-child(2) span {
	top: -30px;
	left: 4px;
	}

footer .col:nth-child(3) img {
	top: -12px;
	}

/* =============================== */

#callback_wrap {
	position: fixed;
	z-index: 6;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	display: none;
	background-color: rgba(0, 0, 0, .45);
	transition: all .3s;
	}

#callback_wrap.active {
	opacity: 1;
	}

#callback_wrap .inner {
	display: table-cell;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	vertical-align: middle;
	text-align: center;
	}

#callback_form {
	margin: 0 auto;
	background-color: white;
	opacity: 0;
	padding: 31px 30px 27px;
	color: black;
	width: 535px;
	display: none;
	box-shadow: 0 0 4px rgb(100, 100, 100);
	transition: all .3s;
	}

#callback_form.active {
	opacity: 1;
	}

#callback_form input, 
#callback_form textarea {
	width: 100%;
	font-size: 18px;
	padding: 10px 8px;
	font-family: Roboto-Light !important;
	}

#callback_form textarea {
	height: 120px;
	min-height: 120px;
	max-height: 120px;
	min-width: 100%;
	max-width: 100%;
	}

#callback_form input {
	margin-bottom: 20px;
	}

.callback_ext input {
	margin-bottom: 30px !important;
	}

.callback_ext textarea {
	margin-bottom: 40px !important;
	}

#form_data {
	transition: all .3s;
	}

#callback_success {
	padding: 90px 0 100px;
	display: none;
	transition: all .3s;
	}

#callback_form .close_modal {
	width: 36px;
	height: 36px;
	position: absolute;
	top: 0;
	right: 0;
	cursor: pointer;
	background-image: url(../img/index/cross_2.png);
	background-size: 14px 14px;
	background-position: center center;
	background-repeat: no-repeat;
	background-color: rgb(249, 192, 0);
	border: none;
	}

#form_data p {
	font-family: pfdin-regular;
	text-transform: uppercase;
	font-size: 30px;
	padding: 0;
	margin-bottom: 15px;
	top: -8px;
	}

#callback_form button {
	padding: 10px 95px;
	font-size: 26px;
	background-color: rgb(239, 192, 0);
	text-transform: uppercase;
	border: none;
	}

#callback_success .main_text {
	text-transform: uppercase;
	font-size: 30px;
	font-family: pfdin-regular;
	margin-bottom: 10px;
	}

#callback_success .second_text {
	font-family: Roboto-Light;
	font-size: 18px;
	}

#header_email {
	display: inline;
	}

/* ========= */

.yellow_btn {
	transition: all .1s;
	}

.yellow_btn:hover {
	background-color: rgb(224, 172, 0) !important;
	border-color: rgb(224, 172, 0) !important;
	}

.yellow_btn:active {
	background-color: rgba(224, 172, 0, .8) !important;
	}

/* ======================== */
/* ======================== */
/* ======================== */

.header-social{
	display: flex;
	flex-wrap: wrap;
	float: right;
	align-items: center;
	justify-content: center;

	top: 5px;
	height: 51px;
	margin-left: 5px;
}

.header-social a{
	display: block;
	width: 100%;
	/*margin-bottom: 5px;*/
}

.header-social a img{
	margin: auto;
	top: 0;
	display: block;

	width: 22px;
}

@media screen and (max-width: 1290px)
{

	body.gray header {
	    padding: 57px 47px 57px 152px;
		}

}

@media screen and (max-width: 1165px)
{

	footer .col:nth-child(2) {
		opacity: 0;
		}

}

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

	body {
		background-image: none !important;
		}

	video {
		display: none;
		}

	body.gray footer {
	    padding: 40px 48px 22px 50px;
	}

	#header_email {
		display: none !important;  
		}

	#intro_text {
	    width: 100%;
	    padding-left: 50px;
	    padding-right: 50px;
		}

	footer .col:nth-child(1) { width: 20% !important;} 
	footer .col:nth-child(2) { width: 60% !important;} 
	footer .col:nth-child(3) { width: 20% !important;} 
	
}

@media screen and (max-width: 980px)
{

	#menu.active {	
    	width: 218px;
		}

	#menu li {
    	padding: 12px 0px 12px 30px;
		}

	body.white .container {
		width: 100%;
		padding: 0 30px;
	}

	body.gray #show_menu img {
		left: 30px;
		top: 60px;
		}

	body.white #show_menu img {
		left: 30px;
		top: 29px;
		}

	#show_menu {
		left: 0 !important;
	    height: 80px !important;
		}

	body.gray header {
		padding-bottom: 0px;
		margin-bottom: 32px;
		}

	header {
		padding-left: 0 !important;
		padding-right: 0 !important;
		text-align: center;
		}
	
	header .left {
		float: none;
		width: 100%;
		}	

	header .right {
		display: none;
		}

	footer .col:nth-child(2) {
		display: none;
		}

	footer .col:nth-child(1),
	footer .col:nth-child(3) {
		width: 50% !important;
		}

	body.gray footer {
	    padding: 40px 27px 22px 30px;
		}

}

@media screen and (max-width: 700px)
{

	#callback_wrap.active {
		position: absolute;
		display: block;
		}

	#callback_wrap .inner {
		display: block;
		padding-top: 105px;
		}
	
	#form_data p {
	    margin-bottom: -5px;
	    top: -16px;
		}

	.callback_ext input {
    	margin-bottom: 20px !important;
		}

	.callback_ext textarea {
	    margin-bottom: 15px !important;
		}

	#callback_form button {
    	padding: 15px 75px;
		}

}

@media screen and (max-width: 580px)
{

	#callback_form {
    	width: calc(100% - 40px);
    	padding-left: 10px;
    	padding-right: 10px;
    	max-width: 420px;
		}

	#form_data p {
	    margin-bottom: -3px;
	    top: -15px;
	    font-size: 25px;
		}

	#callback_form button {
	    padding: 16px 75px;
		}

}

@media screen and (max-width: 450px)
{

	#callback_wrap .inner {
		padding-top: 85px;
		}

	body {
		overflow-x: auto;
		}

	body {
		min-width: 300px !important;
		}

	body.white .container {
		padding: 0 20px;
		}

	body.white header {
	    padding: 21px 0px 0 0px;
	    height: 60px;
		}



	#show_menu img {
    	left: 20px !important;
    	top: 20px !important;
		}

	#show_menu {
	    width: 80px !important;
	    height: 60px !important;
		}

	body.gray header {
		margin-bottom: 0;
		}

	#logo_link {
	    position: absolute !important;
	    top: -36px !important;
	    right: 20px !important;
		}

	body.white #logo_link {
		top: 0 !important;
		}

	#logo {
	    height: 19px !important;
		}

	footer .col:nth-child(1),
	footer .col:nth-child(3) {
	    width: 100% !important;
	    text-align: center;
	    float: none;
		}	

	footer .col:nth-child(1) {
	    margin-bottom: 27px;
		}

	body.gray footer {
	    padding-top: 18px;
		}

	body.gray #menu .inner {
		padding-top: 105px;
		}

	#menu li {
		padding-left: 20px;
		}

	#menu.active {
		width: 227px;
		}

}