html {
    font-size: 20px;
    font-family: Times;
}

a:link, a:link:hover, a:link:focus {
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

.btn:focus, .btn.focus {
    border: 1px solid blue;
}

a.btn, 
.breadcrumb a,
.nav-link {
    text-decoration: none !important;
}

.text-decoration-none {
    text-decoration: none !important;
}

#skip2main a {
    position: absolute;
    left: -999px;
    top: auto;
    overflow: hidden;
}

#skip2main a:focus {
    background: #A03B27;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 15px 23px 14px;
    left: auto;
    transition: all .2s ease-in-out;
    z-index: 9999;
    width: auto;
    height: auto;
}



header,
footer,
nav,
.nav {
    font-weight: 500;
}

nav.breadcrumb {
    padding-left: 0;
}

nav ul.flex-column {
    font-size: .9rem;
}

nav ul.flex-column .nav-link {
    padding: .5rem;
}

#main-content {
    padding-bottom: 1rem;
}

h1 {
    margin-bottom: 2rem;
}

h2+h3,
h3+h4 {
    margin-top: 1.5rem;
}

header h4 {
    margin-bottom: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    color: #000;
}

header a,
header a:visited,
header a:hover,
header a:focus,
footer a,
footer a:visited,
footer a:hover,
footer a:focus {
    color: #363635;
}

header .dropdown-menu {
    -webkit-box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.3);
    font-size: .95rem;
    border: 2px solid #000;
    padding: 20px;
}

header li#accounts .dropdown-menu {
    padding: 0.5rem 0;
}

header .dropdown-menu a {
    color: #9B2822;
    font-weight: normal;
}

header .dropdown-menu a:hover,
header .dropdown-menu a:focus {
    color: #5c1814;
}


header .dropdown-menu a.h4 {
    margin-bottom: 2rem;
    display: inline-block;
}

.close-menu {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
    z-index: 1;
}

.close-menu span {
    color: #687C2F;
}

header .dropdown-menu a.close-menu {
    position: relative;
    display: block;
    float: right;
}

dt a {
    font-weight: normal;
}

dd {
    margin-bottom: 1rem;
    /*color: #676767;*/
}

footer {
    font-size: .9rem;
    margin: 0;
    font-weight: bold;
}

footer h3 {
    font-size: 1rem;
}

footer .social-media a {
    font-size: 1.3rem;
}

footer .nav-link {
    padding-left: 0;
}

.site-footer-wordmark {
    display: block;
    background-color: #000;
    background-image: url(/images/bowdoin/wordmark-black_2x.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin: 15px 0 0 0;
    width: 86px;
    height: 33px;
}


.site-footer-wordmark:hover,
.site-footer-wordmark:focus {
    background-image: url(/images/bowdoin/wordmark-white-136-52_2x.png);
}

h1 {
    color: #687C2F;
}

/*
h2 {
    color: #595A4A;
}
*/
ul {
    list-style-type: disc;
}

ul ul {
    list-style-type: circle;
}

ul ul ul {
    list-style-type: square;
}

ul ul ul ul {
    list-style-type: disc;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 1.5rem 0;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    display: inline-block;
    width: auto;
}

label {
    margin-bottom: 0;
}

footer>ul,
header>ul {
    list-style-type: none;
}

/*aside {
    font-size: .90rem;
}*/

.breadcrumb {
    visibility: hidden;
}

@media (min-width: 576px) {
    .breadcrumb {
        visibility: visible;
    }
}

.stripeMe {
    background-color: rgba(0, 0, 0, 0.05);
}

.noStripeMe {
    background-color: transparent;
}

.gsc-control-searchbox-only.gsc-control-searchbox-only-en>*,
.gsc-control-searchbox-only.gsc-control-searchbox-only-en>*:before,
.gsc-control-searchbox-only.gsc-control-searchbox-only-en>*:after {
    box-sizing: content-box;
}

div.gsc-tabHeader:nth-child(-n+3),
div.gsc-tabHeader:nth-of-type(4),
div.gsc-tabHeader:nth-of-type(5),
div.gsc-tabHeader:nth-of-type(6),
.gsc-tabsArea,
.gsc-above-wrapper-area,
.gsc-resultsHeader,
.gsc-refinementsArea {
    display: none;
}

.gsc-table-result,
.gsc-thumbnail-inside,
.gsc-url-top {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.gsc-control-cse, .gsc-control-cse .gsc-table-result {
    font-size: 16px !important;
}

.gsc-results .gsc-cursor-box .gsc-cursor-page {
    margin-right:14px !important;
}

.gsc-results .gsc-cursor-box .gsc-cursor-current-page{
    color:blue !important;
}

@media (max-width: 991px) {
    table.gsc-search-box td {
        display: table-cell;
        /*position: inherit;*/
        border: 0;
    }

    table.gsc-search-box tr {
        border: 0;
    }
}

.bg-faded {
    background-color: #d2cec7;
}

#brand {
    background-color: #000;
    font-size: .8rem;
    min-height: 46px;
}

#brand a:hover,
#brand a:focus {
    text-decoration: none;
}

#brand ul {
    width: 100%;
}

@media (min-width: 576px) {
    #brand ul {
        width: inherit;
    }
}

#college-brand {
    margin-left: -17px;
}





/*#library-brand {
    font-size: 1.65rem;
    color: #e8e8e8;
    position: relative;
    left: 0;
    top: 0;

}

#library-brand img {
    position: relative;
}*/


/*span#v-bar:after {
    content: '|';
    display: inline-block;
    -ms-transform: scale(0.5, 2.5);
    -webkit-transform: scale(0.5, 2.5);
    transform: scale(0.5, 2.5);
    padding-bottom: 2px;
    position: relative;
    left: -4px;
}*/

/*class .main-nav-item inside #main-nav is used
only for Google Tag Manager trigger, not for 
styling*/

#main-nav {
    color: #353535;
    min-height: 63px;
}

@media (min-width: 992px) {
    #main-nav {
        min-height: inherit;
    }
}

#main-nav .navbar-toggler {
    z-index: 2;
}

#main-nav .navbar {
    padding-top: .75rem;
    padding-bottom: .75rem;
}

#main-nav .nav-link {
    font-weight: bold;
}

.dropdown-toggle {
    text-transform: uppercase;
}

.dropdown-toggle:hover,
li#ask-us a:hover,
.dropdown-toggle:focus,
li#ask-us a:focus {
    color: #9B2822 !important;
}

.dropdown-toggle#navbarDropdownMenuLink5:hover {
    color: white !important;
}


#main-nav .navbar-nav>li.dropdown,
#main-nav li#ask-us {
    font-size: .95rem;
}

@media (min-width: 768px) {
    #main-nav li#ask-us {
        position: relative;
        margin-left: auto;
    }

    #main-nav .navbar-nav>li.dropdown {
        border-bottom: 0;
        margin-right: 1rem;
    }

    #main-nav .navbar-nav>li.dropdown:last-of-type {
        margin-right: 0;
    }

    .dropdown.full-width {
        position: static;
    }
}

@media (min-width: 992px) {
    #main-nav li#ask-us {
        margin-right: 92px;
    }

    #main-nav .navbar-nav>li.dropdown {
        margin-right: 2rem;
    }
}


.dropdown-menu {
    width: 100%;
}

#accounts .dropdown-menu {
    width: inherit;
}

#brand .dropdown.full-width {
    position: static;
}

@media (min-width: 1200px) {
    #main-nav .navbar-nav>li.dropdown {
        /*margin-right: 1.25rem;*/
        margin-right: 5rem;
    }
}

/*.nav-tabs>li>a {
    margin: 0;
    padding: 10px;
    font-weight: 600;
    text-align: center;
    color: #676767;
    border: 1px solid transparent;
    position: relative;
    display: block;
    text-decoration: none;
    border-top: 2px solid transparent;
}

.nav-tabs>li>a:hover,
.nav-tabs>li>a:focus {
    color: #353535;
    cursor: pointer;
    text-decoration: none;
    border-top: 2px solid #687C2F;
}

.nav-tabs>li>a.active,
.nav-tabs>li>a.active:hover,
.nav-tabs>li>a.active:focus {
    color: #353535;
    border: 2px solid #687C2F;
}

@media (min-width: 992px) {

    .nav-tabs>li>a.active,
    .nav-tabs>li>a.active:hover,
    .nav-tabs>li>a.active:focus {
        border: 1px solid #ddd;
        border-top: 2px solid #687C2F;
        border-bottom: 0;
    }
}

@media (min-width: 992px) {
    .nav-tabs .nav-item {
        margin-right: 3rem;
    }

    .nav-tabs>li>a {
        margin: 0;
        padding: 10px 15px;
    }

    #search-container .nav-tabs>li>a {
        font-size: 1rem;
        padding-top: 5px;
        padding-bottom: 5px;
    }
}*/

#hours-module {
    border-top: 1px solid #687C2F;
    border-bottom: 1px solid #687C2F;
    background-color: white;
    color: #676767;
    font-size: .9rem;
}

#hours-module .social-media {
    font-size: 1.2rem;
}

#hours-module a,
#hours-module a:visited {
    color: #676767
}

#hours-module .card {
    background-color: transparent;
    padding-top: 1.5rem;
}

#hours-module .card-block {
    font-size: 1rem;
}

#hours-module .card-block a.btn {
    margin: 1rem 0 0;
}

a.hours-button {
    z-index: 2;
    position: relative;
    display: block;
    text-align: left;
    letter-spacing: 0.02rem;
    font-size: .8rem;
    font-weight: bold;
}

a.hours-button:after {
    content: '\f0d7';
    color: white;
    font-size: 1.3rem;
    display: inline-block;
    font-family: FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    position: absolute;
    right: 17px;
    top: 5px;
}

@media (min-width: 768px) {
    a.hours-button {
        position: absolute;
        right: 1rem;
        display: inline-block;
    }

    a.hours-button:after {
        content: "";
    }
}

#hours-module table.hours-today {
    width: 80%;
}

#hours-module th.hours-col-loc {
    font-weight: normal;
    border-bottom: 1px dotted #b3b4b5;
}

#hours-module table.hours-today td {
    padding: 7px 0 7px 0;
    border: none;
    border-bottom: 1px dotted #b3b4b5;
}



/* for conflict between libcal/Springshare class and bootstrap class*/

.table-hover tbody tr:hover {
    background-color: transparent;
}


@media (min-width: 992px) {
    #hours-module table.hours-today td.hours-col-loc {
        width: 59%;
    }

    #hours-module table.hours-today td.hours-col-time {
        text-align: right;
        width: 41%;
    }
}

#hours-module span.fa {
    padding-right: 5px;
}


@media (min-width: 992px) {
    .overlay {
        background: rgba(0, 0, 0, 0.7);
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        display: none;
        z-index: 3;
    }
}







/*#hours-module .collapse.show {
visibility: visible;
display: block;
}

#hours-module .collapsing {
position: relative;
height: 0;
overflow: hidden;
-webkit-transition-property: height, visibility;
transition-property: height, visibility;
-webkit-transition-duration: 0.6s;
transition-duration: 0.6s;
-webkit-transition-timing-function: ease;
transition-timing-function: ease;
}*/


/*#hours-module .collapsing.width {
-webkit-transition-property: width, visibility;
transition-property: width, visibility;
width: 0;
height: auto;
}*/

.anchorjs-link.anchor,
.anchorjs-link.anchor {
    font-size: 2rem !important;
    color: #353535;
    text-decoration: none;
}

a.back-to-top {
    display: none;
    height: 40px;
    width: 40px;
    text-indent: -9999px;
    position: fixed;
    z-index: 9;
    right: 10px;
    bottom: 30px;
    background: url(/arch/libr/img/move-up.svg) center 50% no-repeat rgba(255, 255, 255, .7);
    box-shadow: 0 0 10px rgba(43, 43, 43, .5);
    white-space: nowrap;
}


span.extra:after {
    font-family: FontAwesome;
    position: relative;
    left: 3px;
    top: 3px;
    font-size: 1.25rem;
    content: '\f0d7';
    color: #9B2822;
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

a[aria-expanded=true] span.extra:after {
    content: '\f0d8';
}

a[data-toggle=popover] {
    text-decoration: none;
    cursor: pointer;
}

@media (min-width: 992px) {
    a.back-to-top {
        bottom: 30px;
        height: 60px;
        right: 30px;
        width: 60px;
    }
}

@media (min-width: 768px) {
    a.back-to-top {
        bottom: 20px;
        right: 20px;
    }
}

/*#accordion .card {
    border: 0;
    border-top: 1px solid #ccc;
}

#accordion .card,
.accordion .card-header:first-child {
    border-radius: 0;
}

#accordion .card-header {
    background-color: transparent;
    border-bottom: 0;
    padding: 0;
}

#accordion .card-header p {
    margin-bottom: 0;
    padding: .75rem;
    position: relative;
    cursor: pointer;
}

#accordion .card-header p:after {
    content: "\f196";
    font-family: FontAwesome;
    font-size: 2rem;
    position: absolute;
    color: #687C2F;
    top: 7px;
    right: 15px;
}

#accordion .card-header p[aria-expanded="true"]:after {
    content: "\f00d";
}*/

/*#accordion .card-header p a {
    display: inline-block;
    font-size: 1.3rem;
    width: 80%;
}

#accordion .card-header p a:hover {
    text-decoration: none;
}*/

.accordion .card-header>h2, .accordion .card-header>h3, .accordion .card-header>h4 {
    margin-bottom: 0;
}

.accordion .btn {
    padding-left: 2rem;
    position: relative;
}

/*.btn:focus, .btn.focus {
    box-shadow: none;
}*/
.accordion button::before {
    border-color: transparent;
    border-left-color: #555;
    border-style: solid;
    border-width: 0.35em;
    content: '';
    display: inline-block;
    height: 0;
    left: 20px;
    margin-top: -7px;
    position: absolute;
    top: 50%;
    width: 0;
    -webkit-transform-origin: 27% 50%;
    -ms-transform-origin: 27% 50%;
    transform-origin: 27% 50%;
    -webkit-transition: -webkit-transform .1s ease;
    transition: -webkit-transform .1s ease;
    -o-transition: transform .1s ease;
    transition: transform .1s ease;
    transition: transform .1s ease, -webkit-transform .1s ease;
}

.accordion button[aria-expanded="true"]::before {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.plist div.entry {
    border: solid 1px #C1C1B8;
    border-bottom-color: #e5e5da;
    border-right-color: #e5e5da;
    padding: 10px 5px 0 5px;
    margin: 10px 10px 20px 10px;
    /*overflow: hidden;*/
}

.plist div.entry p.nt {
    font-weight: bold;
    font-size: 1.17rem;
    /*line-height : 1.3;*/
}

.plist div.entry img {
    border: 1px solid #e5e5da;
    text-align: center;
    padding: 5px;
    margin: 5px;
    float: right;
}

.plist div.entry div.desc {
    color: #404040;
    /*line-height: 1.4rem;*/
    margin: 0;
}

.more {
    padding-top: 10px;
    padding-left: 7px;
    padding-right: 7px;
    align-self: flex-start;
}

.more h5,
.more .h5 {
    display: inline-block;
    border-bottom: 1px dotted #687C2F;
}

.more ul {
    margin-bottom: .5rem;
    padding-left: 1rem;
}

.more li {
    margin-bottom: .5rem;
}

.more ul.nav li {
    margin-bottom: 0;
}

.more-b {
    border: solid 1px #595A4C;
}


/*bootstrap 4.1.1 below*/

.container {
    position: relative;
}

#brand .dropdown-menu {
    position: absolute;
}

input,
button,
select,
optgroup,
textarea {
    font-family: "mr-eaves-xl-sans";
}

.custom-control-label::before,
.custom-control-label::after {
    top: 1px;
}

#accordion p span {
    display: block;
    font-size: 1.3rem;
    width: 80%;
    color: #9B2822;
}

#accordion p span:hover {
    text-decoration: none;
}

.external-icon {
    height: 20px;
    width: 20px;
    position: relative;
    background-image: url(/arch/libr/img/external-link-icon.svg);
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    margin-right: 15px;
}

.emergency-alert {
    border-bottom: 2px solid white;
    color: #000;
    position: relative;
    z-index: 8;
    background-color: #fffcc1;
    font-size:.8rem;
}

@media (min-width: 768px) {
    .emergency-alert {
        font-size: 1rem;
    }
}
/*
*:target {
    animation: mymove 3s;
    animation-iteration-count: 1;
    animation-delay: 1s;
}

@keyframes mymove {
    from {
        background-color: #ffff66;
    }

    to {
        background-color: transparent;
    }
}
*/
.carousel-control-prev:focus,
.carousel-control-prev:active,
.carousel-control-prev:hover,
.carousel-control-next:focus,
.carousel-control-next:active,
.carousel-control-next:hover {
    border: 2px solid blue;
    border-radius: .5rem;
}

.callout-panel.gray {
    background-color: #f5f5f5;
    border: 1px solid #b2b2b2;
    border-radius: .5rem;
    padding: 15px;
}

.callout-panel.dark-gray {
    background-color: #1c1c1c;
    color: #fff;
    border: 1px solid #7f7f7f;
    border-radius: .5rem;
    padding: 15px;
}

.callout-panel.dark-gray a,
.callout-panel.dark-gray a:visited,
.callout-panel.dark-gray a:focus,
.callout-panel.dark-gray a:hover,
.callout-panel.dark-gray a:active {
    color: #fff;
}

.callout-panel.yellow {
	 background-color: #FFFFE0;
	 border: 1px solid #e8e8cc;
	 border-radius: .5rem;
	 padding: 15px;
}

hr {
    border-top: 1px solid rgba(0,0,0,0.2);
}