Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

789 righe
16 KiB

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