main.css 20 KB

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