body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    width: 90%;
    padding: 2px;
    box-sizing: border-box;
    margin: 0 auto;
}}

header {
    background-color: #417dbd;
    padding: 10px 15px;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
 }}

.logo {
    max-width: 100px;
}

.nav-menu {
    text-align: center;
    margin-bottom: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu a {
    margin: 0 7px;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ccc;
}

h1 {
    text-align: center;
    color: #007bff;
}

p {
    font-size: 18px;
    line-height: 1.6;
}

.cta-btn {
    display: block;
    width: 200px;
    margin: 5px auto;
    padding: 10px 20px;
    text-align: center;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #0056b3;
}


.grid-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    margin-top: 20px;
}

.grid-item {
    width: 95%;
    text-align: center;
    padding: 5px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.grid-item a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
}

.grid-item a:hover {
    color: #007bff;
}

.grid-item .image-container {
  max-width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  }

.grid-item .image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  }


.hidden {
    display: none;
}

.more-button {
    display: block;
    width: 160px;
    margin: 4px auto;
    padding: 10px 20px;
    text-align: center;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.more-button:hover {
    background-color: #0056b3;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
  }

.grid-item .image-container:hover .play-button {
  opacity: 1;
  animation: blink-animation 2s infinite
  }
		
  @keyframes blink-animation {
  0% { opacity: 1; }
  50% { opacity: .3; }
  100% { opacity: 1; }
  }

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2px;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: .7;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
  width: -webkit-fill-available;
  }

.grid-item:hover .overlay {
  opacity: 1;
  }

.title {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin: 0;
  }


footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  width: 100%;
  clear: both;
  }

footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 5px;
  }

footer a:hover {
  color: #ccc;
  }

/* Menu Toggle Styles */
.menu-toggle {
  display: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding-right: 5px;
  }

/* CSS for single Page */
.full-width {
  grid-column: 1 / -1;
  }

.single-grid-item {
  width: 80%;
  text-align: center;
  padding: 2.5px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2), -10px -10px 20px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
  position: relative;
  margin-bottom: 20px;
  }

.single-play-button {
  position: absolute;
  max-width: 70px;
  top: 50%; /* Adjust vertical position */
  left: 50%; /* Adjust horizontal position */
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0; /* Default opacity */
  transition: opacity 0.3s ease;
  }

.single-image-container img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  }

.single-grid-item .single-image-container:hover .single-play-button {
  opacity: 1;
  animation: blink-animation 2s infinite
  }
  @keyframes blink-animation {
  0% { opacity: 1; }
  50% { opacity: .5; }
  100% { opacity: 1; }
}

 /*left banner ad */
  .banner-left {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: #f2f2f2;
    padding: 0px 0px 0px 2px;
    border-right: 2px solid #cccccc5c;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
    z-index: 999;
}
  /*right banner ad */
  .banner-right {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-color: #f2f2f2;
    padding: 0px 0px 0px 2px;
    border-right: 2px solid #cccccc5c;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
    z-index: 999;
}


/* Media Queries for Desktop */
@media only screen and (min-width: 992px) {
  .grid-container {
    grid-template-columns: repeat(3, 1fr);
    }
  .grid-item:nth-child(n+10000) {
    display: none;
    }

  .mobile-banner {
    display: none;
    }
  .tab-banner {
    display: none;
    }
  .pc-banner {
    display: block;
    text-align: center;
    }
}

/* Media Queries for Responsive Design */
@media only screen and (min-width: 600px) and (max-width: 991px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    }
  .mobile-banner {
    display: none;
    }
  .tab-banner {
    display: block;
    text-align: center;
    }
  .pc-banner {
    display: none;
    }
  .grid-item:nth-child(n+10000) {
    display: none;
    }
}


/* Media Query for Mobile Devices */
@media only screen and (max-width: 600px) {
  .mobile-banner {
    display: block;
    text-align: center;
    }
  .tab-banner {
    display: none;
    }
  .pc-banner {
    display: none;
    }
  .banner-left,
  .banner-right {
    display: none;
    }
  .grid-item:nth-child(n+10000) {
    display: none;
    }	
  .grid-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .container {
    width: 100%;
  }

  .grid-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 20px;
    margin-top: 20px;
  }
  .single-grid-item {
    width: 98%;
    padding: 2px;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2), -3px -3px 6px rgba(0, 0, 0, 0.2);
  }
  .single-play-button {
    opacity: .65;
    animation: blink-animation 2s infinite
  }

  .play-button {
    opacity: .65;
    animation: blink-animation 2s infinite
  }
}

/* Media Query for Nav Menu for Mobile and tab */
@media only screen and (max-width: 991px) {
  .container {
    width: 95%;
    }
  .single-grid-item {
    width: 95%;
    }
  .nav-menu {
    display: none;
    position: absolute;
    top: 50px; /* Adjust based on your header height */
    left: 0;
    right: 0;
    background-color: #417dbd;
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
  .menu-toggle {
    display: block;
    }
		
  .nav-menu.active {
    display: flex;
    }
}

/* CSS for blinking text */
.blinking-text {
    top: 10px;
    right: 10px;
    position: absolute;
    color: red;
/*    animation: blink 1s infinite; */
    font-size: 12px;
    font-weight: bold;
    }

    @keyframes blink {
      0% { opacity: 0; }
      50% { opacity: 1; }
      100% { opacity: 0; }
      }


.single-page-article {
    text-align: center !important;
    padding: 20px;
    }

/* Popup box css */
.popup-overlay-container { 
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6); 
    justify-content: center; 
    align-items: center; 
    opacity: 0; 
    transition: opacity 0.3s ease; 
    }

.popup-box { 
    position: relative;
    border-radius: 12px; 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4); 
    text-align: center; 
    opacity: 0; 
    transform: scale(0.8); 
    animation: fadeInUp 0.5s ease-out forwards; 
    }

.popup-box img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    }

.popup-close-button {
    position: absolute;
    top: 3px;
    right: 3px;
    background: none;
    border: none;
    color: #f00;
    font-size: 15px;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.3s ease;
    }

.popup-close-button:hover {
    opacity: 1;
    color: #fff9f9;
    }

/* Keyframes for fadeInUp animation */ 
@keyframes fadeInUp { 
    from { 
      opacity: 0; 
      transform: translateY(20px); 
      }

    to { 
      opacity: 1; 
      transform: translateY(0); 
      }
    }

/* Animation for popup */ 
.popup-overlay-container.show { 
    display: flex; 
    opacity: 1; 
    }

/* Dropdown button */
.dropbtn {
    background-color: transparent;
    color: white;
    padding: 10px 5px;
    font-size: 20px;
    border: none;
    cursor: pointer;
}

/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus {
    background-color: #ddd;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* 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: 1;
    /* Adjusted to make dropdown appear on the left if there's not enough space */
    right: 0;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: #ddd;
}


















.videoplayer {
	top: 50%;
    left: 50%;
	margin-left:-25px;
	margin-top:-25px;
    position: absolute;
	display:flex;
	/*align-items:center;*/
	height:50px;
	width:50px;
	background: rgba(0,0,0,.6);
	border-radius:50%;
	opacity:0.7;
	text-align:center;
	transition: all 0.5s ease-in-out;
}
#play{
	margin:auto;
}
.video_section:hover
{
	opacity:0.8;
}
.video_section:hover .videoplayer{
	cursor:pointer;
	opacity:1;
	border:5px solid #c00;
	transition: transform 0.5s;
	 -ms-transform: scale(0.8); /* IE 9 */
	  -webkit-transform: scale(0.8); /* Safari 3-8 */
	  transform: scale(0.8); 
}
.play-btn-border .fa {
    font-size: 40px;
}
.spinner.loading:before {
    content: "";
    height: 66px;
    width: 66px;
    margin: -36px auto auto -33px;
    position: absolute;
    top: 50%;
    left: 50%;
    border-width: 3px;
    border-style: solid;
    border-color: #c00 #c00 #111;
    border-radius: 100%;
    animation: rotation .7s infinite linear;
}
@keyframes rotation{
		0% {
		transform: rotate(0);
		}
		100% {
		transform: rotate(359deg);
		}
	}

.filterbtn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 0.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
