
.suggest-block{
    background-color: white;
    width: 400px;
    height: 400px;
    border: 2px solid green;
    position: absolute;
    top: 40px;
}
.search-row #search-input:hover{
   box-shadow: none;
   border: inherit;
}
.search-row #search-input:focus{
   box-shadow: none;
   border: inherit;
}
#search-button:hover  {
     box-shadow: none !important;
}

.add-word-block{
    position: relative;
    width: 25%;
    margin: 10px 1em 10px 0em;
}

.add-word-block .button{
    height: 40px;
}

.add-word-block #add-word-group{
    position: absolute;
    width: 100%;
    background-color: #fff;
    padding: 10px;
    border: 1px solid #66d92d;
    box-shadow: 1px 1px 7px #00000075;
    border-radius: 1px 10px 10px 10px;
}

.add-word-block #add-word-group input{
    display: inline-block;
    width: 81%;
    margin: 0px;
}
.part-of-speech-list, .denotations-list, .translation-results, .part-of-speech-block, .example_list{
    margin: 0% 2%;
    position: relative;
}

.part-of-speech-block{
    margin-top: 2%;
}

.referent-name{
    font-weight: bold;
    color: #45822f;
    cursor: pointer;
    font-size: 18px;
    line-height: 1.5;
}
.referent-name:hover, .suggestion:hover{
    text-decoration: underline;
}
.referent-clarification, 
.toponymy_link{
    display: inline-block;
    margin-left: 10px !important;
    font-size: 15px;    
    line-height: 1.5;
}

.toponymy_link{
    margin-left: 0.5em;
}
.to-map{
    text-decoration: underline dashed;
    font-style: italic;
}

.referent-block{
    border-bottom: 1px solid #eaeaea;
    padding: 0.5vw 0.5vw;
    border-left: 1px solid white;
    position: relative;
}

.referent-block:hover{
    border-left: 1px solid #20a5d5;
}

.part-of-speech-name{
    color: #3c81c8;
    text-transform: uppercase;
    font-weight: bold;
    margin-left: 0.5em;
    font-size: 14px;
}
.info-row{
    position: relative;
}

.query-word-block{
    padding-bottom: 0.8em;
    position: relative;
}

.query-word-row .button{
    float: right;
}

.query-word{
    font-weight: bold;
    display:inline-block;
    font-size: 25px;
    padding-right: 55px;
    line-height: initial;
}

.query-word-row .expand-toggle{    
    position: absolute;
    right: 0px;
    top: 15px;
    font-size: 19px;
    padding: 2px;
    line-height: 19px;
    transition: 0.5s all;
 }
.query-word-row.closed .expand-toggle{
    background-color: white;
    color: #312f38;
    border-radius: 7px;
    transform: scale(1);
}
 .expand-toggle{
    background-color: #88d858;
    color: white;
    border-radius: 7px;
    transform: scaleY(-1);
}
.query-word-transcription{
    color: #737373;
    font-weight: lighter;
    line-height: 1.5;
    /*transition: 0.2s all;*/
    opacity: 1;
    font-size: 18;
}
#lugat-body.sticky .result-header .query-word-transcription{
    line-height: 0 !important;
    opacity: 0 !important;
}

.query-word-transcription b{
    color: #5d6654;
}

.source-word{
    color: #737373;
}

.tag{
    position: relative;
    padding: 2px 4px;
    border-radius: 6px;
    color:  #737373;
    font-size: 12px;
    border: 1px solid  #d9d7d7;
    margin-right: 10px;
    cursor: help;
    display: inline-block;
}

.required-morph-attribute-tag{
    position: relative;
    color:  #737373;
    font-size: 13px;
    cursor: help;
}
.required-attribute-block .right-arrow{
    padding: 0 5px;
    color: #45822f;
}

.referent-details.tag{
    padding: 0px 5px !important;
    margin: 4px 5px !important;
}

.tag-description{
    display: none;
    position: absolute;
    top: 80%;
    left: 10%;
    width: max-content;
    background-color: white;
    padding: 3px 12px;
    border: 1px solid #5ea1e3;
    border-radius: 6px;
    font-weight: initial;
    color: #2b2b2b;
    text-shadow: none;
    box-shadow: 2px 2px 5px gray;
    z-index: 150;
}


.tag:hover .tag-description, .required-morph-attribute-tag:hover .tag-description{
    display: block !important;
}

.referent-suggestions{
    margin: 0% 2%;
}

.suggestion{
    color: #5dad45;
    cursor: pointer;
    
}

.example_list{
    
}
.translation-examples{
    display:block;
    margin-top: 5px;
}
.translation-examples .show-more{
    display: block;
    margin-left: 1em;
}
.translation-examples .hide-more{
    display: none;
    margin-left: 1em;
}
.translation-examples .example_list{
    display: none;
}
.translation-examples .example_list:nth-child(1),
.translation-examples .example_list:nth-child(2){
    display: block !important;
}
.translation-attributes{
    padding: 10px 0px 0px;
}

.translation-examples.opened{
    
}
.translation-examples.opened .show-more{
    display: none;
}
.translation-examples.opened .hide-more{
    display: block;
}
.translation-examples.opened .example_list{
    display: block !important;
}

.example_list .example{
    color: #686868;
    line-height: 1.4;
    font-style: italic;
    white-space: break-spaces;
}
.example_list .example{
    border-top: 1px dashed lightgray;
}
.example_list:first-child .example{
    border-top: none;
}
.referent-block .expand-toggle{
    position: absolute;
    display: none;
    right: 13px;
    top: 13px;
    font-size: 19px;
    padding: 3px;
    line-height: 19px;
    transition: 0.5s all;
 }
.referent-block.closed .expand-toggle{
    background-color: #ffffff;
    color: #575757;
    box-shadow: 1px 1px 14px -5px #00000099;
    text-shadow: none;
    border-radius: 7px;
    transform: scaleY(1);
}
.referent-block .expand-toggle{
    background-color: #88d858;
    color: white;
    border-radius: 7px;
    transform: scaleY(-1);
    box-shadow: -1px -1px 8px -5px #00000091;
}

.relevance-container{
    height: 3px;
    width: 100%;
    background-color: #eaeaea;
    float: right;
    display: inline-block;
    border-radius: 2px;
    overflow: hidden;
}

.relevance{
    margin-top: 5px;
    height: 3px;
}
.relevance-content{
   height: 4px;
   background: linear-gradient(to right, rgb(63, 133, 208) 0%, rgb(102, 174, 244) 100%);
   border-right: 1px solid #138d91;
   min-width: 5px;
}
.block-show-more{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(to top, #fff 0%, #fff0 100%) !important;
    z-index: 10;
}
.translation-results button.show-more-translations {
    z-index: 0;
    position: absolute;
    bottom: 0;
    border: 2px solid #5dc53b;
    background: white !important;
    color: #5dc43c;
    text-shadow: none !important;
    margin: 0 auto;
    display: block;
    left: 45%;
    width: 10% !important;
    z-index: 100;
    height: auto !important;
    padding: 0 !important;
    font-weight: bold;
    
}
button.show-more-translations:hover {
    color: white;
    background-color: #5dc53b !important;
}



/*===============================
//          MORPHOLOGY RESULTS
//===============================*/

.source-translation-row{
    
}

.source-attribute-block{
    margin-bottom: 0.5em;
    white-space: break-spaces;
}

.source-attribute-block i.fa-chevron-right{
    color: #7ac656;
    text-shadow: 1px 1px 0px #58ac3f;
}

.source-attribute-block .tag-morphology{
    position: relative;
    border-radius: 6px;
    color: #519b38;
    font-size: 13px;
    border: 1px solid #60cb37;
    cursor: help;
    display: inline-block;
    padding: 0px 5px !important;
    margin: 3px 5px;
}

.source-word-link{
    
}

.wordform-attribute-block.in.collapse{
    overflow: visible !important;
}

.source-word-link a{
    font-weight: bold;
}

.morphology-block{
    
}

.wordform-results-list{
    margin-left: 2em;
}

.wordform-result{
    border-left: 1px solid #8bd2c5;
    margin-bottom: 1.5em;
    padding: 0 1em;
}

.wordform-attribute-block{
}

.wordform-list{
    margin-left: 1em;
    display: block;
    border-top: 1px solid #81dd6e;
    margin-top: 0.5em;
    position: relative;
}

.wordform{
    border-bottom: 1px solid #eaeaea;
    padding: 0.2vw;
}
.wordform .wordform-word{
    font-weight: bold;
    color: #45822f;
    font-size: 17px;
}

.wordform-result-there-is-more{
    font-weight: bold;
    color: gray;
    font-size: 17px;
}



@media only screen and (max-width: 700px){
    button.show-more-translations{
        width: 100% !important;
        left: 0;
        bottom: 0;
        height: 3em;
    }
    .referent-block{
        position: relative;
        padding-left: 0.5em;
    }
    .referent-clarification{
        display: block;
        margin: 0 !important;
    }
}