.dt-center{
    text-align: center;
}

table.dataTable{
    
    border-collapse: collapse !important;
    width: auto;
    margin-left: 0px !important;
    margin-right: auto;
    line-height: 1.25em;
}

.table {
    border-top: 1px solid black;
    border-collapse: collapse !important;
    font-size: 10pt;
}
.table th {
border-top: 1px solid black;
border-bottom: 1px solid black;
border-right: 1px solid black;
}

.table th:first-child {
border-left: 1px solid black;
}

.dtodd {
    background: rgba(200,200,200,0.4) !important;
}

.dteven {
    background: rgba(242,242,242,0.4) !important;
}

#dt_whiskybrowser.table td:nth-child(2)
{
    background: #f2f2f2 !important;
}

.table > thead > tr > th
{
    color: #f2f2f2;
    background: #828282;
    border: 1px solid black;
    font-weight: bolder;
    opacity: 0.9;
}

td{
    border: 1px solid black;
    border-collapse: collapse !important;
    height: 1px;
    text-align: center; 
    vertical-align: middle;
}

td.child{
    text-align: left;
    background: rgba(255,255,255,.9) !important;
}

td a, td a:hover, td a:visited
{
    color: black;
}

.table > tbody > tr:hover{
    background: rgba(255,255,255,0.6) !important;
}

.table > tbody > tr.selected{
    background: rgba(255,255,255,.9) !important;
}

img.rounded{
    border-radius: 5px;
}

.columnselector{
    margin-top: 20px;
    clear: both;
}

.browser-image-container
{
    min-width: 125px;
    min-height: 127px;
    position: relative;
    height: 100%;
    width: 100%;
}

.browser-image-container img
{
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 100%;
    max-width: 100%;
}

.dt-summary
{
    max-width: 180px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

#columnselector_contents{
    display: none;
    margin-bottom: 10px;
  }
  
  #columnselector-inner{
    background-color:rgba(200,200,200,0.4);
    width: 200px;
    max-height: 200px;
    overflow-y: scroll;
    overflow-x: visible;
    border: 1px solid rgba(78, 55, 40, 0.75);
    padding: 2px;
    font-size: 10pt;
  }

.dtfilter{
    color: black;
}

.dx-toolbar .dx-toolbar-before
{
    padding-top: 5px;
    padding-left: 5px;
}

.dataTables_info{
    float: none !important;
}

.dataTables_paginate{
    float: left !important;
    margin-right: 50px;
}

.dataTables_length{
    float:left;
    margin-right: 50px;
    padding-top: 5px;
}

.dataTables_length select{
    width: 60px;
}

.dataTables_wrapper{
    width: 100%;
}

.dataTables_wrapper .dataTables_paginate .paginate_button{
    color: black !important;
    padding: 0.25em 0.1em;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled{
    color: lightgray !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover{
    background: none !important;
    border: none !important;
    color: black !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover{
    color: lightgray !important;
}

.dataTables_wrapper .dataTables_paginate input.paginate_input{
    width: 60px !important;
}

.datatables-infoarea
{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.actionbutton{
    width: 140px;
    overflow: hidden;
}

.filter-label{
    font-weight: bold;
    display: block;
    margin-bottom: 0px;
    display: none;
}

.filter-search-wrapper
{
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    column-gap: 0.25em;
}

.filter-description
{
    padding: 0.25em;
    font-size: 0.9rem;
}

.filter-search-text
{
    flex: 1 1;
    margin-right: 0.5em;
}

.filter-icon-sort-alphabetically, .filter-icon-sort-hits
{
    flex: 0 0;
}

.browser-filter
{
    color: black;
    font-weight: normal;
    margin-left: auto;
    margin-right: auto;
}

.ticker-bidhistory
{
    min-width: 125px;
    white-space: nowrap;
}

table.dataTable>tbody>tr.child span.dtr-title{
    min-width: 125px;
}

div.dt-filtergroup{
    overflow: auto;
    padding-top: 5px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

div.dt-filter{
    float: left;
    padding-right: 20px;
}

div.dt-filter-name{
    font-size: 10pt;
    font-weight: bold;
}

div.search_contents{
    margin-bottom: 10px;  
    margin-right: 10px;  
    background-color: rgba(200,200,200,0.4);
    border: 1px solid rgba(78, 55, 40, 0.75);
    padding: 2px;
    overflow: hidden;
    max-width: 720px;
    float: left;
}

div.search_contents_inner{
    max-height: 200px;
    overflow-y: scroll;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

div.search_active_filters{
    margin-bottom: 10px;
    /* background-color: rgba(200,200,200,0.4); */
    /* border: 1px solid rgba(78, 55, 40, 0.75); */
    padding: 2px;
    float: left;
    
    font-size: 10pt;
}

div.search_active_filters_label{
    font-weight: bold;
}

select{
    font-size: 10pt;
}

.dt-filter input{
    width: 150px;
    max-width: 150px;
    font-size: 10pt;
    margin-top: 0px;
}

/* specific filter control layout settings */
#result0, #result1, #age0, #age1, #alcohol_strength0, #alcohol_strength1, #content_quantity0, #content_quantity1 {
    min-width: 50px;
    max-width: 50px;
}

#distillery_brandname_name_bottler_prose0{
    min-width: 250px;
    width: 250px;
}

#dtprocessing-wrapper{
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    z-index: 999998;
}

#dtprocessing-spinner{
    position: fixed;
    top: 50%;
    left: 50%;
    width: 85px;
    height: 85px;
    margin-top: -50px;
    margin-left: -50px;
    border: 5px solid rgba(0, 0, 0, 0.75);
    border-radius: 100%;
    z-index: 999999;
    background-image: url("/themes/custom/wacadaptivetheme/images/spinnerbottle.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-color: rgba(250,250,250,0.25);
    -webkit-animation:spin 3s linear infinite;
    -moz-animation:spin 3s linear infinite;
    animation:spin 3s linear infinite;    
}

@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }


.collapse
{
  display: none;
}

.filter-title
{
    width: 100%;
    font-size: 80%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

.filterlabel
{
    font-weight: normal;
    display: inline-block;
    text-overflow: ellipsis;
    width: 85%;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: bottom;
    font-size: 80%;
    flex: 1 1;
}

.filterOptionCheckbox
{
    flex: 0 0;
}

.filtercount
{
    font-weight: normal;
    text-align: end;
    font-size: 80%;
    padding-right: 0.5em;
    margin-left: auto;
}


.fixed-bottom 
{
    position: fixed;
    bottom: 0;
    z-index: 1080;
}

::placeholder 
{
    color: lightgray;
    font-style: italic;
}

.filter-number-prefix
{
    display: flex;
    width: 30px;
    background-color: lightgray;
    text-align: center;
    flex-direction: column;
    
    justify-content: center;
    align-content: center;
}

.filter-prepend-input
{
    display: flex;
    flex-basis: 0;
    flex-grow: 1;
    width: 42%;
    float: left;
}

.baseline-align
{
    align-items: baseline !important;
}

.numberFromToText
{
    float: left;
    margin-left: 3px;
    margin-right: 3px;
    width: 10%;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-content: center;
}

.button-update
{
    background-color: green !important;
    margin-left: 5px;
    vertical-align: middle;
}

.button-submit
{
    background-color: green;
    width: 55%;
}

.button-clear
{
    background-color: lightcoral;
    width: 43%;
}

.button-green
{
    background-color: green !important;
}

.button-orange
{
    background-color: orange !important;
}

.button-red
{
    background-color: lightcoral !important;
}

.button-margin-left
{
    margin-left: 5px;
}

.paginate_input
{
    width: 60px !important;
}

.filter-title.collapsed::after
{
    content: "";
    font-family: "Font Awesome 5 Pro";
    content: "\f13a";
    font-weight: 900;
    font-size: larger;
}

.filter-title::after
{
    content: "";
    font-family: "Font Awesome 5 Pro";
    content: "\f139";
    font-weight: 900;
    font-size: larger;
}

.columnselector_wrapper
{
    display: none;
}

#cards-wrapper
{
    display: none;
}

#datatable-wrapper
{
    display: none;
}

.tablecontent-result-highbid
{
    font-weight: bolder;
    background-color: #00ff00;
    flex: 0 0 100%;
    text-align: center;
    padding: 0.25em;
    margin-bottom: 0.5em;

    background: -webkit-linear-gradient(left, #8f6B29, #F0E680, #DF9F28);
	background: linear-gradient(left, #8f6B29, #F0E680, #DF9F28);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 1px 4px;

    color: white;
    text-shadow: rgba(0,0,0,1) 0px 0px 3px;
}

.tablecontent-result-overbid
{
    font-weight: bolder;
    background-color: #ff0000;
    flex: 0 0 100%;
    text-align: center;
    margin-bottom: 0.5em;
    padding: 0.25em;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 1px 4px;

    color: white;
    text-shadow: rgba(0,0,0,1) 0px 0px 3px;
}

.configpopup-content-header
{
    background-color: #fff;
    z-index: 50;
}

.configpopup-content-body
{
    padding-top: 120px;
    display: flex;
    column-gap: 2rem;
    flex-wrap: wrap;
    justify-content: space-around;
}

.custom-columns-list
{
    flex: 0 0 95%;
    margin-bottom: 3rem;
}

.popup-listbox
{
  min-height: 200px;
  max-height: 200px;
  min-width: 300px;
    max-width: 300px;
  background-color: #eee;
}



#modal-filtercontainer {
    display: none; /* Hidden by default */
    flex: auto;
    flex-direction: column;
    position: fixed; /* Stay in place */
    z-index: 10000; /* Sit on top */
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 60px;
    box-sizing: border-box;
    overflow: auto; /* Enable scroll if needed */
    background-color: #828282 /* Fallback color */

    /*margin-bottom: 70px;*/

  }


  #modal-filtercontainer-filter 
  {
    /*height: 100%;*/
    overflow-y: auto;
    flex-grow: 1;
  }
  
.modal-filtercontainer-footer
{
    border-top: 1px solid #666;
    display: flex;
    flex-grow: 0;
    height: 60px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fafafa;
}

.modal-filtercontainer-footer-button
{
    padding: 0 0;
    width: auto;
    flex: 1 1;
    height: unset;
}

.filterOption
{
    font-weight: normal;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.filterOptionLabel
{
    display: flex;
}

.filterlabeldiv
{
    flex: 1 1;
    display: flex;
    column-gap: 0.5rem;
    max-width: 80%;
}

.filter-title
{
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
    border-radius: 0px;
}

#mainsubmit
{
    min-width: 250px;
    margin-top: 1px;
}

#mainsubmit button
{
    font-weight: bolder;
    text-shadow: rgba(0,0,0,0.75) 1px 1px 2px;
}

#card-view-select
{
    padding: 4px;
}

#table-view-select
{
    padding: 4px;
}

.filter-search-text
{
    width: 85% !important;
}

.clickable
{
    cursor: pointer;
}

.browser-mobile-navbar
{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    margin-top: 60px;
    background-color: white;
    display: none;
    flex-direction: row;
    flex-wrap: nowrap;
    z-index: 100;
    box-shadow: 0px -2px 8px gray;
    font-size: 16pt;
    align-items: center;
}

.browser-mobile-navbar div
{
    flex: 1 1;
}

.navbar-watchlist-button, .navbar-settings-button
{
    color: #463728;
    padding: 10px;
}

.navbar-watchlist-button
{
    text-align: left;
}

.navbar-watchlist-button a,
.navbar-watchlist-button a:hover,
.navbar-watchlist-button a:visited,
.navbar-watchlist-button a:active
{
    color: #463728;
}

.navbar-settings-button
{
    text-align: right;
}

.navbar-pagination
{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    white-space: nowrap;
    column-gap: 0.25em;
    align-items: center;
}

.navbar-pagination-pagenumber
{
    text-align: center;
    background-color: #463728;
    color: white;
    font-size: 12pt;
    padding: 10px;
    margin-left: 5px;
    margin-right: 5px;
}

.navbar-pagination-previous, .navbar-pagination-next
{
    color: #463728;
}

.navbar-pagination-previous
{
    text-align: right;
}

.navbar-pagination-next
{
    text-align: left;
}

.browser-info-wrapper
{
    display: none;
}

.modal-filter-button
{
    display: none;
}

.browser-mobile-navbar-settings
{
    position: fixed;
    right: 0;
    bottom: 60px;
    left: 0;
    height: 400px;
    z-index: 101;
    padding: 1em;

    background-color: #fafafa;
    box-shadow: 0px -2px 8px gray;

    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: start;
}

.browser-mobile-navbar-setting
{
    flex: 1 1;
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    padding: 0.25em 0.5em 0 0.5em;
}


.browser-mobile-navbar-setting .label
{
    padding: 1em 0 0.5em 0;
    font-weight: bold;
}

.browser-mobile-navbar-setting .label,
.browser-mobile-navbar-setting select, 
.browser-mobile-navbar-setting input
{
    font-size: 1.5rem;
    line-height: 1.25rem;
}

.browser-mobile-navbar-setting select, 
.browser-mobile-navbar-setting input
{
    height: unset;
    padding: 0.25em;
}

.browser-mobile-navbar-setting.close
{
    width: 100%;
    text-align: right;   
    margin-bottom: -2em;
    flex: 0;
    z-index: 102;

    display: flex;
    justify-content: right;
}

.browser-mobile-navbar-setting #viewmode-wrapper
{
    display: flex;
    flex-direction: row;
    justify-content: center;
    column-gap: 2em;
}

.browser-mobile-navbar-setting .viewmode-item
{
    flex: 0 1;
    font-size: 2rem;
}


/* Begin breakpoint: huge */
@media all and (min-width: 120.0625em) 
{
    #modal-filter-container {display: none;}
    #mainsubmit {display: block;}
}

/* Begin breakpoint: custom (for card layout) */
@media all and (min-width: 100em) 
{
    #modal-filter-container {display: none;}
    #mainsubmit {display: block;}
}

/* Begin breakpoint: tablet */
@media all and (min-width: 45.0625em) 
{
    #modal-filter-container {display: none;}
    #mainsubmit {display: block;}
}  

/* Begin breakpoint: wide */
@media all and (min-width: 60.0625em) 
{
    #modal-filter-container {display: none;}
    #mainsubmit {display: block;}
}

/* Begin breakpoint: wideisolate */
@media all and (min-width: 60.0625em) and (max-width: 120em) 
{
    #modal-filter-container {display: none;}
    #mainsubmit {display: block;}
}

/* Begin breakpoint: tabletisolate */
@media all and (min-width: 45.0625em) and (max-width: 60em) 
{
    #modal-filter-container {display: block;}
    #mainsubmit {display: none;}
}

/* Begin breakpoint: mobileisolate */
@media all and (max-width: 45em) 
{
    #dt_whiskybrowser_wrapper
    {
        clear: both;
    }

    #modal-filter-container 
    {
        display: block;
    }

    #modal-filtercontainer
    {
        background-color: #fafafa;
        font-size: 2rem;
    }

    #mainsubmit {display: none;}

    .browser-mobile-navbar
    {
        display: flex;
    }

    .datatables-infoarea, #dt-layout-switch
    {
        display: none;
    }

    .pr-footer
    {
        padding-bottom: 60px;
    }

    .pr-main__content
    {
        display: block !important;
    }

    .browser-info-wrapper
    {
        padding: 0 0.5em 0 0.5em;
    }

    #react-table
    {
        position: relative;
        left: 0;
        right: 0;
        overflow: scroll;
    }

    #filtercontainer-wrapper
    {
        display: none;
    }

    #filtercontainer button
    {
        padding: 5px;
        height: unset;
    }

    .filterOption
    {
        line-height: 1.25em;
    }

    .filterOption input[type="checkbox"], input[type="radio"]
    {
        transform: scale(1.5);
        margin-left: 0.5em;
    }

    .filter input[type="text"]
    {
        height: unset;
        font-size: 1.5rem;
        line-height: 2rem;
    }


    .filter-title.collapsed::after, .filter-title::after
    {
        font-size: 0.8em;
    }

    .modal-filter-button
    {
        display: block;
        padding: 7px;
        box-shadow: 1px 1px 8px #444;
        font-size: 1.5em;
        position: fixed;
        bottom: 70px;
        right: 0.5em;
        z-index: 99;
        background-color: #fafafa;
        border-radius: 5px;
        color: #463728;
    }

    h1
    {
        padding-left: 0.5em;
    }
}

.filterlevel1, .filterlevel2, .filterlevel3, .filterlevel4, .filterlevel5, .filterlevel6, .filterlevel7, .filterlevel8, .filterlevel9, .filterlevel10
{
    display: none;
}

.auction-info-button
{
    vertical-align: super;
    cursor: pointer;
}