@font-face {
    font-family: 'Franklin Gothic';
    src: url('../fonts/FranklinGothic-Medium.eot');
    src: local('Franklin Gothic Medium'), local('FranklinGothic-Medium'),
        url('../fonts/FranklinGothic-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/FranklinGothic-Medium.woff2') format('woff2'),
        url('../fonts/FranklinGothic-Medium.woff') format('woff'),
        url('../fonts/FranklinGothic-Medium.ttf') format('truetype'),
        url('../fonts/FranklinGothic-Medium.svg#FranklinGothic-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Baskerville';
    src: url('../fonts/Baskerville-Italic.eot');
    src: url('../fonts/Baskerville-Italic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Baskerville-Italic.woff2') format('woff2'),
        url('../fonts/Baskerville-Italic.woff') format('woff'),
        url('../fonts/Baskerville-Italic.ttf') format('truetype'),
        url('../fonts/Baskerville-Italic.svg#Baskerville-Italic') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
	font-family: 'CentSchbook BT';
	src: url('../fonts/CenturySchoolbookBT-Roman.eot');
	src: local('Century Schoolbook BT'), local('CenturySchoolbookBT-Roman'),
			url('../fonts/CenturySchoolbookBT-Roman.eot?#iefix') format('embedded-opentype'),
			url('../fonts/CenturySchoolbookBT-Roman.woff2') format('woff2'),
			url('../fonts/CenturySchoolbookBT-Roman.woff') format('woff'),
			url('../fonts/CenturySchoolbookBT-Roman.ttf') format('truetype'),
			url('../fonts/CenturySchoolbookBT-Roman.svg#CenturySchoolbookBT-Roman') format('svg');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}


body {
	color: #030303;
	font-family: 'Franklin Gothic';
	background: #e3dded url('../img/bg_body.gif') top left repeat;
}
header {
	background: #FAF8FD url('../img/bg_header.gif') top center no-repeat;
}
.top-header {
	padding-top: 10px;
}
.top-header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.header-phone {
	color: #976f19;
	font-family: 'CentSchbook BT';
	font-size: 41px;
	font-weight: 600;
	text-decoration: none;

}
h1 {
	color: #976f19;
	font-size: 28px;
	text-transform: uppercase;
	text-align: center;
	outline: 1px solid #b6b3b8;
	background: #f5f1fa;
	padding-top: 0;
	padding-bottom: 5px;
	margin-bottom: 20px;
}
h1:before {
	content: '';
	display: block;
	width: 100%;
	height: 10px;
	background: linear-gradient(to right,  rgba(212,206,185,1) 0%,rgba(251,250,254,1) 50%,rgba(212,206,185,1) 100%);
	margin-bottom: 5px;
}
.btn-link {
	color: inherit;
	text-decoration: none;
	padding-left: 0;
	padding-right: 0;
}
.btn-primary {
	background: linear-gradient(to bottom,  rgba(160,112,171,1) 50%,rgba(146,92,158,1) 100%);
	border: 1px solid #916d99;
}
main {
	padding-top: 22px;
	padding-left: 12px;
	padding-right: 12px;
	background: #fcfcfc url('../img/bg_main.gif') top left repeat;
}
main p a {
	color: #b11232;
}
main p a:hover {
	text-decoration: none;
}
.navbar {
	border-top: 1px solid #cdac6a;
	border-bottom: 1px solid #cdac6a;
	outline: 2px solid #eff2fd;
	background: #ebeced;
}
.navbar-nav {
	width: 100%;
	justify-content: center;
}
.navbar .nav-link {
	color: #976f19;
	font-family: Georgia, Times, "Times New Roman", serif;
	font-size: 24px;
	line-height: 24px;
}
.navbar .nav-link.active {color: #b11232;}
.blockquote {
	color: #976f19;
	font-family: 'Baskerville';
	font-size: 32px;
	font-style: italic;
	line-height: normal;
}
.blockquote-footer {
    margin-top: -1rem;
    margin-bottom: 1rem;
    font-size: 23px;
    color: #976f19;
	font-family: 'Baskerville';
	font-style: italic;
	text-align: right;
}
.gold-banner {
	padding: 7px;
	background: linear-gradient(to right, rgba(109,90,22,1) 0%,rgba(237,217,125,1) 50%,rgba(109,90,22,1) 100%);
	position: relative;
	margin-bottom: 9px;
}
.gold-banner img {
	width: 100%;
}
.gold-banner a {
	position: absolute;
	display: block;
	padding: 12px 3px;
	bottom: 7px;
	left: 7px;
	background: rgba(0,0,0,.47);
	right: 7px;
	text-align: center;
	text-transform: uppercase;
	color: #f5e7a4;
	font-size: 18px;
	text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
	text-decoration: none;
}
.dashed-banner {
	border: 3px dashed #9e0039;
	padding: 16px 13px;
	margin-bottom: 9px;
	background: url('../img/bg_banner.jpg') top left repeat;
	background-size: 100%;
	text-align: center;
	color: #b11232;
	font-size: 10px;
	line-height: normal;
}
.dashed-banner h4 {
	font-size: 30px;
	margin-bottom: 6px;
}
.dashed-banner ul {
	list-style: none;
	margin-bottom: 0;
	padding-left: 0;
}
.dashed-banner ul li {margin-bottom: 6px;}
.sidebar {
	border: 1px solid #babbba;
	padding: 17px 9px;
	background: linear-gradient(to right,  rgba(217,220,218,1) 0%,rgba(237,237,239,1) 50%,rgba(217,220,218,1) 100%);
}
.sidebar:before {
	content: '';
	display: block;
	width: 100%;
	height: 10px;
	background: linear-gradient(to right,  rgba(212,206,185,1) 0%,rgba(255,249,220,1) 50%,rgba(212,206,185,1) 100%);
	margin-bottom: 25px;
}
.sidebar.p-0:before {display: none;}
.sidebar h4 {
	font-size: 31px;
	line-height: normal;
	font-weight: bold;
	margin-bottom: 20px;
}
.sidebar ul {
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
}
.sidebar ul li {
	color: #030303;
	font-size: 19px;
	line-height: 22px;
	margin-bottom: 20px;
}
.sidebar ul li a {color: inherit; text-decoration: none;}

.sidebar ul li.list-group {
	background: none;
}
.sidebar ul li.list-group-item {
	border-bottom: 1px solid #6e4d05;
	margin-bottom: 0;
	background: none;
	padding: 10px 0;
}
.list-group-item:first-child {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}
.sidebar ul li.list-group-item:last-child {
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
	border-bottom: none;
}
.list-group-item+.list-group-item.active {
	border-top: none;
	border-right: none;
	border-left: none;
}
.sidebar ul li.list-group-item ul li.active>a,
.list-group-item+.list-group-item.active>a {color: #b11232}
.sidebar ul li.list-group-item:last-child {
	border-bottom: none;
}
.sidebar ul li.list-group-item ul {
	list-style-type: disc;
	padding-left: 30px;
	font-size: 16px;
	line-height: normal;
	margin-top: 10px;
}
.sidebar ul li.list-group-item ul li {
	font-size: 16px;
	padding: 0;
	margin-bottom: 0;
	text-transform: lowercase;
}
.sidebar ul li.list-group-item ul li a {
	display: block;
	margin-bottom: 5px;
}

.sidebar-advantages {
	text-align: center;
}
.sidebar-advantage {
	width: 152px;
	margin: 0 auto;
	border: 1px solid #babbba;
	overflow: hidden;
	position: relative;
	margin-bottom: 20px;
}
.sidebar-advantage .sidebar-advantage-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
    text-transform: uppercase;
    color: white;
    font-size: 12px;
		line-height: 14px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    padding: 10px 4px;
}

.btn-sidebar {
	border: 1px solid #babbba;
	padding: 3px 0;
	background: linear-gradient(to right,  rgba(217,220,218,1) 0%,rgba(237,237,239,1) 50%,rgba(217,220,218,1) 100%);
}
.btn-sidebar a {
	display: block;
	padding: 6px 12px;
	color: #b01131;
	font-size: 26px;
	line-height: normal;
	text-decoration: none;
	text-align: center;
	position: relative;
}
.btn-sidebar a:before {
	content: '';
	display: block;
	width: 100%;
	height: 2px;
	background: linear-gradient(to right,  rgba(111,78,6,1) 0%,rgba(176,155,71,1) 51%,rgba(111,78,6,1) 100%);
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
}
.btn-sidebar a:after {
	content: '';
	display: block;
	width: 100%;
	height: 2px;
	background: linear-gradient(to right,  rgba(111,78,6,1) 0%,rgba(176,155,71,1) 51%,rgba(111,78,6,1) 100%);
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}

/* CATALOG */
.card-category {
	border: 1px solid #babbba;
	position: relative;
}
.card-category img {
	height: auto;
}
.card-category-title {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.5);
	text-align: center;
	text-transform: uppercase;
	color: white;
	font-size: 17px;
	text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
	padding: 10px 12px;
}

/* FOOTER */
footer {
	border-top: 1px solid #babbba;
	padding-top: 44px;
	padding-bottom: 18px;
	text-align: center;
	position: relative;
	margin-top: 48px;
}
footer:before {
	content: '';
	display: block;
	width: 100%;
	height: 1px;
	background: #dedede;
	position: absolute;
	top: -3px;
}
footer:after {
	content: '';
	display: block;
	width: 46px;
	height: 29px;
	background: url('../img/bg_footer.jpg') center center no-repeat;
	position: absolute;
	top: -15px;
	left: calc(50% - 23px);
}

.btn-scroll-top {
	display: block;
	width: 58px;
	height: 58px;
	background: url('../img/bg_btn-scroll-top.png') center center no-repeat;
	border: none;
	box-shadow: none;
	position: fixed;
	left: 20px;
	bottom: 20px;
}

/* CARD */
.card-price {
	color: #faf8f8;
	font-size: 11px;
	text-transform: uppercase;
	background-color: #b11232;
	padding: 12px 4px;
}
.card .btn {
	color: #b11232;
	font-size: 11px;
	text-decoration: underline;
}
.text-shadow {
	text-shadow: 1px 1px 2px black;
}
.page-link {color: #b11232; }
.active>.page-link, .page-link.active {
	background-color: #b11232;
	border-color: #b11232;
}

/* MODAL */
.modal-content {
    border: 2px solid #7b3d88;
    outline: 10px solid white;
	padding: 0 72px 58px 72px;
}
.modal-title {
	color: #935d9f;
	font-family: 'Baskerville';
}
.modal-body {
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 0;
}

/* CAROUSEL */
.carousel-control-next, .carousel-control-prev {opacity: 1;}
.carousel-control-prev {
    left: -8px;
}
.carousel-control-next {
    right: -8px;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
	width: 40px;
	height: 41px;
	background-position: center center;
	background-repeat: no-repeat;
}
.carousel-control-prev-icon {
    background-image: url('../img/carousel-control-prev-icon.png');
}
.carousel-control-next-icon {
    background-image: url('../img/carousel-control-next-icon.png');
}

@media (max-width: 991px) {
    .navbar-brand img {
        max-width: 200px;
		height: auto;
    }
	.header-phone {
		font-size: 28px;
	}
	.blockquote {
		font-size: 24px;
	}
	.blockquote-footer {
		font-size: 18px;
	}
}
@media (max-width: 768px) {
	.top-header .container {
		flex-direction: column;
	}
	.navbar .nav-link {
		font-size: 18px;
		line-height: normal;
	}
	.modal-content {
	outline: none;
    padding: 0 20px 20px 20px;
	}
}