/* Custom CSS for JRA-Portal, Dennis Ried 2019 */

.page-header {
    padding-top: 2em;
}

a{
    color: #641a85; 
	text-decoration: none;
}
a:focus,a:hover{
    color: #641a85; 
	font-weight: bold;
	text-decoration: none;
}

.navbar{
    background-color: #641a85;
    }

.navbar-text > a {
	color: inherit; 
	text-decoration: none;
}
.list-group-item.active:focus,.list-group-item.active:hover,.list-group-item.active{
    text-shadow:0 -1px 0 #286090;
    background-image:-webkit-linear-gradient(top,#a30cd1 0,#6e078a 100%);
    background-image:-o-linear-gradient(top,#a30cd1 0,#6e078a 100%);
    background-image:-webkit-gradient(linear,left top,left bottom,from(#a30cd1),to(#6e078a));
    background-image:linear-gradient(to bottom,#a30cd1 0,#6e078a 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);
    background-repeat:repeat-x;
    border-color:#6e078a;
/*    background: rgb(100,26,133);*/
/*    background: linear-gradient(189deg, rgba(100,26,133,1) 0%, rgba(153,153,153,1) 58%, rgba(100,26,133,1) 100%); */
    /*background-color: rgba(110, 7, 138, .85);*/
    color: white;
}
.jra {
    background-color: #641a85;
    color:white;
}

.heading {
    font-family: Montserrat;
    line-height:2;
}

h1,h2,h3,h4,h5,h6{
    font-family: Montserrat;
}
html {
    position: relative;
}
body {
    font-family: Merriweather;
    /*font-family: syntaxregular, Fallback, sans-serif;*/
/*    padding-top: 20px;*/
/*    padding-bottom: 20px;*/
    position: relative;
/*    height:80%;*/
}

.text-black{
    color:black;
}
.RegisterSortBox:first-of-type {
    width: 95%;
    margin-top: 0em;
    margin-left: auto;
    margin-right: auto;
/*    padding-top: 0.25em;*/
}
.RegisterSortBox {
    width: 95%;
    margin-top: 2em;
    margin-left: auto;
    margin-right: auto;
/*    padding-top: 0.25em;*/
}

.RegisterSortEntry {
    font-size: 1.1em;
    color: #641a85;
    text-align: center;
    font-weight: bold;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    background-color: #f0f0f0;
    border-bottom: 2px solid #641a85;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.RegisterSortEntry2 {
    font-size: 1.1em;
    color: #641a85;
    text-align: center;
    font-weight: bold;
    margin-left: 90px;
    margin-right: 90px;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    background-color: #f0f0f0;
    border-bottom: 2px solid #641a85;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.RegisterEntry {
    border-bottom: 1px solid LightGray;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    margin-bottom: 0.25em;
    margin-right: 0.75em;
    margin-left: 0.75em;
}

.RegisterEntry2 {
    border-bottom: 1px solid LightGray;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    margin-bottom: 0.25em;
    margin-left: 100px;
    margin-right: 100px;
}

.RegisterEntry:last-child
{
    border-bottom:none;
}

.myResearchInput {
                                 background-position: 2px 10px;
                                 background-repeat: no-repeat;
                                 width: 100%;
                                 font-size: 16px;
                                 padding: 12px 10px 12px 20px;
                                 border: 1px solid #ddd;
                                 margin-bottom: 12px;
                             }

.btn-jra {
  background-image: -webkit-linear-gradient(top, #641a85 0%, #641A85 100%);
  background-image:      -o-linear-gradient(top, #641a85 0%, #641A85 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#641a85), to(#641A85));
  background-image:         linear-gradient(to bottom, #641a85 0%, #641A85 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff651A85', endColorstr='#ff641A85', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  background-repeat: repeat-x;
  border-color: #641A85;
  color:white
}
.btn-jra:hover,
.btn-jra:focus {
  background-color: #f0f0f0;
  border-color:#777777;
  background-position: 0 -40px;
  color:black;
}
.btn-jra:active,
.btn-jra.active {
  background-color: #f0f0f0;
  border-color: #641A85;
}
.btn-jra.disabled,
.btn-jra[disabled],
fieldset[disabled] .btn-jra,
.btn-jra.disabled:hover,
.btn-jra[disabled]:hover,
fieldset[disabled] .btn-jra:hover,
.btn-jra.disabled:focus,
.btn-jra[disabled]:focus,
fieldset[disabled] .btn-jra:focus,
.btn-jra.disabled.focus,
.btn-jra[disabled].focus,
fieldset[disabled] .btn-jra.focus,
.btn-jra.disabled:active,
.btn-jra[disabled]:active,
fieldset[disabled] .btn-jra:active,
.btn-jra.disabled.active,
.btn-jra[disabled].active,
fieldset[disabled] .btn-jra.active {
  background-color: #641A85;
  background-image: none;
}

.btn-jra:not(:disabled):not(.disabled).active,
.btn-jra:not(:disabled):not(.disabled):active,
.show > .btn-jra.dropdown-toggle{
    color: #fff;
    background-color: #1d2124;
    border-color: #171a1d
}
.btn-jra:not(:disabled):not(.disabled).active:focus,
.btn-jra:not(:disabled):not(.disabled):active:focus,
.show > .btn-jra.dropdown-toggle:focus{
    box-shadow: 0 0 0 .2rem rgba(127, 185, 29, 0.5)
}

.btn-jra-annot {
  padding-right: 0.4em;
  padding-left: 0.45em;
  padding-top: 0em;
  padding-bottom: 0em;
  margin-left: 0.15em;
  font-size: 0.7em;
  vertical-align: super;
  border-radius: 100%;
}

.note-in-note {font-size: 0.6em!important;};

navbar-jra .navbar-brand{
    color: #641a85
}
.navbar-jra .navbar-brand:focus,
.navbar-jra .navbar-brand:hover{
    color: #641a85
}
.navbar-jra .navbar-nav .nav-link-jra .page-link-jra{
    color: #641a85 /*rgba(127, 185, 29, 0.5)*/
}
.navbar-jra .navbar-nav .nav-link-jra:focus .page-link-jra:focus,
.navbar-jra .navbar-nav .nav-link-jra:hover .page-link-jra:hover{
    color: #641a85/*rgba(127, 185, 29, .75)*/
}
.navbar-jra .navbar-nav .nav-link-jra.disabled{
    color: #641a85/*rgba(127, 185, 29, .25)*/
}
.navbar-jra .navbar-nav .active > .nav-link-jra,
.navbar-jra .navbar-nav .nav-link-jra.active .page-link-jra.active,
.navbar-jra .navbar-nav .nav-link-jra.show .page-link-jra.show,
.navbar-jra .navbar-nav .show > .nav-link-jra{
    color: #641a85; /*#641a85*/
}
.navbar-jra .navbar-toggler{
    color: rgba(255, 255, 255, .5);
    border-color: rgba(255, 255, 255, .1)
}
.navbar-jra .navbar-toggler-icon{
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")
}
.navbar-jra .navbar-text{
    color: rgba(255, 255, 255, .5)
}
.navbar-jra .navbar-text a{
    color: #641a85
}
    
.bg-jra{
    background-color: #641A85 !important
}
a.bg-jra:focus,
a.bg-jra:hover,
button.bg-jra:focus,
button.bg-jra:hover{
    background-color: blue !important
}

.nav-linkless-jra{
    display: block;
    padding: .5rem 1rem;
    /*font-weight: bold;*/
    font-family: Montserrat;
    color:#641a85;
    background-color: rgb(240, 240, 240)
}

.nav-link-jra{
    display: block;
    padding: .5rem 1rem;
    /*font-weight: bold;*/
    font-family: Montserrat;
    color:#641a85;
    background-color: rgb(240, 240, 240)
}
.nav-link-jra:focus,
.nav-link-jra:hover{
    text-decoration: none;
    font-weight:bold;
    color:white;
    background-color:#641a85
}
.nav-link-jra.disabled{
    color: grey;
    }

.page-link-jra{
    display: block;
    padding: .5rem 1rem;
    /*font-weight: bold;*/
    font-family: Montserrat;
    color:#641a85;
    background-color: rgb(240, 240, 240)
}
.page-link-jra:focus,
.page-link-jra:hover{
    text-decoration: none;
    font-weight:bold;
    color:white;
    background-color:#641a85
}
.page-link-jra.disabled{
    color: grey
    }
/*.nav-tabs .nav-item.show .nav-link-jra,
.nav-tabs {
    color: white;
    background-color: #641a85;
    /\* border-color: #dee2e6 #dee2e6 #fff *\/
}*/

.nav-link-jra-top{
    display: block;
    padding: .5rem 1rem;
    font-family: Montserrat;
    /*font-weight: bold;*/
    color: white
}
.nav-link-jra-top:focus,
.nav-link-jra-top:hover{
    text-decoration: none;
    font-weight:bold;
    color:#641a85;
    background-color:#f0f0f0
}

.back{
    padding: .5rem 1rem;
    font-family: Montserrat;
    color: white
}
.back:focus,
.back:hover{
    color:#641a85;
    font-family: Montserrat;
    background-color:#f0f0f0
}

.nav-link-jra-top.disabled{
    color: black
    }
.nav-tabs .nav-item-jra-top.show .nav-link-jra-top,
.nav-tabs .nav-link-jra-top.active{
    color: white;
    background-color: #641a85;
    /* border-color: #dee2e6 #dee2e6 #fff */
}

.badge-jra{
    color: #641a64;
    background-color: #f0f0f0
}

table.workView{
    width:100%;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}
table.workView tr:first-of-type td:first-of-type{
    width:30%;
    vertical-align:top;
}

table.personView{
    width:100%;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}
table.personView tr:first-of-type td:first-of-type{
    width:30%;
    vertical-align:top;
}

table.letterView{
    width:100%;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}
table.letterView tr:first-of-type td:first-of-type{
    width:20%;
    vertical-align:top;
}

table.institutionView{
    width:100%;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}
table.institutionView tr:first-of-type td:first-of-type{
    width:30%;
    vertical-align:top;
}

table.letterContentView{
    width:100%;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}
table.letterContentView tr:first-of-type td:first-of-type{
    width:20%;
    vertical-align:top;
}

table.letterContentRegeste{
    width:100%;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}
table.letterContentRegeste tr:first-of-type td:first-of-type{
    width:10%;
    vertical-align:top;
}

div.letterContentFullView{
    font-size: 1em;
    color:black;
    text-align: left;
/*    font-weight: bold;*/
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 2em;
    margin-bottom: 2em;
    margin-left: 2em;
    margin-right: 2em;
    padding-top: 1em;
    padding-bottom: 1em;
    padding-left: 1em;
    padding-right: 1em;
    background-color: #f8f8f8;
    border-top: 1.5px solid #641a85;
    border-bottom: 1.5px solid #641a85;
    border-left: 1.5px solid #641a85;
    border-right: 1.5px solid #641a85;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.sublevel {
    color: gray;
    font-size: 0.8em;    
}
.subNav {
    background-color: rgb(240, 240, 240);
}

.suggestedCitation{
    font-size: 0.8em;
    color:black;
    text-align: left;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 1em;
    margin-right: 1em;
    padding-top: 1em;
    padding-bottom: 1em;
    padding-left: 1em;
    padding-right: 1em;
    background-color: #f8f8f8;
    border-top: 1px solid #641a85;
    border-bottom: 1px solid #641a85;
    border-left: 1px solid #641a85;
    border-right: 1px solid #641a85;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.nav .active {
  font-weight: bold;
}
 
.nav .nav {
  display: none;
}
 
.nav .active .nav {
  display: block;
}
 
.nav .nav a {
  font-weight: normal;
  font-size: .85em;
}
 
.nav .nav span {
  margin: 0 5px 0 2px;
}
 
.nav .nav .active a,
.nav .nav .active:hover a,
.nav .nav .active:focus a {
  font-weight: bold;
}
 
.nav .nav .active span,
.nav .nav .active:hover span,
.nav .nav .active:focus span {
  
}
.affix {
  top: 10px;
}


.leftnav{
    
}
.start-catalog{
    
}

.btn-outline-jra{
    color: #007bff;
    background-color: transparent;
    background-image: none;
    border-color: #007bff
}
.btn-outline-jra:hover{
    color: #fff;
    background-color: #007bff;
    border-color: #007bff
}
.btn-outline-jra.focus,
.btn-outline-jra:focus{
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .5)
}
.btn-outline-jra.disabled,
.btn-outline-jra:disabled{
    color: #007bff;
    background-color: transparent
}

a.disabled{
    pointer-events: none;
    cursor: default;
}

span.hi {
    background-color:yellow;
    font-weight:bold;
}
/* Scroll to Top Button */
#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 25%;
    z-index: 9999;
    border: none;
    outline: none;
    background-color: #641a85;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.3s;
}

#scrollToTopBtn:hover {
    background-color: #4a1265;
    transform: scale(1.1);
}

#scrollToTopBtn:focus {
    outline: none;
}

.smufl-glyph {
    height: 1em;
    padding-bottom: 0.1em;
}

.smufl-like-letter {
    height: 1em;
    padding-bottom: 0.1em;
    font-size: larger;
    font-weight: 700;
}

hr.jra_pb-text {
  position: relative;
    border: none;
    height: 6px;
    background: #ddd;
    border-radius: 12px;
    margin-top: 1.75em;
    margin-bottom: 2.2em;
    color: #666; 
    font-size: 0.7em;
}

hr.jra_pb-text:before {
    content: attr(data-content);
    display: inline-block;
    background: #fff;
    font-weight: bold;
    font-size: 0.75rem;
    color: #999;
    border-radius: 30rem;
    padding: 0.2rem 1rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

span.upright {
    writing-mode: vertical-lr;
    text-orientation: upright;
    flex-direction: row-reverse;
    display: inline-flex;
    line-height: 1em;
    width: 1em;
}

/* Writing TOC Styles */
.writing-toc {
    margin-top: 2em;
    padding: 1.5em;
    background: #f9f9f9;
    border-left: 3px solid #641a85;
}

.writing-toc h4 {
    margin-top: 0;
    color: #641a85;
}

.writing-toc ul.toc-list {
    list-style: none;
    padding-left: 1em;
}

.writing-toc ul.toc-sublist {
    list-style: none;
    padding-left: 1.5em;
    margin-top: 0.5em;
}

.writing-toc ul.toc-list > li {
    margin: 0.3em 0;
}

.writing-toc ul.toc-sublist > li {
    margin: 0.2em 0;
    font-size: 0.95em;
}

.writing-toc ul.toc-sublist > li.toc-head {
    margin: 0.5em 0;
    font-weight: 600;
    color: #641a85;
}

.writing-toc a {
    color: #641a85;
    text-decoration: none;
}

.writing-toc a:hover {
    text-decoration: underline;
}