main.css 19 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036
  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. cite {
  184. font-family: 'Lato', sans-serif;
  185. text-transform: uppercase;
  186. color: #888;
  187. font-size: 12px;
  188. font-style: normal;
  189. letter-spacing: 0.15em;
  190. }
  191. @media screen and (min-width: 768px) {
  192. .header,
  193. .footer {
  194. padding-right: 0;
  195. padding-left: 0;
  196. }
  197. }
  198. /* Page header */
  199. .header {
  200. padding: 15px 0 15px;
  201. width: 100%;
  202. background: rgb(25,17,18);
  203. background: linear-gradient(135deg, rgba(25,17,18,1) 0%,rgba(55,28,25,1) 100%);
  204. z-index: 10;
  205. }
  206. .header h3 {
  207. margin-top: 0;
  208. margin-bottom: 0;
  209. line-height: 40px;
  210. }
  211. /* Logo */
  212. .logo, .logo:visited, .logo:focus {
  213. display: inline-block;
  214. padding: 0;
  215. color: white;
  216. font-size: 30px;
  217. font-weight: 300;
  218. margin: 0 0 0;
  219. }
  220. .logo:hover {
  221. color: #d4566b;
  222. text-decoration: none;
  223. }
  224. .search {
  225. display: none;
  226. margin: 15px 0 0 0;
  227. position: relative;
  228. }
  229. @media (min-width: 768px) {
  230. .search {
  231. display: inline-block;
  232. float: right;
  233. margin: 0 0 0 30px;
  234. }
  235. }
  236. .search-icon {
  237. display: block;
  238. display: inline-block;
  239. height: 20px;
  240. position: absolute;
  241. right: 10px;
  242. top: 10px;
  243. width: 20px;
  244. }
  245. .search-icon svg {
  246. fill: #d4566b;
  247. height: 20px;
  248. width: 20px;
  249. }
  250. /* Main menu */
  251. nav {
  252. margin: 15px 0 5px;
  253. display: none;
  254. }
  255. #main-navigation {
  256. padding-left: 0;
  257. }
  258. @media (min-width: 768px) {
  259. nav {
  260. margin: 15px 0 0 0;
  261. border-top: 1px solid rgba(255,255,255,0.1);
  262. display: block;
  263. }
  264. }
  265. .nav-pills>li+li {
  266. margin-left: 0;
  267. }
  268. .nav-pills>li>a {
  269. border-radius: 0;
  270. border-top: 1px solid transparent;
  271. color: white;
  272. color: white;
  273. font-family: 'Lato', sans-serif;
  274. font-size: 11px;
  275. font-weight: 300;
  276. letter-spacing: 0.15em;
  277. margin-top: -1px;
  278. padding: 10px 10px;
  279. text-transform: uppercase;
  280. }
  281. @media (min-width: 768px) {
  282. .nav-pills>li>a {
  283. padding: 10px 20px;
  284. font-size: 14px;
  285. }
  286. }
  287. .nav-pills>li>a, .nav-pills>li>a:focus, .nav-pills>li>a:hover,
  288. .nav-pills>li, .nav-pills>li, .nav>li>a, .nav>li>a {
  289. border-top: 1px solid transparent;
  290. }
  291. /* The following is to stop a pixel shift on hover */
  292. .nav-pills>li.breads {
  293. width: 90px;
  294. }
  295. .nav-pills>li.locations {
  296. width: 140px;
  297. }
  298. .nav-pills>li.blog {
  299. width: 86px;
  300. }
  301. .nav-pills>li.gallery {
  302. width: 115px;
  303. }
  304. .nav-pills>li.contactus {
  305. width: 148px;
  306. }
  307. .nav-pills>li.about {
  308. width: 98px;
  309. }
  310. .nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover,
  311. .nav-pills>li.active, .nav-pills>li:hover, .nav>li>a:focus, .nav>li>a:hover {
  312. color: #d4566b;
  313. background-color: transparent;
  314. border-top: 1px solid #d4566b;
  315. font-weight: 400;
  316. }
  317. .nav-pills> li:first-of-type > a {
  318. padding-left: 0;
  319. }
  320. .nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
  321. background-color: transparent;
  322. border-top: 1px solid #d4566b;
  323. }
  324. .dropdown-menu {
  325. background-color: rgba(25,17,18,1);
  326. border-radius: 0;
  327. border: transparent;
  328. }
  329. .dropdown-menu > li> a {
  330. border-bottom: 1px solid #371c19;
  331. color: #fff;
  332. font-family: 'Lato', sans-serif;
  333. padding: 10px 20px;
  334. }
  335. .dropdown-menu > li> a:hover {
  336. background-color: transparent;
  337. color: #d4566b;
  338. }
  339. /* Menu dropdown hack to allow toggling */
  340. li.has-submenu a.allow-toggle {
  341. float: left;
  342. padding-right: 0;
  343. }
  344. .caret-custom {
  345. float: right;
  346. display: inline-block!important;
  347. padding: 10px 10px 15px 5px!important;
  348. }
  349. .caret-custom:after {
  350. content: "▼"!important;
  351. }
  352. /* Custom page footer */
  353. .footer {
  354. padding-top: 19px;
  355. color: #777;
  356. }
  357. .footer {
  358. font-size: 16px;
  359. font-family: 'Lato', sans-serif;
  360. padding: 20px 0;
  361. margin: 40px 0 0;
  362. font-weight: 300;
  363. background-color: white;
  364. }
  365. .footer p {
  366. margin: 0;
  367. }
  368. .container {
  369. width: auto;
  370. padding-left: 20px;
  371. padding-right: 20px;
  372. }
  373. /* Customize container */
  374. @media (min-width: 768px) {
  375. .container {
  376. max-width: 1400px;
  377. padding-left: 40px;
  378. padding-right: 40px;
  379. }
  380. }
  381. .container-narrow > hr {
  382. margin: 30px 0;
  383. }
  384. .breadcrumb-container {
  385. background: linear-gradient(to right, rgba(21,38,44,0.8) 0%,rgba(0,0,0,0.9) 100%);
  386. margin-top: -1px;
  387. position: relative;
  388. z-index: 3;
  389. }
  390. .breadcrumb-container + content > .hero {
  391. margin-top: -36px;
  392. }
  393. .breadcrumb {
  394. background-color: transparent;
  395. color: #ccc;
  396. font-family: 'Lato', sans-serif;
  397. font-size: 14px;
  398. margin-bottom: 0px;
  399. padding-left: 0px;
  400. }
  401. .breadcrumb a, .breadcrumb .active {
  402. color: #ccc;
  403. }
  404. .breadcrumb .active {
  405. font-weight: bold;
  406. }
  407. .breadcrumb a:hover {
  408. color: #fff;
  409. text-decoration: none;
  410. }
  411. .breadcrumb>li+li:before {
  412. content: "\00BB";
  413. }
  414. /* Mobile nav */
  415. .navbar-toggle .icon-bar {
  416. background-color: #fff;
  417. }
  418. /* Pagination navigation */
  419. nav[role=pagination] {
  420. margin-top: 50px;
  421. text-align: center;
  422. }
  423. /* Location list page */
  424. .location-list-item {
  425. text-align: center;
  426. margin-bottom: 30px;
  427. }
  428. .location-list-title {
  429. line-height: 270px;
  430. height: 270px;
  431. background-color: #eb7400;
  432. }
  433. .location-list-title img {
  434. background-color: rgba(233,228,221,1);
  435. height: 270px;
  436. left: 0;
  437. position: absolute;
  438. top: 0;
  439. width: 100%;
  440. }
  441. .location-list-title:hover img {
  442. opacity: 0.3;
  443. }
  444. .location-list-title span.title {
  445. color: white;
  446. display: inline-block;
  447. font-weight: 300;
  448. position: relative;
  449. text-shadow: 0px 0px 30px rgba(0, 0, 0, 1);
  450. }
  451. .location-list-title:hover span.title {
  452. text-shadow: none;
  453. }
  454. .location-list-item address {
  455. font-weight: 300;
  456. font-family: 'Lato', sans-serif;
  457. font-size: 1.4em;
  458. padding: 10px 40px;
  459. }
  460. /* Location detail page */
  461. .template-location-page .intro {
  462. margin-bottom: 0;
  463. }
  464. .location-opening h3 {
  465. margin-top: 0;
  466. }
  467. span.day {
  468. font-weight: bold;
  469. font-family: 'Lato', sans-serif;
  470. }
  471. time.location-time {
  472. display: block;
  473. }
  474. .map-container {
  475. height: 550px;
  476. }
  477. .location-address {
  478. background-color: rgba(233,228,221,1);
  479. padding: 10px 30px;
  480. margin-bottom: -200px;
  481. position: relative;
  482. z-index: 1;
  483. }
  484. /* Blog list view */
  485. .blog-tags>li {
  486. border-right: 1px solid rgba(0,0,0,0.1);
  487. font-size: 0.9em;
  488. margin-left: -6px;
  489. padding: 4px 18px;
  490. text-transform: uppercase;
  491. }
  492. .blog-tags>li:first-child {
  493. margin-left: 0;
  494. border-left: 1px solid rgba(0,0,0,0.1);
  495. }
  496. .blog-tags>li:hover {
  497. background-color: rgba(0,0,0,0.1);
  498. }
  499. .blog-list li {
  500. list-style: none;
  501. }
  502. @media (min-width: 1025px) {
  503. .blog-list li:first-of-type, .blogpage-listing li:first-of-type,
  504. .blog-list li:nth-child(6), .blogpage-listing li:nth-child(6),
  505. .blog-list li:nth-child(7), .blogpage-listing li:nth-child(7),
  506. .blog-list li:nth-child(12), .blogpage-listing li:nth-child(12) {
  507. width: 50%;
  508. }
  509. }
  510. .blog-list-item {
  511. display: flex;
  512. flex-direction: column;
  513. margin-bottom: 20px;
  514. }
  515. .blog-list-item a {
  516. display: flex;
  517. flex-grow: 1;
  518. flex-direction: column;
  519. }
  520. .blog-list-item:hover img {
  521. opacity: 0.3;
  522. }
  523. .blog-list-item .image {
  524. overflow: hidden;
  525. background-color: #eb7400;
  526. flex: 1 0 auto;
  527. }
  528. .blog-list-item .image img {
  529. min-height: 510px;
  530. width: auto;
  531. min-width: 100%;
  532. }
  533. .blog-list-item .text {
  534. background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 23%,rgba(0,0,0,1) 50%);
  535. margin-top: -150px;
  536. padding: 20px;
  537. position: relative;
  538. z-index: 1;
  539. }
  540. .blog-list-item .text h2 {
  541. color: #fff;
  542. font-weight: 200;
  543. margin-top: 0;
  544. }
  545. .blog-list-item .text p {
  546. color: #e3e3e3;
  547. font-size: 0.8em;
  548. margin-bottom: 0;
  549. }
  550. .blog-list-item .footer {
  551. background-color: #333;
  552. color: #fff;
  553. margin-top: 0;
  554. padding: 20px;
  555. position: relative;
  556. z-index: 1;
  557. }
  558. /* used to style tags on blog */
  559. span.outline {
  560. border-radius: 3px;
  561. border: 1px solid rgba(0,0,0,0.1);
  562. font-size: 0.8em;
  563. padding: 3px 6px;
  564. text-transform: uppercase;
  565. }
  566. /* Blog detail page */
  567. .blog-meta {
  568. margin-top: -40px;
  569. margin-bottom: 20px;
  570. }
  571. .blog-avatar {
  572. border-radius: 100%;
  573. display: inline;
  574. width: unset;
  575. }
  576. .blog-avatars {
  577. margin-bottom: 20px;
  578. }
  579. .blog-avatars .author {
  580. display: inline-block;
  581. margin-right: 30px;
  582. }
  583. /* Bread styles */
  584. /* Bread listview */
  585. .bread-list-item {
  586. border: 1px solid rgba(0,0,0,0.1);
  587. border-radius: 3px;
  588. margin: 12px;
  589. overflow: hidden;
  590. }
  591. .bread-list-item h2 {
  592. font-weight: 300;
  593. }
  594. @media (min-width: 992px) {
  595. .bread-list-item {
  596. width: 47%;
  597. }
  598. }
  599. .bread-list-item .image {
  600. background-color: #eb7400;
  601. margin: 0;
  602. max-width: 180px;
  603. max-height: 180px;
  604. min-width: 180px;
  605. min-height: 180px;
  606. padding: 0;
  607. }
  608. .bread-list-item .image:hover img {
  609. opacity: 0.3;
  610. }
  611. .bread-list-item img {
  612. margin: 0;
  613. width: auto;
  614. }
  615. .bread-list-item ul {
  616. padding-left: 2px;
  617. }
  618. .bread-list-item li {
  619. list-style: none;
  620. }
  621. .bread-list-item li span {
  622. color: #777;
  623. display: inline-block;
  624. font-weight: 600;
  625. width: 70px;
  626. }
  627. /* Bread detail page */
  628. .bread-detail .introduction {
  629. color: #777;
  630. font-size: 1.4em;
  631. margin-top: 40px;
  632. }
  633. .bread-detail figure {
  634. margin: 35px auto 20px auto;
  635. overflow: hidden;
  636. }
  637. .bread-detail figure img {
  638. width: auto;
  639. }
  640. .bread-detail ul.bread-meta {
  641. list-style: none;
  642. padding-left: 0;
  643. }
  644. .bread-detail ul.bread-meta li ul {
  645. padding-left: 0;
  646. }
  647. .bread-detail ul.bread-meta li ul li {
  648. border-bottom: 1px solid #ccc;
  649. list-style: none;
  650. max-width: 450px;
  651. }
  652. /* Forms */
  653. /* Form detail page */
  654. .form-page input, textarea, select {
  655. display: block;
  656. min-width: 450px;
  657. max-width: 450px;
  658. }
  659. .form-page li input[type=checkbox], input[type=radio] {
  660. display: inline-block;
  661. margin-right: 10px;
  662. }
  663. .form-page .fieldWrapper ul,
  664. .form-page .fieldWrapper li {
  665. list-style: none;
  666. padding: 0;
  667. margin: 0;
  668. }
  669. .form-page .required {
  670. color: red;
  671. }
  672. .form-page .fieldWrapper {
  673. margin-bottom: 30px;
  674. }
  675. .form-page .help {
  676. color: #999;
  677. font-family: 'Lato', sans-serif;
  678. font-size: 0.8em;
  679. margin-top: 10px;
  680. max-width: 350px;
  681. }
  682. /* Form thank you page */
  683. .form-page-thanks h1 {
  684. margin-bottom: 30px;
  685. }
  686. /* Generic title image header include */
  687. .base-header img {
  688. height: auto;
  689. margin-top: 20px;
  690. max-width: 100%;
  691. width: auto;
  692. }
  693. @media (max-width: 970px) {
  694. .base-header img {
  695. width: 100%;
  696. }
  697. }
  698. /* Homepage */
  699. .homepage .hero {
  700. margin: 0;
  701. padding: 200px 0 30px 0;
  702. }
  703. .homepage .hero h1 {
  704. font-size: 2.2em;
  705. text-transform: uppercase;
  706. }
  707. .homepage .hero h1:after {
  708. background-color: rgba(255,255,255, 0.7);
  709. content: "";
  710. display: block;
  711. height: 5px;
  712. margin: 20px auto;
  713. width: 250px;
  714. }
  715. .homepage .home-hero {
  716. margin-bottom: 0;
  717. padding-bottom: 60px;
  718. text-align: center;
  719. }
  720. .homepage .home-hero .lead {
  721. color: #ddd;
  722. font-size: 1.6em;
  723. margin: 40px auto;
  724. }
  725. .homepage .home-hero .hero-cta-link {
  726. color: #fff;
  727. border: 1px solid #aaa;
  728. border-radius: 4px;
  729. padding: 10px 34px 10px 10px;
  730. display: inline-block;
  731. vertical-align: middle;
  732. transform: perspective(1px) translateZ(0);
  733. box-shadow: 0 0 1px transparent;
  734. position: relative;
  735. transition-duration: 0.1s;
  736. }
  737. .homepage .home-hero .hero-cta-link:before {
  738. content: "\f18e";
  739. font-family: FontAwesome;
  740. font-size: 1.2em;
  741. font-weight: 200;
  742. opacity: 0.8;
  743. padding: 0 1px;
  744. position: absolute;
  745. right: 0.2em;
  746. top: 0.2em;
  747. transform: translateZ(0);
  748. transition-duration: 0.1s;
  749. transition-property: transform;
  750. transition-timing-function: ease-out;
  751. }
  752. .homepage .home-hero .hero-cta-link:hover:before,
  753. .homepage .home-hero .hero-cta-link:focus:before,
  754. .homepage .home-hero .hero-cta-link:active:before {
  755. transform: translateX(4px);
  756. }
  757. .homepage .streamfield {
  758. background: linear-gradient(45deg, rgba(170,170,170,1) 0%,rgba(238,238,238,1) 44%);
  759. }
  760. .homepage .streamfield-column {
  761. padding: 60px;
  762. margin: 0 auto;
  763. float: none;
  764. }
  765. .homepage .streamfield-column h1,
  766. .homepage .streamfield-column h2,
  767. .homepage .streamfield-column h3,
  768. .homepage .streamfield-column h4,
  769. .homepage .streamfield-column h5 {
  770. text-align: center;
  771. }
  772. .homepage .promo-row {
  773. padding: 40px 0 40px 0;
  774. }
  775. .homepage .promo {
  776. background: linear-gradient(190deg, rgba(0,4,8,1) 0%,rgba(55,28,25,1) 100%);
  777. border-radius: 0px 0px 10px 10px;
  778. color: #fff;
  779. height: 100%;
  780. margin-bottom: 20px;
  781. margin-top: -40px;
  782. padding: 40px 60px;
  783. text-align: center;
  784. }
  785. .homepage .promo h1,
  786. .homepage .promo h2,
  787. .homepage .promo h3,
  788. .homepage .promo h4 {
  789. color: #eb7400;
  790. font-weight: 200;
  791. }
  792. .homepage .promo p,
  793. .homepage .promo li {
  794. color: #ccc;
  795. line-height: 1.6em;
  796. }
  797. .homepage .promo a {
  798. color: #fff;
  799. }
  800. @media (max-width: 970px) {
  801. .homepage .promo {
  802. padding: 30px 40px;
  803. }
  804. .homepage .promo figure img {
  805. max-width: 120px;
  806. height: auto;
  807. }
  808. .homepage .promo p {
  809. color: #fff;
  810. font-size: 1em;
  811. }
  812. }
  813. @media (max-width: 766px) {
  814. .homepage .promo {
  815. margin-left: 15px;
  816. margin-right: 15px;
  817. }
  818. }
  819. .homepage .promo figure img {
  820. border-radius: 100%;
  821. margin: auto;
  822. width: auto;
  823. }
  824. .homepage .feature-1 h2 {
  825. margin-top: 0;
  826. margin-bottom: 20px;
  827. }
  828. .homepage .feature-1 .featured-children li {
  829. border: 1px solid #ccc;
  830. border-radius: 3px;
  831. margin-bottom: 10px;
  832. }
  833. .homepage .feature-1 .featured-children li figure {
  834. width: 100%;
  835. overflow: hidden;
  836. margin: 0;
  837. }
  838. .homepage .feature-1 .featured-children li img {
  839. width: auto;
  840. }
  841. .homepage .feature-1 .featured-children li h3 {
  842. margin-top: 40px;
  843. font-weight: 300;
  844. font-size: 1.4em;
  845. }
  846. .homepage .feature-2 {
  847. padding: 40px 0 20px;
  848. }
  849. .homepage .feature-2 .feature-2-row {
  850. display: flex;
  851. flex-wrap: wrap;
  852. }
  853. .homepage .feature-2 h2,
  854. .homepage .feature-3 h2 {
  855. text-align: center;
  856. margin: 20px;
  857. }
  858. .homepage .feature-2 .feature-2-item {
  859. display: flex;
  860. flex-direction: column;
  861. margin: 0 auto 20px;
  862. }
  863. .homepage .feature-2 .feature-2-item figure {
  864. margin-bottom: 0;
  865. }
  866. .homepage .feature-2 .feature-2-item img {
  867. min-height: 210px;
  868. }
  869. .homepage .feature-2 .feature-2-item .feature-2-text {
  870. background-color: #dfdfdf;
  871. border-radius: 0 0 10px 10px;
  872. padding: 0 20px;
  873. flex: 1;
  874. }
  875. .homepage .feature-2 figure,
  876. .homepage .feature-3 figure {
  877. background-color: #eb7400;
  878. margin: 0;
  879. }
  880. @media (max-width: 766px) {
  881. .homepage .feature-2 .feature-2-row {
  882. display: inline-block;
  883. }
  884. }
  885. .homepage .feature-3 h3 {
  886. color: #fff;
  887. font-weight: 300;
  888. font-size: 1.8em;
  889. margin-bottom: 135px;
  890. margin-top: -145px;
  891. position: relative;
  892. text-align: center;
  893. text-shadow: 0px 0px 30px rgba(0, 0, 0, 1);
  894. z-index: 1;
  895. }
  896. .homepage .feature-2 li:hover img,
  897. .homepage .feature-3 li:hover img {
  898. opacity: 0.3;
  899. }
  900. /* Miscellaneous helper styles */
  901. /* No gutters */
  902. .row.no-gutters {
  903. margin-right: 0;
  904. margin-left: 0;
  905. }
  906. .row.no-gutters > [class^="col-"],
  907. .row.no-gutters > [class*=" col-"] {
  908. padding-right: 0;
  909. padding-left: 0;
  910. }
  911. /* Bootstrap Equal height rows */
  912. .row-eq-height {
  913. display: -webkit-box;
  914. display: -webkit-flex;
  915. display: -ms-flexbox;
  916. display: flex;
  917. flex-wrap: wrap;
  918. }
  919. @media (min-width: 970px) {
  920. .hidden-md-up {
  921. display: none;
  922. }
  923. }
  924. @media (max-width: 970px) {
  925. .hidden-md-down {
  926. display: none;
  927. }
  928. }
  929. /* From Wagtail core */
  930. /* Responsive image/video classes */
  931. .rich-text img {
  932. max-width: 100%;
  933. height: auto;
  934. }
  935. .richtext-image.left{
  936. float:left;
  937. }
  938. .richtext-image.right{
  939. float:right;
  940. }
  941. .responsive-object {
  942. position: relative;
  943. }
  944. .responsive-object iframe,
  945. .responsive-object object,
  946. .responsive-object embed {
  947. position: absolute;
  948. top: 0;
  949. left: 0;
  950. width: 100%;
  951. height: 100%;
  952. }