2
0

main.css 19 KB

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