/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   MAIN PAGE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

body 
{
    display: flex;
    margin: 20px;
    background-image: url("../images/bg.webp");
    background-size:     cover;                      /* <------ */
    background-repeat:   no-repeat;
    background-position: center center;
    background-attachment: fixed;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}   

* 
{
    box-sizing: border-box;
    font-family: 'DejaVu Sans', 'Lucida Console'; 
    font-size: 100%;
}

.frontimage
{
        max-width: 1024px;
        margin: 0 auto;
        text-align : center;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    DATATABLES CONTAINER FORMATTING
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.searchResults
{
        clear : both;
        width : 100%;
        margin: 0 auto;
        text-align : center;
        padding-top: 1px;
}


.searchResultsHeader
{
        clear : both;
        text-align : center;
        min-width : 100%;
        height: 40px;
        padding: 1px;
	background-color: green;
        color: white;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    SYSTEM MESSAGE STYLES
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.info_message
{ 
    border-radius: 12px;
    text-align: center;
    clear: both;
    margin: auto;
    max-width: 80%;
    font-size: 100%;
    font-style: normal;
    /* color: #9d2b4a;  dark red */
    color: #165f1e; /* dark green */
    padding: 12px;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    PAGE STYLES
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.headerBox, .pageHeader, .footerBox, .panelContentHeader, .formHeader, .formFooter
{
        margin: 0 auto;
        background-image: linear-gradient(to bottom, #1c440a, #4A8E31); /* darker green */
        text-align : center;
        max-width : 100%;
        height: auto;
        padding: 6px;
}

.panelContentHeader, .formHeaderm .formFooter
{
        margin-top: 20px;
        margin-bottom: 20px;
}

.formHeader, .formFooter
{
        clear : both;
}

.formFooter
{
    padding-bottom: 20px;
    padding-top: 20px;
}

.headerBox, .pageHeader
{
        clear : both;
        border-top-right-radius: 12px;
        border-top-left-radius: 12px;
}

.footerBox
{
        clear : both;
        border-bottom-right-radius: 12px;
        border-bottom-left-radius: 12px;
}

.panelContentHeader P, 
.headerBox P, 
.formHeader P, 
.footerBox P, 
.pageHeader P
{
        color: white;
        font-weight: bold;
        margin: 0 auto;
}

.dataEntryForm
{
    margin: 0 auto;
    text-align: left;
    width: 90%;
    background-color: #E8D9C3;
}

.formPanel
{
    width: 100%;
    margin: 0 auto;
}

.showFormPanel
{
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, calc( 50% - 10px ) );
    grid-gap: 10px;
}

.leftPanelContent
{
    text-align: center;
}

.rightPanelContent
{
    text-align: center;
}

.centerPanelContent
{
    text-align: center;
    padding-top: 10px;
}

.panelContentTable
{
}

.contentTableRight
{
}

.contentTableLeft
{
    float: left;
}

.contentTableRow
{
}

.formLine
{
    display: table-row;
    padding-bottom: 8px;
}

.cellLabel
{
    text-align: center;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-right: 10px;
    width: calc( 49% - 44px );
    font-size: 100%;
    display: table-cell;
}

.cellData
{
    padding-left: 10px;
    display: table-cell;
    width: calc( 51% - 52px );
}

input:read-only
{
    border: 2px solid Grey;
    background-color: #bbb8b8;
}

.cellData input, .cellData select
{
    border: 2px solid Grey;
    background-color: #f0f8ef;
}

.pageNav
{
        clear : both;
        margin: 0 auto;
        margin: 20px;
        text-align: center;
        border-radius: 12px;
        background-color: #dcf2d5;
}

.pageBody
{
        margin: 0 auto;
        background: white;
        opacity: 90%;
        border-top-right-radius: 12px;
        border-top-left-radius: 12px;
        border-bottom-right-radius: 12px;
        border-bottom-left-radius: 12px;
        display: inline-table;
}

.pageBodyInner 
{
            height: 100%;
            box-sizing: border-box;
            padding: 10px;
            text-align: left;
}

.contentTableRow P
{
            margin-left: 0px !important;
}

.pageBodyInner P, .pageBodyInner LI
{
            margin-left: 20px;
            text-align: left;
}

.pageFooterRow
{
        max-width : 100%;
        color: #310606;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 20px;
        margin: auto;
        clear: both;
}

.pageMenuBox
{
       max-width : 100%;
       clear: both;
       margin: auto;
}

H1
{
    text-align: center;
    background-color: #b0cfa7;
    padding: 15px;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   TOOLTIP STYLE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.tooltip 
{
    position: relative;
    display: table-cell;
    vertical-align: top;
    width: 64px;
    float: left;
}

.tooltip IMG {
    max-height: 24px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 450px;
  color: #180a39;
  text-align: left;
  padding: 10px 0;
  border-radius: 6px;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: -20px;
  left: 50px;
  opacity: 0;
  transition: opacity 0.5s;
}

.tooltip:hover .tooltiptext 
{
  background-color: #e5ca92;
  visibility: visible;
  opacity: 1;
  padding: 8px 8px;
  margin: 8px 8px;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   SUBFORM FORMATTING
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

th 
{
  text-align: center;
}

td 
{
  text-align: center;
}

.childRowCell
{
        vertical-align: middle;
        text-align: center;
}

.tabtable
{
  border: 1px solid #ccc;
  background-color: #f1f1f1;
  text-align: center;
  margin: auto;
}

.tabtable thead tr th
{
	padding-bottom: 20px;
}

.tab 
{
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

.tab button 
{
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
}

.tab button:hover 
{
  background-color: #ddd;
}

.tab button.active 
{
  background-color: #306016;
}

.tabsDiv
{
  clear:both;
  width : 100%;
  text-align : center;
  box-shadow: 2px 2px 4px #EBEBEB;
  padding-top: 20px;
  padding-bottom: 20px;
  margin: 0 auto;
}

.tabsPanel
{
    width: 100%;
    background-color: #e5cba4;
    margin: 0 auto;
}

.tabsDiv button
{
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 6px;
    padding-bottom: 0px;
    border-top: 0px;
    border-bottom: 0px;
}

.tablinks, .tablinks:hover
{
  float: left;
  cursor: pointer;
}

.tablinks.active 
{
   color: #F9ECE1;
}

.tabcontent 
{
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   COLLAPSIBLE SEARCH FORM STYLE INFO
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.accordion 
{
      color: white;
      background-image: linear-gradient(to bottom, #257103, #74BF59);  /* green */
      /* background-image: linear-gradient(to bottom, #9F4003, #EC7E05);  burnt orange */
      cursor: pointer;
      padding: 12px;
      max-width: 100%;
      text-align: left;
      transition: 0.4s;
      border-radius: 10px;
      margin: 10px;
}

.accordion:active, .accordion:hover 
{
     /* background-image: linear-gradient(to bottom, #eecaa3, #F9ECE1); light orange */
     color: black;
     background-image: linear-gradient(to bottom, #C9EE77, #EAF2D4); /* light green  */
}

.accordionpanel 
{
      padding: 0 12px;
      display: none;
      border-width: 0px;
      outline: none;
      overflow: hidden;
 } 
  
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   IMAGE STYLE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.indexBar 
{
    height: auto;
}

.navbuttonTD 
{
    min-width: 105px;
    height: auto;
}

.navbutton 
{
    max-width: 50px;
    height: auto;
}

img 
{
    vertical-align: middle;
    border-radius: 2px;
    max-width: 90%;
}

.image1024
{
    border-radius: 2px;
    max-width: 1024px;
    max-height: 768px;
    height: auto;
}

.twoimage 
{
    border-radius: 20px;
    max-width:400px;
    height: auto;
}

.action-icon
{
    max-width: 64px;
    max-height: 64px;
}

.bullet-index
{
    max-width: 32px;
}
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   PAGE SECTION TITLES
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.section-title-1
{
    margin-left: 0px;
}

.section-title-2
{
    margin-left: 40px;
}

.section-title-3
{
    margin-left: 80px;
}

.section-title-4
{
    margin-left: 120px;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   SMARTMENU OVERRIDE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.smartmenu
{
    border-radius: 0px;
}

.smartmenu a, .smartmenu a:hover, .smartmenu a:focus, .smartmenu a:active 
{
    font-size: 100%;
    font-style: italic;
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   SLIDESHOW FORMATTING
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.mySlides {display: none;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 3.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */

@media only screen and (max-width: 300px) 
{
  .text {font-size: 11px}
}
