
/*fixed styling of youtube video */
.wp-block-embed iframe {
  height: 500px !important;
}

/*slide show*/


/*adjust header spacign when sized down*/
@media (min-width: 640px) and (max-width: 768px) {
    .header-burger {
  padding-left: 10em;
}
}

@media (min-width: 540px) and (max-width: 639px) {
    .header-burger {
  padding-left: 8em;
}
}

.site-header {
  width: 100%;

}

html, body {
    overflow-x: hidden;
    overflow-y: auto;
}


iframe {
    overflow: hidden;
    width: 100%;
    height: auto;
}


/*get rid of extra white space on the right mobile*/
html,body
{
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden; 
}

/*adding syling for links*/
.post-content p a:link{
   text-decoration: underline;
   text-decoration-color: blue;
}


/*css for winooksi news button*/
.subscribe-button {
    display: inline-block;
    background-color: black;
    color: white !important;
    font-size: 18.38px;
    padding: 15px 30px;
    text-decoration: none;
    text-align: center;
    border: none;
    cursor: pointer;
}

.subscribe-button:hover {
    opacity: 0.8;
}

.news-button {
    display: inline-block;
    background-color: lightblue;
    color: black !important;
    font-size: 20px;
    padding: 15px 30px;
    text-decoration: none;
    text-align: center;
    border: none;
    cursor: pointer;
}

.news-button:hover {
    opacity: 0.8;
}

.space-between {
	padding:10px
}

/*make top image center*/
.top-image-wn {
  margin-right: 4em !important;
	
	
	max-width: 75%;
	margin: 0 auto;
}

/*make italic and split other side with editors and make that bold*/
.wn_bottom {
  display: flex;
	margin-top: 50px;
	margin-bottom: 20px;
}
.wn_list {
  font-weight: bold;
  font-style: initial;
}

.about_wn {
  flex: 1;
  text-align: center;
	font-style: italic;
}

/*
.about_wn {
    display: inline-block;
    text-emphasis:italic !important;
    color: black !important;
    padding: 15px 30px;
    text-decoration: none;
    text-align: center;
    border: none;
    cursor: pointer;

}*/


/*new styling for winooski page*/
.news-details {
  margin-top: 1em;
  margin-bottom: 3.5em;
}

/*fix drop down menu to be responsive to length of elements*/
.sub-menu li {
  font-size: .9em !important;;
}
.main-nav ul ul {
	min-width: 180px !important;
  width: auto !important;
  white-space: nowrap !important;
}

.home.blog.logged-in.admin-bar.no-customize-support {
  padding-top: 10px;
}

/* new about us css */
#custom-image1 {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	/*! padding-bottom: 5vw; */
	width: 90vw; /* Makes the image container responsive */
/*	padding-left: 15vw;  Responsive padding */
	padding-right: 20vw;
	/*! padding-top: 5vw; */
}

.wp-image-7495{
	display: flex;
	justify-content: flex-start;
	border-radius: 50%;
  	padding: 10px;
	width: 300px !important;
}
.wp-image-7359  {
	display: flex;
	justify-content: flex-start;
	border-radius: 50%;
  	padding: 10px;
	width: 300px !important;
  }

#custom-image2 {
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-start;
	align-items: center;
	padding-top: 1vw;
	padding-bottom: 1vw;
	width: 90vw; /* Responsive width */
	padding-left: 11vw; /* Responsive padding */
	padding-right: 20vw;
}

.StudentYear {
	text-align: right;
	 /* Responsive padding */
}

.wp-image-7494 {
	display: flex;
	justify-content: flex-start;
	border-radius: 50%;
	padding: 2vw;
	width: 40vw !important; /* Responsive width */
	height:  40vw !important; /* Maintain aspect ratio */
	max-width: 320px !important; /* Maximum width */
	max-height: 320px !important; /* Maximum height */

}

.headerstudent {
	text-align: right;
	font-size: 4vw; /* Responsive font size */
	height: 2vw;
	white-space: nowrap;
}

#custom-image3 {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	padding-top: 5vw;
	padding-bottom: 5vw;
	width: 90vw;
}

.wp-image-70 {
	display: flex;
	justify-content: flex-start;
	border-radius: 50%;
	padding: 2vw;
	width: 25vw !important;
	height: auto !important;
	max-width: 324px !important;
	max-height: 400px !important;
}

.headerwillem {
	font-size: 4vw; /* Responsive font size */
	height: 2vw;
	white-space: nowrap;
}

.about-us .article-full {
	display: flex;
	align-items: center;
	flex-flow: wrap;
	width: 100%;
}

.bodyStudent{
  text-align: right;
  font-size: 1.2vw;
}

.WillemBody {
	font-size: 1.2vw;
  }

.wp-element-caption {
  padding-left: 10px;
}

/*new css for single pg*/
.post-featured-image {
    margin: 0;
}

.wp-element-caption {
  font-family: 'Domine', serif;
}

.featured-photo {
  padding-bottom: 3%;
}

 
.featured-photo-display{
    display: none;
  }

.wrap.page-main {
  width: 70%;
}

/*end new code*/

/*new code for hamburger menu*/
/* General styling for both mobile and desktop */
.site-nav {
  margin-top: 0% !important;
}

.nav-and-search-form {

  margin-top: 3%;
}

.hamburger-menu-button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 32px;
    padding: 0;
    margin: 10px;
    display: none; /* Hidden by default */
}

.hamburger-menu-button .line {
    width: 50%;
    height: 4px;
    background-color: #333;
    border-radius: 2px;
}

/* Mobile menu */
#mobile-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

#mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 10px;
}

#mobile-menu ul li {
    margin: 10px 0;
}

#mobile-menu ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

#mobile-menu ul li a:hover {
    text-decoration: underline;
}

/* Desktop navigation, shown on larger screens */
#desktop-menu {
    display: block;
}

/* Mobile-specific styles */
@media (max-width: 768px) { 
	/* add in image on about page*/
	.wp-singular.page-template-default.page.page-id-1310.logged-in.admin-bar.no-customize-support.wp-theme-CNStheme .wp-block-image.size-large:first-of-type{
  display: block !important;
  
}
/*mobile youtube fix*/
	.wp-block-embed iframe {
  height: 200px !important;
}
	
	.wrap.page-team {
		padding-top: 3em;

}
	
	/*making mobile menu static*/
	.site-header {
  position: fixed !important;
  z-index: 1000 !important;
  top: 0 !important;
}
	.wrap.single-post-wrap {
  padding-top: 3em !important;
}
	.categories {
  padding-top: 3em !important;
}
	
.page-top {
  padding-top: 3em !important;
}

.wrap.page-main {
  padding-top: 3em !important;
}

	.page-template.page-template-index-custom.page-template-index-custom-php.page.page-id-8058.logged-in.admin-bar.no-customize-support .wrap {
  padding-top: 3em;
}
	
	/*fixing the mobile css for Winooksi news page */
	.page-template.page-template-index-custom.page-template-index-custom-php.page.page-id-8058.logged-in.admin-bar.no-customize-support .article-loop{
  display: flex;
  flex-direction: column-reverse;
}

.page-template.page-template-index-custom.page-template-index-custom-php.page.page-id-8058.logged-in.admin-bar.no-customize-support .page-top{
  flex-direction: column-reverse;
}
	
	/*fix the winooski news spacing*/
	.header-and-sidebar{
		flex: 1 !important;
	}
	.top-image-wn{
		margin: 13px auto 1px 12px;
	}
	
	
	/*make image fit screen*/
	body {
    margin: 0;
    width: 100vw;
    height: 100vh;
}
	.post-template-default.single.single-post.postid-5707.single-format-standard.logged-in.admin-bar.no-customize-support {
  width: fit-content !important;
}

.home.blog.logged-in.admin-bar.no-customize-support {
  width: fit-content !important;
}
	/*get rid of x moble but keep spacong*/
	.close-menu-button{
		opacity: 0;
	}
	
	/*get rid of top spacing*/
	html {
  margin-top: 0px !important;
}
	
	/*new css for header-burger*/
	.top-image {
  max-width: 75%;
  
  margin-left: 1px !important;
  margin-top: 10px !important;
}
	
	.top-header {
  max-width: none;
}
	
	.header-burger {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-around;
  width: 450px;
}
	.top-image {
  max-width: 75%;
  margin: 0 auto;
  width: 400px;
}
	
	/*get rid of extra block image on post*/
	.post-content .wp-block-image:nth-child(1) {
  display: none !important;
}
	
	
	/*new about us styling*/
	.wrap.page-main {
  width: 90%;
}
	
	 #custom-image1, #custom-image2, #custom-image3 {
	flex-direction: column; /* Stack elements on smaller screens */
	padding-left: 5vw;
	align-items: end;
}

.wp-image-7359, .wp-image-7495, .wp-image-70 {
	width: 50vw !important; /* Smaller width for images */
	max-width: 100%; /* Ensure the image doesn't exceed the container */
	margin-right: 4vw;
}

.headerstudent, .headerwillem {
	font-size: 6vw; /* Adjust font size for smaller screens */
}

.StudentYear {
	text-align: center; /* Center-align text on small screens */
	padding-right: 0;
}

.page-aboutUs .wp-element-caption{
	padding-left: 24%;
  }

  /*updated css*/

.WillemBody {
	font-size: x-small;
    text-align: left;
    display: inline-block;
    padding-left: 4%;
}

.headerwillem {
	text-align: center;
}

.gradYear {
	text-align: center;
}

.page-aboutUs.content-area.content-thin {
	display: flex;
	justify-content: center;
  }

  
.bodyStudent {
	font-size: x-small;
    text-align: left;
    display: inline-block;
    padding-left: 4%;
}

.wp-image-31 {
	max-width: 320px !important;
	max-height: 320px !important;
	width: 180px !important;
	height: 180px !important;
}

  .page-aboutUs.content-area.content-thin {
	display: flex;
	justify-content: center;
}
	
	.headerstudent {
  margin-right: 5vw;
}
	
	.wp-image-7494 {
  margin-right: 9vw;
}
	/*end about us styling */
    .hamburger-menu-button {
        display: flex; /* Show hamburger button */
    }

    #desktop-menu {
        display: none; /* Hide desktop menu */
    }

    #mobile-menu.hidden {
        display: none; /* Keep mobile menu hidden */
    }

    #mobile-menu {
        display: block; /* Show mobile menu when not hidden */
    }
	
	/*uncomment for hambuger */
	.main-nav {
  display: none !important;
}
	
/* Hamburger button */
.hamburger-menu-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000; /* Make sure it's above the menu */
}

/* Hamburger lines */
.hamburger-menu-button .line {
    width: 20px;
    height: 3px;
    background-color: #333;
    margin: 2px 0;
    transition: all 0.4s ease;
}

/* Transform the hamburger icon into an "X" */
.hamburger-menu-button.open .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu-button.open .line:nth-child(2) {
    opacity: 0; 
}

.hamburger-menu-button.open .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* Hide the mobile menu initially */
#mobile-menu.hidden {
    display: none;
}

/* Show the mobile menu when visible */
#mobile-menu.visible {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 999; /* Ensure it's above other content */
    padding: 1rem;

}
	
	#hamburgerButton.visible{
		display: none
	}
	

	
.close-menu-button {
    /*display: block;*/
		display: block;
    background: none;
    border: none;
    color: #333;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 1rem;
    text-align: left;
    width: 100%;
}
	
	
}

/*end hamburger menu */




 .author-image {
  width: 150px;
  height: 150px;
  overflow: hidden;
  border-radius: 50%;
  min-width: 150px;
  min-height: 150px;
}

h1 {
	color: black;
}

.site-title {
	text-align: center;
}

.entry-title {
	color: black;
}

body {
	color: black;
}
.post-byline img {
  object-fit: cover;
  }

.date {
	margin-top: 1%;
  	margin-bottom: 1%;
  }

  .author-description { 
	font-size: .6em;
  }

  .bottom-post-header-container {
	display: flex;               /* Use flexbox for horizontal layout */
	align-items: center;          /* Vertically center the items */
	justify-content: flex-start;  /* Align items to the left (start) */
	flex-direction: column;
  	align-items: flex-start;
  }
  
  .post-byline, .date, .post-widgets {
	margin-right: 20px;  /* Add some spacing between the items */
  }

  


.wp-block-heading{
	text-align: left;
	/* padding-top:20px; */
	/* padding-bottom:10px; */
}

.single-post-wrap{
	margin-left: auto;
    margin-right: auto;
    max-width: 665px;
    width: 100%;
}

.post-article{
	margin-top: 3%;
}

p {
	/* margin: 32px 0; */
	font-size: 1.2em;
}

/*republish button*/

/*

.my-button {
    background-color: #d1d1d1;
    transition: opacity .3s;
    color: #333;
    border-radius: 20px;
    padding: 8px;
    letter-spacing: .1em;
    line-height: 1;
    text-transform: uppercase;
    font-size: 0.8rem;
    align-items: center;
	
    
}
*/

/*button updated*/
.my-button {
	position: relative;
	display: inline-block;
	padding: 10px 20px;
	font-size: 16px;
	color: #1b1c39; /* Text color */
	background-color: white;
	border: 2px solid #1b1c39; /* Border color */
	text-align: center;
	text-decoration: none;
	font-weight: bold;
	box-shadow: none;
	transition: box-shadow 0.3s ease;
	border-radius: 0;
	/*for option 2: box-shadow: 5px 5px 0px rgb(14, 15, 14);*/
	
  }
  
  .my-button::before,
  .my-button::after {
	content: '';
	position: absolute;
	top: 5px;
	left: 5px;
	width: 100%;
	height: 100%;
	background-color: transparent; /*transparent*/
	border: 2px solid rgb(9, 9, 9); /* Border color #1b1c39*/
	z-index: -1;

  }
  
  .my-button::before {
	top: 10px;
	left: 10px;
  }
  
  .my-button::after {
	top: 15px;
	left: 15px;
  }
  
  .my-button:hover {
	/* opption 2: box-shadow: 10px 10px 0px rgb(15, 16, 15);*/
	box-shadow: 5px 5px 0px rgb(3, 3, 3);
  }
  

.repub-title{
	text-align:left;
}

.republishing-page-content{
	display:flex;
	justify-content: space-between;
}

.guidelines{
	max-width:48%;
	font-size:12px;
}

.republish{
	max-width:50%
}

textarea{
	width: 550px; /* Set the desired width */
      height: 400px; /* Set the desired height */
}

.repub-button {
    background: black;
    border: none;
    border-radius: 5px;
    box-sizing: border-box;
    display: inline-block;
    color: white;
    font-size: 16px;
    font-weight: 700;
    outline: none;
    padding: 0.76rem 1rem;
    text-decoration: none;
    vertical-align: bottom;
}

@media (max-width: 768px) {
  /* Your mobile-specific styles go here */
	
	#text990 {
  display: none !important;

}
	.site-header {
  padding-top: 3px !important;
}
	
	.nav-and-search-form {
  margin-top: 0% !important;
}
	
	/*styling for republish pg*/
	.republishing-content textarea {
  width: 100% !important;
  height: 10em !important;
}
	
	
	.republish {
  max-width: 100% !important;
}
	
	.guidelines {
  max-width: fit-content !important;
}
	/*end styling for republish pg*/
	
	
	
	
	
	/*new styling for mobile home pg*/
  .page-sub-bottom {
  display: flex;
  flex-direction: column !important;
  flex-wrap: wrap;
  justify-content: space-between;
  border-top: .75px solid;
  margin-top: 1%;
}
	
	.featured-photo-display{
    display: unset !important;
  }
	
	.bottom-post-header-container {
  	padding-bottom: 0px !important;
		padding-top: 2.5% !important;
	
}
	
	.vertical-header.conservation-header.headline {
  font-size: 1.0em !important;
}

	
	.sub-section {
  max-width: 100% !important;
}

	.sub-section-right {
  max-width: 100% !important;
}
	
	/*.third-fourth .vertical-text-container {
  max-width: 45%;
  font-size: math !important;
}*/
	
	.byline-and-excerpt {
  font-size: smaller !important;
}
	
	/*new styling for single pg*/
	.post-description-container {
  display: none !important;
}
	
	.wp-block-image.size-large:first-of-type {
    display: none;
}
	
	.page-top{
		display:flex;
		flex-direction: column;
	}

	.main-article{
		width:100%;
		margin:0 auto;
	}
	.featured-posts{
		width:100%;
		margin: 0 auto;
	}
	.featured-post-container{
		flex-direction: row;
	}

	.featured-image-container{
		display:flex;
		justify-content: space-between;
	}

	.featured-image-container header{
		max-width: 60%
	}


	.latest-posts{
		flex-direction:column;
		max-width:95%;
		margin: 0 auto;
	}
	.latest-post-container{
		flex-direction:row;
		justify-content:space-between;
	}
	.just-latest-box{
		max-width:100%;
	}

	.latest-posts-column-container .latest-image-container, 
	.latest-posts-column-container .latest-post-text-container,
	.true-latest-post-text-container{
	width: 70%;
	}

	.latest-posts-column-container .latest-image-container, 
	.latest-posts-column-container .latest-image-container{
	max-width: 25%;
	}
	

	.featured-post-container{
		justify-content:space-between;
		/*margin-top:%;*/
	}

	.featured-image-container{
		max-width:25%;
	}

	.featured-post-header{
		max-width:65%;
	}

	.featured-posts{
		margin-top:5%;
	}

	.byline-and-excerpt .excerpt{
		display:none;
	}
	
  
  .bottom-post-header-container{
    flex-direction: column;
    align-items: flex-start;
  }

    margin-bottom: 10px;
  }
  
  /*.post-byline{
    margin-bottom: 5px;
    padding: 2px;
  }
	*/
  
  .date{
	margin-top: 5px;
	margin-left: 5px;
    font-weight: normal;
    font-family: '', sans-serif;
	margin-bottom: 10px;
   
    
  }
  .time{
	display:none;
  }

  .my-button::before,
  .my-button::after {
	content: '';
	position: absolute;
	top: 5px;
	left: 5px;
	width: 100%;
	height: 100%;
	background-color: transparent; /*transparent*/
	border: 2px solid rgb(9, 9, 9); /* Border color #1b1c39*/
	z-index: -1;

  }
  
  .my-button::before {
	top: 10px;
	left: 10px;
  }
  
  .my-button::after {
	top: 15px;
	left: 15px;
  }
  
  .my-button:hover {
	/* opption 2: box-shadow: 10px 10px 0px rgb(15, 16, 15);*/
	box-shadow: 5px 5px 0px rgb(3, 3, 3);
  }

}

/*to get rid of undeline on byline name */
article p a {
  text-decoration: underline;
    text-decoration-color: currentcolor;
  text-decoration-color: blue;
}

p a{
	text-decoration:none;
}

p a:hover{
  text-decoration:underline;
	text-decoration-color:#004effab;
	text-decoration-thickness:1.5px;
}

author-image {
  height: 150px;
  overflow: hidden;
  border-radius: 50%;
}


}

/*css for new author photo page */


.author-details {
    margin-left: 20px; /* Adds space between the image and the text */
    display: flex;
    flex-direction: column; /* Stacks the title and biography */
}


