/* ---------- Issue 23 -----------*/
/* ---------- Date 25/11/2021 -----------*/
/* ---------- Added Style button -----------*/

/* resets and overrides
-----------*/
* {
        box-sizing: border-box;
}

div {
margin:0px;
padding: 0px;
/*border: 1px solid #0000FF;*/
/*outline: 1px solid #0000FF;*/
}

/* Links and type
-----------*/
body {
    margin: 0;
    padding: 0px;
    background-color: #FFFFFF;
}

a:link, a:visited, a:hover, a:active{
    text-decoration: none;
    color: #000000;
}

img {
    max-width: 100%;
    height: auto;
}

/* Main layout
-----------*/
/* Style the header */
.header {
        background-color: #438543;
        padding: 1px 0px 0px 10px;
        /*text-align: center;*/
        min-height: 110px;
}

.header h1{
        /*padding: 0px 200px;*/
}

.header_image {
        /*float:left;*/
        /*padding: 0px 5px 0px 0px;*/
}
.header_image img{
        float:left;
        /*padding: 0px 200px 0px 0px;*/
        display: block;
        margin-left: 10px;
        margin-right: 50px;
}
/* Style text */
span.text_bold {
    font-weight: bold;
}
span.text_bold_underline {
    font-weight: bold;
    text-decoration: underline;
}


/* Style the top navigation bar */
.topnav {
        overflow: hidden;
        background-color: #99CC99;
        background: linear-gradient(to bottom, #99cc99 10%, #666633 100%);
        min-height: 50px;
}

/* --- */

/*Strip the ul of padding and list styling*/
.topnav ul {
    list-style-type:none;
    margin:0;
    padding:0;
    position: absolute;
}
/*Create a horizontal list with spacing*/
.topnav li {
    display:inline-block;
    float: left;
    margin-right: 0px;
    border-right: 1px solid #FFFFFF;
}
/*Style for menu links*/
.topnav li a {
    display:block;
    min-width:140px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #000000;
    /*background: #99CC99;*/
    background: linear-gradient(to bottom, #99cc99 10%, #666633 100%);
    text-decoration: none;
}

/*Hover state for top level links*/
.topnav li:hover a ,#pageid1 a#nav1 ,#pageid4 a#nav4 ,#pageid7 a#nav7 ,#pageid8 a#nav8 {
    /*background: #438543;*/
    background: linear-gradient(to bottom, #99cc99 10%, #666633 100%);
    color: #FFFFFF;
}
/*Style for dropdown links*/
.topnav li:hover ul a {
    /*background: #99CC99;*/
    color: #2f3036;
    height: 35px;
    line-height: 40px;
}
/*Hover state for dropdown links*/
.topnav li:hover ul a:hover {
    /*background: #438543;*/
    color: #fff;
}
/*Hide dropdown links until they are needed*/
.topnav li ul {
    display: none;
}
/*Make dropdown links vertical*/
.topnav li ul li {
    display: block;
    float: none;
}
/*Prevent text wrapping*/
.topnav li ul li a {
    width: auto;
    min-width: 100px;
    padding: 0 20px;
}
/*Display the dropdown on hover*/
.topnav ul li a:hover + .hidden, .hidden:hover {
    display: block;
}


/*Style 'show menu' label button and hide it by default*/
.show-menu {
    font-family: Helvetica, Arial, sans-serif;
    text-decoration: none;
    color: #fff;
    background: #19c589;
    background: linear-gradient(to bottom, #99cc99 10%, #666633 100%);
    /*text-align: center;*/
    text-align: left;
    padding: 10px 0;
    display: none;
}
/*Hide checkbox*/
.topnav input[type=checkbox]{
    display: none;
}
/*Show menu when invisible checkbox is checked*/
.topnav input[type=checkbox]:checked ~ #menu{
    display: block;
}

/*Style button*/
.button {
    -webkit-border-radius: 10;
    -moz-border-radius: 10;
    border-radius: 10px;
    color: #FFFFFF;
    padding: 5px;
    /*background: #3498db;*/
    /*background-color: #008080;*/
    border: solid #408040 2px;
    text-decoration: none;
    /*line-height: 4.6;*/
    line-height: 30px;
}

.button:hover {
    background: #3cb0fd;
    background-color: #408040;
    text-decoration: none;
}


/* Style side bar start */
#sidebar {
    /*float: left;
    width: 210px;*/
    /*min-height: 500px;*/
    padding-top: 5px;
    padding-right: 5px;
    padding-left: 5px;
    background: #EFEFEF;
}

.sidebar h3 {
    /*width:200px;*/
    height: 30px;
    margin: 0 0 0 0;
    padding: 3px 0px 0px 10px;
    /*letter-spacing: -1px;*/
    color: #000000;
    background: #E0E0E0;
    border: 1px solid #408080;
}

.sidebar ul { margin:0 0 10px 5px; padding: 0; list-style: none; }
.sidebar ul li a { display:block; /*width:210px;*/ margin: 0 0px 0px 0px; padding: 5px 5px 5px 5px; border-bottom:1px solid #000000; color: #000000;}
.sidebar ul li a:hover { border-bottom:1px solid #000000; color: #000000; background: #CFCFCF;}
/*.sidebar ul li a:hover { background:#000000; border-bottom:1px solid #FFFFFF; color: #FFFFFF;}*/
/* Style side bar end */


/* Style the footer */
.footer {
        background-color: #99CC99;
        border-top: 1px solid #9C9C9C;
        padding: 10px;
        text-align: center;
        color: #000000;
}

.footer a:link, a:visited, a:hover, a:active {
        color: #000000;
}

/* Secondary layout structures
-----------*/
#wrapper {
    width: 100%;
    max-width: 1280px;
    margin: auto;
    padding: 0%;
    }



.row {
        display: flex;
        flex-wrap: wrap;
}
/* Create three unequal columns that floats next to each other */
.column {
        float: left;
        padding: 10px;
        border: 0px solid #408080;
}
/*.column.left img{
        display: block;
        margin-left: auto;
        margin-right: auto;
}*/
/*.column.right img{
        display: block;
        margin-left: auto;
        margin-right: auto;
}*/

/* Left column */
.column.left {
        flex: 20%;
        border: 1px solid #408080;
        background: #E0E0E0;
}

/* Main column */
.column.main {
        flex: 60%;
        /*border: 1px solid #408080;*/
        border-top: 1px solid #408080;
        border-bottom: 1px solid #408080;
        background-color: #FFFFFF;
}

/* Right column */
.column.right {
        flex: 20%;
        border: 1px solid #408080;
        background: #E0E0E0;
}

/* Clear floats after the columns */
.row:after {
        content: "";
        display: table;
        clear: both;
}

/* sidebar images start*/
.row_sidebar {
        display: flex;
        flex-wrap: wrap;
}

/* Create four equal columns that sits next to each other */
.column_sidebar {
        /*-ms-flex: 25%;*/ /* IE10 */
        flex: 100%;
        max-width: 100%;
        padding: 0 4px;
}

.column_sidebar img {
        margin-top: 8px;
        /*vertical-align: middle;*/
        display: block;
        margin-left: auto;
        margin-right: auto;
}
/* sidebar images end*/


/* Form elements
-----------*/

/* Miscellaneous
-----------*/
.table {
        border-collapse: collapse;
        width: 100%;
}

.table td, .table th {
        border: 1px solid #408040;
        padding: 8px;
}

.table tr:nth-child(even){background-color: #f2f2f2;}

.table tr:hover {background-color: #CFCFCF;}

.table th {
        /*padding-top: 12px;
        padding-bottom: 12px;*/
        text-align: left;
        background-color: #EFEFEF;
        /*color: white;*/
}

.no-more-tables table {
  width: 100%;
}


/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
/* 760px */
@media (max-width: 800px) {
        .row, .column.left, .column.main, .column.right {
                width: 100%;
                flex-direction: column;
        }
    .header {
        display: none;
    }
    .header h1{
        padding: 0px;
    }

    .topnav ul {
        position: static;
        display: none;
    }
    /*Create vertical spacing*/
    .topnav li {
        margin-bottom: 1px;
    }
    /*Make all menu links full width*/
    .topnav ul li, li a {
        width: 100%;
    }
    /*Display 'show menu' link*/
    .show-menu {
        display:block;
    }
    .topnav {
         min-height: 40px;
    }

/* sidebar images*/
    .column_sidebar {
        /*-ms-flex: 50%;*/
        flex: 33.33%;
        max-width: 33.33%;
    }

      /* Force table to not be like tables anymore */
  .no-more-tables table,
  .no-more-tables thead,
  .no-more-tables tbody,
  .no-more-tables th,
  .no-more-tables td,
  .no-more-tables tr {
    display: block;
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  .no-more-tables thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .no-more-tables tr {
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
  }

  .no-more-tables tr:last-child {
    border-bottom: 0;
  }

  .no-more-tables td {
    /* Behave  like a "row" */
    border: none;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
    white-space: normal;
    text-align:left;
  }

  .no-more-tables td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align:left;
    font-weight: bold;
  }

  /*
  Label the data
  */
  .no-more-tables td:before { content: attr(data-title); }
    }

