main.css 20 KB

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