/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* tabs */
/* Style the tab */
.prod_tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons inside the tab */
.prod_tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
  width: 50%;
}

/* Change background color of buttons on hover */
.prod_tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.prod_tab button.active {
  background-color: #94bb54;
}

/* Style the tab content */
.prod_tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}

.eoantablecontainer {
    display: none;
}

#eoancategoryselector,
#eoansearch{
    max-width: 500px;    
}

.eoanproducerstable {
    table-layout: fixed;
}

.eoanproducerstable th,
.eoanproducerstable tr:hover {
    background-color: #94bb54;
}

.eoanproducerstable tr{
    font-size: 90%;
}

.eoanwaitmessage {
    display: none;
}

@media (max-width: 1200px) {
    #eoanproducerstable tr{
        font-size: 70%;
    }
}

@media (max-width: 1024px) {
    #eoanproducerstable td{
        word-break: break-all;
    }
}

@media (max-width: 768px) {
    #eoanproducerstable tr td{
        font-size: 100%;
        word-wrap: break-word;
    }    

    /* Force table to not be like tables anymore */
    .the-table-responsive, 
    .the-table-responsive thead, 
    .the-table-responsive tbody, 
    .the-table-responsive th, 
    .the-table-responsive td, 
    .the-table-responsive tr { 
        display: block; 
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .the-table-responsive thead tr { 
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .the-table-responsive tr { border: 1px solid #ccc; }

    .the-table-responsive td { 
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee; 
        position: relative;
        padding-left: 40% !important; 
        padding-right: 1% !important;
        white-space: normal;
        /*text-align:left;*/
        text-align:center;
        vertical-align: middle;
        word-wrap: break-word;

        width: 100%; 
    }

    .the-table-responsive td:before { 
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 10px;
        left: 6px;
        width: 35%; 
        padding-right: 10px; 
        white-space: nowrap;
        text-align:left;
        font-weight: bold;
    }

    /*
    Label the data
    */
    .the-table-responsive td:before { content: attr(data-label); }    

    .the-table-responsive td {         
        vertical-align: middle;
    }        
}