xref: /webtrees/resources/css/colors.css (revision 051c822d024c344f8050d1178cd077a864982c84)
1/**
2 * webtrees: online genealogy
3 * Copyright (C) 2019 webtrees development team
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 * You should have received a copy of the GNU General Public License
13 * along with this program. If not, see <http://www.gnu.org/licenses/>.
14 */
15
16/* The colors theme is based on the clouds theme */
17@import "clouds.css";
18
19/* Colors for chart boxes, etc. */
20:root {
21}
22
23/* Override Bootstrap formatting */
24
25.select2-container--default .select2-results__option--highlighted[aria-selected] {
26    background-color: #eee;
27    color: #000;
28}
29
30.table-given-name {
31    overflow-x: hidden;
32}
33
34.btn-link {
35	padding: 0 .25rem;
36	color: #333;
37}
38
39.card-header h4 {
40	font-size: 1.2rem;
41}
42
43.btn.focus, .btn:focus {
44	box-shadow: none;
45}
46
47.btn-link:hover, .btn-link:focus {
48	color: #f00;
49	text-decoration: none;
50}
51
52.pagination, .page-link, .page-link:hover, .page-link:focus {
53	border-color: #e6e6e6;
54	color: #555;
55}
56
57.page-item.active .page-link {
58	background-color: #e6e6e6;
59	color: #555;
60	border-color: #ccc;
61}
62
63.form-control:focus{
64	border-color:#ccc;
65	box-shadow:0 0 0 .2rem rgba(128,128,128,.25);
66}
67
68.container-fluid {
69    padding-left: 5px;
70    padding-right: 5px;
71}
72
73table {
74	border-collapse: separate;
75}
76
77/* fit primary and secondary menus on mobile devices */
78@media (max-width: 500px) {
79	.wt-genealogy-menu .nav-item {
80    padding: 0 0.45rem!important;
81    }
82    .wt-user-menu .nav-link {
83	padding: 0.25rem!important;
84	}
85}
86
87/*
88 * Pages have the following high-level structure:
89 *
90 * wt-global wt-theme-<THEME> wt-route-<ROUTE>
91 * +---wt-header-wrapper
92 * |   +---wt-header-container
93 * |       +---wt-header-content
94 * |           +---wt-accessibility-links
95 * |           +---wt-site-logo
96 * |           +---wt-site-title
97 * |           +---wt-header-search
98 * |           |   +---wt-header-search-form
99 * |           |       +---wt-header-search-field
100 * |           |       +---wt-header-search-button
101 * |           +---wt-secondary-navigation
102 * |           |   +---wt-user-menu
103 * |           +---wt-primary-navigation
104 * |               +---wt-genealogy-menu
105 * +---wt-main-wrapper
106 * |   +---wt-main-container
107 * |       +---wt-main-content
108 * |           +---wt-messages
109 * |           +---wt-page-title
110 * |           +---wt-page-options wt-page-options-xxxxx
111 * |           +---wt-page-content
112 * +---wt-footers
113 *     +---wt-footer wt-footer-contact
114 *     +---wt-footer wt-footer-cookies
115 *     +---wt-footer wt-footer-page-views
116 *     +---wt-footer wt-footer-powered-by
117 */
118
119.wt-global {
120	background: #fff;
121	color: #333;
122}
123
124.wt-header-wrapper {
125	background: #acf none;
126}
127
128.wt-header-wrapper .dropdown-item.active {
129	background-color: inherit;
130	color: inherit;
131	font-weight: bold;
132}
133
134.wt-header-container {
135}
136
137.wt-header-content {
138}
139
140.wt-accessibility-links {
141}
142
143.wt-site-logo {
144}
145
146.wt-site-title {
147	order: 1;
148	flex: 1 1 0;
149	font-size: 1.5rem;
150	padding: 0.75rem 0.75rem 0;
151}
152
153.wt-header-search {
154	order: 3;
155	flex: 0 0 15rem;
156	padding-bottom: 0.5rem;
157}
158
159.wt-header-search-form {
160}
161
162.wt-header-search-field {
163}
164
165.wt-header-search-button {
166}
167
168.wt-secondary-navigation {
169	order: 2;
170	flex: 0 0 0;
171	white-space: nowrap;
172}
173
174.wt-user-menu {
175	flex-wrap: nowrap;
176}
177
178.wt-user-menu .nav-link {
179	display: inline-block;
180	padding: 0.5rem;
181	color: inherit; /* Inherit from wt-header-container */
182}
183
184.wt-user-menu .nav-item + .nav-item::before {
185	content: "|";
186}
187
188.wt-user-menu .dropdown-toggle:after {
189	display: none;
190}
191
192.wt-user-menu .menu-color .dropdown-menu {
193	max-height: 60rem;
194}
195
196.wt-primary-navigation {
197	order: 4;
198	flex: 0 0 100%;
199}
200
201.wt-genealogy-menu {
202	/* Extend to full page width */
203	flex: 0 1 100vw;
204	/* Recalculate margins for content */
205	margin: 0 calc(50% - 50vw);
206	padding: 0 calc(50vw - 50%);
207}
208
209.wt-genealogy-menu .dropdown-menu {
210    max-height: 60rem;
211}
212
213.wt-genealogy-menu .nav-item {
214	padding: 0 0.75rem;
215}
216
217.wt-genealogy-menu .nav-link {
218	/* All menu icons are 40px x 40px */
219	height: calc(40px + 1rem);
220	width: 40px;
221}
222
223.wt-genealogy-menu .nav-item::before {
224	/* The size of the menu icons */
225	width: 40px;
226	height: 40px;
227}
228
229.menu-tree .nav-link::before {
230	content: url(colors/menu/tree.png);
231}
232
233.menu-tree .dropdown-item:not(:first-child)::before {
234	content: url(colors/menu/tree-tree.png);
235}
236
237.menu-chart .nav-link::before {
238	content: url(colors/menu/chart.png);
239}
240
241.menu-chart-ancestry::before {
242	content: url(colors/menu/chart-ancestors.png);
243}
244
245.menu-chart-compact::before {
246	content: url(colors/menu/chart-compact.png);
247}
248
249.menu-chart-descendants::before {
250	content: url(colors/menu/chart-descendants.png);
251}
252
253.menu-chart-familybook::before {
254	content: url(colors/menu/chart-family-book.png);
255}
256
257.menu-chart-fanchart::before {
258	content: url(colors/menu/chart-fanchart.png);
259}
260
261.menu-chart-hourglass::before {
262	content: url(colors/menu/chart-hourglass.png);
263}
264
265.menu-chart-lifespan::before {
266	content: url(colors/menu/chart-lifespan.png);
267}
268
269.menu-chart-pedigree::before {
270	content: url(colors/menu/chart-pedigree.png);
271}
272
273.menu-chart-pedigreemap::before {
274	content: url(colors/menu/chart-pedigree-map.png);
275}
276
277.menu-chart-relationship::before {
278	content: url(colors/menu/chart-relationship.png);
279}
280
281.menu-chart-statistics::before {
282	content: url(colors/menu/chart-statistics.png);
283}
284
285.menu-chart-timeline::before {
286	content: url(colors/menu/chart-timeline.png);
287}
288
289.menu-chart-tree::before {
290	content: url(colors/menu/chart-tree.png);
291}
292
293.menu-list .nav-link::before {
294	content: url(colors/menu/list.png);
295}
296
297.menu-branches::before {
298	content: url(colors/menu/branches.png);
299}
300
301.menu-list-fam::before {
302	content: url(colors/menu/list-fam.png);
303}
304
305.menu-list-indi::before {
306	content: url(colors/menu/list-indi.png);
307}
308
309.menu-list-note::before {
310	content: url(colors/menu/list-note.png);
311}
312
313.menu-list-obje::before {
314	content: url(colors/menu/list-obje.png);
315}
316
317.menu-list-plac::before {
318	content: url(colors/menu/list-plac.png);
319}
320
321.menu-list-repo::before {
322	content: url(colors/menu/list-repo.png);
323}
324
325.menu-list-sour::before {
326	content: url(colors/menu/list-sour.png);
327}
328
329.menu-calendar .nav-link::before {
330	content: url(colors/menu/calendar.png);
331}
332
333.menu-calendar-day::before {
334	content: url(colors/menu/calendar-calendar.png);
335}
336
337.menu-calendar-month::before {
338	content: url(colors/menu/calendar-calendar.png);
339}
340
341.menu-calendar-year::before {
342	content: url(colors/menu/calendar-calendar.png);
343}
344
345.menu-report .nav-link::before {
346	content: url(colors/menu/report.png);
347}
348
349.menu-report .dropdown-item:not(:first-child)::before {
350	content: url(colors/menu/report-report.png);
351}
352
353.menu-search .nav-link::before {
354	content: url(colors/menu/search.png);
355}
356
357.menu-search .dropdown-item:not(:first-child)::before {
358	content: url(colors/menu/search-search.png);
359}
360
361.menu-help .nav-link::before {
362	content: url(colors/menu/help.png);
363}
364
365.menu-clippings .nav-link::before {
366	content: url(colors/menu/clippings.png);
367}
368
369.menu-clippings-add::before {
370	content: url(colors/menu/clippings-add.png);
371}
372
373.menu-clippings-cart::before {
374	content: url(colors/menu/clippings-cart.png);
375}
376
377.menu-clippings-download::before {
378	content: url(colors/menu/edit-gedcom.png);
379}
380
381.menu-clippings-empty::before {
382	content: url(colors/menu/edit-delete.png);
383}
384
385.menu-story .nav-link::before {
386	content: url(colors/menu/story.png);
387}
388
389.wt-main-container {
390	/* Space between the header/footer and the main content. */
391	padding-top: 1rem;
392	padding-bottom: 1rem;
393}
394
395.wt-main {
396}
397
398.wt-messages {
399}
400
401.wt-page-title {
402	text-align: center;
403}
404
405.wt-page-options {
406}
407
408.wt-page-options-value {
409    color: #333;
410}
411
412.wt-page-content {
413	margin-top: 1rem;
414}
415
416.wt-footers {
417}
418
419.wt-footer {
420}
421
422.wt-footer-contact {
423}
424
425.wt-footer-cookies {
426	background: #aaa;
427	color: #fff;
428	transition: height 0.5s;
429}
430
431.wt-footer-page-views {
432}
433
434.wt-footer-powered-by {
435}
436
437.wt-footer-powered-by-webtrees {
438	content: url(colors/images/powered-by-webtrees.png);
439}
440
441/*
442 * The tree/user home pages
443 *
444 * wt-home-page / wt-user-page
445 * +---wt-main-blocks
446 * |   +---wt-block, wt-block-AAA
447 * |   +---wt-block, wt-block-BBB
448 * |   +---wt-block, wt-block-CCC
449 * +---wt-side-blocks
450 *     +---wt-block, wt-block-XXX
451 *     +---wt-block, wt-block-YYY
452 *     +---wt-block, wt-block-ZZZ
453 *
454 * Each block as the structure
455 * wt-block, wt-block-XXX
456 * +---wt-block-header, wt-block-header-XXX
457 * +---wt-block-content, wt-block-content-XXX
458 */
459
460.wt-block {
461}
462
463.wt-block-header {
464}
465
466.wt-block-header::before {
467	content: url(colors/images/block-header-disk.png);
468}
469
470.wt-block-content {
471}
472
473/*
474 * The individual page.
475 *
476 * wt-route-individual
477 * +---wt-header-wrapper
478 */
479
480.wt-individual-silhouette {
481}
482
483.wt-individual-silhouette-f {
484}
485
486.wt-individual-silhouette-m {
487}
488
489/*
490 * Chart-boxes are used to build the various charts.
491 *
492 * wt-chart-box
493 * +--- wt-chart-box-thumbnail
494 * +--- wt-chart-box-extra
495 *      +--- wt-chart-box-zoom
496 *           +--- wt-chart-box-icon
497 *           +--- wt-chart-box-dropdown wt-chart-box-zoom-dropdown
498 *      +--- wt-chart-box-links
499 *           +--- wt-chart-box-icon
500 *           +--- wt-chart-box-dropdown wt-chart-box-links-dropdown
501 * +--- wt-chart-box-name
502 * +--- wt-chart-box-lifespan
503 * +--- wt-chart-box-facts
504 *     +--- wt-chart-box-fact
505 */
506.wt-chart-box,
507.wt-chart-box-menu {
508}
509
510.wt-chart-box {
511}
512
513.wt-chart-box-f,
514.wt-chart-box-f .wt-chart-box-dropdown {
515}
516
517.wt-chart-box-m,
518.wt-chart-box-m .wt-chart-box-dropdown {
519}
520
521.wt-chart-box-name {
522	color: #555555;
523}
524
525/* ios on click workaround */
526a {
527	color: #333;
528	text-decoration: none;
529}
530
531a:hover {
532	color: #f00;
533	text-decoration: none;
534}
535
536:focus {
537	outline-style: none;
538}
539
540.flash-messages {
541	clear: both;
542	text-align: center;
543}
544
545img {
546	border: 0;
547}
548
549legend img {
550	height: 20px;
551	vertical-align: middle;
552	width: 20px;
553}
554
555img.block,
556#mycart img {
557	border: 0;
558	height: 25px;
559	vertical-align: middle;
560}
561
562.topbottombar {
563	color: #fff;
564	font-size: 12px;
565	font-weight: bold;
566	padding: 4px;
567	text-align: center;
568}
569
570.button {
571	width: 60px;
572}
573
574.btn-primary.focus, .btn-primary:focus {
575	box-shadow:none;
576	border: 0;
577}
578
579.alpha_index {
580	color: #999;
581}
582
583hr {
584	margin-top: 5px;
585}
586
587table.center {
588	margin-left: auto;
589	margin-right: auto;
590}
591
592.list_table {
593	margin: 0 auto;
594}
595
596.list_label,
597.list_label_wrap {
598	color: #fff;
599	background-color: #81a9cb;
600	border: 1px solid #ddd;
601	font-weight: bold;
602	text-align: center;
603}
604
605.list_value,
606.list_value_wrap {
607	background-color: #edf7f9;
608	border: solid #ddd 1px;
609	vertical-align: top;
610	padding: 4px;
611}
612
613.list_label,
614.list_value {
615	white-space: nowrap;
616}
617
618.list_label_wrap,
619.list_value_wrap {
620	white-space: normal;
621}
622
623div.fact_SHARED_NOTE {
624	clear: both;
625}
626
627/* Table of genealogical facts */
628
629.wt-facts-table {
630	border-collapse: separate;
631}
632
633.wt-facts-table caption {
634	caption-side: top;
635}
636
637.wt-facts-table th {
638	border: 1px solid #ccc;
639	border-radius: 3px;
640	text-align: center;
641	min-width: 20%;
642}
643
644.wt-facts-table td {
645	border: solid #999 1px;
646	border-radius: 3px;
647}
648
649.wt-facts-table .wt-gender-M td {
650	background-color: #ddf;
651}
652
653.wt-facts-table .wt-gender-F td {
654	background-color: #fdd;
655}
656
657.name1 {
658}
659
660.name2 {
661}
662
663a:hover .name1, a:hover .name2 {
664	color: #f00;
665	font-weight: bold;
666	font-size: 12px;
667}
668
669.details2 {
670	font-size: 12px;
671}
672
673.details_label {
674	font-weight: bold;
675}
676
677.name_head {
678	color: #333;
679	font-size: 16px;
680	font-weight: bold;
681	line-height: 2;
682	padding: 0 5px;
683}
684
685.date {
686	color: #333;
687}
688
689.label {
690	font-weight: bold;
691}
692
693.error {
694	font-weight: bold;
695}
696
697.largeError {
698	color: #d00;
699	font-size: large;
700	font-weight: bold;
701}
702
703.warning {
704	color: #f00;
705	font-weight: bold;
706}
707
708.indent {
709	padding-left: 7px;
710}
711
712.image {
713	height: 150px;
714	padding: 5px;
715	margin: 2px;
716}
717
718.thumbnail {
719	height: auto;
720	padding: 3px;
721}
722
723.icon {
724	border: 0;
725	padding: 0 5px;
726}
727
728.subheaders {
729	font-weight: bold;
730	font-size: 15px;
731	margin-top: 15px;
732	vertical-align: bottom;
733}
734
735.parentdeath {
736	border: thin solid #888;
737	padding: 1px;
738}
739
740.source_citations {
741	display: none;
742}
743
744.selected-option {
745	background-color: #edf7fd;
746}
747
748.border1 {
749	border: solid #000 1px;
750}
751
752.journal_box {
753	padding: 3pt;
754	border: thin solid #aaa;
755	overflow: visible;
756}
757
758.news_box {
759	border-top: solid #ccc 1px;
760}
761
762.news_title {
763	font-weight: bold;
764}
765
766.news_date {
767	margin-bottom: 12px;
768}
769
770.current_day {
771	font-weight: bold;
772	font-size: 16px;
773}
774
775.cal_day {
776	float: left;
777	font-weight: bold;
778}
779
780.rtl_cal_day {
781	direction: rtl;
782	float: right;
783	color: #00f;
784	font-weight: bold;
785}
786
787.helpcontent {
788	margin-left: 10px;
789	margin-right: 10px;
790}
791
792.helpcontent dt {
793	clear: both;
794}
795
796#user-page h1 {
797	margin: 0.25em auto 0.6em;
798}
799
800.tvertline {
801	vertical-align: bottom;
802}
803
804#childbox {
805	padding: 5px;
806	position: absolute;
807	display: none;
808	text-align: start;
809	white-space: nowrap;
810	top: 20px;
811	left: 0;
812}
813
814.layout3 #childbox {
815	top: auto;
816	bottom: 20px;
817}
818
819#childbox a.name1 {
820	display: block;
821	margin-left: 5px;
822}
823
824.person0 {
825	background-color: #ddf;
826	border: outset #999 1px;
827	vertical-align: top;
828}
829
830.person1 {
831	background-color: #afa;
832	border: outset #afa 1px;
833	vertical-align: top;
834}
835
836.person2 {
837	background-color: #faa;
838	border: outset #faa 1px;
839	vertical-align: top;
840}
841
842.person3 {
843	background-color: #aad;
844	border: outset #55f 1px;
845	vertical-align: top;
846}
847
848.person4 {
849	background-color: #f55;
850	border: outset #f55 1px;
851	vertical-align: top;
852}
853
854.person5 {
855	background-color: #5f5;
856	border: outset #5f5 1px;
857	vertical-align: top;
858}
859
860.listlog {
861	line-height: 20pt;
862}
863
864.starredname {
865	text-decoration: underline;
866}
867
868.search_hit {
869	background-color: #ff0;
870}
871
872.search_item {
873	font-weight: 600;
874}
875
876.descriptionbox {
877	font-size: 1rem;
878	color: #333;
879	border: 1px solid #999;
880	vertical-align: top;
881	padding: 3px;
882}
883
884.optionbox {
885	font-size: 1rem;
886	color: #333;
887	border: 1px solid #999;
888	vertical-align: top;
889	white-space: nowrap;
890	padding: 3px;
891}
892
893.optionbox .list_value {
894	background-color: #fff;
895	border: 1px solid #999;
896	border-radius: 3px;
897}
898
899.vmiddle {
900	vertical-align: middle;
901}
902
903.red {
904	color: #f00;
905}
906
907.wt-relation-fact,
908.wt-historic-fact {
909	opacity: 0.8;
910}
911
912.messagebox {
913	background-color: #c2ceef;
914	border: solid #ccc 1px;
915}
916
917/* ---Pending edits--- */
918.wt-new {
919}
920
921.wt-old {
922}
923
924.tag_cloud {
925	text-align: center;
926}
927
928.tag_cloud a {
929	white-space: nowrap;
930}
931
932.nowrap {
933	white-space: nowrap;
934}
935
936.wrap {
937	white-space: normal;
938}
939
940.statistics-page {
941	text-align: center;
942}
943
944.gchart {
945	border: solid #999 1px;
946}
947
948#facts_content dd {
949	float: left;
950	width: 70%;
951}
952
953/* this keeps the tag color the same when it is a link as when not */
954
955.place {
956	padding-top: 5px;
957}
958
959#pending h2 {
960	text-align: center;
961	margin-bottom: 20px;
962}
963
964#pending h3 {
965	text-align: center;
966	margin-top: 20px;
967}
968
969#pending .list_value {
970	padding: 3px;
971	text-align: center;
972	vertical-align: middle;
973	white-space: nowrap;
974}
975
976#pending .indent {
977	padding: 0;
978}
979
980/* --- reportengine.php --- */
981#reportengine-page table {
982	margin: 20px auto;
983}
984
985#reportengine-page .report-type {
986	overflow: hidden;
987	margin: auto;
988	width: 180px;
989}
990
991#reportengine-page .report-type div {
992	float: left;
993	margin: 0 20px;
994}
995
996#reportengine-page .report-type p {
997	margin: 0;
998	text-align: center;
999}
1000
1001/* ======== List styles ====== */
1002.surname-list,
1003.givn-list {
1004	margin: 5px auto;
1005}
1006
1007.source-list table,
1008.note-list table,
1009.repo-list table,
1010.media-list table,
1011.indi-list table,
1012.fam-list table {
1013	width: 100%;
1014}
1015
1016.source-list td,
1017.note-list td,
1018.repo-list td,
1019.media-list td,
1020.indi-list td,
1021.fam-list td,
1022.recent_changes_block td,
1023.upcoming_events_block td,
1024.surname-list td,
1025.givn-list td {
1026	padding: 2px 5px;
1027}
1028
1029.surname-list td {
1030	vertical-align: top;
1031}
1032
1033.indi-list .stats,
1034.fam-list .stats {
1035	margin: 0 auto;
1036	width: auto;
1037}
1038
1039.source-list th,
1040.note-list th,
1041.repo-list th,
1042.media-list th,
1043.indi-list th,
1044.fam-list th,
1045.wt-table-changes th,
1046.wt-table-events th,
1047.wt-table-tasks th,
1048.wt-table-yahrzeits th,
1049.surname-list th,
1050.givn-list th {
1051	cursor: pointer;
1052	font-weight: 600;
1053	padding: 2px 4px;
1054	white-space: nowrap;
1055}
1056
1057.source-list th:last-child,
1058.note-list th:last-child,
1059.repo-list th:last-child {
1060	margin: 0 -2px 1px 1px;
1061	padding: 3px 0 4px;
1062	width: 24px;
1063}
1064
1065.givn-list th {
1066	cursor: pointer;
1067	white-space: nowrap;
1068	padding: 2px;
1069	text-align: center;
1070}
1071
1072#source-details h2,
1073#sourcelist-page h2,
1074#note-details h2,
1075#notelist-page h2,
1076#repo-details h2,
1077#repolist-page h2,
1078#media-details h2,
1079#statistics-page h2 {
1080	margin-bottom: 20px;
1081	text-align: center;
1082}
1083
1084#source-edit,
1085#note-edit,
1086#repo-edit,
1087#media-edit {
1088	overflow-x: auto;
1089}
1090
1091.media-list td img {
1092	display: block;
1093	height: 40px;
1094	width: auto;
1095	margin: 3px auto;
1096}
1097
1098.filtersH,
1099.filtersF {
1100	margin: 4px;
1101}
1102
1103.filtersH img {
1104	margin-bottom: 2px;
1105}
1106
1107.list-charts {
1108	text-align: center;
1109}
1110
1111#search-result-tabs h3 {
1112	text-align: center;
1113}
1114
1115#searchAccordion-indi,
1116#searchAccordion-fam,
1117#searchAccordion-source,
1118#searchAccordion-note {
1119	margin: auto;
1120	width: 99%;
1121}
1122
1123#place-hierarchy h2,
1124#place-hierarchy h4 {
1125	text-align: center;
1126}
1127
1128#main_select,
1129#available_select,
1130#right_select {
1131	min-width: 150px;
1132}
1133
1134/* === Who is online block === */
1135.logged_in_list {
1136	margin: 5px 0 0;
1137	padding: 0;
1138	line-height: 20px;
1139}
1140
1141/* ==== Theme select block === */
1142.theme_form ul {
1143	margin: -10px auto;
1144}
1145
1146.theme_form li {
1147	visibility: hidden;
1148}
1149
1150.theme_form li ul li {
1151	display: inline-block;
1152	padding: 10px;
1153	visibility: visible;
1154}
1155
1156/* ==== FAQ table styles ===== */
1157table.faq {
1158	background-color: #e0e0e0;
1159	margin: 5px 0 50px 5px;
1160	width: 98%;
1161}
1162
1163table.faq tr:nth-child(odd) td {
1164	background-color: #e7eef3;
1165}
1166
1167div.faq_title {
1168	background-color: #e0e0e0;
1169	margin: 1em 0;
1170	padding: .25em;
1171	font-weight: bold;
1172	width: 98%;
1173}
1174
1175div.faq_body {
1176	clear: both;
1177	padding: 0 1em;
1178}
1179
1180.faq_top {
1181	float: right;
1182}
1183
1184/* === Positioning edit, copy, delete links === */
1185/* General use */
1186.editfacts {
1187	clear: left;
1188	padding-top: 15px;
1189}
1190
1191/* ======== Indi header ====== */
1192#indi_header {
1193	overflow: hidden;
1194	margin: 0 0 5px;
1195}
1196
1197#indi_header h3 {
1198	color: #555;
1199	font-size: 90%;
1200	font-weight: bold;
1201	margin: 0;
1202	padding: 0 10px 0 30px;
1203	text-align: left;
1204	overflow: hidden;
1205	position: relative;
1206}
1207
1208#indi_header .name_one {
1209	font-size: 1.5em;
1210}
1211
1212#indi_header h3 .details1 {
1213	font-size: 1.0em;
1214}
1215
1216#indi_header h3 .header_age {
1217	padding: 5px 0 5px 5px;
1218	float: right;
1219	font-weight: normal;
1220	font-size: 65%;
1221}
1222
1223#indi_header h3 a {
1224	display: inline;
1225}
1226
1227#indi_header a {
1228	color: #337;
1229	font-size: 0.75em;
1230	font-weight: normal;
1231}
1232
1233#indi_header a:hover {
1234	color: #f00;
1235}
1236
1237#indi_mainimage {
1238	float: left;
1239	padding: 0 2px;
1240}
1241
1242#header_accordion1 {
1243	padding: 0;
1244	overflow: hidden;
1245}
1246
1247#header_accordion1 .indi_name_details {
1248	margin: 0;
1249	overflow: hidden;
1250	padding: 5px;
1251}
1252
1253.indi_name_details .name1 {
1254	font-weight: normal;
1255	padding-top: 5px;
1256	font-size: inherit;
1257}
1258
1259#indi_header a.warning {
1260	color: #f00;
1261	font-size: 1em;
1262}
1263
1264#indi_note {
1265	margin: 0 0 5px;
1266}
1267
1268.indi_table {
1269	clear: left;
1270}
1271
1272#sex {
1273	float: right;
1274}
1275
1276#dates {
1277	float: right;
1278}
1279
1280#individual-names .wt-icon-edit,
1281#individual-names .wt-icon-delete {
1282	float: right;
1283}
1284
1285#indi_note .fact_NOTE {
1286	float: left;
1287	margin: 0 5px 0 0;
1288}
1289
1290#indi_note .fact_SOUR {
1291	margin: 3px 0;
1292}
1293
1294#indi_note .fact_SOUR a {
1295	font-size: 100%;
1296}
1297
1298#indi_note .fact_NOTE,
1299#indi_note .fact_SOUR {
1300	clear: both;
1301}
1302
1303/* markdown formatting */
1304
1305.markdown {
1306	/* Tables and pre-formatted text can break the layout. */
1307	overflow-x: auto;
1308}
1309
1310.markdown p {
1311	margin: 0 0 0.5em;
1312	white-space: pre-wrap;
1313}
1314
1315.markdown table {
1316	border-collapse: collapse;
1317	margin-bottom: 5px;
1318}
1319
1320.markdown th {
1321	font-weight: bold;
1322}
1323
1324.markdown td,
1325.markdown th {
1326	border: solid thin #000;
1327	padding: 3px;
1328}
1329
1330.odometer {
1331	font-family: courier, monospace;
1332	font-weight: bold;
1333	background: #000;
1334	color: #fff;
1335}
1336
1337/* ======== Indi tabs ======== */
1338/* Facts & Events tab */
1339.media-display-image {
1340	float: left;
1341}
1342
1343.media-display-title {
1344	float: left;
1345	font-style: italic;
1346	margin: 10px;
1347}
1348
1349/* Sidebar - Family navigator */
1350.wt-family-navigator-dropdown-heading {
1351	font-weight: bold;
1352	font-size: inherit;
1353	color: inherit;
1354}
1355
1356/* Sidebar - Descendants */
1357#sb_content_descendancy {
1358	margin-top: 2px;
1359}
1360
1361#sb_desc_content {
1362	margin-left: 3px;
1363	font-size: 0.8em;
1364}
1365
1366#sb_desc_content ul {
1367	padding: 0;
1368	margin: 0;
1369}
1370
1371.sb_desc_indi_li {
1372	list-style-type: none;
1373}
1374
1375/* Individuals and Families */
1376#sidebar-content-individuals,
1377#sidebar-content-families {
1378	margin-top: 2px;
1379}
1380
1381.sb_indi_surname_li,
1382.sb_fam_surname_li {
1383	list-style-image: url(colors/images/plus.png);
1384}
1385
1386.name_tree_div ul {
1387	padding: 0;
1388	margin: 0;
1389}
1390
1391.name_tree_div li {
1392	list-style: none;
1393	margin: 0;
1394	padding: 0;
1395}
1396
1397/* Clippings */
1398#sb_clippings_content ul {
1399	padding: 0;
1400	margin: 0;
1401}
1402
1403#sb_clippings_content li {
1404	list-style: none;
1405	margin: 0;
1406	padding: 0;
1407	white-space: nowrap;
1408}
1409
1410/* Extra info */
1411#sb_content_extra_info {
1412	font-size: 80%;
1413	font-weight: bold;
1414	margin-top: 1px;
1415	overflow: hidden;
1416	padding: 5px;
1417}
1418
1419#sb_content_extra_info .editfacts {
1420	float: right;
1421	margin-top: -30px;
1422}
1423
1424#sb_content_extra_info a {
1425	display: block;
1426}
1427
1428#sb_content_extra_info span {
1429	font-weight: normal;
1430}
1431
1432#sb_content_extra_info span a {
1433	display: inline;
1434}
1435
1436#sb_content_extra_info #hitcounter {
1437	border-top: 1px solid #b2c7d7;
1438	font-weight: bold;
1439	padding-top: 5px;
1440}
1441
1442/* http://www.jacklmoore.com/colorbox */
1443#colorbox,
1444#cboxOverlay,
1445#cboxWrapper {
1446	position: absolute;
1447	top: 0;
1448	left: 0;
1449	z-index: 9999;
1450	overflow: hidden;
1451}
1452
1453#cboxWrapper {
1454	max-width: none;
1455}
1456
1457#cboxOverlay {
1458	position: fixed;
1459	width: 100%;
1460	height: 100%;
1461	background: #fff;
1462}
1463
1464#cboxContent {
1465	background: #fff;
1466	overflow: hidden;
1467	position: relative;
1468	padding: 0.5rem;
1469	border: 0.25rem solid #ccc;
1470}
1471
1472#cboxLoadingOverlay,
1473#cboxLoadingGraphic {
1474	position: absolute;
1475	top: 0;
1476	left: 0;
1477	width: 100%;
1478	height: 100%;
1479}
1480
1481.cboxPhoto {
1482	float: left;
1483	margin: auto;
1484	border: 0;
1485	display: block;
1486	max-width: none;
1487}
1488
1489#colorbox,
1490#cboxContent,
1491#cboxLoadedContent {
1492	box-sizing: content-box;
1493}
1494
1495#cboxError {
1496	padding: 50px;
1497	border: 1px solid #ccc;
1498}
1499
1500#cboxLoadedContent {
1501	margin-bottom: 28px;
1502}
1503
1504#cboxTitle {
1505	background: #fff;
1506	position: absolute;
1507	bottom: 0.25rem;
1508	left: 0;
1509	margin: 0 3rem;
1510	text-align: center;
1511}
1512
1513#cboxLoadingGraphic {
1514	background: url(images/loading-32x32.gif) no-repeat center center;
1515}
1516
1517#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {
1518	background: none;
1519	border: 0;
1520	cursor: pointer;
1521	font-family: "Font Awesome\ 5 Free", sans-serif;
1522	font-weight: 900;
1523	overflow: visible;
1524	padding: 0;
1525	position: absolute;
1526}
1527
1528#cboxSlideshow {
1529	bottom: 0.25rem;
1530	right: 0.25rem;
1531}
1532
1533#cboxPrevious {
1534	bottom: 0.25rem;
1535	left: 0.25rem;
1536}
1537
1538#cboxNext {
1539	bottom: 0.25rem;
1540	left: 1.5rem;
1541}
1542
1543#cboxClose {
1544	top: 0.25rem;
1545	right: 0.25rem;
1546}
1547
1548/* Stories module */
1549.story_title {
1550	padding-top: 12px;
1551	font-size: 13px;
1552	height: 32px;
1553	font-weight: bold;
1554}
1555
1556.story_body {
1557	padding: 20px;
1558	white-space: normal;
1559}
1560
1561.story_edit {
1562	padding: 12px;
1563}
1564
1565/*-- Fan chart ---- */
1566.fan_chart_menu {
1567	background: #fff;
1568	position: absolute;
1569	display: none;
1570	z-index: 100;
1571}
1572
1573#fan_chart ul {
1574	list-style-type: none;
1575	margin: 0;
1576}
1577
1578/* Lifespans chart */
1579.wt-lifespans-subtitle {
1580	text-align: center;
1581}
1582
1583.wt-lifespans-scale {
1584	white-space: nowrap;
1585}
1586
1587.wt-lifespans-decade {
1588	width: 70px;
1589	height: 60px;
1590	display: inline-block;
1591	background-image: url(images/lifespan-decade.png);
1592	background-position-y: bottom;
1593	background-repeat: no-repeat;
1594	background-size: 70px 37px;
1595}
1596
1597.wt-lifespans-individuals {
1598	background: #fafafa;
1599}
1600
1601.wt-lifespans-individual {
1602
1603}
1604
1605.wt-lifespans-summary {
1606	background: #ffffff;
1607	border: thin solid #000;
1608	z-index: 1;
1609}
1610
1611.wt-lifespans-summary-link {
1612	font-weight: bold;
1613}
1614
1615/*-- timeline  --*/
1616#timeline_chart {
1617	position: relative;
1618	top: 0;
1619	left: 0;
1620}
1621
1622#field_table {
1623	width: 30%;
1624	min-width: 500px;
1625	border: 1px solid #ddd;
1626}
1627
1628[class^="icon-"],
1629[class*=" icon-"] {
1630	display: inline-block;
1631	vertical-align: middle;
1632	background-repeat: no-repeat;
1633}
1634
1635.icon-add {
1636	width: 14px;
1637	height: 15px;
1638	background-image: url(images/add.png);
1639}
1640
1641.icon-cfamily {
1642	width: 32px;
1643	height: 32px;
1644	background-image: url(colors/images/cfamily.png);
1645}
1646
1647.icon-childless {
1648	width: 25px;
1649	height: 25px;
1650	background-image: url(colors/images/childless.png);
1651}
1652
1653.icon-children {
1654	width: 16px;
1655	height: 16px;
1656	background-image: url(colors/images/children.png);
1657}
1658
1659.icon-clippings {
1660	width: 32px;
1661	height: 32px;
1662	background-image: url(colors/images/clippings.png);
1663}
1664
1665.icon-edit_indi {
1666	width: 22px;
1667	height: 22px;
1668	background-image: url(colors/images/edit_indi.png);
1669}
1670
1671.icon-fam-list {
1672	width: 32px;
1673	height: 32px;
1674	background-image: url(colors/images/sfamily.png);
1675}
1676
1677.icon-indi-list {
1678	width: 32px;
1679	height: 32px;
1680	background-image: url(colors/images/indis.png);
1681}
1682
1683.icon-loading-small {
1684	width: 16px;
1685	height: 16px;
1686	background-image: url(colors/images/indicator.gif);
1687}
1688
1689.icon-media {
1690	width: 32px;
1691	height: 32px;
1692	background-image: url(colors/images/media.png);
1693}
1694
1695.icon-media-list {
1696	width: 32px;
1697	height: 32px;
1698	background-image: url(colors/images/media.png);
1699}
1700
1701.icon-media-next {
1702	width: 20px;
1703	height: 20px;
1704	background-image: url(colors/images/rdarrow.png);
1705}
1706
1707.icon-media-play {
1708	width: 20px;
1709	height: 20px;
1710	background-image: url(colors/images/rarrow.png);
1711}
1712
1713.icon-media-stop {
1714	width: 20px;
1715	height: 20px;
1716	background-image: url(colors/images/stop.png);
1717}
1718
1719.icon-minus {
1720	width: 11px;
1721	height: 11px;
1722	background-image: url(colors/images/minus.png);
1723}
1724
1725.icon-mypage {
1726	width: 22px;
1727	height: 25px;
1728	background-image: url(colors/images/mypage.png);
1729}
1730
1731.icon-note {
1732	width: 33px;
1733	height: 35px;
1734	background-image: url(colors/icons/note.png);
1735}
1736
1737.icon-plus {
1738	width: 11px;
1739	height: 11px;
1740	background-image: url(colors/images/plus.png);
1741}
1742
1743.icon-remove {
1744	width: 16px;
1745	height: 16px;
1746	background-image: url(colors/images/delete.png);
1747}
1748
1749.icon-resn-confidential {
1750	width: 16px;
1751	height: 16px;
1752	background-image: url(colors/images/resn_confidential.png);
1753}
1754
1755.icon-resn-locked {
1756	width: 16px;
1757	height: 16px;
1758	background-image: url(colors/images/resn_locked.png);
1759}
1760
1761.icon-resn-none {
1762	width: 16px;
1763	height: 16px;
1764	background-image: url(colors/images/resn_none.png);
1765}
1766
1767.icon-resn-privacy {
1768	width: 16px;
1769	height: 16px;
1770	background-image: url(colors/images/resn_privacy.png);
1771}
1772
1773.icon-rings {
1774	width: 9px;
1775	height: 9px;
1776	background-image: url(colors/images/rings.png);
1777}
1778
1779.icon-selected {
1780	width: 12px;
1781	height: 12px;
1782	background-image: url(colors/images/selected.png);
1783}
1784
1785
1786.icon-source {
1787	width: 32px;
1788	height: 32px;
1789	background-image: url(colors/images/source.png);
1790}
1791
1792/* Silhouettes on charts */
1793.icon-silhouette-F {
1794	width: 37px;
1795	height: 45px;
1796	background-image: url(colors/images/silhouette_female_small.png);
1797}
1798
1799.icon-silhouette-M {
1800	width: 37px;
1801	height: 45px;
1802	background-image: url(colors/images/silhouette_male_small.png);
1803}
1804
1805.icon-silhouette-U {
1806	width: 37px;
1807	height: 45px;
1808	background-image: url(colors/images/silhouette_unknown_small.png);
1809}
1810
1811/*
1812 * Any element that is loaded dynamically has the class wt-ajax-load.
1813 * We can provide a "loading" placeholder for empty elements with this class.
1814 */
1815.wt-ajax-load:empty {
1816}
1817
1818/*
1819 * Default icons are provided by FontAwesome.
1820 * Some icons get mirrored on RTL pages.  Typiclly arrows
1821 */
1822[dir=rtl] .wt-flip-rtl {
1823}
1824
1825.wt-icon-anniversary {
1826}
1827
1828.wt-icon-arrow-down {
1829	content: url(colors/icons/arrow-down.png);
1830}
1831
1832a > .wt-icon-arrow-down:hover {
1833	content: url(colors/icons/arrow-down-hover.png);
1834}
1835
1836.wt-icon-arrow-left {
1837	content: url(colors/icons/arrow-left.png);
1838}
1839
1840a > .wt-icon-arrow-left:hover {
1841	content: url(colors/icons/arrow-left-hover.png);
1842}
1843
1844.wt-icon-arrow-right {
1845	content: url(colors/icons/arrow-right.png);
1846}
1847
1848a > .wt-icon-arrow-right:hover {
1849	content: url(colors/icons/arrow-right-hover.png);
1850}
1851
1852.wt-icon-arrow-up {
1853	content: url(colors/icons/arrow-up.png);
1854}
1855
1856a > .wt-icon-arrow-up:hover {
1857	content: url(colors/icons/arrow-up-hover.png);
1858}
1859
1860.wt-icon-coordinates {
1861}
1862
1863.wt-icon-reorder {
1864}
1865
1866.wt-icon-sex-f {
1867}
1868
1869.wt-icon-sex-m {
1870}
1871
1872.wt-icon-sex-u {
1873}
1874
1875.wt-icon-sex-x {
1876}
1877
1878.wt-icon-warning {
1879}
1880
1881.wt-icon-zoom-in {
1882	content: url(colors/images/zoomin.png);
1883}
1884
1885.wt-icon-zoom-out {
1886	content: url(colors/images/zoomout.png);
1887}
1888
1889/*
1890 * .wt-icon-bing-maps
1891 * .wt-icon-calendar
1892 * .wt-icon-copy
1893 * .wt-icon-delete
1894 * .wt-icon-edit
1895 * .wt-icon-email
1896 * .wt-icon-family
1897 * .wt-icon-help
1898 * .wt-icon-individual
1899 * .wt-icon-google-maps
1900 * .wt-icon-keyboard
1901 * .wt-icon-media
1902 * .wt-icon-note
1903 * .wt-icon-openstreetmap
1904 * .wt-icon-preferences
1905 * .wt-icon-repository
1906 * .wt-icon-source
1907 * .wt-icon-submitter
1908 */
1909.wt-icon-bing-maps::before {
1910	width: 16px;
1911	height: 16px;
1912	content: url(colors/icons/bing-maps.png);
1913}
1914
1915.wt-icon-calendar::before {
1916	width: 19px;
1917	height: 15px;
1918	content: url(colors/icons/calendar.png)
1919}
1920
1921.wt-icon-copy::before {
1922	width: 16px;
1923	height: 16px;
1924	content: url(colors/icons/copy.png)
1925}
1926
1927.wt-icon-delete::before {
1928	width: 16px;
1929	height: 16px;
1930	content: url(colors/icons/delete.png);
1931}
1932
1933.wt-icon-edit::before {
1934	width: 16px;
1935	height: 16px;
1936	content: url(colors/icons/edit.png);
1937}
1938
1939.wt-icon-family::before {
1940	width: 14px;
1941	height: 15px;
1942	content: url(colors/icons/family.png);
1943}
1944
1945.wt-icon-help::before {
1946	width: 16px;
1947	height: 16px;
1948	content: url(colors/icons/help.png);
1949}
1950
1951.wt-icon-google-maps::before {
1952	width: 16px;
1953	height: 16px;
1954	content: url(colors/icons/google-maps.png);
1955}
1956
1957.wt-icon-individual::before {
1958	width: 11px;
1959	height: 15px;
1960	content: url(colors/icons/individual.png);
1961}
1962
1963.wt-icon-keyboard::before {
1964	width: 30px;
1965	height: 15px;
1966	content: url(colors/icons/keyboard.png);
1967}
1968
1969.wt-icon-media::before {
1970	width: 18px;
1971	height: 16px;
1972	content: url(colors/icons/media.png);
1973}
1974
1975.wt-icon-note::before {
1976	width: 20px;
1977	height: 20px;
1978	content: url(colors/icons/note.png);
1979}
1980
1981.wt-icon-openstreetmap::before {
1982	width: 16px;
1983	height: 16px;
1984	content: url(colors/icons/openstreetmap.png);
1985}
1986
1987.wt-icon-preferences::before {
1988	width: 25px;
1989	height: 25px;
1990	content: url(colors/icons/preferences.png);
1991}
1992
1993.wt-icon-repository::before {
1994	width: 15px;
1995	height: 15px;
1996	content: url(colors/icons/repository.png);
1997}
1998
1999.wt-icon-source::before {
2000	width: 18px;
2001	height: 16px;
2002	content: url(colors/icons/source.png);
2003}
2004
2005.wt-icon-submitter::before {
2006	width: 11px;
2007	height: 15px;
2008	content: url(colors/icons/individual.png);
2009}
2010
2011i[class*="wt-icon-media"] {
2012	opacity: 0.5;
2013}
2014
2015.icon-indis {
2016	width: 25px;
2017	height: 25px;
2018	background-image: url(colors/images/mypage.png);
2019}
2020
2021.icon-patriarch {
2022	width: 20px;
2023	height: 20px;
2024	background-image: url(colors/images/patriarch.png);
2025}
2026
2027.icon-pedigree {
2028	width: 25px;
2029	height: 25px;
2030	background-image: url(colors/images/pedigree.png);
2031}
2032
2033.icon-place {
2034	width: 20px;
2035	height: 20px;
2036	background-image: url(colors/images/place.png);
2037}
2038
2039.icon-repo-list {
2040	width: 20px;
2041	height: 20px;
2042	background-image: url(colors/images/repository.png);
2043}
2044
2045.icon-repository {
2046	width: 20px;
2047	height: 20px;
2048	background-image: url(colors/images/repository.png);
2049}
2050
2051.icon-search {
2052	width: 17px;
2053	height: 17px;
2054	background-image: url(colors/images/search.png);
2055}
2056
2057.icon-sfamily {
2058	width: 22px;
2059	height: 22px;
2060	background-image: url(colors/images/sfamily.png);
2061}
2062
2063.icon-source-list {
2064	width: 20px;
2065	height: 20px;
2066	background-image: url(colors/images/source.png);
2067}
2068
2069.icon-user_add {
2070	width: 25px;
2071	height: 25px;
2072	background-image: url(colors/images/user_add.png);
2073}
2074
2075/* Census assistant */
2076.wt-census-assistant-form-control:focus {
2077}
2078
2079/*
2080 * Drag and drop sortable lists
2081 */
2082.wt-sortable-list {
2083}
2084
2085.wt-sortable-item {
2086}
2087
2088/* Some blocks show a reduced version on the right-hand side. */
2089.wt-side-blocks .wt-side-block-optional {
2090	display: none !important;
2091}
2092
2093/* my page chart enhancements */
2094.wt-block-content-charts {
2095	flex-flow: column-reverse;
2096	overflow: auto;
2097}
2098
2099.wt-block-content-todays-events-block {
2100	padding: .25rem;
2101}
2102
2103/* Some charts are wider than the page. */
2104.wt-chart {
2105	overflow-x: auto;
2106	overflow-y: hidden;
2107}
2108
2109/* Fit thumbnail into parent on charts */
2110.select2-selection.select2-selection--single {
2111	min-height: 36px;
2112	height: auto;
2113	padding: 2px 0;
2114}
2115
2116.select2-container .select2-selection--single .select2-selection__rendered {
2117	padding-left: 2px;
2118}
2119
2120.select2-selection--single .NAME {
2121	padding-left: 4px;
2122}
2123
2124/*
2125 * Place hierarchy
2126 *
2127 * wt-place-hierarchy-page
2128 */
2129
2130#place-hierarchy ul {
2131	list-style-type: none;
2132}
2133
2134.d-table-cell {
2135	padding-right: 5px;
2136}
2137
2138/* Some menus (e.g. languages) can be longer than a page */
2139.dropdown-menu {
2140	max-height: 30rem;
2141	overflow-x: hidden;
2142}
2143
2144/* Forms */
2145.col-form-label {
2146	font-weight: bold;
2147}
2148