main.css 19 KB

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