xref: /webtrees/resources/css/webtrees.css (revision 6ccdf4f0fd1b65a5d54259c969912382ce49629d)
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	background: #fff;
2132	position: absolute;
2133	display: none;
2134	z-index: 100;
2135}
2136
2137#fan_chart ul {
2138	list-style-type: none;
2139	margin: 0;
2140}
2141
2142/* Lifespans chart */
2143.wt-lifespans-subtitle {
2144	text-align: center;
2145}
2146
2147.wt-lifespans-scale {
2148	white-space: nowrap;
2149}
2150
2151.wt-lifespans-decade {
2152	width: 70px;
2153	height: 60px;
2154	display: inline-block;
2155	background-image: url(images/lifespan-decade.png);
2156	background-position-y: bottom;
2157	background-repeat: no-repeat;
2158	background-size: 70px 37px;
2159}
2160
2161.wt-lifespans-individuals {
2162	background: #fafafa;
2163}
2164
2165.wt-lifespans-individual {
2166
2167}
2168
2169.wt-lifespans-summary {
2170	background: #ffffff;
2171	border: thin solid #000;
2172	z-index: 1;
2173}
2174
2175.wt-lifespans-summary-link {
2176	font-weight: bold;
2177}
2178
2179/*-- Pedigree ---- */
2180#pedigree_chart {
2181	position: relative;
2182	margin: 20px auto;
2183}
2184
2185#pedigree_canvas {
2186	color: #81a9cb;
2187	z-index: -1000;
2188}
2189
2190#pedigree-page .shadow {
2191	position: absolute;
2192	white-space: nowrap;
2193}
2194
2195#pedigree-page .layout0 .shadow > div,
2196#pedigree-page .layout1 .shadow > div {
2197	display: inline-block;
2198	vertical-align: middle;
2199}
2200
2201#pedigree-page .spacer {
2202	background-image: url(images/spacer.png);
2203	height: 20px;
2204	width: 1px;
2205}
2206
2207#childarrow,
2208.ancestorarrow {
2209	text-align: center;
2210}
2211
2212#pedigree-page #childarrow {
2213	position: relative;
2214}
2215
2216#pedigree-page #childbox {
2217	border: 1px solid;
2218	background-color: #fff;
2219}
2220
2221#pedigree-page table.list_table {
2222	margin: 0 auto;
2223	width: 500px;
2224}
2225
2226.pedigree_chart_table {
2227	border: 0;
2228	border-collapse: collapse;
2229	padding: 0;
2230	width: 100%;
2231}
2232
2233/*-- timeline  --*/
2234#timeline_chart {
2235	position: relative;
2236	top: 0;
2237	left: 0;
2238}
2239
2240#field_table {
2241	width: 30%;
2242	min-width: 500px;
2243}
2244
2245/*
2246 * Any element that is loaded dynamically has the class wt-ajax-load.
2247 * We can provide a "loading" placeholder for empty elements with this class.
2248 */
2249.wt-ajax-load:empty {
2250	height: 32px;
2251	background: url(images/loading-32x32.gif) no-repeat 50% 50%;
2252}
2253
2254/*
2255 * Default icons are provided by FontAwesome.
2256 * Some icons get mirrored on RTL pages.  Typiclly arrows
2257 */
2258[dir=rtl] .wt-flip-rtl {
2259	transform: scale(-1, 1);
2260}
2261
2262.wt-icon-anniversary {
2263	content: url(images/anniversary.png);
2264}
2265
2266.wt-icon-arrow-down {
2267	content: url(webtrees/icons/arrow-down.png);
2268}
2269
2270a > .wt-icon-arrow-down:hover {
2271	content: url(webtrees/icons/arrow-down-hover.png);
2272}
2273
2274.wt-icon-arrow-left {
2275	content: url(webtrees/icons/arrow-left.png);
2276}
2277
2278a > .wt-icon-arrow-left:hover {
2279	content: url(webtrees/icons/arrow-left-hover.png);
2280}
2281
2282.wt-icon-arrow-right {
2283	content: url(webtrees/icons/arrow-right.png);
2284}
2285
2286a > .wt-icon-arrow-right:hover {
2287	content: url(webtrees/icons/arrow-right-hover.png);
2288}
2289
2290.wt-icon-arrow-up {
2291	content: url(webtrees/icons/arrow-up.png);
2292}
2293
2294a > .wt-icon-arrow-up:hover {
2295	content: url(webtrees/icons/arrow-up-hover.png);
2296}
2297
2298.wt-icon-coordinates {
2299	content: url(images/coordinates.png)
2300}
2301
2302.wt-icon-reorder {
2303	content: url(images/reorder.png);
2304}
2305
2306.wt-icon-sex-f {
2307	content: url(images/sex-female.png);
2308}
2309
2310.wt-icon-sex-m {
2311	content: url(images/sex-male.png);
2312}
2313
2314.wt-icon-sex-u {
2315	content: url(images/sex-unknown.png);
2316}
2317
2318.wt-icon-sex-x {
2319	content: url(images/sex-unknown.png);
2320}
2321
2322.wt-icon-warning {
2323	content: url(images/warning.png);
2324}
2325
2326.wt-icon-zoom-in {
2327	content: url(webtrees/images/zoomin.png);
2328}
2329
2330.wt-icon-zoom-out {
2331	content: url(webtrees/images/zoomout.png);
2332}
2333
2334/*
2335 * .wt-icon-bing-maps
2336 * .wt-icon-calendar
2337 * .wt-icon-copy
2338 * .wt-icon-delete
2339 * .wt-icon-edit
2340 * .wt-icon-email
2341 * .wt-icon-family
2342 * .wt-icon-help
2343 * .wt-icon-individual
2344 * .wt-icon-google-maps
2345 * .wt-icon-keyboard
2346 * .wt-icon-media
2347 * .wt-icon-note
2348 * .wt-icon-openstreetmap
2349 * .wt-icon-preferences
2350 * .wt-icon-repository
2351 * .wt-icon-source
2352 * .wt-icon-submitter
2353 */
2354.wt-icon-bing-maps::before {
2355	width: 16px;
2356	height: 16px;
2357	content: url(webtrees/icons/bing-maps.png);
2358}
2359
2360.wt-icon-calendar::before {
2361	width: 19px;
2362	height: 15px;
2363	content: url(webtrees/icons/calendar.png)
2364}
2365
2366.wt-icon-copy::before {
2367	width: 16px;
2368	height: 16px;
2369	content: url(webtrees/icons/copy.png)
2370}
2371
2372.wt-icon-delete::before {
2373	width: 16px;
2374	height: 16px;
2375	content: url(webtrees/icons/delete.png);
2376}
2377
2378.wt-icon-edit::before {
2379	width: 16px;
2380	height: 16px;
2381	content: url(webtrees/icons/edit.png);
2382}
2383
2384.wt-icon-family::before {
2385	width: 14px;
2386	height: 15px;
2387	content: url(webtrees/icons/family.png);
2388}
2389
2390.wt-icon-help::before {
2391	width: 16px;
2392	height: 16px;
2393	content: url(webtrees/icons/help.png);
2394}
2395
2396.wt-icon-google-maps::before {
2397	width: 16px;
2398	height: 16px;
2399	content: url(webtrees/icons/google-maps.png);
2400}
2401
2402.wt-icon-individual::before {
2403	width: 11px;
2404	height: 15px;
2405	content: url(webtrees/icons/individual.png);
2406}
2407
2408.wt-icon-keyboard::before {
2409	width: 30px;
2410	height: 15px;
2411	content: url(webtrees/icons/keyboard.png);
2412}
2413
2414.wt-icon-media::before {
2415	width: 18px;
2416	height: 16px;
2417	content: url(webtrees/icons/media.png);
2418}
2419
2420.wt-icon-note::before {
2421	width: 20px;
2422	height: 20px;
2423	content: url(webtrees/icons/note.png);
2424}
2425
2426.wt-icon-openstreetmap::before {
2427	width: 16px;
2428	height: 16px;
2429	content: url(webtrees/icons/openstreetmap.png);
2430}
2431
2432.wt-icon-preferences::before {
2433	width: 25px;
2434	height: 25px;
2435	content: url(webtrees/icons/preferences.png);
2436}
2437
2438.wt-icon-repository::before {
2439	width: 15px;
2440	height: 15px;
2441	content: url(webtrees/icons/repository.png);
2442}
2443
2444.wt-icon-source::before {
2445	width: 18px;
2446	height: 16px;
2447	content: url(webtrees/icons/source.png);
2448}
2449
2450.wt-icon-submitter::before {
2451	width: 11px;
2452	height: 15px;
2453	content: url(webtrees/icons/individual.png);
2454}
2455
2456[class^="icon-"],
2457[class*=" icon-"] {
2458	display: inline-block;
2459	vertical-align: text-bottom;
2460	background-repeat: no-repeat;
2461	background-size: cover;
2462}
2463
2464.icon-add {
2465	width: 14px;
2466	height: 15px;
2467	background-image: url(images/add.png);
2468}
2469
2470.icon-cfamily {
2471	width: 20px;
2472	height: 20px;
2473	background-image: url(webtrees/images/family.png);
2474}
2475
2476.icon-childless {
2477	width: 25px;
2478	height: 25px;
2479	background-image: url(webtrees/images/childless.png);
2480}
2481
2482.icon-children {
2483	width: 16px;
2484	height: 16px;
2485	background-image: url(webtrees/images/children.png);
2486}
2487
2488.icon-clippings {
2489	width: 22px;
2490	height: 22px;
2491	background-image: url(webtrees/images/clippings.png);
2492}
2493
2494.icon-edit_indi {
2495	width: 20px;
2496	height: 20px;
2497	background-image: url(webtrees/images/edit_indi.png);
2498}
2499
2500.icon-fam-list {
2501	width: 20px;
2502	height: 20px;
2503	background-image: url(webtrees/images/family.png);
2504}
2505
2506.icon-indi-list {
2507	width: 20px;
2508	height: 20px;
2509	background-image: url(webtrees/images/indis.png);
2510}
2511
2512.icon-loading-small {
2513	width: 16px;
2514	height: 16px;
2515	background-image: url(webtrees/images/indicator.gif);
2516}
2517
2518.icon-media {
2519	width: 20px;
2520	height: 20px;
2521	background-image: url(webtrees/images/media.png);
2522}
2523
2524.icon-media-list {
2525	width: 20px;
2526	height: 20px;
2527	background-image: url(webtrees/images/media.png);
2528}
2529
2530.icon-media-next {
2531	width: 20px;
2532	height: 20px;
2533	background-image: url(webtrees/images/rdarrow.png);
2534}
2535
2536.icon-media-play {
2537	width: 20px;
2538	height: 20px;
2539	background-image: url(webtrees/images/rarrow.png);
2540}
2541
2542.icon-media-stop {
2543	width: 20px;
2544	height: 20px;
2545	background-image: url(webtrees/images/stop.png);
2546}
2547
2548.icon-minus {
2549	width: 11px;
2550	height: 11px;
2551	background-image: url(webtrees/images/minus.png);
2552}
2553
2554.icon-mypage {
2555	width: 24px;
2556	height: 24px;
2557	background-image: url(webtrees/images/mypage.png);
2558}
2559
2560.icon-note {
2561	width: 20px;
2562	height: 20px;
2563	background-image: url(webtrees/icons/note.png);
2564}
2565
2566.icon-plus {
2567	width: 11px;
2568	height: 11px;
2569	background-image: url(webtrees/images/plus.png);
2570}
2571
2572.icon-remove {
2573	width: 20px;
2574	height: 20px;
2575	background-image: url(webtrees/images/remove.png);
2576}
2577
2578.icon-resn-confidential {
2579	width: 16px;
2580	height: 16px;
2581	background-image: url(webtrees/images/resn_confidential.png);
2582}
2583
2584.icon-resn-locked {
2585	width: 16px;
2586	height: 16px;
2587	background-image: url(webtrees/images/resn_locked.png);
2588}
2589
2590.icon-resn-none {
2591	width: 16px;
2592	height: 16px;
2593	background-image: url(webtrees/images/resn_none.png);
2594}
2595
2596.icon-resn-privacy {
2597	width: 16px;
2598	height: 16px;
2599	background-image: url(webtrees/images/resn_privacy.png);
2600}
2601
2602.icon-rings {
2603	width: 9px;
2604	height: 9px;
2605	background-image: url(webtrees/images/rings.png);
2606}
2607
2608.icon-selected {
2609	width: 12px;
2610	height: 12px;
2611	background-image: url(webtrees/images/selected.png);
2612}
2613
2614.icon-source {
2615	width: 20px;
2616	height: 20px;
2617	background-image: url(webtrees/images/source.png);
2618}
2619
2620/* Silhouettes on charts */
2621.icon-silhouette-F {
2622	width: 37px;
2623	height: 50px;
2624	background-image: url(webtrees/images/silhouette_female_small.png);
2625}
2626
2627.icon-silhouette-M {
2628	width: 37px;
2629	height: 50px;
2630	background-image: url(webtrees/images/silhouette_male_small.png);
2631}
2632
2633.icon-silhouette-U {
2634	width: 37px;
2635	height: 50px;
2636	background-image: url(webtrees/images/silhouette_unknown_small.png);
2637}
2638
2639.icon-indis {
2640	width: 20px;
2641	height: 20px;
2642	background-image: url(webtrees/images/indis.png);
2643}
2644
2645.icon-patriarch {
2646	width: 20px;
2647	height: 20px;
2648	background-image: url(webtrees/images/patriarch.png);
2649}
2650
2651.icon-pedigree {
2652	width: 20px;
2653	height: 20px;
2654	background-image: url(webtrees/images/pedigree.png);
2655}
2656
2657.icon-place {
2658	width: 20px;
2659	height: 20px;
2660	background-image: url(webtrees/images/place.png);
2661}
2662
2663.icon-repo-list {
2664	width: 20px;
2665	height: 20px;
2666	background-image: url(webtrees/images/repository.png);
2667}
2668
2669.icon-repository {
2670	width: 20px;
2671	height: 20px;
2672	background-image: url(webtrees/images/repository.png);
2673}
2674
2675.icon-search {
2676	width: 17px;
2677	height: 17px;
2678	background-image: url(webtrees/images/search.png);
2679}
2680
2681.icon-sfamily {
2682	width: 20px;
2683	height: 20px;
2684	background-image: url(webtrees/images/family.png);
2685}
2686
2687.icon-source-list {
2688	width: 20px;
2689	height: 20px;
2690	background-image: url(webtrees/images/source.png);
2691}
2692
2693.icon-user_add {
2694	width: 20px;
2695	height: 20px;
2696	background-image: url(webtrees/images/user_add.png);
2697}
2698
2699/* Census assistant */
2700.wt-census-assistant-form-control:focus {
2701	min-width: 12rem;
2702}
2703
2704/*
2705 * Drag and drop sortable lists
2706 */
2707.wt-sortable-list {
2708}
2709
2710.wt-sortable-item {
2711	cursor: move;
2712}
2713
2714/* Some blocks show a reduced version on the right-hand side. */
2715.wt-side-blocks .wt-side-block-optional {
2716	display: none !important;
2717}
2718
2719/* my page chart enhancements */
2720.wt-block-content-charts {
2721	flex-flow: column-reverse;
2722	overflow: auto;
2723}
2724
2725.wt-block-content-todays-events-block {
2726	padding: .25rem;
2727}
2728
2729/* Some charts are wider than the page. */
2730.wt-chart {
2731	overflow-x: auto;
2732	overflow-y: hidden;
2733}
2734
2735/* Fit thumbnail into parent on charts */
2736.select2-selection.select2-selection--single {
2737	min-height: 36px;
2738	height: auto;
2739	padding: 2px 0;
2740}
2741
2742.select2-container .select2-selection--single .select2-selection__rendered {
2743	padding-left: 2px;
2744}
2745
2746.select2-selection--single .NAME {
2747	padding-left: 4px;
2748}
2749
2750/*
2751 *  These selectors control how the short horizontal lines are positioned in the Charts
2752 *  Optimized for Win10 and FF, Chrome and Edge browsers
2753 *  	Ancestors
2754 *  	Descendants
2755 *  	amily book
2756 *  	Hourglass chart
2757 *
2758 */
2759
2760/* Ascentors */
2761.wt-chart-ancestors .linea1 {
2762	margin-bottom: 4px;
2763}
2764
2765.wt-chart-ancestors .linea2 {
2766	margin-bottom: 7px;
2767}
2768
2769.wt-chart-ancestors .linea3 {
2770	margin-bottom: 4px;
2771}
2772
2773.wt-chart-ancestors .linea4 {
2774	margin-bottom: 7px;
2775}
2776
2777.wt-chart-ancestors .linea5 {
2778	vertical-align: top;
2779}
2780
2781/* Descendants */
2782.wt-chart-descendants .lined1 {
2783	margin-bottom: 4px;
2784}
2785
2786.wt-chart-descendants .lined2 {
2787	margin-bottom: 7px;
2788}
2789
2790.wt-chart-descendants .lined3 {
2791	margin-bottom: 4px;
2792}
2793
2794.wt-chart-descendants .lined4 {
2795	margin-bottom: 7px;
2796}
2797
2798.wt-chart-descendants .linea5 {
2799	vertical-align: top;
2800}
2801
2802/* Family book */
2803.linef1 {
2804	margin-bottom: 3px;
2805}
2806
2807.linef2 {
2808	margin-bottom: 3px;
2809}
2810
2811.linef3 {
2812	margin-bottom: 7px;
2813}
2814
2815/* Hourglass */
2816.lineh1 {
2817	margin-bottom: 4px;
2818}
2819
2820.lineh2 {
2821	margin-bottom: 4px;
2822}
2823
2824.lineh3 {
2825	margin-bottom: 7px;
2826}
2827
2828/*
2829 * Pedigree chart
2830 *
2831 * wt-chart, wt-chart-pedigree
2832 */
2833
2834#pedigree_chart {
2835	position: relative;
2836	margin: 20px auto;
2837}
2838
2839#pedigree_canvas {
2840	z-index: -1000;
2841}
2842
2843#childbox-pedigree {
2844	border: 1px solid;
2845	background-color: #fff;
2846}
2847
2848#pedigree-page #childbox-pedigree {
2849	border: 1px solid;
2850	background-color: #fff;
2851}
2852
2853#childbox-pedigree {
2854	padding: 5px;
2855	position: absolute;
2856	display: none;
2857	text-align: start;
2858	white-space: nowrap;
2859	left: auto;
2860	z-index: 9999;
2861}
2862
2863.wt-chart-pedigree, .wt-chart-hourglass {
2864	overflow-y: auto;
2865}
2866
2867.wt-chart-pedigree .spacer {
2868	background-image: url(images/spacer.png);
2869	height: 20px;
2870	width: 1px;
2871}
2872
2873#pedigree-page .shadow {
2874	box-shadow: 0 0 0 !important; /* override vendor css shadow  */
2875}
2876
2877#childarrow,
2878.ancestorarrow {
2879	text-align: center;
2880	display: inline-block;
2881	vertical-align: middle;
2882}
2883
2884.layout3 #childbox-pedigree {
2885	top: auto;
2886}
2887
2888#childbox-pedigree a.name1 {
2889	display: block;
2890	margin-left: 5px;
2891}
2892
2893/*
2894 * Place hierarchy
2895 *
2896 * wt-place-hierarchy-page
2897 */
2898
2899#place-hierarchy ul {
2900	list-style-type: none;
2901}
2902
2903.d-table-cell {
2904	padding-right: 5px;
2905}
2906
2907/*
2908 * Search
2909 *
2910 * wt-search-page, wt-general-serach-page/wt-phonetic-search-page/wt-advanced-search-page/wt-search-replace-page
2911 */
2912
2913/* Some menus (e.g. languages) can be longer than a page */
2914.dropdown-menu {
2915	max-height: 30rem;
2916	overflow-x: hidden;
2917}
2918
2919/* Clipping cart */
2920.clipping-cart h2 {
2921	margin: 20px;
2922	text-align: center;
2923}
2924
2925.clipping-cart .wt-page-options {
2926	max-width: 25rem;
2927}
2928
2929.clipping-cart .topbottombar, .clipping-cart .optionbox, .add-to .topbottombar {
2930	font-size: 1rem;
2931}
2932
2933.clipping-cart .add-to {
2934	text-align: left;
2935}
2936
2937/* Forms */
2938.col-form-label {
2939	font-weight: bold;
2940}
2941
2942/* Popups */
2943.popup .nav-link {
2944	display: inline;
2945	vertical-align: top;
2946	padding: 5px;
2947}
2948
2949