/* Copyright Surftec Ltd, 2017 */

/* Colour Pallet

100% #ffffff
95% #e6f2ff
90% #cce6ff Light Colour
85% #b3d9ff Hover Colour
80% #99ccff
75% #80bfff
70% #66b3ff
65% #4da6ff
60% #3399ff Key Colour
55% #1a8cff
50% #0080ff
45% #0073e6
40% #0066cc
35% #0059b3
30% #004d99
25% #004080
20% #003366
15% #00264d Dark Shadow Colour
10% #001a33
5% #000d1a
0% #000000

New colours 2020
Main Teal #298094
Sea Blue #3ebace
Midnight Blue #2f4550
Mint Green #b8dbd9


*/

body {
  background: #298094; /* Key Colour */
}


/* Flex Boxes */

.flex-container {
  padding: 0;
  margin: 0;
  list-style: none;
  
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

.flex-item {
  background: #ffffff; /* Light Colour */
  padding: 5px;
  margin: 20px;

  border-radius: 15px;
  box-shadow: 4px 4px 8px #2f4550; /* Dark Shadow Colour */
}

.flex-item.box {
  width: 200px;
  height: 200px;
  background-position: center;
  background-repeat: no-repeat;
}

.label {
  height: 20px;
  color: #2f4550; /* Dark Shadow Colour */
  font-weight: bold;
  font-size: 1em;
  text-align: center;
}

.flex-item.rectangle {
  width: 460px;
  height: 200px;
}

.flex-item:hover {
  background-color: #3ebace; /* Hover Colour */
  box-shadow: 1px 1px 8px #2f4550; /* Dark Shadow Colour */
}

.flex-item.box img {
  max-width:  190px; 
  max-height: 190px;
  height: 190px;
  width: auto;
}

.flex-item.rectangle img {
  max-width: 450px; 
  max-height: 190px;
  height: 190px;
  width: auto;
}

.flex-item table, th, td {
  border: 0px;
  width: 100%;
  height: 100%;
  text-align: center;
  vertical-align: middle;
  padding: 0px;
  border-spacing: 0px;
}


/* Footer Logo */

.footer.copyright {
  font-size: 0.8em;
  position: fixed;
  left: 20px;
  bottom: 20px;
  color: #2f4550; /* Dark Shadow Colour */
}

.footer.copyright a {
  text-decoration: none;
  color: #2f4550; /* Dark Shadow Colour */
}

.footer.logo {
  position: fixed;
  right: 20px;
  bottom: 0px;
}

.footer.logo img {
  max-width: 200px; 
  max-height: 200px;
  height: 100px;
  width: 366px;
}

/* Navigation Bar */

.navigation {
  list-style: none;
  margin-bottom: 30; 
  
  background: #b8dbd9; /* Light Colour */
  box-shadow: 4px 4px 8px #2f4550; /* Dark Shadow Colour */
  
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.navigation a {
  text-decoration: none;
  display: block;
  padding: 1em;
  color: #2f4550; /* Dark Shadow Colour */
}

.navigation a:hover {
  background-color: #3ebace; /* Hover Colour */
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}


/* Media Specific Changes */

@media all and (max-width: 800px) {
  .navigation {
    -ms-flex-pack: distribute;
        justify-content: space-around;
  }
}

@media all and (max-width: 600px) {
  .navigation {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column wrap;
            flex-flow: column wrap;
    padding: 0;
  }
  
  .navigation a { 
    text-align: center; 
    padding: 10px;
    border-top: 1px solid rgba(255,255,255,0.3); 
    border-bottom: 1px solid rgba(0,0,0,0.1); 
  }

  .navigation li:last-of-type a {
    border-bottom: none;
  }
}