You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1271 lines
27 KiB

  1. @use '../../_global/styles/mixins' as *;
  2. @use '../../_global/styles/vars' as *;
  3. section.marketingheader {
  4. margin-top: 0;
  5. &.miniinfoteaser {
  6. .kicker {
  7. //color: var(--swatches-secondary-500);
  8. }
  9. .mini-teaser {
  10. .category {
  11. color: var(--color-decoration);
  12. }
  13. }
  14. .text-only .kicker {
  15. //color: var(--swatches-neutrals-white);
  16. }
  17. }
  18. .rotation {
  19. .slider {
  20. @media(min-width: 1000px) {
  21. height: 100%;
  22. .slide-overflow {
  23. height: 100% !important;
  24. }
  25. .slide-wrapper, .slide, .outer {
  26. height: 100%;
  27. }
  28. }
  29. .outer {
  30. @media(max-width: 999px) {
  31. max-height: none;
  32. height: auto;
  33. }
  34. }
  35. .image-box {
  36. picture {
  37. width: 100%;
  38. @media(max-width: 999px) {
  39. position: static;
  40. left: auto;
  41. top: auto;
  42. }
  43. }
  44. }
  45. .copyright {
  46. @media(max-width: 999px) {
  47. left: calc(100% - 30px);
  48. }
  49. @media(max-width: 767px) {
  50. left: calc(100% - 20px);
  51. }
  52. }
  53. }
  54. }
  55. .text-box {
  56. .btn.has-icon.icon-small-arrow-right-simple {
  57. bottom: auto;
  58. }
  59. }
  60. .search {
  61. position: relative;
  62. overflow: hidden;
  63. margin: 0;
  64. background-color: var(--color-background);
  65. height: 100px;
  66. transition: all .6s ease-in-out;
  67. background-size: cover;
  68. @media (max-width: 767px) {
  69. max-height: 78px;
  70. }
  71. .artwork-left .foreground,
  72. .artwork-left .background,
  73. .artwork-left + .artwork .foreground,
  74. .artwork-left + .artwork .background {
  75. height: 100%;
  76. min-height: 437px;
  77. }
  78. .sc.container {
  79. position: absolute;
  80. top: 0;
  81. left: 0;
  82. right: 0;
  83. width: 100%;
  84. max-width: 100%;
  85. @media (max-width: 767px) {
  86. top: auto;
  87. bottom: 0;
  88. .close-search {
  89. position: relative !important;
  90. right: 0 !important;
  91. top: 0 !important;
  92. float: right;
  93. margin-bottom: 15px;
  94. }
  95. }
  96. .close-search {
  97. display: none;
  98. position: absolute;
  99. right: 30px;
  100. top: 33px;
  101. left: auto;
  102. cursor: pointer;
  103. transition: 0.3s ease;
  104. border: 1px solid var(--color-surface-inset);
  105. border-radius: 10px;
  106. height: 34px;
  107. width: 34px;
  108. background-color: var(--color-button-primary-background);
  109. @include focus-visible;
  110. z-index: 2;
  111. &:before, &:after {
  112. content: "";
  113. position: absolute;
  114. top: 50%;
  115. left: 50%;
  116. width: 17px;
  117. height: 1.5px;
  118. border-radius: 2px;
  119. background-color: var(--color-button-primary-text);
  120. transform: translate(-50%, -50%) rotate(45deg);
  121. transition: 0.3s ease;
  122. }
  123. &:after {
  124. transform: translate(-50%, -50%) rotate(-45deg);
  125. }
  126. }
  127. }
  128. &.open {
  129. height: 390px;
  130. @media (max-width: 767px) {
  131. height: 385px;
  132. max-height: 385px;
  133. }
  134. @media (max-width: 567px) {
  135. height: 509px;
  136. max-height: 509px;
  137. }
  138. &.has-button-wrapper {
  139. height: 460px;
  140. @media (max-width: 767px) {
  141. height: 395px;
  142. max-height: 395px;
  143. }
  144. @media (max-width: 567px) {
  145. height: 519px;
  146. max-height: 519px;
  147. }
  148. }
  149. .close-search {
  150. display: block !important;
  151. }
  152. .tiles {
  153. top: 0;
  154. padding-bottom: 9px;
  155. @media screen and (max-width: 767px) {
  156. padding-bottom: 0;
  157. }
  158. }
  159. .all-button-wrapper {
  160. top: 0;
  161. }
  162. form {
  163. max-width: 580px;
  164. }
  165. }
  166. form {
  167. border-radius: 24px;
  168. box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.25) !important;
  169. overflow: hidden;
  170. font-size: 22px;
  171. max-width: 360px;
  172. margin: 20px auto !important;
  173. transition: 0.3s ease;
  174. @media(max-width: 767px) {
  175. font-size: 18px;
  176. margin: 15px auto !important;
  177. border-radius: 18px;
  178. }
  179. @media(max-width: 399px) {
  180. max-width: 250px;
  181. }
  182. }
  183. + section, + #toclist > section:first-child {
  184. @media(min-width: 768px) {
  185. margin-top: 0;
  186. }
  187. }
  188. input#search-term {
  189. border-color: var(--swatches-neutrals-white) !important;
  190. height: 60px;
  191. border-top-left-radius: 24px;
  192. border-bottom-left-radius: 24px;
  193. font-size: 22px;
  194. @media(max-width: 767px) {
  195. font-size: 18px;
  196. height: 48px;
  197. border-top-left-radius: 18px;
  198. border-bottom-left-radius: 18px;
  199. }
  200. &::placeholder {
  201. color: var(--color-text) !important;
  202. }
  203. }
  204. button.search-submit {
  205. background-color: var(--color-button-primary-background) !important;
  206. color: var(--color-button-primary-text);
  207. border-radius: 0 !important;
  208. height: 60px;
  209. width: 60px;
  210. font-size: 22px;
  211. @media(max-width: 767px) {
  212. font-size: 18px;
  213. height: 48px;
  214. width: 48px;
  215. }
  216. &:before {
  217. width: 30px;
  218. height: 30px;
  219. font-size: 30px;
  220. @media(max-width: 767px) {
  221. width: 24px;
  222. height: 24px;
  223. font-size: 24px;
  224. }
  225. }
  226. }
  227. .container {
  228. position: relative;
  229. z-index: 1;
  230. .row {
  231. @media(max-width: 567px) {
  232. min-height: 0;
  233. }
  234. > .col {
  235. margin-top: 0;
  236. padding-top: 0;
  237. padding-bottom: 0;
  238. }
  239. }
  240. }
  241. .artwork {
  242. @media(max-width: 420px) {
  243. top: 30px;
  244. right: -20px;
  245. }
  246. @media(max-width: 340px) {
  247. top: 40px;
  248. right: -30px;
  249. }
  250. }
  251. form {
  252. position: relative;
  253. margin: 0 0 16px;
  254. @media(max-width: 567px) {
  255. margin-top: 20px;
  256. }
  257. }
  258. h1 {
  259. margin-left: 0;
  260. margin-top: 0;
  261. @media(max-width: 567px) {
  262. font-size: 24px;
  263. margin: 0;
  264. }
  265. }
  266. .tiles {
  267. margin: 0 -8px 0 -8px;
  268. position: relative;
  269. top: 100px;
  270. display: flex;
  271. flex-wrap: wrap;
  272. font-family: "Korb", sans-serif;
  273. transition: all 0.3s ease-in;
  274. padding-bottom: 0;
  275. .tile {
  276. position: relative;
  277. display: flex;
  278. padding: 8px;
  279. flex: 1 1 33.3333%;
  280. max-width: 33.3333%;
  281. margin-top: 0 !important;
  282. padding-top: 0 !important;
  283. padding-bottom: 0 !important;
  284. margin-bottom: 16px !important;
  285. &::before {
  286. position: absolute;
  287. top: 8px;
  288. right: 8px;
  289. margin: 10px 8px;
  290. font-family: Icons, sans-serif;
  291. font-size: 18px;
  292. line-height: 1;
  293. text-align: center;
  294. pointer-events: none;
  295. z-index: 1;
  296. }
  297. &[data-type="download"]::before {
  298. @include icon-small-download;
  299. }
  300. &[data-type="external"]::before {
  301. @include icon-small-link-external;
  302. }
  303. @media(max-width: 567px) {
  304. flex: 1 1 50%;
  305. max-width: 50%;
  306. }
  307. &:nth-child(3) ~ .tile {
  308. z-index: 1;
  309. }
  310. &.downloads, &.a-z, &.events {
  311. order: 1;
  312. background-color: transparent;
  313. &::before {
  314. font-family: "Icons", sans-serif;
  315. position: absolute;
  316. font-size: 24px;
  317. line-height: 1;
  318. right: 0;
  319. top: 0;
  320. margin: 11px 10px;
  321. z-index: 1;
  322. background-color: var(--color-background);
  323. padding: 7px 6px 5px;
  324. border-top-right-radius: 8px;
  325. border-bottom-left-radius: 8px;
  326. @media(max-width: 767px) {
  327. margin: 18px;
  328. font-size: 24px;
  329. }
  330. }
  331. .outer {
  332. background-color: var(--color-surface-inset);
  333. }
  334. p {
  335. margin-bottom: 0.4em;
  336. }
  337. }
  338. &.downloads::before {
  339. @include icon-suche-datei;
  340. }
  341. &.a-z::before {
  342. @include icon-suche-az;
  343. }
  344. &.events::before {
  345. @include icon-suche-veranstaltung;
  346. }
  347. }
  348. .tile > a, .outer {
  349. position: relative;
  350. display: flex;
  351. align-items: flex-end;
  352. width: 100%;
  353. height: 108px;
  354. max-height: 108px;
  355. padding: 10px 24px 18px 24px;
  356. border-radius: var(--border-radius-md);
  357. box-shadow: 0 4px 20px -5px rgba(#000, 0.25);
  358. transition: 0.25s ease;
  359. line-height: 1.2;
  360. background-color: var(--color-background);
  361. overflow: hidden;
  362. @include focus-visible();
  363. @media(max-width: 767px) {
  364. font-size: 16px;
  365. padding: 10px 10px 15px;
  366. min-height: 84px;
  367. }
  368. &:before {
  369. content: "";
  370. position: absolute;
  371. display: block;
  372. bottom: 0;
  373. left: 0;
  374. right: 0;
  375. height: var(--border-width);
  376. background-color: var(--color-decoration);
  377. transition: 0.25s $easeOutQuad;
  378. }
  379. &:hover {
  380. color: var(--color-text-accent);
  381. &:before {
  382. height: var(--border-width-hover);
  383. }
  384. }
  385. }
  386. .tile > a {
  387. .item-title {
  388. text-decoration: underline;
  389. }
  390. }
  391. .outer {
  392. background-color: var(--color-surface-inset);
  393. padding: 14px 20px 18px;
  394. border: 4px solid var(--color-background);
  395. &::after, &::before {
  396. display: none;
  397. }
  398. }
  399. .inner {
  400. display: block;
  401. max-width: 100%;
  402. }
  403. .kicker {
  404. white-space: nowrap;
  405. text-overflow: ellipsis;
  406. overflow: hidden;
  407. max-width: 100%;
  408. display: block;
  409. text-decoration: none;
  410. }
  411. ul {
  412. list-style: none;
  413. padding: 0;
  414. font-size: 16px;
  415. max-width: 100%;
  416. margin: 0;
  417. li {
  418. margin-top: 5px;
  419. }
  420. a {
  421. display: block;
  422. white-space: nowrap;
  423. overflow: hidden;
  424. text-overflow: ellipsis;
  425. transition: 0.2s ease;
  426. font-weight: 500;
  427. &:hover {
  428. color: var(--color-text-accent);
  429. }
  430. }
  431. }
  432. .proposals {
  433. flex: 1 1 100%;
  434. padding: 10px 12px 0;
  435. order: 2;
  436. a {
  437. margin: 0 0.3em 0 0.1em;
  438. }
  439. p {
  440. margin-bottom: 0;
  441. }
  442. }
  443. .all-button-wrapper {
  444. padding: 16px 8px;
  445. display: block;
  446. flex: 1 1 100%;
  447. order: 3;
  448. .btn {
  449. transition: 0.2s ease;
  450. .count {
  451. margin-left: 0.3em;
  452. &::before {
  453. content: '(';
  454. }
  455. &::after {
  456. content: ')';
  457. }
  458. }
  459. }
  460. }
  461. }
  462. &.background-image {
  463. &:after {
  464. position: absolute;
  465. top: 0;
  466. left: 0;
  467. bottom: 0;
  468. right: 0;
  469. z-index: 0;
  470. content: "";
  471. opacity: 0.6;
  472. background: linear-gradient(87deg, #036 12.55%, rgba(1, 40, 81, 0.86) 56.52%, rgba(0, 51, 102, 0.00) 94.05%);
  473. background-blend-mode: overlay;
  474. }
  475. .artwork-wrapper {
  476. display: none;
  477. }
  478. }
  479. &.picto-image {
  480. background-position: 50% 0;
  481. background-size: auto 100%;
  482. background-repeat: repeat-x;
  483. @media (max-width: 767px) {
  484. background-size: auto 78px;
  485. }
  486. .artwork-wrapper {
  487. display: none;
  488. }
  489. }
  490. .all-button-wrapper {
  491. display: block;
  492. padding-top: 10px;
  493. position: relative;
  494. top: 100px;
  495. transition: all 0.3s ease-in;
  496. }
  497. }
  498. &.infoteaser {
  499. border-radius: 4px;
  500. .slide-overflow {
  501. border-radius: 4px;
  502. }
  503. .outer {
  504. @media(max-width: 999px) {
  505. max-height: none;
  506. height: auto;
  507. }
  508. }
  509. .rotation {
  510. padding: 0;
  511. @media screen and (max-width: 999px) {
  512. .slide:not(.text-only) .text-box {
  513. //padding: 16px 0;
  514. }
  515. .slide .image-box :not(.context-box--image) img {
  516. position: static;
  517. height: 300px;
  518. }
  519. .slider-tabs {
  520. top: 0;
  521. height: auto;
  522. bottom: auto;
  523. margin-top: 15px;
  524. }
  525. }
  526. @media screen and (max-width: 999px) {
  527. .slider .image-box {
  528. padding-left: var(--container-padding);
  529. padding-right: var(--container-padding);
  530. }
  531. .slider .text-box:first-child::after {
  532. display: none;
  533. }
  534. }
  535. .text-box {
  536. min-height: 0;
  537. }
  538. }
  539. .outer {
  540. border-radius: 4px;
  541. .image-box picture img {
  542. border-radius: 4px;
  543. }
  544. }
  545. .image-box {
  546. @media(min-width: 1000px) {
  547. min-height: 427px;
  548. height: 100%;
  549. }
  550. picture {
  551. @media(min-width: 1000px) {
  552. min-height: 427px;
  553. height: 100%;
  554. }
  555. img {
  556. object-position: right;
  557. @media(min-width: 1000px) {
  558. min-height: 427px;
  559. height: 100%;
  560. }
  561. }
  562. }
  563. }
  564. .mainstage {
  565. @media screen and (max-width: 999px) {
  566. padding: 14px 0 0 0;
  567. }
  568. @media screen and (max-width: 767px) {
  569. padding-top: 4px;
  570. }
  571. .row {
  572. margin: 16px 0;
  573. @media screen and (min-width: 1000px) {
  574. margin: 30px -8px 0;
  575. }
  576. .col {
  577. flex: 1 1 100%;
  578. max-width: 100%;
  579. @media screen and (min-width: 1000px) {
  580. padding: 0 8px;
  581. flex: 1 1 calc(100% - 322px);
  582. max-width: calc(100% - 322px);
  583. }
  584. + .col {
  585. flex: 1 1 100%;
  586. max-width: 100%;
  587. display: flex;
  588. flex-flow: column;
  589. justify-content: space-between;
  590. margin: 0;
  591. padding: 0 var(--container-padding);
  592. @media screen and (min-width: 1000px) {
  593. flex: 1 1 322px;
  594. max-width: 322px;
  595. padding: 0 8px;
  596. margin: -8px 0;
  597. }
  598. .mt {
  599. height: 100%;
  600. padding: 8px 0;
  601. @media screen and (max-width: 575px) {
  602. padding: 4px 0;
  603. }
  604. .mini-teaser {
  605. height: 100%;
  606. .text-box {
  607. height: 100%;
  608. flex-flow: column;
  609. justify-content: space-between;
  610. .btn {
  611. height: fit-content;
  612. }
  613. }
  614. }
  615. }
  616. }
  617. }
  618. }
  619. }
  620. }
  621. &.hero-fullwidth {
  622. .mainstage.container {
  623. /*max-width: 1920px;*/
  624. width: 100%;
  625. padding: 30px 0 0 0;
  626. @media (max-width: 767px) {
  627. padding-top: 20px;
  628. }
  629. > .row {
  630. margin: 0;
  631. }
  632. }
  633. .rotation {
  634. margin: 0 !important;
  635. padding: 0 !important;
  636. width: 100%;
  637. .outer {
  638. margin: 0 !important;
  639. position: relative;
  640. justify-content: center;
  641. @media (min-width: 1000px) {
  642. max-height: 566px;
  643. }
  644. }
  645. .copyright {
  646. left: 100%;
  647. }
  648. .slide-wrapper,
  649. .slide,
  650. .outer {
  651. height: 100%;
  652. }
  653. .slider {
  654. background-color: transparent;
  655. .image-box {
  656. &:before {
  657. display: none;
  658. }
  659. :not(.context-box--image) img {
  660. @media (max-width: 999px) {
  661. min-height: calc(18vw + 300px) !important;
  662. }
  663. }
  664. .context-box {
  665. right: 0;
  666. @media (max-width: 999px) {
  667. top: 72px;
  668. }
  669. @media (max-width: 767px) {
  670. top: 64px;
  671. }
  672. }
  673. }
  674. .slide:not(.text-only) .image-box {
  675. @media (max-width: 999px) {
  676. margin: 0 30px;
  677. width: auto;
  678. height: auto;
  679. &:after {
  680. border-radius: 4px;
  681. }
  682. picture img {
  683. border-radius: 4px;
  684. min-height: auto !important;
  685. }
  686. }
  687. @media (max-width: 767px) {
  688. margin: 0 20px;
  689. }
  690. }
  691. .controls {
  692. right: 35px;
  693. }
  694. .slide.text-only {
  695. .image-box {
  696. &:after {
  697. display: none;
  698. }
  699. }
  700. @media (min-width: 1000px) {
  701. .text-box {
  702. display: flex;
  703. height: auto;
  704. min-height: auto;
  705. top: 50%;
  706. transform: translate(0,-50%);
  707. }
  708. }
  709. @media (min-width: 1000px) {
  710. .text-in-image-box {
  711. p {
  712. display: none;
  713. }
  714. }
  715. }
  716. @media (min-width: 1000px) {
  717. .image-box:has(.icon) ~ .text-box {
  718. padding-left: 176px;
  719. }
  720. .image-box {
  721. .text-in-image-box {
  722. width: auto;
  723. left: 36px;
  724. transform: translate(0, -50%);
  725. margin-top: 36px;
  726. @media (min-width: 1230px) {
  727. left: 50%;
  728. margin-left: -580px;
  729. }
  730. @media (min-width: 1340px) {
  731. margin-left: -695px;
  732. }
  733. @media (min-width: 1340px) {
  734. margin-left: -47.5vw;
  735. }
  736. @media (min-width: 1460px) {
  737. margin-left: -695px;
  738. }
  739. }
  740. .icon {
  741. width: 120px;
  742. height: 120px;
  743. &:before {
  744. font-size: 120px;
  745. }
  746. }
  747. }
  748. }
  749. }
  750. .slide.text-only.current {
  751. //background: linear-gradient(-10deg, var(--theme-color-gradient-01) 10%, var(--theme-color-gradient-02) 55%, var(--theme-color-gradient-03) 90%);
  752. }
  753. .slide-overflow {
  754. height: 100% !important;
  755. }
  756. }
  757. }
  758. .image-box {
  759. width: 100%;
  760. flex: 1 1 100%;
  761. max-width: 100%;
  762. position: relative;
  763. padding-right: 0 !important;
  764. @media (min-width: 1000px) {
  765. max-height: 566px;
  766. }
  767. &:after {
  768. position: absolute;
  769. top: 0;
  770. left: 0;
  771. bottom: 0;
  772. right: 0;
  773. z-index: 0;
  774. content: "";
  775. opacity: 0.6;
  776. background: linear-gradient(87deg, #036 12.55%, rgba(1, 40, 81, 0.86) 56.52%, rgba(0, 51, 102, 0.00) 94.05%);
  777. background-blend-mode: overlay;
  778. &:before {
  779. display: none;
  780. }
  781. }
  782. picture {
  783. position: static;
  784. }
  785. :not(.context-box--image) img {
  786. object-fit: cover;
  787. z-index: -1;
  788. left: 0 !important;
  789. padding: 0 !important;
  790. width: 100% !important;
  791. position: static;
  792. }
  793. }
  794. .text-box {
  795. height: 100%;
  796. width: var(--container-width);
  797. max-width: 100%;
  798. margin: 0 auto;
  799. @media (min-width: 1000px) {
  800. position: absolute;
  801. * {
  802. color: var(--color-text);
  803. }
  804. }
  805. .btn {
  806. @media (min-width: 1000px) {
  807. background-color: var(--color-button-primary-background) !important;
  808. color: var(--color-button-primary-text) !important;
  809. }
  810. &:hover:after {
  811. box-shadow: 0 0 0 var(--button-hover-shadow-size) var(--color-button-primary-background) !important;
  812. }
  813. }
  814. * {
  815. max-width: 580px;
  816. }
  817. &:after {
  818. display: none;
  819. }
  820. &:before {
  821. display: none;
  822. }
  823. }
  824. .slide.text-only {
  825. //@media screen and (max-width: 900px) {
  826. // padding: 16px var(--container-padding) 0;
  827. //}
  828. //
  829. //.text-box {
  830. // width: auto;
  831. // @media (max-width: 999px) {
  832. // min-height: calc(18vw + 300px) !important;
  833. // }
  834. // @media screen and (max-width: 900px) {
  835. // padding-left: 0;
  836. // padding-right: 0;
  837. // }
  838. //}
  839. }
  840. .controls {
  841. width: var(--container-width);
  842. padding: 0 var(--container-padding);
  843. max-width: 100%;
  844. margin: 0 auto;
  845. position: relative;
  846. .slider-tabs {
  847. right: -10px;
  848. }
  849. }
  850. }
  851. .rotation .slider {
  852. border-bottom: 0;
  853. background-color: var(--swatches-neutrals-white);
  854. h3, .like-h2 {
  855. margin-top: 4px;
  856. margin-bottom: 8px;
  857. line-height: 1.1;
  858. }
  859. .kicker {
  860. margin-bottom: 0;
  861. }
  862. p {
  863. margin-bottom: 0.4em;
  864. }
  865. .btn {
  866. margin-top: 0.4em;
  867. }
  868. &.ishovered .slider-tabs li.active button.btn::before {
  869. animation-play-state: paused;
  870. }
  871. &.btnanimation {
  872. .slider-tabs {
  873. li.active {
  874. button.btn::before {
  875. animation: fillgrey 7s linear forwards;
  876. }
  877. }
  878. }
  879. }
  880. .slider-tabs {
  881. li:first-child:last-child {
  882. display: none;
  883. }
  884. li.active {
  885. button.btn {
  886. background-blend-mode: overlay;
  887. overflow: hidden;
  888. }
  889. }
  890. li {
  891. button.btn {
  892. position: relative;
  893. border-radius: var(--border-radius-lg);
  894. }
  895. button.btn::before {
  896. width: 0;
  897. background-color: var(--swatches-primary-100);
  898. content: "";
  899. z-index: 0;
  900. height: 100%;
  901. position: absolute;
  902. top: 0;
  903. bottom: 0;
  904. right: 0;
  905. left: 0;
  906. display: block;
  907. background-blend-mode: multiply;
  908. }
  909. }
  910. }
  911. .slide.text-only.current {
  912. //background: none;
  913. //
  914. //.outer {
  915. // background: linear-gradient(-10deg, var(--theme-color-gradient-01) 10%, var(--theme-color-gradient-02) 55%, var(--theme-color-gradient-03) 90%);
  916. //
  917. // .text-box {
  918. // justify-content: center;
  919. // max-width: 580px;
  920. // }
  921. //}
  922. }
  923. .text-box {
  924. color: var(--swatches-primary-500);
  925. padding: 30px 20px 24px 20px;
  926. display: flex;
  927. flex-flow: column;
  928. justify-content: center;
  929. min-width: 324px;
  930. @media(min-width: 1000px) {
  931. padding-left: 36px;
  932. padding-right: 36px;
  933. }
  934. @media(max-width: 999px) {
  935. padding: 16px 30px 24px 30px;
  936. }
  937. @media(max-width: 767px) {
  938. padding-left: 20px;
  939. padding-right: 20px;
  940. }
  941. &:not(:first-child)::before {
  942. background-color: var(--swatches-primary-100);
  943. }
  944. .btn {
  945. background-color: var(--swatches-primary-500);
  946. color: var(--swatches-neutrals-white);
  947. &:hover:after {
  948. box-shadow: 0 0 0 var(--button-hover-shadow-size) var(--swatches-primary-500);
  949. }
  950. }
  951. }
  952. .text-only {
  953. container-type: inline-size;
  954. .image-box {
  955. @include gradient;
  956. @media (max-width: 999px) {
  957. width: calc(100vw - (2 * var(--container-padding)));
  958. height: calc((100vw - (2 * var(--container-padding))) * 2 / 3);
  959. flex: auto;
  960. margin: 0 auto;
  961. border-radius: 4px;
  962. }
  963. .text-in-image-box {
  964. position: absolute;
  965. left: 50%;
  966. top: 50%;
  967. width: 80%;
  968. transform: translate(-50%, -50%);
  969. color: var(--swatches-neutrals-white);
  970. text-align: center;
  971. .icon {
  972. width: 100px;
  973. height: 100px;
  974. overflow: hidden;
  975. position: relative;
  976. margin: 0 auto;
  977. &:before {
  978. display: block;
  979. position: absolute;
  980. left: 0;
  981. top: 0;
  982. font-family: "Pictograms",sans-serif;
  983. color: var(--swatches-neutrals-white);
  984. font-size: 90px;
  985. line-height: 1;
  986. }
  987. }
  988. p {
  989. font-size: 36px;
  990. line-height: 43.20px;
  991. @media (max-width: 767px) {
  992. font-size: 24px;
  993. line-height: 28.80px;
  994. }
  995. }
  996. }
  997. }
  998. .text-box {
  999. display: block;
  1000. //color: var(--swatches-neutrals-white);
  1001. }
  1002. }
  1003. }
  1004. .rotation {
  1005. margin: 0;
  1006. @media (max-width: 1339px) {
  1007. .rotation .slider .text-box {
  1008. min-width: 324px;
  1009. }
  1010. }
  1011. @media (min-width: 1000px) {
  1012. .slider .text-box:not(:first-child)::before {
  1013. border-top-right-radius: 16% 50% !important;
  1014. border-bottom-right-radius: 16% 50% !important;
  1015. margin: -15% -8% -15% 20px;
  1016. }
  1017. }
  1018. @media (max-width: 999px) {
  1019. .slider {
  1020. background-color: var(--swatches-neutrals-white);
  1021. .text-box:not(:first-child)::before {
  1022. display: none;
  1023. }
  1024. .image-box {
  1025. order: 0;
  1026. height: auto;
  1027. //max-height: none !important;
  1028. :not(.context-box--image) img {
  1029. aspect-ratio: 3 / 2;
  1030. height: auto !important;
  1031. max-height: none !important;
  1032. min-height: 177px !important;
  1033. position: static;
  1034. }
  1035. &:before {
  1036. display: none;
  1037. }
  1038. }
  1039. }
  1040. }
  1041. @media screen and (max-width: 999px) {
  1042. .slider {
  1043. margin-bottom: 20px;
  1044. .slide:not(.text-only) {
  1045. .text-box {
  1046. //padding: 16px var(--container-padding) 0;
  1047. }
  1048. }
  1049. .slide.text-only {
  1050. //padding-left: var(--container-padding);
  1051. //padding-right: var(--container-padding);
  1052. }
  1053. .controls {
  1054. position: absolute;
  1055. right: 26px;
  1056. top: 10px;
  1057. width: auto;
  1058. padding: 0;
  1059. @media screen and (min-width: 768px) {
  1060. right: 36px;
  1061. }
  1062. }
  1063. .slider-tabs {
  1064. position: relative;
  1065. right: auto;
  1066. top: auto;
  1067. padding: 0;
  1068. margin: 0;
  1069. .btn {
  1070. margin-top: 0 !important;
  1071. }
  1072. }
  1073. }
  1074. }
  1075. @media screen and (max-width: 767px) {
  1076. .slider {
  1077. .slide:not(.text-only) .text-box {
  1078. //padding: 16px var(--container-padding);
  1079. }
  1080. }
  1081. }
  1082. @media screen and (max-width: 567px) {
  1083. .slider {
  1084. margin: 0;
  1085. margin-bottom: 8px;
  1086. }
  1087. }
  1088. .image-box .context-box {
  1089. @media screen and (max-width: 999px) {
  1090. top: 74px;
  1091. &.context-box--image {
  1092. right: 30px;
  1093. }
  1094. }
  1095. @media screen and (max-width: 767px) {
  1096. top: 64px;
  1097. &.context-box--image {
  1098. right: 20px;
  1099. }
  1100. }
  1101. }
  1102. }
  1103. }
  1104. @keyframes fillgrey {
  1105. 0% {
  1106. width: 0;
  1107. }
  1108. 100% {
  1109. width: 100%
  1110. }
  1111. }