.menu-items {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0 auto !important;
  padding-left: 0px !important;
  min-height: 100px;
}

.menu-items > li {
  height: 70px;
  padding: 1rem 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease-in-out;;
}

.mega-menu {
  position: absolute;
  width: 65vw;
  left: 30%;
  top: 50px;
  opacity: 0;
  padding-top: 3.22rem;
  visibility: hidden;
  transition: all 0.5s ease;
}

.mega-menu .content {
  background-color: rgba(255, 255, 255, 1.1);
  margin-top: 3.6rem;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
  border:  1px solid #fff;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  justify-content: space-between;
}

.content .col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  line-height: 3rem;
}
.content .col .img-wrapper {
  display: block;
  position: relative;
  width: 100%;
  height: 20vw;
  overflow: hidden;
}
.content .col .img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.content .col img {
  width: 100%;
  transition: transform 0.3s ease-in-out;
}
.content .col .img-wrapper:hover img {
  transform: scale(1.1);
}
.content .col h2 {
  font-size: 1.3rem;
  line-height: 3rem;
  font-weight: bold;
}
.content .col p {
  line-height: 1.2rem;
}
.content .col .mega-links {
  border-left: 1px solid #1a3246;
}
.content .col .read-more {
  display: inline-block;
  padding-top: 1rem;
  color: #427dad;
  transition: color 0.3s ease;
}
.content .col .read-more:hover {
  color: #ff652f;
}

.col .mega-links li,
.col .mega-links li a {
  padding: 0 .3rem;
  font-size: 1.1rem;
}

.menu-items li:hover .mega-menu {
  top: 50px;
  opacity: 1;
  visibility: visible;
}

.menu-items a:hover .mega-menu {
  top: 50px;
  opacity: 1;
  visibility: visible;
}

.mega-links {
  padding-left: .5rem;
}

.bg-helftransparent {
  background-color: rgba(255, 255, 255, .9) !important
}

* {
  box-sizing: border-box;
}

*:focus, input:focus + label {
  outline: none;
  /*box-shadow: inset 0 0 0 5px lightBlue;*/
}

main {
  max-width: 1200px;
  margin: auto;
}

.search-tab {
  position: absolute;
  top: 60%;
  left: 18%;  
  transform: translateY(-30%);
}

.search-tab h2 {
  margin: 20px 0 20px;
  font-size: 20px;
  color: #938e8e;
}

.search-tab .tabs {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto 20px;
  border-radius: 10px 10px 0 0;
}

.search-tab .radiotab {
  position: absolute;
  opacity: 0;
}

.search-tab .label {
  width: 100%;
  padding: 12px 20px;
  background: rgba(255,255,255,.9);
  cursor: pointer;
  font-weight: bold;
  font-size: 23px;  
  /*color: #938e8e;*/
  color: #a39d9d;
  transition: background .3s, color .3s;
  border: none;
  border-radius: 0;
  text-align: center;
}

.search-tab .label:hover {
  background: #d8d8d8;
}

.search-tab .label:active {
  background: #ccc;  
}

.search-tab .radiotab:checked + .label {
  background: rgba(255, 255, 255, .9);
  /*color: #ebebeb;*/
  color: #605e5e;
  border-top: solid 1px #000;
  border-left: solid 1px #000;
  border-right: solid 1px #000;
  border-bottom: none;
}

.search-tab .panel {
  display: none;
  padding: 20px 30px 30px;
  background: rgba(255, 255, 255, .9);
  width: 100%;
  height: 100px;
  border-left: solid 1px #000;
  border-bottom: solid 1px #000;
  border-right: solid 1px #000;
  border-radius: 0 0 10px 10px;
}

.search-tab .radiotab:checked + .label + .panel {
  display: block;
}

.search-tab .primo select, .search-tab .ermg select {
  height: 40px;
  width: 10rem;
  border-radius: 10px;
}

.search-tab .primo input[type="text"], .search-tab .ermg input[type="text"], .search-tab .google input[type="text"] {
  height: 40px;
  width: 48rem;
  margin: 10px;
  border-radius: 10px;
  font-size: 14px;
  color: #938e8e;
  text-indent: 5px;
}

.search-tab .primo input[type="button"], .search-tab .ermg input[type="button"], .search-tab .google input[type="button"] {
  height: 40px;
  width: 10rem;
  border-radius: 10px;
  color: #fff;
  background-color: #0D6490;
  font-size: 18px;
}

.search-tab .primo input[type="submit"], .search-tab .ermg input[type="submit"], .search-tab .google input[type="submit"]  {
  height: 40px;
  width: 10rem;
  border-radius: 10px;
  color: #fff;
  background-color: #0D6490;
  font-size: 18px;
}

@media (min-width: 600px) {
  .search-tab .panel {
    order: 99;
  }

  .search-tab .label {
    width: 200px;
    border-radius: 10px 10px 0 0;
    border-bottom: solid 1px #000;
  }
}