/** * webtrees: online genealogy * Copyright (C) 2017 webtrees development team * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ /* The minimal theme */ /* Override Bootstrap formatting */ .btn-link { padding-left: 0.25rem; padding-right: 0.25rem; } .table-given-name { overflow-x: hidden; } .container-fluid { padding-left: 5px; padding-right: 5px; } table { border-collapse: separate; } /* * Any element that is loaded dynamically has the class wt-ajax-load. * We can provide a "loading" placeholder for empty elements with this class. */ .wt-ajax-load:empty { height: 32px; background: url(images/loading-32x32.gif) no-repeat 50% 50%; } /* * Icons use FontAwesome by default, but have additional classes to * allow them to be overridden * * .wt-icon-arrow-down * .wt-icon-arrow-end (right on LTR, left on RTL) * .wt-icon-arrow-start (left on LTR, right on RTL) * .wt-icon-arrow-up * .wt-icon-bing-maps * .wt-icon-calendar * .wt-icon-copy * .wt-icon-delete * .wt-icon-edit * .wt-icon-email * .wt-icon-family * .wt-icon-help * .wt-icon-individual * .wt-icon-google-maps * .wt-icon-keyboard * .wt-icon-media * .wt-icon-note * .wt-icon-openstreetmap * .wt-icon-preferences * .wt-icon-repository * .wt-icon-source * .wt-icon-submitter */ .wt-icon-bing-maps::before { width: 16px; height: 16px; content: url(icons/bing-maps.png); } .wt-icon-google-maps::before { width: 16px; height: 16px; content: url(icons/google-maps.png); } .wt-icon-openstreetmap::before { width: 16px; height: 16px; content: url(icons/openstreetmap.png); } /* * Pages have the following high-level structure: * * wt-global * +---wt-header-wrapper * +---wt-header-container * | +---wt-header-content * | +---wt-accessibility-links * | +---wt-site-logo * | +---wt-site-title * | +---wt-header-search * | | +---wt-header-search-form * | | +---wt-header-search-field * | | +---wt-header-search-button * | +---wt-secondary-navigation * | | +---wt-secondary-menu * | +---wt-primary-navigation * | +---wt-primary-menu * +---wt-main-container * | +---wt-main-content * | +---wt-messages * | +---wt-page-title * | +---wt-page-options wt-page-options-xxxxx * | +---wt-page-content * +---wt-footer-container * +---wt-footer-content * +---wt-contact-links * +---wt-powered-by-webtrees * +---wt-page-views * +---wt-cookie-warning */ .wt-global { /* Avoid extremes of black and white. It is better for users with dyslexia. */ color: #0a0a0a; background-color: #f9f9f9; } .wt-header-container { margin-top: 1rem; } .wt-header-content { } .wt-accessibility-links { } .wt-site-logo { display: none; } .wt-site-title { order: 1; flex: 1 1 fit-content; font-size: 1.75rem; } .wt-header-search { order: 3; flex: 0 0 15rem; } .wt-header-search-form { } .wt-secondary-navigation { order: 2; flex: 0 0 fit-content; white-space: nowrap; } .wt-secondary-menu { } .wt-secondary-menu .nav-link { padding: 0.5rem; } .wt-primary-navigation { order: 4; /* Extend to full page width */ flex: 0 1 100vw; max-width: 100vw; /* Recalculate margins for content */ margin: 0 calc(50% - 50vw); padding: 0 calc(50vw - 50%); border-bottom: 2px solid #aaa; } .wt-primary-menu { justify-content: center; } .wt-primary-menu .nav-link { padding: 0.5rem; } .wt-main-container { } .wt-main { } .wt-messages { } .wt-page-title { text-align: center; } .wt-page-options { max-width: 50rem; margin: 0 auto; border: 1px solid #000; } .wt-page-content { margin-top: 1rem; } .wt-footer-container { } .wt-footer-content { } .wt-contact-links { } .wt-powered-by-webtrees { } .wt-page-views { } .wt-cookie-warning { } /* * The home/my pages * * wt-home-page / wt-my-page * +---wt-main-blocks * | +---wt-block, wt-block-AAA * | +---wt-block, wt-block-BBB * | +---wt-block, wt-block-CCC * +---wt-side-blocks * +---wt-block, wt-block-XXX * +---wt-block, wt-block-YYY * +---wt-block, wt-block-ZZZ * * Each block as the structure * wt-block, wt-block-XXX * +---wt-block-header, wt-block-header-XXX * +---wt-block-content, wt-block-content-XXX */ .wt-block { border: solid #000 1px; } .wt-block-header { background-color: #fff; } .wt-block-content { } /* * Edit genealogy data page * * wt-edit-page, wt-edit-XXXX-page */ /* * Configure home/my page blocks page * * wt-edit-blocks-page */ .wt-block-content .list_table { border-spacing: 1px; border: solid #000 1px; border-right: 0; } .wt-block-content .list_value, .wt-block-content .list_value_wrap { border: 0; border-top: solid #000 1px; border-right: solid #000 1px; } /* * Ancestors chart * * wt-chart, wt-ancestors-chart * +---wt-ancestors-chart-list * +---wt-ancestors-chart-list-item * +--- * +---wt-ancestors-chart-list * +---wt-ancestors-chart-list-item * +---... */ .wt-ancestors-chart-list { } .wt-ancestors-chart-list-item { } /* * Compact chart * * wt-chart, wt-compact-chart */ .wt-ancestors-chart-list-item { } /* * Descendants chart * * wt-chart, wt-descendants-chart * +---wt-descendants-chart-list * +---wt-descendants-chart-list-item */ .wt-descendants-chart-list { } .wt-descendants-chart-list-item { } /* * Family book chart * * wt-chart, wt-family-book-chart */ /* * Fan chart * * wt-chart, wt-fan-chart */ /* * Hourglass chart * * wt-chart, wt-hourglass-chart */ /* * Hourglass chart * * wt-chart, wt-interactive-tree */ /* * Lifespans chart * * wt-chart, wt-lifespans-chart */ /* * Pedigree chart * * wt-chart, wt-pedigree-chart */ /* * Pedigree map * * wt-chart, wt-pedigree-map */ /* * Relationships chart * * wt-chart, wt-relationships-chart */ /* * Statistics chart * * wt-chart, wt-statistics-chart */ /* * Timeline chart * * wt-chart, wt-timeline-chart */ /* * Family list and individual list * * wt-page-options * +---wt-initials-list * +---wt-initial-list-item * +---wt-initial * +---wt-initial, active * wt-page-content * +---wt-list, wt-{family,individual}-list */ .wt-initials-list { list-style: none; } .wt-initials-list-item { display: inline; } .wt-initials-list-item + .wt-initials-list-item::before { content: '|'; } .wt-initial { padding: 0 0.25rem; } .wt-initial.active { color: #f00; font-weight: bold; } /* * Media object list * * wt-list, wt-media-list */ /* * Note object list * * wt-list, wt-note-list */ /* * Source list * * wt-list, wt-source-list */ /* * Repository list * * wt-list, wt-repository-list */ /* * Branches list * * wt-branches-page */ /* * Place hierarchy * * wt-place-hierarchy-page */ /* * Calendar * * wt-calendar-page */ /* * Reports * * wt-reports-page */ /* * Search * * wt-search-page, wt-general-serach-page/wt-phonetic-search-page/wt-advanced-search-page/wt-search-replace-page */ /* ios on click workaround */ /* ---Pending edits--- */ .new { outline: solid thin blue; } .old { outline: solid thin red; } .person_box, .person_boxF, .person_boxNN { margin: 0; border: 1px solid #ccc; } .person_box_template .details0, .person_box_template .details1 { font-size: 11px; } .person_box { padding: 3px; background-color: #fff; border: solid #555 1px; } .person_boxF { padding: 3px; background-color: #fff; border: solid #555 1px; } .person_boxNN { padding: 3px; background-color: #fff; border: 1px dashed #808080; } .person_box:target, .news_box:target, #gedcom_stats:target { background-color: #ffc; } .center { text-align: center; } .clearfloat { clear: both; } .list_value, .list_value_wrap { border: solid #000 1px; vertical-align: top; padding: 4px; } /* ---Find special characters--- */ /* ======== Person box ======= */ .gedcom_favorites_block, .user_favorites_block, .person_box_template { overflow: visible !important; } /* Box styles are 0 compact view 1 normal view - small box 2 normal view - large box */ .box-style0 { cursor: url(images/zoomin.png), n-resize; } .box-style0-expanded { cursor: url(images/zoomout.png), n-resize; } .box-style0-expanded, .box-style1-expanded { width: 300px !important; height: auto !important; line-height: 1.5em!important; } .person_box_template { height: auto; white-space: normal; overflow: hidden !important; } .person_box_template .namedef i[class^="icon-sex"] { margin-left: 3px; } [dir=rtl] .person_box_template .namedef i[class^="icon-sex"] { margin-right: 3px; } .person_box_template .icons { float: right; } [dir=rtl] .person_box_template .icons { float: left; } .person_box_template .inout { clear: both; display: none; } .person_box_template .noprint { width: 25px; height: 50px; position: relative; } .person_box_template .chart_textbox { overflow: hidden; font-size: 12px; } .person_box_template .chart_textbox .name1{ line-height: 1; } .person_box_template img, .person_box_template a.gallery { float: left; height: 50px; margin: 0 2px 0 0; max-width: 80px; width: auto; } [dir=rtl] .person_box_template img, [dir=rtl] .person_box_template a.gallery { float: right; margin: 0 0 0 2px; } .person_box_template i[class^="icon-silhouette"] { float: left; } [dir=rtl] .person_box_template i[class^="icon-silhouette"] { float: right; } .list_table { margin: 0 auto; } .facts_value { border: solid #000 1px; padding: 4px; } .quickfacts a { font-size: .75rem; padding: 0 3px; } /* login.php */ #login-register-page h2, #login-page .confirm { text-align: center; } #login-register-page .warning { margin: 20px auto; text-align: center; } #login-register-page .back { font-weight: bold; font-size: 14px; text-align: center; } #login-register-page .confirm { margin: 20px auto; width: 500px; } #login-register-page .confirm p { font-weight: bold; font-size: 14px; } #login-register-page .confirm p + p { font-size: 12px; font-weight: normal; } #login-text, #register-text, #user-verify { margin: 0 auto; width: 40%; min-width: 450px; } #login-box, #register-box { text-align: center; } #login-form, #new_passwd_form, #register-form, #verify-form { border: 1px solid #000; display: inline-block; margin: 10px auto 0; padding: 5px; } #login-form div label { text-align: right; } #register-form, #verify-form { width: 440px; } #login-form div, #login-form div a, #new_passwd_form div, #register-form div, #verify-form div { margin: auto; padding: 5px; text-align: center; } #login-form label, #new_passwd_form label, #verify-form label { display: block; } #login-form label input, #new_passwd_form label input, #verify-form input { width: 140px; margin: 0 10px; } #register-form p, #verify-form p { text-align: left; } #new_passwd_form h4, #register-form h4 { font-weight: normal; text-align: center; } #register-form div, #verify-form div { text-align: right; } #register-form label input, #register-form label select, #register-form textarea { width: 220px; margin: 0 10px; padding: 3px; } #register-form label select { margin: 0 10px; width: 228px; } #register-form textarea { vertical-align: top; } #register-form div#registration-submit { text-align: center; } .login_block_block #login-form, .login_block_block #new_passwd_form { border: 0; background: none; } #register-form #user_comments { width: 350px; } [dir=rtl] #login-form label, [dir=rtl] #new_passwd_form label, [dir=rtl] #register-form label, [dir=rtl] #verify-form label { text-align: left; } [dir=rtl] #register-form div, [dir=rtl] #verify-form div { text-align: left; } [dir=rtl] #register-form p, [dir=rtl] #verify-form p { text-align: right; } /* --- reportengine.php --- */ #reportengine-page table { margin: 20px auto; } #reportengine-page .report-type { overflow: hidden; margin: auto; width: 180px; } #reportengine-page .report-type div { float: left; margin: 0 20px; } #reportengine-page .report-type p { margin: 0; text-align: center; } /* styles for popup menus */ .itr { position: absolute; line-height: 1.5; } .popup { position: absolute; top: 20px; right: 0; left: auto; visibility: hidden; opacity: 0; transition: visibility 0s ease .25s,opacity .25s ease; z-index: 9999; -webkit-box-shadow: 5px 5px 5px 0 rgba(0,0,0,.4); -moz-box-shadow: 5px 5px 5px 0 rgba(0,0,0,.4); box-shadow: 5px 5px 5px 0 rgba(0,0,0,.4); } [dir=rtl] .popup { left: 0; right: auto; } .popup ul { white-space: nowrap; list-style: none; margin: 0; padding: 0 10px; font-size: smaller; } .popup > ul { padding: 2px 10px; } .popup li .NAME { padding: 0 5px; } .itr:hover .popup { visibility: visible; opacity: 1; transition-delay: 0s; } /* styles for FindFacts pop-up */ #layDefinedTags, #tabDefinedTagsShow { width: 450px; } #tabDefinedTags { width: 430px; } #layDefinedTags { margin-left: auto; margin-right: auto; height: 285px; overflow: auto; } #tabDefinedTags { border-collapse: collapse; } #tabDefinedTags th, #tabDefinedTags td { border: solid 1px #000; margin: 0; padding: 3px; } #tabDefinedTags tbody th { text-align: left; font-weight: bold; } #tabDefinedTags tr.sel { background-color: #cde; color: #888; } #tabDefinedTags tr.unsel { background-color: #fff; color: #888; } #tabDefinedTagsShow { margin-left: auto; margin-right: auto; } #tabDefinedTagsShow td { width: 50%; text-align: center; } #tabFilterAndCustom { margin-left: auto; margin-right: auto; } #tabAction { margin-left: auto; margin-right: auto; } #tabAction td { width: 50%; text-align: center; } /* ======== List styles ====== */ .source-list, .note-list, .repo-list, .media-list, .indi-list, .fam-list { margin: 5px auto; width: 98%; } .recent_changes_block, .upcoming_events_block, .todays_events_block, .todo_block { width: 98%; } .surname-list, .givn-list { margin: 5px auto; } .source-list table, .note-list table, .repo-list table, .media-list table, .indi-list table, .fam-list table { width: 100%; } .source-list td, .note-list td, .repo-list td, .media-list td, .indi-list td, .fam-list td, .recent_changes_block td, .upcoming_events_block td, .surname-list td, .givn-list td { padding: 2px 5px; } .indi-list td, .fam-list td { color: #555; } .surname-list td { vertical-align: top; } .indi-list .stats, .fam-list .stats { margin: 0 auto; width: auto; } .source-list th, .note-list th, .repo-list th, .media-list th, .indi-list th, .fam-list th, .recent_changes_block th, .upcoming_events_block th, .todays_events_block th, .todo_block th, .yahrzeit_block th, .surname-list th, .givn-list th { cursor: pointer; font-weight: 600; padding: 2px 4px; white-space: nowrap; } .source-list th:last-child, .note-list th:last-child, .repo-list th:last-child { margin: 0 -2px 1px 1px; padding: 3px 0 4px; width: 24px; } .givn-list th { cursor: pointer; white-space: nowrap; padding: 2px; text-align: center; } #source-details h2, #sourcelist-page h2, #note-details h2, #notelist-page h2, #repo-details h2, #repolist-page h2, #media-details h2, #statistics-page h2 { margin-bottom: 20px; text-align: center; } #source-tabs, #note-tabs, #repo-tabs, #media-tabs { visibility: hidden; } #statistics_chart { visibility: hidden; } #source-edit, #note-edit, #repo-edit, #media-edit { overflow-x: auto; } .media-list td img { display: block; height: 40px; width: auto; margin: 3px auto; } .filtersH, .filtersF { margin: 4px; } .filtersH img { margin-bottom: 2px; } .loading-image { background: transparent url(images/loading-32x32.gif) 50% 50% no-repeat; height: 50px; margin: 50px; } .list-charts { text-align: center; } #search-result-tabs, #places-tabs { margin: auto; width: 98%; visibility: hidden; } #search-result-tabs h3 { text-align: center; } #searchAccordion-indi, #searchAccordion-fam, #searchAccordion-source, #searchAccordion-note { margin: auto; width: 99%; } #place-hierarchy h2, #place-hierarchy h4 { text-align: center; } [dir=rtl] .source-list th:last-child, [dir=rtl] .note-list th:last-child, [dir=rtl] .repo-list th:last-child { margin: 0 1px 1px -2px; } /* ======== Block styles ===== */ #index_main_blocks { clear: none; width: 60%; float: left; } #index_small_blocks { clear: none; width: 40%; float: right; } #index_full_blocks { clear: none; width: 100%; } [dir=rtl] #index_main_blocks { float: right; } [dir=rtl] #index_small_blocks { float: left; } .small_inner_block { max-height: 200px; overflow: auto; } .normal_inner_block { overflow: auto; } .block { background-color: #fff; color: #555; border: solid #ccc 1px; padding: 3px; vertical-align: top; } .blockcontent { margin: 5px; overflow: auto; } .blockcontent .list_table { border-spacing: 0; border: solid #555 1px; border-right: 0; } .blockcontent .list_value, .blockcontent .list_value_wrap { border: 0; border-top: solid #555 1px; border-right: solid #555 1px; } .blockheader { font-weight: bold; } /* end Block styles */ #main_select, #available_select, #right_select { min-width: 150px; } .user_welcome_block table, .gedcom_block_block table { margin: auto; } .user_welcome_block td, .gedcom_block_block td { width: 33%; text-align: center; vertical-align: top; } .user_welcome_block i, .gedcom_block_block i { background-image: none; height: 0; width: 0; } /* Random picture block */ #random_picture { text-align: center; } #random_picture_box { width: 100%; } /* ==== Favourites block ===== */ .blockcontent .person_box_template .details2 { min-height: 40px; } .blockcontent [class*='box-style2'] { margin: 5px 0; } .add_fav_head { font-weight: 900; margin: 5px 0; } .add_fav_head i { margin: 0 5px 1px; } .add_fav_ref label { display: inline-block; min-width: 100px; } .add_fav_ref input { margin: 0 5px; } /* === Who is online block === */ .logged_in_list { margin: 5px 0 0; padding: 0; line-height: 20px; } /* Statistics block */ .stat-table1 { display: table; float: left; width:15%; border-collapse:separate; border-spacing:2px; vertical-align: middle; margin-bottom: 5px; } [dir=rtl] .stat-table1 { float: right; } .stat-table2 { display: table; float: left; width:60%; border-collapse:separate; border-spacing:2px; margin-bottom: 5px; } [dir=rtl] .stat-table2 { float: right; } .facts_label { border: 1px solid #000; padding: 4px; } .stat-row { display: table-row; border: 1px solid #000; } .stat-cell { display: table-cell; vertical-align: middle; text-align: center; white-space: pre-wrap; } .left {text-align: left;} [dir=rtl] .left {text-align: right;} /* ==== Theme select block === */ .theme_form ul { margin: -10px auto; } .theme_form li { visibility: hidden; } .theme_form li ul li { display: inline-block; padding: 10px; visibility: visible; } /* ==== FAQ table styles ===== */ table.faq { background-color: #ddd; margin: 5px 0 50px 5px; width: 98%; } table.faq tr.odd td { background-color: #fff; } div.faq_title { background-color: #ddd; margin: 1em 0; padding: .25em; font-weight: bold; width: 98%; } div.faq_body { clear: both; padding: 0 1em; } .faq_top { float: right; } [dir=rtl] .faq_top { float: left; } /* === Positioning edit, copy, delete links === */ /* General use */ .editfacts { clear: left; padding-top: 15px; } /* ======== Indi header ====== */ #indi_header { overflow: hidden; margin: 0 4px 5px; width: 98%; } #indi_header h3 { color: #555; font-size: 90%; font-weight: bold; margin: 0; padding: 0 10px 0 30px; text-align: left; overflow: hidden; position: relative; } #indi_header .name_one { font-size: 1.5em; } #indi_header h3 .details1 { font-size: 1.0em; border: 1px solid #888; } #indi_header h3.person_box, #indi_header h3.person_boxF, #indi_header h3.person_boxNN { border: 1px solid #888; background: #ddd; } #indi_header h3 .header_age { padding: 5px 0 5px 5px; color: #666; float: right; font-weight: normal; font-size: 65%; } #indi_header h3 a { display: inline; } #indi_header a { font-weight: normal; } #indi_header a:hover { color: #333; } #indi_mainimage { float: right; } #header_accordion1 { padding: 0 10px 0 0; overflow: hidden; } [dir='rtl'] #header_accordion1 { padding: 0 0 0 10px; } #header_accordion1 .indi_name_details { background: none #fff; border: 0; margin: 0; overflow: hidden; padding: 5px; } .indi_name_details .name1 { font-weight: normal; padding-top: 5px; font-size: inherit; } #indi_header a.warning { color: #f00; font-size: 1em; } #indi_note { margin: 0 0 5px; } .indi_table { clear: left; } #sex { float: right; } #dates { color: #666; float: right; } #individual-names .wt-icon-edit, #individual-names .wt-icon-delete { float: right; } #indi_note .fact_NOTE { float: left; margin: 0 5px 0 0; } #indi_note .fact_SOUR { margin: 3px 0; } #indi_note .fact_SOUR a { font-size: 100%; } #indi_note .fact_NOTE, #indi_note .fact_SOUR { clear: both; } /* markdown formatting ===== */ .markdown { /* Tables and pre-formatted text can break the layout. */ overflow-x: auto; } .markdown p { margin: 0 0 0.5em; white-space: pre-wrap; } .markdown table { border-collapse: collapse; font-size: 10px; margin-bottom: 5px; } .markdown th { font-weight: bold; } .markdown td, .markdown th { border: solid thin #000; padding: 3px; } [dir=rtl] #indi_header h3 { padding: 0 30px 0 10px; text-align: right; } [dir=rtl] #indi_header h3 .header_age { padding: 5px 5px 5px 0; float: left; } [dir=rtl] #indi_mainimage { float: left; } [dir=rtl] #indi_note .fact_NOTE { float: right; margin: 0 0 0 10px; } [dir=rtl] .indi_table { clear: right; } [dir=rtl] #sex { float: left; } [dir=rtl] #dates { float: left; } [dir=rtl] #individual-names .wt-icon-edit, [dir=rtl] #individual-names .wt-icon-delete { float: left; } .odometer { font-family: courier, monospace; font-weight: bold; background: #000; color: #fff; } /* ======= General sprite ==== */ .male_gender, .female_gender, .unknown_gender { display: block; background: url(images/indi_sprite.png) no-repeat; } .female_gender { background-position: -45px 3px; width: 24px; height: 30px; } .male_gender { background-position: -79px 3px; width: 24px; height: 30px; } .unknown_gender { background-position: -107px 4px; width: 24px; height: 30px; } /* ======== Indi tabs ======== */ /* Facts & Events tab */ #personal_facts_content .fact_NOTE, #personal_facts_content .fact_SOUR, #family-table .fact_NOTE, #family-table .fact_SOUR { margin: 5px 3px 5px 0; clear: both; } #note-edit .facts_table, #notes_content .facts_table, #personal_facts_content .facts_table { table-layout: fixed; } .facts_table { background-color: #fff; } .facts_table .field em { margin-top: 0; padding-left: 5px; } .facts_table .field img { vertical-align: middle; } .media-display-image { float: left; } .media-display-title { float: left; font-style: italic; margin: 10px; } [dir=rtl] .media-display-image { float: right; } [dir=rtl] .media-display-title { float: right; } [dir=rtl] .facts_table .field em { padding-right: 5px; } /* ======== Album tab =========*/ .album-list { list-style-type: none; } .album-list-item { display: inline-block; text-align: center; padding: 0 12px; height: 112px; width: 120px; } .album-list-item a img { max-height: 78px; max-width: 100px; height: auto; width: auto; } .album-list-item a:hover div { outline: thin solid #bdb071; } .album-image { margin: auto; } .album-title { padding-top: 4px; width: 100%; } /* === jQuery.datatable styling general over-rides === */ .odd { background-color: #dcdcdc; } .even { background-color: #fff; } .css_right { float: left; } .fg-button { padding: 2px 6px; } .fg-toolbar { background-color: #fff; border-color: #aaa; } .dataTables_paginate { float: left; margin-bottom: 3px; } .dataTables_processing { float: left; } .dataTables_filter { float: right; font-weight: normal; } .dataTables_info { float: left; font-weight: normal; padding: 4px; } .recent_changes_block .dataTables_info, .upcoming_events_block .dataTables_info, .todays_events_block .dataTables_info, .todo_block .dataTables_info, .yahrzeit_block .dataTables_info { padding: 0; } .upcoming_events_block .dataTables_info, .todays_events_block .dataTables_info { padding: 2px 0 0; } .upcoming_events_block button, .todays_events_block button { margin: 0 20px; } .dataTables_length { float: right; font-weight: normal; } .dataTables_length select, .dataTables_filter input { padding: 1px; } .dt-clear { clear: both; } #loading { text-align: center; } .DataTables_sort_wrapper { position: relative; margin: 0 20px; } .DataTables_sort_wrapper span { left: 0; margin-left: -20px; margin-top: -8px; position: absolute; top: 50%; } .dataTables_wrapper { margin-bottom: 10px; } [dir=rtl] .css_right { float: right; } [dir=rtl] .dataTables_paginate { float: right; } [dir=rtl] .dataTables_processing { float: right; } [dir=rtl] .dataTables_filter { float: left; } [dir=rtl] .dataTables_info { float: right; } [dir=rtl] .dataTables_length { float: left; } [dir=rtl] .DataTables_sort_wrapper { margin-right: 20px; } [dir=rtl] .DataTables_sort_wrapper span { left: auto; right: 0; margin-right: -20px; } /* ======= Sidebar setup ===== */ #main { min-width: 600px; width: 100%; display: table; table-layout: fixed; } #indi_left { display: table-cell; } #tabs { background-color: #fff; border-color: #ddd; padding-bottom: 0; margin-bottom: 0; width: 98%; overflow: visible; } [dir=rtl] #tabs { float: right; } /* sidebar */ #sidebar { width: 20%; display: table-cell; vertical-align: top; } #separator { display: table-cell; width: 2.5em; position: relative; background-color: transparent; overflow: hidden; } #separator::after { position: absolute; top: 0; right: 0; left: auto; width: 10px; height: 99999px; content: ""; border: 1px solid #888; border-top-left-radius: 3px; border-top-right-radius: 3px; } [dir=rtl] #separator::after { right: auto; left: 0; } .separator-hidden::after, [dir=rtl] .separator-visible:after { background: #ddd url(images/indi_sprite.png) no-repeat -26px 100px; } .separator-visible::after, [dir=rtl] .separator-hidden:after { background: #ddd url(images/indi_sprite.png) no-repeat -1px 100px; } #sidebarAccordion { width: auto; } #sidebarAccordion h3 { text-align: center; background-color: #ddd; border: 1px solid #888; } /* Sidebar content items */ /* Family navigator */ #sb_content_family_nav { padding: 0; } #sb_family_nav_content { margin-top: 8px; } .nam a:hover { color: #555; } .nav_content { width: 100%; padding: 0; } .nav_content .facts_label { width: 75px; } #sb_family_nav_content .clist { margin: 0; } .famnav_title { font-weight: bold; display: block; padding: 5px 0; } .flyout { left: 40px; padding: 3px; } [dir=rtl] .flyout { left: auto; right: 40px; } .flyout a, .flyout a:hover { color: #000; cursor: default; text-decoration: none; } .flyout2 { font-weight: bold; } .flyout3 { color: #333; } .flyout3:hover { cursor: pointer; text-decoration: underline; } /* Sidebar*/ #sb_content_descendancy { margin-top: 5px; } #sb_desc_content { margin-left: 3px; font-size: 0.8em; } #sb_desc_content ul { padding: 0; margin: 0; } .sb_desc_indi_li { list-style-type: none; } .desc_tree_div { display: none; } .desc_tree_div ul { padding: 0; margin-left: 10px; margin-top: 0; margin-right: 0; } [dir=rtl] #sb_desc_content { margin-right: 3px; } [dir=rtl] .desc_tree_div ul { margin-right: 10px; margin-left: 0; } /* Individuals and Families */ #sb_content_individuals, #sb_content_families { margin-top: 5px; } .sb_indi_surname_li, .sb_fam_surname_li { list-style-image: url(images/plus.png); } .name_tree_div ul { padding: 0; margin: 0; } .name_tree_div li { list-style: none; margin: 0; padding: 0; } /* Clippings */ #sb_clippings_content ul { padding: 0; margin: 0; } #sb_clippings_content li { list-style: none; margin: 0; padding: 0; white-space: nowrap; } /* Extra info */ #sb_content_extra_info { font-size: 80%; font-weight: bold; margin-top: 1px; overflow: hidden; padding: 5px; } #sb_content_extra_info .editfacts { float: right; margin-top: -10px; } #sb_content_extra_info a { display: block; } #sb_content_extra_info span { font-weight: normal; } #sb_content_extra_info span a { display: inline; } #sb_content_extra_info #hitcounter { border-top: 1px solid #b2c7d7; font-weight: bold; padding-top: 5px; } [dir=rtl] #sb_content_extra_info .editfacts { float: left; } /* edituser.php */ #edituser-page h2, #edituser_submit { margin: 20px; text-align: center; } #edituser-table { border: 1px solid #000; margin: 20px auto 0; width: 800px; } #edituser-table .label { float: left; font-weight: bold; padding: 5px 10px 0; width: 240px; } #edituser-table .value { margin: 0 0 0 260px; padding: 5px; } #edituser-table .label span { margin: 0 10px; } #edituser-table select { margin: 0; } [dir=rtl] #edituser-table .label { float: right; } [dir=rtl] #edituser-table .value { margin: 0 260px 0 0; } /* ===== Styling for the jquery.colorbox gallery ===== */ /* ===== Edit interface pop-ups ===== */ #edit_interface-page h4 { color: #555; margin: 5px; } #edit_interface-page .optionbox span { margin: 0 5px; } #edit_interface-page #LATI, #edit_interface-page #LONG, #edit_interface-page #SPFX, #edit_interface-page #NSFX, #edit_interface-page #NPFX { line-height: 18px; margin: 0 5px; width: 88px; } #edit_interface-page #GIVN, #edit_interface-page #SURN, #edit_interface-page #_MARNM { line-height: 18px; margin: 0 5px; width: 180px; } #edit_interface-page input[type="text"], #edit_interface-page #NAME_display { line-height: 18px; margin: 0 5px; vertical-align: top; width: 240px; } #edit_interface-page input[type="text"][id*="PAGE"], #edit_interface-page input[type="text"][id*="_UID"] { width: 350px; } #edit_interface-page input[type="text"][id*="SOUR"], #edit_interface-page input[type="text"][id*="REPO"], #edit_interface-page input[type="text"][id*="OBJE"], #edit_interface-page input[type="text"][id*="FAMC"], #edit_interface-page input[type="text"][id*="ASSO"], #edit_interface-page input[type="text"][id^="AGE"], #edit_interface-page input[type="text"][id*="SHARED_NOTE"] { width: 250px; } #edit_interface-page input[type="text"][id$="DATE"] { width: 160px; } #edit_interface-page input[type="text"][id*="OBJE_FILE"] { width: 200px; } #edit_interface-page input[type="text"][id*="SOUR_TITL"] { width: 250px; } #edit_interface-page input[id*="TEXT"] { height: 140px; width: 440px; } #edit_interface-page textarea { margin: 0 5px; width: 440px; } #edit_interface-page textarea[id*="NOTE"] { height: 240px; } #edit_interface-page textarea[id*="TEXT"], #edit_interface-page textarea[id*="PUBL"] { height: 140px; } #edit_interface-page textarea[id^="newgedrec"] { line-height: 18px; width: 605px; } #edit_interface-page textarea#gedcom { height: 364px; } #edit_interface-page textarea[id*="ADDR"], #edit_interface-page input[id*="ADDR"] { height: 80px; width: 300px; } #edit_interface-page #changefam { padding: 5px; } #edit_interface-page #changefam table { margin: 10px auto; min-width: 400px; max-width: 650px; } #edit_interface-page #changefam span { margin: 0; } #edit_interface-page #changefam td { padding: 5px; white-space: normal; } #edit_interface-page #changefam td.child { text-align: center; } #save-cancel { position: fixed; bottom: 0; background-color: #fff; width: 96.5%; border-radius: 4px; border: solid #555 1px; margin: 0; } #save-cancel input { padding: 2px 8px; } #save-cancel .save { float: left; margin: 5px; } #save-cancel .cancel { float: right; margin: 5px; } [dir=rtl] #save-cancel .save { float: right; } [dir=rtl] #save-cancel .cancel { float: left; } #edit_interface-page, #addmedia-page { margin-bottom: 50px; } /* ===== Addmedia pop-ups ===== */ #addmedia-page input[type="text"] { line-height: 18px; margin: 0 5px; width: 350px; } #addmedia-page .optionbox select { margin: 0 5px; } #addmedia-page .optionbox p.sub { margin: 0 5px; font-size: 11px; } #addmedia-page input[type="text"][id*="PAGE"], #addmedia-page input[type="text"][id*="_UID"] { width: 350px; } #addmedia-page input[type="text"][id*="SOUR"], #addmedia-page input[type="text"][id*="REPO"], #addmedia-page input[type="text"][id*="OBJE"], #addmedia-page input[type="text"][id*="FAMC"], #addmedia-page input[type="text"][id*="ASSO"], #addmedia-page input[type="text"][id^="AGE"], #addmedia-page input[type="text"][id*="SHARED_NOTE"] { width: 70px; } #addmedia-page input[id*="TEXT"] { height: 140px; width: 440px; } #addmedia-page textarea { margin: 0 5px; width: 440px; } #addmedia-page textarea[id*="NOTE"] { height: 240px; } #addmedia-page textarea[id*="TEXT"], #addmedia-page textarea[id*="PUBL"] { height: 140px; } /* ===== Styling for the jquery.colorbox gallery ===== */ #colorbox, #cboxOverlay, #cboxWrapper { position: absolute; top: 0; left: 0; z-index: 9999; overflow: hidden; } #colorbox { border: 2px solid #ccc; } #cboxOverlay { position: fixed; width: 100%; height: 100%; background: #ccc; } #cboxContent { background: #fff; border: 5px solid #888; } #cboxLoadedContent { overflow: auto; background: #fff; margin-bottom: 30px; margin-top: 35px; } #cboxTitle { position: absolute; left: 0; top: 10px; font-size: 14px; color: #888; text-align: center; width: 100%; font-weight: 800; } .cboxPhoto { float: left; margin: auto; border: 0; display: block; max-width: none; } .cboxIframe { width: 100%; height: 100%; display: block; border: 0; } #cboxPrevious { position: absolute; bottom: 0; left: 0; background: url(images/controls.png) no-repeat -75px 0; width: 25px; height: 25px; text-indent: -9999px; margin: 10px; border: 0; } #cboxPrevious:hover { background-position: -75px -25px; } #cboxNext { position: absolute; bottom: 0; left: 27px; background: url(images/controls.png) no-repeat -50px 0; width: 25px; height: 25px; text-indent: -9999px; margin: 10px; border: 0; } #cboxNext:hover { background-position: -50px -25px; } #cboxSlideshow { position: absolute; bottom: 5px; font-size: 14px; left: 57px; margin: 10px; border: 0; background: none; } #cboxSlideshow:hover { color: #f00; background: #fff; } #cboxClose { position: absolute; bottom: 0; right: 0; background: url(images/controls.png) no-repeat -25px 0; width: 25px; height: 25px; text-indent: -9999px; margin: 10px; border: 0; } #cboxClose:hover { background-position: -25px -25px; } #cboxCurrent { bottom: 4px; color: #949494; left: 58px; position: absolute; } [dir=rtl] #cboxPrevious { right: 27px; left: auto; } [dir=rtl] #cboxNext { right: 0; left: auto; } [dir=rtl] #cboxCurrent { right: auto; left: 0; } [dir=rtl] #cboxClose { right: auto; left: 0; } [dir=rtl] #cboxSlideshow { right: 57px; left: auto; } /* Stories module */ .story_title { padding-top: 12px; font-size: 13px; height: 32px; font-weight: bold; } .story_body { padding: 20px; white-space: normal; } .story_edit { padding: 12px; } /* ====== Charts Styles ======== */ #people label { display:block; } /* Ancestry chart */ .wt-ancestors-chart-list { background: transparent url(images/vline.png) left top repeat-y; margin: 0 0 0 15px; padding: 0; display: block; } [dir=rtl] .wt-ancestors-chart-list { margin: 0 15px 0 0; background-position: right top; } .wt-ancestors-chart-list-item { margin: 5px 0; } .chart_common li { list-style: outside none none; } .generations { background: transparent url("images/vline.png") repeat-y scroll left top; display: block; margin: 0 0 0 15px; padding: 0; } .chart_common table { padding: 0; border-spacing: 0; border-collapse: collapse; margin: 5px 0; } .chart_common td { border: 0; padding: 0; } .chart_common span.details1 div[class^=fact_] { display: inline-block; } .chart_common span.details1 .date { color: inherit; } /*-- Family book --*/ #familybook_chart { margin-left: 10px; } #familybook_chart table { border-collapse: collapse; empty-cells: show; } #familybook_chart td { margin: 0; padding: 0; } #familybook_chart h2 { text-align: center; } #familybook_chart .line3, #familybook_chart .pvline, #familybook_chart .spacer { width: 3px; } #familybook_chart .line4 { width: 7px; vertical-align: middle; } [ID^="vline"] { width: 3px; } #familybook_chart h3 { color: #006; font-size: 16px; text-align: center; } [dir=rtl] #familybook_chart { margin-right: 10px; } /*-- Fan chart ---- */ .fan_chart_menu { position: absolute; display: none; z-index: 100; } #fan_chart ul { list-style-type: none; margin: 0; } #fan_chart_img { text-align: center; } /*-- Hourglass ---- */ #hourglass_chart img.line4 { vertical-align: middle; } #hourglass_chart table, .charts_block table { border-collapse: collapse; } #hourglass_chart td, .charts_block td { padding: 0; empty-cells: show; } /*-- Lifespan ---- */ .lifespan-form { display: table; margin: 0 auto; } .lifespan-form fieldset { display: inline-block; margin: 0; vertical-align: top; height: 106px; } .lifespan-form legend { color: inherit; } .lifespan-form fieldset > div { display: table-row; } .lifespan-form label, .lifespan-form span { display: table-cell; border: none; } .lifespan-form .controls { text-align: right; } [dir='rtl'] .lifespan-form .controls { text-align: left; } .lifespan-form select, .lifespan-form .controls * { margin: 1px 0; } #lifespan-chart { padding: 0 10px 10px; margin: 0 auto; min-height: 500px; } #lifespan-scale { background: transparent url(images/lifespan-chunk.png) repeat-x left bottom; display: inline-block; padding-bottom: 37px; } #lifespan-scale .date { display: inline-block; width: 70px; } [dir='rtl'] #lifespan-scale .date { text-align: right; } #lifespan-people { position: relative; } #lifespan-people > div { position: absolute; padding: 0; } #lifespan-people .itr { display: inline; white-space: nowrap; } #lifespan-people .popup div:first-of-type { font-weight: 900; } #lifespan-people .popup { left: 0; right: auto; white-space: nowrap; } [dir='rtl'] #lifespan-people .popup { left: auto; right: 0; } /*-- Pedigree ---- */ #pedigree_canvas { color: #555; } .tdtop { vertical-align: top; } .tdmid { vertical-align: middle; } .tdbot, .tvertline { vertical-align: bottom; } .optionbox, .descriptionbox { border: solid #000 1px; vertical-align: top; padding: 3px; } .width10 { width: 10%; } .width20 { width: 20%; } .width25 { width: 25%; } .width30 { width: 30%; } .width33 { width: 33%; } .width40 { width: 40%; } .width50 { width: 50%; } .width60 { width: 60%; } .width66 { width: 66%; } .width70 { width: 70%; } .width75 { width: 75%; } .width80 { width: 80%; } .width90 { width: 90%; } .width100 { width: 100%; } #childbox { display: none; } .person0, .person1, .person2, .person3, .person4, .person5 { border:outset #555 1px; vertical-align:top; } .person0{ background-color:#eee; } .person1{ background-color:#bfbfbf; } .person2{ background-color:#999; } .person3{ background-color:#dfdfdf; } .person4{ background-color:#eee; } .person5{ background-color:#fefefe; } #pedigree-page #childarrow { position: relative; } #pedigree-page #childbox { border: 1px solid; background-color: #fff; } .pedigree_form { width: 45px; } #pedigree-page table.list_table { margin: 0 auto; width: 500px; } .pedigree_chart_table { border: 0; border-collapse: collapse; padding: 0; width: 100%; } /*-- timeline --*/ #timeline_chart { position: relative; top: 0; left: 0; } /* ====== Common Icons ========= */ [class^="icon-"], [class*=" icon-"] { display: inline-block; vertical-align: middle; background-repeat: no-repeat; } .icon-add { width: 14px; height: 15px; background-image: url(images/add.png); } .icon-button_addmedia { width: 18px; height: 16px; background-image: url(images/addmedia.png); vertical-align: middle; } .icon-button_addnote { width: 17px; height: 15px; background-image: url(images/addnote.png); } .icon-button_addrepository { width: 15px; height: 15px; background-image: url(images/addrepository.png); } .icon-button_addsource { width: 18px; height: 16px; background-image: url(images/addsource.png); } .icon-button_family { width: 14px; height: 15px; background-image: url(images/family.png); } .icon-button_find { width: 17px; height: 15px; background-image: url(images/find.png); } .icon-button_find_facts { width: 20px; height: 20px; background-image: url(images/find_facts.png); } .icon-button_head { width: 12px; height: 18px; background-image: url(images/head.png); } .icon-button_indi { vertical-align: top; width: 15px; height: 15px; background-image: url(images/indi.png); } .icon-button_media { width: 18px; height: 16px; background-image: url(images/media.png); vertical-align: middle; } .icon-button_note { width: 17px; height: 15px; background-image: url(images/note.png); } .icon-button_place { width: 15px; height: 15px; background-image: url(images/place.png); vertical-align: middle; } .icon-button_repository { width: 15px; height: 15px; background-image: url(images/repository.png); } .icon-button_source { width: 18px; height: 16px; background-image: url(images/source.png); } .icon-cfamily { } .icon-childless { width: 25px; height: 25px; background-image: url(images/childless.png); } .icon-children { width: 16px; height: 16px; background-image: url(images/children.png); } .icon-clippings { width: 22px; height: 22px; background-image: url(images/clippings.png); } .icon-edit_indi { width: 20px; height: 20px; background-image: url(images/edit_sm.png); } .icon-fam-list { width: 20px; height: 20px; background-image: url(images/family.png); } .icon-indi-list { width: 20px; height: 20px; background-image: url(images/indis.png); } .icon-loading-small { width: 16px; height: 16px; background-image: url(images/indicator.gif); } .icon-loading-large { width: 32px; height: 32px; background-image: url(images/loading.gif); } .icon-media { width: 20px; height: 20px; background-image: url(images/media.png); } .icon-media-list { width: 20px; height: 20px; background-image: url(images/media.png); } .icon-media-next { width: 20px; height: 20px; background-image: url(images/rdarrow.png); } .icon-media-play { width: 20px; height: 20px; background-image: url(images/rarrow.png); } .icon-media-prev { width: 20px; height: 20px; background-image: url(images/ldarrow.png); } .icon-media-shuffle { width: 10px; height: 10px; background-image: url(images/reorder.png); } .icon-media-stop { width: 16px; height: 17px; background-image: url(images/stop.png); } .icon-minus { width: 11px; height: 11px; background-image: url(images/minus.png); } .icon-mypage { width: 24px; height: 24px; background-image: url(images/mypage.png); } .icon-note { width: 20px; height: 20px; background-image: url(images/notes.png); } .icon-note-list { width: 20px; height: 20px; background-image: url(images/notes.png); } .icon-plus { width: 11px; height: 11px; background-image: url(images/plus.png); } .icon-reminder { width: 15px; height: 12px; background-image: url(images/reminder.png); } .icon-remove { width: 14px; height: 15px; background-image: url(images/remove.png); } .icon-resn-confidential { width: 16px; height: 16px; background-image: none; } .icon-resn-locked { background-image: none; } .icon-resn-none { background-image: none; } .icon-resn-privacy { background-image: none; } .icon-rings { width: 9px; height: 9px; background-image: url(images/rings.png); } .icon-selected { width: 12px; height: 12px; background-image: url(images/selected.png); } .icon-sex_f_15x15 { width: 15px; height: 15px; background-image: url(images/sex_f_15x15.png); } .icon-sex_f_9x9 { width: 9px; height: 9px; background-image: url(images/sex_f_9x9.png); } .icon-sex_m_15x15 { width: 15px; height: 15px; background-image: url(images/sex_m_15x15.png); } .icon-sex_m_9x9 { width: 9px; height: 9px; background-image: url(images/sex_m_9x9.png); } .icon-sex_u_15x15 { width: 15px; height: 15px; background-image: url(images/sex_u_15x15.png); } .icon-sex_u_9x9 { width: 9px; height: 9px; background-image: url(images/sex_u_9x9.png); } .icon-sfamily { width: 24px; height: 24px; background-image: url(images/sfamily.png); } .icon-source { width: 20px; height: 20px; background-image: url(images/source.png); } .icon-warning { width: 17px; height: 17px; background-image: url(images/warning.png); } .icon-zoomin { width: 25px; height: 25px; background-image: url(images/zoomin.png); } .icon-zoomout { width: 25px; height: 25px; background-image: url(images/zoomout.png); } /* Silhouettes on charts */ .icon-silhouette-F { width: 37px; height: 50px; background-image: url(images/silhouette_female_small.png); } .icon-silhouette-M { width: 37px; height: 50px; background-image: url(images/silhouette_male_small.png); } .icon-silhouette-U { width: 37px; height: 50px; background-image: url(images/silhouette_unknown_small.png); } .wt-silhoutte { width: 200px; height: 260px; } .wt-silhoutte::before { content: url(images/silhouette_unknown.png); } .wt-silhoutte-F::before { content: url(images/silhouette_female.png); } .wt-silhouette-M::before { content: url(images/silhouette_male.png); } [class^="icon-mime-"], [class*=" icon-mime-"] { display: inline-block; background: transparent url(images/icon-mime-sprite.png) no-repeat; width: 48px; height: 48px; } /* ===== Generic MIME types ===== */ [class^="icon-mime-"], [class*=" icon-mime-"] { background-position: -99px -49px; } [class^="icon-mime-application-"], [class*=" icon-mime-application-"] { background-position: -99px -196px; } [class^="icon-mime-audio-"], [class*=" icon-mime-audio-"] { background-position: -197px -98px; } [class^="icon-mime-image-"], [class*=" icon-mime-image-"] { background-position: -148px -245px; } [class^="icon-mime-text-"], [class*=" icon-mime-text-"] { background-position: -197px -147px; } [class^="icon-mime-video-"], [class*=" icon-mime-video-"] { background-position: -148px -147px; } /* ===== Specific MIME types ===== */ .icon-mime-application-pdf { background-position: -1px -49px; } .icon-mime-application-msword { background-position: -148px -49px; } .icon-mime-application-vnd-ms-excel { background-position: -148px -196px; } .icon-mime-application-x-rar-compressed { background-position: -50px -98px; } .icon-mime-application-zip { background-position: -50px -147px; } .icon-mime-application-x-shockwave-flash { background-position: -148px 0; } .icon-mime-audio-mp3 { background-position: -50px -245px; } .icon-mime-audio-mpeg { background-position: -50px 0; } .icon-mime-audio-x-ms-wma { background-position: -1px -245px; } .icon-mime-audio-wav { background-position: -1px -98px; } .icon-mime-text-html { background-position: -99px -245px; } .icon-mime-text-x-gedcom { background-position: -50px -49px; } .icon-mime-image-bmp { background-position: 197px 0; } .icon-mime-image-gif { background-position: -197px -49px; } .icon-mime-image-jpeg { background-position: -1px -147px; } .icon-mime-image-png { background-position: -99px -98px; } .icon-mime-image-svg { background-position: -197px -196px; } .icon-mime-image-tiff { background-position: -148px -98px; } .icon-mime-video-quicktime { background-position: -99px -147px; } .icon-mime-video-avi { background-position: -99px 0; } .icon-mime-video-x-ms-wmv { background-position: -50px -196px; } /* ====== End Icon styles ====== */ /* ====== Theme Header ========= */ header h1 { clear: left; float: left; font-size: 26px; font-weight: 900; margin: 0; } [dir=rtl] header h1 { float: right; } header nav { position: relative; float: left; width: 100%; margin-top: 18px; border-bottom: 1px solid; margin-bottom: 10px; } [dir=rtl] header nav { float: right; } /* Set stack level for top two header menu rows */ .secondary-menu ul, .primary-menu ul { z-index: 210; max-height: 400px; min-width: 140px; overflow-y: auto; overflow-x: hidden; } .title { font-size: 20px; } /* ====== Secondary menu ======= */ .secondary-menu { float: right; font-size: 14px; } [dir=rtl] .secondary-menu { float: left; } .secondary-menu li { display: inline; position: relative; white-space: nowrap; float: left; border: 1px solid #999; line-height: 26px; } [dir=rtl] .secondary-menu li { float: right; } .secondary-menu li a { padding: 5px 8px; } .secondary-menu ul { position: absolute; top: 26px; left: 0; right: auto; display: none; font-weight: normal; font-size: 12px; background: #fff; border: 1px solid #999; } [dir=rtl] .secondary-menu ul { left: auto; right: 0; } .secondary-menu ul li { border: 0; clear: both; display: block; line-height: 2; text-align: left; } [dir=rtl] .secondary-menu ul li { text-align: right; } .secondary-menu, .secondary-menu ul { list-style: none; margin: 0; padding: 1px; } .secondary-menu li:hover ul { display: block; } .secondary-menu ul li a { padding: 0 5px 0 2px; display: block; } .secondary-menu .active { font-weight: 900; } .header-search input { border: none; } /* ====== Primary menu ========= */ .primary-menu { position: relative; float: right; right: 50%; list-style: none; } [dir=rtl] .primary-menu { right: auto; float: left; left: 50%; } .primary-menu li { float: left; position: relative; left: 50%; clear: right; width: auto; padding: 0 5px; border: 1px solid #999; } [dir=rtl] .primary-menu li { float: right; clear: left; right: 50%; } .primary-menu li a { display: block; font-size: 14px; text-align: center; padding: 5px; background-color: #fff; } .primary-menu ul { position: absolute; top: 27px; left: 0; right: auto; display: none; background: #fff; white-space: nowrap; border: 1px solid #999; list-style: none; } [dir=rtl] .primary-menu ul { right: 0; left: auto; } .primary-menu ul li { float: left; width: 100%; border: 0; left: auto; margin: 0; padding: 0; clear: left; } [dir=rtl] .primary-menu ul li { right: auto; /*resets the right:50% on the parent li */ clear: right; float: right; width: 100%; } .primary-menu li:hover ul { position: absolute; margin: 0; display: block; text-align: left; padding: 0; } [dir=rtl] .primary-menu li:hover ul { text-align: right; } .primary-menu ul li a { padding: 5px; text-align: left; font-size: 12px; } [dir=rtl] .primary-menu ul li a { text-align: right; } /* ====== End Theme Header ===== */ /* ====== Theme Footer ========= */ footer { clear: both; font-size: 12px; color: #555; text-align: center; } .contact-links { margin-top: 15px; } .powered-by-webtrees { font-size: 16px; margin-top: 10px; } /* ====== End Theme Footer ===== */ /* ====== Theme Icons ========== */ /* --- Body Icons -- */ .icon-pedigree { width: 24px; height: 24px; background-image: url(images/pedigree.png); } .icon-search { width: 24px; height: 24px; background-image: url(images/search.png); } .cookie-warning { background: #aaa; color: #fff; height: 3em; line-height: 2.5em; transition: height 0.5s; } .cookie-warning.hidden { height: 0; overflow: hidden; }