@font-face {
  font-family: 'MontserratRegular';
  src: url('Montserrat-Regular.otf') format('opentype');
}

html {
	scroll-behavior: smooth;
}

body {
        font-family: MontserratRegular, sans-serif;
        background-color: #FFF;
        font-size:16px;
        color: #000;
	line-height:1.5;
}

body a {
	color:#693;
	text-decoration:none;
}

/*********
 * NAV   *
 *********/

/* a11y helpers */
.visually-hidden { 
    position: absolute !important;
    height: 1px; 
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap; /* added line */
}

.top-nav {
    background: #693;
    position: fixed;
    height: 3rem;
    width: 100%;
    margin-top: -8px;
    margin-left: -8px;
    z-index: 100;
    overflow: hidden;
}
.top-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    align-items: center;
    margin: 0;
	margin-left: -80px;
    height: 100%;
}
.top-nav li {
    display: flex;
    align-items: center;
}
.top-nav li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease-in;
    padding: 1rem 2ch;
}
.top-nav a.active:not([href="#landing"]) {
    background: #8B1;
}
.top-nav a.active[href="#landing"] img {
    top: -50px;
}
.top-nav a[href="#landing"] img {
    height: 36px;
    margin-top: -20px;
    top: 11px;
    position: relative;
    transition: top 0.3s ease-in;
}
.top-nav a[href="#landing"] span {
    display: none;
}
.top-nav #collapse {
    display: none;
}
.top-nav .collapse-dot {
    display: block;
    width: 4px;
    height: 4px;
    margin: 2px;
    background-color: #fff;
    transition: width .2s ease-out;
}

@media (max-width: 960px) {
    .top-nav {
        width: 48px;
        overflow: visible;
        padding: 0;
    }
    .top-nav ul {
        width: calc(100vw - 48px);
        height: auto;
        flex-direction: column;
        background: #693;
        position: absolute;
        top: 0px;
        margin: 0;
        padding: 0;
        z-index: 2;
        transform: translateX(100vw);
        transition: transform .2s ease-out;
    }
    .top-nav #collapse {
        display: flex;
        height: 100%;
        width: 100%;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .top-nav:hover .collapse-dot, .top-nav:focus-within .collapse-dot {
        width: 70%;
        height: 2px;
        margin: 3px;
    }
    .top-nav:hover ul, .top-nav:focus-within ul{
        transform: translateX(48px);
    }
    .top-nav:hover ul:after {
        content: "";
        position: absolute;
        height: 100%;
        width: 48px;
        left: -48px;
        top: 0;
    }
    .top-nav li {
        display: block;
        border-bottom: 1px solid #eee;
    }
    .top-nav li a {
        top: 0;
        padding: 16px 20px 15px;
        display: block;
        font-size: 16px;
    }
    .top-nav li a:hover {
        background: #8B1;
    }
    .top-nav a[href="#landing"] img {
        display: none;
    }
    .top-nav a[href="#landing"] span {
        display: inline;
    }
}


/*********
 * Main part   *
 *********/



section {
    min-height: 50vh;
    border-bottom: 1px solid transparent;
    padding-top: 3em;
}

h1 {
	color:#693;
	font-size:36px;
	margin-bottom:70px;
}

h2 {
	color:#000;
	font-size:24px;
	margin-top:70px;
	margin-bottom:40px;
}

h3 {	
	font-size:20px;
	margin-top:10px;
	margin-bottom:10px;
}

h4 {    
	font-family:'MontserratRegular', sans-serif;
	font-size:16px;
	margin-top:10px;
	margin-bottom:10px;
}

a {
    color:#693;
    text-decoration:underline;
}

table {
	font-family:'MontserratRegular', sans-serif;
    	background-color: #FFF;
	text-align:justify;
    	font-size:16px;
    	color: #000;
	line-height:1.5;
}

.centered {
    background-color: #FFF;
    color:#000;
    text-align:center;
    max-width:550px;
    margin-left: auto;
    margin-right: auto;
    margin-top:30px;
}
.mainframe {
    background-color: #FFF;
	text-align:justify;
    color:#000;
    max-width:600px;
    margin-left: auto;
    margin-right: auto;
}


.abstract {
	font-weight:bold;
	border-top: 2px solid #000;
	border-bottom: 2px solid #000;
	padding: 10px 0 10px 0;
	margin: 30px 0 50px 0;
}

.button {
	border: 2px solid red;
	border-radius: 0.5em;
	padding: 5px;
	margin:40px 0 40px 0;
        margin-left: auto;
	margin-right: auto;
	text-align:center;
        max-width:100px;
}



.collapsible {
  background-color: white;
  color: white;
  cursor: pointer;
  width: 100%;
border:none;
padding-top:0px;
  text-align: left;
  outline: none;
color:black;
}

.collapsible:hover{
 color: #693;}

.collapsible:focus-within{
 color: #693;
}

.entry{
border-bottom: 1px solid #000; 
margin-top: 0px;
margin-bottom: 0px;
}


.previewtext {
    background-color: #CF9;
    font-style:italic;
    top:0px;
    max-width:580px;
    margin-left: auto;
    margin-right: auto;
    padding:10px;
    position:fixed;
} 
 

.content {
  display: none;
  overflow: hidden;
margin-bottom:10px;
}

td {
	vertical-align: top; 
    padding-top:3px;
	padding-bottom:3px;
} 

.leftcol {
	vertical-align: top;
	text-align: left;
	line-height:1.2;
}

.footer {
	background-color: white;
    padding-top:30px;
	padding-bottom:20px;
	margin-left: auto;
	margin-right: auto;
	text-align:center;
    font-size:14px;
}



/*********
 * Bibbase   *
 *********/

.bibbase_group {
  font-style:normal;
	font-weight: bold;
	color: black;
  background-color: white;
  border-top: 1px solid white;
  padding-top: 1rem;
	padding-left: 0px;
	margin-top: 2rem;
	  margin-bottom: 2rem;
  text-align: left;
  font-size: 20px;
  outline: 0px;
	border-bottom: 1px solid #000;
}


.bibbase_body {
  position: relative;
  margin: 2rem;
}

#bibbase_header a {
    text-decoration: none;
}

#bibbase_header i {
    width: 16px;
    text-align: center;
    margin-right: 5px;
}

.bibbase_group_count {
  display: none;
}

.bibbase_group_head_icon {
  display: none;
}

.bibbase_group_body {
  line-height: 1.5em;
}


.bibbase_paper {
  margin-bottom: 20px !important;
  margin-right: 0em;
}

.bibbase_paper_title {
  display: block;
}

.bibbase_paper_author {
  display: block;
}

img.bibbase_icon {
  display: none;
}

.bibbase_stats_paper {
  display: none;
}


/* span.bibbase_icon_text { */
/*     display: none; */
/* } */

.bibbase_code {
  width: 100%
}

.comment {
  font-size: smaller;
  font-style: italic;
  color: gray;
}

.recommended {
  color: green;
}

/* bootstrap */

.bibbase_msg {
  text-align: center;
  width: 100%;
  margin: auto;
}

#bibbase_embed_modal {
  width: 70%;
  left: 15%;
  margin: 0;
}

.bibbase.well {
  /* margin: 20px; */
  overflow-wrap: break-word;
}

.bibbase.link {
  text-decoration: none;
}

.bibbase_paper_content {
  font-size: smaller;
}

.form-control {
  max-width: 66%;
}

.navbar-form {
  max-width: 66%;
}
