    ul p, ol p {margin: 0 0 1em;}
    .entry .mld-entry-list, .entry .mld-subentry-list {margin:0;}
    .nested_gloss {font-family: "Segoe WP", "Nimbus Sans L", Arial, "Helvetica Neue", "Helvetica", sans-serif; font-size: 14px;}
    /*.nested_variant {list-style-type:decimal;}*/
    .entry .sense,
    .entry .nested_variant {
        margin-top: 0; 
    }

    .entry .sense + .sense {
        margin-top: 1.5em;
    }
    .entry .nested_variant + .nested_variant {
        margin-top: 0.5em;
    }



    .icon.document {
        width: 20px;
        height: 22px;
        float:left;
        /*background: url("/assets/images/icon-document.png") no-repeat 0 0;*/
        background-size: 100%;
        margin-right: 0.5em;
    }
    .corpus_link {/*position:absolute;right:0;top:5em;*/color:#333!important;}
    .tm_block {position: relative;}
    .tm_link { font-style: italic;position:absolute; bottom:0.5em; right:1em;font-size:80%;}
    .mld-essay {}
    .mld-example {font-style: italic;}
    .mld-also {font-style: italic;}

    html body #mld-tooltip pre {margin:0;}

    .twitter-typeahead {
        width: 100%
    }

    .tt-dropdown-menu {
        
        background: #fff;
        box-shadow: 0 5px 10px 1px rgba(90, 90, 90, .3);
        font-size: 18px;
        color: #737373;
        left: 2px !important;
        width: 92.5%;

    }

    .tt-dropdown-menu strong {
        color: #444444;
    }

    .tt-suggestion {
        padding-left: 5px;
        padding-right: 5px;

    }

    .tt-suggestion.tt-cursor {
        background-color: rgba(0, 0, 0, 0.1);
    }

    .mld-source {
        background: url('/__data/assets/image/0026/182834/menu-toggle-active-low.png') no-repeat;
        background-position: right center;
        padding-right: 20px;
        min-height: 16px;
    }

    .open {
        background: url('/__data/assets/image/0030/182874/menu-toggle-low.png') no-repeat;
        background-position: right center;
    }

    .loading {
        background: url('/__data/assets/image/0029/182873/loader-search.gif') no-repeat;
        padding-right: 24px;
        background-position: right center;
    }

    #more_loader.loading {
        background: url('/__data/assets/image/0029/182873/loader-search.gif') no-repeat;
        padding-right: 24px;
        background-position: center;
    }

    #more_loader {
        background: none;
    }

    .left_counter {
        float: right;
    }

    mark{
        background: paleturquoise;
    }

    /*SET FOOTER TO STICK TO BOTTOM*/

    html, body {
        height: 100%;
        background-color: white;
        background-image: none;
    }



    #wrapper {
        margin-top: -184px;
        padding-top: 184px;
        height: 100%;
        background-color: white;

    }

    #page.wrap {
        min-height: 100%;
    }

    #page {
        overflow:auto;
        padding-bottom: 170px;
        margin-bottom: 60px;

    }

    .site_footer {
        position: relative;
        margin-top: -170px; /* negative value of footer height */
        height: 170px;
        clear:both;
    }

    /*END -- SET FOOTER TO STICK TO BOTTOM*/

    .book_two {
        clear: both;  
        padding-top: 2em;
    }

    .search_page #page form.big_search_form {
        width: 65%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0;
        max-width: 50em;
    }

     .search_page #page .big_search_form div#big_search_fields.big_search_fields.either {
        width: 66%;
        margin: 22px 0;
    }

    .search_page #page .big_search_form div#big_search_fields.big_search_fields {
        width: 100%;
        margin: 22px 0;
    }

    .search_page #page .big_search_form .search_filters {
        height: 32px;
        width: auto;
        margin: 22px 0;
    }

    input[type='radio'] {
        margin: 3px 6px;
    }

    input[type='submit'], .button {
        background-color: #146999;
    }
    
    .big_search_form .search_filters label {
        height: auto;
        line-height: 32px;
    }

    #content section.primary {
        width: 100%;
    }
    #content>.primary {
        width: 100%;
    }



    .has_big_search #page.wrap {
        margin-top: -80px;
        padding-top: 80px;
    }


    .no_section_menu #page + table {
        max-width: 100em;
    }

    .nav_list {
        margin-left: auto;
        margin-right: auto;
        width: 880px;
        height: 110px;
    }


    #masthead .nav_main {
        margin-top: 24px;
        font-family: "National","Segoe WP Semibold","Nimbus Sans L",Arial,"Helvetica Neue","Helvetica",sans-serif;
        font-weight: 500;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 2em;
        width: 100%;
        float: none;
        clear: both;
    }

        #masthead .nav_main li:nth-child(4) {
        clear: none;
    }

    #masthead .nav_main li.mld a {
        border-left-color: #ef9a49;
    }


    /*---------Button styling----------*/

    .search_results .button {
        display: inline-block;
    }
    
    .corpus_link {
        float: right;
        top: -0.85em;
        position: relative;
    }
 
    
    /*----Table styling------------------*/
    .corpus_results {
        table-layout: fixed;
        width: 100%;
        border: 1px solid #ddd;
        margin: 0;
        padding: 5px;
    }

    .corpus_result:nth-of-type(even) {
        background: #eeeeee;
    }

    .form_row_result:nth-of-type(even) {
        background: #eeeeee;
    }
    
    .corpus_result:hover {
        background-color: lightblue;
        transition: background-color 0.3s 0 ease-in-out;
    }

    .number {
        width: 5%;
    }

    .mld_result_link{
        width: 6%;
        white-space: nowrap;         /* force single line */
    }

   .mld-tooltip {
        background-color: palegreen;
   }

    .mld-tooltip td {
        padding: 5px;
   }


    .date {
        width: 7%;
        white-space: nowrap;         /* force single line */
    }

    .entry table td.main_word {
        text-align: center;
        width: auto;
        white-space: nowrap;
    }

    .entry table td.pre_collocate {
            overflow: auto;
             text-overflow: ellipsis; 
    }

    .pre_collocate {                /*for the over flow text*/
        width: 35%;

    }

     .pre_collocate p {                /*for the over flow text*/
        white-space: nowrap;                   
        overflow: hidden;              /* "overflow" value must be different from "visible" */   
        text-overflow: ellipsis;  
        direction:rtl;
        text-align:right;
        float: right;
    }

     .post_collocate {
        width: 35%;
    }


    .post_collocate p {                /*for the over flow text*/
        -o-text-overflow: ellipsis;  /* Opera */
        text-overflow: ellipsis;     /* IE, Safari (WebKit) */
        overflow: hidden;            /* don't show excess chars */
        white-space: nowrap;         /* force single line */
        padding-right: 4px;
    }
    

/*----sub tables-----*/


     #form_toggle {
        padding-right: 5%;
    }

    #form_toggle.close {
        background: url('/__data/assets/image/0030/182874/menu-toggle-low.png') no-repeat;
        background-position: center;
    }
    
    #form_toggle.open {
        background: url('/__data/assets/image/0026/182834/menu-toggle-active-low.png') no-repeat;
        background-position: center;
    }

    #form_toggle.loading {
        background: url('/__data/assets/image/0029/182873/loader-search.gif') no-repeat;
        background-position: center;
    }

    #form_bar {
        cursor: pointer;
    }

    #form_bar_docs {
        cursor: pointer;
    }
    
    pre {
        margin: 0.5em 0;

    }

    .entry table td.forms_result {
        padding: 0.5em 0 0.5em 0.3em;
        border: 1px solid #ddd;
        border-width: 1px
    }
    
    .corpus_result.dictcode_row {
        background-color: #fff8ee;
    }
        
    .full_text_open {
        background: url('/__data/assets/image/0026/182834/menu-toggle-active-low.png') no-repeat;
        background-position: right center;
        padding-right: 20px;
        white-space: nowrap;
    }
    
    .cell_spacer {
        width: 5%;
    }
    .cell_spacer_large {
        width: 40%;
    }

    #word_width {
        width: auto;
        padding: 0;
    }
    #word_width .word_width {
        padding: 0;
    }

    .text_right {
        text-align: right;
    }

    #floating_box {
        border: 1px solid #af6622;
       /* position: fixed;
        top: 150px;
        right: 10px;
        width: 230px;
        padding: 5px;
        z-index: 101;*/
        background-color: white;

        margin-top: 5em;
    }

    #floating_box ul {
        list-style: none;
    }

    .key_list li {
        display: inline-block;
    }

    .course_page .course_flag.flag_pending {
        font-size: 14px;   
    }

    .select_fields {
        float: left;
        margin: 0 2% 2% 0;
        width: 31%;
    }

    .button_field {
        clear: both;
        float: right;
    }

    .select2-contanier {
        min-width: 100% !important;
    }

    .description_col {
        width: 60%;
    }

    .select-all-none {
        padding-left: 5px;
    }

    .title_cell, .desc_cell {
        width: 35%;
    }

    .site_footer .details li a,
    .site_footer .contact_info h2,
    .site_footer p,
    .site_footer li 
     {
        color: white;
    }

    .site_footer .details li {
        float: none;
        line-height: 1.5;
    }



    hr.thin {
        background-color: #FFFFFF;
    }
    
    .site_footer .details {
        font-size: 1.3em;
        margin-top: 1em;
    }


    .footer_logos {
        float: right;
        padding-left: 1em;
    }

    .footer_logos a {
        padding-left: 1em;
        padding-top: 10px;
    }

    .footer_logos img {
      width: 200px;
    }


    .footer_logos img.lfnz {
        width: 100px;
    }


    td.workid {
        display: none;
    }
    

    .divider_list>li.no_link a {
        display: inline;
        padding-left: 0;
    }

    .divider_list>li.no_link a:before {
        content: '';
    }
    
    dl.key dt {
        width: 5em;
    }

    dl.key dd {
        margin-left: 7em;
    }




@media (min-width: 760px){
    body {
        height: 100%;
    }

    #wrapper {
        height: 100%;
    }

    #masthead ul {
        width: 100%;
    }

    .block_secondary {
        width: 25%;
    }




}

@media (max-width: 759px) {

    .select_fields {
        float: none;
        width: auto;
    }

    #wrapper {
        box-shadow: none;
    }
    
   .search_page #page .entry {
        padding-top: 1em; 
    }

    #masthead .nav_main li a.mlrh_logo, #language-switcher {
        display: none;
    }

    nav#mobile_masthead {
       background-color:  #ef9a49;
    }

    .nav_list {
        margin: 0;
        height: auto;
        width: auto;
    }

    #content {
        margin-top: 20px;
    }

    #main_table .number p {
        display:none;
    }
    #main_table .date p {
        display:none;
    }
    #main_table .number {
        width:1px;
    }
    #main_table .date {
        width:1px;
    }

    #main_table .mld_result_link {
        width:45px;
    }


    .search_page #page form.big_search_form {
        background: transparent;
        width: 98%;
        padding: 0;
        margin-top: -80px;
        z-index:1;
    }

    #masthead .nav_main {
        font-size: 17px;
    }


    nav#mobile_masthead ul li a.toggle_menu {
        color: #282828;
    }
    #language-switcher {
        float: none !important; 
        display: block;

    }
    #forms_table {
        display:block;
    }
    #forms_table > td {
        display:block;
    }
    #forms_table tr, #forms_table td {

    }
    .search_page #page .big_search_form div#big_search_fields.big_search_fields {
        float: left;
    }

    .search_page #page .big_search_form .search_filters {
        display: block;
        width: 30%;
        margin: 12px 0;
    }

    .big_search_form .search_filters label {
        font-size: 11px !important;
    }

    .site_footer {
        height: auto;
    }

    .site_footer a {
        display: inline-block;
    }
    .footer_logos {
        clear: both;
    }
    .site_footer .contact_info, .site_footer .link_list, .site_footer .details {
        display: block;
    }
}

@media (max-width: 989px) and (min-width: 760px) {
    
    .corpus_result td.date {
        text-align: center;
    }


    #masthead .nav_main {
        font-size: 17px;
    }

    .search_page #page form.big_search_form {
        width: 95%;
    }
       .search_page #page .big_search_form .search_filters {
        display: block;
        width: 30%;
        margin: 12px 0;
    }



    .select_fields {
        float: none;
         width: auto;
    }

}

@media (min-width: 1140px) {

    .site_links.wrap {
        width: 77em;
    }
}

    .small_width_content {
        max-width: 65em;
        margin-right: auto;
        margin-left: auto;
    }

    .foldout.highlight {
        padding: 0 3%;
    }

    .no_section_menu #page {
        max-width: 100em;
    }


    ul.pagination li a.corpus_more.disable, a.sort_button.disable{
        pointer-events: none;
        opacity: 0.5;
    }

    #language-switcher {
        margin-left: 1em;
        float: right;
    }

    #language-switcher ul {
        width: auto;
    }

    #language-switcher span {
        font-size: 1em;
        font-family: "Segoe WP","Nimbus Sans L",Arial,"Helvetica Neue","Helvetica",sans-serif;
    }


