xref: /webtrees/resources/css/webtrees.css (revision 9af6b024736711ef85eba12979344b0241b8b348)
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 webtrees theme */
17@import "_base.css";
18@import "_block-charts.css";
19@import "_chart-ancestors.css";
20@import "_chart-compact.css";
21@import "_chart-descendants.css";
22@import "_chart-family-book.css";
23@import "_chart-fan.css";
24@import "_chart-hourglass.css";
25@import "_chart-interactive.css";
26@import "_chart-lifespans.css";
27@import "_chart-pedigree.css";
28@import "_chart-pedigree-map.css";
29@import "_chart-relationships.css";
30@import "_chart-statistics.css";
31@import "_chart-timeline.css";
32@import "_list-branches.css";
33@import "_list-individuals.css";
34@import "_list-media.css";
35@import "_list-notes.css";
36@import "_list-places.css";
37@import "_list-repositories.css";
38@import "_list-sources.css";
39@import "_mime-type-icons.css";
40@import "_on-screen-keyboard.css";
41@import "_tab-relatives.css";
42
43/* Colors for chart boxes, etc. */
44:root {
45	--sex-f-fg: #ff2080;
46	--sex-m-fg: #81a9cb;
47	--sex-u-fg: #81a9cb;
48	--sex-f-bg: #e9daf1;
49	--sex-m-bg: #edf7fd;
50	--sex-u-bg: #ffffff;
51	--chart-line: solid gray thin;
52}
53
54/* Override Bootstrap formatting */
55.btn-link {
56	padding-left: 0.25rem;
57	padding-right: 0.25rem;
58}
59
60.table-given-name {
61	overflow-x: hidden;
62}
63
64.container-fluid {
65	padding-left: 5px;
66	padding-right: 5px;
67}
68
69table {
70	border-collapse: separate;
71}
72
73/*
74 * Pages have the following high-level structure:
75 *
76 * wt-global wt-theme-<THEME> wt-route-<ROUTE>
77 * +---wt-header-wrapper
78 * |   +---wt-header-container
79 * |       +---wt-header-content
80 * |           +---wt-accessibility-links
81 * |           +---wt-site-logo
82 * |           +---wt-site-title
83 * |           +---wt-header-search
84 * |           |   +---wt-header-search-form
85 * |           |       +---wt-header-search-field
86 * |           |       +---wt-header-search-button
87 * |           +---wt-secondary-navigation
88 * |           |   +---wt-user-menu
89 * |           +---wt-primary-navigation
90 * |               +---wt-genealogy-menu
91 * +---wt-main-wrapper
92 * |   +---wt-main-container
93 * |       +---wt-main-content
94 * |           +---wt-messages
95 * |           +---wt-page-title
96 * |           +---wt-page-options wt-page-options-xxxxx
97 * |           +---wt-page-content
98 * +---wt-footers
99 *     +---wt-footer wt-footer-contact
100 *     +---wt-footer wt-footer-cookies
101 *     +---wt-footer wt-footer-page-views
102 *     +---wt-footer wt-footer-powered-by
103 */
104
105.wt-global {
106	color: #555;
107}
108
109.wt-header-wrapper {
110}
111
112.wt-header-container {
113}
114
115.wt-header-content {
116}
117
118.wt-accessibility-links {
119}
120
121.wt-site-logo {
122	order: 1;
123	flex: 0 0 272px;
124}
125
126.wt-site-logo:after {
127	height: 50px;
128	width: 242px;
129	content: url(webtrees/images/webtrees.png);
130}
131
132.wt-site-title {
133	order: 3;
134	flex: 0 0 calc(100% - 15rem);
135	font-size: 1.5rem;
136	font-weight: normal;
137}
138
139.wt-header-search {
140	order: 4;
141	flex: 0 0 15rem;
142	position: relative;
143	top: -0.75rem;
144}
145
146.wt-header-search-form {
147}
148
149.wt-header-search-field {
150}
151
152.wt-header-search-button {
153}
154
155.wt-secondary-navigation {
156	order: 2;
157	white-space: nowrap;
158	margin-bottom: 15px;
159}
160
161.wt-user-menu {
162	flex-wrap: nowrap;
163	justify-content: flex-end;
164}
165
166.wt-user-menu .nav-link {
167	display: inline-block;
168	padding: 0.5rem;
169}
170
171.wt-user-menu .nav-item + .nav-item::before {
172	content: "|";
173}
174
175.wt-user-menu .dropdown-toggle::after {
176	display: none;
177}
178
179.wt-primary-navigation {
180	order: 5;
181	/* Extend to full page width */
182	flex: 0 0 100vw;
183	max-width: 100vw;
184	/* Recalculate margins for content */
185	margin: 0 calc(50% - 50vw);
186	padding: 0 calc(50vw - 50%);
187	border-bottom: 2px solid #81a9cb;
188	border-top: 2px solid #81a9cb;
189}
190
191.wt-genealogy-menu {
192	justify-content: center;
193}
194
195.wt-genealogy-menu .nav-item {
196	text-align: center;
197	min-width: 5rem;
198}
199
200.wt-genealogy-menu .nav-link::before {
201	display: block;
202}
203
204.wt-genealogy-menu .dropdown-toggle::after {
205	display: none;
206}
207
208.wt-genealogy-menu .dropdown-menu {
209	border-radius: 0;
210	border: thin solid #aaa;
211}
212
213.wt-genealogy-menu .dropdown-item {
214	/* Space between icons and align with submenu icons */
215	padding: 0 5px 0 0;
216	line-height: 1.0;
217}
218
219.wt-genealogy-menu .dropdown-item::before {
220	vertical-align: text-top;
221	line-height: 2.4;
222	padding: 0 .25rem;
223}
224
225.menu-tree .nav-link::before {
226	content: url(webtrees/menu/tree.png);
227}
228
229.menu-tree .dropdown-item::before {
230	content: url(webtrees/menu/tree-tree.png);
231}
232
233.menu-chart .nav-link::before {
234	content: url(webtrees/menu/chart.png);
235}
236
237.menu-chart-ancestry::before {
238	content: url(webtrees/menu/chart-ancestors.png);
239}
240
241.menu-chart-compact::before {
242	content: url(webtrees/menu/chart-compact.png);
243}
244
245.menu-chart-descendants::before {
246	content: url(webtrees/menu/chart-descendants.png);
247}
248
249.menu-chart-familybook::before {
250	content: url(webtrees/menu/chart-family-book.png);
251}
252
253.menu-chart-fanchart::before {
254	content: url(webtrees/menu/chart-fanchart.png);
255}
256
257.menu-chart-hourglass::before {
258	content: url(webtrees/menu/chart-hourglass.png);
259}
260
261.menu-chart-lifespan::before {
262	content: url(webtrees/menu/chart-lifespan.png);
263}
264
265.menu-chart-pedigree::before {
266	content: url(webtrees/menu/chart-pedigree.png);
267}
268
269.menu-chart-pedigreemap::before {
270	content: url(webtrees/menu/chart-pedigree-map.png);
271}
272
273.menu-chart-relationship::before {
274	content: url(webtrees/menu/chart-relationship.png);
275}
276
277.menu-chart-statistics::before {
278	content: url(webtrees/menu/chart-statistics.png);
279}
280
281.menu-chart-timeline::before {
282	content: url(webtrees/menu/chart-timeline.png);
283}
284
285.menu-chart-tree::before {
286	content: url(webtrees/menu/chart-tree.png);
287}
288
289.menu-list .nav-link::before {
290	content: url(webtrees/menu/list.png);
291}
292
293.menu-branches::before {
294	content: url(webtrees/menu/branches.png);
295}
296
297.menu-list-fam::before {
298	content: url(webtrees/menu/list-fam.png);
299}
300
301.menu-list-indi::before {
302	content: url(webtrees/menu/list-indi.png);
303}
304
305.menu-list-note::before {
306	content: url(webtrees/menu/list-note.png);
307}
308
309.menu-list-obje::before {
310	content: url(webtrees/menu/list-obje.png);
311}
312
313.menu-list-plac::before {
314	content: url(webtrees/menu/list-plac.png);
315}
316
317.menu-list-repo::before {
318	content: url(webtrees/menu/list-repo.png);
319}
320
321.menu-list-sour::before {
322	content: url(webtrees/menu/list-sour.png);
323}
324
325.menu-calendar .nav-link::before {
326	content: url(webtrees/menu/calendar.png);
327}
328
329.menu-calendar-day::before {
330	content: url(webtrees/menu/calendar-calendar.png);
331}
332
333.menu-calendar-month::before {
334	content: url(webtrees/menu/calendar-calendar.png);
335}
336
337.menu-calendar-year::before {
338	content: url(webtrees/menu/calendar-calendar.png);
339}
340
341.menu-report .nav-link::before {
342	content: url(webtrees/menu/report.png);
343}
344
345.menu-report .dropdown-item::before {
346	content: url(webtrees/menu/report-report.png);
347}
348
349.menu-search .nav-link::before {
350	content: url(webtrees/menu/search.png);
351}
352
353.menu-search .dropdown-item::before {
354	content: url(webtrees/menu/search-search.png);
355}
356
357.menu-help .nav-link::before {
358	content: url(webtrees/menu/help.png);
359}
360
361.menu-clippings .nav-link::before {
362	content: url(webtrees/menu/clippings.png);
363}
364
365.menu-clippings-add::before {
366	content: url(webtrees/menu/clippings-add.png);
367}
368
369.menu-clippings-cart::before {
370	content: url(webtrees/menu/clippings-cart.png);
371}
372
373.menu-clippings-download::before {
374	content: url(webtrees/menu/edit-preferences.png);
375}
376
377.menu-clippings-empty::before {
378	content: url(webtrees/menu/edit-delete.png);
379}
380
381.menu-fam .nav-link::before {
382	content: url(webtrees/menu/fam.png);
383}
384
385.menu-fam-change::before {
386	content: url(webtrees/menu/edit-famchange.png);
387}
388
389.menu-fam-addchil::before {
390	content: url(webtrees/menu/edit-addchil.png);
391}
392
393.menu-fam-orderchil::before {
394	content: url(webtrees/menu/edit-orderchil.png);
395}
396
397.menu-fam-del::before {
398	content: url(webtrees/menu/edit-delete.png);
399}
400
401.menu-fam-addfav::before {
402	content: url(webtrees/menu/edit-add-favorite.png);
403}
404
405.menu-fam-editraw::before {
406	content: url(webtrees/menu/edit-fam.png);
407}
408
409.menu-indi .nav-link::before {
410	content: url(webtrees/menu/indi.png);
411}
412
413.menu-indi-addname::before {
414	content: url(webtrees/menu/edit-indi.png);
415}
416
417.menu-indi-editsex::before {
418	content: url(webtrees/menu/edit-indi.png);
419}
420
421.menu-indi-del::before {
422	content: url(webtrees/menu/edit-delete.png);
423}
424
425.menu-indi-addfav::before {
426	content: url(webtrees/menu/edit-add-favorite.png);
427}
428
429.menu-indi-editraw::before {
430	content: url(webtrees/menu/edit-indi.png);
431}
432
433.menu-obje .nav-link::before {
434	content: url(webtrees/menu/obje.png);
435}
436
437.menu-obje-edit::before {
438	content: url(webtrees/menu/edit-obje.png);
439}
440
441.menu-obje-link::before {
442	content: url(webtrees/menu/edit-link.png);
443}
444
445.menu-obje-del::before {
446	content: url(webtrees/menu/edit-delete.png);
447}
448
449.menu-obje-addfav::before {
450	content: url(webtrees/menu/edit-add-favorite.png);
451}
452
453.menu-obje-editraw::before {
454	content: url(webtrees/menu/edit-obje.png);
455}
456
457.menu-note .nav-link::before {
458	content: url(webtrees/menu/note.png);
459}
460
461.menu-note-edit::before {
462	content: url(webtrees/menu/edit-note.png);
463}
464
465.menu-note-del::before {
466	content: url(webtrees/menu/edit-delete.png);
467}
468
469.menu-note-addfav::before {
470	content: url(webtrees/menu/edit-add-favorite.png);
471}
472
473.menu-note-editraw::before {
474	content: url(webtrees/menu/edit-note.png);
475}
476
477.menu-record .nav-link::before {
478	content: url(webtrees/menu/indi.png);
479}
480
481.menu-record-del::before {
482	content: url(webtrees/menu/edit-delete.png);
483}
484
485.menu-record-editraw::before {
486	content: url(webtrees/menu/edit-record.png);
487}
488
489.menu-repo .nav-link::before {
490	content: url(webtrees/menu/repo.png);
491}
492
493.menu-repo-edit::before {
494	content: url(webtrees/menu/edit-repo.png);
495}
496
497.menu-repo-del::before {
498	content: url(webtrees/menu/edit-delete.png);
499}
500
501.menu-repo-addfav::before {
502	content: url(webtrees/menu/edit-add-favorite.png);
503}
504
505.menu-repo-editraw::before {
506	content: url(webtrees/menu/edit-repo.png);
507}
508
509.menu-sour .nav-link::before {
510	content: url(webtrees/menu/sour.png);
511}
512
513.menu-sour-edit::before {
514	content: url(webtrees/menu/edit-sour.png);
515}
516
517.menu-sour-del::before {
518	content: url(webtrees/menu/edit-delete.png);
519}
520
521.menu-sour-addfav::before {
522	content: url(webtrees/menu/edit-add-favorite.png);
523}
524
525.menu-sour-editraw::before {
526	content: url(webtrees/menu/edit-sour.png);
527}
528
529.menu-story .nav-link::before {
530	content: url(webtrees/menu/story.png);
531}
532
533.wt-main-container {
534	/* Space between the header/footer and the main content. */
535	padding-top: 1rem;
536	padding-bottom: 1rem;
537}
538
539.wt-main {
540}
541
542.wt-messages {
543}
544
545.wt-page-title {
546	color: #006;
547	font-size: 1.5rem;
548	font-weight: bold;
549	text-align: center;
550}
551
552.wt-page-options {
553}
554
555.wt-page-content {
556}
557
558.wt-page-options .form-group {
559	margin-bottom: 2px;
560}
561
562.wt-page-options-label {
563	color: #fff;
564	background-color: #81a9cb;
565	font-weight: bold;
566	border-left: 2px solid transparent;
567	border-right: 2px solid transparent;
568}
569
570.wt-page-options-value {
571	background-color: #edf7f9;
572	border: solid #81a9cb 1px;
573	padding: 0.25rem 0.75rem;
574}
575
576.wt-page-content {
577	margin-top: 1rem;
578}
579
580.wt-footers {
581}
582
583.wt-footer {
584}
585
586.wt-footer-contact {
587}
588
589.wt-footer-cookies {
590	background: #aaa;
591	color: #fff;
592	transition: height 0.5s;
593}
594
595.wt-footer-page-views {
596}
597
598.wt-footer-powered-by {
599}
600
601.wt-footer-powered-by-webtrees {
602	width: 100px;
603	height: 21px;
604	content: url(images/powered-by-webtrees.png);
605}
606
607/*
608 * The tree/user home pages
609 *
610 * wt-home-page / wt-user-page
611 * +---wt-main-blocks
612 * |   +---wt-block, wt-block-AAA
613 * |   +---wt-block, wt-block-BBB
614 * |   +---wt-block, wt-block-CCC
615 * +---wt-side-blocks
616 *     +---wt-block, wt-block-XXX
617 *     +---wt-block, wt-block-YYY
618 *     +---wt-block, wt-block-ZZZ
619 *
620 * Each block as the structure
621 * wt-block, wt-block-XXX
622 * +---wt-block-header, wt-block-header-XXX
623 * +---wt-block-content, wt-block-content-XXX
624 */
625
626.wt-block {
627	background-color: #edf7fd;
628	border: solid #81a9cb 1px;
629}
630
631.wt-block-header {
632	background-color: #edf7fd;
633	border-bottom: none;
634	font-weight: bold;
635}
636
637.wt-block-content {
638}
639
640.wt-block-content .list_table {
641	border-spacing: 1px;
642	border: solid #81a9cb 1px;
643	border-right: 0;
644}
645
646.wt-block-content .list_value,
647.wt-block-content .list_value_wrap {
648	border: 0;
649	border-top: solid #81a9cb 1px;
650	border-right: solid #81a9cb 1px;
651}
652
653/*
654 * The individual page.
655 *
656 * wt-route-individual
657 * +---wt-header-wrapper
658 */
659
660.wt-individual-silhouette {
661	content: url(images/individual-silhouette-unknown.png);
662}
663
664.wt-individual-silhouette-f {
665	content: url(images/individual-silhouette-female.png);
666}
667
668.wt-individual-silhouette-m {
669	content: url(images/individual-silhouette-male.png);
670}
671
672/*
673 * Chart-boxes are used to build the various charts.
674 * Each type of chart will set its own size and hide/show content.
675 *
676 * wt-chart-box
677 * +--- wt-chart-box-thumbnail
678 * +--- wt-chart-box-extra
679 *      +--- wt-chart-box-zoom
680 *           +--- wt-chart-box-icon
681 *           +--- wt-chart-box-dropdown wt-chart-box-zoom-dropdown
682 *      +--- wt-chart-box-links
683 *           +--- wt-chart-box-icon
684 *           +--- wt-chart-box-dropdown wt-chart-box-links-dropdown
685 * +--- wt-chart-box-name
686 * +--- wt-chart-box-lifespan
687 * +--- wt-chart-box-facts
688 *     +--- wt-chart-box-fact
689 */
690.wt-chart-box,
691.wt-chart-box-menu {
692	background: var(--sex-u-bg);
693	border: dashed var(--sex-u-fg) thin;
694}
695
696.wt-chart-box {
697	height: 5rem;
698	padding: 2px;
699	line-height: 1.1;
700}
701
702.wt-chart-box-f,
703.wt-chart-box-f .wt-chart-box-dropdown {
704	background: var(--sex-f-bg);
705	border: solid var(--sex-f-fg) thin;
706}
707
708.wt-chart-box-m,
709.wt-chart-box-m .wt-chart-box-dropdown {
710	background: var(--sex-m-bg);
711	border: solid var(--sex-m-fg) thin;
712}
713
714/*
715 * Calendar
716 *
717 * wt-calendar-page
718 */
719
720/*
721 * Reports
722 *
723 * wt-reports-page
724 */
725
726/*
727 * Search
728 *
729 * wt-search-page, wt-general-serach-page/wt-phonetic-search-page/wt-advanced-search-page/wt-search-replace-page
730 */
731
732a {
733	color: #555;
734	text-decoration: none;
735}
736
737a:hover {
738	color: #f00;
739	text-decoration: none;
740}
741
742:focus {
743	outline-style: none;
744}
745
746.flash-messages {
747	clear: both;
748	text-align: center;
749}
750
751img {
752	border: 0;
753}
754
755legend img {
756	height: 20px;
757	vertical-align: middle;
758	width: 20px;
759}
760
761img.block,
762#mycart img {
763	border: 0;
764	height: 25px;
765	vertical-align: middle;
766}
767
768.topbottombar {
769	background-color: #81a9cb;
770	color: #fff;
771	font-weight: bold;
772	padding: 4px;
773	text-align: center;
774}
775
776#mycart a img {
777	height: 15px;
778}
779
780.button {
781	width: 60px;
782}
783
784.alpha_index {
785	color: #999;
786}
787
788.news_box:target,
789#gedcom_stats:target {
790	background-color: #ffc;
791}
792
793/* families tab person box */
794table.center {
795	margin-left: auto;
796	margin-right: auto;
797}
798
799.list_table {
800	margin: 0 auto;
801}
802
803.list_label,
804.list_label_wrap {
805	color: #fff;
806	background-color: #81a9cb;
807	font-weight: bold;
808	text-align: center;
809}
810
811.list_value,
812.list_value_wrap {
813	background-color: #edf7f9;
814	border: solid #81a9cb 1px;
815	vertical-align: top;
816	padding: 4px;
817}
818
819.list_label,
820.list_value {
821	white-space: nowrap;
822}
823
824.list_label_wrap,
825.list_value_wrap {
826	white-space: normal;
827}
828
829div.fact_SHARED_NOTE {
830	clear: both;
831}
832
833/* Table of genealogical facts */
834
835.wt-facts-table caption {
836	caption-side: top;
837}
838
839.wt-facts-table th {
840	background-color: #81a9cb;
841	border: solid #81a9cb 1px;
842	text-align: center;
843	font-weight: normal;
844	min-width: 20%;
845}
846
847.wt-facts-table td {
848	background-color: #edf7fd;
849	border: solid #81a9cb 1px;
850}
851
852.wt-facts-table .wt-gender-M td {
853	background-color: #edf7fd;
854	border-color: #81a9cb;
855}
856
857.wt-facts-table .wt-gender-F td {
858	background-color: #e9daf1;
859	border-color: #ff2080;
860}
861
862.tabs_table {
863	width: 99%;
864}
865
866.name1 {
867	font-weight: bold;
868	font-size: 12px;
869}
870
871.name2 {
872	font-size: 16px;
873}
874
875a:hover .name1, a:hover .name2 {
876	color: #f00;
877	font-weight: bold;
878	font-size: 12px;
879}
880
881a:hover .nameZoom {
882	color: #f00;
883	font-size: 16px;
884	font-weight: bold;
885}
886
887.details0,
888.details1 {
889	font-size: 11px;
890}
891
892.details2 {
893	font-size: 12px;
894}
895
896.nameZoom {
897	color: #555;
898	font-size: 16px;
899	font-weight: bold;
900}
901
902.details_label {
903	font-weight: bold;
904}
905
906.name_head {
907	color: #555;
908	font-size: 16px;
909	font-weight: bold;
910	line-height: 2;
911	padding: 0 5px;
912}
913
914.date {
915	color: #337;
916}
917
918.label {
919	font-weight: bold;
920}
921
922.error {
923	color: #d00;
924	font-weight: bold;
925}
926
927.largeError {
928	color: #d00;
929	font-size: large;
930	font-weight: bold;
931}
932
933.warning {
934	color: #f00;
935	font-weight: bold;
936}
937
938.indent {
939	padding-left: 20px;
940}
941
942.image {
943	height: 150px;
944	padding: 5px;
945	margin: 2px;
946}
947
948.gender_image {
949	margin: 0 3px;
950	border: 0;
951	vertical-align: middle;
952}
953
954.thumbnail {
955	height: auto;
956	padding: 3px;
957}
958
959.icon {
960	border: 0;
961	padding: 0 5px;
962}
963
964.sublinks_cell {
965	background-color: #edf7fd;
966	font-size: 12px;
967}
968
969.submenu .icon {
970	vertical-align: middle;
971	width: 20px;
972	height: 20px;
973}
974
975.subheaders {
976	font-weight: bold;
977	font-size: 15px;
978	margin-top: 15px;
979	vertical-align: bottom;
980}
981
982#family-table .subheaders:first-child {
983	width: 285px;
984}
985
986.parentdeath {
987	border: thin solid #888;
988	padding: 1px;
989}
990
991.source_citations {
992	display: none;
993}
994
995.selected-option {
996	background-color: #edf7fd;
997}
998
999.border1 {
1000	border: solid #000 1px;
1001}
1002
1003.menuitem {
1004	text-decoration: none;
1005	font-size: 11px;
1006	padding: 1px;
1007}
1008
1009.menuitem_hover {
1010	text-decoration: none;
1011	font-size: 11px;
1012	padding: 1px;
1013}
1014
1015.menuitem .icon, .menuitem_hover .icon {
1016	width: 50px;
1017	height: 50px;
1018}
1019
1020.submenu {
1021	text-decoration: none;
1022	font-size: 11px;
1023	background-color: #edf7fd;
1024	border: solid #81a9cb 1px;
1025	visibility: hidden;
1026	position: absolute;
1027	padding: 5px;
1028}
1029
1030.submenuitem {
1031	vertical-align: middle;
1032	font-size: 11px;
1033	height: 20px;
1034	text-decoration: none;
1035	background-color: #edf7fd;
1036	padding: 1px;
1037	white-space: nowrap;
1038}
1039
1040.submenuitem_hover {
1041	vertical-align: middle;
1042	height: 20px;
1043	font-size: 11px;
1044	background-color: #e6f0fa;
1045	white-space: nowrap;
1046	padding: 1px;
1047}
1048
1049.submenuitem a,
1050.submenuitem_hover a {
1051	display: inline-block;
1052	vertical-align: middle;
1053}
1054
1055.journal_box {
1056	padding: 3pt;
1057	border: thin solid #aaa;
1058	overflow: visible;
1059}
1060
1061.news_box {
1062	background-color: #edf7fd;
1063	border-top: solid #81a9cb 1px;
1064}
1065
1066.news_title {
1067	font-weight: bold;
1068}
1069
1070.news_date {
1071	margin-bottom: 12px;
1072}
1073
1074.current_day {
1075	font-weight: bold;
1076	font-size: 16px;
1077}
1078
1079.cal_day {
1080	float: left;
1081	font-weight: bold;
1082}
1083
1084.rtl_cal_day {
1085	direction: rtl;
1086	float: right;
1087	color: #00f;
1088	font-weight: bold;
1089}
1090
1091.helpcontent {
1092	margin-left: 10px;
1093	margin-right: 10px;
1094}
1095
1096.helpcontent dt {
1097	clear: both;
1098}
1099
1100#user-page h1 {
1101	margin: 0.25em auto 0.6em;
1102}
1103
1104.tvertline {
1105	vertical-align: bottom;
1106}
1107
1108#childbox {
1109	padding: 5px;
1110	position: absolute;
1111	display: none;
1112	text-align: start;
1113	white-space: nowrap;
1114	top: 20px;
1115	left: 0;
1116}
1117
1118.layout3 #childbox {
1119	top: auto;
1120	bottom: 20px;
1121}
1122
1123#childbox a.name1 {
1124	display: block;
1125	margin-left: 5px;
1126}
1127
1128.person0 {
1129	background-color: #aaf;
1130	border: outset #aaf 1px;
1131	vertical-align: top;
1132}
1133
1134.person1 {
1135	background-color: #afa;
1136	border: outset #afa 1px;
1137	vertical-align: top;
1138}
1139
1140.person2 {
1141	background-color: #faa;
1142	border: outset #faa 1px;
1143	vertical-align: top;
1144}
1145
1146.person3 {
1147	background-color: #55f;
1148	border: outset #55f 1px;
1149	vertical-align: top;
1150}
1151
1152.person4 {
1153	background-color: #f55;
1154	border: outset #f55 1px;
1155	vertical-align: top;
1156}
1157
1158.person5 {
1159	background-color: #5f5;
1160	border: outset #5f5 1px;
1161	vertical-align: top;
1162}
1163
1164.listlog {
1165	line-height: 20pt;
1166}
1167
1168.starredname {
1169	text-decoration: underline;
1170}
1171
1172.search_hit {
1173	background-color: #ff0;
1174}
1175
1176.search_item {
1177	font-weight: 600;
1178}
1179
1180.descriptionbox {
1181	color: #fff;
1182	font-size: 12px;
1183	background-color: #81a9cb;
1184	border: solid #81a9cb 1px;
1185	vertical-align: top;
1186	padding: 3px;
1187}
1188
1189.optionbox {
1190	background-color: #d1d9ef;
1191	font-size: 1rem;
1192	border: solid #81a9cb 1px;
1193	vertical-align: top;
1194	white-space: nowrap;
1195	padding: 3px;
1196}
1197
1198.vmiddle {
1199	vertical-align: middle;
1200}
1201
1202.red {
1203	color: #f00;
1204}
1205
1206.wt-relation-fact,
1207.wt-historic-fact {
1208	opacity: 0.8;
1209}
1210
1211.font9 {
1212	font-size: 9px;
1213}
1214
1215.font11 {
1216	font-size: 11px;
1217}
1218
1219.messagebox {
1220	background-color: #c2ceef;
1221	border: solid #81a9cb 1px;
1222}
1223
1224/* ---Pending edits--- */
1225.new {
1226	outline: solid blue 1px;
1227}
1228
1229.old {
1230	outline: solid red 1px;
1231}
1232
1233.tag_cloud {
1234	text-align: center;
1235}
1236
1237.tag_cloud a {
1238	white-space: nowrap;
1239}
1240
1241.nowrap {
1242	white-space: nowrap;
1243}
1244
1245.wrap {
1246	white-space: normal;
1247}
1248
1249.statistics-page {
1250	text-align: center;
1251}
1252
1253.gchart {
1254	border: solid #81a9cb 1px;
1255}
1256
1257/* ---Find special characters--- */
1258.largechars {
1259	font-family: monospace;
1260	font-size: 200%;
1261}
1262
1263#facts_content dd {
1264	float: left;
1265	width: 70%;
1266}
1267
1268td.descriptionbox a {
1269	color: #fff;
1270}
1271
1272/* this keeps the tag color the same when it is a link as when not */
1273
1274.place {
1275	padding-top: 5px;
1276}
1277
1278#pending h2 {
1279	text-align: center;
1280	margin-bottom: 20px;
1281}
1282
1283#pending h3 {
1284	text-align: center;
1285	margin-top: 20px;
1286}
1287
1288#pending a {
1289	font-weight: 700;
1290	color: #555;
1291}
1292
1293#pending a:hover {
1294	color: #f00;
1295}
1296
1297#pending .list_value {
1298	padding: 3px;
1299	text-align: center;
1300	vertical-align: middle;
1301	white-space: nowrap;
1302}
1303
1304#pending .indent {
1305	padding: 0;
1306}
1307
1308/* --- reportengine.php --- */
1309#reportengine-page table {
1310	margin: 20px auto;
1311}
1312
1313#reportengine-page .report-type {
1314	overflow: hidden;
1315	margin: auto;
1316	width: 180px;
1317}
1318
1319#reportengine-page .report-type div {
1320	float: left;
1321	margin: 0 20px;
1322}
1323
1324#reportengine-page .report-type p {
1325	margin: 0;
1326	text-align: center;
1327}
1328
1329/* styles for popup menus */
1330.itr {
1331	position: absolute;
1332	line-height: 1.5;
1333}
1334
1335.popup {
1336	position: absolute;
1337	top: 20px;
1338	right: 0;
1339	left: auto;
1340	visibility: hidden;
1341	opacity: 0;
1342	transition: visibility 0s ease .25s, opacity .25s ease;
1343	z-index: 9999;
1344	box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, .4);
1345}
1346
1347.popup ul {
1348	white-space: nowrap;
1349	list-style: none;
1350	margin: 0;
1351	padding: 0 10px;
1352	font-size: smaller;
1353}
1354
1355.popup > ul {
1356	padding: 2px 10px;
1357}
1358
1359.popup li .NAME {
1360	padding: 0 5px;
1361}
1362
1363.itr:hover .popup {
1364	visibility: visible;
1365	opacity: 1;
1366	transition-delay: 0s;
1367}
1368
1369/* styles for FindFacts pop-up */
1370#layDefinedTags,
1371#tabDefinedTagsShow {
1372	width: 450px;
1373}
1374
1375#tabDefinedTags {
1376	width: 430px;
1377}
1378
1379#layDefinedTags {
1380	margin-left: auto;
1381	margin-right: auto;
1382	height: 285px;
1383	overflow: auto;
1384}
1385
1386#tabDefinedTags {
1387	border-collapse: collapse;
1388}
1389
1390#tabDefinedTags th,
1391#tabDefinedTags td {
1392	border: solid 1px #000;
1393	margin: 0;
1394	padding: 3px;
1395}
1396
1397#tabDefinedTags tbody th {
1398	text-align: left;
1399	font-weight: bold;
1400}
1401
1402#tabDefinedTags tr.sel {
1403	background-color: #d1d9ef;
1404	color: #888;
1405}
1406
1407#tabDefinedTags tr.unsel {
1408	background-color: #fff;
1409	color: #888;
1410}
1411
1412#tabDefinedTagsShow {
1413	margin-left: auto;
1414	margin-right: auto;
1415}
1416
1417#tabDefinedTagsShow td {
1418	width: 50%;
1419	text-align: center;
1420}
1421
1422#tabFilterAndCustom {
1423	margin-left: auto;
1424	margin-right: auto;
1425}
1426
1427#tabAction {
1428	margin-left: auto;
1429	margin-right: auto;
1430}
1431
1432#tabAction td {
1433	width: 50%;
1434	text-align: center;
1435}
1436
1437/* ======== List styles ====== */
1438.surname-list,
1439.givn-list {
1440	margin: 5px auto;
1441}
1442
1443.source-list table,
1444.note-list table,
1445.repo-list table,
1446.media-list table,
1447.indi-list table,
1448.fam-list table {
1449	width: 100%;
1450}
1451
1452.source-list td,
1453.note-list td,
1454.repo-list td,
1455.media-list td,
1456.indi-list td,
1457.fam-list td,
1458.surname-list td,
1459.givn-list td {
1460	padding: 2px 5px;
1461}
1462
1463.surname-list td {
1464	vertical-align: top;
1465}
1466
1467.indi-list .stats,
1468.fam-list .stats {
1469	margin: 0 auto;
1470	width: auto;
1471}
1472
1473.source-list th,
1474.note-list th,
1475.repo-list th,
1476.media-list th,
1477.indi-list th,
1478.fam-list th,
1479.wt-table-changes th,
1480.wt-table-events th,
1481.wt-table-tasks th,
1482.wt-table-yahrzeits th,
1483.surname-list th,
1484.givn-list th {
1485	cursor: pointer;
1486	font-weight: 600;
1487	padding: 2px 4px;
1488	white-space: nowrap;
1489}
1490
1491.source-list th:last-child,
1492.note-list th:last-child,
1493.repo-list th:last-child {
1494	margin: 0 -2px 1px 1px;
1495	padding: 3px 0 4px;
1496	width: 24px;
1497}
1498
1499.givn-list th {
1500	cursor: pointer;
1501	white-space: nowrap;
1502	padding: 2px;
1503	text-align: center;
1504}
1505
1506#source-details h2,
1507#sourcelist-page h2,
1508#note-details h2,
1509#notelist-page h2,
1510#repo-details h2,
1511#repolist-page h2,
1512#media-details h2,
1513#statistics-page h2 {
1514	margin-bottom: 20px;
1515	text-align: center;
1516}
1517
1518#source-edit,
1519#note-edit,
1520#repo-edit,
1521#media-edit {
1522	overflow-x: auto;
1523}
1524
1525.media-list td img {
1526	display: block;
1527	height: 40px;
1528	width: auto;
1529	margin: 3px auto;
1530}
1531
1532.filtersH,
1533.filtersF {
1534	margin: 4px;
1535}
1536
1537.filtersH img {
1538	margin-bottom: 2px;
1539}
1540
1541.list-charts {
1542	text-align: center;
1543}
1544
1545#search-result-tabs h3 {
1546	text-align: center;
1547}
1548
1549#searchAccordion-indi,
1550#searchAccordion-fam,
1551#searchAccordion-source,
1552#searchAccordion-note {
1553	margin: auto;
1554	width: 99%;
1555}
1556
1557#place-hierarchy h2,
1558#place-hierarchy h4 {
1559	text-align: center;
1560}
1561
1562#main_select,
1563#available_select,
1564#right_select {
1565	min-width: 150px;
1566}
1567
1568/* === Who is online block === */
1569.logged_in_list {
1570	margin: 5px 0 0;
1571	padding: 0;
1572	line-height: 20px;
1573}
1574
1575/* ==== Theme select block === */
1576.theme_form ul {
1577	margin: -10px auto;
1578}
1579
1580.theme_form li {
1581	visibility: hidden;
1582}
1583
1584.theme_form li ul li {
1585	display: inline-block;
1586	padding: 10px;
1587	visibility: visible;
1588}
1589
1590/* ==== FAQ table styles ===== */
1591table.faq {
1592	background-color: #e0e0e0;
1593	margin: 5px 0 50px 5px;
1594	width: 98%;
1595}
1596
1597table.faq tr:nth-child(odd) td {
1598	background-color: #e7eef3;
1599}
1600
1601div.faq_title {
1602	background-color: #e0e0e0;
1603	margin: 1em 0;
1604	padding: .25em;
1605	font-weight: bold;
1606	width: 98%;
1607}
1608
1609div.faq_body {
1610	clear: both;
1611	padding: 0 1em;
1612}
1613
1614.faq_top {
1615	float: right;
1616}
1617
1618/* === Positioning edit, copy, delete links === */
1619/* General use */
1620.editfacts {
1621	clear: left;
1622	padding-top: 15px;
1623}
1624
1625/* ======== Indi header ====== */
1626#indi_header {
1627	overflow: hidden;
1628	border-radius: 3px;
1629	border: 1px solid #b2c7d7;
1630	margin: 0 0 5px;
1631	padding: 10px 0;
1632}
1633
1634#indi_header h3 {
1635	font-size: 90%;
1636	font-weight: bold;
1637	margin: 0;
1638	padding: 0 10px 0 30px;
1639	text-align: left;
1640	overflow: hidden;
1641	position: relative;
1642}
1643
1644#indi_header .name_one {
1645	font-size: 1.5em;
1646}
1647
1648#indi_header h3 .details1 {
1649	font-size: 1.0em;
1650}
1651
1652#indi_header h3 .header_age {
1653	padding: 5px 0 5px 5px;
1654	float: right;
1655	font-weight: normal;
1656	font-size: 65%;
1657}
1658
1659#indi_header h3 a {
1660	display: inline;
1661}
1662
1663#indi_header a {
1664	color: #337;
1665	font-size: 0.75em;
1666	font-weight: normal;
1667}
1668
1669#indi_header a:hover {
1670	color: #f00;
1671}
1672
1673#indi_mainimage {
1674	float: left;
1675	padding: 0 10px;
1676}
1677
1678#header_accordion1 {
1679	padding: 0 10px 0 0;
1680	overflow: hidden;
1681}
1682
1683#header_accordion1 .indi_name_details {
1684	margin: 0;
1685	overflow: hidden;
1686	padding: 5px;
1687}
1688
1689.indi_name_details .name1 {
1690	font-weight: normal;
1691	padding-top: 5px;
1692	font-size: inherit;
1693}
1694
1695#indi_header a.warning {
1696	color: #f00;
1697	font-size: 1em;
1698}
1699
1700#indi_note {
1701	margin: 0 0 5px;
1702}
1703
1704.indi_table {
1705	clear: left;
1706}
1707
1708#sex {
1709	float: right;
1710}
1711
1712#dates {
1713	float: right;
1714}
1715
1716#individual-names .wt-icon-edit,
1717#individual-names .wt-icon-delete {
1718	float: right;
1719}
1720
1721#indi_note .fact_NOTE {
1722	float: left;
1723	margin: 0 5px 0 0;
1724}
1725
1726#indi_note .fact_SOUR {
1727	margin: 3px 0;
1728}
1729
1730#indi_note .fact_SOUR a {
1731	font-size: 100%;
1732}
1733
1734#indi_note .fact_NOTE,
1735#indi_note .fact_SOUR {
1736	clear: both;
1737}
1738
1739/* markdown formatting */
1740
1741.markdown {
1742	/* Tables and pre-formatted text can break the layout. */
1743	overflow-x: auto;
1744}
1745
1746.markdown p {
1747	margin: 0 0 0.5em;
1748	white-space: pre-wrap;
1749}
1750
1751.markdown table {
1752	border-collapse: collapse;
1753	margin-bottom: 5px;
1754}
1755
1756.markdown th {
1757	font-weight: bold;
1758}
1759
1760.markdown td,
1761.markdown th {
1762	border: solid thin #000;
1763	padding: 3px;
1764}
1765
1766.odometer {
1767	font-family: courier, monospace;
1768	font-weight: bold;
1769	background: #000;
1770	color: #fff;
1771}
1772
1773/* ======== Indi tabs ======== */
1774/* Facts & Events tab */
1775#personal_facts_content .fact_NOTE,
1776#personal_facts_content .fact_SOUR,
1777#family-table .fact_NOTE,
1778#family-table .fact_SOUR {
1779	margin: 5px 3px 5px 0;
1780	clear: both;
1781}
1782
1783.media-display-image {
1784	float: left;
1785}
1786
1787.media-display-title {
1788	float: left;
1789	font-style: italic;
1790	margin: 10px;
1791}
1792
1793/* === jQuery.datatable styling general over-rides === */
1794.odd {
1795	background-color: #e7eef3;
1796}
1797
1798.even {
1799	background-color: #e6e6e6;
1800}
1801
1802.css_right {
1803	float: left;
1804}
1805
1806.fg-button {
1807	padding: 2px 6px;
1808}
1809
1810/* Sidebar - Family navigator */
1811.wt-family-navigator-dropdown {
1812	background: #edf7fd;
1813}
1814
1815.wt-family-navigator-dropdown-heading {
1816	font-weight: bold;
1817	font-size: inherit;
1818	color: inherit;
1819}
1820
1821/* Sidebar - Descendants */
1822#sb_content_descendancy {
1823	margin-top: 5px;
1824}
1825
1826#sb_desc_content {
1827	margin-left: 3px;
1828	font-size: 0.8em;
1829}
1830
1831#sb_desc_content ul {
1832	padding: 0;
1833	margin: 0;
1834}
1835
1836.sb_desc_indi_li {
1837	list-style-type: none;
1838}
1839
1840.desc_tree_div {
1841	display: none;
1842}
1843
1844.desc_tree_div ul {
1845	padding: 0;
1846	margin-left: 10px;
1847	margin-top: 0;
1848	margin-right: 0;
1849}
1850
1851/* Individuals and Families */
1852#sidebar-content-individuals,
1853#sidebar-content-families {
1854	margin-top: 5px;
1855}
1856
1857.sb_indi_surname_li,
1858.sb_fam_surname_li {
1859	list-style-image: url(webtrees/images/plus.png);
1860}
1861
1862.name_tree_div ul {
1863	padding: 0;
1864	margin: 0;
1865}
1866
1867.name_tree_div li {
1868	list-style: none;
1869	margin: 0;
1870	padding: 0;
1871}
1872
1873/* Clippings */
1874#sb_clippings_content ul {
1875	padding: 0;
1876	margin: 0;
1877}
1878
1879#sb_clippings_content li {
1880	list-style: none;
1881	margin: 0;
1882	padding: 0;
1883	white-space: nowrap;
1884}
1885
1886/* Extra info */
1887#sb_content_extra_info {
1888	font-size: 80%;
1889	font-weight: bold;
1890	margin-top: 1px;
1891	overflow: hidden;
1892	padding: 5px;
1893}
1894
1895#sb_content_extra_info .editfacts {
1896	float: right;
1897	margin-top: -30px;
1898}
1899
1900#sb_content_extra_info a {
1901	display: block;
1902}
1903
1904#sb_content_extra_info span {
1905	font-weight: normal;
1906}
1907
1908#sb_content_extra_info span a {
1909	display: inline;
1910}
1911
1912#sb_content_extra_info #hitcounter {
1913	border-top: 1px solid #b2c7d7;
1914	font-weight: bold;
1915	padding-top: 5px;
1916}
1917
1918/* http://www.jacklmoore.com/colorbox */
1919#colorbox,
1920#cboxOverlay,
1921#cboxWrapper {
1922	position: absolute;
1923	top: 0;
1924	left: 0;
1925	z-index: 9999;
1926	overflow: hidden;
1927}
1928
1929#cboxWrapper {
1930	max-width: none;
1931}
1932
1933#cboxOverlay {
1934	position: fixed;
1935	width: 100%;
1936	height: 100%;
1937	background: #fff;
1938}
1939
1940#cboxContent {
1941	background: #fff;
1942	overflow: hidden;
1943	position: relative;
1944	padding: 0.5rem;
1945	border: 0.25rem solid #ccc;
1946}
1947
1948#cboxLoadingOverlay,
1949#cboxLoadingGraphic {
1950	position: absolute;
1951	top: 0;
1952	left: 0;
1953	width: 100%;
1954	height: 100%;
1955}
1956
1957.cboxPhoto {
1958	float: left;
1959	margin: auto;
1960	border: 0;
1961	display: block;
1962	max-width: none;
1963}
1964
1965#colorbox,
1966#cboxContent,
1967#cboxLoadedContent {
1968	box-sizing: content-box;
1969}
1970
1971#cboxError {
1972	padding: 50px;
1973	border: 1px solid #ccc;
1974}
1975
1976#cboxLoadedContent {
1977	margin-bottom: 28px;
1978}
1979
1980#cboxTitle {
1981	background: #fff;
1982	position: absolute;
1983	bottom: 0.25rem;
1984	left: 0;
1985	margin: 0 3rem;
1986	text-align: center;
1987}
1988
1989#cboxLoadingGraphic {
1990	background: url(images/loading-32x32.gif) no-repeat center center;
1991}
1992
1993#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {
1994	background: none;
1995	border: 0;
1996	cursor: pointer;
1997	font-family: "Font Awesome\ 5 Free", sans-serif;
1998	font-weight: 900;
1999	overflow: visible;
2000	padding: 0;
2001	position: absolute;
2002}
2003
2004#cboxSlideshow {
2005	bottom: 0.25rem;
2006	right: 0.25rem;
2007}
2008
2009#cboxPrevious {
2010	bottom: 0.25rem;
2011	left: 0.25rem;
2012}
2013
2014#cboxNext {
2015	bottom: 0.25rem;
2016	left: 1.5rem;
2017}
2018
2019#cboxClose {
2020	top: 0.25rem;
2021	right: 0.25rem;
2022}
2023
2024/* Stories module */
2025.story_title {
2026	padding-top: 12px;
2027	font-size: 13px;
2028	height: 32px;
2029	font-weight: bold;
2030}
2031
2032.story_body {
2033	padding: 20px;
2034	white-space: normal;
2035}
2036
2037.story_edit {
2038	padding: 12px;
2039}
2040
2041/* ====== Charts Styles ======== */
2042#people label {
2043	display: block;
2044}
2045
2046/* Ancestry chart */
2047.wt-chart-ancestors-list {
2048	background: transparent url(images/vline.png) left top repeat-y;
2049	margin: 0 0 0 15px;
2050	padding: 0;
2051	display: block;
2052}
2053
2054.wt-chart-ancestors-list-item {
2055	margin: 5px 0;
2056}
2057
2058.chart_common li {
2059	list-style: outside none none;
2060}
2061
2062.generations {
2063	background: transparent url(images/vline.png) repeat-y scroll left top;
2064	display: block;
2065	margin: 0 0 0 15px;
2066	padding: 0;
2067}
2068
2069.chart_common table {
2070	padding: 0;
2071	border-spacing: 0;
2072	border-collapse: collapse;
2073	margin: 5px 0;
2074}
2075
2076.chart_common td {
2077	border: 0;
2078	padding: 0;
2079}
2080
2081.chart_common span.details1 div[class^=fact_] {
2082	display: inline-block;
2083}
2084
2085.chart_common span.details1 .date {
2086	color: inherit;
2087}
2088
2089/*-- Family book  --*/
2090#familybook_chart {
2091	margin-left: 10px;
2092}
2093
2094#familybook_chart table {
2095	border-collapse: collapse;
2096	empty-cells: show;
2097}
2098
2099#familybook_chart td {
2100	margin: 0;
2101	padding: 0;
2102}
2103
2104#familybook_chart h2 {
2105	text-align: center;
2106}
2107
2108#familybook_chart .line3,
2109#familybook_chart .pvline,
2110#familybook_chart .spacer {
2111	width: 3px;
2112}
2113
2114#familybook_chart .line4 {
2115	width: 7px;
2116	vertical-align: middle;
2117}
2118
2119[ID^="vline"] {
2120	width: 3px;
2121}
2122
2123#familybook_chart h3 {
2124	color: #006;
2125	font-size: 16px;
2126	text-align: center;
2127}
2128
2129/*-- Fan chart ---- */
2130.fan_chart_menu {
2131	position: absolute;
2132	display: none;
2133	z-index: 100;
2134}
2135
2136#fan_chart ul {
2137	list-style-type: none;
2138	margin: 0;
2139}
2140
2141/* Lifespans chart */
2142.wt-lifespans-subtitle {
2143	text-align: center;
2144}
2145
2146.wt-lifespans-scale {
2147	white-space: nowrap;
2148}
2149
2150.wt-lifespans-decade {
2151	width: 70px;
2152	height: 60px;
2153	display: inline-block;
2154	background-image: url(images/lifespan-decade.png);
2155	background-position-y: bottom;
2156	background-repeat: no-repeat;
2157	background-size: 70px 37px;
2158}
2159
2160.wt-lifespans-individuals {
2161	background: #fafafa;
2162}
2163
2164.wt-lifespans-individual {
2165
2166}
2167
2168.wt-lifespans-summary {
2169	background: #ffffff;
2170	border: thin solid #000;
2171	z-index: 1;
2172}
2173
2174.wt-lifespans-summary-link {
2175	font-weight: bold;
2176}
2177
2178/*-- Pedigree ---- */
2179#pedigree_chart {
2180	position: relative;
2181	margin: 20px auto;
2182}
2183
2184#pedigree_canvas {
2185	color: #81a9cb;
2186	z-index: -1000;
2187}
2188
2189#pedigree-page .shadow {
2190	position: absolute;
2191	white-space: nowrap;
2192}
2193
2194#pedigree-page .layout0 .shadow > div,
2195#pedigree-page .layout1 .shadow > div {
2196	display: inline-block;
2197	vertical-align: middle;
2198}
2199
2200#pedigree-page .spacer {
2201	background-image: url(images/spacer.png);
2202	height: 20px;
2203	width: 1px;
2204}
2205
2206#childarrow,
2207.ancestorarrow {
2208	text-align: center;
2209}
2210
2211#pedigree-page #childarrow {
2212	position: relative;
2213}
2214
2215#pedigree-page #childbox {
2216	border: 1px solid;
2217	background-color: #fff;
2218}
2219
2220#pedigree-page table.list_table {
2221	margin: 0 auto;
2222	width: 500px;
2223}
2224
2225.pedigree_chart_table {
2226	border: 0;
2227	border-collapse: collapse;
2228	padding: 0;
2229	width: 100%;
2230}
2231
2232/*-- timeline  --*/
2233#timeline_chart {
2234	position: relative;
2235	top: 0;
2236	left: 0;
2237}
2238
2239#field_table {
2240	width: 30%;
2241	min-width: 500px;
2242}
2243
2244/*
2245 * Any element that is loaded dynamically has the class wt-ajax-load.
2246 * We can provide a "loading" placeholder for empty elements with this class.
2247 */
2248.wt-ajax-load:empty {
2249	height: 32px;
2250	background: url(images/loading-32x32.gif) no-repeat 50% 50%;
2251}
2252
2253/*
2254 * Default icons are provided by FontAwesome.
2255 * Some icons get mirrored on RTL pages.  Typiclly arrows
2256 */
2257[dir=rtl] .wt-flip-rtl {
2258	transform: scale(-1, 1);
2259}
2260
2261.wt-icon-anniversary {
2262	content: url(images/anniversary.png);
2263}
2264
2265.wt-icon-arrow-down {
2266	content: url(webtrees/icons/arrow-down.png);
2267}
2268
2269a > .wt-icon-arrow-down:hover {
2270	content: url(webtrees/icons/arrow-down-hover.png);
2271}
2272
2273.wt-icon-arrow-left {
2274	content: url(webtrees/icons/arrow-left.png);
2275}
2276
2277a > .wt-icon-arrow-left:hover {
2278	content: url(webtrees/icons/arrow-left-hover.png);
2279}
2280
2281.wt-icon-arrow-right {
2282	content: url(webtrees/icons/arrow-right.png);
2283}
2284
2285a > .wt-icon-arrow-right:hover {
2286	content: url(webtrees/icons/arrow-right-hover.png);
2287}
2288
2289.wt-icon-arrow-up {
2290	content: url(webtrees/icons/arrow-up.png);
2291}
2292
2293a > .wt-icon-arrow-up:hover {
2294	content: url(webtrees/icons/arrow-up-hover.png);
2295}
2296
2297.wt-icon-coordinates {
2298	content: url(images/coordinates.png)
2299}
2300
2301.wt-icon-reorder {
2302	content: url(images/reorder.png);
2303}
2304
2305.wt-icon-sex-f {
2306	content: url(images/sex-female.png);
2307}
2308
2309.wt-icon-sex-m {
2310	content: url(images/sex-male.png);
2311}
2312
2313.wt-icon-sex-u {
2314	content: url(images/sex-unknown.png);
2315}
2316
2317.wt-icon-sex-x {
2318	content: url(images/sex-unknown.png);
2319}
2320
2321.wt-icon-warning {
2322	content: url(images/warning.png);
2323}
2324
2325.wt-icon-zoom-in {
2326	content: url(webtrees/images/zoomin.png);
2327}
2328
2329.wt-icon-zoom-out {
2330	content: url(webtrees/images/zoomout.png);
2331}
2332
2333/*
2334 * .wt-icon-bing-maps
2335 * .wt-icon-calendar
2336 * .wt-icon-copy
2337 * .wt-icon-delete
2338 * .wt-icon-edit
2339 * .wt-icon-email
2340 * .wt-icon-family
2341 * .wt-icon-help
2342 * .wt-icon-individual
2343 * .wt-icon-google-maps
2344 * .wt-icon-keyboard
2345 * .wt-icon-media
2346 * .wt-icon-note
2347 * .wt-icon-openstreetmap
2348 * .wt-icon-preferences
2349 * .wt-icon-repository
2350 * .wt-icon-source
2351 * .wt-icon-submitter
2352 */
2353.wt-icon-bing-maps::before {
2354	width: 16px;
2355	height: 16px;
2356	content: url(webtrees/icons/bing-maps.png);
2357}
2358
2359.wt-icon-calendar::before {
2360	width: 19px;
2361	height: 15px;
2362	content: url(webtrees/icons/calendar.png)
2363}
2364
2365.wt-icon-copy::before {
2366	width: 16px;
2367	height: 16px;
2368	content: url(webtrees/icons/copy.png)
2369}
2370
2371.wt-icon-delete::before {
2372	width: 16px;
2373	height: 16px;
2374	content: url(webtrees/icons/delete.png);
2375}
2376
2377.wt-icon-edit::before {
2378	width: 16px;
2379	height: 16px;
2380	content: url(webtrees/icons/edit.png);
2381}
2382
2383.wt-icon-family::before {
2384	width: 14px;
2385	height: 15px;
2386	content: url(webtrees/icons/family.png);
2387}
2388
2389.wt-icon-help::before {
2390	width: 16px;
2391	height: 16px;
2392	content: url(webtrees/icons/help.png);
2393}
2394
2395.wt-icon-google-maps::before {
2396	width: 16px;
2397	height: 16px;
2398	content: url(webtrees/icons/google-maps.png);
2399}
2400
2401.wt-icon-individual::before {
2402	width: 11px;
2403	height: 15px;
2404	content: url(webtrees/icons/individual.png);
2405}
2406
2407.wt-icon-keyboard::before {
2408	width: 30px;
2409	height: 15px;
2410	content: url(webtrees/icons/keyboard.png);
2411}
2412
2413.wt-icon-media::before {
2414	width: 18px;
2415	height: 16px;
2416	content: url(webtrees/icons/media.png);
2417}
2418
2419.wt-icon-note::before {
2420	width: 20px;
2421	height: 20px;
2422	content: url(webtrees/icons/note.png);
2423}
2424
2425.wt-icon-openstreetmap::before {
2426	width: 16px;
2427	height: 16px;
2428	content: url(webtrees/icons/openstreetmap.png);
2429}
2430
2431.wt-icon-preferences::before {
2432	width: 25px;
2433	height: 25px;
2434	content: url(webtrees/icons/preferences.png);
2435}
2436
2437.wt-icon-repository::before {
2438	width: 15px;
2439	height: 15px;
2440	content: url(webtrees/icons/repository.png);
2441}
2442
2443.wt-icon-source::before {
2444	width: 18px;
2445	height: 16px;
2446	content: url(webtrees/icons/source.png);
2447}
2448
2449.wt-icon-submitter::before {
2450	width: 11px;
2451	height: 15px;
2452	content: url(webtrees/icons/individual.png);
2453}
2454
2455[class^="icon-"],
2456[class*=" icon-"] {
2457	display: inline-block;
2458	vertical-align: text-bottom;
2459	background-repeat: no-repeat;
2460	background-size: cover;
2461}
2462
2463.icon-add {
2464	width: 14px;
2465	height: 15px;
2466	background-image: url(images/add.png);
2467}
2468
2469.icon-cfamily {
2470	width: 20px;
2471	height: 20px;
2472	background-image: url(webtrees/images/family.png);
2473}
2474
2475.icon-childless {
2476	width: 25px;
2477	height: 25px;
2478	background-image: url(webtrees/images/childless.png);
2479}
2480
2481.icon-children {
2482	width: 16px;
2483	height: 16px;
2484	background-image: url(webtrees/images/children.png);
2485}
2486
2487.icon-clippings {
2488	width: 22px;
2489	height: 22px;
2490	background-image: url(webtrees/images/clippings.png);
2491}
2492
2493.icon-edit_indi {
2494	width: 20px;
2495	height: 20px;
2496	background-image: url(webtrees/images/edit_indi.png);
2497}
2498
2499.icon-fam-list {
2500	width: 20px;
2501	height: 20px;
2502	background-image: url(webtrees/images/family.png);
2503}
2504
2505.icon-indi-list {
2506	width: 20px;
2507	height: 20px;
2508	background-image: url(webtrees/images/indis.png);
2509}
2510
2511.icon-loading-small {
2512	width: 16px;
2513	height: 16px;
2514	background-image: url(webtrees/images/indicator.gif);
2515}
2516
2517.icon-media {
2518	width: 20px;
2519	height: 20px;
2520	background-image: url(webtrees/images/media.png);
2521}
2522
2523.icon-media-list {
2524	width: 20px;
2525	height: 20px;
2526	background-image: url(webtrees/images/media.png);
2527}
2528
2529.icon-media-next {
2530	width: 20px;
2531	height: 20px;
2532	background-image: url(webtrees/images/rdarrow.png);
2533}
2534
2535.icon-media-play {
2536	width: 20px;
2537	height: 20px;
2538	background-image: url(webtrees/images/rarrow.png);
2539}
2540
2541.icon-media-stop {
2542	width: 20px;
2543	height: 20px;
2544	background-image: url(webtrees/images/stop.png);
2545}
2546
2547.icon-minus {
2548	width: 11px;
2549	height: 11px;
2550	background-image: url(webtrees/images/minus.png);
2551}
2552
2553.icon-mypage {
2554	width: 24px;
2555	height: 24px;
2556	background-image: url(webtrees/images/mypage.png);
2557}
2558
2559.icon-note {
2560	width: 20px;
2561	height: 20px;
2562	background-image: url(webtrees/icons/note.png);
2563}
2564
2565.icon-plus {
2566	width: 11px;
2567	height: 11px;
2568	background-image: url(webtrees/images/plus.png);
2569}
2570
2571.icon-remove {
2572	width: 20px;
2573	height: 20px;
2574	background-image: url(webtrees/images/remove.png);
2575}
2576
2577.icon-resn-confidential {
2578	width: 16px;
2579	height: 16px;
2580	background-image: url(webtrees/images/resn_confidential.png);
2581}
2582
2583.icon-resn-locked {
2584	width: 16px;
2585	height: 16px;
2586	background-image: url(webtrees/images/resn_locked.png);
2587}
2588
2589.icon-resn-none {
2590	width: 16px;
2591	height: 16px;
2592	background-image: url(webtrees/images/resn_none.png);
2593}
2594
2595.icon-resn-privacy {
2596	width: 16px;
2597	height: 16px;
2598	background-image: url(webtrees/images/resn_privacy.png);
2599}
2600
2601.icon-rings {
2602	width: 9px;
2603	height: 9px;
2604	background-image: url(webtrees/images/rings.png);
2605}
2606
2607.icon-selected {
2608	width: 12px;
2609	height: 12px;
2610	background-image: url(webtrees/images/selected.png);
2611}
2612
2613.icon-source {
2614	width: 20px;
2615	height: 20px;
2616	background-image: url(webtrees/images/source.png);
2617}
2618
2619/* Silhouettes on charts */
2620.icon-silhouette-F {
2621	width: 37px;
2622	height: 50px;
2623	background-image: url(webtrees/images/silhouette_female_small.png);
2624}
2625
2626.icon-silhouette-M {
2627	width: 37px;
2628	height: 50px;
2629	background-image: url(webtrees/images/silhouette_male_small.png);
2630}
2631
2632.icon-silhouette-U {
2633	width: 37px;
2634	height: 50px;
2635	background-image: url(webtrees/images/silhouette_unknown_small.png);
2636}
2637
2638.icon-indis {
2639	width: 20px;
2640	height: 20px;
2641	background-image: url(webtrees/images/indis.png);
2642}
2643
2644.icon-patriarch {
2645	width: 20px;
2646	height: 20px;
2647	background-image: url(webtrees/images/patriarch.png);
2648}
2649
2650.icon-pedigree {
2651	width: 20px;
2652	height: 20px;
2653	background-image: url(webtrees/images/pedigree.png);
2654}
2655
2656.icon-place {
2657	width: 20px;
2658	height: 20px;
2659	background-image: url(webtrees/images/place.png);
2660}
2661
2662.icon-repo-list {
2663	width: 20px;
2664	height: 20px;
2665	background-image: url(webtrees/images/repository.png);
2666}
2667
2668.icon-repository {
2669	width: 20px;
2670	height: 20px;
2671	background-image: url(webtrees/images/repository.png);
2672}
2673
2674.icon-search {
2675	width: 17px;
2676	height: 17px;
2677	background-image: url(webtrees/images/search.png);
2678}
2679
2680.icon-sfamily {
2681	width: 20px;
2682	height: 20px;
2683	background-image: url(webtrees/images/family.png);
2684}
2685
2686.icon-source-list {
2687	width: 20px;
2688	height: 20px;
2689	background-image: url(webtrees/images/source.png);
2690}
2691
2692.icon-user_add {
2693	width: 20px;
2694	height: 20px;
2695	background-image: url(webtrees/images/user_add.png);
2696}
2697
2698/* Census assistant */
2699.wt-census-assistant-form-control:focus {
2700	min-width: 12rem;
2701}
2702
2703/*
2704 * Drag and drop sortable lists
2705 */
2706.wt-sortable-list {
2707}
2708
2709.wt-sortable-item {
2710	cursor: move;
2711}
2712
2713/* Some blocks show a reduced version on the right-hand side. */
2714.wt-side-blocks .wt-side-block-optional {
2715	display: none !important;
2716}
2717
2718/* my page chart enhancements */
2719.wt-block-content-charts {
2720	flex-flow: column-reverse;
2721	overflow: auto;
2722}
2723
2724.wt-block-content-todays-events-block {
2725	padding: .25rem;
2726}
2727
2728/* Some charts are wider than the page. */
2729.wt-chart {
2730	overflow-x: auto;
2731	overflow-y: hidden;
2732}
2733
2734/* Fit thumbnail into parent on charts */
2735.select2-selection.select2-selection--single {
2736	min-height: 36px;
2737	height: auto;
2738	padding: 2px 0;
2739}
2740
2741.select2-container .select2-selection--single .select2-selection__rendered {
2742	padding-left: 2px;
2743}
2744
2745.select2-selection--single .NAME {
2746	padding-left: 4px;
2747}
2748
2749/*
2750 *  These selectors control how the short horizontal lines are positioned in the Charts
2751 *  Optimized for Win10 and FF, Chrome and Edge browsers
2752 *  	Ancestors
2753 *  	Descendants
2754 *  	amily book
2755 *  	Hourglass chart
2756 *
2757 */
2758
2759/* Ascentors */
2760.wt-chart-ancestors .linea1 {
2761	margin-bottom: 4px;
2762}
2763
2764.wt-chart-ancestors .linea2 {
2765	margin-bottom: 7px;
2766}
2767
2768.wt-chart-ancestors .linea3 {
2769	margin-bottom: 4px;
2770}
2771
2772.wt-chart-ancestors .linea4 {
2773	margin-bottom: 7px;
2774}
2775
2776.wt-chart-ancestors .linea5 {
2777	vertical-align: top;
2778}
2779
2780/* Descendants */
2781.wt-chart-descendants .lined1 {
2782	margin-bottom: 4px;
2783}
2784
2785.wt-chart-descendants .lined2 {
2786	margin-bottom: 7px;
2787}
2788
2789.wt-chart-descendants .lined3 {
2790	margin-bottom: 4px;
2791}
2792
2793.wt-chart-descendants .lined4 {
2794	margin-bottom: 7px;
2795}
2796
2797.wt-chart-descendants .linea5 {
2798	vertical-align: top;
2799}
2800
2801/* Family book */
2802.linef1 {
2803	margin-bottom: 3px;
2804}
2805
2806.linef2 {
2807	margin-bottom: 3px;
2808}
2809
2810.linef3 {
2811	margin-bottom: 7px;
2812}
2813
2814/* Hourglass */
2815.lineh1 {
2816	margin-bottom: 4px;
2817}
2818
2819.lineh2 {
2820	margin-bottom: 4px;
2821}
2822
2823.lineh3 {
2824	margin-bottom: 7px;
2825}
2826
2827/*
2828 * Pedigree chart
2829 *
2830 * wt-chart, wt-chart-pedigree
2831 */
2832
2833#pedigree_chart {
2834	position: relative;
2835	margin: 20px auto;
2836}
2837
2838#pedigree_canvas {
2839	z-index: -1000;
2840}
2841
2842#childbox-pedigree {
2843	border: 1px solid;
2844	background-color: #fff;
2845}
2846
2847#pedigree-page #childbox-pedigree {
2848	border: 1px solid;
2849	background-color: #fff;
2850}
2851
2852#childbox-pedigree {
2853	padding: 5px;
2854	position: absolute;
2855	display: none;
2856	text-align: start;
2857	white-space: nowrap;
2858	left: auto;
2859	z-index: 9999;
2860}
2861
2862.wt-chart-pedigree, .wt-chart-hourglass {
2863	overflow-y: auto;
2864}
2865
2866.wt-chart-pedigree .spacer {
2867	background-image: url(images/spacer.png);
2868	height: 20px;
2869	width: 1px;
2870}
2871
2872#pedigree-page .shadow {
2873	box-shadow: 0 0 0 !important; /* override vendor css shadow  */
2874}
2875
2876#childarrow,
2877.ancestorarrow {
2878	text-align: center;
2879	display: inline-block;
2880	vertical-align: middle;
2881}
2882
2883.layout3 #childbox-pedigree {
2884	top: auto;
2885}
2886
2887#childbox-pedigree a.name1 {
2888	display: block;
2889	margin-left: 5px;
2890}
2891
2892/*
2893 * Place hierarchy
2894 *
2895 * wt-place-hierarchy-page
2896 */
2897
2898#place-hierarchy ul {
2899	list-style-type: none;
2900}
2901
2902.d-table-cell {
2903	padding-right: 5px;
2904}
2905
2906/*
2907 * Search
2908 *
2909 * wt-search-page, wt-general-serach-page/wt-phonetic-search-page/wt-advanced-search-page/wt-search-replace-page
2910 */
2911
2912/* Some menus (e.g. languages) can be longer than a page */
2913.dropdown-menu {
2914	max-height: 30rem;
2915	overflow-x: hidden;
2916}
2917
2918/* Clipping cart */
2919.clipping-cart h2 {
2920	margin: 20px;
2921	text-align: center;
2922}
2923
2924.clipping-cart .wt-page-options {
2925	max-width: 25rem;
2926}
2927
2928.clipping-cart .topbottombar, .clipping-cart .optionbox, .add-to .topbottombar {
2929	font-size: 1rem;
2930}
2931
2932.clipping-cart .add-to {
2933	text-align: left;
2934}
2935
2936/* Forms */
2937.col-form-label {
2938	font-weight: bold;
2939}
2940
2941/* Popups */
2942.popup .nav-link {
2943	display: inline;
2944	vertical-align: top;
2945	padding: 5px;
2946}
2947
2948