/** STYLE **/

/** GENERAL PARAMETERS **/

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    transition: all .2s linear;
}


a:link {
    text-decoration: none;
    color: inherit
}

a:visited,
a:hover,
a:active {
    color: inherit
}

figure img{
    border-width: 1px !important;
    border-style: solid;
    border-color: #b3b3b3 !important;
}

figcaption{
    font-size: 15px;
    font-style: italic;
}

h1 {
    font-size: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300 !important;
    padding: 5px;
}

h2 {
    font-size: 20px !important;
    font-family: 'Poppins', sans-serif;
}

h3 {
    font-size: 18px !important;
    display:block;
}

h4{
    font-size: inherit !important;
}

header {
    font-size: 5vw !important;
    text-align: center !important
}

hr {
    height: 1px;
    border-width: 1px;
    color: #000;
    background-color: #000;
    padding: 1px;
    margin-top: 1px;
}

img {
    margin: 2px;
    padding: 2px;
}


li {
    padding: 5px;
    font-weight:100 !important
}

p {
    margin: 2px;
}
table {
    padding: 10px;
    margin: 20px;
    text-align: center;
}

th {
    font-weight: normal;
}


/** COLUMNS **/

.mainbody {
    max-width: 800px;
    margin: auto; 
    row-gap: 15px;
}

.mainbody p {
    font-weight: 100;
}

.column {
    text-align: left;
}

.maincolumns {
    display: flex;
    flex-wrap: wrap;
    padding: 5px;
    width: 100%;
    margin: 5px;
    gap: 20px;
    margin-bottom: 30px;
}

.maincolumnsresult {
    display: flex;
    flex-wrap:wrap;
    padding: 5px;
    width: 100%;
    margin: 5px;
    gap: 20px;
}

.maincolumnshome {
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: center;
    padding: 25px;
    margin: 15px;
    gap: 50px;
}


.left {
    display: flex;
    flex-direction: column;
}

.leftsmall {
    display: flex;
    flex-direction: column;
    width: 25%;
}

.leftmedium {
    padding-left: 10px;
}

.leftmediumhome {
    padding-left: 10px;
    width: 55%;
    font-size: 20px !important;
}

.right {
    background-color: #ffffff;
    margin-bottom: 5px;
    vertical-align: top;
}

.rightsmall {
    margin-bottom: 5px;
    max-width: 20%;
}

#righthome {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; 
    align-items: center !important;    
    align-self: flex-start ;
}

.rightextrasmall {
    display: flex;
    align-content: left;
    margin-bottom: 5px;
    max-width: 10%;
}

.rightmedium {
    width: 45%;
}

.rightwide {
    background-color: #ffffff;
    width: 75%;
}

.center1 {
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: rgb(167, 166, 166);
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: rgb(167, 166, 166);
    padding-right: 10px;
    padding-left: 10px;
}

.center2 {
    border-left-width: 1px;
    border-left-color: rgb(167, 166, 166);
    border-left-style: solid;
    border-right-width: 1px;
    border-right-color: rgb(167, 166, 166);
    border-right-style: solid;
    margin: 10px;
    padding: 20px;
}

.sections{
    margin-bottom: 20px !important;
}

/** FOOTER **/
.boxfooter {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
    align-content: space-around;
    background-color: rgb(221, 59, 67);
    padding-top: 2%;
    padding-bottom: 2%;
}

#logosfooter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}


/** COLLAPSIBLE **/
.collapsible {
    background-color: indianred;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

.active,
.collapsible:hover {
    background-color: #555;
}

.content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
}


/** BUTTONS **/
.abutton {
    font-size: 20px;
    color: #ffffff;
    text-align: center;
    margin: 10px;
    padding: 30px;
    background-color: rgb(221, 59, 67);
}

.abutton:hover {
    transition: 0.3s ease-in;
    color: black;
    margin: 10px;
    padding: 30px;
    background-color: #ffffff;
}

.btn {
    background-color: rgb(221, 59, 67);
    border-color: rgb(221, 59, 67);
    color: white;
    padding: 3px;
    margin: 3px;
}

#buttons {
    font-family: 'poppins', sans-serif;
    font-weight: 300;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 4%;
}

.buttonborder {
    color: black !important;
    background-color: white !important;
    border-color: rgb(221, 59, 67) !important;
    border-width: 3px;
    max-width: 50% !important;
}

#toggle_all {
    align-content: center;
    width: 50%;
    color: black !important;
    background-color: white !important;
    border-color: rgb(221, 59, 67) !important;
    padding: 10px;
    margin: 8px 0;
    border-radius: 10px !important;
    cursor: pointer;
    font-size: inherit;
    min-width: 75px;
}

.subinfobutton {
    width: calc(80% - 1px);
    color: black !important;
    background-color: rgb(250, 140, 140) !important;
    border-style: none !important;
    border-radius: 10px !important;
    font-size: inherit !important;
}

.lastinfobutton {
    width: calc(80% - 1px);
    color: black !important;
    background-color: rgb(223, 223, 223) !important;
    border-style: none !important;
    border-radius: 10px !important;
    font-size: inherit !important;
    text-align: left !important;
}

.infobuttonred {
    width: calc(80% - 1px);
    font-family: 'Poppins', sans-serif !important;
    display: flex;
    align-content: center;
    color: white !important;
    background-color: rgb(221, 59, 67) !important;
    border-style: none !important;
    border-radius: 10px !important;
    padding: 10px;
    margin: 10px;
    box-sizing: border-box !important;
    height: 60px;
    font-size: inherit !important;
}



/** BREADCRUMBS **/
.breadcrumb {
    font-size: 15px;
}


/** EXTRA PADDING **/
.morepadding {
    padding-top: 0.5% !important;
    padding-left: 4%;
    padding-right: 4%;
    padding-bottom: 4%;
}

/** HOME **/
#homeheader {
    display: flex;
    flex-direction:column ;
    align-items: baseline;
    padding: 10px;
}

#homelist{
    text-decoration: underline; 
    text-decoration-color: rgb(221, 59, 67); 
    text-decoration-thickness: 2px
}


/*Navbar*/

.navbar-brand {
    transition: 0.3s ease;
    background: #ffffff;
    color: rgb(26, 25, 25);
    font-family: 'Poppins', sans-serif !important;
    font-size: 17px !important;
    text-decoration: none;
    padding: 0 10px;
    margin: 0 10px;
}

.navbar-brand:hover {
    background-color: rgb(221, 59, 67);
    color: #ffffff !important;
    padding: 9px 10px;
}

.navbar-toggler {
    border-radius: 0%;
}

.navbar-toggler-icon {
    padding-right: 10px !important;
}

.dropdown-menu {
    border-radius: 0% !important;
    margin-left: 0px !important;
    margin-top: 0px !important;
}

.dropdown-item:hover {
    background-color: rgb(221, 59, 67) !important;
    color: #ffffff !important;
    padding: 9px 10px;
}

.icon-down:before {
    content: "\25BC";
}

/*.navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
*/
.navbar-nav {
    --bs-nav-link-padding-x: 0;
    --bs-nav-link-padding-y: 0.5rem;
    --bs-nav-link-font-weight: bold !important;
    --bs-nav-link-color: var(--bs-navbar-color);
    --bs-nav-link-hover-color: var(--bs-navbar-hover-color);
    --bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);
    list-style: none;
    font-weight: 300;
}

#navparaheblogo {
    width: 150px;
    padding: 2px;
}

#current-page:hover {
    color: black !important
}


.page-item.active .page-link {
    color: white !important;
    background-color: rgb(221, 59, 67) !important;
    border-color: rgb(221, 59, 67) !important;
    box-shadow: none;
}

.page-link {
    color: #000 !important;
    background-color: white !important;
    border: 1px solid white !important;
}

.page-link:hover {
    color: white !important;
    background-color: rgb(221, 59, 67) !important;
    border-color: rgb(221, 59, 67) !important;
}


/** LOGIN AND USERS **/

.login{
    color: #ffffff !important;
    text-align: center; 
    align-content: center;
    margin-bottom: 30px;
    padding: 20px;
    width: 90px;
    font-size: inherit;
    background-color: rgb(221, 59, 67);
    border-radius: 10px;
}

.login:hover {
    color: black !important;
    transition: 0.3s ease-in;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #ffffff;
}

#userinput{
    width: 50%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 3px solid #ccc;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    outline: none;
}
      
#userinput:focus{
    border: 3px solid rgb(221, 59, 67);
}

#passwordinput {
    width: 50%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 3px solid #ccc;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    outline: none;
}

#passwordinput:focus {
    border: 3px solid rgb(221, 59, 67);
}

#createuser{
    display: flex;
    flex-direction: column;
    align-content: right;
}


/** DATABASE FORM **/
form {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    gap: 20px;
}

form.container {
    margin: 1px !important;
    padding: 1px !important;

}

.containerlatsearch{
    width: calc(100% - 1px) !important;
}

.optionhead{
    width: calc(100% - 1px) !important
}

#submitcontainer {
    width: 25%;
    position: sticky;
    top: 35% !important;
    align-items: left;
    margin: 1px;
    padding: 5px
}

#submitcontainer2 {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 35% !important;
    justify-content: center !important;
    padding-left: 10px !important;
}

input {
    font-family: 'Poppins', sans-serif !important;
    font-size: inherit;
}

input[type=submit] {
    align-content: center;
    width: 50% !important;
    color: black !important;
    background-color: white !important;
    border-color: rgb(221, 59, 67) !important;
    padding: 10px;
    margin: 8px 0;
    border-radius: 10px !important;
    cursor: pointer;
    font-size: inherit;
    min-width: 75px;
}

input[type=reset] {
    width: 50%;
    color: black !important;
    background-color: white !important;
    border-color: rgb(221, 59, 67) !important;
    padding: 10px 10px;
    margin: 8px 0;
    border-radius: 10px !important;
    cursor: pointer;
    font-size: inherit;
    min-width: 75px;
}

button[type=submit]{
    width: 50%;
}

.inputtext {
    width: 50% !important;
    border-bottom-width: 2px;
    border-color: #5b5b5b;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
}

.form-check-input {
    border-color: #5b5b5b !important;
    box-shadow: none !important;
}

.form-check-input::backdrop {
    background-color: #fd0d0d5e !important;
    border-color: #fa696989 !important;
    -webkit-box-shadow: inset 0 1px 1px #fd0d0d5e, 0 0 8px#fd0d0d5e;
    box-shadow: inset 0 1px 1px #fd0d0d5e, 0 0 8px #fd0d0d5e !important;
}

.form-check-input:checked {
    background-color: #fd0d0d5e !important;
    border-color: #fa696989 !important;
    -webkit-box-shadow: inset 0 1px 1px #fd0d0d5e, 0 0 8px#fd0d0d5e;
    box-shadow: inset 0 1px 1px #fd0d0d5e, 0 0 8px #fd0d0d5e !important;
}

#latAvSearch {
    font-size: inherit;
    font-weight: 400;
    padding-top: 35px;
    padding-right: 10px;
    padding-left: 10px;
}

#listoffilters {
    column-count: 2;
    column-gap: 10px;
}

#listoffilters li {
    break-inside: avoid;
}


/* Results */

#formresults h3 {
    font-size: 20px;
}

#formresults {
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: #e2e2e2;
}

#lateralsearch {
    font-size: small;
    width: 15%;
}

#listofresults {
    padding: 10px;
    margin: 10px
}

#tableresults {
    padding: 1px !important;
    margin: 1px !important;
    flex-shrink: 0 !important;
    width: 100% !important;
}

#tableresults thead th {
    background: rgb(250, 140, 140) !important;
    text-align: center;
    justify-content: center;
    align-items: baseline;
    vertical-align: middle;
}

#tableresults th,
td {
    padding-left: 5px;
    padding-right: 5px;
    border: #000;
    border-width: 1px;
}

div.dt-search label {
    font-size: small !important;
}

div.dt-length label {
    font-size: small !important;
}


.descriptiontitle {
    font-weight: normal;
}

#resultandimage {
    display: flex;
    justify-content: center;
    align-items: center;
}

#miniatureimage {
    max-width: 20px;
}

#miniatureimagemedium {
    max-width: 30px;
}

#filters {
    font-size: 14px !important;
  }

/** PARATEXT DETAIL */
.paratextfile {
    padding: 10px;
    margin: 10px;
    align-items: center;
    align-self: center;
    text-align: left;
    justify-content: left;
}

#paratextimage {
    max-width: 350px !important;
    padding: 10px;
    margin: 25px;
    align-items: right;
}

#Description td /*Table in paratextdetail*/ {
    font-weight: lighter !important;
}

#Description {
    text-align: left;
}


/*Manuscript Description*/
#msDescription {
    display: flex;
    text-align: left;
    align-self: center;
}

#imagecredit {
    font-size: smaller;
}

#printthis {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: start;
    padding: 20px;
    margin: 20px
}

#print {
    width: 40%;
    background-color: rgb(221, 59, 67);
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#manusinfo {
    padding: 10px;
    margin: 10px;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

/*paratext images*/

.paratextimage {
    padding: 10px;
    margin: 10px;
}

.wrapper {
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100px;
}

.wrapper .box {
    color: #555;
    cursor: pointer;
}

.wrapper .box:hover {
    color: brown;
    position: relative;
    z-index: 2;
}

.effect {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border-radius: 25px;
    top: 100;
    left: 100;
    transform: translate(2%, 35%) scale(.2);
    opacity: 0;
}

.wrapper .box:hover~.effect {
    transform: translate(26%, -129%) scale(1);
    opacity: 1;
}

.wrapperleft {
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100px;
}

.wrapperleft .box {
    color: #555;
    cursor: pointer;
}

.wrapperleft .box:hover {
    color: brown;
    position: relative;
    z-index: 2;
}

.effectleft {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border-radius: 25px;
    top: 100;
    left: 100;
    transform: translate(2%, 35%) scale(.2);
    opacity: 0;
}

.wrapperleft .box:hover~.effectleft {
    transform: translate(-100%, 2%) scale(1);
    opacity: 1;
}

.wrapperinstructions {
    text-align: center;
    position: relative;
    display: flex;
    justify-content: left;
    align-items: center;
    width: 400px;
    background-color: #ffffff;
    padding-top: 10px;
}

.wrapperinstructions .box {
    color: #555;
    cursor: pointer;
}

.wrapperinstructions .box:hover {
    color: brown;
    position: relative;
    z-index: 2;
}

.effectinstructions {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    top: 5;
    left: 5;
    opacity: 0;
}

.wrapperinstructions .box:hover~.effectinstructions {
    transform: translate(110%, -80%) scale(1);
    opacity: 1;
}

@media only screen and (max-width: 600px) {
    .wrapperinstructions .box:hover~.effectinstructions {
    transform: translate(70%, -80%) scale(1);
    opacity: 1;
};
.wrapperinstructions {
    text-align: center;
    position: relative;
    display: flex;
    justify-content: left;
    align-items: center;
    width: 90px !important;
    background-color: #ffffff;
    padding-top: 10px;
}
}

/* OTHER */

.download{
    margin: auto;
    max-width: 400px;
    background-color: rgb(221, 59, 67);
    color: white !important;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.popup-message:hover{
    cursor:help;
}

.popuptext{
    width: 400px !important;
    background-color: #ffffff;
    border-style: solid;
    border-color: rgb(221, 59, 67);
    border-radius: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    padding: 10px 5px 5px 10px;
}

.toggle-link .hidden {
    display: none;
}

#return {
    padding: 10px
}

#tag{
    font-size: 10px ;
    text-align: center;
}

.titleDB{
    display: flex;
}

.imgmanual{
    display: flex;
    justify-content: center;
    border-style: solid;
    border-color: #cecece;
    border-width: 1px;
    max-width: 600px;
    box-shadow: 3px 2px 2px #c7c7c7 !important;
    margin-bottom:25px;
    max-width: 600px !important;
}

.imgAbout{
    max-width: 600px;
    box-shadow: 3px 2px 2px #c7c7c7;
    margin-bottom:25px
}

/* Hide lateral search when the screen is too small */
@media only screen and (max-width: 600px) {
    #lateralsearch {
        display: none;
    }
}

.sticky-top {
    position: -webkit-sticky !important;
    position: sticky;
    top: 0;
    z-index: 1020;
}

/*Cookie banner*/
#cb-cookie-banner { 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    z-index: 999; 
    border-radius: 0;
    border-style: none; 
    display: none;
    color: rgb(190, 52, 59);
    background-color: #eeeeee;    
} 

.buttoncookie{
    margin: auto;
    max-width: 400px;
    background-color: rgb(207, 56, 64);
    color: white !important;
    padding: 10px 18px;
    margin: 10px;
    border: none;
    border-radius: 10px;
    cursor: pointer;

}

/* DEBUG */
/* * {border: 1px solid red !important;}  */
