@charset "utf-8";
/* CSS Document */

body, h1, h2, figure {
    margin: 0;
    padding: 0;
  }

h1, h2, h3, h4, /* figcaption, */ .caption {
    font-family: Arial, sans-serif;
}

p {
  font-family: "Times New Roman", Times, serif;
  font-size: 0.9rem;
  text-align: justify;
  margin-top: 9px;
  margin-bottom: 9px;
  line-height: 1.3;
  width: 80%;
}

h1, h2, h3, h4 {
   width: 92%;
}


.draft {
  font-size: 1.5rem;
  font-family: Arial, sans-serif;color: #808080;
  margin: 0 auto;
  text-align: center;
  width: 96%;
  padding-top: 0px;
}


.pagecontainer {
	max-width: 740px;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-left: auto;
	margin-right: auto;
}

.nodecoration {
	text-decoration: none;
}

.header1 {
	text-align: center;
	padding-top: 26px;
	padding-bottom: 22px;
	display: flex;
	justify-content: center;
	align-items: center;
	max-width: 58%;
}

.header1 img {
	max-height: 100%;
	max-width: 100%;
	width: auto;
} 

.prevnext {
	flex: 1;
	text-align: center;
}




/* insect common name */
h1.commonname {
	font-size: 1rem; 
	text-align: center;
}

/* insect species name */
h2.speciesname {
	font-size: 0.9rem;
	font-style: italic;
	text-align: center;
	margin-bottom: 18px;
	font-weight: normal;
}

.image-container {
    position: relative;
    display: inline-block;
    height: auto;
    width: 60%;
}

.image-container-wide {
    position: relative;
    display: inline-block;
    height: auto;
    width: 80%;
}

.mapimage {
    display: block;
    max-width: 100%; /* Set maximum width to 100% */
    height: auto;
    margin-left: auto;
	margin-right: auto;
}


.caption {
  font-size: 0.65rem;
  margin: 0 auto;
  text-align: center;
  width: 60%;
  padding-top: 3px;
  line-height: 1.4;
}







.endspace {
	height: 200px;
}













/* Responsive styling for screens with max-width of 720px */
@media (max-width: 720px) {

.pagecontainer {
    max-width: 95%;
}

h1.commonname {
    font-size: 1.4rem;
}

h2.speciesname {
    font-size: 1rem;
    margin-bottom: 12px;
}

.header2 {
    font-size: 0.8rem;
    margin-top: 16px;
	width: 95%;
}

.draft {
    font-size: 1.2rem;
    width: 90%;
}

.header1 {
    padding-top: 20px;
    padding-bottom: 18px;
    max-width: 80%;
}

p, h1, h2, h3, h4 {
    width: 95%;
}

.image-container-width-60 {
    width: 95%;
}

.image-container-width-80 {
    width: 95%;
}

.caption {
    width: 90%;
    font-size: 0.7rem;
}
}
















 











