option.multi-default {
    font-style: italic;
}

html {
    height: 100%;
}

@font-face {
    font-family: 'Cuneiform';
    src: url(fonts/UllikummiA.ttf);
    unicode-range: U+1FFFD-100000, U+12000-12543;
    font-style: normal;
    size-adjust: 140%;
}

/*@font-face {
    font-family: 'CuneiformB';
    src: url(fonts/UllikummiB.ttf);
    unicode-range: U+12000-12543;
    font-style: normal;
}

@font-face {
    font-family: 'CuneiformC';
    src: url(fonts/UllikummiC.ttf);
    unicode-range: U+12000-12543;
    font-style: normal;
}*/

body {
    margin: 3%;
    margin-top: 120px;
    height: 100%;
}

h1 {
    text-align: center;
    font-family: 'Cuneiform', system-ui, sans-serif;
}

.navbar-brand {
    font-family: 'Cuneiform', system-ui, sans-serif;
}

li div.form-check {
    margin-left: 10px;
    margin-right: 10px;
}

#ack-link {
    cursor: pointer;
}

#acknowledgements-widget {
    display: none;
    position: fixed;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    z-index: 12;
    background-color: white;
    margin: 30px;
    left: 0; 
    right: 0; 
    top: 50%;
    transform: translateY(-50%);
    margin-inline: auto; 
    max-width: 35%;
}

#ack-contents {
    padding: 15px;
}

.btn-close {
    float: right;
    padding: 15px;
}

#main-search {
    width: 40%;
    font-family: 'Cuneiform', system-ui, sans-serif;
}

#virt-keyboard {
    background-color: var(--bs-tertiary-bg);
    border-style: none solid solid solid;
    border-width: 0 1px 1px 1px;
    border-radius: 0 0 5px 5px;
    margin-bottom: 20px;
}

#cthno {
    width: 85%;
    margin-left: 5px;
    margin-right: 5px;
    height: fit-content;
    flex-direction: column;
}

#cthlist {
    width: auto;
}

#invalidCTH {
    display: none;
}

.check-group {
    width: fit-content;
    margin-right: 5px;
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    padding-bottom: 10px;
}

.btn-success {
    height: fit-content;
    margin: 10px;
}

.dropdown {
    width: fit-content;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 10px;
}

.dropend {
    font-family: 'Cuneiform', system-ui, sans-serif;
}

.form-select {
    width: fit-content;
    margin-left: 5px;
    margin-right: 5px;
}

#lingtags {
    width: 85%;
    margin-right: 5px;
    margin-left: 5px;
    height: fit-content;
    flex-direction: column;
}

#tagsearch {
    width: auto;
}

.flex-container {
    flex-direction: row;
    display: flex;
    align-content: center;
}

.main-box {
    display: flex;
    height: 65%;
    margin-top: 10px;
}

.result-area {
    background-color: lightgray;
    border-radius: 5px;
    flex: auto;
}

.result-container {
    flex: 1 1 auto;
    margin-right: 15px;
    display: flex;
    flex-direction: column;

}

#result-num {
    text-align: right;
    display: none;
}

.result-line, #problem-warning {
    margin-left: 20px;
    margin-top: 15px;
    margin-bottom: 15px;
}

#problem-warning {
    display: none;
}

.bi-copy.btn {
    padding: 2px 6px;
}

.bi-copy:hover {
    cursor: pointer;
}

.bi-card-heading.btn {
    padding: 2px 6px;
}

.bi-card-heading:hover {
    cursor: pointer;
}

pre {
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.words-block {
    display: flex;
    flex-wrap: wrap;
}

.word-container {
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.clause {
    font-weight: bold;
    font-style: normal;
    display: none;
    color: blue;
}

clausenum {
    vertical-align: super;
    font-size: smaller;
    font-weight: bold;
}

.tag {
    position: relative;
    display: none;
    padding-bottom: 10px;
    padding-right: 15px;
    font-style: normal;
}

.tag:hover {
    cursor: context-menu;
}

.hover-box {
    display: none;
    font-size: small;
    position: absolute;
    background-color: white;
    z-index: 10;
    left: 0%;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    white-space: pre;
    overflow-y: auto;
    font-style: normal;
    font-family: sans-serif;
}

.cuneiform-line {
    font-family: 'Cuneiform';/*, 'CuneiformB', 'CuneiformC';*/
    display: none;
    text-wrap: wrap;
    word-break: break-all;
}

.gap, .parsep, .space {
    background-color: darkred;
    color: white;
    font-style: normal;
    font-weight: bold;
    padding-top: 3px;
    padding-bottom: 2px;
    border-radius: 7px;
}

mark {
    border-radius: 4px;
}

.progress-container {
    margin: 25px;
    width: 50%;
}

.progress {
    height: 35px;
}

.progress-bar {
    background-color: rgb(51, 51, 51);
    font-size: larger;
}

/*These control the appearance of the corpus-specific XML tags*/

d {
    vertical-align: super;
    font-size: smaller;
    font-style: normal;
}

pre {
    font-style: italic;
}

sGr {
    font-style: normal;
}

num {
    font-style: normal;
}

.corr {
    vertical-align: super;
    font-size: smaller;
    font-style: normal;
}

.laes {
    font-style: normal;
}

.del {
    font-style: normal;
    vertical-align: bottom;
    font-size: medium;
}

p_f_footnote .del, p_f_footnote .laes {
    font-size: smaller;
}

.note-ref {
    font-style: normal;
    vertical-align: super;
    font-size: smaller;
    font-weight: bold;
    color: blue;
}

.note-container {
    display: flex;
}

.note-mark {
    font-style: normal;
    vertical-align: super;
    font-size: smaller;
    font-weight: bold;
    color: blue;
}

.result-note {
    font-size: smaller;
    margin-bottom: 0px;
    margin-top: 0px;
    font-style: normal;
    display: inline;
    text-wrap: wrap;
    margin-right: 20px;
}

.bi-translate {
    cursor: pointer;
    margin-right: 20px;
}

sp_f_ao_3a_corr {
    vertical-align: super;
}

sp_f_ao_3a_hittite {
    font-style: italic;
}

sp_f_ao_3a_determ {
    vertical-align: super;
    font-size: smaller;
}

SP_f_AO_3a_Hittite {
    font-style: italic;
}

SP_f_AO_3a_Determ {
    vertical-align: super;
    font-size: smaller;
}

SP_f_AO_3a_-LIT {
    font-style: italic;
}

SP_f_AO_3a_AkkGRAM {
    font-style: italic;
}

SP_f_AO_3a_Akkadian {
    font-style: italic;
}

SP_f_AO_3a_Luwian {
    font-style: italic;
}

Akk {
    font-style: italic;
}

SP_f_AO_3a_LIT {
    font-style: italic;
}

/*Media queries for responsive design*/


@media only screen and (max-width: 1850px){
    #acknowledgements-widget {
        max-width: 55%;
    }

    #main-search {
        width: 65%;
    }
}

@media only screen and (max-width: 800px){
    #acknowledgements-widget {
        max-width: 85%;
    }

    #main-search {
        width: 85%;
    }

    .progress-container {
        width: 85%;
    }
}

