h1.title {
	font-size: 1.3em;
	color: #9e131e;
	display: inline-block;
	padding-left: 30px;
}

.title h1 {
	font-size: 260%;
    color: #333;
    float: right;
    margin: 0 !important;
}

h3.ds-div-head,
h3.ds-head {
  color: #9e131e;
}

.page-header {
	border-bottom: none;
}

a.lief, a.lief:visited {
        text-decoration: none;
}

#face-wrapper {
      	background: #fff;
        }

.container.topsearch {
        display: none;
	background: #f0f0f0;
}

.col-xs-12.br1 {
	border: none;
}


.form-control {
	padding: 0;
}

.artifact-title img {
    width: 20px;
    margin-right: 5px;
}

.ds-artifact-item {
    padding-top: 15px;
}

.item-summary-view-metadata h1 {
    font-size: 170%;
    line-height: 24px;
    text-align: left;
    padding-bottom: 10px;
    font-weight: bold;
}

#front-search {
	padding: 30px 0;
}

.abstract {
    font-style: italic;
    padding: 15px 0;
}

ul#tabmenu li.active,
ul#tabmenu2 li.active {
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 2px solid #FCF5F5;
    font-weight: bold;
}

ul#tabmenu li,
ul#tabmenu2 li{
    list-style: none;
    position: relative;
    height: 40px;
    text-align: center;
    line-height: 50px;
    margin-bottom: -1px;
}

ul#tabmenu li {
	float: left;
}

ul#tabmenu2 li {
        float: right;
}

.ds-div-head,
.ds-head {
	color: #000;
	font-weight: bold;
}

.head {
    /*border-bottom: 1px solid #ccc;*/
    line-height: 29px;
    margin: 20px 0 0 0;
}

h2 {
	font-size: 160%;
}

#ds-options h2 {
	font-size: 16px;
	font-weight: normal;
	border-bottom: none;
}

.tt {
	padding-left: 15px;
}

#tabcontent #print img, #tabcontent #manuscript img, #copy img,
#tabcontent2 img {
    width: 100%;
}

#manuscript {
    max-width: 100%;
}

#transcript {
	font-size: 0.9em;
}

#transcript blockquote {
	font-size: 1em;
}

#tabcontent,
#tabcontent2 {
    border-top: 1px solid #D8E8EB;
    width: 100%;
    height: 60em;
    /*overflow-y: scroll;*/
    padding: 15px 2px;
    clear: both;
    margin-bottom: 25px;
    resize: vertical;
    overflow-y: scroll;
}

#tabcontent p.noindent,
#tabcontent2 p.noindent {
        text-indent: 0px;
}


#tabcontent p,
#tabcontent2 p {
	text-indent: 15px;
}


.MathJax_Display {
    font-size: 0.8em;
}

#search {
    font-size: 14px;	
    cursor: pointer;
    color: gray;
    font-family: Nunito Sans Bold,Arial,sans-serif;
}

.c-nosearch__icon {
	display: none;
}

.c-nosearch__icon:hover,
.c-search__icon:hover,
#search:hover {
	color: #92131e;
}

.input-group.topnav {
    width: 100%;
    padding: 10px 0;
}


.btn.top-search {
    width: 13%;
    background-color: #9e131e;
    float: right;
    color: white;
}

.ds-text-field.top-search {
	width: 85%;
	color: #333;
}


#ds-face {
	padding-top: 25px;
	font-family: Nunito Sans,Helvetica,Arial,sans-serif;
	display: block;
	margin: auto;
	float: right;
	color: var(--color-dark-grey);
	letter-spacing: 0.01em;
	line-height: 28px;
}

#ds-face-logo-text {
	margin: auto;
	padding: 15px 0 0 50px;
	color: #222;
	font-size: 24px;
	letter-spacing: 0.01em;
	line-height: 28px;
}

#sub-logo {
	float: right;
	margin-top: 15px;
}

#clear, .clear {
	clear: both;
}

.ds-logo-wrapper {
	float: left;
	padding: 0 1em 0 0;
}

p.intro-text {
	font-size: 1.1em;
	text-align: justify;
}

.uncertain {
	background-color: #ccc;
	display: inline-block;
	padding: 0 5px;
	margin-right: 5px;
	border: 1px solid #ccc;
	border-radius: 10px;
}

.info-source {
	color: #104b80;
	display: none;
}

span[class^="source-"], span.source {
	color: #104b80;
	vertical-align: top;
	position: relative;
	top: -0.3em;
	font-size: 0.8em;
	cursor: pointer;
}

.icon {
	background: url("/themes/Mirage2/images/gauss-icons.png") -96px 0 no-repeat;
	background-position-x: -96px;
	background-position-y: 0px;
	background-position-x: -96px;
	background-position-y: 0px;
	border: 0;
	color: #999;
	display: inline-block;
	height: 24px;
	margin: 0 5px 0 0;
	text-indent: -9999px;
	vertical-align: middle;
	position: relative;
	top: -1px;
	width: 24px;
}

.icon.missing {
	background-position: 0 -24px;
}
.icon.ms /* manuscript */ {
	background-position: -24px 0;
}
.icon.scan /* scan */ {
	background-position: -24px -24px;
}
.icon.tp /* typewritten */ {
	background-position: -48px 0;
}
.icon.mg /* microfilm */ {
	background-position: -48px -24px;
}
.icon.fac /* facsimile */ {
	background-position: -72px 0;
}
.icon.pfac /* part facsimile */ {
	background-position: -72px -24px;
}
.icon.print /* print */ {
	background-position: -96px 0;
	display: inline-block;
}
.icon.pprint /* part print */ {
	background-position: -96px -24px;
}
.icon.reg /* regesta */ {
	background-position: -120px 0;
}
.icon.preg /* part regesta */ {
	background-position: -120px -24px;
}
.icon.de /* german */ {
	background-position: 0 -48px;
	margin: 0 2px -17px -29px;
}
.icon.en /* english */ {
	background-position: -24px -48px;
	margin: 0 2px -17px -29px;
}
.icon.ru /* russian */ {
	background-position: -48px -48px;
	margin: 0 2px -17px -29px;
}

.item-summary-view-metadata .simple-item-view-otherpart ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.simple-item-view-otherpart ul li {
	padding: 5px 0;
}

.navbar-static-top, .footer {
	background-color: #f0f0f0;
}

.footer {
	background: #000 !important;
	font-family: Nunito Sans Bold,Arial,sans-serif;
}

.footer-bottom, .footer-bottom a {
	color: white;
}

.footer-bottom {
	background: black;
	padding: 15px;
}

footer  .row > div {
	border: none;
	padding: 20px;
}

footer > .row > div > a {
	color: white;
}

.footer img {
	height: 30px;
	padding-left: 10px;
}

.stat-nav {
	float: right;
	font-size: 1.5em !important;
	color: black !important;

}

.stat-nav a {
	text-decoration: none;
	display: inline-block;
	padding-left: 15px;
	font-size: 14px;
	color: gray;
	font-family: Nunito Sans Bold,Arial,sans-serif;
}

.stat-nav a:hover {
    color: #92131e;
    text-decoration: underline;
}


.lang-menu {
    display: inline-block;
    padding: 0;
    list-style: none;
}

#ds-language-selection {
    background-color: transparent;
    list-style: none;
}

.dropdown-menu {
	min-width: 0;
}

.c-search__icon,
.c-nosearch__icon {
    width: 1em;
    margin-right: .25em;
    line-height: 1;
    vertical-align: middle;
}

/*.c-search__icon {
	display: inline-block;
}*/

.more, .less {
                cursor: pointer;
                text-decoration: underline;
		color: #9e131e;
        }

ul#tabmenu {
    padding-left: 0;
}

#tabcontent #print, 
#tabcontent #transcript,
#tabcontent #manuscript, 
#tabcontent #copy {
    display: none;
}


#transcript img, 
#certificate img {

    max-width: 100%;

}

a.toggle-text {
	cursor: pointer;
}
div.toggle {
	display:none;
}

#language-dropdown-toggle-xs {
	background-color: transparent;
	color: grey;
}

.ds-artifact-item img {
/*    width: 20px;*/
    vertical-align: -5px;
    margin-right: 5px;
}

.footer > .container > .col-xs-12,
.footer > .container > .col-sm-12 {
    padding-bottom: 15px;
    font-size: 0.8em;
}

#sub {
    padding-top: 5px;
}

ul.breadcrumb {
    padding: 8px 0;
}

.breadcrumb > li + li::before {
    content: "> ";
}

#ds-options {
	padding-top: 0;
}

#sidebar {
	margin-bottom: 15px;
	margin-top: 15px;
}

#aspect_discovery_SimpleSearch_div_search-results .ds-artifact-item {
	margin-bottom: 0;
}

.previous-page-link,
.next-page-link {
	font-weight: bold;
}

.nofile {
	font-size: 1.2em;
	font-weight: bold;
	padding: 15px;
	margin: 15px 0;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}

.navbar-header.pull-right.visible-xs.visible-sm.hidden-md.hidden-lg {
	margin-right: 15px;
}

.navbar-brand > a {
    color: #000;
    text-decoration: none;
}

.admin {
    margin: 15px;
}

#main-container .row-offcanvas {
    min-height: 50vh;
}

.leaf {
    text-decoration: none;
}

@media screen and (min-width: 991px) {
/*	#sidebar {
		padding-top: 0;
	}
	*/
	.container.topsearch {
                display: none;
        }
	
	ul#tabmenu li,
	ul#tabmenu2 li{
	    width: 120px;
	}

	.scrollable {
		overflow-y: auto;
		 height: 100vh;
	}
}

@media screen and (max-width: 990px) {
	#sidebar {
                padding-top: 15px;
		padding-right: 15px;
		background-color: #9e131e !important;
        }

	ul#tabmenu li,
        ul#tabmenu2 li{
            width: 110px;
        }


	.navbar-toggle {
		margin-right: 0 !important;
	}

	a.list-group-item.ds-option,
       	.h5.list-group-item-heading,
	.ds-option-set-head.h6,
	#ds-search-form fieldset div.radio	{
		color: white !important;
	}

	a.list-group-item:hover, a.list-group-item:focus {
	background-color: #770e17;
	}
}

@media screen and (max-width: 767px) {
	#face-wrapper {
                margin-top: 0;
        }
}

@media screen and (max-width: 480px) {
	/*body {
		font-size: 12px !important;
	}*/
	#face-wrapper,
        .container.topsearch	{
		background-color: #f0f0f0;
	}

	#ds-face {
		padding-top: 0px;
	}

	.stat-nav {
		margin-bottom: 0px;
	}

	.ds-logo-wrapper {
		max-width: 40%;
	}
	.btn.top-search {
		padding: 2px 0;
	}
	img.logo {
		max-width: 90%;
	}

	.less, .intro-text.ff {
		display:none;
	}

	.second {
	    padding-top: 15px;
	}
	
	.footer img {
	    height: 20px;
	 }

	 ul#tabmenu li,
        ul#tabmenu2 li{
            width: 100px;
        }

	span#totop {
		left: 85vw !important;
		bottom: 10vh !important;
		z-index: 90;
	}
}

#aspect_artifactbrowser_ItemViewer_div_item-view .noint {
    text-indent: revert;
}

.flushright {
    float: right;
}

.locnav {
    background-color: #f7f7f7;
    padding: 5px 5px;
    margin-top: 15px;
}

.locnav span {
	color: #555;
	cursor: pointer;
	text-decoration: underline;
}

#aspect_discovery_RelatedItems_div_item-related-container {
  display: none;
}

#aspect_browseArtifacts_CommunityBrowse_div_community-browse,
#aspect_browseArtifacts_CollectionBrowse_div_collection-browse {
  display: none;
}

/*a.list-group-item:nth-child(2), */
a[href$="/browse?type=gs"] {
  display: none;
}

header {
  top: 0;
  position: sticky;
  background: white;
  z-index: 999;
}
.pagination-simple.clearfix {
    background: #f0f0f0;
}

.shorttitle {
    padding-right: 15px;
    padding-top: 5px;
}

.navbar-toggle.sm {
    margin-top: 0;
}

#ds-search-form .btn-primary {
    background: #333;
}

.glyphicon.glyphicon-search {
    color: #333;
}

#ds-search-form .glyphicon-search {
    color: #fff;
}

.cm-link.cn-learn-more {

    display: none !important;
}

.simple-item-view-show-full a{
    text-decoration: none;
    color: white;
}

