/* ### COMMON ### */

img {
	max-width: 100%;
	height: auto;
}

a {
	color: #F7E700;
}

a:hover,
a:focus {
	color: #bd2130;
}

/* ### BOOTSTRAP ### */

:focus,
button:focus {
	outline: 0;
}

.btn {
	border-radius: 0;
}

.btn-primary {
	color: #fff;
	background-color: #003775;
	border-color: #003775;
}

.btn-primary:hover {
	color: #fff;
	background-color: #2d5a8d;
	border-color: #2d5a8d;
}

.btn-primary:focus,
.btn-primary.focus {
	box-shadow: 0 0 0 0.2rem rgba(0, 55, 117, 0.5);
}

.btn-primary.disabled,
.btn-primary:disabled {
	color: #fff;
	background-color: #003775;
	border-color: #003775;
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
	color: #fff;
	background-color: #2d5a8d;
	border-color: #2d5a8d;
}

.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
	box-shadow: 0 0 0 0.2rem rgba(0, 55, 117, 0.5);
}

.btn-outline-primary {
	color: #D3C800;
	border-color: #F7E700;
}

.btn-outline-primary:hover {
	color: #1e1e1e;
	background-color: #F7E700;
	border-color: #F7E700;
}

.btn-outline-primary:focus,
.btn-outline-primary.focus {
	box-shadow: 0 0 0 0.2rem rgba(0, 55, 117, 0.5);
}

.btn-outline-primary.disabled,
.btn-outline-primary:disabled {
	color: #003775;
	background-color: transparent;
}

.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
	color: #fff;
	background-color: #003775;
	border-color: #003775;
}

.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-primary.dropdown-toggle:focus {
	box-shadow: 0 0 0 0.2rem rgba(0, 55, 117, 0.5);
}

.form-control {
	border-radius: 0;
}

.form-highlight,
.form-highlight:focus {
	font-weight: 500;
	background-color: #f7f7f7;
}

.form-control:focus {
	border-color: #003775;
	box-shadow: 0 0 0 0.2rem rgba(0, 55, 117, 0.25);
}

.custom-control-input:checked~.custom-control-label::before {
	border-color: #003775;
	background-color: #003775;
	cursor: pointer;
}

.custom-control-input:focus:not(:checked)~.custom-control-label::before {
    border-color: #bfcddc;
}

.custom-control-input:focus~.custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(0, 55, 117, .25);
}

.custom-switch .custom-control-input:checked~.custom-control-label::after {
	cursor: pointer;
}

.h1, h1 {
	font-size: 2.25rem;
	line-height: 1.2;
}

/* ### BLOCKS ### */

/* ### gallery ### */

.row.gallery__row {
	margin-left: -5px;
	margin-right: -5px;
}

.gallery__row .gallery__item {
	padding-left: 5px;
	padding-right: 5px;
	margin-bottom: 10px;
}

.gallery__link {
	display: block;
	position: relative;
	border-bottom: 0;
}

.gallery__link::after {
	content: '\f00e';
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	font-size: 3rem;
	line-height: 3rem;
	color: #fff;
	width: 3rem;
	height: 3rem;
	text-align: center;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	transition: all 0.25s linear;
	transform: scale(0);
}

.gallery__link:hover::after,
.gallery__link:focus::after {
	transform: scale(1);
}

.gallery__link::before {
	content: '';
	display: block;
	position: absolute;
	top: 1px;
	bottom: 1px;
	left: 1px;
	right: 1px;
	background-color: rgba(0, 0, 0, .5);
	opacity: 0;
}

.gallery__link:hover::before,
.gallery__link:focus::before {
	opacity: 1;
}

.gallery__img {
	border: 1px solid #eee;
}

/* ### triggers ### */

.triggers {
	margin-top: 3rem;
	margin-bottom: 1rem;
}

.triggers__item {
	text-align: center;
	margin-bottom: 2rem;
}

.triggers__pic {
	margin-bottom: .5rem;
}

.triggers__title {
	font-size: 1.1rem;
	font-weight: 500;
}

/* ### HEADER ### */

.header {
	text-align: center;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.header__logo {
	margin-bottom: 1rem;
}

.header__phone {
	font-size: 1.2rem;
	font-weight: 500;
}

.header__phone::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	color: #F7E700;
	width: 1rem;
	margin-right: .5rem;
}

.header__phone::before {
	content: '\f095';
}

.header__contacts-link {
	color: #212529;
	text-decoration: none;
	border-bottom: 1px solid rgba(33, 37, 41, .2);
}

.header__contacts-link:hover,
.header__contacts-link:focus {
	color: #212529;
	text-decoration: none;
	border-color: #212529;
}

@media (min-width: 768px) {
	.header {
		text-align: left;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		align-items: center;
	}
	.header__logo {
		-ms-flex: 0 0 auto;
		flex: 0 0 auto;
		width: auto;
		max-width: 100%;
		margin-bottom: 0;
	}
	.header__contacts {
		-ms-flex: 0 0 auto;
		flex: 0 0 auto;
		width: auto;
		max-width: 100%;
		margin-left: auto;
	}
}

/* ### MAINBODY ### */

/* ### WORKAREA ### */

.article {
	margin-bottom: 2rem;
}

article a {
	text-decoration: none;
	border-bottom: 1px solid rgba(0, 55, 117, .2);
}

article a:hover,
article a:focus {
	text-decoration: none;
	border-color: #bd2130;
}

/* ### responses ### */

#collapse-resonses-form .api-mainfeedback {
	padding: 1rem 0;
}

/* ### contacts page ### */

.contacts-page__info {
	margin-bottom: 2rem;
}

.contacts-page__feedback {
	margin-bottom: 2rem;
}

.contacts-page__item {
	font-size: 1.2rem;
	font-weight: 500;
	margin-bottom: .5rem;
}

.contacts-page__item::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	color: #F7E700;
	width: 1.1rem;
	margin-right: .5rem;
}

.contacts-page__item_address::before {
	content: '\f3c5';
}

.contacts-page__item_time::before {
	content: '\f017';
}

.contacts-page__item_phone::before {
	content: '\f095';
}

.contacts-page__item_email::before {
	content: '\f2b6';
}

.contacts-page__feedback-title {
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: .5rem;
}

.contacts-page__map-title {
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: .5rem;
}

/* ### map ### */

.contacts-page__map .bx-yandex-map {
	border: 1px solid #ddd;
}

.map__baloon {
	padding: 0 15px 30px 15px;
}

.map__baloon-logo {
	width: 251px;
	height: 67px;
	background-image: url(/images/logo.png);
	background-position: 50% 50%;
	background-size: auto;
	background-repeat: no-repeat;
	margin: 0 auto 15px;
}

.map__baloon-title {
	font-size: 24px;
	font-weight: 500;
	text-align: center;
	margin-bottom: 15px;
}

.map__baloon-item {
	font-size: 16px;
	margin-bottom: 7px;
}

.map__baloon-item::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	color: #0658ae;
	width: 16px;
	margin-right: 7px;
}

.map__baloon-item_address::before {
	content: '\f3c5';
}

.map__baloon-item_time::before {
	content: '\f017';
}

.map__baloon-item_phone::before {
	content: '\f095';
}

.map__baloon-item_email::before {
	content: '\f2b6';
}

.map__baloon-link {
	text-decoration: none;
	border-bottom: 1px solid rgba(0, 55, 117, .2);
}

.map__baloon-link:hover,
.map__baloon-link:focus {
	text-decoration: none;
	border-color: #bd2130;
}

/* ### SIDEBAR ### */

.sidebar {
	margin-bottom: 2rem;
}

/* ### sidebar portfolio ### */

.sidebar__portfolio {
	font-size: 1.25rem;
	font-weight: 500;
	margin-top: 2rem;
}

.sidebar__portfolio-link {
	text-decoration: none;
	border-bottom: 1px solid #F7E700;
}

.sidebar__portfolio-link:hover,
.sidebar__portfolio-link:focus {
	text-decoration: none;
	border-color: #bd2130;
}

.sidebar__portfolio-link::after {
	content: '\f061';
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	margin-left: .5rem;
	color: #F7E700;
}

.sidebar__portfolio:hover .sidebar__portfolio-link::after,
.sidebar__portfolio:focus .sidebar__portfolio-link::after {
	color: #bd2130;
}

/* ### FAST CALLBACK ### */

.fast-callback {
	color: #1e1e1e;
	background-color: #EBEEF0;
	text-align: center;
	padding-top: .5rem;
	padding-bottom: 1rem;
}

.fast-callback__title {
	margin-bottom: 1rem;
}

.fast-callback__title-primary {
	font-size: 1.5rem;
	font-weight: bold;
}

.fast-callback__title-secondary {
	font-size: 1.1rem;
	margin-bottom: 1rem;
}

.fast-callback__form .uk-form {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	flex-direction: column;
}

.fast-callback__form .uk-form-row {
	-ms-flex: 0 0 100%;
	flex: 0 0 100%;
	max-width: 100%;
	padding-bottom: 1rem;
}

.fast-callback__input:focus {
	border-color: #fff;
	box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.fast-callback__form .error-list {
	color: #fff;
}

.fast-callback__form .group-agreement {
	font-size: .8rem;
	order: 1;
	padding-bottom: 0;
}

.fast-callback__form .custom-control-input:checked~.custom-control-label::before {
	border-color: #fff;
	background-color: #fff;
}

.fast-callback__form .custom-switch .custom-control-input:checked~.custom-control-label::after {
	background-color: #F7E700;
}

.fast-callback__form .custom-control-input:focus:not(:checked)~.custom-control-label::before {
	box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, .25);
}

.fast-callback__form .custom-control-input:focus~.custom-control-label::before {
	box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, .25);
}

.fast-callback .group-agreement a {
	color: #1e1e1e;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.fast-callback .group-agreement a:hover,
.fast-callback .group-agreement a:focus {
	color: #D3C800;
	text-decoration: none;
	border-color: #D3C800;
}

.fast-callback .uk-form-row.group-button {
	padding-bottom: 1rem;
}

.fast-callback__btn {
	display: block;
	color: #fff;
	background-color: transparent;
	border-color: #fff;
	width: 100%;
	text-align: center;
}

.fast-callback__btn:hover,
.fast-callback__btn:focus {
	color: #003775;
	background-color: #fff;
	border-color: #fff;
}

.fast-callback__btn:focus {
	box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
	.fast-callback {
		text-align: left;
	}
	.fast-callback__container {
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		align-items: center;
	}
	.fast-callback__title,
	.fast-callback__form {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}
	.fast-callback__title {
		margin-bottom: .5rem;
	}
	.fast-callback__form {
		padding-right: 1rem;
	}
	.fast-callback__title-secondary {
		margin-bottom: 0;
	}
}

@media (min-width: 992px) {
	.fast-callback {
		padding-top: 1rem;
	}
	.fast-callback__form .uk-form {
		flex-direction: row;
	}
	.fast-callback__form .uk-form-row {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}
	.fast-callback__form .error-list {
		width: 200%;
	}
	.fast-callback__form .group-agreement {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
	.fast-callback__form .group-button {
		padding-left: 1rem;
	}
}

/* ### NEWS ### */

.news {
	padding-top: 2rem;
	padding-bottom: 3rem;
}

.news__title {
	font-size: 1.5rem;
	font-weight: bold;
	text-align: center;
	margin-bottom: 1rem;
}

@media (min-width: 768px) {
	.news__title {
		font-size: 2.5rem;
	}
}

.news__readmore {
	font-size: 1.1rem;
	text-align: center;
	margin-top: 2rem;
}

.news__readmore::after {
	content: '\f061';
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	color: #003775;
	margin-left: .25rem;
}

.news__readmore:hover::after,
.news__readmore:focus::after {
	color: #bd2130;
}

.news__readmore-link {
	text-decoration: none;
	border-bottom: 1px solid rgba(0, 55, 117, .2);
}

.news__readmore-link:hover,
.news__readmore-link:focus {
	text-decoration: none;
	border-color: #bd2130;
}

@media (min-width: 768px) {
	.news__readmore {
		text-align: right;
	}
}

/* ### FOOTER ### */

footer.footer {
	color: #1e1e1e;
	background-color: #EBEEF0;
	text-align: center;
	padding-top: 2rem;
}

@media (min-width: 320px) and (max-width: 769px) {
	footer.footer {
		padding-bottom: 2.5rem;
	}
}

.footer__contacts {
	margin-bottom: 1.5rem;
}

.footer__logo {
	margin-bottom: 1rem;
}

.footer__address,
.footer__phone,
.footer__time,
.footer__email {
	margin-bottom: .5rem;
}

.footer__address::before,
.footer__phone::before,
.footer__time::before,
.footer__email::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	width: 1.5rem;
}

.footer__address::before {
	content: '\f3c5';
}

.footer__phone::before {
	content: '\f095';
}

.footer__time::before {
	content: '\f017';
}

.footer__email::before {
	content: '\f2b6';
}

.footer__contacts-link {
	color: #1e1e1e;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.footer__contacts-link:hover,
.footer__contacts-link:focus {
	color: #D3C800;
	text-decoration: none;
	
}

.footer__menu {
	margin-bottom: 1.5rem;
}

.footer__menu-list {
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
}

.footer__menu-item {
	margin-bottom: .25rem;
}

.footer__menu-link {
	color: #1e1e1e;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.footer__menu-link_active,
.footer__menu-link:hover,
.footer__menu-link:focus {
	color: #D3C800;
	text-decoration: none;
	border-color: #D3C800;
}

#statistic {
	margin-bottom: 1rem;
}

#copyright a {
	color: #1e1e1e;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, .2);
}

#copyright a:hover,
#copyright a:focus {
	color: #D3C800;
	text-decoration: none;
	border-color: #D3C800;
}

@media (min-width: 992px) {
	footer.footer {
		text-align: left;
	}
	.footer__contacts,
	.footer__menu {
		margin-bottom: 1.5rem;
	}
	.footer__right {
		text-align: right;
	}
}

.fast-callback__btn {
	background-color: #F7E700;
	color: #1e1e1e;
	border: none;
}

.footer__email span {
	color: #1e1e1e !important;
}

.contacts-page a {
	color: #1e1e1e;
}

.contacts-page a:hover {
	color: #1e1e1e;
	border-color: #D3C800;
}

.footer__phone a {
	color: #1e1e1e !important; 
	background-color: #EBEEF0 !important;
}
.footer__phone span {
	color: #1e1e1e !important; 
	background-color: #EBEEF0 !important;
}