/************************************************************************************************
    @Copyright (c) IDS AIRNAV, all rights reserved.
*************************************************************************************************/
body {
	font-family: Arial, Helvetica, sans-serif;
	background-color: white;
	color: #000000;
	margin: 0 0 0 0;
	height: 100%;
	padding: 0 0 0 0;
}
body.tab {
	padding-top: 0; /*false value for WinIE4/5/6 */
}
html > head:first-child + body.tab {
	padding-top: 20px; /* intended value for better browsers */
}

/* base font size */
body,
p,
li,
td,
th {
	font-size: x-small; /* false value for WinIE4/5/6 */
}
html > head:first-child + body,
html > head:first-child + body p,
html > head:first-child + body li,
html > head:first-child + body td,
html > head:first-child + body th {
	font-size: small; /* intended value for better browsers */
}

div.tab {
	padding: 7px 0 0 4px;
	margin: 0;
	background: #cfcfdf;
	border-bottom: 1px solid gray;
	white-space: nowrap;
	text-align: left;
	font: bold 11px Arial, sans-serif;
	/* position: fixed; */
	top: 0;
	bottom: auto;
	left: 0;
	right: 0;
	width: 100%;
	height: auto;
}

p.tab-amdt {
	padding: 3px;
	margin: 0;
	font-size: 0.85em;
}

a#current {
	color: black;
	background: white;
	border-bottom-color: white; /*does not work in IE5 */
}

div.tab a {
	color: #00008b;
	text-decoration: none;
	background: #cfcfdf;
	padding: 2px 2px 0;
	margin: 0 4px 0 0;
	border: 1px solid gray;
	border-bottom-color: gray;
}

div.tab a:visited,
div.tab a.visited {
	color: #0000ff;
	text-decoration: none;
	background: #cfcfdf;
	padding: 2px 2px 0;
	margin: 0 4px 0 0;
	border: 1px solid gray;
	border-bottom-color: gray;
}

/* div. {
	padding-left: 3px;
	padding-top: 2px;
	white-space: nowrap;
} */

h1,
h2 {
	text-align: center;
	margin: 4px;
	padding: 0px;
}
h1 {
	font-size: 1em;
}
h2 {
	font-weight: normal;
	font-size: 0.85em;
}
h2.date {
	font-size: 150%;
	font-weight: bold;
	font-style: normal;
}
abbr,
acronym {
	cursor: help; /* IE 5.0 doesn't do this by itself */
}

a:link,
a:visited {
	color: #0000ff;
	text-decoration: none;
}
a:hover,
a:active {
	color: #ff0000;
	text-decoration: underline;
}

div.H1,
div.H2,
div.H3,
div.H4,
div.H5,
div.H6,
div.H7 {
	font-size: 1em;
	/*font-weight: normal;*/
	padding-left: 3px;
	padding-top: 2px;
	/* no padding-bottom, because it breaks the <a> in IE5 !! */
	white-space: nowrap;
}

div.H1 {
	margin-left: 0px;
  background-color: #00008b;
	font-weight: bold;
}

DIV.amdtGroupTitle {
	border-top: black 0px solid;
	font-weight: bold;
	font-size: 1em;
	margin-left: 0px;
	cursor: pointer;
	padding: 0.2em;
	white-space: nowrap;
	background-color: #cfcfdf;
  text-transform: uppercase;
}

.H1,
.H1 a:link,
.H1 a:visited {
	color: #ffffff;
	font-weight: bold;
}
.H1 a:hover,
.H1 a:active {
	color: #ff0000;
	font-weight: bold;
}
.H2 {
	margin-left: 0px;
	cursor: pointer;
}
.H3 {
	margin-left: 10px;
}
.H4 {
	margin-left: 20px;
}
.H5 {
	margin-left: 30px;
}
.H6 {
	margin-left: 40px;
}
.H7 {
	margin-left: 50px;
}
.Plus {
	font-family: monospace;
	font-size: 0.9em;
	margin-right: 2px;
  color: #000;
}
.Number {
	font-size: 0.9em;
	white-space: nowrap;
}

/************************ Supplements tables *********************/
.SupTable {
	width: 100%;
  border-collapse: collapse; /* LFV added */
}

.SupTable-Row td {
  padding: 2px;
}

.SupTable td,
.SupTable th {
	font-size: xx-small; /* Value for IE */
	vertical-align: top;
}
.SupTable-Period-td {
	text-align: left;
}
html > head:first-child + body .SupTable td,
html > head:first-child + body th {
	font-size: 0.85em; /* Value for Mozilla*/
}


.SupTable-Subject-td {
  background-color: rgb(249, 252, 255);
}
.SupTable-Row td {
	border-top: solid black 1px;
}

.SupSeriesTitle {
	border-top: solid black 1px;
  background-color: rgb(249, 252, 255);
  font-weight: bold;
}

.SupSeriesTitle .Plus {
  margin-left: 5px;
  font-weight: bold;
}

.SupSeriesTitle a:hover {
  color: var(--LFV-orange);
}

/**************************** Floating menu ***********************/

div.closeButton {
	text-align: right;
	/*text-align: right;*/
	color: black;
}

div.closeButton a {
	color: black;
	border: none;
	background: #ddddee;
}

img {
	border: none;
}

div.closeButton a:visited {
	color: black;
}

/************************** AMDT menu ***********************************/
th.amdtArrow {
	/*font-family: Symbol;
	font-size: larger;*/
	vertical-align: middle;
}

img.amdtArrow {
	float: left;
	margin-right: 2px;
}

.amdtBar {
	border-left: solid 0 black;
	margin: 0 0 0 25px;
	padding-left: 4px;
	/*font-size: 0.9em;*/
}

.amdtItemDeleted {
	margin: 0;
}

.amdtGroupTitle td {
	border-top: solid black 1px;
}

.amdtGroupAbstract {
	text-align: left;
	margin-left: 0px;
	padding: 2px 2px 2px 2px;
	white-space: normal;
	font-weight: normal;
	font-size: 0.85em;
}

.amdtGroupDetails {
	padding: 0 0 4px 20px;
}

.amdtSectTitle td {
	border-top: dashed black 1px;
}

.amdtTable-Row td {
	padding: 1px;
}

.amdtIntro {
	text-align: left;
	font-style: italic;
}

.amdtLink {
	padding: 0 0 0 0.1em;
}

/************************** Commands frame ***********************************/
.commands {
	background-color: #cfcfdf;
	font-size: 12px;
}

.commands div,
.commands p,
.commands li,
.commands td,
.commands th {
	font-size: 12px;
	background-color: #cfcfdf;
}
.commands p {
	white-space: nowrap;
}
.commands td {
	vertical-align: top;
	padding: 0 6px 0 6px;
	margin: 0;
}
.commands td.border {
	border-right: solid 2px #99a;
}

p.command {
	padding: 0;
	margin: 0;
	height: 18px;
	vertical-align: baseline;
}
.command img {
	border: none;
	vertical-align: middle;
	height: 16px;
	width: 16px;
	margin: 1px 4px 1px 1px;
}
.command img.flag {
	height: 10px;
	width: 15px;
	margin: 1px 4px 2px 1px;
}
img.org {
	border: none;
	height: 17px;
	width: 32px;
	margin: 1px 4px 1px 1px;
}
div.noscript {
	background: white;
	padding: 7px;
	margin: 4px;
	border: 3px dotted red;
}

div.noscript h1 {
	color: red;
	font-size: 250%;
}

div.noscript p {
	font-size: 150%;
	white-space: normal;
}

div.NothingHereToSee {
	display: none;
}
DIV.Hx {
	padding-left: 3px;
	font-weight: normal;
	/*FONT-SIZE: 0.9em;*/
	padding-top: 2px;
	white-space: nowrap;
}
#amdtGroups DIV.H1 {
	cursor: pointer;
}
#amdtGroups DIV.Hx {
	cursor: pointer;
}
DIV.level {
	margin-left: 8px;
}
.visibile {
	display: inline;
	visibility: visible;
}

.invisibile {
	display: none;
	visibility: hidden;
}
.linkRootIdent {
	color: #0000ff;
}


/* --------------------------------------*/
/* ----------  LFV overrides  -----------*/
/*---------------------------------------*/


:root {
  --LFV-orange: #EA7600;
}

.noselect {
  user-select: none;
}

.content {
  overflow: hidden;
}

.menu {
  height: 100%;
}

.tab-content {
  overflow: auto;
  height: 100%;
}

.tab a {
  cursor: pointer;
}

.commands {
  min-height: 150px;
}

.commands table {
  width: 100%;
}

.commands table:nth-child(1) img {
  margin-top: 13px;
  width: 80px;
}

.commands table:nth-child(2) {
  padding-top: 5px;
}

/* border above commands */
.commands table:first-of-type {
  border-bottom: 1px solid black;
}



.command a {
  cursor: pointer;
}

/* Commands grid layout */

.command-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Tre lika stora kolumner */
  grid-gap: 1em;
  margin-top: 0.5em;
  margin-left: 0.5em;
}

.command-item {
  display: flex;
  flex-direction: column; /* Gör så att p-elementen ställs under varandra */
  align-items: flex-start; /* Justerar elementen till vänster */
  gap: 0.5em;
}

.command-item a {
  text-decoration: none;
}

.command-item a:hover {
  text-decoration: underline;
}

.command-item img {
  vertical-align: middle;
  margin-right: 5px;
}

.command-item .flag {
  height: 16px;
  width: 16px;
  vertical-align: middle;
}



#containerFormSearchResult {
  margin-left: 1rem;
}

div.H1 {
  background-color: var(--LFV-orange);
  padding: 3px;
  margin-top: 5px;
	font-weight: bold;
}

div.H1 a:hover {
  color: #e3e3f0;
  text-decoration: none;
}

div.Hx {
  padding-top: 5px;
}

h2.date {
  margin: 10px;
}

div.tab a {
  color: #00008b !important;
}

div.tab a:visited {
  color: red !important;
}

a#current {
  font-weight: bold;
}

.command a,
.command a span,
.command a:visited {
  color: #000 !important;
}

.level a {
  color: #000;

}

.menu-toggle {
  display: none;
  cursor: pointer;
  position: fixed;
  bottom: 15px;
  left: 0;
  z-index: 2;
  background-image: url('../../images/menu_icon.png');
  background-color: white;
  border: 0;
  padding: 2px;
  border-radius: 3px;
  margin-left: 0.5rem;
  margin-top: 0.5rem;
  width: 48px;
  height: 48px;
  background-repeat: no-repeat;
  background-position: center;
  transition: left 0.3s ease;
}

.menu-toggle.show {
  background-image: url('../../images/menu_icon_close.png');
  left: 280px;  
  z-index: 9000;
}


.split-b0 {
  background-color: #ffffff;
  overflow-y: hidden;
}

.main-content {
  margin-left: 300px; /* Justera detta värde så att det matchar menyns bredd */
}


first-level-menu-item a {
  cursor: pointer;
}

first-level-menu-item a.Plus {
  color: #fff;
}

second-level-menu-item a.Plus {
  color: #000;
}


.split-b0.show {
  left: 0;
}

/* AIP template */
.eaip-content, .amdt-content {
  padding-bottom: 172px;
}



/* AMDT tab */
div.amdtGroupTitle span.Number {
  color: #000;
}

div.amdtGroupTitle a:hover {
  color: #000;
}

amdt-first-level-menu-item .Plus {
  margin-left: 1em;
}

amdt-first-level-menu-item a:hover {
  color: #000;
}

amdt-last-level-menu-item .Number{
  color: #00f;
}

.amdt-content a {
  cursor: pointer;
}

/* SUP */
.sup-content,
.aic-content {
  margin-bottom: 250px;
}

.SupTable th {
  padding: 5px;
  text-align: left;
}

.SupTable tbody td {
  padding: 0.5em 1em;
}

.SupTable-NRYear-td {
  font-weight: bold;
}
.SupTable-NRYear-td,
.SupTable-Affect-td {
  color: #0000ff;
  cursor: pointer;
}

.SupTable-NRYear-td a:hover,
.SupTable-Affect-td a:hover {
  color: var(--LFV-orange)
}


/* AIC */
#aic-template > div {
  padding-bottom: 200px;
}

aic-first-level-menu-item a,
aic-first-level-menu-item .Plus {
  cursor: pointer;
}

.aicTable-Affect-td {
  width: 25%;
}

.aicTable-Subject-td {
  width: 33%;
  text-align: left;
}

aic-last-level-menu-item a {
  color: #0000ff;
  cursor: pointer;
  font-weight: bold;

}

aic-last-level-menu-item a:hover {
  color: var(--LFV-orange)
}

/* Search */
.search-content {
  padding-bottom: 172px;
}

.search-content a {
  color: #0000ff;
  cursor: pointer;
}

.search-content a:hover {
  color: var(--LFV-orange);
}

/* Mediaförfrågningar för att ändra visningen av menyn */
@media screen and (max-width: 700px) {
  .split-b0 {
    position: fixed;
    top: 0;
    left: -300px;
    transition: left 0.3s ease;
    border-right: 1px solid #000 !important;
    padding-right: 0.5rem;
    height: 100vh;
    right: auto;
    overflow-y: auto;
    z-index: 1000;
  }

  .b {
    width: 100% !important;
    /* margin-left: 1rem;
    margin-bottom: 2rem; */
  }

  .menu-toggle {
    display: block;
  }
  .main-content {
    margin-left: 0;
  }

  .tab-content {
    overflow-x: hidden; /* Gör så att menyn inte scrollas i sidled */
    overflow-y: auto;
  }
}
