/* --------------------------------------------------
                CSS Document
   Project          :   Commemorative Landscapes
    Author          :   Shaun Trujillo 
    Author          :   Mike Nutt
    Organization    :   Carolina Digital Library & Archives
    Website         :   http://docsouth.unc.edu/commland/
    
    Includes modified code from EliteCircle template by Erwin Aligam at http://www.styleshout.com/

----------------------------------------------------- */

/* --------------------------------------------------
   HTML ELEMENTS
----------------------------------------------------- */

/* top elements */

html {
    margin-left: 0;
}

* {
    margin: 0;
    padding: 0;
}

/* Reset bootstrap's default box-sizing */
*, ::after, ::before {
    box-sizing: initial
}

body {
    font-size: 1rem;
    overflow-x: hidden;
}

body img {
    border: none;
}

div#collheader {
    background-color: #41382c;
    margin: 0 auto 0 auto;
    text-align: center;
    width: 100%;
}

div#pagewrap div#pagecontent {
    text-align: left;
}

div#pagewrap {
    margin: 0 auto;
    position: relative;
    width: 100%;
    z-index: 999;
}

.noscreen {
    display: none;
}

/* links */

a:focus {
    outline: none;
}

a {
    color: #0000FF;
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
}

a.external {
    background: url(../images/external.png) center right no-repeat;
    padding-right: 13px;
}

a.kml {
    background: url(../images/kml_feed_small.png) center right no-repeat;
    padding-right: 13px;
    padding-left: 13px;
}

a.homelink {
    background-image: url(../images/homearrow.jpg);
    background-position: right 15px;
    background-repeat: no-repeat;
    color: #FFF;
    display: block;
    float: left;
    font-size: 10px;
    padding-top: 11px;
    padding-right: 7px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: arial, sans-serif;
}

.resources a {
    text-decoration: none;
}

.resources a:hover {
    background-color: inherit;
    text-decoration: underline;
}

.sideimage a {
    text-decoration: none;
    background-color: transparent;
    display: block;
}

.sideimage p a {
    display: inline;
}

/************* 
    headers 
**************/

/* "title" div is for essay titles or other flatpages that need titles */

div#essay h2, h1 {
    padding-left: 74px !important;
}

#title {
    margin-top: 20px;
    margin-bottom: 30px;
}

#title > h1 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 2.0em;
    line-height: 1.4em;
    text-align: center;
    padding-left: 0 !important;
}

#title > h2 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.5em;
    line-height: 1.0em;
    text-align: left;
    padding-left: 0 !important;
}

#title > h3 {
    color: #41382C;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.5em;
    font-style: italic;
    line-height: 2em;
    text-align: center;
    margin-top: -20px;
    padding-left: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-style: normal;
    font-family: Verdana, Geneva, sans-serif;
    color: #111;
    text-align: left;
    line-height: 1em;
}

h1 {
    font-size: 2em;
    color: #41382C;
    margin: 20px 15px;
}

h2 {
    font-size: 1.8em;
    color: #444444;
    margin: 20px 15px;
}

h3 {
    font-size: 2em;
    color: #C34E23;
}

h4 {
    font-size: 1.7em;
}

h5 {
    font-size: 1.6em;
}

h6 {
    font-size: 1.1em;
    font-weight: 600;
    font-family: Verdana, Geneva, sans-serif;
    color: #993300;
    margin: 2px 0 0 8px;
}

p, h3, h4, h5 {
    margin: 10px 15px;
}

/* begin DocSouth banner styles */

div#dsheader h1 {
    display: none;
}

div#dsheader {
    width: 100%;
    background-color: #3f6f9f;
    height: 28px;
    margin: 0 0 0 0;
    text-align: center;
    border-bottom: 1px solid #2F5E8C;
}

div#dsheader div#innerbox {
    width: 100%;
    margin: 0 auto 0 auto;
    text-align: left;
}

div#dsheader div#innerbox a img {
    float: left;
    margin-top: 8px;
    margin-right: 5px;
}

div#dsheader div#innerbox a.homelink {
    display: block;
    float: left;
    text-decoration: none;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 10px;
    padding: 13px 7px 0 0;
    background-image: url(../images/homearrow.jpg);
    background-position: right 15px;
    background-repeat: no-repeat;
    line-height: 135%;
}

div#tagline {
    text-align: right;
    font-family: arial, sans-serif;
    font-size: 90%;
    text-transform: uppercase;
    color: #ffffff;
    padding-top: 8px;
}

#ban img {
    width: 100%;
}

/* end DocSouth banner styles */

/* Body Styles */

body {
    background-color: #564A3A;
    font-family: sans-serif;
    font-size: .7em;
    line-height: 1.7em;
    color: #555;
    text-align: center;
}

body p {
    text-indent: 1em;
}

.container {
    padding-left: 0;
    padding-right: 0;
}

.navbar {
    background: url("../images/nav/navbg.png") repeat scroll 0 0 transparent;
    background-size: contain;
}

.navbar-expand-md {
    flex-direction: row-reverse;
}

.navbar-toggler {
    background-color: tan;
}

.navbar a {
    color: white;
    font-size: 1rem;
    height: 100%;
    text-decoration: none;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 1);
}

.nav-item.show div {
    color: white;
    text-align: justify;
    min-width: 240px;
}

.nav-item.show div a {
    display: inline-block;
    font-size: 12px;
    min-height: 25px;
    padding: 5px 0 0 10px;
    text-align: justify;
    width: 100%;
}

div.show a,
div.collapse.show .dropdown-menu a,
div.collapse.show .dropdown-menu a:hover {
    color: black;
}

div.show a:hover {
    background-color: #F0F0F0;
    width: 95%;
}

.collapse ul li,
.collapsing ul li {
    text-align: left;
}

div.collapse.show a {
    color: white;
}

div.collapse.show a:hover {
    color: seagreen;
}

.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
    background-color: inherit;
    color: peachpuff;
}

.form-inline .form-control-sm {
    border: none;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.form-inline .btn {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    padding: .4rem .75rem;
    border: 1px solid #1F305E;
}

.search_field::placeholder {
    color: #404040;
    text-align: center;
}

.btn-secondary {
    background: linear-gradient(#468fea, #1F305E) no-repeat;
}

.sf-menu {
    position: relative;
    line-height: 1.25em;
    z-index: 1000;
    display: inline-flex;
    list-style-type: none;
}

.sf-menu li {
    background: url("../images/nav/navbg.png") repeat scroll 0 0 transparent;
    padding: 0 10px;
}

.sf-menu a {
    padding: .5em 1em;
    text-decoration: none;
    color: white;
    display: block;
    position: relative;
}

#mainlt {
    padding: 20px 10px 15px 30px;
}

#mainlt p {
    text-align: justify;
}

#mainrt {
    padding-top: 20px;
}

#essay p {
    color: #41382C;
    margin-bottom: 10px;
    padding-left: 74px;
    padding-right: 74px;
    text-align: justify;
}

.blockquote {
    margin: 0 40px;
    text-indent: 0;
    display: block;
}

.frame {
    background: url(../images/bgpx.png);
    background-repeat: repeat;
    border: 1px solid #999;
    margin: 5px 25px 16px 15px;
    padding-bottom: 2px;
}

.frame img {
    padding: 0 2px 2px 2px;
    max-height: 350px;
    max-width: 350px;
}

.frame p {
    color: #41382C;
    display: block;
    font: status-bar;
    padding: 2px 0 5px 0;
    margin: 0 4px;
    line-height: 1em;
}

.frame a {
    text-decoration: none;
}

.repbox {
    float: left;
    position: relative;
    left: 50%;
    margin: 0;
}

.metabox ul {
    list-style: none;
    display: inline-block;
    width: 100%;
}

.line {
    float: left;
    width: 100%;
    display: block;
    position: relative;
}

.metabox li p {
    margin: 1em .5em 0 1em;
    color: #000;
    line-height: 1.5em;
    text-align: left;
    font-size: 1em;
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
    left: 25%;
    width: 65%;
    text-indent: 0;
    padding-bottom: .5em;
}

.metabox h5 {
    margin: 0 0 0 -100%;
    padding: .4em 0 .5em .8em;
    color: #41382C;
    font-size: 1.1em;
    position: relative;
    left: 100%;
    float: left;
    width: 25%;
    line-height: 2em;
}

.metabox li {
    background: #fff;
    border: 1px solid #999999;
    margin-bottom: .1em;
    height: 100%;
    overflow: hidden;
}

.metabox li:nth-child(2n+1) {
    background: url(../images/bgpx.png);
    background-repeat: repeat;
}

.metabox li:last-child {
    margin-bottom: 0;
}

.metabox {
    margin: .1em 0 2em 0;
    padding: 2px 15px;
    position: relative;
    left: -50%;
    text-align: left;
}

.rep {
    background: url(../images/bgpx.png);
    background-repeat: repeat;
    border: 1px solid #999;
    margin: 2em 0;
    padding-bottom: 2px;
    position: relative;
    left: -50%;
    text-align: center;
    width: inherit;
}

.rep img {
    max-height: 400px;
    max-width: 400px;
    border: 1px solid #999;
    margin: 1em;
}

.rep p {
    color: #41382C;
    font: status-bar;
    padding: 2px 5px 5px 5px;
    margin: auto;
    line-height: 1.1em;
    text-indent: 0;
    width: inherit;
}

.rep a {
    text-decoration: none;
}

.metabox ul li {
    word-wrap: break-word;
}

.sideimage {
    background-color: #F3F3F3;
    border: 1px solid #3F6F9F;
    margin: 10px;
    padding: 10px;
    width: 310px;
}

.sideimage p {
    color: #41382C;
    font-size: 9px;
    font-style: italic;
    line-height: 12px;
    margin-bottom: 0 !important;
    min-width: 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-indent: 0 !important;
    text-decoration: none;
}

.left {
    float: left;
    margin-left: -40px;
    margin-right: 20px;
}

.right {
    float: right;
    margin-left: 20px;
    margin-right: -40px;
}

.vertical {
    width: 230px;
}

.resources {
    background-color: #F5F7F8;
    border: 1px solid #3F6F9F;
    color: #27221A;
    font-family: Georgia, "Times New Roman", Times, serif;;
    font-size: 10px;
    line-height: 15px;
    margin: 5px 10px 10px;
    padding: 5px;
    text-align: left;
    list-style-position: inside;
    list-style-type: square;
    float: right;
}

.footnotes {
    color: #41382C;
    line-height: 1.2em;
    max-width: 100%;
    min-width: 450px;
    padding: 10px 30px 25px 30px;
    text-align: left;
    text-indent: 0;
    float: left;
}

.footnotes p {
    text-indent: 0;
}

.footnotes h3 {
    padding: 10px 0 10px 74px;
    font-size: 1.5em;
}

#page {
    margin-top: 1.5em;
    padding-bottom: 50px;
}

#page h3 {
    text-align: center;
    color: #555555;
    font-size: 1.3em;
    font-weight: 600;
    font-family: arial, helvetica, sans-serif;
}

.pageland {
    height: 300px;
}

.introtext {
    text-align: left;
    font-size: 1.1em;
    color: #000;
    margin: 14px 100px;
    padding-bottom: 50px;
}

#flatlist {
    text-align: left;
    margin: 1em 8.5em;
    color: #000;
}

#flatlist li {
    padding: .5em;
    font-size: 1.2em;
    font-weight: 600;
    font-family: arial, helvetica, sans-serif;
    display: block;
    margin-left: 1em;
}

#flatlist li a {
    text-decoration: none;
    margin-left: -1em;
    display: block;
    color: #3366CC;
}

#flatlist li a:hover {
    color: #003366;
}

#flatleft {
    text-align: left;
    margin: 1em 3.5em;
    width: 215px;
}

#flatleft li {
    padding: .5em;
    font-size: 1.2em;
    font-weight: 600;
    font-family: arial, helvetica, sans-serif;
    display: block;
}

#flatleft li a {
    text-decoration: none;
    padding: 5px 10px;
    display: block;
}

#flatleft li a:hover {
    background: #3299CC;
    color: #fff;
}

#flatright {
    display: block;
    position: absolute;
    top: 0;
    left: 275px;
    width: 380px;
    height: 210px;
    padding: 25px;
    margin: 72px 10px 10px;
    z-index: 90;
    color: #000;
    font: 14px Verdana, sans-serif;
    text-align: center;
    border-left: solid 2px #aaaaaa;
    border-right: solid 2px #aaaaaa;
}

div#links a span {
    display: none;
}

div#links a:hover span {
    display: block;
    position: absolute;
    top: 0;
    left: 275px;
    width: 380px;
    height: 210px;
    padding: 25px;
    margin: 72px 10px;
    z-index: 100;
    color: #000;
    font: 14px Verdana, sans-serif;
    text-align: center;
    border-left: solid 2px #3299CC;
    border-right: solid 2px #3299CC;
    background: #fff;
}

/* styles for headings specific to Essays landing page */
div#links h5 {
    color: #993300;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 1.1em;
    font-weight: 600;
    margin: 2px 0 0 8px;
}

/* styles for list items specific to Essays landing page */
#links #flatlist li {
    margin-left: 2em;
}

/* Browse rededicated monuments */
#rededicated {
    width: 100%;
    padding-top: 25px;
}

#rededicated h2 {
    border-bottom: 1px dashed #555;
    padding-bottom: 20px;
    text-align: center;
}

#rededicated-results {
    margin: auto;
    padding-top: 15px;
    width: 100%;
}

#rededicated-results img {
    height: 95px;
    max-width: 200px;
}

#rededicated-results div {
    padding-top: 15px;
}

#rededicated-results img {
    margin-bottom: 10px;
}

/* begin Search Results styles */

#searchlt {
    width: 208px;
    float: left;
    padding-top: 25px;
}

#searchrt {
    width: 570px;
    float: left;
    padding-top: 25px;
}

#resfor span {
    font-weight: 800;
}

#resfor a {
    text-decoration: none;
}

#sortby {
    text-align: left;
    padding-left: 10%;
}

#sortby a {
    text-decoration: none;
    font-weight: 800;
    padding: 0 14px;
}

#resgal {
    padding-top: 15px;
}

#resgal div {
    padding-top: 15px;
}

#resgal img {
    margin: auto;
    max-height: 97px;
    max-width: 97px;
    display: block;
    padding-bottom: 6px;
}

#narrow {
    width: 172px;
    text-align: left;
    padding: 0 0 16px 25px;
}

#narrow p {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    background-repeat: no-repeat;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: 600;
    color: #333333;
    line-height: 1.7em;
    margin: 0 !important;
    text-indent: 0 !important;
}

.narrow {
    background-image: url("../images/narrowbg.png");
    padding-bottom: 5px;
}

.semifacet {
    border: solid #CCCCCC 1px;
    margin: 2px;
    position: relative;
    padding-bottom: 2px;
    font-size: .9em !important;
}

.semifacet ul {
    list-style-type: none;
    border-left: 12px solid #fff;
    border-right: 2px solid #fff;
}

.semifacet ul:first-of-type {
    margin-bottom: 0;
}

.semifacet li {
    border-top: 1px solid #fff;
    list-style-type: none;

}

.semifacet li a {
    position: relative;
    z-index: 999;
    background-color: #E9E9E9;
    display: block;
    text-decoration: none;
    padding-left: 4px;
}

.semifacet li a:hover {
    background-color: #D2D2D2;
}

.semifacet > h6 {
    padding-top: 2px;
    padding-bottom: 5px;
}

#qset {
    border: solid #CCCCCC 1px;
    margin: 2px;
    position: relative;
    padding-bottom: 2px;
    font-size: .9em;
}

#qset p {
    text-align: left !important;
    font-size: 1.1em;
    font-weight: 500;
}

#qset p a {
    text-decoration: none;
    display: block;
    background: url(../images/x.png) no-repeat;
    background-position: 95% 4px;
    padding-left: 12px !important;
    color: red;
}

.showhide {
    margin-left: 50%;
    border-bottom: 1px dotted blue;
}

.toggleLink {
    line-height: 1.2;
    position: absolute !important;
    top: 2px !important;
    left: 55%;
    text-decoration: none !important;
    border-bottom: 1px dotted blue !important;
    display: inline !important;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: 400 !important;
    color: blue !important;
    text-indent: 0 !important;
    z-index: 1000 !important;
}

.toggleLink1 {
    display: inline;
    text-decoration: none;
    text-indent: 0 !important;
}

.toggleLink2 {
    line-height: 1.2;
    position: relative !important;
    top: 2px !important;
    text-decoration: none !important;
    border-bottom: 1px dotted blue !important;
    display: inline !important;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: 600 !important;
    color: blue !important;
    text-indent: 0 !important;
    z-index: 1000 !important;
}

.toggleLink1 img {
    border: none;
}

.browse_set {
    text-align: left;
    width: 96%;

}

.browse_set li:hover {
    font-weight: 900;
    font-size: 1.0em;
}

.browse_set li:nth-child(2n+1) {
    clear: left;
}

.browse_set ul {
    list-style-type: none;
}

.browse_set li.column1 {
    margin-left: 0;
}

.browse_set li.column2 {
    margin-left: 28%;
}

.browse_set li.column3 {
    margin-left: 56%;
}

.browse_set li.column4 {
    margin-left: 84%;
}

.browse_set li.reset {
    margin-top: -17.2em;
}

#nav1, #nav1 ul {
    list-style: none;
    margin-left: 20px;
}

#nav1 ul {
    padding-top: .5em;
}

#nav1 li {
    padding-left: .8em;
    background: url(../img/arrow.gif) left top no-repeat;
    padding-bottom: .45em;
}

#nav1 a {
    text-decoration: none;
    color: #960000;
}

#nav1 a:hover {
    color: #1b53b9;
}

#nav1 a .pop {
    display: inline;
    position: relative;
    left: 20px;
    visibility: hidden;
    color: #333;
}

#nav1 a:hover .pop {
    visibility: visible;
}

#nav1 .expandable {
    background-image: none;
}

#nav1 .expandable img {
    margin-right: 5px;
    margin-top: 9px;
    float: left;
}

.expandable {
    border-top: 1px dashed #555;
    margin: 2px 20px 2px 0;
}

#expandAll, #collapseAll {
    font-weight: bold;
    background-image: none;
    padding: 0 12px;
    float: left;
}

#expandAll {
    margin-left: 34%;
}

.hdbrowse {
    font-size: 1.1em;
    font-weight: 600;
    font-family: Verdana, Geneva, sans-serif;
    color: #993300;
    margin: 2px 0 0 8px;
    line-height: 3;
}

.selected ul {
    background-color: #FFFFCC;
    border: 1px solid #FFCCFF;
    float: left;
}

.subjects_left {
    display: inline-block;
    float: left;
    width: 40%;
}

.subjects_right {
    display: inline-block;
    float: left;
    width: 40%;
}

.info {
    margin: 4px 0 8px 10px;
    height: 58px;
}

.info img {
    padding-top: 5px;
}

.info span {
    padding-left: 25px;
    color: #000;
    font-size: 1.2em;
    font-weight: 400;
}

/* Footer Styles */

#container {
    margin: 0 auto 0 auto;
    background-color: #FFF;
    width: 100%;
}

#container img {
    vertical-align: bottom;
}

#navcontainer {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    display: block;
    background: url("../images/nav/navbg.png") repeat scroll 0 0 transparent;
    background-color: #41382c;
    height: 2.55em;
    text-align: center;
    margin: 0 auto 0 auto;
    width: 100%;

}

.sf-menu li {
    font-size: 1.3em;
}

.sf-menutop li {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-weight: 600;
}

/*
  sticky footer
  see http://www.cssstickyfooter.com/using-sticky-footer-code.html
 */
html, body, #container {
    height: 100%;
}

body > #container {
    height: auto;
    min-height: 100%;
}

#content {
    padding-bottom: 110px;
}

/* must be same height as the footer */
#collfooter {
    height: 10em;
    width: 100%;
    margin: 0 auto;
    background-color: #FFF;
    text-align: center;
    clear: both;
}

#collfooter #navcontainer {
    padding-left: 0;
    padding-right: 0;
}

div#collfooter img {
    background-color: #FFF;
}

div#collfooter ul {
    background-color: #FFF;
    margin: 0;
    padding: 0 0 0 0;
    z-index: 999;
}

#break {
    height: 1px;
    background-color: #999;
    margin: 0 18px 10px 18px;
}

div#footernav {
    clear: both;
}

div#footernav ul li {
    display: inline;
    line-height: 23px;
    margin: 0 0 0 0;
    padding: 3em 1.5em;
}

div#footernav ul li a {
    text-decoration: none;
    color: #3f6f9f;
    font-size: 11px;
    font-weight: bold;
    line-height: 23px;
    padding: 0 13px 0 13px;
    border-right: 1px solid #F5F7F8;
}

div#footernav ul li a:hover {
    background-color: #c6daeb;
}

ul#logos {
    background-color: #FFF;
    font-size: 10px;
    line-height: 12px;
    border-color: #DDD;
    border-style: solid;
    border-width: 0;
    list-style: none outside none;
    position: relative;
    z-index: 10000;
}

ul#logos a img {
    background-color: #FFF;
    border-style: none;
    padding: 10px 0 5px 0;
    z-index: 9999;
}

ul#logos a {
    display: block;
    width: auto;
    cursor: pointer;
}

ul#logos li {
    background-color: #FFFFFF;
    display: inline-block;
    padding-left: 5px;
    margin-left: 50px;
}

div#copyright {
    clear: both;
    font-size: 10px;
    line-height: 12px;
    color: #FFF;
    margin: 0 auto 0 auto;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

#breadcrumbs {
    font-family: sans-serif;
    list-style-type: none !important;
    background-color: #fff;
    padding-left: 38px !important;
    padding-top: 4px;
    padding-bottom: 4px;
    color: #41382C;
}

#breadcrumbs li {
    display: inline;
}

#breadcrumbs li a {
    color: #3f6f9f;
    text-decoration: underline;
}

div#collheader h1 {
    display: none;
}

@media screen and (min-width: 768px) {
    #logos li:first-child {
        margin-left: 0;
        padding-left: 0;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    #logos li:last-child {
        margin-left: 15px;
        padding-left: 0;
        padding-top: 25px;
    }
}

@media screen and (max-width: 575px) {
    #collfooter {
        height: 100%;
    }

    #collfooter.row {
        margin: 0;
        padding-top: 25px;
    }

    #navcontainer {
        height: 100%;
    }

    #navcontainer .sf-menu {
        display: block;
    }

    ul#logos li {
        display: block;
        margin-left: 0;
        padding-left: 0;
        padding-top: 25px;
    }
}