@import url('variables.css');

/* Desktop view */
html {
  background: var(--color-bg);
  display: flex;
  justify-content: center;
}

* {
  margin: 0px;
  box-sizing: border-box;
  font-family: arial;
}

body {
  background-image: url(../images/banner-3.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 100px;
  justify-content: flex-start;
  background-color: var(--color-bg) !important;
}

.body-container {
  font-family: Arial;
  background-color: transparent;
  margin: 0;
  padding: 0;
  text-align: center;
  width: 400px;
  max-width: 400px;
  min-height: calc(100vh - 100px);
}

.custom-file-input::-webkit-file-upload-button {
  visibility: hidden;
}

.custom-file-input {
  color: transparent;
  float: left;
  margin-bottom: -10px;
  width: 50px;
}

.custom-file-input::-webkit-file-upload-button {
  visibility: hidden;
}

.custom-file-input::before {
  content: url(../images/img.png);
  color: black;
  display: inline-block;
  background: none;
  border: 0px solid #999;
  border-radius: 3px;
  padding: 5px 8px;
  outline: none;
  white-space: nowrap;
  cursor: pointer;
  text-shadow: 1px 1pxvar(--color-white);
  font-weight: 700;
  font-size: 10pt;
}

.custom-file-input:hover::before {
  border-color: none;
}

.custom-file-input:active {
  outline: 0;
}

.custom-file-input:active::before {
  background: transparent;
}

.customvideo-file-input::-webkit-file-upload-button {
  visibility: hidden;
}

.customvideo-file-input {
  color: transparent;
  float: left;
  margin-bottom: -10px;
  width: 50px;
}

.customvideo-file-input::-webkit-file-upload-button {
  visibility: hidden;
}

.customvideo-file-input::before {
  content: url(../images/vid.png);
  width: 100%;
  height: 100%;
  color: black;
  display: inline-block;
  background: none;
  border: 0px solid #999;
  border-radius: 3px;
  padding: 5px 8px;
  outline: none;
  white-space: nowrap;
  cursor: pointer;
  text-shadow: 1px 1pxvar(--color-white);
  font-weight: 700;
  font-size: 10pt;
}

.customvideo-file-input:hover::before {
  border-color: none;
}

.customvideo-file-input:active {
  outline: 0;
}

.customvideo-file-input:active::before {
  background: transparent;
}

.btnpost {
  border-radius: 20px;
  float: right;
  padding: 5px;
  width: 50px;
  cursor: pointer;
  background-color: var(--color-blue);
  color: var(--color-white);
  border: none;
  position: relative;
  margin-top: 5px;
}

.profilenamepost {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-black);
  margin-top: -40px;
  margin-left: 60px;
  text-align: left;
  display: flex;
}

.profilepicpost {
  overflow: hidden;
  height: 45px;
  width: 45px;
  border-radius: 100%;
}

.profilepicpost img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.textareapost {
  width: 100%;
  height: 100px;
  font-family: arial;
  border: none;
  outline: none;
}

.textareapost:focus {
  border: none;
}

.textareapost:active {
  border: none;
}

footer {
  background-color: var(--color-bg) !important;
  color: white;
  text-align: center;
  margin: 0px;
  position: fixed;
  padding: 0;
  margin: 0;
  bottom: 0;
  width: 400px;
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  height: 60px;
  box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
}

.footerbutton {
  background-color: transparent;
  color: white;
  text-align: center;
  margin: 0px;
  position: fixed;
  padding: 0;
  margin: 0;
  bottom: 80px;
  right: 10px;
}

.footerbutton a {
  border-radius: 50%;
  padding: 12px 16px;
  color: var(--color-white);
  border: 0px solid var(--color-black);
  background: var(--color-dark-blue);
  box-shadow: 0px 2px 5px 2px #d3d2d2;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  transition: font-size 0.5s;
}

.footerbutton a:hover {
  font-size: 14px;
  font-weight: bold;
}

/* Style for the buttons */
.fbutton {
  text-decoration: none;
  padding: 0px;
  border: 1px solid var(--color-black);
  background-color: var(--color-white);
  color: var(--color-dark-blue);
  border: none;
  cursor: pointer;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-content: center;
  align-items: center;
  font-weight: 100;
  font-size: 13px;
  transition: background-color 0.5s;
}

.floatingbtn {
  position: fixed;
  float: right;
}

.fbutton:hover {
  background-color: #f4f8fc;
}

.fbuttonimg {
  width: 25px;
  margin-bottom: 5px;
  transition: transform 0.5s;
}

.fbuttonimg:hover {
  transform: scale(1.5);
}

.logo {
  width: 20%;
}

.header {
  background-color: transparent;
  height: 130px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0px;
  font-family: helvetica;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;

}

.main {
  display: flex;
  justify-content: center;
  width: 100%;
}

.orgtitle {
  font-size: 14px;
  font-weight: bold;
  color: var(--color-dark-blue);
}

.regbtn {
  border: 1px solid #e50405;
  background-color: #e50405;
  border-radius: 15px;
  color: var(--color-white);
  text-decoration: none;
  padding: 10px;
  width: 219px;
  margin-left: 30px;
  margin-top: 133px;
  font-size: 30px;
  transition: border 0.5s, background-color 0.5s;
}

.regbtn:hover {
  border: 1px solid #ff0404;
  background-color: #ff0404;
}

.searchField {
  position: relative;
}

.inputsearch {
  padding-right: 40px !important;
  border-radius: 21px;
  padding: 12px 30px;
  width: 300px;
  max-width: 300px;
  margin-top: 10px;
  margin-bottom: 10px;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  cursor: text;
  background-color: var(--color-white);
  text-align: left;
  color: var(--color-blue);
  outline: none;
  padding-left: 40px;
  box-sizing: border-box;
}

.inputsearch::placeholder {
  color: #c0c0c0;
}

.search-container {
  position: relative;
  display: inline-block;
}

.search-icon {
  background: transparent;
  right: 8px;
  top: 27%;
  position: absolute;
  border: none;
  outline: none;
  cursor: pointer;
}

.grid-container {
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  width: 100%;
  background-color: var(--color-bg);
  padding: 10px;
  justify-items: center;
  align-items: start;
  box-sizing: border-box !important;
}

.grid-container a {
  text-decoration: none;
  margin-bottom: 5px;
  color: #394862;
  font-weight: 500;
  font-size: 12px;
  display: flex;
  max-width: 90px;
  flex-direction: column;
  align-items: center;
}

.grid-container img {
  width: 40px;
  margin-left: 50px;
  margin-right: 50px;
  margin-bottom: 3px;
}

.grid-container>div {
  background-color: transparent;
  text-align: center;
  padding: 5px 0;
  line-height: 12px;
  margin-bottom: 0px;
  transition: transform 0.3s, filter 0.3s ease-in-out;
}

.grid-container>div:hover {
  transform: scale(1.1);
}

.card {
  width: 160px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  margin: 10px;
  text-align: center;
  border-radius: 5px;
}

.card img {
  width: 100.5%;
}

.cardheader {
  font-size: 14 px;
  font-weight: bold;
  color: #043fa2;
}

.cardsub {
  color: #283a57;
}

.featbtn {
  transition: transform 0.3s ease-in-out;
  text-decoration: none;
}

.featbtn:hover {
  transform: scale(0.9);
}

.categories {
  height: 24px;
  margin-bottom: -10px;
  border-radius: 7px;
  outline: none;
  color: #333;
  float: left;
  margin-left: 56px;
  margin-top: -24px;
  border: none;
}

.home {
  margin-top: -35px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-bottom: 0%;
  width: 100%;
}

.name {
  color: var(--color-blue);
  font-weight: bold;
  font-size: 15px;
  margin-left: 10px;
}

.name-2 {
  color: var(--color-sang);
  font-size: 10px;
  margin-left: 10px;
}

.qrcode-container img {
  width: 50px;
  height: 50px;
}

.city {
  text-transform: uppercase;
  font-size: 35px;
  font-weight: bolder;
  color: var(--color-blue);
}

.header div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.header-div img {
  width: 100%;
  height: auto;
  min-width: 70px;
  max-width: 70px;
}

.sub {
  color: var(--color-grey);
  font-size: 12px;
  font-weight: bold;
}

.setting-notif {
  text-align: right;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-start;
  margin-right: 0px;
  gap: 0px 5px;
  font-size: 15px !important;
}

.setting-notif img {
  width: 22px;
}

.home-under {
  display: grid;
  align-items: center;
  justify-content: flex-start;
  width: 95%;
  grid-template-columns: 73% 27%;
}

.message_container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.home-under-under {
  width: 100%;
  display: grid;
  grid-template-columns: 15% 80% 5%;
  background: var(--color-white);
  border-radius: 15px;
  box-sizing: border-box;
  padding: 10px;
  align-items: center;
}

.hamburger-menu {
  position: relative;
}



.menu-items {
  display: none;
  position: absolute !important;
  top: 30px;
  right: -40px;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  padding: 10px;
  z-index: 1;
  width: 300px;
  text-align: left !important;
  height: 500px;
  overflow-y: scroll;
}

.menu-items a {
  display: block;
  padding: 5px;
  text-decoration: none !important;
  color: var(--color-3);
  font-weight: bold;
}

.menu-items a:hover {
  background-color: #f0fbfd;
  position: relative;
  color: var(--color-white);
}

.menu-items img {
  width: 20px;
  height: 20px;
}

.menu-group {
  padding-left: 20px;
  border-bottom: 1px solid #ccc;
}

.group-title {
  display: block;
  padding: 10px 10px 5px;
  font-weight: bold;
  border-top: 1px solid #ccc;
  color: #061796;
}

#postModal {
  text-align: left;
}

#postModal label {
  margin-bottom: 0px;
  display: block;
  color: #3f3f3f;
  font-size: 16px;
  font-weight: normal;
  overflow: hidden;
}

#postModal .multiselectbox {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
}

#postModal .multiselectbox:hover {
  margin-bottom: 0px;
  display: block;
  background-color: var(--color-3);
  color: var(--color-white);
  font-size: 16px;
  font-weight: normal;
}

#postModal input,
#postModal textarea,
#postModal select {
  width: 100%;
  padding: 5px;
  box-sizing: border-box;
  outline: none;
  border: 1px solid #eeeeee;
  border-radius: 15px;
  font-family: arial;
  margin-bottom: 10px;
  font-size: 14px;
  color: #3f3f3f;
}

#postModal input::placeholder,
#postModal textarea::placeholder,
#postModal select::placeholder {
  color: #999;
}

#postModal .btn-submit {
  width: 100%;
  padding: 5px;
  border-radius: 5px;
  color: var(--color-white);
  background: var(--color-3);
  border: 1px solid var(--color-3);
}

#postModal h2 {
  background: var(--color-3);
  font-size: 16px;
  text-align: center;
  color: var(--color-white);
  padding: 5px;
  border-radius: 20px;
  margin-bottom: 10px;

}

.multi-select {
  position: relative;
  display: inline-block;
  width: 100%;
}

/* Hide the select dropdown */
.multi-select select {
  display: none;
}

/* Styled button to show selected options */
.select-button {
  width: 100%;
  padding: 8px;
  background-color: var(--color-white);
  border: 1px solid #eeeeee;
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
  color: #3f3f3f;
  margin-bottom: 10px;
  font-size: 14px;
  max-height: 70px;
  overflow: auto;
}

/* Dropdown content for options */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 100%;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  max-height: 200px;
  overflow-y: auto;
}

.dropdown-content label input {
  width: auto !important;
  padding: 0px !important;
  margin-bottom: 0 !important;
}

.dropdown-content label {
  display: block;
  padding: 0px 7px;
  cursor: pointer;
  box-sizing: border-box;
}

/* Show dropdown when active */
.multi-select.active .dropdown-content {
  display: block;
}

.show-link {
  color: var(--color-blue);
  text-decoration: none;
  display: block;
  font-size: 14px;
  margin-top: -10px;
}

.message_container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.message {
  position: absolute;
  padding: 10px;
  background-color: var(--color-3);
  color: var(--color-white);
  border: 1px solid var(--color-3);
  border-radius: 5px;
  margin: 20px 0;
  display: inline-block;
  font-weight: bold;
  max-width: 300px;
  z-index: 1;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #f2f5fe;
  margin: 40px auto;
  padding: 20px;
  width: 80%;
  max-width: 400px;
}

.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
  color: #dad9d9;
  margin-right: -15px;
  margin-top: -15px;
}

.close:hover,
.close:focus {
  color: var(--color-black);
  text-decoration: none;
  cursor: pointer;
}

/* Basic styling for the tab container */
.tab-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* Styling for the tab buttons */
.tab-buttons {
  display: grid;
  grid-template-columns: 50% 50%;
  justify-content: space-evenly;
  width: 95%;
}

.tab-button {
  padding: 10px 20px;
  cursor: pointer;
  background-color: transparent;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  color: #5d6d7c;
  font-weight: bold;
}

.tab-button.active {
  position: relative;
  color: var(--color-blue);
}

/* Styling for the tab content */
.tab-content {
  display: none;
  padding: 10px;
  border: 0px solid #ccc;
  width: 95%;
  box-sizing: border-box;
  margin-top: -3px;
  border-radius: 10px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}

.tab-content.active {
  display: block;
}

.notif-badge {
  background-color: red;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 50%;
  position: relative;
  top: -15px;
  right: -7px;
  margin-left: -27px;
  text-decoration: none;
}

.mgovCategories {
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  width: 100%;
  padding: 10px 20px;
}

.mgovCategories .mgovCategory {
  font-size: 11px;
  color: #394862;
  margin: 5px;
}

.mgovCategories .category_box {
  display: block;
  background: #FFF;
  border: none;
  text-decoration: none;
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 5px;
}

.mgovCategories .category_box img {
  width: 100%;
  object-fit: contain;
}

.header .city_municipality {
  color: #12bce1;
  font-weight: bolder;
  position: absolute;
  top: 125px;
  font-size: 20px;
}

@media only screen and (max-width: 800px) {
  body {
    background-image: url(../images/banner-2.png);
    font-family: Arial;
    background-color: var(--color-bg);
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%;
  }

  .header .city_municipality {
    color: #12bce1;
    font-weight: bolder;
    position: absolute;
    top: 145px;
    font-size: 20px;
  }

  /* For tablets: */
  .header {
    height: 130px;
    width: 100%;
    padding-top: 25px;
  }

  .regbtn {
    width: 138px;
    margin-left: 18px;
    margin-top: 80px;
    padding: 5px;
    font-size: 20px;
    border-radius: 10px;
  }

  .inputsearch {
    border-radius: 21px;
    margin-top: 10px;
    width: 100%;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 12px 30px;
    font-size: 14px;
  }

  .grid-container {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    width: 100%;
    background-color: transparent;
    justify-items: center;
    align-items: start;
  }

  .grid-container img {
    width: 40px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 0px;
  }

  .grid-container>div {
    background-color: transparent;
    text-align: center;
    padding: 5px 0;
  }

  .card {
    width: 160px;
    border-radius: 5px;
  }

  .cardheader {
    font-size: 14px;
  }

  footer {
    background-color: #333;
    color: white;
    text-align: center;
    margin: 0px;
    position: fixed;
    padding: 0;
    margin: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    height: 60px;
    box-shadow: 0px -2px 10px #d3d2d2;
  }
}

@media only screen and (max-width: 500px) {

  body {
    background-image: url(../images/banner.png);
    font-family: Arial;
    background-color: var(--color-bg);
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%;
  }
  .header .city_municipality {
    color: #12bce1;
    font-weight: bolder;
    position: absolute;
    top: 145px;
    font-size: 20px;
  }
  /* For mobile phones: */
  .header {
    height: 130px;
    width: 100%;
    padding-top: 20px !important;
  }

  .regbtn {
    padding: 1px;
    width: 100px;
    margin-left: 10px;
    margin-top: 50px;
    font-size: 14px;
    border-radius: 5px;
  }

  .sub {
    color: var(--color-grey);
    font-size: 12px;
    font-weight: bold;
  }

  .inputsearch {
    border-radius: 21px;
    padding: 12px 30px;
    width: 100%;
    border: none;
    margin-top: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 14px;
  }

  .city {
    text-transform: uppercase;
    font-size: 33px;
    font-weight: bolder;
    color: var(--color-blue);
  }

  .grid-container {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    width: 100%;
    background-color: transparent;
    justify-items: center;
    align-items: start;
  }

  .grid-container img {
    width: 30px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 0px;
  }

  .grid-container>div {
    background-color: transparent;
    text-align: center;
    padding: 5px 0;
  }

  .grid-container a {
    font-size: 12px;
  }

  .card {
    width: 100%;
    max-width: 160px;
    border-radius: 10px;
    font-size: 14px;

  }

  .cardheader {
    font-size: 14px;
  }

  footer {
    background-color: #333;
    color: white;
    text-align: center;
    margin: 0px;
    position: fixed;
    padding: 0;
    margin: 0;
    bottom: 0;
    width: 100%;
    max-width: 500px;
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    height: 60px;
    box-shadow: 0px -2px 10px #d3d2d2;
  }
}