.main-wrapper {margin-top: 50px}

.block {
	-webkit-box-shadow: 0 1px 0 1px #e5e7e8;
    -moz-box-shadow: 0 1px 0 1px #e5e7e8;
    box-shadow: 0 1px 0 1px #e5e7e8;
    background-color: #fff;
    padding: 30px;
    border-top: 1px solid #e5e7e8;
    margin-top: 20px;
}

.spravka {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.spravka > div {
	text-align: center;
}

.spravka > div .btn {
	font-size: 15px;
	padding: 10px 12px;
	border: 1px solid #232323;
}

@media(min-width: 701px) {
	.spravka > div {
		margin-right: 4.5%;
		flex-basis: 30%;
		margin-bottom: 20px;
	}
	
	.spravka > div:nth-child(3n) {margin-right: 0}
}

@media(max-width: 700px) and (min-width: 441px) {
	.spravka > div {
		margin-right: 10%;
		flex-basis: 45%;
		margin-bottom: 40px;
	}
	
	.spravka > div:nth-child(2n) {margin-right: 0}
}

@media(max-width: 440px) {
	.spravka > div {
		flex-basis: 100%;
		margin-bottom: 50px;
	}
	
	.spravka > div .btn {
		width: 100%;
		padding: 10px 0;
	}
}

.spravka > div img {width: 64px; height: 64px}

.spravka > div img, .spravka > div h3 {
	margin-bottom: 10px;
}

.nesting {
	display: block;
	color: #232323;
	font-weight: 400;
	font-size: 16px;
	width: 100%;
	margin-bottom: 15px;
}

.nesting a {color: #232323}
.nesting i {margin: 0 5px}

.nesting a:hover {color: #E06149}

.spravochnik {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

@media(min-width: 1251px) {.spravochnik > div {max-width: 300px}}
@media(max-width: 1250px) and (min-width: 900px) {.spravochnik > div {max-width: 290px}}
@media(max-width: 899px) {.spravochnik > div {max-width: 270px}}

@media(max-width: 670px) {
	.spravochnik > div:last-of-type {
		order: 1;
		max-width: 100%;
		flex-basis: 400px;
		margin-bottom: 20px;
	}
	
	.spravochnik > div:first-of-type {
		order: 2;
		flex-basis: 100%;
		max-width: 100%;
	}
}

.spravochnik > div {margin-bottom: 15px; line-height: 180%;}

.spravochnik h4 {
	color: #F16A51;
	margin-top: 20px;
	font-size: 20px;
	font-weight: 700;
}

.spravochnik h4:first-of-type {margin-top: 0}

.spravochnik a {color: #232323}
.spravochnik a:hover {color: #F16A51}

.spravochnik #find_prop {
	width: 86%;
	padding: 0 7%;
    background-color: #F3F3F3;
    border-radius: 9px;
    color: #535353;
    height: 40px;
    font-weight: 400;
    font-size: .8rem;
    border: none;
    font-family: Montserrat,sans-serif;
    margin-bottom: 20px;
}

.spravochnik > div:last-of-type h3 {
	margin-bottom: 20px;
	font-size: 22px;
}

.spravochnik .course {margin-bottom: 50px}

.spravochnik .course .title_course {
    font-weight: 500;
    font-size: .875rem;
    color: #201E1C;
}

.spravochnik .course:hover .title_course {
    color: #F26651;
}

.spravochnik .course .course-img {
	position: relative;
}

.spravochnik .course img {width: 100%}

.spravochnik .course .button-on-course {
	position: absolute;
	right: 0;
    bottom: 0;
    margin: 10px 11px;
    -webkit-box-shadow: 2px 4px 10px rgba(33,31,29,.14)!important;
    box-shadow: 2px 4px 10px rgba(33,31,29,.14)!important;
    background-color: #fff;
    color: #211f1d;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    text-align: center;
    line-height: 54px;
    font-size: 12px;
}

.spravochnik .course:hover .button-on-course {
	-webkit-animation: .4s pulse linear;
    animation: .4s pulse linear;
}

.spravochnik .course:hover img {
	-webkit-box-shadow: 10px 20px 20px rgba(107, 106, 105, 0.2);
    box-shadow: 10px 20px 20px rgba(107, 106, 105, 0.2);
}

.spravochnik .course .button-tag {
    position: absolute;
    left: 0;
    bottom: 4px;
    background-color: #b761f2;
    padding: 10px 15px;
    color: #fff;
    font-weight: 500;
    font-size: .75rem;
}

#mc-container {margin-top: 50px}

.block.property {
	line-height: 170%!important;
}

.block.property a {font-weight: 400}

.block.property pre[class*="language-"] {border: 1px solid #c5beb7; font-family: Montserrat,sans-serif!important;}

.block.property h1, .block.property h2, .block.property h3, .block.property h4, .block.property h5, .block.property h5 {
	margin: 10px 0!important;
	color: #232323!important;
	font-size: 22px!important;
	font-weight: 700!important;
}

.block.property ul, .block.property ol {
	width: 90%;
	margin: 10px 5%;
}

.block.property ul li, .block.property ol li {margin-bottom: 5px}

.block.property code:not(.lang) {
	font-size: 14px;
	color: #464646;
	padding: 3px 7px;
    border-radius: 2px;
    background: #e0e0e0;
}