/* -------------------------------- 
--------- Primary style
-------------------------------- */
*, *::after, *::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth; /* плавный скрол */
}

:root {
  scroll-padding-top: 80px; /* высота шапки */
}

body {
  font-size: 1.6rem;
  font-family: "Noto Serif", "Georgia", serif;
  color: #33414a;
  background-color: #fff;
  width: 100%;
  margin: 0 auto;
}

a {
  color: royalblue;
  text-decoration: none;
  transition:.5s;
}
a:hover{
	color:gray;
}
a.current {
	background:gray;
	color:white;
}

p {
	margin:.5em 0;
	font-size:1.1em;
}

.left {float:left}
.right {float:right}

/* -------------------------------- 

Main Components 

-------------------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3;
  background-color: #fff;
  
  height: 70px;
  width: 100%;
  padding: 0 20px;
  
  border-bottom: 1px solid #00000033;
  
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Force Hardware Acceleration */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}
header.nav-is-visible {
  -webkit-transform: translateX(-260px);
  -moz-transform: translateX(-260px);
  -ms-transform: translateX(-260px);
  -o-transform: translateX(-260px);
  transform: translateX(-260px);
}
header::before {
  /* never visible - this is used in jQuery to check the current MQ */
  display: none;
  content: 'mobile';
}
@media only screen and (min-width: 1024px) {
  header.nav-is-visible {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
  header::before {
    content: 'desktop';
  }
}

.header-az {background: url("https://mukitob.com/books/pic/books/title_az.jpg") repeat-x center;}
.header-ka {background: url("https://mukitob.com/books/pic/books/title_ka.jpg") repeat-x center;}
.header-kg {background: url("https://mukitob.com/books/pic/books/title_kg.jpg") repeat-x center;}
.header-kz {background: url("https://mukitob.com/books/pic/books/title_kz.jpg") repeat-x center;}
.header-tj {background: url("https://mukitob.com/books/pic/books/title_tj.jpg") repeat-x center;}
.header-tm {background: url("https://mukitob.com/books/pic/books/title_tm.jpg") repeat-x center;}
.header-uz {background: url("https://mukitob.com/books/pic/books/title_uz.jpg") repeat-x center;}

.logo {
  display: inline-block;
  height: 100%;
  line-height: 70px;
  
  /* remove jump on iOS devices - when we fire the navigation */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.logo a {
	color: #000;
	font-size:1.5em;
	
	-webkit-transition: .3s;
    -moz-transition: .3s;
    transition: .3s;
}
.logo a:hover,
.logo a:focus {
	border: none;
	outline: none;
	opacity: .6;
}

.logo img {
  display: block;
  max-width: 100%;
  margin-top: 14px;
}
@media only screen and (min-width: 1024px) {
  .logo {
    position: absolute;
    z-index: 2;
  }
  .logo img {
    margin-top: 29px;
  }
}

.logo span {color: #808080}

.header-az .logo a, 
.header-ka .logo a,
.header-kg .logo a,
.header-kz .logo a,
.header-tj .logo a,
.header-tm .logo a,
.header-uz .logo a {
	background: white;
    padding: 2px 8px;
    border-radius: 8px;
}

.langs {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
}
.langs img {
	width: auto;
	height: 20px;
	
	box-shadow: none; 
	border-radius: 2px; 
	border-color: #c5c5c5;
}

.subheader {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5em;
}
.s-form {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 7px;
}
.s-form input[type="text"] {
	border: 1px solid #ccc;
	padding: 5px;
}
.s-form input[type="text"]:focus {
	outline: none;
}

.cd-nav-trigger {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50px;
  /* hide text */
  overflow: hidden;
  white-space: nowrap;
  color: transparent;
}
.cd-nav-trigger span {
  /* hamburger icon created in CSS */
  position: absolute;
  height: 2px;
  width: 20px;
  top: 50%;
  margin-top: -1px;
  left: 50%;
  margin-left: -10px;
  -webkit-transition: background-color 0.3s 0.3s;
  -moz-transition: background-color 0.3s 0.3s;
  transition: background-color 0.3s 0.3s;
  background-color: #ffffff;
}
.cd-nav-trigger span::before, .cd-nav-trigger span::after {
  /* upper and lower lines of the menu icon */
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  /* Force Hardware Acceleration */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: -webkit-transform 0.3s 0.3s;
  -moz-transition: -moz-transform 0.3s 0.3s;
  transition: transform 0.3s 0.3s;
}
.cd-nav-trigger span::before {
  -webkit-transform: translateY(-6px);
  -moz-transform: translateY(-6px);
  -ms-transform: translateY(-6px);
  -o-transform: translateY(-6px);
  transform: translateY(-6px);
}
.cd-nav-trigger span::after {
  -webkit-transform: translateY(6px);
  -moz-transform: translateY(6px);
  -ms-transform: translateY(6px);
  -o-transform: translateY(6px);
  transform: translateY(6px);
}
.nav-is-visible .cd-nav-trigger span {
  background-color: rgba(255, 255, 255, 0);
}
.nav-is-visible .cd-nav-trigger span::before {
  -webkit-transform: translateY(0) rotate(-45deg);
  -moz-transform: translateY(0) rotate(-45deg);
  -ms-transform: translateY(0) rotate(-45deg);
  -o-transform: translateY(0) rotate(-45deg);
  transform: translateY(0) rotate(-45deg);
}
.nav-is-visible .cd-nav-trigger span::after {
  -webkit-transform: translateY(0) rotate(45deg);
  -moz-transform: translateY(0) rotate(45deg);
  -ms-transform: translateY(0) rotate(45deg);
  -o-transform: translateY(0) rotate(45deg);
  transform: translateY(0) rotate(45deg);
}
@media only screen and (min-width: 1024px) {
  .cd-nav-trigger {
    display: none;
  }
}

main {
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
}

.cd-main-nav {
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  width: 260px;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
  background: #1e262c;
  -webkit-transition: visibility 0s 0.3s;
  -moz-transition: visibility 0s 0.3s;
  transition: visibility 0s 0.3s;
}

.cd-main-nav img {
	  height: 25px;
	  vertical-align: middle;
  }
.cd-main-nav a {
  display: block;
  font-size: 1.8rem;
  padding: .9em 2em .9em 1em;
  border-bottom: 1px solid #33414a;
  color: #000;
  text-transform: capitalize;
  -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
  -moz-transition: -moz-transform 0.3s, opacity 0.3s;
  transition: transform 0.3s, opacity 0.3s;
}

.cd-main-nav .lib {
	background: #000;
	border-radius: 6px;
	padding: 8px;
	
	-webkit-transition: .3s;
	-moz-transition: .3s;
	transition: .3s;
}
.cd-main-nav .lib:hover,
.cd-main-nav .lib:focus {
	border: none;
	outline: none;
	background-color: #af0000;
}

.cd-main-nav .say-yes {
	position: relative;
	top: 1px;
	
	border: 0;
	border-radius: 6px;
	padding: 8px 16px;
	background-color: #f4f4f5;
	color: #000;
	
	-webkit-transition: .3s;
    -moz-transition: .3s;
    transition: .3s;
}

.say-yes:hover,
.say-yes:focus {
	border: none;
	outline: none;
	background: #af0000;
	opacity: 1;
	color: #fff;
}

.cd-main-nav .li-lang {
	padding: 8px 16px;
	color: #fff;
}

.cd-main-nav li ul {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
  -webkit-transform: translateX(260px);
  -moz-transform: translateX(260px);
  -ms-transform: translateX(260px);
  -o-transform: translateX(260px);
  transform: translateX(260px);
}
.cd-main-nav.nav-is-visible {
  visibility: visible;
  -webkit-transition: visibility 0s 0s;
  -moz-transition: visibility 0s 0s;
  transition: visibility 0s 0s;
  text-align: center;
}
.cd-main-nav.moves-out > li > a {
  /* push the navigation items to the left - and lower down opacity - when secondary nav slides in */
  -webkit-transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);
  transform: translateX(-100%);
  opacity: 0;
}
.cd-main-nav.moves-out > li > ul {
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}
.cd-main-nav .cd-subnav-trigger, .cd-main-nav .go-back a {
  position: relative;
}
.cd-main-nav .cd-subnav-trigger::before, .cd-main-nav .cd-subnav-trigger::after, .cd-main-nav .go-back a::before, .cd-main-nav .go-back a::after {
  /* arrow icon in CSS */
  content: '';
  position: absolute;
  top: 50%;
  margin-top: -1px;
  display: inline-block;
  height: 2px;
  width: 10px;
  background: #485c68;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.cd-main-nav .cd-subnav-trigger::before, .cd-main-nav .go-back a::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.cd-main-nav .cd-subnav-trigger::after, .cd-main-nav .go-back a::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.cd-main-nav .cd-subnav-trigger::before, .cd-main-nav .cd-subnav-trigger::after {
  /* arrow goes on the right side - children navigation */
  right: 20px;
  -webkit-transform-origin: 9px 50%;
  -moz-transform-origin: 9px 50%;
  -ms-transform-origin: 9px 50%;
  -o-transform-origin: 9px 50%;
  transform-origin: 9px 50%;
}
.cd-main-nav .go-back a {
  padding-left: 2em;
}
.cd-main-nav .go-back a::before, .cd-main-nav .go-back a::after {
  /* arrow goes on the left side - go back button */
  left: 20px;
  -webkit-transform-origin: 1px 50%;
  -moz-transform-origin: 1px 50%;
  -ms-transform-origin: 1px 50%;
  -o-transform-origin: 1px 50%;
  transform-origin: 1px 50%;
}
.cd-main-nav .placeholder {
  /* never visible or clickable- it is used to take up the same space as the .cd-subnav-trigger */
  display: none;
}
@media only screen and (min-width: 1024px) {
  .cd-main-nav {
    position: static;
    visibility: visible;
    width: 100%;
    height: 70px;
    line-height: 70px;
    /* padding left = logo size + logo left position*/
    padding: 0 0% 0 calc(0% + 124px);
    background: transparent;
    text-align: right;
  }
  .cd-main-nav li {
    display: inline-block;
    height: 100%;
    padding: 0 .4em;
  }
  .cd-main-nav li:last-child {
	  padding: 0;
  }

  .cd-main-nav li a {
    display: inline-block;
    padding: .8em;
    line-height: 1;
    font-size: 1.6rem;
    border-bottom: none;
    /* Prevent .cd-subnav-trigger flicker is Safari */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    transition: opacity 0.2s;
  }
  
  .cd-main-nav li a:not(.cd-subnav-trigger):hover {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .cd-main-nav .go-back {
    display: none;
  }
  .cd-main-nav .cd-subnav-trigger {
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5em;
    -webkit-transition: border 0.3s;
    -moz-transition: border 0.3s;
    transition: border 0.3s;
  }
  .cd-main-nav .cd-subnav-trigger:hover {
    border-color: rgba(255, 255, 255, 0.4);
  }
  .cd-main-nav .cd-subnav-trigger::before, .cd-main-nav .cd-subnav-trigger::after {
    top: 20px;
    right: 17px;
    background-color: #000;
    /* change transform-origin to rotate the arrow */
    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    -o-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-transition: -webkit-transform 0.3s, width 0.3s, right 0.3s;
    -moz-transition: -moz-transform 0.3s, width 0.3s, right 0.3s;
    transition: transform 0.3s, width 0.3s, right 0.3s;
  }
  .cd-main-nav .cd-subnav-trigger::before {
    right: 23px;
  }
  .cd-main-nav .cd-subnav-trigger, .cd-main-nav .placeholder {
    padding-right: 2.4em;
    padding-left: 1.1em;
  }
  .cd-main-nav li ul {
    height: 70px;
    background-color: #f4f4f5;
    /* padding left = logo size + logo left position*/
    padding: 0 5% 0 calc(5% + 124px);
    -webkit-transform: translateY(-80px);
    -moz-transform: translateY(-80px);
    -ms-transform: translateY(-80px);
    -o-transform: translateY(-80px);
    transform: translateY(-80px);
    -webkit-transition: -webkit-transform 0.3s 0.2s;
    -moz-transition: -moz-transform 0.3s 0.2s;
    transition: transform 0.3s 0.2s;
  }
  
  .cd-main-nav .li-lang {
	border: 0;
	border-radius: 6px;
  }
  
  .cd-main-nav .li-lang:focus {
	border: none;
	outline: none;
	background-color: #f4f4f5;
  }  
  
  .cd-main-nav li ul li {
    opacity: 0;
    -webkit-transform: translateY(-20px);
    -moz-transform: translateY(-20px);
    -ms-transform: translateY(-20px);
    -o-transform: translateY(-20px);
    transform: translateY(-20px);
    -webkit-transition: -webkit-transform 0.3s 0s, opacity 0.3s 0s;
    -moz-transition: -moz-transform 0.3s 0s, opacity 0.3s 0s;
    transition: transform 0.3s 0s, opacity 0.3s 0s;
  }
  .cd-main-nav .placeholder {
    /* never visible or clickable- it is used to take up the same space as the .cd-subnav-trigger */
    display: block;
    visibility: hidden;
    opacity: 0;
    pointer-event: none;
  }
  .cd-main-nav.moves-out > li > a {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
  .cd-main-nav.moves-out > li > ul {
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    transition: transform 0.3s;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
  }
  .cd-main-nav.moves-out > li ul li {
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition: -webkit-transform 0.3s 0.2s, opacity 0.3s 0.2s;
    -moz-transition: -moz-transform 0.3s 0.2s, opacity 0.3s 0.2s;
    transition: transform 0.3s 0.2s, opacity 0.3s 0.2s;
  }
  .cd-main-nav.moves-out .cd-subnav-trigger::before, .cd-main-nav.moves-out .cd-subnav-trigger::after {
    width: 14px;
    right: 17px;
  }
  .cd-main-nav.moves-out .cd-subnav-trigger::before {
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    transform: rotate(225deg);
  }
  .cd-main-nav.moves-out .cd-subnav-trigger::after {
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
  }
}

.cd-main-content::before {
  /* never visible - this is used in jQuery to check the current MQ */
  display: none;
  content: 'mobile';
}
@media only screen and (min-width: 1024px) {
  .cd-main-content::before {
    content: 'desktop';
  }
}

.cd-main-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding-top: 50px;
  background-color: #fff;
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}

.cd-main-content__heading {
	font-weight: 700;
	font-size: 30px;
	margin: 0 0 20px;
}

.cd-main-content.nav-is-visible {
  -webkit-transform: translateX(-260px);
  -moz-transform: translateX(-260px);
  -ms-transform: translateX(-260px);
  -o-transform: translateX(-260px);
  transform: translateX(-260px);
}
@media only screen and (min-width: 1024px) {
  .cd-main-content {
    padding: 120px 236px 50px 236px;
  }
  .cd-main-content.nav-is-visible {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}

.no-js .cd-nav-trigger, .no-js .cd-subnav-trigger {
  display: none;
}

.no-js header {
  position: relative;
  height: auto;
}

.no-js .cd-logo img {
  margin-bottom: 14px;
}

.no-js .cd-main-nav {
  position: static;
  width: 100%;
  height: auto;
  visibility: visible;
  overflow: visible;
}
.no-js .cd-main-nav li {
  display: inline-block;
}
.no-js .cd-main-nav li:last-child {
  display: block;
}
.no-js .cd-main-nav .go-back {
  display: none;
}
.no-js .cd-main-nav li ul {
  position: static;
  width: 100%;
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}
@media only screen and (min-width: 1024px) {
  .no-js .cd-main-nav {
    height: 70px;
  }
  .no-js .cd-main-nav li ul {
    position: absolute;
    top: 80px;
  }
  .no-js .cd-main-nav li ul li {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
  .no-js .cd-main-nav li ul li:last-child {
    display: none;
  }
}

.no-js .cd-main-content {
  padding-top: 0;
}
@media only screen and (min-width: 1024px) {
  .no-js .cd-main-content {
    padding-top: 80px;
  }
}

.cd-main-content--book {
	padding: 100px 50px 50px 50px;
}
.cd-main-content__nav {
	display: flex;
	gap: 15px;
}
.cd-main-content__nav-item {
	display: flex;
	flex-direction: column;
	width: 14%;
}
.cd-main-content__nav-item a:first-child {
	margin-bottom: 1em;
}

/* ****************************
**** MAIN content section *****
**************************** */

section {
	clear: both;
    margin: 0 auto;
}

@media screen and (max-width: 600px) {
	section {
		width: 100%;
		padding: .8em;
	}
}

.booklist {
	display: flex;
	flex-direction: column;
	padding: 35px;
	gap: 3em;
	align-items: center;
}

.booklist h2 {
	color: #333;
	font-size: 1.3em;
	margin-bottom: 1em;
}
.booklist span {
	color: gray;
	font-size: .8em
}

.booklist--nt {
	flex-direction: row;
	background-image: url(/img/nt-bg_sm.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 12px;
	margin-bottom: 20px;
}

.booklist--ot {
	flex-direction: row;
	background-image: url(/img/ot-bg_sm.png);
	background-size: cover;
    background-repeat: no-repeat;
    border-radius: 12px;
	margin-bottom: 20px;
}

.booklist--lib {
	flex-direction: row;
	background-image: url(/img/lib-bg_sm.jpg);
	background-size: cover;
    background-repeat: no-repeat;
    border-radius: 12px;
	margin-bottom: 40px;
}

.booklist__title {
	display: flex;
	flex-direction: column;
	gap: 15px;
	align-items: center;
	font-size: 1.2em;
	font-weight: bold;
	width: 100%;
	max-width: 280px;
}

.booklist__title h2 {
	margin: 0;
	font-size: 48px;
	font-weight: 700;
	text-align: center;
}
.booklist__title p {
	margin: 0;
	font-size: 24px;
	text-align: center;
}

.booklist__chaps {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 5px;
	width: 100%;
}
.booklist__chaps a {
	padding: 3px 6px;
	border-radius: 20px;
}
.booklist__chaps a:hover,
.booklist__chaps a:focus {
	background: lightgrey;
}

.booklist__topbar {
	width: 100%;
	display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1em;	
}

.booklist__text {
	line-height: 1.5em;
	margin: 0 0 2em;
}

.booklist__toggle {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
/* контейнер иконок */
.booklist__toggle .icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s ease;
  color: #000;
  width: 20px;
}
/* по умолчанию */
.icon--one {opacity: 0;}
.icon--two {opacity: 1;}
/* при активном состоянии */
.booklist__toggle.active .icon--one {opacity: 1;}
.booklist__toggle.active .icon--two {opacity: 0;}

/* режим 2 колонок */
.booklist__text--columns {
  column-count: 2;
  column-gap: 30px;
}

/* скрываем второй br */
.booklist__text--columns br + br {
  display: none;
}

span.verse-intro {
	font-style: italic;
	font-size: .85em;
}

.verse-number {
	vertical-align: super;
}	

.booklist .column a {
	display: inline-block;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	color: #000;
	padding: 5px 15px;
}

.booklist .column a:hover,
.booklist .column a:focus {
	background: #af0000;
	color: #fff;
	border: none;
	outline: none;
}
	

/* колонки в завис.от ширины */
.column {
	width: 100%;
	
    -webkit-column-width: 200px;
    -moz-column-width: 200px;
    column-width: 200px;
	
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    
	-webkit-column-gap: 30px;
    -moz-column-gap: 30px;
    column-gap: 30px;
    
	-webkit-column-rule: 0px solid #ccc;
    -moz-column-rule: 0px solid #ccc;
    column-rule: 0px solid #ccc;
}
.column p {
	margin-top:0
}

/* форма перехода на другую книгу */
.otherch {
	
}

.err404 {
	display:block;
	margin:2em 0;
}
.err404 p {
	font-size: 2em;
	color: brown;
	margin-bottom:0;
}
.err404 span {
	font-size: 1.5em;
}
.err404 a {
	display:block;
	margin:.5em 0;
}

/* 
*******************************
***** Стилизация SELECTов *****
*******************************
*/
.select-css { 
	display: inline-block; 
	
	font-weight: 700;
	color: #444; 
	line-height: 1.3; 
	padding: .4em 1.4em .4em .5em; 
	width: 200px;
	max-width: 100%; 
	box-sizing: border-box; 
	margin: 0; 
	border: 1px solid #aaa;
	 box-shadow: 0 1px 0 1px rgba(0,0,0,.04); 
	border-radius: 0;
	
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	
	background-color: #fff; 
	background-image: url(https://mukitob.com/img/select-arr-down.svg), linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%); 
	
	background-repeat: no-repeat, repeat;
	background-position: right .7em top 50%, 0 0;
	background-size: .65em auto, 100%; 
}

.select-css::-ms-expand { display: none; } 
.select-css:hover { border-color: #888; } 

.select-css:focus { 
	border-color: #aaa; 
	box-shadow: 0 0 1px 2px rgba(49, 68, 74, .7);
	box-shadow: 0 0 0 3px -moz-mac-focusring; 
	color: #222;
	outline: none; 
} 
.select-css option { font-weight:normal; } 
.select-css option:hover { background-color:pink; } 

*[dir="rtl"] .select-css, :root:lang(ar) .select-css, :root:lang(iw) .select-css { 
	background-position: left .7em top 50%, 0 0; 
	padding: .6em .8em .5em 1.4em; 
}

.select-css-second {
	width: 80px;
}

.submit-css {
	display: inline-block;
    font-weight: 700;
    color: #33414a;
    line-height: 1.3;
    padding: 0.4em 0.5em;
    box-sizing: border-box;
    margin: 0;
    border: 1px solid #aaa;
    box-shadow: 0 1px 0 1px rgb(0 0 0 / 4%);
    border-radius: 0;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%);
    background-repeat: inherit;
    background-position: inherit;
    background-size: inherit;
}

.cr {
	text-align: right;
	font-size: .8em;
	color: #999;
	margin: 5px;
}

.booklib {
	margin-bottom: 40px;
}

/* yes block */
.section-yes {
	
	display: flex;
	align-items: center;
	
	width: 100%;
	height: 420px;
	border-radius: 12px;
	background-image: url(/img/say-yes-bg.png);
	background-repeat: no-repeat;
	background-size: cover;
	margin-bottom: 40px;
}

.section-yes__wrapper {
	width: 470px;
	padding-left: 95px;
}

.section-yes__heading {
	font-weight: 700;
	font-size: 48px;
	margin: 0 0 10px;
}

.section-yes__text {
	font-size: 16px;
	margin: 0 0 10px;
}

.section-yes__btn {
	display: inline-block;
	background: #af0000;
	color: #fff;
	text-transform: uppercase;
	border-radius: 8px;
	padding: 10px 32px;
	font-weight: 700;
	font-size: 14px;
}
.section-yes__btn:hover,
.section-yes__btn:focus {
	border: none;
	outline: none;
	background: #33414a;
	color: #fff;
}

@media screen and (max-width: 480px) {
	.section-yes {
		align-items: flex-start;
		background-image: url(/img/say-yes-bg_sm.png);
		background-position: bottom;
		height: 330px;
	}
	.section-yes__wrapper {
		width: 100%;
		padding: 30px;
		text-align: center;
	}
	.section-yes__heading {
		font-size: 32px;
	}
	.section-yes__text {
		font-size: 14px;
	}
}

/* story block */
.section-story {
	display: flex;
	align-items: center;
	
	width: 100%;
	height: 420px;
	border: 5px solid #F0D3A3;
	border-radius: 12px;
	background-image: url(/img/story-bg.png);
	background-repeat: no-repeat;
	background-size: cover;
	margin-bottom: 30px;
}

.section-story__wrapper {
	width: 470px;
	padding-left: 95px;
}

.section-story__heading {
	font-weight: 700;
	font-size: 48px;
	margin: 0 0 10px;
	
	background: linear-gradient(94.03deg, #793100 5.99%, #A84A0D 99.28%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-story__text {
	font-size: 16px;
	margin: 0 0 10px;
}

.section-story__btn {
	display: inline-block;
	background: #af0000;
	color: #fff;
	text-transform: uppercase;
	border-radius: 8px;
	padding: 10px 32px;
	font-weight: 700;
	font-size: 14px;
}
.section-story__btn:hover,
.section-story__btn:focus {
	border: none;
	outline: none;
	background: #33414a;
	color: #fff;
}

@media screen and (max-width: 480px) {
	.section-story {
		align-items: flex-start;
		background-image: url(/img/story-bg_sm.png);
		background-position: bottom;
		height: 330px;
	}
	.section-story__wrapper {
		width: 100%;
		padding: 30px;
		text-align: center;
	}
	.section-story__heading {
		font-size: 32px;
	}
	.section-story__text {
		font-size: 14px;
	}
}




.wrapper {
	display: flex;
	align-items: flex-start;
}

aside {
	width: 20%;
    position: sticky;
    top: 150px;
    bottom: 70px;
}
.sidebar {
	display: block;
}
.catalog-toggle {
	display: none;
	width: 100%;
	margin-bottom: 1em;
	padding: 10px;
	text-transform: uppercase;
	font-size: 1em;
}

.content {
	width: 80%;
	margin-left: 100px;
}

.catalog {
	box-shadow: 0 3px 5px -4px #000;
	text-align: center;
}

.catalog_list {
	list-style: none;
	padding-left: .5em;
}

.info {
	display: flex;
	gap: 1em;
	align-items: center;
	margin-bottom: 2em;
}
.info p {margin:0}

.title-book {
	margin: 0 0 1.5em;
}

.news-books,
.best-books {
	display: flex;
	justify-content: space-evenly;
	gap: 1em;
	flex-wrap: wrap;
	margin-bottom: 3em;
}

.book-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 180px;
}

.onebook {
	display: flex;
	gap: 1em;
	align-items: flex-start;
}
.onebook p {
	margin: 0 0 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.onebook > p > span > img {
	width: 20px;
	height: 20px;
}
.onebook a:nth-child(2) {
	margin-top: 1.4em;
}

.book-info {
	display: flex;
	gap: 1em;
	align-items: center;
	margin-bottom: 1em;
}
.book-info__preview {
	display: flex;
	gap: 5px;
	align-items: center;
}
.book-info__desc {
	width: 100%;
}
.book-info__author,
.book-info__annotation {
	margin: 0 0 1em;
}
.book-info__title,
.book-info__about {
	margin: 0 0 .5em;
}
.book-info__icons {
	display: flex;
	justify-content: flex-start;
	gap: 1em;
}

.has-found {
	display: flex;
	gap: 1em;
	align-items: center;
}


/*
************
** FOOTER **
************
*/
footer {
	width: 100%;
	min-height: 70px;
	padding: 20px;
	background: #000;
	color: #fff;
	
	display: flex;
    justify-content: space-between;
    align-items: center;
}
footer p {
	display: flex;
	gap: 5px;
	align-items: center;
	margin: 0;
	color: #fff;
    letter-spacing: .1em;
}
footer a {
	display: flex;
	color: #fff;
	
	-webkit-transition: opacity .3s;
    -moz-transition: opacity .3s;
    transition: opacity .3s;
}
footer a:hover,
footer a:focus {
	border: none;
	outline: none;
	opacity: .6;
}

footer img {
	height: 20px;
	width: auto;
}

/*
************
*** MEDIA **
************
*/

@media screen and (max-width: 1024px) {
	.cd-nav-trigger {
		background: #000;
	}
	.cd-main-nav a,
	.cd-main-nav__lang a {
		color: #fff;
	}
	.cd-main-content {
		padding: 90px 10px 10px 10px;
	}
	.cd-main-content__heading {
		text-align: center;
	}
	.cd-main-content__nav {
		flex-wrap: wrap;
		width: 70%;
		gap: 0 2em;
	}
	.cd-main-content__nav-item a:not(:nth-child(1)):not(:nth-child(2)) {
		display: none;
	}
	.cd-main-content__nav-item {
		width: 20%;
	}
}

/* popup modal window */
.modal {
  display: none; 
  position: fixed;
  z-index: 2;
  top: 60px; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
}
.modal-content {
  display: block;
  max-width: 80%;
  max-height: 80%;
  margin: 5% auto;
  box-shadow: 0 0 20px #000;
  border-radius: 5px;
}
.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

@media screen and (max-width: 480px) {
	header {
		width: 100vw;
		height: auto;
	}	
	.booklist__otherch {
		display: flex;
		flex-direction: column;
		gap: 5px;
		align-items: center;
	}
	.select-css {
		width: auto;
	}
	.select-css-second {
		width: 80px;
	}
	.submit-css {
		width: 3em;
	}
	.cd-main-content {
		padding: 85px 15px 20px 15px;
	}
	.cd-main-content__nav {
		flex-direction: column;
	}
	.cd-main-content__nav-item {
		width: auto;
	}
	.booklist--nt,
	.booklist--ot,
	.booklist--lib {
		flex-direction: column;
		gap: 2em;
		text-align: center;
	}
	.booklist--page {
		padding: 0;
	}
	.booklist__topbar {
		flex-direction: column-reverse;
		gap: 2em;
	}
	.booklist__text {
		text-align: justify;
	}
	
	.header-az .logo, 
	.header-ka .logo,
	.header-kg .logo,
	.header-kz .logo,
	.header-tj .logo,
	.header-tm .logo,
	.header-uz .logo {
		text-align: center;
		width: 100%;
	}
	.header-az .logo a, 
	.header-ka .logo a,
	.header-kg .logo a,
	.header-kz .logo a,
	.header-tj .logo a,
	.header-tm .logo a,
	.header-uz .logo a {
		position: relative;
		top: -10px;
	}
	.langs {
		width: 100%;
		text-align: center;
		position: absolute;
		right: unset;
		top: unset;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
	}
	.subheader {
		flex-direction: column;
	}
	.subheader .title {
		text-align: center;
	}
	
	.wrapper {
		flex-direction: column;
	}
	
	aside {
		position: relative;
		top: 0; bottom: 0;
		width: 100%;
		margin-bottom: 1em;
	}
	.catalog-toggle {
		display: block;
		cursor: pointer;
	}
	.sidebar {
		overflow: hidden;
		max-height: 0;
		opacity: 0;
		transition: max-height .3s ease, opacity .3s ease;
	}
	.sidebar.open {
		max-height: 100%;
		opacity: 1;
		margin-bottom: 2em;
	}
	
	.content {
		width: 100%;
		margin-left: 0;
	}
	.book-info {
		flex-direction: column;
		text-align: center;
	}
	.book-info__img {
		display: block;
	}
	.book-info__icons {
		justify-content: center;
	}
	.book-info__annotation {
		text-align: justify;
	}
	
	.img-progs {
		width: 100%;
		height: auto;
	}
	
	.close {
		top: 10px;
		right: 10px;
	}
	
	footer p:first-child {
		display: none;
	}
}


.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(100%);
}