* {
  box-sizing: border-box
}

body {
  font: 14px/1.5 Arial, Helvetica, sans-serif;
  padding: 0;
  margin: 0;
}

.bg {
    /* The image used */
    background-image: url("port12.jpg");
    /* Full height */
    height: 650px;
    /* Center and scale the image nicely
    background-position: center; */
    background-repeat: no-repeat;
    background-size: cover;
}

#myDIV {
  display: none;
}

#hp-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  justify-content: center;
}
/*
#hp-container > div {
  background-color: #ffffff;
  width: 300px;
  margin: 50px 15px 10px 15px;
  text-align: center;
  font-size: 25px;
  -webkit-filter: drop-shadow(8px 8px 10px black);
  filter: drop-shadow(8px 8px 10px black);
}
*/

    #hp-container > div {
        background-color: rgba(89, 89, 89, 0.5); /*background-color: #ffffff;*/
        color: white;
        width: 300px;
        margin: 50px 15px 10px 15px;
        text-align: center;
        font-size: 25px;
        /*  -webkit-filter: drop-shadow(8px 8px 10px black);  
        filter: drop-shadow(8px 8px 10px black); */
        box-shadow: 6px 7px 7px 2px rgba(0,0,0,0.5);
    }


#hpbkimg {
    background-image: url("port.jpg");
    height: 500px;
    /*width: 90%;*/
    width: 100%;
    background-size: 100% 500px;
    margin: auto;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-filter: drop-shadow(8px 8px 10px grey); /* Safari 6.0 - 9.0 */
    filter: drop-shadow(8px 8px 10px grey);
}

/* Header */
.header {
  overflow: hidden;
  background-color: #f1f1f1;
  padding: 2px 5px 2px 5px;
}

.header-center {
  float: none;
  position: absolute;
  top: 4%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #0082c8;
  font: bold 18px/1.5 Arial, Helvetica, sans-serif;
}

.header-right {
  float: right;
}

.header a {
  float: left;
  color: black;
  text-align: center;
  padding: 10px 13px 10px 13px;
  text-decoration: none;
  font-size: 14px;
  margin-top: 2px;
  line-height: 25px;
  border-radius: 4px;
}

.header a:hover, .dropdown:hover .dropbtn {
  background-color: #6eb43f;
  color: white;
  text-shadow: 1px 1px 3px #999999;
}

    .header a.active {
        color: #0082c8;
    }

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 14px;
  border: none;
  border-radius: 4px;
  outline: none;
  color: black;
  padding: 10px 13px 10px 13px;
  background-color: inherit;
  font-family: inherit;
  margin-top: 2px;
  line-height: 25px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f0f0f0;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  font-size: 14px;
  float: none;
  color: black;
  padding: 2px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #6eb43f;
  color: white;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* definition for input, select & textarea fields */
form.onlinebk input[type=text] {
  width: 60%;
  padding: 12px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  resize: vertical;
  background: #f1f1f1;
}

form.onlinebk input[type=text]:focus {
  background-color: #ddd;
  outline: none;
}

form.onlinebk button {
  padding: 10px;
  background: #2196F3;
  border: 1px solid #ccc;
  border-left: none;
  color: white;
  cursor: pointer;
  border-radius:5px;
}

form.onlinebk button:hover {
  background: #0b7dda;
}

/* Clear floats */
form.onlinebk::after {
  content: "";
  clear: both;
  display: table;
}

/* Set a style for the submit/register button */
.genbtn {
  font-size: 12px;
  cursor: pointer;
  margin: 0em;
  border-radius: 6px;
  display: inline-block;
  text-align: center;
  opacity: 1.0;
}

.genbtn:hover {
  opacity: 0.7;
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 15px 0 rgba(0,0,0,0.19);
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */

/* Grid design */
.grid-container {
  display: grid;
  grid-template-columns: 70px auto auto auto auto auto auto auto;
  grid-template-rows: auto;
  grid-gap: 1px;
  padding: 1px 8px 1px 8px;
}

.grid-container > div {
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 10px 0;
  font-size: 11px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  border-radius: 6px;
}

.griditem {
  float: left;
  background: #fafafa;
  align-self: center;
}

.gridheader {
  float: left;
  padding: 10px 0;
  border: 1px solid #0082c8;
}

.griditem-trash {
  color: red;
  font-size: 20px;
  padding: 10px 0;
  background-color: white;
}

.border1 {
  margin-top: 45px;
}

/* Style the label to display next to the inputs */
label {
  padding: 6px 12px 0px 0px;
  font-size: 11px;
  font-weight: bold;
  display: inline-block;
}

/* definition for checkbox field */
input[type=checkbox] {
  width: 20px;
  height: 20px;
  margin: 12px 0px 22px 0px;
  display: inline-block;
  border: none;
  border-radius: 6px;
  background: #f1f1f1;
  resize: vertical;
}

/* definition for input, select & textarea fields */
select, textarea, input[type=text] {
  width: 100%;
  padding: 8px 10px 8px 10px;
  margin: 2px 0 5px 0;
  display: inline;
  border: 1px solid #ccc;
  box-sizing: border-box;
  border-radius: 6px;
  resize: vertical;
  background: white;
  font-size: 11px;
  text-transform: uppercase;
}

.gridinput[type=text], .gridselect {
  width: 100%;
  margin: 0px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  border-radius: 6px;
  resize: vertical;
  background: white;
  font-size: 10px;
}

select:focus, textarea:focus, input[type=text]:focus, input[type=checkbox]:focus {
  border-color:#9ecaed;
  box-shadow:0 0 10px #9ecaed;
  outline: none;
}

select:required, textarea:required, input[type=text]:required, input[type=checkbox]:required {
  background-color: #f0faff;
}

@media screen and (max-width: 600px) {
    #hp-container, #hpbkimg {
        width: 100%;
        margin-top: 0;
    }

    .header a {
        float: none;
        display: block;
        text-align: left;
    }

    .row {
        border: 1px solid #0082c8;
        border-radius: 6px;
    }


    .container {
        width: 90%;
        margin: 0 auto;
        overflow: hidden;
        padding: 5px 5px 5px 5px;
    }

    .border1 {
        border: 1px solid #0082c8;
        width: 70%;
        padding: 10px 10px 10px 10px;
        margin-left: 70px;
        margin-bottom: 20px;
    }

    .header-right {
        float: none;
    }

    .header-center {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }
}
.ui-menu-item {
    font-size: 11px;
}