main.css 19 KB

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