main.css 19 KB

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