/*Fonts*/

body { background: #fff;
font-family: Montserrat, sans-serif;
font-style: normal;
font-weight: 400;
    font-size: 1.3125rem;
    line-height: 1.4;    
	margin: 0;
	color: #414141;
}

#emailLink {
	padding: 1rem 0;
	text-decoration: underline;
	color: blue;
}
	
	
	
/*header styles*/
#redHeader {
    color: #333;
    padding: 30px 30px;
    overflow: hidden;
    margin-bottom: 1em;
    background-color: #2c3d7a;
}

    #redHeader a {
        text-decoration: none;
        border: none;
        color: white;
    }

        #redHeader a:hover {
            border: none;
            color: white;
        }

    #redHeader #oSearch {
        width: 20em;
    }

#redasearch {
	float: right;
	width: 50%;
	padding: 2rem 0;
}

.redgobutt {
	color: white;
	background-color: #2c3d7a;
	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 {
    padding: 3px;
    font-family: Arial, Helvetica, sans-serif;
    margin: 2px;
    background-color: #2c3d7a;
    color: white;
}

#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: #2c3d7a; */
    width: 100%;
    overflow: hidden;
	background: #ececec;
	padding: 50px 40px 40px;
	color: #222;
	font-family: Montserrat, sans-serif;
}

    #redFooter p {
        padding-left: 5%;
    }

    #redFooter a {
        /* color: white;
        padding: 24px; */
		color: #111;
		text-decoration: none;
    }
	#redFooter a:hover {
		text-decoration: underline;
	}
    #redFooter #redFootertext {
        float: left;
    }
    #redFooter #redlogo {
        float: right;
        padding-right: 5%
    }

    #sitemap {
        padding-bottom: 10px;
    }

h1 {
    font-size: 2.4em;
    font-weight:bold;
    color: #2c3d7a;
    padding-bottom: 1em;
}

h2 {
    font-size: 1.2em;
    color: #333;
    padding: 12px 0;
}

h3 {
    font-size: 1.1em;
    color: #000;
    padding: 8px 0;
}

p {
    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: 22px;
    }
	
	#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; }
}

/*desktop styles*/
@media only screen and (min-width:769px) {

    #redhomeIL {
        width: 100%;
        padding: 1rem 0;
        clear: both;
    }

    #redboxAGBanner {
        width: 50%;
        float: right;
    }

    #redhome2L {
        width: 45%;
    }
}

.red-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.red-footer-top {
  overflow: hidden;
  margin-bottom: 70px;
}

.red-footer-column {
  float: left;
  width: 30%;
  margin-right: 1%;
}

.red-footer-column:last-child {
  margin-right: 0;
}

.red-footer-column h3,
.red-footer-social h3 {
  margin: 0 0 22px;
  font-size: 28px;
  font-weight: normal;
  line-height: 1.2;
}

.red-footer-column p {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.5;
}

.red-footer-column p strong {
  font-weight: bold;
}

.red-footer-center p a,
.red-footer-right p a {
  font-weight: bold;
}

.red-footer-bottom {
  clear: both;
}

.red-footer-social {
  margin-top: 10px;
}

.red-footer-social-link {
  display: inline-block;
  margin-right: 24px;
  font-size: 18px;
  font-weight: bold;
}

.red-footer-left p {
	padding-left: 0 !important;
}