/*Fonts*/

body, header
{
font-family: Arial, Georgia, "Times New Roman", Helvetica, sans-serif;
    font-weight: 400;
    font-style: normal;
	}

#emailLink {
	padding: 1rem 0;
	text-decoration: underline;
	color: blue;
}
	
a {
	text-decoration: underline;
}
	
/*header styles*/
#redHeader {
    color: #333;
    padding: 10px 20px;
    overflow: hidden;
    margin-bottom: 1em;
    background-color: #4E3629;
}

    #redHeader a {
        text-decoration: none;
        border: none;
        color: white;
    }
	
	#redHeader a img{
		max-width: 250px;
	}

        #redHeader a:hover {
            border: none;
            color: white;
        }

    #redHeader #oSearch {
        width: 12em;
    }

#redasearch {
	float: right;
	width: 45%;
	padding: 1rem 0;
}

.redgobutt {
	color: white;
	background-color: #1351b9;
	margin: 4px;
    padding: 4px;
}

#dirCap {
    padding: 12px;
    font-size: 1.2em;
    float: left;
}

#seturl {
    background-image: none;
    padding: 8px;
    width: 75%;
}

#redbox2G {
    margin-top: 2em;
}

.exlist {
    padding-bottom: 2rem;
}

.exfull img {
    width: 100%;
}

/*detail*/
#rtitle {
	clear: both;
}

.nextprev {
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ffc72c), color-stop(1, #e6b014) );
    background: -moz-linear-gradient( center top, #ffc72c 5%, #e6b014 100% );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#e6b014');
    background-color: #ffc72c;
	box-shadow: inset 0px 1px 0px #e6b014;
	border: 1px solid #e6b014;
	text-shadow: 1px 1px 0px #e6b014;
	padding: 3px;
    font-family: Arial, Helvetica, sans-serif;
    margin: 2px;
    color: black;
	margin-bottom: 2em;
	border-radius: 6px;
}

.nextprev:hover, .nextprev:focus {
	background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #e6b014), color-stop(1, #ffc72c) );
    background: -moz-linear-gradient( center top, #e6b014 5%, #ffc72c 100% );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e6b014', endColorstr='#ededed');
    background-color: #e6b014;
}

#setreturn a:hover {
    color: white;
    background-color: #1351b9;
    padding: 3px;
}

/*Archive results*/
.linktext input {
	margin: 0 1rem;
}

.redtooltip {
    position: relative;
    display: inline-block;
}

    .redtooltip .redtooltiptext {
        visibility: hidden;
        width: 140px;
        background-color: #86bde8;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        line-height: 1em;
        font-size: 0.9em;
        /* Position the tooltip */
        position: absolute;
        bottom: 2em;
        left: -8em;
        z-index: 500;
    }

    .redtooltip:hover .redtooltiptext {
        visibility: visible;
    }

    /* footer */
    #redFooter {
    clear: both;
    padding-top: 1.5em;
    background-color: #ffc72c;
    width: 100%;
    overflow: hidden;
}

    #redFooter p {
        padding-left: 5%;
    }

    #redFooter a {
        color: black;
		font-weight: bold;
    }
    #redFooter #redFootertext {
        float: left;
    }
    #redFooter #redlogo {
        float: right;
        padding-right: 5%
    }

    #sitemap {
        padding-bottom: 10px;
    }

/* Styling for all headings */
h1, h2, h3, h4, h5, h6 {
  font-family: Arial, Helvetica, sans-serif;
}

/* Styling for all body paragraphs */
p {
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.6;
}


h1 {
    font-size: 1.4em;
    font-weight:bold;
    color: #333;
    padding-bottom: 1em;
}

h2 {
    font-size: 1.2em;
    color: #333;
    padding: 12px 0;
}

h3 {
    font-size: 1.1em;
    color: #000;
    padding: 8px 0;
}

p {
	font-family: Georgia, "Times New Roman", Times, serif;
	line-height: 1.6;
    padding-bottom: 1rem;
}
.txtExplain {
    padding-bottom: 1rem;
    font-style:italic;
}

button, input, optgroup, select, textarea {
    color: #000;
}


@media only screen and (max-width:570px) {
    body {
        font-size: 18px;
    }
	
	#content {
		margin: 0 1em;
	}
	
	/* Home */
	#redbox2g {
		width: revert;
		float: none;
	}
	
	/*Archive home */
	#redboxA1 {
		float: none; 
		padding: 1rem;
	}

	/*Archive Search & other */
	#redbox1, #redbox2, #redhome2L, #redbox2R {
		float: none;
		padding: 1rem;
	}

	/*creator subjects */
	#redboxU {
		float: none;
		padding: 1em;
		width: 100%;
	}

    #redboxAGBanner {
        width: 95%;
	padding: 1rem;
    }

    #redasearch {
        float: none;
        width: 100%;
    }

    #redasearch {
        float: none;
        width: 100%;
    }

	input[type="text"] {
	width: 95%;
	padding: 8px 8px 8px 40px;
}

    #rexname {
        clear: both;
    }

    .resthumb {
        padding-top: 4rem;
    }
	
	.footer { padding: 1rem; text-align: left;}
	#redFooter .container { max-width: 570px; }
	
	a img {
		width: 95%;
	}
}

/*desktop styles*/
@media only screen and (min-width:769px) {

    #redhomeIL {
        width: 45%;
        padding: 1rem 0;
        float: left;
    }

    #redboxAGBanner {
        width: 45%;
        float: right;
    }

    #redhome2L {
        width: 35%;
    }
	
	#redNav a {
		text-decoration: none;
	}
	
	#redNav {
		background-color: #4E3629;
	}
	
	.redCHList .resfull {
		overflow: visible;
	}
	
	.redCHList .resfull img {
	object-fit: contain;
	height: 225px;
	}
	
	.redCHList .restext {
		text-align: center;
		font-size: 0.9em;
	}
}

#redtableARL tr.alevel {
	background: #767676;
	color: #fff;
}

#redtableARL #trseries {
	background: #767676;
	color: #fff;
}

#redtableARL #trfileunit {
	background: #767676;
	color: #fff;
}

#redtableARL #trbiblio {
	background: #767676;
	color: #fff;
}

.redbutt, .redbutts, .redgobutt {
	background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ffc72c), color-stop(1, #e6b014) );
    background: -moz-linear-gradient( center top, #ffc72c 5%, #e6b014 100% );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#e6b014');
    background-color: #ffc72c;
	box-shadow: inset 0px 1px 0px #e6b014;
	border: 1px solid #e6b014;
	text-shadow: 1px 1px 0px #e6b014;
}

.redbutt:hover, .redbutts:hover, .redbutts:focus, .redgobutt:hover {
        background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #e6b014), color-stop(1, #ffc72c) );
        background: -moz-linear-gradient( center top, #e6b014 5%, #ffc72c 100% );
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e6b014', endColorstr='#ededed');
        background-color: #e6b014;
    }
	
.borderbottom-box {
  padding: 10px;
  border-bottom: 2px solid #e6b014; 
}

#redobjImage img{
    width: 200%
}

#robjres {
	font-family: Georgia, "Times New Roman", Times, serif;
	line-height: 1.6;
    padding-bottom: 1rem;
}

#objLabel {
	font-family: Georgia, "Times New Roman", Times, serif;
	clear: both;
	font-size: larger;
	font-weight: bold;
}

#objDesc {
	font-family: Georgia, "Times New Roman", Times, serif;
	clear: both;
	line-height: 1.6;
    padding-bottom: 1rem;
}

#relObjs {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 20px;
	line-height: 1.6;
    padding-bottom: 1rem;
}

#redtableORL {
	font-family: Georgia, "Times New Roman", Times, serif;
	line-height: 1.6;
    padding-bottom: 1rem;
}

/* Row wrapper: Spaced out and centered as a group */
#redFooter .footer-row {
  display: flex;
  justify-content: space-between; /* Spreads columns across the row */
  align-items: flex-start;        /* Aligns column tops evenly */
  max-width: 1200px;              /* Limits maximum layout width */
  margin: 0 auto;                 /* Centers the group of columns horizontally */
  padding: 0 20px;                /* Prevents text from hitting screen edges */
}

/* Base column style to center inner content */
#redFooter .footer-column {
  text-align: left;
}

/* Specific proportional widths from left to right */
#redFooter .footer-column:nth-child(1) {
  flex: 0 0 27%;                  /* Left column: 27% width */
}

#redFooter .footer-column:nth-child(2) {
  flex: 0 0 45%;                  /* Middle column: 45% width */
}

#redFooter .footer-column:nth-child(3) {
  flex: 0 0 25%;                  /* Right column: 25% width */
}

/* Helper to center list elements */
#redFooter .footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Responsive fix for mobile devices */
@media (max-width: 768px) {
  #redFooter .footer-row {
    flex-direction: column;       /* Stacks columns vertically on mobile */
    gap: 30px;                    /* Adds vertical space between stacked columns */
  }
  
  #redFooter .footer-column:nth-child(1),
  #redFooter .footer-column:nth-child(2),
  #redFooter .footer-column:nth-child(3) {
    flex: 0 0 100%;               /* Overrides percentages to take full width on mobile */
  }
  
  #redNav {
		background-color: #4E3629;
	}
	
	#redNav a {
		text-decoration: none;
		background-color: #4E3629;
	}
	
	.redfilt li {
		background-color: #ececec;
		color: black;
		
}
