main.css 19 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040
  1. /* The bakery demo avoids using tooling so doesn't use SASS. This is a static */
  2. /* CSS file that extends Bootstrap. It's deliberately verbose to aid */
  3. /* readability with global themes, themes for each list view and themes for */
  4. /* each detail view */
  5. /* 1. Global styles --------------------------------------------------------- */
  6. /* 2. Page header ----------------------------------------------------------- */
  7. /* 3. Main menu ------------------------------------------------------------- */
  8. /* 4. Breadcrumb ------------------------------------------------------------ */
  9. /* 5. Location styles ------------------------------------------------------- */
  10. /* 6. Blog styles ----------------------------------------------------------- */
  11. /* 7. Bread styles ---------------------------------------------------------- */
  12. /* 8. Form styles ----------------------------------------------------------- */
  13. /* 9. Homepage styles ------------------------------------------------------- */
  14. /* 9. Miscellaneous/ Helper styles ------------------------------------------ */
  15. /* Global styles */
  16. body {
  17. padding-top: 0;
  18. padding-bottom: 0;
  19. font-size: 19px;
  20. font-family: 'Alegreya', serif;
  21. background: rgb(255,255,255);
  22. background: linear-gradient(135deg, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 50%,rgba(233,228,221,1) 100%);
  23. min-height: 100vh;
  24. }
  25. @media (min-width: 768px) {
  26. body {
  27. font-size: 22px;
  28. }
  29. }
  30. h1 {
  31. font-weight: 300;
  32. font-family: 'Lato', sans-serif;
  33. position: relative;
  34. }
  35. .hero h1 {
  36. color: white;
  37. }
  38. h2 {
  39. font-weight: 900;
  40. font-family: 'Lato', sans-serif;
  41. color: #63210d;
  42. }
  43. h3 {
  44. font-weight: 900;
  45. font-family: 'Lato', sans-serif;
  46. color: #63210d;
  47. }
  48. h4 {
  49. font-weight: 600;
  50. font-family: 'Lato', sans-serif;
  51. color: #63210d;
  52. font-size: 22px;
  53. }
  54. p {
  55. margin: 0 0 30px;
  56. color: #444;
  57. }
  58. a, a:focus, a:visited {
  59. color: #d4566b;
  60. text-decoration: none;
  61. }
  62. a:hover {
  63. color: #eb7400;
  64. text-decoration: none;
  65. }
  66. a.btn {
  67. background-color: #d4566b;
  68. color: white;
  69. display: inline-block;
  70. font-family: 'Lato', sans-serif;
  71. font-size: 16px;
  72. font-weight: 300;
  73. letter-spacing: 0.15em;
  74. padding: 15px 20px;
  75. text-transform: uppercase;
  76. }
  77. a.btn:hover {
  78. background-color: #eb7400;
  79. color: white;
  80. }
  81. a.btn-sm {
  82. border-radius: 4px;
  83. font-size: 10px;
  84. line-height: normal;
  85. padding: 6px 8px;
  86. }
  87. .header input {
  88. border-radius: 3px;
  89. border: none;
  90. font-size: 18px;
  91. padding: 10px;
  92. width: 100%;
  93. }
  94. /* queries for type */
  95. @media (min-width: 768px) {
  96. h1 {
  97. font-size: 60px;
  98. }
  99. .stand-first {
  100. font-size: 26px;
  101. }
  102. .intro {
  103. font-size: 30px;
  104. margin: 0 0 60px;
  105. }
  106. p {
  107. margin: 0 0 30px;
  108. }
  109. }
  110. ul {
  111. margin: 0 0 30px;
  112. }
  113. @media (min-width: 768px) {
  114. ul {
  115. margin: 0 0 50px;
  116. }
  117. }
  118. figure {
  119. margin: 0 0 30px;
  120. position: relative;
  121. }
  122. @media (min-width: 768px) {
  123. figure {
  124. margin: 0 0 50px;
  125. }
  126. }
  127. figcaption {
  128. background-color: rgba(99,33,13,0.8);
  129. bottom: 0;
  130. color: white;
  131. font-family: 'Lato', sans-serif;
  132. font-size: 16px;
  133. font-weight: 300;
  134. left: 0;
  135. padding: 10px;
  136. position: absolute;
  137. width: 75%;
  138. }
  139. img {
  140. display: block;
  141. width: 100%;
  142. }
  143. /* Generic detail page styles */
  144. .intro {
  145. font-family: 'Lato', sans-serif;
  146. font-weight: 300;
  147. margin: 0 0 40px;
  148. font-size: 22px;
  149. }
  150. .stand-first {
  151. color: rgba(255,255,255,0.8);
  152. margin: 0;
  153. }
  154. /* Hero image area */
  155. .hero {
  156. background-size: cover;
  157. background-position: center;
  158. padding: 200px 0 30px 0;
  159. position: relative;
  160. margin: 0 0 30px;
  161. }
  162. @media screen and (min-width: 768px) {
  163. .hero {
  164. padding: 400px 0 60px 0;
  165. margin: 0 0 40px;
  166. }
  167. }
  168. .hero-gradient-mask {
  169. position: absolute;
  170. width: 100%;
  171. height: 100%;
  172. bottom: 0;
  173. background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.01) 1%,rgba(0,0,0,1) 100%);
  174. }
  175. blockquote {
  176. border-left: 5px solid #d4566b;
  177. margin: 0 0 50px;
  178. }
  179. blockquote p {
  180. font-size: 30px;
  181. margin: 0 0 10px;
  182. }
  183. blockquote footer::before {
  184. display: none;
  185. }
  186. blockquote footer p {
  187. font-size: 1.8em;
  188. font-style: italic;
  189. }
  190. cite {
  191. font-family: 'Lato', sans-serif;
  192. text-transform: uppercase;
  193. color: #888;
  194. font-size: 12px;
  195. font-style: normal;
  196. letter-spacing: 0.15em;
  197. }
  198. @media screen and (min-width: 768px) {
  199. .header,
  200. .footer {
  201. padding-right: 0;
  202. padding-left: 0;
  203. }
  204. }
  205. /* Page header */
  206. .header {
  207. padding: 15px 0 15px;
  208. width: 100%;
  209. background: rgb(25,17,18);
  210. background: linear-gradient(135deg, rgba(25,17,18,1) 0%,rgba(55,28,25,1) 100%);
  211. z-index: 10;
  212. }
  213. .header h3 {
  214. margin-top: 0;
  215. margin-bottom: 0;
  216. line-height: 40px;
  217. }
  218. /* Logo */
  219. .logo, .logo:visited, .logo:focus {
  220. display: inline-block;
  221. padding: 0;
  222. color: white;
  223. font-size: 30px;
  224. font-weight: 300;
  225. margin: 0 0 0;
  226. }
  227. .logo:hover {
  228. color: #d4566b;
  229. text-decoration: none;
  230. }
  231. .search {
  232. display: none;
  233. margin: 15px 0 0 0;
  234. position: relative;
  235. }
  236. @media (min-width: 768px) {
  237. .search {
  238. display: inline-block;
  239. float: right;
  240. margin: 0 0 0 30px;
  241. }
  242. }
  243. .search-icon {
  244. display: block;
  245. display: inline-block;
  246. height: 20px;
  247. position: absolute;
  248. right: 10px;
  249. top: 10px;
  250. width: 20px;
  251. }
  252. .search-icon svg {
  253. fill: #d4566b;
  254. height: 20px;
  255. width: 20px;
  256. }
  257. /* Main menu */
  258. nav {
  259. margin: 15px 0 5px;
  260. display: none;
  261. }
  262. #main-navigation {
  263. padding-left: 0;
  264. }
  265. @media (min-width: 768px) {
  266. nav {
  267. margin: 15px 0 0 0;
  268. border-top: 1px solid rgba(255,255,255,0.1);
  269. display: block;
  270. }
  271. }
  272. .nav-pills>li+li {
  273. margin-left: 0;
  274. }
  275. .nav-pills>li>a {
  276. border-radius: 0;
  277. border-top: 1px solid transparent;
  278. color: white;
  279. color: white;
  280. font-family: 'Lato', sans-serif;
  281. font-size: 11px;
  282. font-weight: 300;
  283. letter-spacing: 0.15em;
  284. margin-top: -1px;
  285. padding: 10px 10px;
  286. text-transform: uppercase;
  287. }
  288. @media (min-width: 768px) {
  289. .nav-pills>li>a {
  290. padding: 10px 20px;
  291. font-size: 14px;
  292. }
  293. }
  294. .nav-pills>li>a, .nav-pills>li>a:focus, .nav-pills>li>a:hover,
  295. .nav-pills>li, .nav-pills>li, .nav>li>a, .nav>li>a {
  296. border-top: 1px solid transparent;
  297. }
  298. /* The following is to stop a pixel shift on hover */
  299. .nav-pills>li.breads {
  300. width: 90px;
  301. }
  302. .nav-pills>li.locations {
  303. width: 140px;
  304. }
  305. .nav-pills>li.blog {
  306. width: 86px;
  307. }
  308. .nav-pills>li.gallery {
  309. width: 115px;
  310. }
  311. .nav-pills>li.contactus {
  312. width: 148px;
  313. }
  314. .nav-pills>li.about {
  315. width: 98px;
  316. }
  317. .nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover,
  318. .nav-pills>li.active, .nav-pills>li:hover, .nav>li>a:focus, .nav>li>a:hover {
  319. color: #d4566b;
  320. background-color: transparent;
  321. border-top: 1px solid #d4566b;
  322. font-weight: 400;
  323. }
  324. .nav-pills> li:first-of-type > a {
  325. padding-left: 0;
  326. }
  327. .nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
  328. background-color: transparent;
  329. border-top: 1px solid #d4566b;
  330. }
  331. .dropdown-menu {
  332. background-color: rgba(25,17,18,1);
  333. border-radius: 0;
  334. border: transparent;
  335. }
  336. .dropdown-menu > li> a {
  337. border-bottom: 1px solid #371c19;
  338. color: #fff;
  339. font-family: 'Lato', sans-serif;
  340. padding: 10px 20px;
  341. }
  342. .dropdown-menu > li> a:hover {
  343. background-color: transparent;
  344. color: #d4566b;
  345. }
  346. /* Menu dropdown hack to allow toggling */
  347. li.has-submenu a.allow-toggle {
  348. float: left;
  349. padding-right: 0;
  350. }
  351. .caret-custom {
  352. float: right;
  353. display: inline-block!important;
  354. padding: 10px 10px 15px 5px!important;
  355. }
  356. .caret-custom:after {
  357. content: "▼"!important;
  358. }
  359. /* Custom page footer */
  360. .footer {
  361. padding-top: 19px;
  362. color: #777;
  363. }
  364. .footer {
  365. font-size: 16px;
  366. font-family: 'Lato', sans-serif;
  367. padding: 20px 0;
  368. margin: 40px 0 0;
  369. font-weight: 300;
  370. background-color: white;
  371. }
  372. .footer p {
  373. margin: 0;
  374. }
  375. .container {
  376. width: auto;
  377. padding-left: 20px;
  378. padding-right: 20px;
  379. }
  380. @media (min-width: 768px) {
  381. .container {
  382. max-width: 1400px;
  383. padding-left: 40px;
  384. padding-right: 40px;
  385. }
  386. }
  387. .container-narrow > hr {
  388. margin: 30px 0;
  389. }
  390. /* Breadcrumbs */
  391. .breadcrumb-container {
  392. background: linear-gradient(to right, rgba(21,38,44,0.8) 0%,rgba(0,0,0,0.9) 100%);
  393. margin-top: -1px;
  394. position: relative;
  395. z-index: 3;
  396. }
  397. .breadcrumb-container + content > .hero {
  398. margin-top: -36px;
  399. }
  400. .breadcrumb {
  401. background-color: transparent;
  402. color: #ccc;
  403. font-family: 'Lato', sans-serif;
  404. font-size: 14px;
  405. margin-bottom: 0px;
  406. padding-left: 0px;
  407. }
  408. .breadcrumb a, .breadcrumb .active {
  409. color: #ccc;
  410. }
  411. .breadcrumb .active {
  412. font-weight: bold;
  413. }
  414. .breadcrumb a:hover {
  415. color: #fff;
  416. text-decoration: none;
  417. }
  418. .breadcrumb>li+li:before {
  419. content: "\00BB";
  420. }
  421. /* Mobile nav */
  422. .navbar-toggle .icon-bar {
  423. background-color: #fff;
  424. }
  425. /* Pagination navigation */
  426. nav[role=pagination] {
  427. margin-top: 50px;
  428. text-align: center;
  429. }
  430. /* Location list page */
  431. .location-list-item {
  432. text-align: center;
  433. margin-bottom: 30px;
  434. }
  435. .location-list-title {
  436. line-height: 270px;
  437. height: 270px;
  438. background-color: #eb7400;
  439. }
  440. .location-list-title img {
  441. background-color: rgba(233,228,221,1);
  442. height: 270px;
  443. left: 0;
  444. position: absolute;
  445. top: 0;
  446. width: 100%;
  447. }
  448. .location-list-title:hover img {
  449. opacity: 0.3;
  450. }
  451. .location-list-title span.title {
  452. color: white;
  453. display: inline-block;
  454. font-weight: 300;
  455. position: relative;
  456. text-shadow: 0px 0px 30px rgba(0, 0, 0, 1);
  457. }
  458. .location-list-title:hover span.title {
  459. text-shadow: none;
  460. }
  461. .location-list-item address {
  462. font-weight: 300;
  463. font-family: 'Lato', sans-serif;
  464. font-size: 1.4em;
  465. padding: 10px 40px;
  466. }
  467. /* Location detail page */
  468. .template-location-page .intro {
  469. margin-bottom: 0;
  470. }
  471. .location-opening h3 {
  472. margin-top: 0;
  473. }
  474. span.day {
  475. font-weight: bold;
  476. font-family: 'Lato', sans-serif;
  477. }
  478. time.location-time {
  479. display: block;
  480. }
  481. .map-container {
  482. height: 550px;
  483. }
  484. .location-address {
  485. background-color: rgba(233,228,221,1);
  486. padding: 10px 30px;
  487. margin-bottom: -200px;
  488. position: relative;
  489. z-index: 1;
  490. }
  491. /* Blog list view */
  492. .blog-tags>li {
  493. border-right: 1px solid rgba(0,0,0,0.1);
  494. font-size: 0.9em;
  495. margin-left: -6px;
  496. padding: 4px 18px;
  497. text-transform: uppercase;
  498. }
  499. .blog-tags>li:first-child {
  500. margin-left: 0;
  501. border-left: 1px solid rgba(0,0,0,0.1);
  502. }
  503. .blog-tags>li:hover {
  504. background-color: rgba(0,0,0,0.1);
  505. }
  506. .blog-list li {
  507. list-style: none;
  508. }
  509. @media (min-width: 1025px) {
  510. .blog-list li:first-of-type, .blogpage-listing li:first-of-type,
  511. .blog-list li:nth-child(6), .blogpage-listing li:nth-child(6),
  512. .blog-list li:nth-child(7), .blogpage-listing li:nth-child(7),
  513. .blog-list li:nth-child(12), .blogpage-listing li:nth-child(12) {
  514. width: 50%;
  515. }
  516. }
  517. .blog-list-item {
  518. display: flex;
  519. flex-direction: column;
  520. margin-bottom: 20px;
  521. }
  522. .blog-list-item a {
  523. display: flex;
  524. flex-grow: 1;
  525. flex-direction: column;
  526. }
  527. .blog-list-item:hover img {
  528. opacity: 0.3;
  529. }
  530. .blog-list-item .image {
  531. overflow: hidden;
  532. background-color: #eb7400;
  533. flex: 1 0 auto;
  534. }
  535. .blog-list-item .image img {
  536. min-height: 510px;
  537. width: auto;
  538. min-width: 100%;
  539. }
  540. .blog-list-item .text {
  541. background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 23%,rgba(0,0,0,1) 50%);
  542. margin-top: -150px;
  543. padding: 20px;
  544. position: relative;
  545. z-index: 1;
  546. }
  547. .blog-list-item .text h2 {
  548. color: #fff;
  549. font-weight: 200;
  550. margin-top: 0;
  551. }
  552. .blog-list-item .text p {
  553. color: #e3e3e3;
  554. font-size: 0.8em;
  555. margin-bottom: 0;
  556. }
  557. .blog-list-item .footer {
  558. background-color: #333;
  559. color: #fff;
  560. margin-top: 0;
  561. padding: 20px;
  562. position: relative;
  563. z-index: 1;
  564. }
  565. /* used to style tags on blog */
  566. span.outline {
  567. border-radius: 3px;
  568. border: 1px solid rgba(0,0,0,0.1);
  569. font-size: 0.8em;
  570. padding: 3px 6px;
  571. text-transform: uppercase;
  572. }
  573. /* Blog detail page */
  574. .blog-meta {
  575. margin-top: -40px;
  576. margin-bottom: 20px;
  577. }
  578. .blog-avatar {
  579. border-radius: 100%;
  580. display: inline;
  581. width: unset;
  582. }
  583. .blog-avatars {
  584. margin-bottom: 20px;
  585. }
  586. .blog-avatars .author {
  587. display: inline-block;
  588. margin-right: 30px;
  589. }
  590. /* Bread styles */
  591. /* Bread listview */
  592. .bread-list-item {
  593. border: 1px solid rgba(0,0,0,0.1);
  594. border-radius: 3px;
  595. margin: 12px;
  596. overflow: hidden;
  597. }
  598. .bread-list-item h2 {
  599. font-weight: 300;
  600. }
  601. @media (min-width: 992px) {
  602. .bread-list-item {
  603. width: 47%;
  604. }
  605. }
  606. .bread-list-item .image {
  607. background-color: #eb7400;
  608. margin: 0;
  609. max-width: 180px;
  610. max-height: 180px;
  611. min-width: 180px;
  612. min-height: 180px;
  613. padding: 0;
  614. }
  615. .bread-list-item .image:hover img {
  616. opacity: 0.3;
  617. }
  618. .bread-list-item img {
  619. margin: 0;
  620. width: auto;
  621. }
  622. .bread-list-item ul {
  623. padding-left: 2px;
  624. }
  625. .bread-list-item li {
  626. list-style: none;
  627. }
  628. .bread-list-item li span {
  629. color: #777;
  630. display: inline-block;
  631. font-weight: 600;
  632. width: 70px;
  633. }
  634. /* Bread detail page */
  635. .bread-detail .introduction {
  636. color: #777;
  637. font-size: 1.4em;
  638. margin-top: 40px;
  639. }
  640. .bread-detail figure {
  641. margin: 35px auto 20px auto;
  642. overflow: hidden;
  643. }
  644. .bread-detail figure img {
  645. width: auto;
  646. }
  647. .bread-detail ul.bread-meta {
  648. list-style: none;
  649. padding-left: 0;
  650. }
  651. .bread-detail ul.bread-meta li ul {
  652. padding-left: 0;
  653. }
  654. .bread-detail ul.bread-meta li ul li {
  655. border-bottom: 1px solid #ccc;
  656. list-style: none;
  657. max-width: 450px;
  658. }
  659. /* Forms */
  660. /* Form detail page */
  661. .form-page input, textarea, select {
  662. display: block;
  663. min-width: 450px;
  664. max-width: 450px;
  665. }
  666. .form-page li input[type=checkbox], input[type=radio] {
  667. display: inline-block;
  668. margin-right: 10px;
  669. }
  670. .form-page .fieldWrapper ul,
  671. .form-page .fieldWrapper li {
  672. list-style: none;
  673. padding: 0;
  674. margin: 0;
  675. }
  676. .form-page .required {
  677. color: red;
  678. }
  679. .form-page .fieldWrapper {
  680. margin-bottom: 30px;
  681. }
  682. .form-page .help {
  683. color: #999;
  684. font-family: 'Lato', sans-serif;
  685. font-size: 0.8em;
  686. margin-top: 10px;
  687. max-width: 350px;
  688. }
  689. /* Form thank you page */
  690. .form-page-thanks h1 {
  691. margin-bottom: 30px;
  692. }
  693. /* Generic title image header include */
  694. .base-header img {
  695. height: auto;
  696. margin-top: 20px;
  697. max-width: 100%;
  698. width: auto;
  699. }
  700. @media (max-width: 970px) {
  701. .base-header img {
  702. width: 100%;
  703. }
  704. }
  705. /* Homepage */
  706. .homepage .hero {
  707. margin: 0;
  708. padding: 200px 0 30px 0;
  709. }
  710. .homepage .hero h1 {
  711. font-size: 2.2em;
  712. text-transform: uppercase;
  713. }
  714. .homepage .hero h1:after {
  715. background-color: rgba(255,255,255, 0.7);
  716. content: "";
  717. display: block;
  718. height: 5px;
  719. margin: 20px auto;
  720. width: 250px;
  721. }
  722. .homepage .home-hero {
  723. margin-bottom: 0;
  724. padding-bottom: 60px;
  725. text-align: center;
  726. }
  727. .homepage .home-hero .lead {
  728. color: #ddd;
  729. font-size: 1.6em;
  730. margin: 40px auto;
  731. }
  732. .homepage .home-hero .hero-cta-link {
  733. color: #fff;
  734. border: 1px solid #aaa;
  735. border-radius: 4px;
  736. padding: 10px 34px 10px 10px;
  737. display: inline-block;
  738. vertical-align: middle;
  739. transform: perspective(1px) translateZ(0);
  740. box-shadow: 0 0 1px transparent;
  741. position: relative;
  742. transition-duration: 0.1s;
  743. }
  744. .homepage .home-hero .hero-cta-link:before {
  745. content: "\f18e";
  746. font-family: FontAwesome;
  747. font-size: 1.2em;
  748. font-weight: 200;
  749. opacity: 0.8;
  750. padding: 0 1px;
  751. position: absolute;
  752. right: 0.2em;
  753. top: 0.2em;
  754. transform: translateZ(0);
  755. transition-duration: 0.1s;
  756. transition-property: transform;
  757. transition-timing-function: ease-out;
  758. }
  759. .homepage .home-hero .hero-cta-link:hover:before,
  760. .homepage .home-hero .hero-cta-link:focus:before,
  761. .homepage .home-hero .hero-cta-link:active:before {
  762. transform: translateX(4px);
  763. }
  764. .homepage .streamfield {
  765. background: linear-gradient(45deg, rgba(170,170,170,1) 0%,rgba(238,238,238,1) 44%);
  766. }
  767. .homepage .streamfield-column {
  768. padding: 60px;
  769. margin: 0 auto;
  770. float: none;
  771. }
  772. .homepage .streamfield-column h1,
  773. .homepage .streamfield-column h2,
  774. .homepage .streamfield-column h3,
  775. .homepage .streamfield-column h4,
  776. .homepage .streamfield-column h5 {
  777. text-align: center;
  778. }
  779. .homepage .promo-row {
  780. padding: 40px 0 40px 0;
  781. }
  782. .homepage .promo {
  783. background: linear-gradient(190deg, rgba(0,4,8,1) 0%,rgba(55,28,25,1) 100%);
  784. border-radius: 0px 0px 10px 10px;
  785. color: #fff;
  786. height: 100%;
  787. margin-bottom: 20px;
  788. margin-top: -40px;
  789. padding: 40px 60px;
  790. text-align: center;
  791. }
  792. .homepage .promo h1,
  793. .homepage .promo h2,
  794. .homepage .promo h3,
  795. .homepage .promo h4 {
  796. color: #eb7400;
  797. font-weight: 200;
  798. }
  799. .homepage .promo p,
  800. .homepage .promo li {
  801. color: #ccc;
  802. line-height: 1.6em;
  803. }
  804. .homepage .promo a {
  805. color: #fff;
  806. }
  807. @media (max-width: 970px) {
  808. .homepage .promo {
  809. padding: 30px 40px;
  810. }
  811. .homepage .promo figure img {
  812. max-width: 120px;
  813. height: auto;
  814. }
  815. .homepage .promo p {
  816. color: #fff;
  817. font-size: 1em;
  818. }
  819. }
  820. @media (max-width: 766px) {
  821. .homepage .promo {
  822. margin-left: 15px;
  823. margin-right: 15px;
  824. }
  825. }
  826. .homepage .promo figure img {
  827. border-radius: 100%;
  828. margin: auto;
  829. width: auto;
  830. }
  831. .homepage .feature-1 h2 {
  832. margin-top: 0;
  833. margin-bottom: 20px;
  834. }
  835. .homepage .feature-1 .featured-children li {
  836. border: 1px solid #ccc;
  837. border-radius: 3px;
  838. margin-bottom: 10px;
  839. }
  840. .homepage .feature-1 .featured-children li figure {
  841. width: 100%;
  842. overflow: hidden;
  843. margin: 0;
  844. }
  845. .homepage .feature-1 .featured-children li img {
  846. width: auto;
  847. }
  848. .homepage .feature-1 .featured-children li h3 {
  849. margin-top: 40px;
  850. font-weight: 300;
  851. font-size: 1.4em;
  852. }
  853. .homepage .feature-2 {
  854. padding: 40px 0 20px;
  855. }
  856. .homepage .feature-2 .feature-2-row {
  857. display: flex;
  858. flex-wrap: wrap;
  859. }
  860. .homepage .feature-2 h2,
  861. .homepage .feature-3 h2 {
  862. text-align: center;
  863. margin: 20px;
  864. }
  865. .homepage .feature-2 .feature-2-item {
  866. display: flex;
  867. flex-direction: column;
  868. margin: 0 auto 20px;
  869. }
  870. .homepage .feature-2 .feature-2-item figure {
  871. margin-bottom: 0;
  872. }
  873. .homepage .feature-2 .feature-2-item img {
  874. min-height: 210px;
  875. }
  876. .homepage .feature-2 .feature-2-item .feature-2-text {
  877. background-color: #dfdfdf;
  878. border-radius: 0 0 10px 10px;
  879. padding: 0 20px;
  880. flex: 1;
  881. }
  882. .homepage .feature-2 figure,
  883. .homepage .feature-3 figure {
  884. background-color: #eb7400;
  885. margin: 0;
  886. }
  887. @media (max-width: 766px) {
  888. .homepage .feature-2 .feature-2-row {
  889. display: inline-block;
  890. }
  891. }
  892. .homepage .feature-3 h3 {
  893. color: #fff;
  894. font-weight: 300;
  895. font-size: 1.8em;
  896. margin-bottom: 135px;
  897. margin-top: -145px;
  898. position: relative;
  899. text-align: center;
  900. text-shadow: 0px 0px 30px rgba(0, 0, 0, 1);
  901. z-index: 1;
  902. }
  903. .homepage .feature-2 li:hover img,
  904. .homepage .feature-3 li:hover img {
  905. opacity: 0.3;
  906. }
  907. /* Miscellaneous helper styles */
  908. /* No gutters */
  909. .row.no-gutters {
  910. margin-right: 0;
  911. margin-left: 0;
  912. }
  913. .row.no-gutters > [class^="col-"],
  914. .row.no-gutters > [class*=" col-"] {
  915. padding-right: 0;
  916. padding-left: 0;
  917. }
  918. /* Bootstrap Equal height rows */
  919. .row-eq-height {
  920. display: -webkit-box;
  921. display: -webkit-flex;
  922. display: -ms-flexbox;
  923. display: flex;
  924. flex-wrap: wrap;
  925. }
  926. @media (min-width: 970px) {
  927. .hidden-md-up {
  928. display: none;
  929. }
  930. }
  931. @media (max-width: 970px) {
  932. .hidden-md-down {
  933. display: none;
  934. }
  935. }
  936. /* From Wagtail core */
  937. /* Responsive image/video classes */
  938. .rich-text img {
  939. max-width: 100%;
  940. height: auto;
  941. }
  942. .richtext-image.left{
  943. float:left;
  944. }
  945. .richtext-image.right{
  946. float:right;
  947. }
  948. .responsive-object {
  949. position: relative;
  950. }
  951. .responsive-object iframe,
  952. .responsive-object object,
  953. .responsive-object embed {
  954. position: absolute;
  955. top: 0;
  956. left: 0;
  957. width: 100%;
  958. height: 100%;
  959. }