main.css 20 KB

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