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