/* Basic styles for the filter form */
.resource-filter-container {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
}
.responsive-iframe {
  width: 100%;
  height: 700px;
  border: 1px solid #ccc;
}
@media screen and (max-width: 768px) {
  .responsive-iframe {
    height: 400px;
  }
}
.download-resource_button, .download-resource {
  display: inline-block;
  background-color: #1e73be; /* Nice blue */
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(30, 115, 190, 0.2);
}

.download-resource_button:hover , .download-resource:hover {
  background-color: #155a99; /* Darker blue on hover */
  box-shadow: 0 6px 12px rgba(21, 90, 153, 0.3);
  text-decoration: none;
	color: #fff !important;
}

.share-this-container {

    align-items: center;
    background-color: #d2e2ec; /* Match the background color */
    padding: 10px 20px;
    border-radius: 25px;
}

.share-title {
    font-size: 16px;
    font-weight: bold;
    margin-right: 20px;
    color: #333;
}

.share-buttons {
    display: flex;
    gap: 15px;
	    
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.share-button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.share-button i {
   
	font-family: 'FontAwesome';
}

/* Customize individual buttons */
.share-button.facebook { color: #3b5998; }
.share-button.twitter { color: #1da1f2; }
.share-button.linkedin { color: #0077b5; }
.share-button.email { color: #ff4500; }

.field-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 250px;
	padding-left: 8px;
    padding-top: 4px;
	    background: white;
    
	width: 100%;
}

.field-wrap label {
    font-size: 12px;
    font-weight: bold;
    color: #888; /* Adjust color as needed */
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.field-wrap select {
    width: 100%;
    padding: 0px;
        font-size: 18px;
    font-weight: 500;
    border: 1px solid #fff;
    border-radius: 5px;
    background: #fff;
    color: #333;
}
.field-wrap select {
    outline: none; /* Removes focus outline */
    box-shadow: none; /* Removes any focus shadow applied by browsers */
}
.field-wrap select:focus {
    border-color: #fff; /* Matches the border color to avoid change */
    outline: none; /* Ensures the outline is not displayed */
}

.resource-item:hover {

  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}
.resource-filter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 10px;
  flex-wrap: wrap;
}



/* Loading spinner */
#resource-results-container .loading {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  padding: 20px;
}

/* Resource cards */
#resource-results-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
	width:100%;
}

.resource-item {
  width: calc(33% - 20px);
  border: 1px solid #ddd;
  border-radius: 22px;

  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.resource-item h3 {
  font-size: 18px;
  margin: 10px 0;
	padding: 20px;
}

.resource-item p {
  font-size: 14px;
  color: #555;
}

.resource-item a {
  margin-top: auto;
  text-decoration: none;
 color: #000;
  font-weight: bold;
	padding:10px;
}
.resource-item iframe {
  border-radius: 20px;
}

.resource-item a:hover {
  color: #005177;
}
.youtube-link {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    background: #0073aa;
    border-radius: 10px;
    padding: 10px;
}

.youtube-link:hover {
    color: #005177;
}

.download-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.download-button:hover {
    background-color: #005177;
}

@media (max-width: 768px) {
  .resource-filter-container {
    flex-direction: column; /* Stack filter items */
    gap: 15px; /* Add space between items */
    align-items: center; /* Align items to fill width */
  }

  #resource-results-container {
    gap: 15px; /* Reduce gap for compact layout */
  }

  .resource-item {
    width: 100%; /* Ensure cards take full width */
  }
}

@media (max-width: 480px) {
  .resource-filter-container select {
           font-size: 18px;
        padding: 0px;
        width: 100%;
  }

  .resource-item h3 {
    font-size: 16px;
  }

  .resource-item p {
    font-size: 12px;
  }
}