/* Stylesheet for Digital Archive tweaks */

/***********************
THE CASCADE IS:
styles-mxsm-large.css
styles-mxsm-medium.css
styles-mxsm-small.css
styles-mxsm-menu.css
styles-mxsm.css   USE THIS FOR DIGITAL ARCHIVE FIXES
***********************/

/*
Blue		#21759b

Nav hover 	#2A95C5
Nav active	#21759b

Link		#21759b
Link hover	#2A95C5

*/

/* FIXES from main Styles.css */

#titlediv h1,
#titlediv h2,
#titlediv p {
    color: #444;
}

#titlediv h1:hover,
#titlediv h2:hover,
#titlediv p:hover {
    color: #21759b;
}

#titlediv h1 {
    font-size: 2rem;
}

#titlediv h2 {
    font-size: 1.5rem;
}

.topnav a {
    font-size: 0.9rem;
}

.introtext {
    width: 80%;
    margin: auto;
    padding-bottom: 1rem;
}

@media (max-width: 767px) {
    .introtext {
        width: 100%;
    }

    h1,
    h2 {
        padding-bottom: 20px;
    }
}

.spacer {
    height: 75px;
    width: 100%;
}

div.nav-sections {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    flex-wrap: wrap;
}

a.nav-sections {
    text-align: center;
    padding: 2px 4px;
    margin: 10px 5px;
    font-size: 0.9em;
}

@media (max-width: 767px) {
    a.nav-sections {
        padding: 2px 4px;
        margin: 10px 5px;
        font-size: 0.9em;
    }
}

div.mxsm-container h3 {
    /* padding-top: 50px; */
}

/* SOURCE: https://stackoverflow.com/questions/8572952/border-length-smaller-than-div-width */
div.mxsm-container h3:before {
    content: "";
    position: absolute;
    left: 25%;
    margin: -15px;
    height: 1px;
    width: 50%;
    border-bottom: 1px solid #ccc;
}

#mxsmlist {
    column-count: 1;
    column-gap: 5em;
    padding: 0;
    margin: 0;
    margin-left: 10px;
}

.mxsmlist li {
    list-style-type: none;
    padding-bottom: 1.5em;
    line-height: 1.3em;
    clear: both;
    font-weight: normal;
}

.mxsmlist li .mobbr {
    display: none;
}

@media (max-width: 767px) {
    .mxsmlist li .mobbr {
        display: inline;
    }

    ul.mxsmlist {
        margin-left: -30px;
    }
}

a.mxsm-button {
    color: #21759b;
    background-color: rgba(33, 117, 155, 0.06);
    border: 0;
    font-size: 0.7em;
    border-radius: 3px;
    text-align: center;
    text-decoration: none;
    padding: 2px 3px;
    margin-left: 5px;
    margin-right: 5px;
    transition-duration: 0.3s;
    cursor: pointer;
}

a.mxsm-button:hover {
    background-color: #21759b;
    color: white;
}
