main.css 19 KB

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