.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.image-left{
    float: left;
    margin-left: 15px;
    margin-right: 15px;
    width: 35%;
}
.image-right{
    float: right;
    margin-left: 15px;
    margin-right: 15px;
    width: 35%;
}
.image-center{
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

body {
    margin: 15px 15px 15px 15px;
    padding: 15px;
    text-align: center;
}

.btn-custom {
    background-color: #ac2b37;
    border: 1px solid #000000;
}

.btn-custom:hover {
    background-color: #961f2a;
}

.btn-custom-apply {
    background-color: #2b974a;
}

.btn-custom-apply:hover {
    background-color: #1a6d31;
}

.link-custom {
    color: #ac2b37;
}

.link-custom:hover {
    color: #751c25;
}

.post-box {
    border: 2px solid black;
    padding: 10px;
    margin: 10px;
    width: calc(33.33% - 20px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media screen and (min-width: 800px) and (max-width: 1200px) {
    .post-box {
        width: 46%;
    }
}

@media screen and (max-width: 800px) {
    .post-box {
        width: 95%;
    }
}

.postlist {
    display: flex;
    flex-wrap: wrap;
}

.form-group {
    display: block;
    margin-bottom: 10px;
    margin-left: 20px;
    font-family:
        "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans",
        Arial, sans-serif;
    font-size: 16px;
}

.formselect {
    display: block;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 3.2px;
    width: 80%;
}

.label {
    font-weight: 600;
    color: black;
    font-size: 16px;
}

.label-no-wrap {
    white-space: nowrap;
}

/* Navbar container */
.navbar {
  overflow: visible;
  background-color: #ddd;
  font-family: Arial;
}

/* Links inside the navbar */
.navbar a {
  float: left;
  font-size: 16px;
  color: gray;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* The dropdown container */
.dropdown {
  position: relative;   /* anchor absolute children */
  float: left;
}

.navbar a,
.dropbtn {
  /* display: inline-block; */
  float: left;
  padding: 14px 16px;
}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: gray;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
  float: none;             /* 🔑 prevent drift */
  white-space: nowrap;
}

/* Add a red background color to navbar links on hover */
.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: #751c25;
  
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: auto;
  top: 100%;
  left: 0;
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}