:root {  
--primary: #004680;
--secondary: #FFA300;
--muted: #83838f;;

--font: 'Calibri',sans-serif;
}
/*
::selection {background: var(--selection); }
::-moz-selection {background: var(--selection);}
*/
*, *:before, *:after {
  scroll-behavior: smooth;
  box-sizing:  border-box;
}
a {
  color: var(--primary);
}
a:hover {
  text-decoration: none;
}
img,
video {
  max-width: 100%;
  max-height: 100%;
  outline: none;
}
var {
  font-style: normal;
}
.tinfo {
  word-break: break-all;
}

#alert_bottom {
	color:#ffffff;
	text-align: left;
	padding:10px 20px;	
	font-size:16px;
	text-shadow:1px 1px 0 rgba(0,0,0,.5);	
	position:fixed;
	bottom:0;
	left:0;
	right:0;
	z-index:500;	
}
#alert_bottom a {	color:#fff; }
.alert_green { background-color:rgba(60,143,109,0.8); }
.alert_red { background-color: rgba(237,28,41,0.8); }
#alert_bottom a.close {
	float:right;
	font-size:20px;
	line-height:20px;
	padding-left:20px;
	text-decoration:none;
}

/* Scrollbar */
.scroll-list {
  list-style: none;
  margin: 0;
  padding: 0 0 30px;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
}
.scrollbar {
  margin: -20px 0 0;
  height: 10px;
  line-height: 0;
  background: #f3f5f6;    
  border-radius: 4px;
  overflow: hidden;
  position:relative;
}
.scrollbar .handle {
  width: 100px;
  height: 100%;
  background: #c7cdd0;
  border-radius: 4px;
  cursor: pointer;
}
.scrollbar .handle .mousearea {
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: 0;
  width: 100%;
}
/*
.scroll-list::-webkit-scrollbar-track {
  height: 10px;
  border-radius: 10px;
  background-color: #f3f5f6;
}
.scroll-list::-webkit-scrollbar {
  height: 10px;
  background-color: #f3f5f6;
}
.scroll-list::-webkit-scrollbar-thumb {
  height: 10px;
  border-radius: 10px;
  background-color: #c7cdd0;
}
*/
.all-link {
  font-size: 16px;
  color: var(--gray);
}
.card {
  margin-bottom: 20px;
  padding: 15px;
  background: #fff;
  border-radius: 4px;
  border: none;
}
.header-2 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 600;
  line-height: 120%;
}
.catalog-aside .header-2 {
  margin: 0 0 8px;
}
.star-raiting {
  list-style: none;
  margin: 5px 0;
  padding: 0;
  color: #c7cdd0;

  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.star-raiting li:nth-child(6) {
  margin-left: 6px;  
  color: #000;
  font-size: 18px;
  font-weight: 600;
}
.star-raiting li.fill {
  color: var(--secondary);
}
html {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-top: 60px !important;
  background-color: #eff1f2;
  background: url(/image/paper_bg.png);
}

.wrapper {
  padding: 0 15px;
  width: 100%;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.footer-copyright {
  padding: 15px 0;
  background: #0f0f0f;
  color: rgba(255, 255, 255, 0.5);
}

.page-bottom {  
  margin-top: auto;
}
.page-bottom-bg {
  margin-top: 60px;
  padding: 20px 0;
  background: #23282d;
  color: rgba(255, 255, 255, 0.5);  
}
.page-bottom a,
footer a {
  color: rgba(255, 255, 255, 0.5);
}
.page-bottom a:hover,
footer a {
  color: rgba(255, 255, 255, 0.75);
}
.bottom-header {
  margin: 20px 0 5px;
  color: #f2f4f5;
}
.bottom-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bottom-links a {
  display: block;
  padding: 5px 0;
}

.navbar {
  min-height: 60px;
  padding: 7px 0;
  background: #123;
  font-size: 15px;
}
.navbar-toggler {
  float: right;
}
.navbar-brand {
  margin-right: 15px;
  padding: 3px 0;
}
.navbar-brand img {
  height: 40px;
  margin: 2px 0 -2px;
}
.navbar .wrapper {
  position: relative;
  display: block;
  align-items: center;
  justify-content: space-between;
}
.navbar .input-group {
  flex-wrap: nowrap;
}
.nav-search {
  margin: 0 15px;
}
.nav-search input[type="search"] {
  line-height: 38px;
  border: 0;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
}
.nav-search input[type="search"]::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.5);
} 
.nav-search input[type="search"]::-moz-placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.nav-search .input-group-append {
  margin: 0;
  border: 0;
}
.nav-search .input-group-append .btn {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);  
}
nav.wrapper {
  padding:0; 
}
.breadcrumb {
  align-items: center;
  min-height: 40px;
  margin: 0;
  padding: 0;
  background: transparent;
  font-size: 13px;  
  color: #fff;
}
.breadcrumb.dark {
  color: #000;
}
.breadcrumb a,
.breadcrumb-item.active {
  color: inherit;
  opacity: 0.6;
}
.breadcrumb-item::before,
.breadcrumb-item + .breadcrumb-item::before {
  color: inherit;
  opacity: 0.3;
}
.breadcrumb a:hover {
  opacity: 1;
}

.padding-aside {
  position: relative;
  flex: 0 0 250px;
  margin-right: 20px;
  z-index: 5;
}
.book-head-box .padding-aside {
  display: none;
}
.book-content-box .padding-aside {
  margin-top: -20px;
}



.gridBox-main {
  grid-area: mn;
}
.gridBox-left {
  grid-area: lc; /*left-col*/
}
.gridBox-right {
  grid-area: rc; /*right-col*/
}
.gridBox {
  display: flex;  
  flex-direction: column;

  display: grid;
  grid-template-areas:"lc"
                      "mn"
                      "rc";
}


.sticky
{
  position: sticky;
  top: 80px;
}

.book-page {
  display: flex;
}
.book-cover {
  position: sticky;
  top: 0;

  display: flex;  
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.book-cover-img {
  display: block;
  position:relative;
  max-width: 280px;
  margin: 0;
  padding: 0;
  font-size: 0;
}
.book-cover-img img {
  width: 100%;
  border-radius: 4px;
}
.book-cover-img span
{
	border: 1px solid #333;
	opacity:0.8;
	right:20px;
	top:20px;
	position:absolute;
	background-color:#fff;
	border-radius:50%;
	text-align:center;
	width:28px;
	height:28px;
	color:#333;
	font-size:11px;
	font-weight:bold;
	padding-top:5px;
}

.book-head-bg {
  padding: 0 10px 15px 10px;
  position: relative;
  overflow: hidden;
  z-index: 3;
}
.book-head-bg:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: var(--primary);
  opacity: 0.3;
  z-index: -1;
}
.book-head-bg:after {
  content: '';
  display: block;
  position: absolute;
  left: -30px;
  right: -30px;
  top: -35px;
  bottom: -35px;
  background: url('/image/book_cover.png') 50% 65% no-repeat;
  background-size: cover;
  background-color: #23282d;
  z-index: -2;
  filter: blur(15px);
}
.book-head-box {
  display: flex;
}
.book-head {
  flex: 1 1 auto;
  padding: 15px 0;
  color: #fff;
  text-shadow: 0 0 10px #000;
}
.book-head span {
  opacity: 0.6;
}
.book-title {
  margin-bottom: 6px;
  font-size: 30px;
  line-height: 100%;
  letter-spacing: -0.2px;
}
.book-author {
  color: inherit;
  margin-bottom: 6px;
}



.book-raiting {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.book-raiting-stars {
  display: inline-flex;
  font-size: 0;
}
.book-raiting-count {
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  margin-left: 5px;
}
.book-raiting-readers {
  display: inline-block;
  font-size: 14px;
  margin-left: 5px;
  color: var(--gray);
}

.book-table {
  width: 100%;
}
.book-table thead {
  font-weight: 500;
}
.book-table thead td:first-child {
  padding-left: 0;
  font-size: 24px;
}
.book-table thead td > i {
  display: none;
  width: 24px;
  height: 24px;
  justify-content: center;
  align-items: center;
  margin-right: 6px;
  color: var(--secondary);
  font-size: 20px;
}
.book-table tbody {
  display: flex;
  flex-direction: column;
}
.book-table tr {
  display: flex;
  width: 100%;
  border-radius: 20px;
}
.book-table tbody tr:hover {
  background: #fff;
}
.book-table td {
  width: 100px;
  padding: 10px 0;
  line-height: 110%;
  align-items: center;
  display: inline-flex;
  white-space: nowrap;
}
.book-table td:first-child {
  width: calc(100% - 200px);
  padding-left: 0; 
  white-space: normal;
}



.book-table div {
  display: inline-flex;
  align-items: baseline;
  min-width: 44px;
}
.book-table span {
  margin-right: 3px;
  font-size: 12px;
  line-height: 12px;
  font-weight: 500;  
  color: #1d2c3c;
  opacity: 0.4;
}





.book-param {
  font-size: 14px;
}
.book-param a {
  margin-right: 6px;
  color: var(--gray);
}
.isbn-btn {  
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0px 6px;
  /*border: 1px solid #ccc;*/
  border-radius: 2px;
  background: rgba(29, 44, 60, 0.1);
}
.isbn-btn:hover {
  background: rgba(29, 44, 60, 0.2);
}
.isbn-btn i {
  margin-left: 4px;
}

.book-source {
  margin: 15px 0 0;
  padding: 15px;
  border: 1px solid rgba(29, 44, 60, 0.2);
  border-radius: 4px;
}
.book-source h4 {
  caption-side: top;
  display: inline-block;
  margin-bottom: 12px;
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  color: inherit;
}
.source-table {
  width: 100%;
}
.source-table tr {
  position: relative;
  display: flex;
  margin: 4px 0;
}
.source-table tr:hover {
  border-radius: 4px;
  background-color: #fff;
}
.source-table td {
  display: flex;
  flex: 1 1 100px;
  align-items: center;
  padding: 0 10px 0 0;
}
.source-table td.source-bookcover {
  flex: 0 0 35px;
}
.source-bookcover img {
  width: 26px;
  height: 38px;
  border-radius: 2px;
  overflow: hidden;
}
.source-table td.source-booktype {

}
.source-table td.source-shop {
  
}
.source-shop a  {
  display: inline-flex;
  color: initial;
}
.source-shop a > img {
  width: 24px;
  height: 24px;
  border-radius: 2px;
  margin-right: 8px;
}
.source-table td.source-price {
  flex: 0 0 60px;
  padding: 0;
  justify-content: flex-end;
  font-weight: 500;
  padding-right: 10px;
}
.source-table td.source-legend {
  padding: 0 10px;
  position: relative;
  flex: 0 0 16px;
  z-index: 5;
}
.source-legend > span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  background: rgba(29, 44, 60, 0.1);
  border-radius: 2px;
  cursor: pointer;
}
.source-legend> span:hover {
  background: rgba(29, 44, 60, 0.2);
}

.source-table tr.source-loadmore:hover {
  background: none;
}
.source-loadmore td {
  padding: 0;
}
.source-loadmore-btn {
  background: rgba(29, 44, 60, 0.1);
  width: 100%;
  margin: 10px 10px 0 0;
}
.source-loadmore-btn:hover {
  background: rgba(29, 44, 60, 0.2); 
}



.tag-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0; 
}
.tag-list li {
  display: inline-flex;
  margin: 0 6px 6px 0;
}
.sample-download {

}
.sample-download h5 {
  margin: 20px 0 15px;
  text-align: center;
}

.book-descr {
  
}
.have-series {
  display: inline-block;
  padding: 3px 0;
  color: var(--gray);
}
.have-series a,
.genre a {
  color: inherit;
  border-bottom: 1px dashed var(--primary);
}
.have-series a:hover,
.genre a:hover {
  color: var(--primary);
  border-bottom: 1px solid var(--primary);
}


.sample-download ul {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
}
.sample-download li {
  flex: 1 0 auto;
  margin-right: 5px;
}
.sample-download li:last-child {
  margin: 0;
}
/*.sample-download ul a.btn {
  width: 100%; 
  background: rgba(29, 44, 60, 0.1);
}
.sample-download ul a.btn:hover {
  background: rgba(29, 44, 60, 0.2);
}*/
.sample-download ul button {
  width: 100%; 
  background: rgba(29, 44, 60, 0.1);
}
.sample-download ul button:hover {
  background: rgba(29, 44, 60, 0.2);
}


.book-collections {
  padding: 10px 0;
  background: #fff;
}
.collection {
  margin: 30px 0;
}
.collection-header {
  margin: 20px 0 15px;
  font-size: 26px;
}
.collection-subhead {
  line-height: 140%;
  margin: 0 0 20px;
}


.top100-card {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 240px;
  height: 80px;
  margin-right: 10px;
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
  background-image: linear-gradient(45deg, #fa709a 0%, #fee140 100%)
}
.top100-card:last-child {
  margin-right: 0;
}
.top100-card a  {
  display: block;
  text-align: center;
  color: #000;
}
.top100-card span {
  display: block;
  font-size: 120%;
  font-weight: 600;
}

.author-card {
  display: inline-flex;
  flex-direction: column;
  flex: 0 0 115px;
  margin-right: 30px;
  font-size: 16px;
  line-height: 1.15em;  
  overflow: hidden;
  position: relative;
}
.author-card:last-child {
  margin-right: 0;
}
.author-card-img {
  width: 115px;
  height: 115px;
}
.author-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.author-card-name {
  margin: 10px 0;
  font-weight: 600;
  color: #000;
}
.author-card-count {
  font-size: 85%;
  color: var(--gray);
}

.author-page {
  font-size: 0;
  margin: -15px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.author-preview {
  position: relative;
  display: inline-flex;
  margin: 15px;
  padding: 10px;
  font-size: 14px;
  background: #fff;
  border-radius: 4px;
}
.author-preview-img {
  flex: 0 0 110px;
  width: 110px;
  height: 120px;
  margin: -10px;
  margin-right: 10px;
}
.author-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px 0 0 4px;
}
.author-preview-info {
  display: flex;
  flex-direction: column;
}
.author-preview-name {
  margin: 0;
  font-size: 115%;
  font-weight: 600;
  color: #000;
}
.author-preview-counts {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  color: var(--gray);
  display: flex;
}
.author-preview-counts li {
  margin-right: 10px;
  font-weight: 500;
  opacity: 0.7;
}

.author-head-bg {
  position: relative;
  overflow: hidden;
  z-index: 3;
  background-color: #23282d;
}
.author-head-bg:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: var(--primary);
  opacity: 0.2;
  z-index: -1;
}
.author-head-bg:after {
  content: '';
  display: block;
  position: absolute;
  left: -30px;
  right: -30px;
  top: -35px;
  bottom: -35px;
  background: url('author-photo.jpg') 50% 65% no-repeat;
  background-size: cover;
  background-color: #23282d;
  z-index: -2;
  filter: blur(20px);
}
.author-promo {
  display: flex;
  padding: 15px 0;
}
.author-promo-img {
  flex: 0 0 150px;
  height: 150px;
  margin-right: 15px;
}
.author-promo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.author-promo-text {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  color: #fff;
  text-shadow: 0 0 10px #000;
}
.author-promo-name {
  font-size: 42px;
  line-height: 100%;
  letter-spacing: -0.2px;
}
.author-promo-info {

}
.author-promo-info var {
  font-style: normal;
  display: block;
}


.profileCard {  
  margin: 0 0 20px;
  padding: 10px;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}
.profileCard-head {
  position: relative;
  margin: -10px -10px 10px;
  padding: 10px;
  color: #fff;
  background: #112233;
  z-index: 2;
  overflow: hidden; 
}
.profileUser-name {
  font-weight: 500;
}
.profileUser-avatar {
  width: 64px;
  height: 64px;
  border-radius: 32px;
  margin-right: 8px;
  object-fit: cover;
}
.profileCard-head:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: var(--primary);
  opacity: 0.2;
  z-index: -1;
}
.profileCard-head:after {
  content: '';
  display: block;
  position: absolute;
  left: -15px;
  right: -15px;
  top: -15px;
  bottom: -15px;
  background: url(https://libs.ru/media/authors/48/482953/preview/23a6544f9eb68d757cd05380f675d391.jpeg) 50% 65% no-repeat;
  background-size: cover;
  background-color: #005095;
  z-index: -2;
  filter: blur(15px);
}

.collection-card {
  display: inline-flex;
  flex-direction: column;
  flex: 0 0 240px;
  height: 260px;
  margin-right: 15px;
  font-size: 16px;
  line-height: 1.5em;
  background: #fff;
  border: 1px solid rgba(29, 44, 60, 0.2);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.collection-card:last-child {
  margin-right: 0;
}
.collection-card-img {
  width: 240px;
  height: 140px;
}
.collection-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collection-card-name {
  margin: 0 0 auto;
  padding: 10px 10px 5px;
  max-height: 208px;  
  font-weight: 600;
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.collection-card-count {
  padding: 0 10px 10px;
  font-size: 85%;
  color: var(--gray);
}


.book-list {
  list-style: none;
  margin: -15px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
ol.book-list {
  counter-reset:li; /* Инициализируем счетчик */
  }
ol.book-list > li::before {
  content: counter(li); /* В качестве данных используем счетчик */
  counter-increment:li; /* Увеличиваем значение счетчика на 1 */

  display: inline-flex;
  justify-content: center;
  align-items: center;

  position: absolute;
  top: 200px;
  right: 10px;
  z-index: 2;
  
  width: 24px;
  height: 24px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
  background: var(--primary);  
  border-radius: 20px;  
}
.book-card {
  flex: 0 0 130px; 
  margin-right: 15px;
  padding: 5px;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  font-size: 14px;
}
.book-card-img {
  margin: 0 auto;
  width: 120px;
  height: 175px;
  color: #fff;
  background: #c7cdd0;
  text-align: center;  
  border-radius: 4px;
  overflow: hidden;
}
.book-card-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.book-cardXL {
  flex: 0 0 165px; 
  margin: 15px;
  padding: 5px;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  font-size: 14px; 
}
.book-cardXL .book-card-img {
  width: 155px;
  height: 225px;
}
.book-card-name {
  line-height: 130%;
  color: #000;
  font-weight: 500;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.book-card-author {
  list-style: none;
  margin: 0;
  padding: 0;
}
.book-card-author li {
  font-size: 85%;
  color: var(--gray);
}
.book-card-genre {
  font-size: 85%;
  color: var(--gray);
}

.book-listLong {
  list-style: none;
  margin: 30px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.book-cardLong {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  margin-bottom: 30px;
}
.book-cardLong-img {
  flex: 0 0 120px;
  margin: 0 20px 0 0;
}

.book-publ-img {
  flex: 0 0 230px;
  margin: 0 20px 0 0;
}

.book-cardLong-img a {
  display: block;
  width: 110px;
  height: 170px;
  border-radius: 4px;
  background: #c7cdd0;
  font-size: 0;
  overflow: hidden;
  box-shadow: 0 0 15px #c7cdd0;
}
.book-cardLong-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.book-cardLong-info {
  
}
.book-cardLong-details {
  display: flex;
  align-items: baseline;
  margin-bottom: 6px;
}
.book-cardLong-raiting {
  margin-left: 6px;
  font-size: 20px;
}
.book-cardLong-views {
  font-size: 90%;
  margin-left: 20px;
  color: var(--gray);
}
.book-cardLong-name {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}
.book-cardLong-name a {
  color: initial;
}
.book-cardLong-author {
  font-size: 90%;
}
.book-cardLong-descr {
  position: relative;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.readmore-hidden {
  font-size: 0;
}

.search-inpage {

}
.search-inpage-tip {
  font-size: 13px;
  margin: 0 0 4px;
  color: var(--gray);
}
.form-search-inpage {
  display: flex;
  align-items: stretch;
  position: relative;
  width: 100%;
  margin: 0 0 30px;
}
.form-search-inpage > input {
  padding-right: 42px;
}
.form-search-inpage .btn {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;

  display: inline-flex;
  width: 42px;
}
.catalog-filter {
  padding: 15px;
  border: 1px solid rgba(29, 44, 60, 0.2);
  border-radius: 4px; 
}
.catalog-filter-header {
  display: block;
  margin-bottom: 6px;
}
.catalog-filter-tags {
  list-style: none;
  margin: 0;
  padding: 0;
}
.catalog-filter-tags li {
  display: flex;
  padding: 8px;
  padding-left: 16px;
  background: #c7cdd0;
  border-radius: 4px;
  margin: 6px 0;
  align-items: center;
  line-height: 1.2;
}
.catalog-filter-tags a {
  display: inline-block;
  margin-left: auto;
  width: 24px;
  text-align: center;
  color: var(--gray);
}
.catalog-filter-tags a:hover {
  color: var(--primary);
}
.add-tag {
  
}


.collection-head-bg {
  position: relative;
  overflow: hidden;
  z-index: 3;
  padding: 0 0 15px;
  color: #fff;
  text-shadow: 0 0 10px #000;
}
.collection-head-bg:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: var(--primary);
  opacity: 0.2;
  z-index: -1;
}
.collection-head-bg:after {
  content: '';
  display: block;
  position: absolute;
  left: -30px;
  right: -30px;
  top: -35px;
  bottom: -35px;
  background: url('book-cover.jpg') 50% 65% no-repeat;
  background-size: cover;
  background-color: #23282d;
  z-index: -2;
  filter: blur(20px);
}
.collection-head-name {

}
.collection-head-img {
  width: 100%;
  margin: 10px 0;
  padding: 15px;
  border: 1px solid rgba(255, 163, 0, 0.4);
}
.collection-head-img img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}


.comments {
  margin: 20px 0;
}
.usertext {
  position: relative;
  margin: 0 0 12px;
  padding: 10px 15px;
  border-radius: 3px 3px 3px 0;
  background: #fff;
}
.usertext:before {
  content: '';
  display: inline-block;
  position: absolute;
  bottom: 0;
  left: -9px;
  border-width: 10px 10px 0 0;
  border-style: solid;
  border-color: transparent #fff;
}
.usertext-head {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  color: var(--gray);
}
.usertext-head a {
  color: inherit;
}
.usertext-user {
  margin-right: 6px;
}
.usertext-date {
  margin-right: 6px;
}
.usertext-options {
  display: inline-block;
  margin-left: 16px;
}
.usertext-options > a {

}
.usertext-options > a:after {
  display: none;
}
.usertext-body {

}


.page-title { 
  font-size: 32px;
  padding-bottom: 16px;
}
.page-title-small {
  font-size: 24px;
  padding-bottom: 8px;
}
.popular-genre {
  display: none;
}
.readmode-actions {
  position: relative;
  list-style: none;
  margin: 0 -10px;
  padding: 0;
  display: flex;
  align-items: center;
  background: #23282d;
}
.readmode-actions li {
  flex: 1 1 auto;
  text-align: center;
}
.readmode-action {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
  color: rgba(255,255,255,.5);
}
.readmode-action:hover {
  color: #fff;
}
.readmore-action-label {
  font-size: 14px;
  margin-left: 5px;
}
.readmode-dropdown-menu {
  display: none;
  position: absolute;
  top: 37px;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 1;
}
.readmode-dropdown-menu ul {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 10px rgba(35, 40, 45, 0.3);
}
.readmode-dropdown-menu a {
  display: block;
  padding: 4px 8px;
  color: #23282d;
}
.readmode-dropdown-menu a:hover {
  color: var(--blue);
}
.readmode-pagination {
  padding: 0 10px;
  width: fit-content;
  margin: 0 auto;
}



.catalog-aside {

}
.aside-links {
  list-style: none;
  margin: 0;
  padding: 0; 

  line-height: 120%;
}
.aside-links li {
  margin: 0 0 5px;
}
.aside-links li:last-child {
  margin: 0;
}
.aside-links a {
  display: block;
  padding: 5px 0;
  color: var(--gray);
}
.aside-links a:hover {
  color: var(--primary);
}
.aside-links a.is-active {
  margin: 0px -10px;
  padding: 5px 10px;
  color: var(--primary);
  background: rgba(0, 70, 128, 0.05);
  border-left: 2px solid var(--primary);
}
.book-year {
  display: flex;
  justify-content: space-between;
  margin: 0 0 10px;
  position: relative;
}
.book-year:after {
  content: '—';
  position: absolute;
  top: 50%;
  left: calc(50% - 10px);
  width: 20px;
  height: 3px;
  font-size: 10px;
  color: var(--gray);
  line-height: 0;
  text-align: center;
}
.book-year input {
  width: calc(100% / 2 - 10px);
}

.genre-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.genre-list > li {
  margin: 0 0 30px;
}
.genre-list h2 {
  margin: 0 0 15px;
}
.genre-sublist  {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 6px;
}
.genre-sublist > li  {

}
.genre-sublist > li > a {
  height: 24px;
  font-size: 14px;
  line-height: 130%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.quote-list {
  margin-top: 15px;
}
.quote-card {
  margin: 0 0 20px;
  padding: 15px;
  background: #fff;
  border-radius: 4px;
  border: none;
}
.quote-card blockquote {
  position: relative;
  margin: 0;
  padding-left: 50px;
  z-index: 1;
}
.quote-card blockquote::before {
  content: "\f10e";
  font-family: 'Font Awesome 5 Free';
  font-weight: 600;
  font-size: 40px;
  line-height: 50px;
  color: #e1e7ea;    
  position: absolute;
  left: 0;
  z-index: -1;
}
.quote-action {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.quote-action li  {

}
.quote-action li a {
  display: inline-flex;
  color: var(--gray-dark);
  padding: 2px 10px;
  border-radius: 4px;
  align-items: baseline;
}
.quote-action li a:hover {
  background: #eff1f2; 
}
.quote-action li i {
  margin-right: 4px;
}





.login-page {
  margin-top: 20px;
}
.sing {
  display: flex;
  background: #ffffff;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  height: 550px;  
}
.sing-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 50%;
  width: 50%;
  overflow: hidden;
  display: none;  
  flex-direction: column;
  align-items: center;
  justify-content: center;  
  text-align: center;
  font-size: 16px;
  color: #fff;
  transition: all 1.2s ease-in-out;
  background: linear-gradient(45deg, #fa709a 0%, var(--primary) 100%);
  z-index: 2;
}
.sing-overlay h2 {
  font-size: 30px;
  margin: 0 auto 16px;
}
.sing-overlay p {
  margin: 0 auto 32px;
}
.sing-overlay button {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  background: none;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 4px;
}
.register-overlay { 
  display: none;
}
.sing.up .sing-overlay      {left: 0;}
.sing.up .register-overlay  {display: initial;}
.sing.up .login-overlay     {display: none;}


.sing-form {
  display: flex;
  justify-content: center;
  flex-direction: column;
  font-size: 16px;
  padding: 0 50px;
  height: 100%;
  text-align: center;
}
.sing-form a {
  text-decoration: none;
}
.sing-form h2 {
  font-size: 30px;
  margin: 0 0 20px;
}
.sing-form .form-group {
  text-align: left;
}
.sing-form input {

}
.sing-form span {

}
.sing-form .btn {
  font-size: inherit;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 12px 24px;
}
.sing-form-group {
  display: flex;
  align-items: center;    
  justify-content: space-between;
  width: 100%;
}
a.pwd-help {
  color: var(--primary);
  opacity: 0.8;
}
a.pwd-help:hover {
  opacity: 1;
}
.sing-form-end {
  margin-top: 12px;
}
.sing-form .img-captcha {
  height: 42px;
  border-radius: 3px;
  margin-right: 6px;
}
.vk-login {
  text-decoration: none;
  display: inline-block;
  padding: 12px 24px 12px 20px;
  font-size: 16px;  
  background: none;
  border: 2px solid var(--gray);
  border-radius: 4px;
}
.vk-login > i {
  color: #4a76a8;
  font-size: 18px;
  margin-right: 6px;
}
.vk-login:hover {
  border-color: #4a76a8;
}
.login, .register {
  position: relative;
  width: 100%;
}
.sing.in .register {
  display: none;
}
.sing.up .login {
  display: none;
}





















/****** Style Star Rating Widget *****/
.rating { 
  border: none;
  float: left;
}
.rating > input { display: none; } 
.rating > label:before { 
  margin: 2px;
  font-size: 20px;
  font-family: 'Font Awesome 5 Free';
  display: inline-block;
  content: "\f005";
  font-weight: 900;
}
.rating > .half:before { 
  content: "\f089";
  position: absolute;
}
.rating > label { 
  cursor: pointer;
  color: #c7cdd0; 
  float: right; 
  margin: 0;
}
/***** CSS Magic to Highlight Stars on Hover *****/
.rating > input:checked ~ label, /* show #FFA300 star when clicked */
.rating:not(:checked) > label:hover, /* hover current star */
.rating:not(:checked) > label:hover ~ label { color: #FFA300;  } /* hover previous stars in list */

.rating > input:checked + label:hover, /* hover current star when changing rating */
.rating > input:checked ~ label:hover,
.rating > label:hover ~ input:checked ~ label, /* lighten current selection */
.rating > input:checked ~ label:hover ~ label { color: #FFA300;  } 

.hint {
  font-size: 12px;
  opacity: 0.6;
  padding-top: 5px;
  padding-bottom: 5px;
}
div#partner_content {
  margin: 0 -10px -10px;
}







































@media (min-width: 576px) {
  .wrapper {
    padding: 0;
  }
  .book-table td {
    padding: 10px 5px; 
  }
  .book-title {
    font-size: 42px;
  }
  .book-cover {
    flex-direction: row;
    margin: -20px 0 0;
  }
  .book-cover-img {
    width: 200px;
    flex: 0 0 160px;
    margin-right: 20px;
  }
  .book-cardLong {
    flex-direction: row;
  }
  .book-cardLong-img a { 
    width: auto;
  }
}




.book-content {
width: 100%;
}


@media (min-width: 768px) {
  .wrapper {
    max-width: 720px;
  }
  .navbar .wrapper {
    display: flex;
  }
  .book-head-box .padding-aside {
    display: flex;
  }
  .book-content-box {
    display: flex;
  }
  .book-content-box .padding-aside {
    margin-top: -140px;
  }
  .book-cover {
    position: sticky;
    top: 80px;
  }
  .book-table td {
    padding: 10px;
  }
  .book-table td:first-child {
    padding-left: 30px;
  }
  .book-table thead td > i {
    display: inline-flex;
  }
  .book-descr {
    min-height: 315px;
  }
  .sample-download h5 {
    margin: 0 0 15px;
    text-align: left;
  }
  .book-cover {
    flex-direction: column;
    z-index: 5;
  }
  .book-cover-img {
    width: 100%;
    margin: 0;
  }
  .sample-download {
    margin: 20px 0;
  }
  .page-title { 
    font-size: 48px;
  }
  .page-title-small {
    font-size: 32px;
  }

  .sing-overlay {
    display: flex;
  }
  .login,
  .register {
    width: 50%;
  }
  .sing.in .register {
    display: block;
  }
  .sing.up .login {
    display: block;
  }


  .gridBox {
    flex-direction: row;
    grid-gap: 20px;
    grid-template-areas: "lc mn rc";
  }
  .gridBox-left,
  .gridBox-right { 
    width: 240px;
    flex-shrink: 0;   
  }
  .gridBox-main {
    margin: 0 -20px;
  }
    .gridBox-left + .gridBox-main {
      margin-left: 0;
    }
    .gridBox-main + .gridBox-right {
      margin-left: 20px;
    }

}







@media (min-width: 992px) {
  .wrapper {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .wrapper {
    max-width: 1140px;
  }
}































































































.fancybox-active {
    height: auto;
}
.fancybox-is-hidden {
    left: -9999px;
    margin: 0;
    position: absolute !important;
    top: -9999px;
    visibility: hidden;
}
.fancybox-container {
    -webkit-backface-visibility: hidden;
    height: 100%;
    left: 0;
    outline: none;
    position: fixed;
    -webkit-tap-highlight-color: transparent;
    top: 0;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    transform: translateZ(0);
    width: 100%;
    z-index: 99992;
}

.fancybox-container * {
    box-sizing: border-box;
}

.fancybox-outer,
.fancybox-inner,
.fancybox-bg,
.fancybox-stage {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.fancybox-outer {
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
}

.fancybox-bg {
    background: rgb(30, 30, 30);
    opacity: 0;
    transition-duration: inherit;
    transition-property: opacity;
    transition-timing-function: cubic-bezier(.47, 0, .74, .71);
}

.fancybox-is-open .fancybox-bg {
    opacity: .9;
    transition-timing-function: cubic-bezier(.22, .61, .36, 1);
}

.fancybox-infobar,
.fancybox-toolbar,
.fancybox-caption,
.fancybox-navigation .fancybox-button {
    direction: ltr;
    opacity: 0;
    position: absolute;
    transition: opacity .25s ease, visibility 0s ease .25s;
    visibility: hidden;
    z-index: 99997;
}

.fancybox-show-infobar .fancybox-infobar,
.fancybox-show-toolbar .fancybox-toolbar,
.fancybox-show-caption .fancybox-caption,
.fancybox-show-nav .fancybox-navigation .fancybox-button {
    opacity: 1;
    transition: opacity .25s ease 0s, visibility 0s ease 0s;
    visibility: visible;
}

.fancybox-infobar {
    color: #ccc;
    font-size: 13px;
    -webkit-font-smoothing: subpixel-antialiased;
    height: 44px;
    left: 0;
    line-height: 44px;
    min-width: 44px;
    mix-blend-mode: difference;
    padding: 0 10px;
    pointer-events: none;
    top: 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.fancybox-toolbar {
    right: 0;
    top: 0;
}

.fancybox-stage {
    direction: ltr;
    overflow: visible;
    transform: translateZ(0);
    z-index: 99994;
}

.fancybox-is-open .fancybox-stage {
    overflow: hidden;
}

.fancybox-slide {
    -webkit-backface-visibility: hidden;
    /* Using without prefix would break IE11 */
    display: none;
    height: 100%;
    left: 0;
    outline: none;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 44px;
    position: absolute;
    text-align: center;
    top: 0;
    transition-property: transform, opacity;
    white-space: normal;
    width: 100%;
    z-index: 99994;
}

.fancybox-slide::before {
    content: '';
    display: inline-block;
    font-size: 0;
    height: 100%;
    vertical-align: middle;
    width: 0;
}

.fancybox-is-sliding .fancybox-slide,
.fancybox-slide--previous,
.fancybox-slide--current,
.fancybox-slide--next {
    display: block;
}

.fancybox-slide--image {
    overflow: hidden;
    padding: 44px 0;
}

.fancybox-slide--image::before {
    display: none;
}

.fancybox-slide--html {
    padding: 6px;
}

.fancybox-content {
    background: #fff;
    display: inline-block;
    margin: 0;
    max-width: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 44px;
    position: relative;
    text-align: left;
    vertical-align: middle;
}

.fancybox-slide--image .fancybox-content {
    animation-timing-function: cubic-bezier(.5, 0, .14, 1);
    -webkit-backface-visibility: hidden;
    background: transparent;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    left: 0;
    max-width: none;
    overflow: visible;
    padding: 0;
    position: absolute;
    top: 0;
    -ms-transform-origin: top left;
    transform-origin: top left;
    transition-property: transform, opacity;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 99995;
}

.fancybox-can-zoomOut .fancybox-content {
    cursor: zoom-out;
}

.fancybox-can-zoomIn .fancybox-content {
    cursor: zoom-in;
}

.fancybox-can-swipe .fancybox-content,
.fancybox-can-pan .fancybox-content {
    cursor: -webkit-grab;
    cursor: grab;
}

.fancybox-is-grabbing .fancybox-content {
    cursor: -webkit-grabbing;
    cursor: grabbing;
}

.fancybox-container [data-selectable='true'] {
    cursor: text;
}

.fancybox-image,
.fancybox-spaceball {
    background: transparent;
    border: 0;
    height: 100%;
    left: 0;
    margin: 0;
    max-height: none;
    max-width: none;
    padding: 0;
    position: absolute;
    top: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 100%;
}

.fancybox-spaceball {
    z-index: 1;
}

.fancybox-slide--video .fancybox-content,
.fancybox-slide--map .fancybox-content,
.fancybox-slide--pdf .fancybox-content,
.fancybox-slide--iframe .fancybox-content {
    height: 100%;
    overflow: visible;
    padding: 0;
    width: 100%;
}

.fancybox-slide--video .fancybox-content {
    background: #000;
}

.fancybox-slide--map .fancybox-content {
    background: #e5e3df;
}

.fancybox-slide--iframe .fancybox-content {
    background: #fff;
}

.fancybox-video,
.fancybox-iframe {
    background: transparent;
    border: 0;
    display: block;
    height: 100%;
    margin: 0;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

/* Fix iOS */
.fancybox-iframe {
    left: 0;
    position: absolute;
    top: 0;
}

.fancybox-error {
    background: #fff;
    cursor: default;
    max-width: 400px;
    padding: 40px;
    width: 100%;
}

.fancybox-error p {
    color: #444;
    font-size: 16px;
    line-height: 20px;
    margin: 0;
    padding: 0;
}

/* Buttons */

.fancybox-button {
    background: rgba(30, 30, 30, .6);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
    display: inline-block;
    height: 44px;
    margin: 0;
    padding: 10px;
    position: relative;
    transition: color .2s;
    vertical-align: top;
    visibility: inherit;
    width: 44px;
}

.fancybox-button,
.fancybox-button:visited,
.fancybox-button:link {
    color: #ccc;
}

.fancybox-button:hover {
    color: #fff;
}

.fancybox-button:focus {
    outline: none;
}

.fancybox-button.fancybox-focus {
    outline: 1px dotted;
}

.fancybox-button[disabled],
.fancybox-button[disabled]:hover {
    color: #888;
    cursor: default;
    outline: none;
}

/* Fix IE11 */
.fancybox-button div {
    height: 100%;
}

.fancybox-button svg {
    display: block;
    height: 100%;
    overflow: visible;
    position: relative;
    width: 100%;
}

.fancybox-button svg path {
    fill: currentColor;
    stroke-width: 0;
}

.fancybox-button--play svg:nth-child(2),
.fancybox-button--fsenter svg:nth-child(2) {
    display: none;
}

.fancybox-button--pause svg:nth-child(1),
.fancybox-button--fsexit svg:nth-child(1) {
    display: none;
}

.fancybox-progress {
    background: #ff5268;
    height: 2px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -ms-transform-origin: 0;
    transform-origin: 0;
    transition-property: transform;
    transition-timing-function: linear;
    z-index: 99998;
}

/* Close button on the top right corner of html content */

.fancybox-close-small {
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #ccc;
    cursor: pointer;
    opacity: .8;
    padding: 8px;
    position: absolute;
    right: -12px;
    top: -44px;
    z-index: 401;
}

.fancybox-close-small:hover {
    color: #fff;
    opacity: 1;
}

.fancybox-slide--html .fancybox-close-small {
    color: currentColor;
    padding: 10px;
    right: 0;
    top: 0;
}

.fancybox-slide--image.fancybox-is-scaling .fancybox-content {
    overflow: hidden;
}

.fancybox-is-scaling .fancybox-close-small,
.fancybox-is-zoomable.fancybox-can-pan .fancybox-close-small {
    display: none;
}

/* Navigation arrows */

.fancybox-navigation .fancybox-button {
    background-clip: content-box;
    height: 100px;
    opacity: 0;
    position: absolute;
    top: calc(50% - 50px);
    width: 70px;
}

.fancybox-navigation .fancybox-button div {
    padding: 7px;
}

.fancybox-navigation .fancybox-button--arrow_left {
    left: 0;
    left: env(safe-area-inset-left);
    padding: 31px 26px 31px 6px;
}

.fancybox-navigation .fancybox-button--arrow_right {
    padding: 31px 6px 31px 26px;
    right: 0;
    right: env(safe-area-inset-right);
}

/* Caption */

.fancybox-caption {
    background: linear-gradient(to top,
        rgba(0, 0, 0, .85) 0%,
        rgba(0, 0, 0, .3) 50%,
        rgba(0, 0, 0, .15) 65%,
        rgba(0, 0, 0, .075) 75.5%,
        rgba(0, 0, 0, .037) 82.85%,
        rgba(0, 0, 0, .019) 88%,
        rgba(0, 0, 0, 0) 100%);
    bottom: 0;
    color: #eee;
    font-size: 14px;
    font-weight: 400;
    left: 0;
    line-height: 1.5;
    padding: 75px 44px 25px 44px;
    pointer-events: none;
    right: 0;
    text-align: center;
    z-index: 99996;
}

@supports (padding: max(0px)) {
    .fancybox-caption {
        padding: 75px max(44px, env(safe-area-inset-right)) max(25px, env(safe-area-inset-bottom)) max(44px, env(safe-area-inset-left));
    }
}

.fancybox-caption--separate {
    margin-top: -50px;
}

.fancybox-caption__body {
    max-height: 50vh;
    overflow: auto;
    pointer-events: all;
}

.fancybox-caption a,
.fancybox-caption a:link,
.fancybox-caption a:visited {
    color: #ccc;
    text-decoration: none;
}

.fancybox-caption a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Loading indicator */

.fancybox-loading {
    animation: fancybox-rotate 1s linear infinite;
    background: transparent;
    border: 4px solid #888;
    border-bottom-color: #fff;
    border-radius: 50%;
    height: 50px;
    left: 50%;
    margin: -25px 0 0 -25px;
    opacity: .7;
    padding: 0;
    position: absolute;
    top: 50%;
    width: 50px;
    z-index: 99999;
}

@keyframes fancybox-rotate {
    100% {
        transform: rotate(360deg);
    }
}

/* Transition effects */

.fancybox-animated {
    transition-timing-function: cubic-bezier(0, 0, .25, 1);
}

/* transitionEffect: slide */

.fancybox-fx-slide.fancybox-slide--previous {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
}

.fancybox-fx-slide.fancybox-slide--next {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
}

.fancybox-fx-slide.fancybox-slide--current {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* transitionEffect: fade */

.fancybox-fx-fade.fancybox-slide--previous,
.fancybox-fx-fade.fancybox-slide--next {
    opacity: 0;
    transition-timing-function: cubic-bezier(.19, 1, .22, 1);
}

.fancybox-fx-fade.fancybox-slide--current {
    opacity: 1;
}

/* transitionEffect: zoom-in-out */

.fancybox-fx-zoom-in-out.fancybox-slide--previous {
    opacity: 0;
    transform: scale3d(1.5, 1.5, 1.5);
}

.fancybox-fx-zoom-in-out.fancybox-slide--next {
    opacity: 0;
    transform: scale3d(.5, .5, .5);
}

.fancybox-fx-zoom-in-out.fancybox-slide--current {
    opacity: 1;
    transform: scale3d(1, 1, 1);
}

/* transitionEffect: rotate */

.fancybox-fx-rotate.fancybox-slide--previous {
    opacity: 0;
    -ms-transform: rotate(-360deg);
    transform: rotate(-360deg);
}

.fancybox-fx-rotate.fancybox-slide--next {
    opacity: 0;
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
}

.fancybox-fx-rotate.fancybox-slide--current {
    opacity: 1;
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
}

/* transitionEffect: circular */

.fancybox-fx-circular.fancybox-slide--previous {
    opacity: 0;
    transform: scale3d(0, 0, 0) translate3d(-100%, 0, 0);
}

.fancybox-fx-circular.fancybox-slide--next {
    opacity: 0;
    transform: scale3d(0, 0, 0) translate3d(100%, 0, 0);
}

.fancybox-fx-circular.fancybox-slide--current {
    opacity: 1;
    transform: scale3d(1, 1, 1) translate3d(0, 0, 0);
}

/* transitionEffect: tube */

.fancybox-fx-tube.fancybox-slide--previous {
    transform: translate3d(-100%, 0, 0) scale(.1) skew(-10deg);
}

.fancybox-fx-tube.fancybox-slide--next {
    transform: translate3d(100%, 0, 0) scale(.1) skew(10deg);
}

.fancybox-fx-tube.fancybox-slide--current {
    transform: translate3d(0, 0, 0) scale(1);
}

/* Styling for Small-Screen Devices */
@media all and (max-height: 576px) {
    .fancybox-slide {
        padding-left: 6px;
        padding-right: 6px;
    }

    .fancybox-slide--image {
        padding: 6px 0;
    }

    .fancybox-close-small {
        right: -6px;
    }

    .fancybox-slide--image .fancybox-close-small {
        background: #4e4e4e;
        color: #f2f4f6;
        height: 36px;
        opacity: 1;
        padding: 6px;
        right: 0;
        top: 0;
        width: 36px;
    }

    .fancybox-caption {
        padding-left: 12px;
        padding-right: 12px;
    }

    @supports (padding: max(0px)) {
        .fancybox-caption {
            padding-left: max(12px, env(safe-area-inset-left));
            padding-right: max(12px, env(safe-area-inset-right));
        }
    }
}
/* Share */

.fancybox-share {
    background: #f4f4f4;
    border-radius: 3px;
    max-width: 90%;
    padding: 30px;
    text-align: center;
}

.fancybox-share h1 {
    color: #222;
    font-size: 35px;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.fancybox-share p {
    margin: 0;
    padding: 0;
}

.fancybox-share__button {
    border: 0;
    border-radius: 3px;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    line-height: 40px;
    margin: 0 5px 10px 5px;
    min-width: 130px;
    padding: 0 15px;
    text-decoration: none;
    transition: all .2s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
}

.fancybox-share__button:visited,
.fancybox-share__button:link {
    color: #fff;
}

.fancybox-share__button:hover {
    text-decoration: none;
}

.fancybox-share__button--fb {
    background: #3b5998;
}

.fancybox-share__button--fb:hover {
    background: #344e86;
}

.fancybox-share__button--pt {
    background: #bd081d;
}

.fancybox-share__button--pt:hover {
    background: #aa0719;
}

.fancybox-share__button--tw {
    background: #1da1f2;
}

.fancybox-share__button--tw:hover {
    background: #0d95e8;
}

.fancybox-share__button svg {
    height: 25px;
    margin-right: 7px;
    position: relative;
    top: -1px;
    vertical-align: middle;
    width: 25px;
}

.fancybox-share__button svg path {
    fill: #fff;
}

.fancybox-share__input {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #d7d7d7;
    border-radius: 0;
    color: #5d5b5b;
    font-size: 14px;
    margin: 10px 0 0 0;
    outline: none;
    padding: 10px 15px;
    width: 100%;
}
/* Thumbs */

.fancybox-thumbs {
    background: #ddd;
    bottom: 0;
    display: none;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    padding: 2px 2px 4px 2px;
    position: absolute;
    right: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    top: 0;
    width: 212px;
    z-index: 99995;
}

.fancybox-thumbs-x {
    overflow-x: auto;
    overflow-y: hidden;
}

.fancybox-show-thumbs .fancybox-thumbs {
    display: block;
}

.fancybox-show-thumbs .fancybox-inner {
    right: 212px;
}

.fancybox-thumbs__list {
    font-size: 0;
    height: 100%;
    list-style: none;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
    position: absolute;
    position: relative;
    white-space: nowrap;
    width: 100%;
}

.fancybox-thumbs-x .fancybox-thumbs__list {
    overflow: hidden;
}

.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar {
    width: 7px;
}

.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
}

.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 10px;
}

.fancybox-thumbs__list a {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: rgba(0, 0, 0, .1);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
    float: left;
    height: 75px;
    margin: 2px;
    max-height: calc(100% - 8px);
    max-width: calc(50% - 4px);
    outline: none;
    overflow: hidden;
    padding: 0;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    width: 100px;
}

.fancybox-thumbs__list a::before {
    border: 6px solid #ff5268;
    bottom: 0;
    content: '';
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: all .2s cubic-bezier(.25, .46, .45, .94);
    z-index: 99991;
}

.fancybox-thumbs__list a:focus::before {
    opacity: .5;
}

.fancybox-thumbs__list a.fancybox-thumbs-active::before {
    opacity: 1;
}

/* Styling for Small-Screen Devices */
@media all and (max-width: 576px) {
    .fancybox-thumbs {
        width: 110px;
    }

    .fancybox-show-thumbs .fancybox-inner {
        right: 110px;
    }

    .fancybox-thumbs__list a {
        max-width: calc(100% - 10px);
    }
}