1
2/* BASIC LAYOUT
3----------------------------------------------- */
4.wrapper {min-width: 320px; position: relative;}
5.wrapper-container {max-width: var(--maximum-width); margin: 0 auto; position: relative; z-index: 20;}
6.wrapper-main {padding: 0 var(--indent); min-height: 100vh;}
7.header {background-color: var(--bg-2); border-bottom: 4px solid #fff; position: relative; z-index: 100;
8 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.09); padding-top: 10px; padding-bottom: 10px;}
9.content {padding: 40px 0;}
10.footer {padding: 40px 0;}
11
12#scrolltop {position: fixed; width: 60px; height: 60px; line-height: 60px; right: 10px; bottom: 10px;
13 z-index: 990; display: none; background-color: var(--bg); color: var(--tt-2);
14 cursor: pointer; font-size: 24px; border-radius: 50%; text-align: center; box-shadow: 0 5px 10px rgba(0,0,0,0.2);}
15
16
17/* HEADER, NAV
18----------------------------------------------- */
19.logo {display: inline-flex; align-items: center; font-weight: 700;
20 font-size: 20px; margin-right: 60px; height: 40px; text-transform: uppercase;
21 background: url(../images/logo.svg) 0 center / 30px no-repeat; padding-left: 40px;}
22.logo span {color: var(--accent); margin: 0 3px; text-transform: uppercase; display: inline-block;}
23.header__menu > li {margin-right: 30px;}
24.header__menu > li > a {height: 40px; text-transform: uppercase;
font-size: 14px; padding: 0 20px;
25 display: flex; align-items: center; font-weight: 600; position: relative; z-index: 5;}
26.header__menu-hidden {background-color: var(--bg); box-shadow: 0 20px 20px rgba(0,0,0,0.1);
27 position: absolute; left: 0; top: 48px; padding: 40px; padding-bottom: 15px; z-index: 50; width: 100%;
28 visibility: hidden; opacity: 0; transform: translateY(30px);}
29.header__menu > li:hover .header__menu-hidden {visibility: visible; opacity: 1; transform: translateY(0px);}
30.submenu > a:after {content:"\f107"; font-weight: 300; font-family:'Font Awesome 5 Pro'; margin-left:10px;
31 display: inline-block; font-size: 24px;}
32li.submenu:hover > a:after {transform: rotate(-180deg) !important;}
33.menu {column-width: 220px; column-gap: 40px;}
34.menu li {margin-bottom: 15px; break-inside: avoid; position: relative;}
35.menu li a {display: block; padding-right: 30px;}
36.menu li span {position: absolute; right: 0; top: 0; color: var(--tt-2);
font-size: 13px; pointer-events: none;}
37.menu li a:hover {text-decoration: underline;}
38
39.header__search {position:relative; z-index: 5; margin-right: 10px;}
40.header__search input, .header__search input:focus {padding: 0 60px 0 20px; border-radius: 0px;
41 background: none; box-shadow: none; color: #fff;}
42.header__search input:not(:focus)::placeholder {color: #fff; opacity: 1;
font-size: 14px;}
43.header__search button {position:absolute; z-index: 5; right: 0; top: 0; width: 60px; padding: 0;
44 background: none; color: #fff; font-size: 18px;}
45.header__search::before, .header__search button::before, .header .header__menu > li > a.is-active::before,
46.header .header__menu > li:hover > a::before {content: ''; position: absolute; left: 0; top: 0; right: 0; bottom: 0;
47 background-color: var(--bg-3); z-index: -1; transform: skew(-15deg); box-shadow: var(--bsh);}
48.header__search button::before, .header .header__menu > li > a.is-active::before {background: var(--gradient);}
49.header__login, .header__fav {font-size: 20px; cursor: pointer; margin-left: 20px;}
50.header__login:hover, .header__fav:hover {color: var(--accent);}
51.header .header__menu > li > a.is-active, .header .header__menu > li:hover > a {color: #fff;}
52
53
54/* SECTION
55----------------------------------------------- */
56.sect {margin-bottom: 50px;}
57.sect__header {margin-bottom: 20px;}
58.sect__title {font-size: 24px; font-weight: 700;}
59.sect__sort * {display: inline-block; vertical-align: middle;}
60.sect__sort a {text-transform: uppercase; font-weight: 600; margin-left: 20px; color: var(--tt-2);
font-size: 12px;}
61.sect__sort a::after {content: "\f107"; font-weight: 300; font-family: 'Font Awesome 5 Pro';
62 margin-left: 10px; display: inline-block; position: relative; top: 4px; font-size: 24px;}
63.sect__sort .desc a::after {content:"\f106";}
64.sect__sort li[class] a {color: var(--tt);}
65.sect__subtitle {font-size: 24px; margin-bottom: 40px;}
66.desc {display: grid; grid-gap: 20px 0; margin-bottom: 50px; color: var(--tt-2);
67
font-size: 13px; font-weight: 500; line-height: 1.8;}
68.desc h1, .desc h2, .desc h3 {font-size: 26px; font-weight: 700; color: var(--tt); line-height: 1.3;}
69.desc:last-child, .sect:last-child {margin-bottom: 0;}
70.tags-list a {position: relative;
font-size: 13px; text-transform: capitalize; color: var(--tt-2);
71 padding: 8px 12px; margin: 2px; display: inline-block;}
72.tags-list a::before {content: ''; position: absolute; left: 0; top: 0; right: 0; bottom: 0;
73 background-color: var(--bg-2); z-index: -1; transform: skew(-15deg);}
74.tags-list span {margin: 0;}
75.tags-list a:hover {color: #fff;}
76.tags-list a:hover::before {background: var(--gradient); box-shadow: var(--bsh);}
77.speedbar {
font-size: 12px; color: var(--tt-2); margin-bottom: 20px;}
78.speedbar a:after {color: var(--tt); display: inline; content: '/'; margin: 0 5px;}
79.speedbar a:hover {text-decoration: underline;}
80
81
82/* SHORT ITEM
83----------------------------------------------- */
84.thumb {background-color: var(--bg-2); position: relative;}
85.thumb__desc {padding: 10px; padding-bottom: 40px;}
86.thumb__title {font-weight: 500;
font-size: 13px; line-height: 1.4;}
87.thumb__meta {position: absolute; left: 10px; right: 10px; bottom: 10px;
font-size: 12px; color: var(--tt-2);}
88.thumb__label {position: absolute; z-index: 5; padding: 5px 12px;}
89.thumb__label--hd {right: -3px; top: 5px; text-transform: uppercase; font-weight: 700;
font-size: 14px;}
90.thumb__meta-2 {position: absolute; z-index: 5; left: -3px; bottom: 8px;
font-size: 12px; font-weight: 500;}
91.thumb__time, .thumb__rating {padding: 5px 12px 2px 12px; position: relative;}
92.thumb__rating {color: #fff; width: 75px; white-space: nowrap; text-align: center;}
93.thumb__time::before, .thumb__rating::before, .thumb__label::before {content: '';
94 position: absolute; left: 0; top: 0; right: 0; bottom: 0;
95 background-color: var(--bg-2); z-index: -1; transform: skew(15deg);}
96.thumb__time::before {background-color: rgba(255,255,255,0.8);}
97.thumb__rating::before {background-color: rgba(33,34,40,0.8);}
98.thumb__label--hd::before {background-color: rgba(255,255,255,0.8); transform: skew(-15deg);}
99.thumb__rating .fal {margin-right: 4px; color: #08e4bf;
font-size: 14px; position: relative; top: -1px;}
100.js-count-percent {opacity: 0;}
101.thumb__rating-bar, .thumb__time::after {position: absolute; left: 3px; right: -4px; bottom: -3px; height: 3px;
102 z-index: 5; background-color: rgba(255,255,255,0.8); overflow: hidden; transform: skew(15deg); content: '';}
103.thumb__rating-bar-progress {background-color: var(--accent); width: 0%;
104 position: absolute; left: 0; top: 0; height: 100%;}
105.thumb:hover {background-color: var(--accent);}
106.thumb:hover .thumb__title, .thumb:hover .thumb__meta {color: #fff;}
107.page__related .thumb__desc {padding: 10px;}
108
109
110/* FOOTER, PAGINATION
111----------------------------------------------- */
112.footer__menu a {
font-size: 12px; text-transform: uppercase; margin-right: 30px; margin-bottom: 20px; display: inline-block;}
113.footer__text {color: var(--tt-2);
font-size: 12px; line-height: 1.4;}
114
115.pagination {text-align: center;}
116.pagination__pages a, .pagination__pages span {display: inline-block; margin: 10px 5px 0 5px; line-height: 40px;
117 padding: 0 10px; min-width: 40px; position: relative;
font-size: 14px; color: var(--tt-2);}
118.pagination__pages--full a, .pagination__pages--full span {line-height: 30px; min-width: 30px;
font-size: 14px;}
119.pagination__pages a::before, .pagination__pages span:not(.nav_ext)::before {content: '';
120 position: absolute; left: 0; top: 0; right: 0; bottom: 0;
121 background-color: var(--bg); z-index: -1; transform: skew(-15deg);}
122.pagination__pages a:hover::before, .pagination__pages span:not(.nav_ext)::before
123{background: var(--gradient); box-shadow: var(--bsh); color: #fff;}
124.pagination__pages a:hover, .pagination__pages span:not(.nav_ext) {color: #fff;}
125
126
127/* INNER PAGE
128----------------------------------------------- */
129.page__cols {display: grid; grid-template-columns: 1fr 370px; grid-gap: 20px 20px; margin-bottom: 50px;}
130.page__col-left > h1 {font-size: 26px; font-weight: 700; margin-bottom: 10px;}
131.page__col-left > h1 a {margin-left: 10px;
font-size: 14px;}
132.page__text.full-text {
font-size: 13px; color: var(--tt-2); line-height: 1.6; font-weight: 500; margin-bottom: 20px;}
133.page__meta {background-color: var(--bg-2); padding: 20px; margin-bottom: 20px;}
134.page__meta-item {margin-right: 23px;
font-size: 14px; color: var(--tt-2); font-weight: 500;
135 height: 30px; display: flex; align-items: center;}
136.page__meta-item .fal {font-size: 28px; margin-right: 8px; opacity: 0.6;}
137.page__meta-item--date .fal {position: relative; top: -3px;}
138.page__meta-item--fav {cursor: pointer; margin: 0;}
139.page__meta-item--fav a {color: var(--tt-2); display: flex; align-items: center; height: 30px;}
140
141.page__rating {position: relative; margin-right: 48px; padding-right: 143px;}
142.page__rating a {color: var(--tt-2); font-size: 28px; display: block; margin-right: 10px;}
143.page__rating a + a {transform: scale(-1,1); margin-right: 0;}
144.page__rating-bar {position: absolute; right: 0; bottom: -10px; width: 100%;
145 height: 5px; background-color: #ccc; overflow: hidden;}
146.page__rating-bar-progress {position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--accent);}
147.page__rating-likes {position: absolute; right: 0; top: 2px; min-width: 130px; white-space: nowrap;}
148.page__rating-likes i {font-style: normal;}
149.page__rating-likes span {color: var(--tt-2); margin-left: 2px; opacity: 0.8;}
150.page__rating a:hover, .page__meta-item--fav:hover, .page__meta-item--fav a:hover {color: var(--accent);}
151
152.page__tags {border: 2px solid var(--bdc); border-left: 0; border-right: 0; padding: 15px 0 10px 0; font-size: 0;}
153.page__tags-caption {font-size: 16px; font-weight: 600; padding: 8px 12px 8px 0; margin: 2px; margin-left: 0;}
154.page__tags-item + .page__tags-item {margin-top: 5px;}
155.page__tags-item a {font-weight: 600;}
156
157.popular {background-color: var(--bg-2);}
158.popular__img {width: 165px; height: 100px;}
159.popular__desc {padding: 10px; position: relative;}
160.popular__title {
-webkit-line-clamp: 3;
font-size: 13px; font-weight: 500; line-height: 1.3;}
161.popular:hover {background-color: var(--accent);}
162.popular:hover .popular__title, .popular:hover .popular__meta {color: #fff;}
163
164
165/* TEXT BLOCK, TYPOGRAPHY, VIDEO BLOCK
166----------------------------------------------- */
167.full-text {line-height: 1.7;
font-size: 15px; word-wrap: break-word;}
168.full-text a {text-decoration: underline; color: #5278b1;}
169.full-text img:not(.emoji), .full-text p, .full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5,
170.full-text > ul, .full-text > ol, .full-text table, .page__title {margin-bottom: 20px;}
171.full-text > img[style*="left"], .full-text > .highslide img[style*="left"] {margin:0 10px 10px 0;}
172.full-text > img[style*="right"], .full-text > .highslide img[style*="right"] {margin:0 0 10px 10px;}
173.full-text > ul li, .full-text > ol li {padding-left: 60px; position: relative;}
174.full-text > ul li:before {content: ''; width: 8px; height: 8px; border-radius: 50%;
175 border: 3px solid #fac40c; position: absolute; top: 4px; left: 34px;}
176.full-text > ol {counter-reset: num;}
177.full-text > ol li:before {content: counter(num); counter-increment: num; background-color: #fac40c; color: #000;
178 position: absolute; top: -2px; left: 17px; width: 24px; height: 30px;
font-size: 14px; font-weight: 600;
179 display: flex; justify-content: flex-end; align-items: center; padding-right: 6px; box-sizing: border-box;}
180.full-text > ol li:after {content: ''; border: 10px solid transparent; border-left-color: #fac40c;
181 position: absolute; left: 41px; top: -2px; transform: scale(0.66,1.5); transform-origin: 0 0;}
182.full-text > ul li + li, .full-text > ol li + li {margin-top: 10px;}
183.full-text table, .video-inside > * {width:100%;}
184.full-text table tr td {padding:10px; border:2px solid #fff;}
185.full-text table tr:nth-child(2n+1) {background-color:#f2f6f9;}
186.full-text table tr:nth-child(1) {background-color:#cee0ed;}
187.full-text table img:not(.emoji) {margin:0; max-width:350px}
188.full-text > *:last-child {margin-bottom: 0;}
189.video-responsive {padding-top: 56%; position: relative;}
190.video-responsive > iframe, .video-responsive > video {position: absolute; left: 0; top: 0; width: 100%; height: 100%;}
191.full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5 {font-size: 22px;}
192
193
194/* COMMENTS
195----------------------------------------------- */
196.page__comments {margin-top: 15px;}
197.add-comments-form.form {padding: 0; background: none; margin-top: 20px; display: none;}
198.add-comments-form .form__input, .add-comments-form__input, .add-comments-form .form__textarea-inside textarea,
199.mass_comments_action select {box-shadow: inset 0 0 0 1px #e3e3e3; border-radius: 0;}
200.add-comments-form__input {margin-left: 20px;}
201.add-comments-form .d-none, .comments_subscribe + br {display: none;}
202.mass_comments_action {display: none; align-items: center; max-width: 800px; white-space: nowrap; margin-bottom: 20px;}
203.mass_comments_action select {flex: 1 1 0; margin: 0 -8px 0 20px;}
204.mass_comments_action .bbcodes {border-radius: 0; padding: 0 10px;}
205.page__comments-btn {cursor: pointer; position: relative; height: 40px; line-height: 40px; font-weight: 600;
206 padding: 0 20px; text-transform: uppercase; color: var(--tt-2);
font-size: 12px; display: inline-block;}
207.page__comments-btn::before {content: ''; position: absolute; left: 0; top: 0; right: 0; bottom: 0;
208 background-color: var(--bg-2); z-index: -1; transform: skew(-15deg);}
209.page__comments-btn:hover::before, .page__comments-btn.is-active::before {background: var(--gradient);}
210.page__comments-btn:hover, .page__comments-btn.is-active {color: #fff;}
211.show-comms a {color: var(--accent); text-decoration: underline; margin-top: 10px; display: inline-block;}
212
213.comment-item__title {font-weight: 700; font-size: 18px; margin-top: 20px;}
214.comment-item {margin-top: 20px;}
215.comment-item__img {width: 40px; height: 40px; border-radius: 50%; margin-right: 10px;}
216.comment-item__letter {width: 100%; height: 100%; text-transform: uppercase; font-weight: 700;
217 position: absolute; left: 0; top: 0; z-index: 5; color: #fff; font-size: 18px;}
218.comment-item__author {font-weight: 600;
font-size: 14px;}
219.comment-item__date {color: var(--tt-2); margin-top: 4px;
font-size: 12px;}
220.comment-item__main {margin: 8px 0 0 0;}
221.comment-item__rating {white-space: nowrap;
font-size: 12px;}
222.comment-item__rating a {margin-left: 6px;}
223.comment-item__rating a > span:first-child {color: #6ab04c; text-decoration: underline; font-weight: 400; margin-right: 2px;}
224.comment-item__rating a:last-child > span:first-child {color: #eb4d4b;}
225
226
227/* LOGIN
228----------------------------------------------- */
229.login {position: fixed; z-index: 999; left: 50%; top: 50%; transform: translate(-50%,-50%); overflow: hidden;
230 background-color: var(--ui-bg); border-radius: 4px; width: 400px;
231 box-shadow: 0 0 0 10px rgba(255,255,255,0.2), 0 15px 45px rgba(0,0,0,1);}
232.login__header {padding: 20px 40px; background-color: var(--ui-bg-darker);}
233.login__title {font-size: 17px; font-weight: 600; padding: 1px 0; text-transform: capitalize;}
234.login__close {cursor: pointer; font-size: 24px; opacity: 0.6; margin-left: 20px;}
235.login__title a {border-bottom: 1px dotted var(--tt-2); margin-left: 10px; font-weight: 400; color: var(--tt-2);}
236.login__content {padding: 20px 40px;}
237.login__row {margin-bottom: 20px; position: relative; display: block;
font-size: 14px; color: var(--tt-2);}
238.login__caption {
font-size: 14px; color: var(--tt); margin-bottom: 10px;}
239.login__caption a {text-decoration: underline; margin-left: 6px; color: var(--accent);}
240.login__input input {padding-left: 40px;}
241.login__row .fal {opacity: 0.5; position: absolute; left: 0; bottom: 0; line-height: 40px; width: 40px; text-align: center;}
242.login__row button {width: 100%;}
243.login__social {background-color: var(--ui-bg-darker); padding: 20px 40px; text-align: center;}
244.login__social-caption {
font-size: 11px; text-transform: uppercase; margin-bottom: 10px;}
245.login__social-btns a {display:inline-block; margin: 0 3px; vertical-align:top;}
246.login__social-btns img {display:block; width:30px; height: 30px; border-radius: 50%;}
247.login__avatar {width: 40px; height: 40px; border-radius: 50%; margin-right: 10px;}
248.login__menu {padding-left: 35px; padding-right: 35px; margin-bottom: -10px;}
249.login__menu li {flex: 1 1 0; min-width: auto; max-width: 100%; margin: 0 5px 10px 5px;}
250.login__menu a {display: block; border-radius: 6px; padding: 10px; text-align: center; white-space: nowrap;
251 background-color: var(--ui-bg-darker); box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
font-size: 13px;}
252.login__menu .fal {display: block; height: 30px; font-size: 24px; opacity: 0.3;}
253
254
255/* ADAPTIVE, MOBILE MENU
256----------------------------------------------- */
257.overlay {position: fixed; z-index: 998; left: 0; top: 0; width: 100%; height: 100%;
258 opacity: 0.6; background-color: #000; cursor: pointer; display: none;}
259.mobile-menu {width: 280px; height: 100%; overflow-x: hidden; overflow-y: auto; background-color: var(--bg-2);
260 padding: 10px 20px; z-index: 999; position: fixed; left: -320px; top: 0; transition: left .4s;}
261.mobile-menu.is-active {left: 0;}
262.mobile-menu-close {cursor: pointer; display: block; left: 280px; top: -40px; position: fixed; z-index: 999;
263 width: 40px; height: 40px; line-height: 40px; text-align: center; font-size: 18px; opacity: 0;
264 background-color: #e84e36; color: #fff; transition: top .4s, opacity .4s;}
265.mobile-menu-close.is-active {top: 0px; opacity: 1;}
266body.mobile-menu-is-opened {overflow: hidden; width: 100%; height: 100%;}
267.mobile-menu .header__menu {margin: 0; padding: 0; display: block;}
268.mobile-menu .header__menu > li {width: 100%; margin: 0; padding: 0;}
269.mobile-menu .header__menu > li > a {height: 40px; padding: 0;}
270.mobile-menu .header__menu-hidden {width: 100%; height: auto; display: block; position: relative; left: 0; top: 0;
271 width: calc(100% + 40px); margin: 5px -20px; padding: 20px; padding-bottom: 5px; opacity: 1; visibility: visible; transform: none;}
272
273@media screen and (max-width: 1220px) {
274 body {background-image: none;}
275 .wrapper {padding: 0; overflow: hidden;}
276 .wrapper-container {max-width:1000px;}
277 .header__menu, .sect__sort, .header__fav {display: none;}
278 .header__btn-menu {cursor: pointer; display: block; font-size: 30px; margin-left: 20px;}
279 .header__login {font-size: 16px; margin-left: 20px;}
280
281 .page__cols {grid-template-columns: 1fr;}
282 .popular__img {width: 130px;}
283}
284
285@media screen and (max-width: 950px) {
286 .wrapper-container {max-width:768px;}
287 .footer {display: block; text-align: center; background-image: none;}
288 .footer__logo {margin: 0; margin-bottom: 20px;}
289 .footer__menu {justify-content: center;}
290 .footer__menu a {display: inline-block; margin: 0 10px 20px 10px;}
291 #scrolltop {width: 40px; height: 40px; line-height: 40px; font-size: 18px;}
292
293 .page__meta-item .fal, .page__meta-item {
font-size: 12px;}
294 .page__rating {margin-right: 20px;}
295}
296
297@media screen and (max-width: 760px) {
298 .wrapper-container {max-width:640px;}
299 .header__search {order: 10; min-width: 100%; margin: 0; margin-top: 10px;}
300 .header__logo {flex: 1 1 0; min-width: 100px; max-width: 100%; margin-right: 0;}
301
302 .page__header {margin-left: -20px; margin-right: -20px; margin-top: -40px;}
303 .page__meta-item .fal, .page__meta-item {
font-size: 12px;}
304 .page__meta-item--views, .page__meta-item--date {display: none;}
305 .page__text .quote {margin-left: -20px; margin-right: -20px; padding-right: 20px;}
306 .full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5 {font-size: 18px;}
307
308 .add-comments-form__input {min-width: 100%; margin: 0 0 10px 0;}
309 .add-comments-form__btn {width: 100%; order: 10;}
310 .add-comments-form .form__row--protect .form__caption {width: 100%; margin: 0 0 10px 0;}
311 .mass_comments_action, .comment-item__controls, .comment-item__rating-caption {display: none;}
312}
313
314@media screen and (max-width: 590px) {
315 .wrapper-container {max-width:480px;}
316 .login {max-width: 90%; max-height: 90%; overflow-x: hidden; overflow-y: auto;}
317 .login__header, .login__content, .login__social, .pages-bg {padding-left: 20px; padding-right: 20px;}
318}
319
320@media screen and (max-width: 470px) {
321 .wrapper-container22 {max-width:360px;}
322 .page__col-left > h1 {font-size: 18px;}
323 .page__meta {padding: 10px;}
324 .page__meta-item {margin: 0;}
325 .page__meta-item--fav {font-size: 0;}
326 .page__meta-item--fav .fal {font-size: 18px; margin: 0;}
327}
328
329
330
331