*, html, body  {
	padding: 0;
	margin: 0;
	border: 0
}

body {
	font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
	background: url("/cms/Main/images/bg.png");
	background-repeat: repeat;
	padding-top: 10px;
}

a{
	text-decoration: none;
}

a:focus, 
a:hover {
	text-decoration: none;
	transition: .4s;
}

h1, 
h2 {
	color: #000;
	font-weight: 700;
	text-transform: uppercase;
	margin: 0;
	text-align: center
}

h1 {
	font-size: 32px;
}

h2 {
	font-size: 26px
}

hr {
	width: 100px;
	border: none;
	height: 2px;
	background: #00acff;
	margin: 20px auto
}

#middle{
	width: 74%;
	background: #ffffff;
    min-height: 80vh;
}

#vkContent{
	width: 96%;
}

.container-gdz{
	width: 1140px;
	padding-right: 5px;
    padding-left: 5px;
    margin-right: auto;
    margin-left: auto;
	display: flex;
	flex-wrap: wrap;
}

#header-name-gdz{
	margin: 10px auto 20px;
	padding-left: 2%;
	padding-right: 2%;
}

#table-home-gdz{
	margin: 40px auto 20px;
}

#book-home-categories-gdz{
	padding: 40px 0;
	background: #f6f6f6;
} 

#book-categories-gdz{
	padding: 40px 0;
}

#vk-comments{
	padding: 2%;
}

/*** Текст ***/

.text, 
.text-error {
	padding: 2%;
}
.text h3{
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 30px;
}
.text p, 
.text-error p {
	color: #000;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	margin-bottom: 10px;
}
.text-style-decision{
	font-size: 16px;
}
.text a{
	color: #337ab7;
}
.text a:hover,
.text a:focus,
.text a:active{
	text-decoration: underline;
}
.text ul {
	padding: 0;
	list-style: none;
}
.text ul>li {
	padding: 6px;
	color: #000;
	font-size: 16px;
	font-weight: 400;
}
.text ul>li:before {
	padding-right: 14px;
	font-weight: 700;
	color: #00acff;
	content: "—";
	transition-duration: .4s;
}
.text-error h2 {
	color: #000;
	font-size: 20px;
	font-weight: 600;
	padding-top: 4%;
}
.text-error img {
	width: 222px;
	margin: 0 auto;
	display: block;
	padding: 4% 0;
}
.text-des{
	padding-left: 5px;
}

/*** Книги ***/

.book-container{
	display: flex;
	flex-wrap: wrap;
	padding: 2%;
}
.book-container-50{
	display: flex;
	flex-wrap: wrap;
	padding: 2%;
	width: 49%;
}
.book {
	padding: 10px;
	height: 250px;
	display: flex; 
	gap: 10px;
	width: 46.5%;
	align-items: flex-start;
}
.book2 {
	min-height: auto;
}
a.book:hover  {
	background: #4DBD44;
	transition: .4s;
}
a.book:hover img  {
	background: #4dbd44;
	transition: .4s;
}
.book-img{
	width: 45%;
	height: 250px;
	border: none;
	overflow: hidden;
}
.book-img-product{
	width: 43%;
	height: 250px;
	border: none;
	overflow: hidden;
}
.book-content{
	width: 54%;
}
.book-content-product{
	width: 52%;
	padding-left: 10px;
}
.book-img img,
.book-img-product img {
	width: 100%;
	height: auto;
    background-size: cover;
    object-fit: cover;
}
.book-content > div {

}
.book-content h3,
.book-content h3 > a,
.book-content-product h3,
.book-content-product h3 > a {
	margin-top: 0;
	font-size: 18px;
	color: #000;
	font-weight: 700;
	margin-bottom: 10px;
}
.book-content div > p,
.book-content-product div > p {
	color: #353535;
	font-size: 13.5px;
	font-weight: 400;
	margin-bottom: 4.5px;
}
.book-content div > p > span,
.book-content-product div > p > span{
	padding: 4px 10px;
	border-radius: 6px;
	margin-bottom: 5px;
	display: inline-block;
}

/*** Особые элементы для book с 2-мя книжками ***/

.book-active {
	background: #4dbd44
}
.book-pr-height {
	min-height: 230px!important
}
.book-passive {
	background: #daffd7
}
.book-l-radius {
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px
}
.book-r-radius {
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px
}
.book-non-decision-ap img {
	opacity: .6
}
.book-non-decision-ap-text {
	background: #4dbd44;
	border-radius: 40px;
	margin-top: 20px;
	padding: 20px 15px;
	color: #fff
}
.book-btn-active, 
.book-btn-passive {
	border-radius: 10px;
	padding: 7px 18px 8px;
	margin-top: 5px;
	text-transform: uppercase;
	display: inline-block;
	font-size: 14px;
	text-align: center;
	width: 150px
}

a:hover .book .book-btn-passive {
	background: #fff;
	color: #4dbd44;
	transition: .4s
}

.book-btn-active {
	background: #fff;
	color: #4dbd44
}
.book-btn-passive {
	background: #00acff;
	color: #fff
}
.fa-check-style {
	color: #4dbd44;
}

/*** Поиск книжки ***/
.search-box {
  position: relative;
  padding: 0 2%;
}

#search {
  width: 100%;
  background: transparent;
  height: 40px;
  line-height: 32px;
  padding: 7px 20px 8px;
  box-sizing: border-box;
  background: #494e54;
  border-radius: 10px;
  font-size: 18px;
  color: #e9ecef;
}

.search-icon {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-icon svg {
  width: 100%;
  height: 100%;
  fill: #e9ecef;
  stroke: #e9ecef;
  transition: fill 0.2s;
}

.search-icon:hover svg {
  fill: #e9ecef;
  stroke: #e9ecef;
}

#search:focus{
	color: #e9ecef;
	background: #494e54;
	border: none;
	outline: none;
}

input[type=text]#search::placeholder {	
	font-size: 18px;
	font-weight: 300;
	color: #e9ecef;
	opacity: .4;
}

input[type=text]#search::-webkit-input-placeholder{
	font-size: 18px;
	font-weight: 300;
	color: #e9ecef;
	opacity: .4;
}

input[type=text]#search::-moz-placeholder {
	font-size: 18px;
	font-weight: 300;
	color: #e9ecef;
	opacity: .4;
}

input[type=text]#search:-moz-placeholder {
	font-size: 18px;
	font-weight: 300;
	color: #e9ecef;
	opacity: .4;
}

input[type=text]#search:-ms-input-placeholder {
	font-size: 18px;
	font-weight: 300;
	color: #e9ecef;
	opacity: .4;
}



/*** Аккордеон поиска ***/

.accordion-search-filter-js {
    width: 96%;
    padding: 4% 2%;
}
.accordion-search-filter-js .item-search-filter {
	margin-bottom: 8px;
	overflow: hidden
}
.accordion-search-filter-js .head-search-filter {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 2px;
	background: transparent;
	border-bottom: 1px solid #343a40;
	cursor: pointer;
	font-size: 18px;
	font-weight: 600;
	text-align: left;
	color: #000;
	margin: 0 auto
}
.accordion-search-filter-js .arrow-search-filter {
	width: 10px;
	height: 10px;
	display: inline-block;
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
	transform: rotate(45deg);
	transition: transform .22s cubic-bezier(.2, .8, .2, 1);
	margin-left: 12px
}
.accordion-search-filter-js .head-search-filter[aria-expanded=true] .arrow-search-filter {
	transform: rotate(-135deg)
}
.accordion-search-filter-js .panel-search-filter {
	overflow: hidden;
	transition: max-height .28s, padding-top .28s
}
.accordion-search-filter-js .panel-search-filter.open-search-filter {
	width: 100%
}
.accordion-search-filter-js ul {
	list-style: none;
	padding: 10px 5px;
}

.accordion-search-filter-js li {
	display: inline-flex;
}
.accordion-search-filter-js a {
	font-size: 17px;
	color: #000;
	font-weight: 400;
	text-decoration: none;
	border: 1px solid #00acff;
	border-radius: 10px;
	background: transparent;
}

.accordion-search-filter-js a:hover {
	color: #fff;
	transition: .4s;
	border: 1px solid #00acff;
	background: #00acff;
}

.book-pages-int{
	padding: 5px;
    text-align: center;
}

.book-pages-int a{
	padding: 5px 0;
    width: 58px;
	text-align: center;
}

.book-pages-char{
	padding: 5px 20px;
	width: auto;
}

.book-pages-char a{
	width: auto;
	padding: 5px;
}

@media only screen and (max-width:991px){
	.book-pages-char{
		width: 100%;
		padding: 5px 20px;
	}
	.book-pages-char a{
		padding: 5px;
		width: 100%;
	}
}		


/*** Хлебные крошки ***/

#breadcrubs-gdz{
	margin-top: 40px;
	margin-bottom: 40px;
	padding: 2% 2% 0;
}

#breadcrubs-gdz-decision{
	margin-top: 30px;
	margin-bottom: 20px;
	padding: 2% 2% 0;
}

#breadcrubs-gdz span, 
#breadcrubs-gdz span:last-child,
#breadcrubs-gdz label,
#breadcrubs-gdz-decision span,
#breadcrubs-gdz-decision span:last-child{
	font-size: 18px;
	padding-left: 4px;
	padding-right: 4px;
}
#breadcrubs-gdz label,
#breadcrubs-gdz-decision label{
	font-size: 18px;
	color: #00acff;
}
#breadcrubs-gdz-decision label{
	padding-left: 5px;
}
#breadcrubs-gdz a,
#breadcrubs-gdz-decision a {
	color: #000;
	font-size: 18px;
	font-weight: 400
}
#breadcrubs-gdz a:hover,
#breadcrubs-gdz-decision a:hover {
	color: #4dbd44
}
#breadcrubs-gdz span,
#breadcrubs-gdz-decision span {
	color: #00acff;
	font-weight: 300
}
#breadcrubs-gdz span:last-child,
#breadcrubs-gdz-decision span:last-child {
	color: #00acff;
	font-weight: 400
}


/*** Блог ***/

#blog{
    height: 80vh;
	padding: 0 2%;
}

#blog ul{
	list-style: none;
}

#blog li{
	margin-top: 5px;
	margin-bottom: 10px;
}

#blog a{
	font-size: 18px;
	font-weight: 500;
	line-height: 24px;
	color: #000;
}

#blog a:hover{
	color: #00acff;
}

/*** Кнопки поделиться ***/

#subscribe {
	padding: 2%;
	display: flex;
    align-items: center;
	gap: 10px;
}

#subscribe  > span{
	color: #000;
	font-size: 18px;
	font-weight: 400;
}

.share-btn {
	width: 56px;
	height: 43px;
	border: 1px solid #00acff;
	border-radius: 10px;
	background: #00acff;
}

.share-btn.focus, 
.share-btn:focus, 
.share-btn:focus-visible, 
.share-btn:hover {
	color: #fff;
	outline: 0;
	border: 1px solid #4dbd44;
	background: #4dbd44;
	cursor: pointer;
}

@media only screen and (max-width:768px) {
	#subscribe  > span{
		font-size: 24px;
		display: block;
	}
}


/*** Карусель изображений ***/

#gallery {
	padding: 2% 0;
	background: #f6f6f6;
	margin: 50px 0 40px;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}

.carousel-track  > a {
    width: auto;
    height: 150px;
    padding: 10px;
}

.carousel-track > a:hover{
	background: #4DBD44;
    transition: .4s;
}

.carousel-item {
    user-select: none;
	width: auto;
    height: 100%;
    background-size: cover;
    object-fit: cover;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 22px;
    border-radius: 4px;
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.carousel-dots {
    text-align: center;
    margin-top: 10px;
}

.carousel-dots button {
    width: 10px;
    height: 10px;
    margin: 4px;
    border: none;
    border-radius: 50%; 
    background: #ccc;
    cursor: pointer;
}

.carousel-dots button.active {
    background: #00acff;
}




@media only screen and (max-width:1300px) {
	.container-gdz{
		width: 1120px;
	}
	#middle {
		width: 73%;
	}
	.book {
		width: 47%;
	}
}

@media only screen and (max-width:1140px) {
	.container-gdz{
		width: 1020px;
	}
	#middle {
		width: 70%;
	}
}

@media only screen and (max-width:1120px) {
	.container-gdz{
		width: 970px;
	}
	#middle {
		width: 69%;
	}
	.book {
		height: 320px;
		width: 46.5%;
	}
	.book-img{
		width: 40%;
        margin-bottom: 0;
	}
	.book-content{
		width: 59%;
	}
	.book-img-product {
		height: 210px;
	}
}


@media only screen and (max-width: 991px) {
	.container-gdz{
		width: 930px;
	}
	#sidebar-gdz{
		background: #fff;
	}
	#middle {
		width: 100%;
	}
	h1, h2 {
		font-size: 22px
	}
	.book {
		height: 250px;
	}
	.book-img-product {
		height: 250px;
	}
}

@media only screen and (max-width:960px) {
	.container-gdz{
		width: 830px;
	}
}

@media only screen and (max-width:870px) {
	.container-gdz{
		width: 100%;
		padding-right: 0;
        padding-left: 0;
	}
	#header-name-gdz {
		margin: 10px auto 0px;
		padding-left: 1%;
		padding-right: 1%;
	}
	#table-home-gdz{
		display: none;
	}
}

@media only screen and (max-width:750px) {
	.book {
		height: auto;
	}
	.book-img-product {
		height: auto;
	}
	.book-container-50 {
		width: 90%;
	}
	.book-img {
		height: auto;
	}
}

@media only screen and (max-width:700px) {
	.book {
		width: 100%;
	}
	.book-img{
		width: 30%;
	}
	.book-content{
		width: 69%;
	}
}

@media only screen and (max-width:520px) {
	.book-content div > p {
		font-size: 14px;
	}
	.text p, .text-error p {
		line-height: 20px;
	}
}

@media only screen and (max-width:420px) {
	.book {
		height: 215px;
	}
}

.bookButtonsDots ul, 
.bookButtonsDownload ul, 
.bookButtonsNav ul{
	list-style: none
}
.book-non-decision-ap-text, 
.bookButtonsDots, 
.bookButtonsDownload, 
.book_pages li a, 
.headerSubtitle {
	text-align: center
}

.bookButtonsDots{
	display: none
}

.bookButtonsDots ul li, .book_pages li {
	display: inline-flex
}

#imgWorkObject {
	padding: 2%;
}

.headerSubtitle {
	background-color: #0080ff;
	color: #fff;
	padding: 10px;
	font-size: 16px;
	border-radius: 5px
}

.bookImg img {
	width: 100%; 
	height: auto; 
	position: relative
}

.bookButtonsDownload {
	padding-top: 70px
}
.bookButtonsNav ul li:first-child {
	position: relative;
	left: 20px
}
.bookButtonsNav ul li:last-child {
	position: absolute;
	right: 20px;
	bottom: 10px
}
.bookButtonsDots ul li:first-child a img {
	padding-right: 3px;
	display: inline-block;
	vertical-align: text-top
}
.bookButtonsDots ul li:last-child a img {
	padding-left: 3px;
	display: inline-block;
	vertical-align: text-top
}
.bookButtonsNav ul li a:hover:before {
	color: #4dbd44;
	transition: .4s
}
.bookButtonsDots ul li a, .bookButtonsDownload ul li a {
	text-transform: uppercase;
	background: #00acff;
	color: #fff;
	font-weight: 500;
	border-radius: 10px;
	font-size: 18px;
	padding: 9px 30px;
}

.bookButtonsDots ul li a:hover, .bookButtonsDownload ul li a:hover {
	background: #4dbd44;
	color: #fff;
	transition: .4s
}



@media only screen and (max-width:991px) {
	.bookButtonsDots {
		display: block;
		padding: 20px 0 10px
	}
	.bookButtonsDownload, 
	.bookButtonsNav {
		display: none
	}
    #middle{
        min-height: auto;
    }
}

@media only screen and (max-width:500px) {
	.bookButtonsDots ul li a, 
	.bookButtonsDownload ul li a {
		font-size: 14px;
		padding: 9px 20px;
	}
	.book-btn-active, 
	.book-btn-passive {
		width: 120px;
	}
}