h2 {
    font-size: 2.5rem;
}
.content-element-6 p, .mad-entity-content p {
	text-align: justify;
}
.highlighted-text{
	color: #3aa0a5;
	font-weight: 700;
	font-size: 1.6em;
}
.mad-counters[class*="item-col-"]:not(.no-gutters) {
	justify-content: center;
}

.mad-sponsors:not(.owl-carousel) {
	justify-content: center;
}

.office-img{
	height: 400px !important;
}

.mad-gmap{
	height: 400px;
}

.header-logo{
    height: 75px;
}

.footer-logo{
    height: 60px;
}

[class*="mad-header-section--sticky"]{
	padding: 1.5rem 1rem;
}

.modal-ttl{
	margin: 0 !important;
	color:white;
}

.mad-counter-icon .svg {
	height: 3rem;
	margin-top: 30px;
}

.mad-counter-count {
	font-size: 3rem;
}

.modal-header{
	border-bottom: 0;
}

.modal-content{
	background: #3AA0A5;
	border-color: white;
	border-width: 3px;
	color: white;
}

.btn:hover {
	color: white;
}

.flags{
	width: 1.3rem;
}

.flagName{
	font-weight: 700;
	font-size: 15px;
}

.flagName:hover{
    color: #3AA0A5;
}

.mad-gallery:not(.gallery-small) .mad-gallery-item a {
	cursor: pointer !important;
}

.mad-colorizer--scheme-color-6>.mad-colorizer-bg-color {
    background: var(--color-primary);
}
.sector-title:hover, .story-title:hover {
	color: white;
}

.news-title:hover {
	color:black;
}
.mad-entities.type-4:not(.type-2):not(.mad-entity-small) .mad-entity>.mad-entity-content {
    padding: 9rem 4.5rem;
}

.m-v {
	display: none;
}

.d-v {
	display: flex;
}

@media screen and (max-width: 670px) {
	.mad-title {
		font-size: 1.5rem !important;
		line-height: 1.5;
	}
	
	.btn-header-donate{
		height: 40px;
	    width: 135px;
	    padding-left: 20px;
	}

	.mad-search-content {
    padding-top: 3rem !important;
	}

	.mad-counter-count {
		font-size: 1.8rem;
        letter-spacing: 0;
	}

	.mad-counter-icon .svg {
		height: 50px;
		margin-top: 30px;
	}

	.mad-csstransforms3d .mad-sponsors img {
		width: 100%;
	}

	.mad-header .mad-mobile-nav-btn {
		width: 30px;
	}

	.header-logo {
	    height: 60px;
	}

	.m-v {
		display: flex;
	}

	.d-v {
		display: none;
	}
}

.mission-content p {
    text-align: center;
}

.search-content {
	display: flex; /* Enables Flexbox layout */
    align-items: center; /* Vertically centers items */
    justify-content: center;
}
.search-title {
	text-align: center;
}
.search-media {
	height: 400px;
}

.mad-entity-title a:hover{
	color: black;
}

.mad-search-content {
    padding-top: 3rem;
}

.search-item-img {
	max-height: 240px;
}

/* For mobile (2 columns per row) */
@media only screen and (max-width: 767px) {
  .mad-col-home {
    width: 50% !important;
    float: left;
  }

  .flag-col {
  	display: block;
  	width: 90px;
  }
}

.mad-csstransforms3d .mad-sponsors img {
	width: 100%;
}

.mad-donate-select{
    height: 3.5rem;
    width: 100%;
    font-size: 1rem;
    line-height: 1.5rem;
    color: var(--color-neutral-80);
    background-color: var(--color-neutral-0);
    border-radius: var(--br-main);
    border-width: 1px;
    border-style: solid;
    border-color: var(--color-secondary-40);
}

.mad-form.with-icons .mad-form-item select {
    padding-left: 1.5rem;
    padding-right: 3rem;
}

@media screen and (min-width:750px) {
	.nav-menu{
		margin-right: 50px;
	}
}

.align-title-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mad-team-member-info .mad-team-member-name a:hover {
	text-decoration: none;
	color: var(--color-primary);
}

.flag:hover{
	text-decoration: none;
	color: var(--color-primary);
}

.title-link a:hover{
	text-decoration: none;
	color: var(--color-primary);
}

.mad-col:nth-child(4n) .mad-counter {
  	border: none !important;
}

.mad-entity-title a:hover {
	text-decoration: none;
	color: var(--color-primary);
}

.mad-newsletter-form.one-line .btn.btn-huge:active {
    background: var(--color-primary-lighter);
}

.mad-newsletter-form.one-line .btn.btn-huge:disabled {
    background: var(--color-primary-lighter);
}

.help-way-article{
	height:100%;
	padding-bottom: 60px;
}

.help-way-link{
    position: absolute;
    bottom: 0;
}

.fixed-div {
  display: none; /* Hide the div by default */
}

@media (max-width: 767px) {
  /* Apply styles only for screens with a maximum width of 767px (adjust as needed) */
  .fixed-div {
    display: flex; /* Show the div on mobile devices */
    position: fixed;
    justify-content: space-between;
    align-items: center;
    bottom: 0;
    left: 0;
    width: 100%;
/*    border-top: 3px solid var(--color-primary);*/
    background-color: var(--color-primary);
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
    z-index: 9999; /* Adjust the z-index as needed to ensure it appears above other content */
  }
}

.donation-label{
	margin: 0 !important;
	color: white;
}

.btn-donate{
	background-color: white;
	color: var(--color-primary);
	padding: 10px;
}

/* Style for the popup */
.popup {
  position: absolute;
      background-color: white; /* Customize the popup background color */
      padding: 10px;
      border-radius: 5px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
      display: none;
      opacity: 0;
      transition: opacity 0.3s ease-in-out;
}

.show-popup {
  display: block;
  opacity: 1;
}
/*.popup img{
  max-width: 350px;
  width:100%;
}*/

/* Style for the pointers */
.pointer {
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: red;
  border-radius: 50%;
}
.lebanon-map{
  width: 100%;
  height: auto;
}

@media (max-width: 500px) {
	.map_image_desktop {
		display: none;
	}
	.map_image_mobile {
		display: block;
	}
}

@media (min-width: 500px) {
	.map_image_desktop {
		display: block;
	}
	.map_image_mobile {
		display: none;
	}
}

.sector-map-image {
	border-radius: var(--br-main);
}

@media screen and (min-width: 1200px) and (max-width: 1400px) {
  .mad-navigation>li>a {
  	font-size: 0.9rem;
  }
  .nav-menu {
  	margin-right: 0;
  }
}

.audio-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.circle-button {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-primary); /* Change to your desired background color */
  color: #fff; /* Change to your desired text color */
  text-align: center;
  line-height: 50px;
  text-decoration: none;
}

.map-container {
  position: relative;
  width: 100%;
  max-width: 800px; /* Set the desired maximum width of the map container */
}

.btn-modal-donate {
	border-color: white;
}

/*.map-marker {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: red;
  border-radius: 50%;
  cursor: pointer;
  transform: translate(-50%, -50%);
}*/

.map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.map-marker i {
  font-size: 30px;
  color: red;
}

.mad-entity-content h5.mad-entity-title {
    letter-spacing: -0.3px;
    font-size: 1.5rem;
    line-height: 2.5rem;
}

.sec-title-icon {
	margin: 0 20px;
}

.phone {
	direction: ltr;
}

.map-modal .office-img {
	height: 300px !important;
    width: unset;
    border-radius: 12px;
}

.map-modal a {
	color: #fff !important;
}

.map-modal a:hover {
	color: #fff !important;
	font-weight: 700;
}

.video-modal #videoIframe {
	min-height: 425px;
}

.photo-modal .modal-footer {
	align-items: center;
    justify-content: space-between;
}

.photo-item img {
	max-height: 190px;
}

.prev-photo, .next-photo {
	background-color: #fff;
    color: #00a2a7;
}

.photo-modal .modal-title {
	color: #fff;
	font-weight: 500;
}

.video-modal .modal-title {
	color: #fff;
	font-weight: 500;
}

@media (max-width: 767px) {
	.video-modal #videoIframe {
		min-height: 250px;
	}

	.audio-button {
		bottom: 70px;
	}

	.map-container {
	  	max-width: 600px;
	}

	.map-marker i {
	  	font-size: 15px;
	}

	.map-modal .office-img {
	    width: 100%;
	}

	#galleryTabsContent .col-6 {
		width: 50% !important;
	}
}

.gallery-thumb {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.play-button-overlay {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem; /* Adjust size as needed */
    color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    z-index: 2; /* Ensures the button is above the image */
    transition: color 0.3s ease;
}

@media (max-width: 767px) {
	.play-button-overlay {
	    position: absolute;
	    top: 33%;
	    left: 52%;
	    transform: translate(-50%, -50%);
	    font-size: 2rem; /* Adjust size as needed */
	    color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
	    z-index: 2; /* Ensures the button is above the image */
	    transition: color 0.3s ease;
	}

	.mission-actions {
		display: flex;
    	flex-wrap: nowrap;
	}

	.mission-actions .btn-big {
		padding: 1rem 1rem;
	}
}

.gallery-thumb:hover .play-button-overlay {
    color: rgba(255, 255, 255, 1); /* Fully opaque white on hover */
}

.card-img-top {
    filter: brightness(0.8); /* Slightly darkens the image */
    transition: filter 0.3s ease;
}

.gallery-thumb:hover .card-img-top {
    filter: brightness(0.6); /* Darkens more on hover */
}

.photo-item img {
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.photo-item img:hover {
	filter: brightness(0.6);
}
