/************************************************
 ** (C) Copyright 2024 Lyndon Leverington      **
 ************************************************/

@viewport {
  width: device-width ;
  zoom: 1.0 ;
}

* {
  	box-sizing: border-box;
	padding: 0px;
    margin: 0px;
  	/*font-family: "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;*/
  	font-family: Calibri, Arial, "Times New Roman";
	letter-spacing: 0px;
}
body {
    background-color: #435165;
    color: #FFFFFF;
    text-align: center; /* So that IE will centre the mainPage div */
	font-size: 16px;
	font-style: normal;
    font-weight: normal;
    font-variant: normal;
}
h1 {
    margin: 0px;
    font-variant:small-caps;    
    font-size: xx-large;
    font-family: Calibri, Arial, "Times New Roman";
    font-style: normal;
    font-weight: normal;
    color: #6B8E23;
    letter-spacing: 0px;
}
a { text-decoration: none; }
a:link { color: blue; }
a:visited { color: blue; }
a:hover { color: darkblue; }

/* ********************************************************************** */
.navbar {
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
    height: 50px;
	padding: 10px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #364151;
	border-bottom: 1px solid #BBBBBB;
}
.navbar img {
	margin-top: 5px;
	width: 35px;
	height: 35px;
	border-radius: 0.5rem;
}
.searchbar {
	position: absolute;
	top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.nav-links input[type=checkbox] {
  display: none;
} 
/* HAMBURGER MENU */
.hamburger {
  display: none;
  font-size: 24px;
  user-select: none;
}
.menu {
	display: flex;
	gap: 1em;
	font-size: 18px;
}
.menu a {
	color: #F9F9F9;
}
.menu li:hover {
	background-color: #4c9e9e;
	border-radius: 5px;
	transition: 0.3s ease;
}
.menu li {
	padding: 5px 14px;
}
.header-buttons {
	display: flex;
	gap: 0.5rem;
    align-items: center;
    flex-wrap: nowrap;
}
.nav-links li {
	list-style: none;
}

@media (max-width: 888px) {
	.menu {
		display :none;
		position: absolute;
		background-color:teal;
		right: 0;
		left: 0;
		text-align: center;
		padding: 16px 0;
	}

	.menu li:hover {
		display: inline-block;
		background-color:#4c9e9e;
		transition: 0.3s ease;
	}

	.menu li + li {
		margin-top: 12px;
	}

	input[type=checkbox]:checked ~ .menu {
		display: block;
	}

	.hamburger {
		display: block;
	}

	.dropdown {
		left: 50%;
		top: 30px;
		transform: translateX(35%);
	}

	.dropdown li:hover {
		background-color: #4c9e9e;
	}

	.searchbar {
		display: none;
	}
}
div.content {
	z-index: 2;
	margin-top: 80px;
	margin-bottom: 20px;
}
div.footer {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100vw;
	height: 20px;
	color: #364151;
	font-size: 1rem;
	text-align: right;
}
div.footer span {
	margin: 0px 10px;
	padding: 0px;
	
}

/* ********************************************************************** */

div#searchboxdiv {
	margin: 10px auto;
    border: 0px solid black;
    padding: 0px;
    width: 392px;	
    background-color: #2F4F4F;
}
div#searchboxdiv input {
	margin: auto 2px;
	padding: 2px 5px;
}
div#searchboxdiv input[type="text"] {
	width: 300px;
}
div#searchboxdiv input[type="submit"] {
	width: 80px;
}
div#searchboxdivinner {
	background-color: #C0C0C0;
}

 /* ************************************************************************* */
 
div#displayBookmarks {
	width: 420px;
    height: auto;
	margin: 0px auto;
    padding: 0px;
    display: block;
} 
table#BookmarksTable {
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0px;
    border: 1px solid black;
    border-left: 0px; border-right: 0px;
    margin: 0px auto;
    padding: 0px;  
    background-color: #FFFFFF;
    text-align: left;
}
table#BookmarksTable tr {
    border: 0px;
    padding: 0px;
    margin: 0px;
}
table#BookmarksTable td { 
	color: #000000;
    padding: 0px 15px;
    margin: 0px;
    overflow: hidden;
    white-space: nowrap;
	min-width: 350px;
	max-width: 350px;
	width: 350px;
} 
table#BookmarksTable td.rowNilRecords {
	text-align: center;
}
table#BookmarksTable td.rowEdit {
    padding: 2px 10px;
    vertical-align: middle;
    min-width: 60px;
    max-width: 60px;
    width: 60px;
}
table#BookmarksTable td.rowEdit img {
    margin: 5px 5px;
	padding: 1px;
	width: 16px;
	height: 15px;
}
table#BookmarksTable td.rowEdit img:hover {
	padding: 0px;
}
table#BookmarksTable td.rowAdd {
    color: #000000;
    background-color: #FFF5EE;
    border-bottom: 0px solid black;
}
table#BookmarksTablev td.rowOdd {
    background-color: #FFFFFF;
}
table#BookmarksTable td.rowEven {
    background-color: #FFF5EE;
}
table#BookmarksTable td.archived {
    font-style: italic;
    color: #A9A9A9;
}


/*****************************************************************************
* SQL Table Navigation Section
******************************************************************************/
table#BookmarksTable caption {
    clear: both;	
}
table#BookmarksTable span.tableNavLinks {
    float: left;
}
table#BookmarksTable a.tableNavLinks {
    text-decoration: none;
    color: #CECECE;
    font-weight: bold;
}
table#BookmarksTable a.tableNavLinksDisabled {
    pointer-events: none;
    cursor: default;
    color: #999999;	
}
table#BookmarksTable span.recordCount {
    float: right;
    /*color: #4682B4;*/
	color: #CECECE;
	font-size: small;
	font-style: italic;
	font-variant: small-caps;
}
table#BookmarksTable input#tableNavIndex {
	display:none;
}


/* ************************************************************************* */

table#updateBookmarkTable {
    border: 0px solid black;
    padding: 1px;  
    margin: 0px auto;
    border-spacing: 0px;
    color: #000000;
}
table#updateBookmarkTable tr {
    border: 0px;
    padding: 0px;
    margin: 0px;
}
table#updateBookmarkTable th {
    padding: 5px 10px 5px 0px;
    width: 9em;
    min-width: 9em;
    text-align: right;
}
table#updateBookmarkTable td {
	width: 12em;
    min-width: 12em;
    text-align: left;
}
table#updateBookmarkTable td.submit {
	padding-top: 10px;
	text-align: center;	
}
table#updateBookmarkTable td.statusnote {
	text-align: center;	
}
table#updateBookmarkTable input {
    margin: 0px 10px;
	padding: 2px 5px;
}


/*****************************************************************************
* Overlays
******************************************************************************/

div#overlayA { z-index: 1998; }
div#overlay2A { z-index: 1999; }

div.overlayA {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #000000;
    background-image: url(./images/overlay.png);
    color: #FFFFFF; 
    zoom: 1;
    filter: alpha(opacity=50);
    opacity: 0.5;
    display: none;
}

div.overlayB {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2000;
    width: 50%;
    display: none;
}

div.overlayC {
    top: 50%;
    left: 50%;
    margin-top: -200px;
    margin-left: -300px;
    width: 600px; 
    height: 400px;
    position: fixed;
    padding: 10px;
    overflow: auto;
    text-align: center;
    border: 1px solid #D0D0D0;
    border-radius: 10px;
    background-color: #FFFAF0;
    color: #000000;
    box-shadow: 5px 10px 8px #2F4F4F;
}

p.loadingwindowclose {
	float: right;
	position: relative;
	top: -5px;
	margin: 0px;
	padding: 0px;
}