﻿/*your custom style goes in this file*/
/*if you're overriding style blocks from genstyle.css, you only need to include the attributes you're overriding, not the whole block*/
/* Designed by Genealogy Web Templates
   https://genealogywebtemplates.com 
 

#931813-dark color Mørk røde erstattes med 162A41 ny blå
#ac2016-medium color Lidt lysere rød erstattes med 112855 Flot blå
#c00000-light color ikke meget lysere rød
#f43034-lighter color pinkagtig erstattes med 043fc8 lys blå 18-02-2025 nej grøn #C7D882
#f9d1d2-lightest color lyserød erstattes med bac4de
#724d34-accent color rødbrun
#c00000 rød ved hover i øverste menu - erstattes med 112855
#dddddd - lys grå ok
#fef4f5-lys rød i anetavler, erstattes med f1f1f4
##931d0f- rød i Side navn, erstattes med 162A41
Klar blå 043fc8
*/
/* ======================================================GENERAL STYLES====================================================== */
/* link: normal links, active: links in use */
a:link, a:active, div.icons a {color: #162A41;}
a:link, a:active, a {color: #162A41;}
a:div.icons {color: #ffffff;}
/* visited: previously visited links */
a:visited {color: #777777;}
a {color: #162A41; font-weight: normal; text-decoration: none; outline: none;}
a:hover {color: #C7D882; text-decoration: none; font-weight: normal; outline: none;}
/*  Lists linie 78 i templatestyle
ul {margin: 10px 0 20px 0;	padding: 0 0 0 15px;}
ul li a {color: #ac2016; font-weight: normal; padding: 0;}
ul li a:hover {color: #404040; font-weight: normal; text-decoration: none;}*/
ul {margin: 0; padding: 0 0 0 15px;}
ul li a {color: #112855; font-weight: normal; padding: 0;}
ul li a:hover {color: #404040; font-weight: normal; text-decoration: none;}

ul.list1 li:before {position: absolute; font-family: 'FontAwesome'; font-size: 14px; top: 1px; left: 0; content: "\f0a9"; color: #112855;}
ul.list4 {margin: 10px 0 20px 0; padding: 0 0 0 0;}
ul.list4 li {list-style-type: none; line-height: 30px; width:300px; padding-left: 5px;background: #dddddd; background-image: linear-gradient(#dddddd, #fff, #dddddd); color: #162A41;font-weight: normal; font-size:16px;
	text-decoration: none; margin: 5px auto; border-radius: 5px;  transition: background-color 0.8s;box-sizing: border-box; display:block;}
ul.list4 a::before { content: ""; transition: transform 0.3s ease;}
ul.list4 li a {color: #162A41; font-weight: normal; text-decoration: none; display:block;}
ul.list4 li:hover {color: #fff!important; background: #162A41; background-image: linear-gradient(135deg, #162A41, #C7D882, #162A41); font-weight: normal;
	text-decoration: none;box-sizing: border-box; display:block;}
ul.list4 li a:hover {color: #fff!important; font-weight: normal; text-decoration: none; display:block;} 

/* ====================================================== TYPOGRAPHY ============================================================ */
p a {word-wrap: break-word;}
h1 {font: 2.9em 'Philosopher', Verdana, Helvetica, sans-serif; color: #112855; margin: .3em 0 .3em 0; letter-spacing: 1px;}
h2 {font: 2.1em 'Philosopher', Arial, Verdana, Helvetica, sans-serif; color: #112855; margin: .3em 0; letter-spacing: 1px; text-align: center; border-bottom: 1px solid #112855;}
h3 {font: 1.9em  'Philosopher',  Verdana, Helvetica, sans-serif; color: #112855; font-weight:normal; margin: 0 0 25px 0; padding: 5px 0;}
h4 {font: normal 1.7em 'Jura', Verdana, Helvetica, sans-serif; color: #162A41; margin: .3em 0;}
h5 {font: normal 1.35em 'Philosopher', Verdana, Helvetica, sans-serif; color: #C7D882; margin: .3em 0;}
h6 {font: normal 1.2em 'Philosopher',Verdana, Helvetica, sans-serif; color: #457345; margin: .3em 0;}

/* ======================================================HEADER AREA ======================================================*/
/* ========== Header and Site Name ============== */
.brand, .brand a, .brand a:hover {font: 48px 'Philosopher', Verdana, Helvetica, sans-serif; color: #162A41; letter-spacing: -1px; text-decoration: none; margin: 0;}
.slogan {font-size: 22px; font-family: 'Philosopher', cursive, Verdana, Helvetica, sans-serif; color: #162A41; padding-left: 10px; margin: 0;}	
/* ========== Top Nav Coding ========== */
.nav-primary .nav-menu  a:hover { color:#112855;}
.nav-primary .nav-menu  a:active { color:#112855;}
.nav-primary .nav-menu .current-menu-item a:hover {color:#112855;}

.nav-menu {clear:both; width:100%; margin: -5px 0 20px 0!important; font-size:16px; font-weight:normal; display:inline-block; float: left!important;margin: 0; padding: 0; list-style: none;  text-transform: uppercase; background: #162A41; background-image: linear-gradient(#162A41, #C7D882, #162A41);
   	color: #ffffff; box-sizing: border-box; height: 42px; border-top: 1px solid #ffffff; border-bottom: 1px solid #fff; box-shadow: 0 5px 10px -4px rgba(0, 0, 0, 0.4);}
	
/* ========== Main Nav Coding ========== */
div.icons a:hover {color: #fff; background-color:#112855; border-radius: 5px; font-weight: normal;}
/* link styling for Find Media Info*/
ul.tngdd .menuhover, ul.tngdd .menulink:hover {background-color: #112855!important; background:url('../img/ArrowDown.png') no-repeat 2px 11px; padding-top: 5px; padding-bottom: 8px;color:#fff; text-decoration:none; margin: 0 0 10px 0; border:none!important;}

/*dropdown menu styles*/
ul.tngdd ul li a {color: #000; font-size:13px; display:block; background-color:#eeeeee; color: #112855!important; border-top:1px solid #ffffff; border-radius: 0px; text-transform:none; width:170px;}
ul.tngdd ul li a .menu-icon {margin: 1px 5px 0px 0px;}
ul.tngdd ul li a:hover {background-color:#112855; color: #fff!important; text-decoration:none;}
ul.tngdd .sub {background: #112855 url('../img/arrow.png') no-repeat 146px 7px; color: #000;}

#newlanguage1:hover {font-size: 8pt; color: #fff;  background-color: #112855; border: 1px solid transparent; text-transform: uppercase;}
/*styles and positions the login text  */
.tngsmallicon3 {color:#112855!important; font-size: 8pt; margin-top:-20px!important;margin-left:-190px; padding:2px!important;} 

/* ====================================== ADMIN PAGE CODING =============================================== */
.lightlink:hover, .lightlink:active {color: #bac4de; text-decoration: none;}
/*for active secondary tab link*/
a.lightlink3:link, a.lightlink3:visited, a.lightlink3:hover, a.lightlink3:active {color: #bac4de;}
.admincell, .sideback {background-color:#162A41; background-image:none;}
.tngmsgarea .adminsubhead {color: #112855;} 
.adminnav .snlinkact {background-color:#162A41; color:#fff!important;}/*same as "fieldnameback" background color */

.snlink {background-color:#162A41; border-bottom:1px solid #aaa; border-right:1px solid #aaa; color:#fff !important; font-weight: bold;}

p a.snlink:hover {background-color:#162A41!important; color:#fff!important; font-weight: bold;}
p a.snlink {background-color:#162A41; color:#fff!important; font-weight: normal;}

.snlinkact {line-height: 2.5em; background-color:#162A41; color:#fff!important; font-weight: bold;}

.subhead {color:#112855;}
.subheader { color:#112855;}

/*Tabs Coding - also in tngtabs2.css*/
#tngnav a:hover {background:#162A41; color:#fff;}/*active tab*/
#tngnav a.here {background:#162A41; color:#fff; border-right:1px solid #777; margin: 0;}/*active tab*/

#tabs a:hover {background: #162A41; color:#ffffff;} /*active tab*/
#tabs .here {background: #162A41; color:#162A41;} /*active tab*/

.pedbox, .connectbox {background-color: #f1f1f4 !important;}
.fambox, .mfambox {background-color: #bac4de!important;}
.fambackground {background-color: #bac4de;}

/* fieldnameback: background color for column and row title sections */
.fieldnameback, .bar, .page, .LB_closeAjaxWindow, .tablesaw-cell-label {background-color:#162A41; font-weight: bold;}
.fieldnameback a:hover, .bar a:hover, .page a:hover, .LB_closeAjaxWindow a:hover, .tablesaw-cell-label a:hover {color: #bac4de;} /*I added the a:hover*/

.hiddenbox {background-color: #bac4de!important;}
.floverlr {background-color:#f1f1f4!important;}

.timeline-band-2 .timeline-ether-bg {background-color: #f1f1f4!important;}
/* ========== Popup windows ========== */
.LB_window {background:#bac4de; border:2px solid #000; color:#000;}
.LB_content {background:#bac4de;}
/* ========== Calendar ========== */
table.calendar {background-color: #eeeeee!important; border: 1px solid #162A41!important;}
td.calDay {border-top: 1px solid #162A41!important;border-left: 1px solid #162A41!important;border-bottom: 2px solid #162A41!important;border-right: 2px solid #162A41!important;}
#calLegend { background-color: #eeeeee!important; border: 1px solid #162A41!important; font-size: 9pt; font-weight: bold; margin-top: 8px; padding: 4px; text-align: center;}
a.hidden {background-color: #bac4de!important;}
td.calToday {background-color: #f1f1f4!important; border-top: 1px solid #162A41!important; border-left: 1px solid #162A41!important; border-bottom: 2px solid #162A41!important; border-right: 2px solid #162A41!important;}

/* ===================================================TEXT AREA CODING - WIDGETS ================================================= */
	/*the header icons located at the top of the content area (sources, search, surname list, etc) */
.headericon {font-size: 28px;color: #112855;margin: 5px 10px 0 0;}
	/*the h1 header text located at the top of the content area (sources, search, surname list, etc) */
.header {margin-right: 5px;font-size: 28px;font-weight: bold;color: #162A41;line-height: 32px;}

/*  ===================================================== PARAGRAPHS ============================================================== */
.dropcap:first-letter {background-position: 0% 0%; color: #fff; display: block; float: left; font: 60px/50px Georgia, Garamond, serif; padding: 14px; border-radius: 50%; margin: 5px 6px 0 0;
	text-align: center; background-image: linear-gradient(135deg, #931813, #f43034, #931813); background-color: #931813; background-repeat: repeat; background-attachment: scroll;}
.img-round2 {border-radius: 50%; border: 1px #112855 solid; padding:2px;}
/* ======== FOOTER ======== */
footer {clear: both; width: 100%; padding: 20px 0; color: #fff; text-align:left; background: #162A41; background-image: linear-gradient(135deg, #162A41, #C7D882, #162A41); box-shadow: inset 0 5px 20px rgba(0, 0, 0, 0.4), 0 15px 20px -15px rgba(0, 0, 0, 0.4);	
	margin-top: 20px;}
footer a {color: #bac4de!important; text-decoration: none; font-weight: normal; outline: none;}

/* ========================== SPECIAL BLOCKS =================================== */
/* -----  Top Section with Nivo Slider ----- */
#topsection h2 {font: 38px 'Philosopher', Verdana, Helvetica, sans-serif; color: #162A41; margin: .3em 0 .3em 0; letter-spacing: 1px; text-shadow: 1px 1px 1px rgba(0,0,0,0.8); text-align: center; border-bottom: none;}

/*-----Postcards-----*/
.postcard .caption {padding: 11px 15px 33px 12px; overflow: hidden; position: relative; background: #112855 linear-gradient(#C7D882, #112855);
 	transition: all 0.25s; margin-top:-4px;}
.postcard:hover .thumbnail .caption {transition: all 0.25s; background: #112855;}
.postcard .thumbnail .caption a:hover {color: #C7D882;}

/*  ========== Color Box and Call Boxes ========== */
.callbox2 {text-align: left; width: 50%; padding: 20px 10px; margin: 0 auto; color: #ffffff; font-size: 18px; background: rgba(0, 0, 0, 0.8); border-radius: 10px;
	box-shadow: 0 0 0 5px #162A41 inset, 0 0 0 6px rgba(255, 255, 255, 0.6) inset, 0 0 40px #000000 inset, 0 10px 15px -10px rgba(0,0,0,0.6); min-height: 250px;}

/* ======================================================BUTTONS & MISCELLANEOUS ================================================= */
input[type=button], input[type=submit], input[type=reset], button {background-color: #162A41; color: #ffffff!important; font-weight:normal;}
.btn:hover, .btn:focus, .btn.focus {color: #162A41!important; background-color: #adadad!important; text-decoration: none;}

.btn-detail {position: relative; background: #162A41; background-image: linear-gradient(135deg, #162A41, #C7D882, #162A41); background-position: center; transition: background-color 0.8s;
	border: 1px solid #162A41; color: #fff!important; cursor: pointer; font-weight: normal; font-size: 80%; text-decoration: none; padding: 5px 35px 5px 5px; border-radius: 5px; text-transform:uppercase;}
.btn-detail:hover {background-color: #C7D882; background-image: radial-gradient(circle, transparent 1%, #C7D882 1%); background-position: center; background-size: 15000%; border: 1px solid #162A41;
	color: #fff; font-weight: normal; text-decoration: none;}
.btn-detail:active {transition: background-color 0s; background-color: #162A41; background-size: 100%;}

.btn-small {position: relative; background: #162A41; background-image: linear-gradient(135deg, #162A41, #C7D882, #162A41);	background-position: center; transition: background-color 0.8s;
	border: 1px solid #162A41; color: #fff!important; cursor: pointer; font-weight: normal; font-size: 12px; text-decoration: none; padding: 5px 5px 5px 5px; border-radius: 5px;	text-transform:uppercase;}
.btn-small:hover {background-color: #C7D882; background-image: radial-gradient(circle, transparent 1%, #C7D882 1%); background-position: center; background-size: 15000%; border: 1px solid #162A41; 
	color: #fff; font-weight: normal; text-decoration: none;}

.btn-small:active {transition: background-color 0s; background-color: #162A41; background-size: 100%;}
/* Scroll to Top ========== */
.scroll-to-top {display: none; position: fixed; bottom: 20px; right: 10px; z-index: 5; width: 30px; height: 30px; padding: 8px; text-align:center; color: #ffffff;
	text-decoration: none; background-color: #162A41; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); border-radius: 50%;}
.scroll-to-top:hover {text-decoration: none; background-color: #C7D882;	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);}
/* =================================================== SLIMMENU - MENU2 - OPTIONAL ================================================= */
/* ========== NON-MOBILE TOP LEVEL ============= */
ul.slimmenu li a:hover {color: #fff; background: #162A41;}

/* ======== NON-MOBILE SUB LEVELS ============== */
ul.slimmenu li ul li {width: 160px; background-color: #162A41; text-align: center;}
ul.slimmenu li ul li a:hover {color: #fff; background-color: #C7D882;}
ul.slimmenu li ul li ul li{background-color: #112855; text-align: center;}

/* filen tngmobile.css */
.mmaintitle {font-family: 'Philosopher';font-size: 28pt;text-shadow: 0.6px 0.6px #000;color: #162A41;}
body {background-color: #fff;}
#mast {background: #162A41; background-image: linear-gradient(#162A41, #C7D882, #162A41); border-top: 1px solid #7777777;}
.mhead ul li {color: #162A41;}
.mhead li a, .mhead li a:hover {background-color: #C7D882; border-bottom: 1px solid #aaaaaa; border-top: 1px solid #dddddd; color: #fff;}
