main.css 19 KB

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