main_page.less 21 KB

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