/* BASIC LAYOUT
----------------------------------------------- */
.wrapper {min-width: 320px; position: relative;}
.wrapper-container {max-width: var(--max-width); margin: 0 auto; position: relative; z-index: 20;}
.wrapper-main {padding: 0 var(--indent); min-height: 100vh; display: flex; flex-direction: column;}
.content {flex: 1 0 auto; padding: 40px 0;}
.header, .nav {background-color: var(--bg-lighter); box-shadow: var(--bsh); padding-top: 15px; padding-bottom: 15px;}
.header {gap: 20px 20px;}
.nav {border-top: 1px solid var(--bdc); position: relative; z-index: 60;}
.cols {display: grid; gap: 40px 40px; grid-template-columns: minmax(0,1fr) 400px;}
.col-side {display: grid; gap: 40px 40px; align-content: start;}
.footer {background-color: var(--bg-darker); color: var(--tt-lighter); 
	padding-top: 40px; padding-bottom: 40px; font-size: 14px; line-height: 1.6;}
.content-block--bg {background-color: var(--bg-lighter); border-radius: 10px; padding: 40px;}
	
#scrolltop {position: fixed; width: 60px; height: 60px; line-height: 60px; right: 10px; bottom: 10px;
	z-index: 990; display: none; background-color: var(--bg-lighter); color: var(--tt-lightest); 
	cursor: pointer; font-size: 24px; border-radius: 50%; text-align: center; box-shadow: var(--bsh);}


/* HEADER
----------------------------------------------- */
.logo {display: inline-flex; align-items: center; height: 60px; position: relative; 
	font-weight: 700; font-size: 24px; letter-spacing: 1px; padding-left: 40px; margin-right: 40px;
	background: url(../images/logo1.png) 0 6px / 50px no-repeat; color: #00C0E9 !important;}
.logo span {font-weight: 400; font-size: 10px; text-transform: uppercase; color: var(--tt-lightest); 
	position: absolute; right: -10px; top: 7px;}
.logo b {color: #3BA79A; padding-left: 10px;}
.search-block form {max-width: 400px; position: relative;}
.search-block__input[type="text"], .search-block__input[type="text"]:focus {border-radius: 20px; box-shadow: none; 
	border: 1px solid var(--bdc); background-color: var(--bg-lighter); height: 40px; line-height: 38px; padding: 0 50px 0 20px;}
.search-block__input[type="text"]:not(:focus):placeholder {color: var(--tt-lightest); opacity: 1; font-size: 14px;}
.search-block__btn {position: absolute; right: 0; top: 0; width: 50px;
	background: none; color: var(--tt); border-radius: 20px; padding: 0; font-size: 16px;}
.intro {height: 300px; margin-left: -80px; margin-right:-80px; }


/* NAV
----------------------------------------------- */
.nav__list {margin: 0 -40px; position: sticky; left: 0; top: 20px;}
.nav__list > li, .side-nav > li {flex-grow: 1; font-size: 14px; position: relative;}
.nav__list > li + li {border-left: 1px solid var(--bdc);}
.nav__list > li > a, .side-nav > li > a {height: 40px;font-weight: 700; text-transform: uppercase; letter-spacing: 1px; 
	display: flex; align-items: center; justify-content: center; padding: 0 20px;}
.nav__list-hidden {width: 240px; padding: 40px; border-radius: 0 0 10px 10px; position: absolute; left: 0; top: 100%; 
	background-color: var(--bg-lighter); box-shadow: var(--bsh-2); display: grid; gap: 10px; 
	visibility: hidden; opacity: 0; transform: translateY(40px);}
.submenu > a::after {content:"\f107"; font-weight: 300; font-family:'Font Awesome 5 Pro'; margin-left:7px; display: inline-block;}
.submenu  img {width: 20px; padding-right: 3px; }
.side-nav {border-radius: 6px; padding: 20px 0px; background-color: var(--bg-lighter);}
.side-nav .nav__list-hidden {left: 100%; top: -40px; border-radius: 0 10px 10px 0;}
.side-nav > li > a {justify-content: flex-start;}


/* TOP
----------------------------------------------- */
.top {gap: 15px 15px; margin-bottom: 30px;}
.top-item {flex: 1 1 30%; box-shadow: var(--bsh); border-radius: 6px; padding: 0;}
.top-item:nth-child(2), .top-item:nth-child(3) {flex-basis: 60%;}
.top-item__desc {position: relative; z-index: 5; min-height: 140px; padding: 20px; color: #fff; gap: 10px; max-width: 100%;}
.top-item__title {font-weight: 600; color: #fff !important; font-size: 15px;}
.top-item__date {font-size: 12px;}
.top-item::before {height: 100%; background: var(--gradient); opacity: 0.6;}
@media screen and (min-width: 1220px) {
	.top {display: grid; grid-template-columns: repeat(6,1fr);}
	.top-item {grid-column: span 1;}
	.top-item:nth-child(3), .top-item:nth-child(4) {grid-column: span 2;}
	.top-item:nth-child(1) {grid-column: span 3; grid-row: span 2;}
	.top-item__desc {height: 100%;}
	.top-item:nth-child(1) .top-item__title {font-size: 24px; margin-bottom: 30px;}
}


/* SECTION
----------------------------------------------- */
.sect__header {margin-bottom: 30px;}
.sect__sort {height: 36px;}
.sect__sort ul {height: 36px; background-color: var(--bg-lighter);
	border-radius: 6px; position: relative; z-index: 50; cursor: pointer; text-align: center;}
.sect__sort ul li {height: 36px; line-height: 36px; visibility: hidden; padding: 0 10px; font-size: 13px;}
.sect__sort ul li[class], .sect__sort ul:hover li {visibility: visible;}
.sect__sort ul:hover {height: auto; box-shadow: var(--bsh);}
.sect__sort ul li[class]::before {content: 'Sort templates by:'; margin-right: 6px;}
.sect__sort li.asc a::after, .sect__sort li.desc a::after {content: "\f063"; font-family: "Font Awesome 5 Pro"; 
	display: inline-block; margin-left: 6px; font-weight: 300; font-size: 10px;}
.sect__sort li.desc a::after {content: "\f062"}
.speedbar {margin-bottom: 15px; margin-top: -15px; font-size: 13px; color: var(--tt-lightest);}
.descr {display: grid; grid-gap: 20px; line-height: 1.7; color: var(--tt-lighter); grid-column: 1 / -1; padding: 20px 0;}
.descr h1, .descr h2, .descr h3 {font-weight: 400; font-size: 18px; color: var(--tt); line-height: 1.3;}
.descr a {text-decoration: underline; color: var(--accent);}
.descr ul li {position: relative; padding-left: 25px; margin-left: 25px;}
.descr ul li::before {content:"\f00c"; font-weight: 300; font-family:'Font Awesome 5 Pro'; 
	color: var(--accent); position: absolute; left: 0; top: 0;}


/* SHORT STORY
----------------------------------------------- */
.short {background-color: var(--bg-lighter); border-radius: 10px; overflow: hidden;}
.short__header, .short__desc {padding: 30px;}
.short__title {font-size: 24px; font-weight: 700;}
.short__meta {margin-top: 15px; gap: 10px 20px; font-size: 12px; color: var(--tt-lighter);}
.short__meta-item a {color: var(--accent); text-decoration: underline;}
.short__meta .fal {margin-right: 6px; opacity: 0.6;}
.short__img {height: 350px; display: block;}
.short__text {color: var(--tt-lighter); line-height: 1.6; margin-bottom: 38px;}
.short.grid-item {position: relative; padding-bottom: 60px;}
.short.grid-item .short__header, .short.grid-item .short__desc {padding: 20px;}
.short.grid-item .short__header {padding-bottom: 0;}
.short.grid-item .short__title {font-size: 16px;}
.short.grid-item .short__img {height: 0;}
.short.grid-item .short__meta {gap: 10px 10px;}
.short.grid-item .short__text {-webkit-line-clamp: 4; font-size: 14px; margin: 0;}
.short__btn .fal {opacity: 1; font-size: 18px; margin: 0;}
.short__btn {padding: 0; width: 40px;}
.short__desc .short__meta {position: absolute; left: 0; right: 0; bottom: 0; padding: 20px;}
.rate_like > a, .rate_like-dislike {
			float: left;
			height: 42px; line-height: 22px;
			padding: 10px 12px;
			border: 1px solid #eaeaea;
			border-radius: 18px;
			text-decoration: none !important;
			font-weight: bold;
			color: #919191;
			-webkit-transition: all ease .2s; transition: all ease .2s;
		}
		.rate_like > a:hover { border-color: #3394e6; color: #3394e6; }
		.rate_like .icon { width: 16px; height: 15px; }

		.rate_like-dislike > a {
			display: inline-block;
			width: 22px; height: 22px;
			text-align: center;
		}
		.rate_like-dislike > a .icon {
			width: 14px; height: 15px;
			fill: #787878;
			vertical-align: middle;
            
		}
		.rate_like-dislike > a:hover { fill: #3394e6; }
		.rate_like-dislike .ratingplus { color: #88c54d; }
		.rate_like-dislike .ratingminus { color: #e45757; }
		.rate_like-dislike > span { cursor: default; }


/* SIDEBAR
----------------------------------------------- */
.side-block__title {font-weight: 700; text-transform: uppercase; letter-spacing: 1px; 
	margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid var(--bdc-darker);}
.side-block__content {display: grid; gap: 15px; grid-template-columns: repeat(auto-fill,minmax(240px,1fr));}
.side-block--sticky {position: sticky; left: 0; top: 20px;}
.popular {background-color: #fff; border-radius: 6px; overflow: hidden; position: relative;}
.popular__desc {padding: 16px 20px; padding-top: 14px;}
.popular__title {font-weight: 700;}
.popular__text {font-size: 13px; color: var(--tt-lighter); margin-top: 6px; -webkit-line-clamp: 4;}
.attent {text-align: left; position: relative; border-radius: 6px; padding: 20px; background-color: var(--bg-lighter);}
.attent__title {font-weight: 700; padding: 20px 0;}
.attent .short__meta {margin: 0; margin-bottom: 20px;}
.attenten {text-align: left; position: relative; border-radius: 6px; padding: 20px; background-color: var(--bg-lighter);}
.attenten__title {font-weight: 700; padding: 20px 0;}
.attenten .short__meta {margin: 0; margin-bottom: 20px;}
.int {position: relative; gap: 20px; height: 60px;}
.int__img {width: 60px; height: 60px; box-shadow: var(--bsh); border-radius: 6px;}
.int__title div {-webkit-line-clamp: 3; font-size: 14px;}

.face-button {
  height: 64px;
  display: inline-block;
  border: 3px solid var(--accent);
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  color: var(--accent);
  overflow: hidden;
  border-radius: 5px;
}
.face-button .icon {
  margin-right: 6px;
}
.face-button .face-primary,
.face-button .face-secondary {
  display: block;
  padding: 0 32px;
  line-height: 64px;
  transition: margin 0.4s;
    font-size: 16px;
}
.face-button .face-primary {
  background-color: var(--accent);
  color: #fff;
}
.face-button:hover .face-primary {
  margin-top: -64px;
}

.face-buttonpp {
  height: 64px;
  display: inline-block;
  border: 3px solid #fb1c8c;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  color: #fb1c8c;
  overflow: hidden;
  border-radius: 5px;
}
.face-buttonpp .icon {
  margin-right: 6px;
}
.face-buttonpp .face-primarypp,
.face-buttonpp .face-secondarypp {
  display: block;
  padding: 0 32px;
  line-height: 64px;
  transition: margin 0.4s;
    font-size: 16px;
}
.face-buttonpp .face-primarypp {
  background-color: #fb1c8c;
  color: #fff;
}
.face-buttonpp:hover .face-primarypp {
  margin-top: -64px;
}


/* FOOTER, PAGINATION
----------------------------------------------- */
.footer__text {color: var(--tt);}
.footer__text a {margin: 0 20px 0 0; color: var(--accent);}

.pagination {text-align: center; display: grid; gap: 20px; padding-top: 15px;}
.pagination__btn-loader a, .pagination__btn-loader span {display: inline-flex; justify-content: center; align-items: center; 
	height: 60px; padding: 0 50px; border-radius: 30px; background: var(--bg-darker); color: var(--tt-lighter);
	font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: 1px; width: 400px;  max-width: 100%;}
.pagination__pages {gap: 10px 10px;}
.pagination__pages a, .pagination__pages span {display: inline-block; line-height: 38px; 
	padding: 0 10px; min-width: 40px; font-size: 16px; border: 1px solid var(--bdc-darker); border-radius: 20px;}
.pagination__pages span:not(.nav_ext) {background: var(--accent); color: #fff; border-color: var(--accent);}


/* INNER PAGE
----------------------------------------------- */

.page__tags {font-size: 0; gap: 10px 4px; margin-top: 40px;}
.page__tags .fal {height: 30px; line-height: 30px; font-size: 16px; margin-right: 6px;}
.page__tags a {display: flex; align-items: center; white-space: nowrap; height: 30px; border-radius: 2px; 
	padding: 0 10px; font-size: 11px; text-transform: uppercase; 
	color: var(--tt-lighter); border: 1px solid var(--bdc-darker);}

.page__tags + .page__footer {margin-top: -10px;}
.page__footer {font-size: 14px; border-top: 1px solid var(--bdc); padding-top: 20px;}
.page__fav a {padding-left: 50px; position: relative; display: block; 
	color: var(--tt-lightest); line-height: 1.3; font-size: 13px;}
.page__fav .fal {width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; 
	border: 1px solid var(--bdc); border-radius: 50%; color: var(--accent);
	position: absolute; left: 0; top: 50%; margin-top: -20px;}
.page__btn-comments {height: 30px; padding: 0 10px; font-size: 11px; 
	text-transform: uppercase; margin-left: 20px;}

.page__prev-next {background-color: var(--bg-2); width: 300px; padding: 20px; 
	float: left; margin: 0 20px 10px 0; padding-bottom: 3px;}
.page__prev-next-link {line-height: 1.5; display: block; margin-bottom: 20px; font-weight: 300;}
.page__prev-next-link div {font-size: 12px; color: var(--tt-lightest); margin-bottom: 5px;}
.popular-item__img {width: 100px; height: 60px; margin-right: 20px;}
.popular-item__title {line-height: 1.4; -webkit-line-clamp: 3;}
.popular-item:hover, .page__prev-next-link:hover {text-decoration: underline;}


/* TEXT BLOCK, TYPOGRAPHY, VIDEO BLOCK
----------------------------------------------- */
.full-text {line-height: 1.7; font-size: 15px; word-wrap: break-word;}
.full-text a {text-decoration: underline; color: #5278b1;}
.full-text img:not(.emoji), .full-text p, .full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5, 
.full-text > ul, .full-text > ol, .full-text table, .page__title {margin-bottom: 5px;}
.full-text > img[style*="left"], .full-text > .highslide img[style*="left"] {margin:0 10px 10px 0;}
.full-text > img[style*="right"], .full-text > .highslide img[style*="right"] {margin:0 0 10px 10px;}
.full-text > ul li, .full-text > ol li {padding-left: 60px; position: relative;}
.full-text > ul li:before {content: ''; width: 8px; height: 8px; border-radius: 50%; 
	border: 3px solid var(--accent); position: absolute; top: 5px; left: 34px;}
.full-text > ol {counter-reset: num;}
.full-text > ol li:before {content: counter(num); counter-increment: num; background-color: var(--accent); color: #fff; 
	position: absolute; top: -2px; left: 17px; width: 24px; height: 30px; font-size: 14px; font-weight: 600;
	display: flex; justify-content: flex-end; align-items: center; padding-right: 6px; box-sizing: border-box;}
.full-text > ol li:after {content: ''; border: 10px solid transparent; border-left-color: var(--accent); 
	position: absolute; left: 41px; top: -2px; transform: scale(0.66,1.5); transform-origin: 0 0;}
.full-text > ul li + li, .full-text > ol li + li {margin-top: 10px;}
.full-text table, .video-inside > * {width:100%;}
.full-text table tr td {padding:10px; border:2px solid #fff;}
.full-text table tr:nth-child(2n+1) {background-color:#f2f6f9;} 
.full-text table tr:nth-child(1) {background-color:#cee0ed;}
.full-text table img:not(.emoji) {margin:0; max-width:350px}
.full-text > *:last-child {margin-bottom: 0;}
.video-responsive {padding-top: 60%; position: relative;}
.video-responsive > iframe, .video-responsive > video {position: absolute; left: 0; top: 0; width: 100%; height: 100%;}
.full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5 {font-size: 21px;}
.full-text iframe {width: 100%; height: 400px; margin-bottom: 20px;}
.fdl-btn {display: block; position: relative; box-shadow: 0 3px 10px rgba(0,0,0,0.1); 
	text-decoration: none !important; padding: 15px 15px 15px 130px;
	background: linear-gradient(to top, #27ae60, #2ecc71); color: #fff !important; overflow: hidden;}
.fdl-btn-title {font-weight: 500; text-transform: uppercase; word-wrap: break-word;}
.fdl-btn-size {font-size: 14px; margin-top: -2px; margin-bottom: 6px; opacity: 0.9;}
.fdl-btn-caption {opacity: 0.7; font-size: 14px;}
.fdl-btn-dl {font-size: 12px; text-transform: uppercase; margin-left: 15px;}
.fdl-btn > * {position: relative; z-index: 3;}
.fdl-btn-icon {width: 50px; height: 50px; border-radius: 50%; margin-top: -25px; font-size: 24px;
	position: absolute; left: 40px; top: 50%; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 0 0 15px rgba(0,0,0,0.13), 0 0 0 30px rgba(0,0,0,0.08), 0 0 0 45px rgba(0,0,0,0.04);}
.down {display: none;}
.laptop { position: absolute; z-index:1;}

#slider-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding-bottom: 60px;
}
#slider-container ul li {
  float: left;
}
#slider-container ul li img {
  width: 82%;
    margin: 3% 0 0 9%;
  float: left;
}
#slider-container .arrow {
    z-index:2;
  display: block;
  position: absolute;
  top: 45%;
  width: 50px;
  height: 50px;
  transform: translateY(-50%) scale(1);
  cursor: pointer;
}
#slider-container .arrow:before, #slider-container .arrow:after {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  position: absolute;
  background: white;
  border-top: 1px solid grey;
}
@media (max-width: 680px) {
  #slider-container .arrow {
    transform: translateY(-50%) scale(0.5);
  }
}
#slider-container .arrow.a-left {
  left: -1%;
}
#slider-container .arrow.a-left:before {
  top: 0;
  left: 0;
  margin-top: 0;
  transform: rotate(-45deg);
  transform-origin: 100% 0;
}
#slider-container .arrow.a-left:after {
  bottom: 0;
  left: 0;
  margin-bottom: 0;
  transform: rotate(45deg);
  transform-origin: 100% 0;
}
#slider-container .arrow.a-right {
  right: -1%;
}
#slider-container .arrow.a-right:before {
  top: 0;
  right: 0;
  margin-top: 0;
  transform: rotate(45deg);
  transform-origin: 0 0;
}
#slider-container .arrow.a-right:after {
  bottom: 0;
  right: 0;
  margin-bottom: 0;
  transform: rotate(-45deg);
  transform-origin: 0 0;
}
#slider-container .bullets-container {
  position: absolute;
  bottom: 6%;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
}
#slider-container .bullets-container .bullet {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
  border: 1px solid grey;
  cursor: pointer;
  margin: 0 3px;
}
#slider-container .bullets-container .bullet.active {
  background: grey;
}






/* COMMENTS
----------------------------------------------- */
.page__comments {margin: 0; margin-top: 30px; padding: 20px; border-radius: 10px; background: var(--bg-lighter);}
.page__comments-title {font-size: 21px; font-weight: 700; margin-bottom: 20px;}
.page__comments-info {font-size: 14px; margin-bottom: 15px; margin-top: -15px; 
	color: var(--tt-lighter); line-height: 1.5;}
.page__comments-info .fal {color: #eb4d4b; margin-right: 6px;}
.page__comments-header {position: relative; padding-right: 130px;}
.page__comments-btn {position: absolute; right: 0; top: 0;}
.ac-form {display: grid; gap: 20px; margin-bottom: 40px;}
.ac-form__bottom {gap: 10px 20px;}
.ac-form .message-info {margin: 0;}
.ac-form .tox-tinymce {height: 160px !important;}
.comments_subscribe + br {display: none;}
.mass_comments_action {display: flex; align-items: center; max-width: 800px; white-space: nowrap; margin-bottom: 20px;}
.mass_comments_action select {flex: 1 1 0; margin: 0 -8px 0 20px;}
.mass_comments_action .bbcodes {border-radius: 0; padding: 0 10px;}
.has-comms {margin-bottom: -20px;}

.comment-item__title {font-weight: 700; font-size: 18px; margin-bottom: 20px;}
.comment-item {margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--bdc-darker);}
.comment-item__img {width: 40px; height: 40px; border-radius: 50%; margin-right: 10px;}
.comment-item__letter {width: 100%; height: 100%; text-transform: uppercase; font-weight: 700; 
	position: absolute; left: 0; top: 0; z-index: 5; color: #fff; font-size: 18px;}
.comment-item__author {font-weight: 600; font-size: 14px;}
.comment-item__date {color: var(--tt-lightest); margin-top: 4px; font-size: 12px;}
.comment-item__main {margin: 8px 0 6px 0; font-size: 15px;}
.comment-item__rating {white-space: nowrap; font-size: 14px;}
.comment-item__rating a {margin-left: 6px;}
.comment-item__rating a > span:first-child {color: #6ab04c; margin-right: 2px;}
.comment-item__rating a:last-child > span:first-child {color: #eb4d4b;}
.comment-item__reply a {font-size: 12px; margin-right: 20px; color: var(--tt-lightest);}
.comment-item__reply a .fal {margin-left: 5px;}
.comment-item__reply + .comment-item__reply a .fal {margin-left: 0; margin-right: 5px;}
.comment-item__controls {text-align: right; font-size: 12px; margin-right: -15px;}
.comment-item__controls li {display: inline-block; vertical-align: middle; margin: 0 0 0 10px; height: 16px; line-height: 16px;}
.comment-item__controls a:not(:hover) {color: var(--tt-lightest);}
.comment-item__footer a:hover {text-decoration: underline;}
.comment-item__rating a:hover > span:first-child {text-decoration: none;}
.comment-item__controls .checkbox {transform: scale(0.8,0.8); margin-left: 5px;}


/* LOGIN
----------------------------------------------- */
.login {position: fixed; z-index: 999; left: 50%; top: 50%; transform: translate(-50%,-50%); overflow: hidden;
	background-color: var(--ui-bg); border-radius: 4px; width: 400px; 
	box-shadow: 0 0 0 10px rgba(255,255,255,0.2), 0 15px 45px rgba(0,0,0,1);}
.login__header {padding: 20px 40px; background-color: var(--ui-bg-darker);}
.login__title {font-size: 18px; font-weight: 600; padding: 1px 0; text-transform: capitalize;}
.login__close {cursor: pointer; font-size: 24px; opacity: 0.6; margin-left: 20px;}
.login__title a {border-bottom: 1px dotted var(--tt-lighter); margin-left: 10px; font-weight: 400; color: var(--tt-lightest);}
.login__content {padding: 20px 40px;}
.login__row {margin-bottom: 20px; position: relative; display: block; font-size: 14px; color: var(--tt-lightest);}
.login__caption {font-size: 14px; color: var(--tt); margin-bottom: 10px;}
.login__caption a {text-decoration: underline; margin-left: 6px; color: var(--accent);}
.login__input input {padding-left: 40px;}
.login__row .fal {opacity: 0.5; position: absolute; left: 0; bottom: 0; line-height: 40px; width: 40px; text-align: center;}
.login__row button {width: 100%;}
.login__social {background-color: var(--ui-bg-darker); padding: 20px 40px; text-align: center;}
.login__social-caption {font-size: 11px; text-transform: uppercase; margin-bottom: 10px;}
.login__social-btns a {display:inline-block; margin: 0 3px; vertical-align:top;}
.login__social-btns img {display:block; width:34px; height: 34px;}
.login__avatar {width: 40px; height: 40px; border-radius: 50%; margin-right: 10px;}
.login__menu {padding-left: 35px; padding-right: 35px; margin-bottom: -10px;}
.login__menu li {flex: 1 1 0; min-width: auto; max-width: 100%; margin: 0 5px 10px 5px;}
.login__menu a {display: block; border-radius: 6px; padding: 10px; text-align: center; white-space: nowrap;
	background-color: var(--ui-bg-darker); box-shadow: inset 0 0 10px rgba(0,0,0,0.1); font-size: 13px;}
.login__menu .fal {display: block; height: 30px; font-size: 24px; opacity: 0.3;}


/* PAY
----------------------------------------------- */
.pay {position: fixed; z-index: 999; left: 50%; top: 50%; transform: translate(-50%,-50%); overflow: hidden;
	background-color: var(--ui-bg); border-radius: 4px; width: 400px; 
	box-shadow: 0 0 0 10px rgba(255,255,255,0.2), 0 15px 45px rgba(0,0,0,1);}
.pay__header {padding: 20px 40px; background-color: var(--ui-bg-darker);}
.pay__title {font-size: 18px; font-weight: 600; padding: 1px 0; text-transform: capitalize;}
.pay__close {cursor: pointer; font-size: 24px; opacity: 0.6; margin-left: 20px;}
.pay__title a {border-bottom: 1px dotted var(--tt-lighter); margin-left: 10px; font-weight: 400; color: var(--tt-lightest);}
.pay__content {padding: 20px 40px;}
.pay__row {margin-bottom: 20px; position: relative; display: block; font-size: 14px; color: var(--tt-lightest);}
.pay__caption {font-size: 14px; color: var(--tt); margin-bottom: 10px;}
.pay__caption a {text-decoration: underline; margin-left: 6px; color: var(--accent);}
.pay__input input {padding-left: 40px;}
.pay__row .fal {opacity: 0.5; position: absolute; left: 0; bottom: 0; line-height: 40px; width: 40px; text-align: center;}
.pay__row button {width: 100%;}
.pay__social {background-color: var(--ui-bg-darker); padding: 20px 40px; text-align: center;}
.pay__social-caption {font-size: 11px; text-transform: uppercase; margin-bottom: 10px;}
.pay__social-btns a {display:inline-block; margin: 0 3px; vertical-align:top;}
.pay_social-btns img {display:block; width:34px; height: 34px;}
.pay__avatar {width: 40px; height: 40px; border-radius: 50%; margin-right: 10px;}
.pay__menu {padding-left: 35px; padding-right: 35px; margin-bottom: -10px;}
.pay__menu li {flex: 1 1 0; min-width: auto; max-width: 100%; margin: 0 5px 10px 5px;}
.pay__menu a {display: block; border-radius: 6px; padding: 10px; text-align: center; white-space: nowrap;
	background-color: var(--ui-bg-darker); box-shadow: inset 0 0 10px rgba(0,0,0,0.1); font-size: 13px;}
.pay__menu .fal {display: block; height: 30px; font-size: 24px; opacity: 0.3;}


/* ADAPTIVE, MOBILE MENU
----------------------------------------------- */
.overlay {position: fixed; z-index: 998; left: 0; top: 0; width: 100%; height: 100%; 
	opacity: 0.6; background-color: #000; cursor: pointer; display: none;}
.mobile-menu {width: 280px; height: 100%; overflow-x: hidden; overflow-y: auto;
	padding: 10px 20px; z-index: 999; position: fixed; left: -320px; top: 0; transition: left .4s; 
	background-color: var(--bg-lighter); color: var(--tt);}
.mobile-menu.is-active {left: 0;}
.mobile-menu-close {cursor: pointer; display: block; left: 280px; top: -40px; position: fixed; z-index: 999;
	width: 40px; height: 40px; line-height: 40px; text-align: center; font-size: 18px; opacity: 0;
	background-color: #e84e36; color: #fff; transition: top .4s, opacity .4s;}
.mobile-menu-close.is-active {top: 0px; opacity: 1;}
body.mobile-menu-is-opened {overflow: hidden; width: 100%; height: 100%;}
.mobile-menu ul {margin: 0; padding: 0; display: block;}
.mobile-menu ul > li {width: 100%; margin: 0; padding: 0; border: 0;}
.mobile-menu ul > li > a {height: 40px; line-height: 40px; padding: 0; display: block;}
.mobile-menu .nav__list-hidden {width: 100%; height: auto; display: block; position: relative; left: 0; top: 0;
	width: calc(100% + 40px); margin: 15px -20px; padding: 10px 20px; border-radius: 0 !important;
	opacity: 1; visibility: visible; transform: none; background: var(--bg);}

/* ppb one line menu */
@media screen and (min-width: 1220px) {.nav__list {flex-wrap: nowrap;} .nav__list > li > a {padding: 0 12px; white-space: nowrap;}
html[lang=uz] .nav__list > li > a {padding: 0 8px; font-size: 13px; letter-spacing: 0;}}

/* ppb download button and labelled ad (Oct 28, 2026) */
.ppb-download{display:inline-flex;align-items:center;gap:10px;padding:14px 26px;border-radius:10px;background:#1f8a4c;color:#fff!important;font-weight:700;font-size:17px;line-height:1.2;text-decoration:none!important;box-shadow:0 4px 14px rgba(31,138,76,.28);margin:6px 0 10px}
.ppb-download:hover{background:#18703d}
.ppb-download__name{font-weight:400;opacity:.85;font-size:14px}
.attenten .ppb-download{display:flex;justify-content:center;width:100%;box-sizing:border-box;font-size:16px;padding:12px 16px;gap:8px;margin:8px 0 14px}.attenten .ppb-download__name{display:none}.attenten p{clear:both}.down .ppb-download{display:flex;justify-content:center;width:100%;box-sizing:border-box}.down p{clear:both}
.ppb-ad{margin:28px 0 8px;clear:both}.ppb-ad__label{font-size:11px;letter-spacing:1px;text-transform:uppercase;color:#8a93a8;margin-bottom:4px}

/* ppb template pages on phones and tablets (Oct 28, 2026): the page and sidebar had fixed inline widths, so on a phone the article was squeezed next to the sidebar */
@media (max-width: 960px) {article.page{float:none!important;width:auto!important;margin-right:0!important}aside.col-side{float:none!important;width:auto!important;margin-top:30px}.down{display:block}.down .ppb-download{margin:10px 0 16px}}

/* ppb phones and tablets (Oct 28, 2026): the theme came without its phone rules, so on a phone the menu wrapped into
   three rows under the logo and the menu button never showed. Below 1220 px the menu now sits in the theme's slide out
   drawer behind the menu button (libs.js copies it there), with the language switch at the top of the drawer. */
@media screen and (max-width: 1219px) {
.header {padding-top: 10px; padding-bottom: 10px; gap: 12px;}
.header .header__search {display: none;}
.header .header__btn-menu {display: inline-flex; margin-left: auto; width: 44px; height: 44px; padding: 0; border-radius: 10px; font-size: 20px; background: #3BA79A; color: #fff;}
.header .ppb-lang {margin-left: auto; margin-right: 0;}
.header .ppb-lang ~ .header__btn-menu {margin-left: 0;}
nav.nav {display: none;}
}
@media screen and (max-width: 420px) {.logo {font-size: 20px; padding-left: 36px; margin-right: 0; background-size: 42px; background-position: 0 9px;}}
.ppb-lang-m {display: none;}
.mobile-menu .ppb-lang-m {display: block; padding: 14px 0 12px; margin-bottom: 8px; border-bottom: 1px solid var(--bdc);}
.mobile-menu .ppb-lang-m .ppb-lang {margin: 0;}

/* ppb download blocks on phones (Oct 28, 2026): the theme floats the "Формат 16x9:" label and the button side by side,
   which left the button off centre beside the label. On phones: label on its own line, then a full width button, and a
   clear gap with a divider before the ad that follows. */
@media (max-width: 960px) {
.down span[style*="float"], .attenten span[style*="float"] {float: none !important; display: block;}
.down .ppb-download, .attenten .ppb-download {display: flex; width: 100%; justify-content: center; box-sizing: border-box; margin: 8px 0 4px; padding: 15px 16px; font-size: 17px;}
.ppb-ad {margin-top: 36px; padding-top: 14px; border-top: 1px solid #e3e6eb;}
}

/* ppb MagicDiagram block under every template (Oct 28, 2026): our own project as site cards with names, not a banner. engine/modules/ppb_md_block.php */
.ppb-md {display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "head all" "grid grid"; gap: 22px 24px; align-items: end;
	margin-top: 40px; background: #fff; border-radius: 10px; padding: 28px; box-shadow: var(--bsh);}
.ppb-md__head {grid-area: head;}
.ppb-md__tag {display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .2px; color: #2b8378; background: #e7f4f2; border-radius: 20px; padding: 5px 12px; margin-bottom: 12px;}
.ppb-md__title {font-size: 24px; font-weight: 700; line-height: 1.25; margin: 0; color: var(--tt);}
.ppb-md__sub {font-size: 15px; color: var(--tt-lighter); line-height: 1.55; margin: 8px 0 0; max-width: 580px;}
.ppb-md__all {grid-area: all; display: inline-flex; align-items: center; height: 42px; padding: 0 20px; border-radius: 21px;
	border: 1.5px solid #3BA79A; color: #2b8378 !important; font-weight: 700; font-size: 14px; white-space: nowrap; text-decoration: none !important; transition: background .2s, color .2s;}
.ppb-md__all:hover {background: #3BA79A; color: #fff !important;}
.ppb-md__grid {grid-area: grid; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px 18px;}
.ppb-md__card {display: block; color: var(--tt) !important; text-decoration: none !important;}
.ppb-md__img {display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; border: 1px solid #e6e6e6; background: #f6f6f6;}
.ppb-md__img img {display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s;}
.ppb-md__card:hover .ppb-md__img img {transform: scale(1.04);}
.ppb-md__name {display: block; font-weight: 700; font-size: 15px; line-height: 1.35; margin-top: 10px;}
.ppb-md__card:hover .ppb-md__name {color: #2b8378;}
.ppb-md__meta {display: block; font-size: 13px; color: var(--tt-lightest); margin-top: 3px;}
@media (max-width: 760px) {
.ppb-md {grid-template-columns: minmax(0,1fr); grid-template-areas: "head" "grid" "all"; gap: 18px; margin-top: 32px; padding: 22px 16px;}
.ppb-md__title {font-size: 20px;}
.ppb-md__sub {font-size: 14px;}
.ppb-md__grid {grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px 12px;}
.ppb-md__card:nth-child(n+5) {display: none;}
.ppb-md__name {font-size: 14px;}
.ppb-md__meta {font-size: 12px;}
.ppb-md__all {display: flex; justify-content: center; height: 46px;}
}

/* ppb phone edge fix (Oct 28, 2026): common.css lays .d-grid and #dle-content out as repeat(auto-fill, minmax(380px, 1fr)),
   so on phones under about 420 px the single column stays 380 px wide and every block runs past the right edge. */
@media (max-width: 480px) {
.d-grid, #dle-content {grid-template-columns: minmax(0, 1fr);}
}
