Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

792 wiersze
16 KiB

  1. @use "ihk-finder-form" as *;
  2. .ihk-landing {
  3. overflow: hidden;
  4. .ihk-finder {
  5. max-width: 380px;
  6. margin-left: 10vw;
  7. margin-bottom: 20%;
  8. @media(max-width: 1239px) {
  9. max-width: 340px;
  10. }
  11. }
  12. @media(min-width: 768px) {
  13. .page-header {
  14. height: 120px;
  15. }
  16. .page-wrapper, .page-header.nav-open:not(.scrolled) ~ .page-wrapper {
  17. border-top: 120px solid white;
  18. }
  19. }
  20. .ihk-selection {
  21. position: relative;
  22. margin: 0;
  23. padding: 0;
  24. min-height: calc(100vh - 220px);
  25. min-height: calc(var(--viewport-height, 1vh) * 100 - 220px);
  26. display: flex;
  27. align-items: center;
  28. @media(max-width: 567px) {
  29. margin-top: 0;
  30. margin-bottom: 15px;
  31. }
  32. .row {
  33. flex-wrap: nowrap;
  34. justify-content: space-between;
  35. align-items: center;
  36. }
  37. .col {
  38. max-width: 50%;
  39. @media(max-width: 999px) {
  40. max-width: 500px;
  41. margin: 0 auto;
  42. }
  43. @media(max-width: 567px) {
  44. max-width: none;
  45. padding: 0 40px;
  46. }
  47. }
  48. .col:last-child {
  49. text-align: center;
  50. }
  51. .map {
  52. position: relative;
  53. display: block;
  54. width: calc(65vh - 100px);
  55. max-width: 100%;
  56. min-width: 400px;
  57. margin: 0 auto;
  58. &:before {
  59. content: "";
  60. position: relative;
  61. display: block;
  62. padding-top: 135%;
  63. padding-bottom: 1px;
  64. background-image: url("../../assets/img/germany.svg");
  65. background-size: 100%;
  66. background-repeat: no-repeat;
  67. }
  68. .marker {
  69. position: absolute;
  70. display: block;
  71. > a,
  72. > span {
  73. position: absolute;
  74. display: block;
  75. width: 10px;
  76. height: 10px;
  77. background-color: $color-primary;
  78. border-radius: 50%;
  79. margin: -6px;
  80. box-shadow: 0 0 0 1px $color-primary-light-03;
  81. transition: 0.25s ease;
  82. }
  83. &:hover, &.hover {
  84. z-index: 102;
  85. > a,
  86. > span {
  87. background-color: $color-secondary-dark;
  88. box-shadow: 0 0 0 6px rgba($color-secondary, 0.3);
  89. &:before {
  90. content: "";
  91. @include full-size;
  92. margin: -5px;
  93. border-radius: 50%;
  94. }
  95. }
  96. .tooltip {
  97. @include show;
  98. //transition: opacity 0.2s ease 0.1s, visibility 0s ease 0.1s, transform 0.2s ease 0.1s;
  99. transform: translate3d(0, 0, 0);
  100. }
  101. &:not(.open) .tooltip {
  102. pointer-events: none;
  103. }
  104. }
  105. &.open {
  106. > a,
  107. > span {
  108. background-color: $color-secondary-dark;
  109. box-shadow: 0 0 0 6px rgba($color-secondary, 0.3);
  110. }
  111. .tooltip {
  112. @include show;
  113. z-index: 101;
  114. transform: translate3d(0, 0, 0);
  115. .title {
  116. font-size: 24px;
  117. padding: 26px 70px 190px 30px;
  118. min-width: 380px;
  119. }
  120. &.long-name .title, &.extra-long-name .title {
  121. min-width: 466px;
  122. }
  123. .closer {
  124. @include show(0.3s);
  125. }
  126. .contents {
  127. @include show(0.3s);
  128. }
  129. }
  130. &.sideways .tooltip {
  131. transform: translate3d(30px, 70%, 0);
  132. &::before {
  133. margin-top: -13px;
  134. }
  135. &::after {
  136. left: -11px;
  137. transition: 0.2s ease 0.2s;
  138. }
  139. }
  140. /*
  141. &[data-title="ihk-flensburg"], &[data-title="ihk-kiel"], &[data-title="ihk-neubrandenburg"] {
  142. .tooltip {
  143. transform: translate3d(30px, 40%, 0);
  144. &:before {
  145. border-width: 14px 14px 14px 0;
  146. border-color: transparent $color-primary transparent transparent;
  147. top: 60%;
  148. margin-top: 0;
  149. left: -14px;
  150. }
  151. }
  152. }
  153. */
  154. }
  155. }
  156. .tooltip {
  157. position: absolute;
  158. display: block;
  159. left: -2px;
  160. bottom: 100%;
  161. background-color: $color-primary;
  162. color: white;
  163. padding: 0;
  164. margin-bottom: 14px;
  165. @include hide;
  166. transform: translate3d(0, -10px, 0);
  167. box-shadow: 0 0 0 1px rgba(white, 0.2);
  168. pointer-events: none;
  169. z-index: 100;
  170. &:before {
  171. content: "";
  172. position: absolute;
  173. display: block;
  174. left: 0;
  175. top: 100%;
  176. margin-top: -1px;
  177. width: 0;
  178. height: 0;
  179. border-style: solid;
  180. border-width: 12px 12px 0 0;
  181. border-color: $color-primary transparent transparent transparent;
  182. transition: 0.2s ease;
  183. }
  184. &::after {
  185. content: "";
  186. position: absolute;
  187. display: block;
  188. border-style: solid;
  189. border-width: 11px 11px 11px 0;
  190. border-color: transparent $color-primary transparent transparent;
  191. top: 30%;
  192. margin-top: 0;
  193. left: 1px;
  194. transition: 0.2s;
  195. }
  196. &.long-name, &.extra-long-name {
  197. .title {
  198. white-space: normal;
  199. min-width: 300px;
  200. }
  201. .contents {
  202. top: 90px;
  203. }
  204. }
  205. &.extra-long-name .contents {
  206. top: 120px;
  207. }
  208. .title {
  209. position: relative;
  210. display: block;
  211. font-size: 18px;
  212. line-height: 1.2;
  213. font-family: "Korb", sans-serif;
  214. white-space: nowrap;
  215. margin: 0;
  216. padding: 6px 12px;
  217. min-width: 50px;
  218. transition: min-width 0.2s ease 0.2s, font-size 0.2s ease 0.2s, padding 0.2s ease 0.2s;
  219. }
  220. .contents {
  221. position: absolute;
  222. top: 60px;
  223. font-size: 18px;
  224. padding: 10px 30px 26px;
  225. @include hide;
  226. width: 100%;
  227. &:after {
  228. content: "";
  229. position: relative;
  230. display: block;
  231. clear: both;
  232. }
  233. .btn {
  234. background-color: $color-secondary;
  235. float: right;
  236. color: $color-primary;
  237. white-space: nowrap;
  238. &:hover {
  239. box-shadow: 0 0 0 5px rgba($color-secondary, 0.5);
  240. }
  241. }
  242. }
  243. .details {
  244. margin-bottom: 30px;
  245. }
  246. .closer {
  247. position: absolute;
  248. right: 0;
  249. top: 0;
  250. width: 40px;
  251. height: 40px;
  252. background-color: transparent;
  253. border: 0;
  254. @include hide;
  255. @extend .icon-schliessen;
  256. font-size: 30px;
  257. line-height: 1;
  258. padding: 5px;
  259. text-align: center;
  260. color: white;
  261. margin: 10px;
  262. cursor: pointer;
  263. @include focus-visible;
  264. transition: 0.3s ease;
  265. &:before {
  266. font-family: "Icons", sans-serif;
  267. }
  268. }
  269. }
  270. }
  271. .artwork {
  272. width: calc(45vw - 50px);
  273. max-height: 66vh;
  274. top: 50%;
  275. transform: translate(0, -50%);
  276. @media(min-width: 1000px) {
  277. margin: 0;
  278. @media(max-width: 1339px) {
  279. width: 44vw;
  280. }
  281. }
  282. @media(min-height: 1050px) {
  283. max-height: 700px;
  284. }
  285. }
  286. @media(max-width: 999px) {
  287. .col:first-child {
  288. display: none;
  289. }
  290. .col:last-child {
  291. min-height: calc(400px + 30vw);
  292. display: flex;
  293. align-items: center;
  294. justify-content: center;
  295. }
  296. .artwork {
  297. width: 110%;
  298. height: 100%;
  299. max-height: none;
  300. }
  301. form {
  302. margin-left: 0;
  303. }
  304. }
  305. @media(max-width: 567px) {
  306. .artwork {
  307. width: 180%;
  308. margin-right: -80%;
  309. margin-top: 0;
  310. }
  311. form {
  312. max-width: 100%;
  313. margin-left: 0;
  314. }
  315. }
  316. }
  317. .page-header {
  318. &:before {
  319. border: 0;
  320. box-shadow: none;
  321. //display: none;
  322. }
  323. .logo {
  324. z-index: 1;
  325. &:after {
  326. content: "";
  327. @include full-size;
  328. margin-left: 160px;
  329. background-color: white;
  330. }
  331. }
  332. nav {
  333. left: 0;
  334. width: 100%;
  335. display: flex;
  336. justify-content: center;
  337. flex-direction: column;
  338. z-index: 0;
  339. @include hide;
  340. overflow: auto;
  341. height: calc(100vh - 100px);
  342. height: calc(var(--viewport-height, 1vh) * 100 - 100px);
  343. @media(max-width: 767px) {
  344. height: calc(100vh - 80px);
  345. height: calc(var(--viewport-height, 1vh) * 100 - 80px);
  346. }
  347. @media(max-width: 359px) {
  348. height: calc(100vh - 70px);
  349. height: calc(var(--viewport-height, 1vh) * 100 - 70px);
  350. }
  351. @media(max-width: 1200px), (max-height: 800px) {
  352. align-items: flex-start;
  353. justify-content: flex-start;
  354. }
  355. &::before {
  356. content: '';
  357. display: block;
  358. flex-grow: 1;
  359. }
  360. &:after {
  361. content: '';
  362. display: block;
  363. flex-grow: 2;
  364. }
  365. }
  366. &.nav-open {
  367. z-index: 103;
  368. @media (min-width: 1200px) {
  369. height: 120px;
  370. .logo img {
  371. height: 75px;
  372. }
  373. }
  374. nav {
  375. @include show;
  376. left: 0;
  377. transform: none;
  378. }
  379. .ihk-index {
  380. transform: translate3d(0, 0, 0) scale(1);
  381. }
  382. .toggle-ihk-list {
  383. @extend .icon-schliessen;
  384. span:first-child {
  385. display: none;
  386. }
  387. span:last-child {
  388. display: block;
  389. }
  390. }
  391. }
  392. .right {
  393. position: relative;
  394. z-index: 1;
  395. padding: 0 40px;
  396. @media(max-width: 999px) {
  397. padding: 0 20px;
  398. }
  399. @media(max-width: 567px) {
  400. padding: 0 17px;
  401. }
  402. > * {
  403. display: inline-block;
  404. vertical-align: middle;
  405. @include focus-visible;
  406. transition: 0.3s ease;
  407. }
  408. .has-icon {
  409. font-size: 0;
  410. text-decoration: none;
  411. padding: 10px;
  412. &:before {
  413. font-size: 30px;
  414. line-height: 1;
  415. font-family: "Icons", sans-serif;
  416. }
  417. @media(max-width: 999px) {
  418. display: none;
  419. }
  420. }
  421. }
  422. .toggle-ihk-list {
  423. position: relative;
  424. border: 2px solid $color-primary;
  425. padding: 15px 20px 15px 54px;
  426. font-family: "Korb", sans-serif;
  427. font-size: 22px;
  428. line-height: 26px;
  429. background-color: transparent;
  430. border-radius: 24px;
  431. cursor: pointer;
  432. min-width: 258px;
  433. margin-left: 15px;
  434. @extend .icon-liste;
  435. @media(max-width: 767px) {
  436. padding: 8px 16px 8px 46px;
  437. border-radius: 18px;
  438. font-size: 20px;
  439. min-width: 184px;
  440. }
  441. &:before {
  442. font-family: "Icons", sans-serif;
  443. position: absolute;
  444. font-size: 30px;
  445. line-height: 1;
  446. left: 16px;
  447. top: 50%;
  448. margin-top: -15px;
  449. @media(max-width: 767px) {
  450. left: 13px;
  451. font-size: 26px;
  452. line-height: 30px;
  453. }
  454. }
  455. span {
  456. display: block;
  457. &:last-child {
  458. display: none;
  459. }
  460. }
  461. @media(min-width: 1200px) {
  462. &:hover {
  463. box-shadow: 0 0 0 5px rgba($color-primary, 0.4);
  464. background-color: $color-primary;
  465. color: $color-white;
  466. }
  467. }
  468. }
  469. .ihk-list {
  470. max-width: 1442px;
  471. width: 100%;
  472. max-height: 100%;
  473. margin: 0 auto;
  474. }
  475. .ihk-index {
  476. font-size: 18px;
  477. line-height: 22px;
  478. list-style: none;
  479. padding: 30px 40px 50px;
  480. columns: 4;
  481. column-gap: 30px;
  482. margin: 0;
  483. transition: 0.4s ease;
  484. transform: translate3d(0, 0, 0) scale(0.94);
  485. @media(max-width: 1199px) {
  486. columns: 3;
  487. }
  488. @media(max-width: 999px) {
  489. columns: 3;
  490. padding: 30px 30px 50px;
  491. }
  492. @media(max-width: 567px) {
  493. columns: 1;
  494. padding: 20px 20px 40px;
  495. }
  496. li {
  497. position: relative;
  498. padding-left: 30px;
  499. ul {
  500. padding: 0;
  501. margin-bottom: 6px;
  502. }
  503. li {
  504. list-style: none;
  505. padding-left: 0;
  506. }
  507. }
  508. > li {
  509. break-inside: avoid-column;
  510. page-break-inside: avoid;
  511. }
  512. .index-letter {
  513. //position: absolute;
  514. //left: 0;
  515. //top: 4px;
  516. //width: 22px;
  517. margin-top: 5px;
  518. margin-bottom: 5px;
  519. margin-left: -20px;
  520. display: inline-block;
  521. padding: 4px;
  522. height: 26px;
  523. border-radius: 4px;
  524. font-weight: 600;
  525. background-color: $color-primary-light-03;
  526. line-height: 22px;
  527. text-align: center;
  528. }
  529. a {
  530. position: relative;
  531. display: block;
  532. padding: 4px 5px 4px 24px;
  533. text-decoration: underline;
  534. @extend .icon-small-arrow-right-simple;
  535. transition: 0.2s ease;
  536. cursor: pointer;
  537. &:before {
  538. font-family: "Icons", sans-serif;
  539. display: flex;
  540. position: absolute;
  541. font-size: 18px;
  542. line-height: 22px;
  543. left: 0;
  544. color: $color-secondary;
  545. text-decoration: none;
  546. }
  547. &:hover {
  548. color: $color-secondary-dark;
  549. }
  550. }
  551. }
  552. }
  553. .finder-footer {
  554. text-align: right;
  555. @media(min-width: 1000px) {
  556. position: fixed;
  557. bottom: 0;
  558. right: 0;
  559. }
  560. nav {
  561. margin: 0 20px 20px;
  562. }
  563. ul {
  564. margin: 0;
  565. list-style: none;
  566. font-size: 0;
  567. line-height: 0;
  568. }
  569. li {
  570. display: inline-block;
  571. margin-right: 15px;
  572. }
  573. a {
  574. font-size: 18px;
  575. line-height: 24px;
  576. padding: 5px;
  577. display: block;
  578. @include focus-visible;
  579. transition: 0.2s ease;
  580. &.has-icon {
  581. position: relative;
  582. padding-right: 30px;
  583. }
  584. &:before {
  585. font-family: "Icons", sans-serif;
  586. font-size: 20px;
  587. position: absolute;
  588. display: block;
  589. right: 3px;
  590. font-weight: 400;
  591. }
  592. }
  593. }
  594. }
  595. .ihk-landing-article {
  596. .verteiler-article-cover {
  597. @media(min-width: 768px) {
  598. margin-top: 40px;
  599. }
  600. @media(max-width: 767px) {
  601. margin: -6px 0 0;
  602. .image-box {
  603. margin: 0 -20px;
  604. }
  605. }
  606. &:after {
  607. content: "";
  608. display: block;
  609. clear: both;
  610. }
  611. .row {
  612. justify-content: center;
  613. }
  614. .col {
  615. padding-top: 0;
  616. margin-bottom: -30px;
  617. @media(min-width: 768px) {
  618. margin-bottom: -60px;
  619. }
  620. @media(min-width: 1200px) {
  621. margin-bottom: -80px;
  622. }
  623. @media(min-width: 1400px) {
  624. max-width: 83.33334%;
  625. }
  626. }
  627. }
  628. article.col {
  629. position: relative;
  630. z-index: 1;
  631. background-color: #fff;
  632. max-width: 100%;
  633. .responsive-table {
  634. margin: 1rem -20px;
  635. padding: 0 20px;
  636. overflow: auto;
  637. table {
  638. margin: 0;
  639. border-right: 20px solid #fff;
  640. }
  641. }
  642. }
  643. .right {
  644. margin-right: 34px;
  645. @media(max-width: 767px) {
  646. margin-right: 20px;
  647. }
  648. @media(max-width: 359px) {
  649. margin-right: 16px;
  650. }
  651. }
  652. .verteiler-article-btn {
  653. position: relative;
  654. overflow: hidden;
  655. transition: 0.2s ease;
  656. background-color: #E3EBF5;
  657. color: #003366;
  658. &::before {
  659. transition: none;
  660. }
  661. @media(max-width: 359px) {
  662. padding-left: 12px;
  663. padding-right: 12px;
  664. &.has-icon {
  665. padding-right: 40px;
  666. &::before {
  667. right: 10px;
  668. }
  669. }
  670. }
  671. + .btn {
  672. margin-left: 12px;
  673. @media(max-width: 767px) {
  674. margin-left: 6px;
  675. }
  676. }
  677. }
  678. .finder-footer {
  679. margin-top: calc(1.5vw + 40px);
  680. @media(min-width: 1000px) {
  681. position: relative;
  682. bottom: auto;
  683. right: auto;
  684. }
  685. }
  686. }