main_page.less 21 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075
  1. .main-view{
  2. display: flex;
  3. flex-wrap: wrap;
  4. picture{
  5. filter: brightness(0.7);
  6. }
  7. .group{
  8. position: relative;
  9. width: 40%;
  10. @media(max-width: @size-mobile){
  11. width: 100%;
  12. }
  13. &::after{
  14. content: "";
  15. position: absolute;
  16. height: calc(100% - 30px);
  17. top: 0;
  18. bottom: 0;
  19. left: 0;
  20. display: block;
  21. width: 1px;
  22. background-color: #e8e8e8;
  23. z-index: 1;
  24. margin: auto;
  25. }
  26. }
  27. }
  28. .news-item{
  29. @media(max-width: @size-mobile){
  30. width: 100% !important;
  31. }
  32. &.main{
  33. width: 100%;
  34. box-shadow: black 0 0 14px -5px;
  35. a{
  36. color: white;
  37. }
  38. }
  39. z-index: 1;
  40. text-align: left;
  41. display: flex;
  42. align-items: flex-end;
  43. justify-content: flex-start;
  44. align-content: flex-end;
  45. flex-wrap: wrap;
  46. overflow: hidden;
  47. position: relative;
  48. picture:after {
  49. position: absolute;
  50. transition: 0.3s;
  51. opacity: 1;
  52. content:"";
  53. height:100%;
  54. width:100%;
  55. top:0;
  56. left:0;
  57. background: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.5));
  58. }
  59. picture:hover::after{
  60. opacity: 0.4;
  61. }
  62. .meta{
  63. position: absolute;
  64. bottom: 0;
  65. left: 0;
  66. color: #fff;
  67. padding: 15px 30px;
  68. .title{
  69. font: 700 28px/32px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  70. margin-bottom: 10px;
  71. @media(max-width: @size-mobile){
  72. font-size: 14px;
  73. line-height: 16px;
  74. @media (resolution: 150dpi) {
  75. font-size: 10px;
  76. line-height: 12px;
  77. }
  78. }
  79. }
  80. .lead{
  81. margin-bottom: 15px;
  82. font: 18px/25px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  83. color: hsla(0,0%,100%,.8);
  84. font-size: 16px;
  85. line-height: 150%;
  86. @media(max-width: @size-mobile){
  87. font-size: 12px;
  88. }
  89. }
  90. .published_at{
  91. color: hsla(0,0%,100%,.5);
  92. font: 12px/17px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  93. .commnets{
  94. margin-left: 20px;
  95. }
  96. .icon{
  97. width: 10px;
  98. height: 10px;
  99. fill: #a8a8a8;
  100. margin-right: 5px;
  101. }
  102. }
  103. }
  104. &.main{
  105. margin-bottom: 30px;
  106. }
  107. &.high{
  108. .meta{
  109. .title{
  110. font-weight: 700 !important;
  111. }
  112. }
  113. }
  114. &.high,&.low{
  115. width: 60%;
  116. align-content: center;
  117. &:hover{
  118. .published_at{
  119. color: #3b5573;
  120. }
  121. }
  122. background: white;
  123. .meta{
  124. position: relative;
  125. color: #3e3e3e;
  126. padding: 50px 15px 15px 15px;
  127. .title{
  128. font: 24px/34px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  129. }
  130. .lead{
  131. font-size: 16px;
  132. line-height: 150%;
  133. color: #3e3e3e;
  134. }
  135. .published_at{
  136. position: absolute;
  137. top:15px;
  138. left:15px;
  139. color: #aeaeae;
  140. }
  141. }
  142. }
  143. &.low{
  144. width: 100%;
  145. padding-bottom: 15px;
  146. .meta{
  147. .title{
  148. font: 18px/26px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  149. margin: 0;
  150. }
  151. }
  152. &:nth-child(1)::after{
  153. content: "";
  154. position: absolute;
  155. width: calc(100% - 15px);
  156. bottom: 0;
  157. left: 0;
  158. display: block;
  159. height: 1px;
  160. background-color: #e8e8e8;
  161. z-index: 1;
  162. }
  163. }
  164. }
  165. #lenta-container{
  166. @media(max-width: @size-mobile){
  167. max-height: 100% !important;
  168. }
  169. &::-webkit-scrollbar {
  170. display: none;
  171. }
  172. -ms-overflow-style: none;
  173. scrollbar-width: none;
  174. overflow-y: scroll;
  175. & + .shadow{
  176. position: relative;
  177. width: 100%;
  178. content: "";
  179. top: -50px;
  180. left: 0;
  181. right: 0;
  182. margin: auto;
  183. height: 50px;
  184. background: linear-gradient(transparent,#fff);
  185. }
  186. }
  187. .partner-news{
  188. margin-top: 30px;
  189. &>div{
  190. flex-grow: 1;
  191. }
  192. #top_slider{
  193. display: flex;
  194. overflow: hidden;
  195. position: relative;
  196. .arrows{
  197. position: absolute;
  198. height: 50px;
  199. width: 100%;
  200. top: 27%;
  201. left: 0;
  202. z-index: 1;
  203. font-size: 25px;
  204. &>div{
  205. position: absolute;
  206. top:0;
  207. cursor: pointer;
  208. height: 50px;
  209. width: 50px;
  210. color: white;
  211. border-radius: 50%;
  212. background: @active-color;
  213. display: flex;
  214. align-items: center;
  215. justify-content: center;
  216. svg{
  217. fill: white;
  218. height: 20px;
  219. width: 20px;
  220. }
  221. &.next{
  222. right: 0px;
  223. }
  224. &.prev{
  225. left: 0px;
  226. }
  227. }
  228. }
  229. .slides{
  230. display: flex;
  231. overflow: hidden;
  232. position: relative;
  233. }
  234. .slides>div{
  235. min-width: 100%!important;
  236. padding: 0;
  237. margin-right: 15px;
  238. transform: translate(0,0);
  239. transition: 0.3s;
  240. }
  241. .partner-news-item{
  242. }
  243. }
  244. .partner-news-item{
  245. position: relative;
  246. background-color: white;
  247. height: 100%;
  248. padding-bottom: 30px;
  249. .meta{
  250. padding: 15px;
  251. h2{
  252. font: 18px/22px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  253. }
  254. .published_at{
  255. position: absolute;
  256. bottom: 15px;
  257. left: 15px;
  258. color: #a8a8a8;
  259. .icon{
  260. width: 10px;
  261. height: 10px;
  262. fill: #a8a8a8;
  263. margin-right: 5px;
  264. }
  265. }
  266. }
  267. }
  268. }
  269. .slpager {
  270. position: absolute;
  271. bottom: 20px;
  272. right: 30px;
  273. z-index: 100;
  274. }
  275. .slider-indicator {
  276. flex: 0 1 auto;
  277. box-sizing: content-box;
  278. width: 10px;
  279. height: 5px;
  280. margin-right: 3px;
  281. margin-left: 3px;
  282. text-indent: -999px;
  283. background-color: rgb(255 255 255 / 60%);
  284. background-clip: padding-box;
  285. border-top: 15px solid transparent;
  286. border-bottom: 15px solid transparent;
  287. cursor: pointer;
  288. display: block;
  289. float: left;
  290. }
  291. .slider-indicator.active{
  292. background-color: #ff7f00;
  293. z-index:101;
  294. }
  295. .slinner{
  296. z-index:101;
  297. }
  298. .main-view{
  299. &>div{
  300. flex-grow: 1;
  301. }
  302. #top_mslider{
  303. display: flex;
  304. overflow: hidden;
  305. position: relative;
  306. width:100%;
  307. box-shadow: #000 0 0 14px -5px;
  308. margin-bottom: 30px;
  309. .arrows{
  310. @media(max-width: @size-mobile){
  311. top: 8%;
  312. }
  313. position: absolute;
  314. height: 50px;
  315. width: 100%;
  316. top: 44%;
  317. left: 0;
  318. z-index: 100;
  319. font-size: 25px;
  320. opacity: 0.7;
  321. &>div{
  322. position: absolute;
  323. top:0;
  324. cursor: pointer;
  325. height: 50px;
  326. width: 50px;
  327. color: white;
  328. border-radius: 50%;
  329. background: @active-color;
  330. display: flex;
  331. align-items: center;
  332. justify-content: center;
  333. svg{
  334. fill: white;
  335. height: 20px;
  336. width: 20px;
  337. }
  338. &.next{
  339. right: 5px;
  340. }
  341. &.prev{
  342. left: 5px;
  343. }
  344. }
  345. }
  346. .slides{
  347. display: flex;
  348. overflow: hidden;
  349. position: relative;
  350. width:100%
  351. }
  352. .slides>div{
  353. min-width: 100%!important;
  354. padding: 0;
  355. margin-right: 15px;
  356. transform: translate(0,0);
  357. transition: 0.3s;
  358. }
  359. .news-sitem{
  360. }
  361. }
  362. .news-sitem{
  363. @media(max-width: @size-mobile){
  364. width: 100% !important;
  365. }
  366. &.main{
  367. width: 100%;
  368. a{
  369. color: white;
  370. }
  371. }
  372. z-index: 1;
  373. text-align: left;
  374. display: flex;
  375. align-items: flex-end;
  376. justify-content: flex-start;
  377. align-content: flex-end;
  378. flex-wrap: wrap;
  379. overflow: hidden;
  380. position: relative;
  381. picture:after {
  382. position: absolute;
  383. transition: 0.3s;
  384. opacity: 1;
  385. content:"";
  386. height:100%;
  387. width:100%;
  388. top:0;
  389. left:0;
  390. background: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.5));
  391. }
  392. picture:hover::after{
  393. opacity: 0.4;
  394. }
  395. .meta{
  396. position: absolute;
  397. bottom: 0;
  398. left: 0;
  399. color: #fff;
  400. padding: 15px 30px;
  401. .title{
  402. font: 700 28px/32px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  403. margin-bottom: 10px;
  404. @media(max-width: @size-mobile){
  405. font-size: 14px;
  406. line-height: 16px;
  407. }
  408. }
  409. .lead{
  410. margin-bottom: 15px;
  411. font: 18px/25px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  412. color: hsla(0,0%,100%,.8);
  413. font-size: 16px;
  414. line-height: 150%;
  415. @media(max-width: @size-mobile){
  416. font-size: 12px;
  417. }
  418. }
  419. .published_at{
  420. color: hsla(0,0%,100%,.5);
  421. font: 12px/17px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  422. .commnets{
  423. margin-left: 20px;
  424. }
  425. .icon{
  426. width: 10px;
  427. height: 10px;
  428. fill: #a8a8a8;
  429. margin-right: 5px;
  430. }
  431. }
  432. }
  433. }
  434. }
  435. .wide-widget{
  436. margin-top: 30px;
  437. .cont{
  438. position: relative;
  439. }
  440. picture:after {
  441. position: absolute;
  442. transition: 0.3s;
  443. opacity: 1;
  444. content:"";
  445. height:100%;
  446. width:100%;
  447. top:0;
  448. left:0;
  449. background: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.5));
  450. }
  451. picture:hover::after{
  452. opacity: 0.4;
  453. }
  454. .meta{
  455. position: absolute;
  456. bottom: 0;
  457. left: 0;
  458. width: 100%;
  459. height: 100%;
  460. .topic{
  461. text-transform: uppercase;
  462. position: absolute;
  463. width: 210px;
  464. height: 40px;
  465. bottom: 5px;
  466. left: 0;
  467. right: 0;
  468. margin: auto;
  469. font: 14px/17px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  470. color: hsla(0,0%,100%,.5);
  471. display: flex;
  472. justify-content: center;
  473. align-items: center;
  474. &::before,&::after{
  475. content: "";
  476. display: block;
  477. position: absolute;
  478. height: 100%;
  479. width: 1px;
  480. background-color: hsla(0,0%,100%,.2);
  481. top: 0;
  482. left: 0;
  483. }
  484. &::after{
  485. right: 0;
  486. left: unset;
  487. }
  488. a{
  489. color: inherit;
  490. font: inherit;
  491. }
  492. }
  493. .title{
  494. position: absolute;
  495. bottom: 60px;
  496. left: 20px;
  497. color: white;
  498. margin: 0;
  499. max-width: 541px;
  500. font: 700 30px/36px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  501. a{
  502. color: white;
  503. }
  504. }
  505. .commnets{
  506. position: absolute;
  507. right: 20px;
  508. bottom: 20px;
  509. color: #a8a8a8;
  510. font: 12px/17px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  511. .icon{
  512. width: 15px;
  513. height: 15px;
  514. fill: #a8a8a8;
  515. margin-right: 5px;
  516. }
  517. }
  518. }
  519. .adv .cont{
  520. background: white;
  521. height: 100%;
  522. display: flex;
  523. align-items: center;
  524. justify-content: center;
  525. }
  526. }
  527. .text-news-widget{
  528. margin-top: 30px;
  529. &>div>.cont{
  530. background: white;
  531. padding: 0 30px;
  532. }
  533. .widget-title{
  534. font: 700 18px/22px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  535. color: #3e3e3e;
  536. padding: 30px 15px;
  537. }
  538. .text-widget-item{
  539. .cont{
  540. padding: 0 15px 30px 15px;
  541. position: relative;
  542. height: 100%;
  543. .meta{
  544. .title{
  545. font: 16px/19px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  546. color: #3e3e3e;
  547. }
  548. }
  549. .published_at{
  550. position: absolute;
  551. width: 100%;
  552. bottom: 15px;
  553. font: 14px/17px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  554. color: #a8a8a8;
  555. .comments{
  556. position: absolute;
  557. right: 45px;
  558. .icon{
  559. width: 10px;
  560. height: 10px;
  561. fill: #a8a8a8;
  562. margin-right: 5px;
  563. }
  564. }
  565. }
  566. }
  567. }
  568. }
  569. @media not (max-width: @size-mobile){
  570. .widget-title{
  571. margin-bottom: -15px !important;
  572. margin-top: 25px !important;
  573. }
  574. }
  575. .topic-widget{
  576. margin-top: 30px;
  577. .cont{
  578. position: relative;
  579. //height: 500px;
  580. overflow: hidden;
  581. @media(max-width: @size-mobile){
  582. height:auto;
  583. }
  584. }
  585. picture{
  586. filter: brightness(0.6);
  587. }
  588. .content{
  589. position: absolute;
  590. bottom: 0;
  591. left: 0;
  592. padding: 30px;
  593. max-width: 100%;
  594. @media(max-width: @size-mobile){
  595. padding: 15px;
  596. max-width: 100%;
  597. }
  598. }
  599. .topic-title{
  600. max-width: 608px;
  601. font: 36px/43px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  602. color: #fff;
  603. margin-bottom: 50px;
  604. a{
  605. color: #fff;
  606. }
  607. @media(max-width: @size-mobile){
  608. margin-bottom: 5px;
  609. font-size: 22px;
  610. line-height: normal;
  611. }
  612. }
  613. @media(max-width: @size-mobile){
  614. @keyframes move-swipe{
  615. 0% {
  616. transform: translateX(-20px);
  617. }
  618. 50% {
  619. transform: translateX(20px);
  620. }
  621. 100% {
  622. transform: translateX(-20px);
  623. }
  624. }
  625. .swipe-icon{
  626. animation: move-swipe 4s ease infinite;
  627. display: block;
  628. position: absolute;
  629. min-width: 50px;
  630. width: 40px;
  631. height: 40px;
  632. background-image: url(/img/swipe.svg);
  633. background-size: contain;
  634. background-repeat: no-repeat;
  635. margin: auto;
  636. left: 0;
  637. right: 0;
  638. bottom: 27px;
  639. z-index: 0;
  640. fill: white;
  641. opacity: 0.5;
  642. }
  643. }
  644. .topic-news{
  645. display: flex;
  646. overflow: hidden;
  647. .swipe-icon{
  648. display: none;
  649. }
  650. @media(max-width: @size-mobile){
  651. .navigation{
  652. top: 15px;
  653. &.prev{
  654. left: -17px;
  655. }
  656. &.next{
  657. right: -15px;
  658. }
  659. }
  660. .title{
  661. line-height: 20px;
  662. }
  663. }
  664. &>div{
  665. @media(max-width: @size-mobile){
  666. display: block;
  667. min-width: 95%;
  668. &:nth-child(1){
  669. display: block;
  670. padding: 0;
  671. }
  672. }
  673. }
  674. .cont{
  675. height: 100%;
  676. padding-bottom: 30px;
  677. }
  678. .title{
  679. margin: 0;
  680. line-height: 23px;
  681. a{
  682. font: 700 16px/19px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  683. color: #fff;
  684. line-height: 0;
  685. }
  686. }
  687. .comments{
  688. color: #fff;
  689. position: absolute;
  690. bottom: 0;
  691. margin: 0;
  692. .icon{
  693. width: 10px;
  694. height: 10px;
  695. fill: #fff;
  696. margin-right: 5px;
  697. }
  698. }
  699. }
  700. }
  701. @media (max-width: @size-mobile) {
  702. #main-view-container{
  703. order: 1;
  704. padding-right: 0;
  705. padding-left: 0;
  706. }
  707. #lenta-wrapper{
  708. order: 0;
  709. padding-right: 0;
  710. padding-left: 0;
  711. .news-link{
  712. padding: 0 15px;
  713. }
  714. .lenta {
  715. margin-bottom: 15px;
  716. .list-wrapper {
  717. &>div {
  718. display: none;
  719. padding: 12px 15px 12px 15px
  720. }
  721. &>div:nth-child(-n+8){
  722. display: block;
  723. }
  724. }
  725. }
  726. }
  727. .partner-news{
  728. margin-top: 15px;
  729. &>div{
  730. margin-bottom: 15px;
  731. }
  732. }
  733. .wide-widget{
  734. //margin-top: 0px;
  735. .meta{
  736. h2.title{
  737. font-size: 16px;
  738. line-height: 20px;
  739. padding-right: 15px;
  740. }
  741. }
  742. }
  743. }
  744. .widget{
  745. &.topic-widget{
  746. .navigation{
  747. top: 75px;
  748. &.prev{
  749. left: 0px;
  750. &:after{
  751. background-color: transparent;
  752. }
  753. }
  754. &.next{
  755. right: 0px;
  756. &:after{
  757. background-color: transparent;
  758. }
  759. }
  760. }
  761. }
  762. position: relative;
  763. .navigation{
  764. position: absolute;
  765. width: 50px;
  766. height: 50px;
  767. top: 0;
  768. bottom: 0;
  769. margin: auto;
  770. z-index: 9;
  771. opacity: .8;
  772. cursor: pointer;
  773. &:after{
  774. content: "";
  775. background-color: @active-color;
  776. border-radius: 50%;
  777. height: 100%;
  778. width: 100%;
  779. color: white;
  780. display: flex;
  781. justify-content: center;
  782. align-items: center;
  783. font-size: 25px;
  784. background-repeat: no-repeat;
  785. background-position: center;
  786. }
  787. &.prev{
  788. &:after{
  789. background-image: url("/svg/clear/h-slider-prev.svg");
  790. }
  791. left: -15px;
  792. }
  793. &.next{
  794. &:after{
  795. background-image: url("/svg/clear/h-slider-next.svg");
  796. }
  797. right: -15px;
  798. }
  799. }
  800. }
  801. .partner-news.colorful{
  802. height: 402px;
  803. overflow: hidden;
  804. display: flex;
  805. flex-wrap: nowrap;
  806. position: relative;
  807. .colorful-news-item{
  808. position: relative;
  809. cursor: pointer;
  810. width: 296px;
  811. height: 402px;
  812. margin: 0 15px;
  813. overflow: hidden;
  814. display: flex;
  815. min-width: 296px;
  816. @media(max-width: @size-mobile){
  817. min-width: calc(100% - 30px);
  818. }
  819. a{
  820. color: #fff;
  821. text-decoration: none;
  822. &.button{
  823. color: @active-color;
  824. font-size: 16px;
  825. }
  826. }
  827. .background{
  828. width: 100%;
  829. height: 100%;
  830. display: flex;
  831. justify-content: center;
  832. picture{
  833. height: 100%;
  834. img{
  835. height: 100%;
  836. }
  837. }
  838. }
  839. &:before{
  840. content: "";
  841. position: absolute;
  842. width: 100%;
  843. height: 100%;
  844. opacity: .8;
  845. z-index: 1;
  846. }
  847. &.orange:before{
  848. background-color: #979795;
  849. }
  850. &.blue:before{
  851. background-color: #3b5573;
  852. }
  853. }
  854. .rubric{
  855. position: absolute;
  856. display: flex;
  857. top: 15px;
  858. width: 100%;
  859. padding: 0 13px;
  860. letter-spacing: .08em;
  861. white-space: nowrap;
  862. text-transform: uppercase;
  863. color: #fff;
  864. font: 700 12px/17px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  865. z-index: 2;
  866. a{
  867. margin: 0 15px;
  868. }
  869. &:before, &:after{
  870. content: "";
  871. width: 100%;
  872. height: 1px;
  873. background: white;
  874. align-self: center;
  875. }
  876. }
  877. .title{
  878. position: absolute;
  879. top:85px;
  880. width: 100%;
  881. text-align: center;
  882. padding: 20px;
  883. z-index: 2;
  884. font: 24px/29px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  885. .comments{
  886. display: block;
  887. font-size: 14px;
  888. color: #fff;
  889. svg{
  890. fill: #fff;
  891. width: 12px;
  892. margin-right: 7px;
  893. }
  894. }
  895. }
  896. }
  897. #tfilters-modal{
  898. top: 40%;
  899. padding: 30px;
  900. right: 60px;
  901. left: 0;
  902. margin: auto;
  903. height:auto;
  904. border:solid 1px #eee;
  905. }
  906. .mymodal{
  907. position: fixed;
  908. top: 0;
  909. left: 0;
  910. z-index: 1050;
  911. width: 100%;
  912. height: 100%;
  913. overflow: hidden;
  914. outline: 0;
  915. }
  916. .checkbox-lg .form-check-input{
  917. top: .8rem;
  918. transform: scale( 1.4 );
  919. margin-right: 0.7rem;
  920. }
  921. .checkbox-lg .form-check-label {
  922. padding-top: 13px;
  923. font-size: 16px;
  924. padding-left: 4px;
  925. }
  926. .checkbox-xl .form-check-input {
  927. top: 1.2rem;
  928. transform:scale( 1.7 );
  929. margin-right: 0.8rem;
  930. }
  931. .checkbox-xl .form-check-label {
  932. padding-top: 19px;
  933. font-size: 19px;
  934. padding-left: 5px;
  935. }
  936. .btn-gray{
  937. background: rgba(59,85,115,.08);
  938. border-radius: 4px;
  939. color: #3b5573;
  940. padding: 0 30px;
  941. height: 40px;
  942. display: flex;
  943. justify-content: center;
  944. align-items: center;
  945. }
  946. /*
  947. *
  948. * Для опросника
  949. */
  950. .inquirer-item {
  951. background-color:#5a748b;
  952. position: relative;
  953. height: 100%;
  954. padding-bottom: 30px;
  955. display: flex;
  956. justify-content: start;
  957. flex-wrap: nowrap;
  958. flex-direction: column;
  959. .rubric::after, .rubric::before {
  960. content: "";
  961. width: 100%;
  962. height: 1px;
  963. align-self: center;
  964. background: #fff;
  965. }
  966. .rubric a{
  967. margin: 0 15px;
  968. color:#fff;
  969. }
  970. .meta{
  971. width:100%;
  972. }
  973. .rubric {
  974. position: relative;
  975. display: flex;
  976. top: 15px;
  977. width: 100%;
  978. padding: 0 13px;
  979. letter-spacing: .08em;
  980. white-space: nowrap;
  981. text-transform: uppercase;
  982. color: #fff;
  983. font: 700 12px/17px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  984. z-index: 2;
  985. }
  986. .title a {
  987. color: #fff;
  988. text-decoration: none;
  989. }
  990. .title {
  991. position: relative;
  992. top: 20px;
  993. width: 100%;
  994. text-align: center;
  995. padding: 20px;
  996. z-index: 2;
  997. font: 24px/29px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  998. }
  999. .answer {
  1000. display: flex;
  1001. position: relative;
  1002. width: 100%;
  1003. top: 5px;
  1004. flex-direction: column;
  1005. }
  1006. .answer input{
  1007. margin: 4px 5px 0 0;
  1008. position: relative;
  1009. float: left;
  1010. }
  1011. .answer label{
  1012. color:#fff;
  1013. font: 16px/18px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  1014. display:flex;
  1015. }
  1016. .answer p{
  1017. color:#fff;
  1018. font: 16px/18px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  1019. }
  1020. }
  1021. .form-check-main{
  1022. margin-bottom: 15px;
  1023. .form-check-input-col{
  1024. margin:0;
  1025. position: relative;
  1026. float:left;
  1027. margin-top:5px !important;
  1028. }
  1029. .form-check-label-col{
  1030. display:flex;
  1031. margin-bottom:15px;
  1032. padding-left: 5px;
  1033. padding-top:5px;
  1034. }
  1035. }
  1036. .bg-amic{
  1037. background:#ff8813;
  1038. }
  1039. .percent{
  1040. color:#fff;
  1041. margin-top: -5px;
  1042. }
  1043. .nowrap{
  1044. white-space: nowrap;
  1045. }
  1046. .textcols{
  1047. column-gap: 4%;
  1048. display:block !important;
  1049. }
  1050. @media (max-width: @size-mobile) {
  1051. .textcols{
  1052. column-count: 1;
  1053. }
  1054. }
  1055. @media not (max-width: @size-mobile) {
  1056. .textcols{
  1057. column-count: 2;
  1058. }
  1059. }