/*Fonts*/
body {
	font-family: helvetica;
	line-height: 1.6rem;
}

/*header styles*/
#redHeader {
    height: 210px;
	position: relative;
	background-color: #333;
}

#redHeader:before 
{
    content: " ";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
	height: 100%;
	opacity: 0.6;
	background-image: url("headerback.jpg");
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: cover;	}

#headContent { position: relative; }

    #redHeader a {
        text-decoration: none;
        border: none;
        color: white;
    }

        #redHeader a:hover {
            border: none;
            color: white;
        }

    #redHeader #oSearch {
        width: 12em;
    }
    
    #redNav { margin-bottom: 0; background: none; margin-top: 1rem;}

#clientname {
	color: #fff;
	font-size: 2rem;
	padding-left: 80px;
	padding-top: 60px;
}

.redbutt, .redbutts {
	background: revert;
	background-color: #534c79;
	color: #FFF;
	text-shadow: revert;
}

.redgobutt {
	color: white;
	background-color: #5e5e5e;
	margin: 4px;
    padding: 4px;
}

#dirCap {
    padding: 12px;
    font-size: 1.2em;
    float: left;
}

/*.archsearchtext { padding-top: 1rem;}*/


/* table used for archives results list view*/
.redtableARL {
    width: 95%;
    border-spacing: 0;
    border: 0;
    color: #333;
}

    .redtableARL th {
        background-color: #333;
        color: #f8f4e8;
        text-align: left;
        padding: 4px;
    }

    .redtableARL tr {
        vertical-align: top;
    }

.redtableARL tr:nth-child(even) {
    background: #ececec;
}

.redtableARL tr:nth-child(odd) {
    background: #fff;
}
    .redtableARL td {
        padding: 6px;
    }
	

#redfilterbox ul {
	list-style: none;
}
 
#seturl {
    background-image: none;
    padding: 8px;
    width: 75%;
}

/*Archive Browse*/
#redtableRobj, #redtableAR {
	width: 100%;
}
/*Gen B*/
#redbox2G {
	margin-left: 2rem;
	width: 60%;
	float: left;
}

.genBlist {
	padding: 1rem;
	border-bottom: solid black;
	overflow: hidden;
}
.genBlabel {
	clear: both;
	width: 40%;
	float: left;
	font-style: italic;
	padding-right: 2rem;
}	
.genBfld {
	float: left;
	width: 50%;
	font-weight: bold;
}

#redhomeIL {
	width: 50%;
	padding: 0 1rem;
	clear: none;
	float: left;
}

#redbox2ha {
	margin-bottom: 2rem;
	width: 35%;	
}

#redbox2ha a {
	text-decoration: underline;
}

li {
	padding: 0;
}
.exlist .exfull {
    width: 25%;
}

.nextprev {
    padding: 4px;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0 6px;
    background-color: #5e5e5e;;
    color: white;
}

#setreturn a:hover {
    color: white;
    background-color: #5e5e5e;;
    padding: 3px;
}


.tooltip {
    position: relative;
    display: inline-block;
}

    .tooltip .tooltiptext {
        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;
    }

    .tooltip:hover .tooltiptext {
        visibility: visible;
    }
    
/*results*/
#redfilterbox {
	width: 175px;
}
#groupres {
	padding-top: 2rem;
	/* border-top: gray 2px solid; */
}
#redpagenavG {
	float: right;  
	padding: 0 8px;
}
#redpageCountG {
	float: right;
	padding: 0 8px;
}
#redpageCountF {
	float: right;
	padding: 0 8px;
}
#redpageCountS {
	float: right;
	padding: 0 8px;
}
#redpageCountB {
	padding: 0 8px;
	float: right;
}
#redpagetotG {
	float: right;
}
#seriesres {
	padding-top: 2rem;
	/*border-top: gray 2px solid; */
}
#redpagenavS {
	float: right;
}
#redpagetotS {
	float: right;
}
#fileunitres {
	padding-top: 2rem;
	/*border-top: gray 2px solid; */
}
#redpagenavF {
	float: right;
}
#redpagetotF {
	float: right;
}
#bibliores {
	padding-top: 2rem;
	/* border-top: gray 2px solid; */
}
#redpagenavB {
	float: right;
}
#redpagetotB {
	float: right;
}

#XMLResult {
	clear: both;
}

/*About*/

.hquestionlist {
	line-height: 1.5;
	font-weight: bold;
}

.hquestion 
{
    clear: both;
	padding: 1rem;
	font-weight: bold;
	font-style: italic;
}
.hanawer {
	padding: 0 1rem;
	line-height: 1.5;
}
    .hanawer .ansheader 
    {
        font-weight: bold;
    }
    .hanawer ul { padding-left: 2rem; }
    .hanawer a { text-decoration: underline;  }
    .haddress {width: 100%; text-align: center; padding: 2rem;}
    .ansaddress {float: left; } 

/* footer */
    #redFooter {
    clear: both;
    padding-top: 1.5em;
    background-color: #fff;
    width: 100%;
    overflow: hidden;
    text-align: center;
}

    #redFootertext {
        font-size: 0.9rem;
        margin: 0 auto;
        width: 60%;
    }

    #redFootertexta {
        font-size: 0.8rem;
        margin: 0 auto;
        width: 60%;
    }

    #sitemap {
        padding-bottom: 10px;
    }

h1 {
    font-size: 1.4em;
    font-weight:bold;
    color: #333;
    padding-bottom: 1em;
}

h2 {
    font-size: 1.2em;
    color: #333;
    padding: 12px 0;
}
p {
    padding-bottom: 1rem 0;
}

ul { padding: 2rem 1rem; }

.txtExplain {
    padding-bottom: 1rem;
    font-style:italic;
}


@media only screen and (max-width:570px) {
    body {
        font-size: 22px;
    }

#clientname {
	width: 90%;
	margin: 0 auto;
	font-size: 2rem;
	padding: 1rem;
}

#redasearch {
	float: none;
	width: 90%;
	margin: 0 auto;
}

input[type="text"] {
	width: 80%;
	padding: 8px 8px 8px 40px;
}

#redbox2ha {
	width: 90%;
}
    redhome2L {
        width: 95%;
        padding: 2%;
    }

    redboxAGBanner {
        width: 95%;
        padding: 2%;
    }

    #redasearch {
        float: none;
        width: 100%;
    }
}

/*desktop styles*/
@media only screen and (min-width:769px) {  

    #redboxAGBanner {
        width: 50%;
        float: right;
    }

    #redhome2L {
        width: 45%;
    }
}