/* cmsms stylesheet: Envofar Stylesheet modified: Friday, October 23, 2026 4:04:57 PM */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link, 
a:active {
   text-decoration: underline;
   background-color: inherit; 
   color: #18507C; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
   color: #18507C;                
}

/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   background-color: #C3D4DF;
   color: #385C72;
}

/*****************
basic layout 
*****************/
body {
   /* Updated path for CMSMS 2.x Cache Engine */
   background-image: url(https://envofar.fo/uploads/images/background.jpg);
   background-color: #e5e2db;
   background-repeat: repeat-x;
   color: #4d4b4a;
   margin:1em; 
}

/* center wrapper, min max width */
div#pagewrapper {
   border: 1px solid black;
   margin: 0 auto;     
   max-width: 65em; 
   min-width: 55em;
   background-color: #DDD8C6;
   color: black;
}

/*** header ***/
div#header {
   height: 205px; 
   background: #99b3cc;           
}

div#header h1 a {
   /* Updated path for CMSMS 2.x Cache Engine */
   background: #99b3cc url(https://envofar.fo/uploads/images/header.jpg) no-repeat 0 12px; 
   display: block; 
   height: 205px;             
   text-indent: -999em;  
   text-decoration: none; 
}

div#search {
   float: right;
   width: 27em;     
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
}

div.breadcrumbs {
   padding: 1em 0 1.2em 0; 
   font-size: 90%;             
   margin: 0 1em;              
   border-bottom: 1px dotted #000;
}

div.breadcrumbs span.lastitem { 
   font-weight:bold; 
}

div#content {
   margin: 1.5em auto 2em 0; 
}

div#main {
   margin-left: 4%; 
   margin-right: 2%; 
}

div#sidebar {
   float: left;  
   width: 2%;    
   display: inline;  
   margin-left: 0;
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   padding: 0 1%;
   width: 24%;  
}

div#footer {
   clear:both;       
   color: #fff;
   background-color: #bbb6a0; 
}

div#footer p {
   font-size: 0.8em;
   padding: 1.5em;      
   text-align: center; 
   margin:0;
}

div#footer p a {
   color: #fff; 
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 1em;
   border-bottom: 1px dotted black;
}

/* relational links under content */
div.left49 {
  float: left;
  width: 49%;  
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}

/********************
CONTENT STYLING
*********************/
/* HEADINGS */
div#content h1 {
   font-size: 2em;  
   line-height: 1em;
   margin: 0;
}
div#content h2 {
   color: #294B5F; 
   font-size: 1.5em; 
   text-align: left; 
   padding-left: 0.5em;
   padding-bottom: 1px;
   border-bottom: 1px solid #99b3cc; 
   border-left: 1.1em solid #99b3cc; 
   line-height: 1.5em;
   margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #294B5F; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #294B5F; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0;  
   line-height:1.4em;
   padding: 0;
}
blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
pre {
   font-family: monospace;
   font-size: 1.0em;
}
strong, b {
   font-weight: bold;
}
em, i {
   font-style:italic;
}

code, pre {
 white-space: pre-wrap;       
 white-space: -moz-pre-wrap;  
 white-space: -pre-wrap;      
 white-space: -o-pre-wrap;    
 word-wrap: break-word;       
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;   
}
/* END TEXT */

/* LISTS */
div#main ul,
div#main ol,
div#main dl {
  font-size: 1.0em;
   line-height:1.4em;
   margin: 0 0 1.5em 0;
}
div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */
/* cmsms stylesheet: Navigation - CSSMenu - Horizontal modified: Monday, October 26, 2026 5:13:58 PM */
/**********************************************************************
 MODERNIZED NAVIGATION: CSSMENU - HORIZONTAL (V2)
 Fully mapped for CMSMS 2.2.24 {Navigator template='cssmenu_ulshadow'}
***********************************************************************/

/* 1. Reset default spacing configurations */
#menu_vert, 
#menu_vert ul {
   list-style: none;
   margin: 0;
   padding: 0;
   display: block;
}

/* 2. Top-Level List Navigation Wrapper */
#menu_vert ul#primary-nav {
   background-color: #bbb6a0; /* Match theme footer/header background */
   height: 40px;              
   position: relative;
   z-index: 95;
   width: 100%;
}

/* 3. Float Top-Level Links horizontally */
#menu_vert ul#primary-nav li {
   float: left;
   position: relative;
   margin: 0;
   padding: 0;
}

/* 4. Formatting Link Presentation */
#menu_vert ul#primary-nav li a {
   display: block;
   padding: 10px 20px;
   text-decoration: none;
   color: #18507C;           
   font-weight: bold;
   font-size: 13px;
   background-color: #bbb6a0; 
   line-height: 20px;
}

/* 5. Hover and Active State Colors */
#menu_vert ul#primary-nav li a:hover, 
#menu_vert ul#primary-nav li:hover > a {
   background-color: #C3D4DF; 
   color: #385C72;
}

/**********************************************************************
 DROPDOWN / SUB-MENU TOGGLE ENGINE
***********************************************************************/

/* 6. Hide all sub-levels and position them absolutely below the menu bar */
#menu_vert ul#primary-nav ul {
   position: absolute;
   top: 40px;                 
   left: 0;
   display: none;             /* Keeps the nested lists completely hidden */
   visibility: hidden;
   width: 200px;              
   box-shadow: 2px 2px 5px rgba(0,0,0,0.2); 
   z-index: 999;
}

/* 7. Display child links instantly on parent list hover */
#menu_vert ul#primary-nav li:hover > ul {
   display: block !important;
   visibility: visible !important;
}

/* 8. Stack drop-down options vertically instead of floating horizontally */
#menu_vert ul#primary-nav ul li {
   float: none !important;
   width: 100%;
}

/* 9. Styling Sub-level Menu items */
#menu_vert ul#primary-nav ul li a {
   background-color: #bbb6a0; /* Match your page content background tint */
   color: #18507C;
   padding: 8px 15px;
   font-size: 12px;
   border-bottom: 1px dotted #bbb6a0;
   line-height: 18px;
}

/* 10. Secondary Fly-out tiers (For 3rd level menu chains) */
#menu_vert ul#primary-nav ul ul {
   top: 0;
   left: 200px;               
}

/* Clear floated list configurations safely */
#menu_vert ul#primary-nav:after {
   content: "";
   display: block;
   clear: both;
}
