html,
body {
  height: 100%;
  margin: 0;
} 

.box {
  display: flex;
  flex-flow: column;
  height: 100%;
}

.box .row-header {
  flex: 0 1 auto;
}

.box .row-menu {
  flex: 0 1 auto;
}

.box .row-fill {
  flex: 1 1 auto;
}

.box .row-message {
  flex: 0 1 auto;
}

.box .row-body {
  flex: 0 1 auto;
}

.box .row-footer {
  flex: 0 1 auto;
}

/* Styles all elements of the page */
* {
  margin: 0px;
  box-sizing: border-box;
  font-family: Verdana;
}

html {
  font-size: 13px;
}

h2 {
  font-size: 18px;
}

img {
  max-width: 100%;
}

a, a:visited {
  color: blue;
}

input[type=text], input[type=email], textarea {
  width: 304px;
  max-width: 100%;
  border: solid 2px #253a6e;
  padding: 2px;
  border-radius: 10px;
}

textarea {
  font-family: Verdana;
  font-size: 13px;
  height: 200px;
}

.container
{
width: 100%;
max-width: 672px;
margin-left: auto;
margin-right: auto;
}

/* Styles the header */
header {
  background-color: #253a6e;
  padding: 10px;
  height: 32px;
}

nav {
  background-color: #253a6e;
  height: 32px;
}
  

table {
  border-collapse: collapse
}

td {
  border: solid 1px;
}

input[type=submit], .button {
  display: inline-block;
  background-color: #253a6e;
  color: white;
  font-weight: bold;
  padding: 10px 25px 10px 25px;
  border: solid 2px white;
  border-radius: 10px;
  margin-bottom: 4px;
}

/* Styles the main content area */
.main-content {
  color: #253a6e;
  padding: 24px 12px;
}

.margin { margin: 12px; }

/* Formats the footer */
footer {
  background-color: #253a6e;
  color: white;
  padding: 15px;
}

footer a, footer a:visited {
  color: white;
}


    /** navbar **/

    .navbar { height: 24px; font-weight: bold; position: relative; z-index: 1000; }
    
    /* Set the parent <li>’s CSS position property to ‘relative’. */

    .navbar ul {
      display: inline-block;
      list-style: none;
      padding: 0px;
      margin: 0px;
      background-color: #253a6e;
    }

    .navbar ul li {
      display: block;
      position: relative;
      float: left;
      text-align: left;
    }
    
    /* The CSS to hide the sub menus. */
    
    .navbar li ul { display: none; }

    .navbar ul li a {
      display: block;
      padding: 8px;
      text-decoration: none;
      white-space: nowrap;
      background-color: #14265e;
      color: white;
    }

    .navbar ul li a:hover { background: #4d5c95; }
    
    /* Displays the dropdown menu on hover. */
    
    .navbar li:hover > ul {
      display: block;
      position: absolute;
    }

    .navbar li:hover li { float: none; }

    .navbar li:hover a { background: #DFDFDF;  }

    .navbar li:hover li a:hover { background: #9F9F9F; }
    
    /* Displays second level dropdown menus to the right of the first level dropdown menu. */
    
    .navbar ul ul ul {
      left: 100%;
      top: 0;
    }

    /* Simple clearfix. */
    
    .navbar ul:before,
    .navbar ul:after {
      content: " ";
      display: table;
    }

    .navbar ul:after { clear: both; }
    
    .navbar ul:empty { border: none; }


