﻿.btndonate {
  background-color: #3a6fc0;
  color: white !important;
}

.mycontainer h2 {
  font-size: 3rem;
  color: #3a6fc0;
  margin-bottom: 10px;
}

.mycontainer p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  text-align: justify;
  display: block;
  width: 100%;
}

.mycontainer strong {
  font-weight: bold;
  color: #000;
}

/*@media (max-width: 767px) {
    .col-md-6 {
        width: 100%;
    }
}*/
.no-break {
  white-space: nowrap;
}

.customeheader {
  position: relative;
  width: 100%;
  height: 500px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  overflow: hidden;
}

.customeheader::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.customeheader h1 {
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: bold;
  padding: 0 20px;
  text-align: center;
}

.iframclass {
  width: 100%;
  height: 450px;
}

.contitem-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.contitem {
  width: 100%;
  padding: 10px;
}

.contitem > span {
  display: block;
  width: 40px;
  height: 40px;
  background-color: #29aae3;
  color: white;
  text-align: center;
  line-height: 40px;
}

.contitem h6 {
  display: block;
  margin-top: 10px;
  margin-bottom: 10px;
}

.contitem p {
  font-size: 14px;
}

/* Dropdown submenu styles */
.dropdown-submenu {
  display: none;
  position: relative;
  padding-left: 1rem;
}

.dropdown-item.dropdown-toggle:hover + .dropdown-submenu,
.dropdown-submenu:hover {
  display: block;
}

.dropdown-submenu .dropdown-item {
  padding-left: 1.5rem;
  font-size: 0.9rem;
}

/* your custom stylesheet */
.five-per-row {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between; /* optional: keeps them centered on wide screens */
}

/* force exactly five-per-row on md+ screens */
.col-md-22 {
  width: 18% !important;
  background-color: #3a6fc0;
  margin-top: 10px;
  padding: 10px;
}

.two-line-ellipsis {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Number of lines to show */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* on small screens, one-per-row */
@media (max-width: 768px) {
  .five-per-row > .col-md-2 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
@media only screen and (max-width: 600px) {
  .customeheader {
    height: 300px;
  }
  .customeheader h1 {
    font-size: 1.8rem;
  }
  .iframclass {
    width: 100%;
    height: 250px;
  }
}
