.toggle-row {
    visibility: hidden;
}

.ct-img {
    max-height: 120px;
}

.search-box input {
    width: 200px;
    display: inline-block;
}

input#search-submit {
    padding: 14px 10px;
}

#current-page-selector {
    width: 70px;
    height: 22px;
    display: inline-block;
}

.pagination-links {
    background-color: #ddd;
}

.tablenav-pages .button, .tablenav-pages span, .tablenav-pages input {
    font-size: 16px;
    padding: 5px 9px;
}

.company_but {
    cursor: pointer;
    user-select: none;
}

#ajax_sarch, #searchform {
    position: relative;
}

#searchform input {
    width: 200px;
}

#suggestionslist {
    position: absolute;
    z-index: 1000;
    background-color: #ddd;
    border: 1px solid #aaa;
    top: 43px;
    left: 1px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content */
#cardModal{
    z-index: 4000;
}
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 20px;
}

.modal-content td.card-img {
    text-align: center;
}

.modal-content table td {
    width: 33%;
}

.modal-content table, .modal-content table th, .modal-content table td {
    border: none;
}

.modal-content table img {
    max-width: 90%;
    max-height: 90%;
    border: none;
    border-radius: 7px;
    margin: auto auto;
}

/* Close Button */

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover, .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#company_details table, #company_details table td {
    border: none;
}

#company_details table tr td:first-child {
    width: 20%;
}

/* ajax search */

.suggestions {
    position: absolute;
    z-index: 1000;
    background-color: #444;
    color: #fff;
    top: 43px;
    left: 1px;
}

/* companies table */

.flex_table_line {
    width: 70%;
    display: flex;
}

.flex_table_line div {
    display: inline-block;
}

.flex_table_line:not(:last-child) {
    padding: 5px 10px 4px 0px;
}

.flex_table_line div.comp-name {
    flex: 5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flex_table_line div.comp-cntry {
    flex: 1;
}

/* Pager */

.comps_pager {
    margin: 20px 10px;
}

.comps_pager span {
    display: inline-block;
    margin: 0px 10px;
    color: brown;
}

/* Style the buttons that are used to open and close the accordion panel from https://www.w3schools.com/howto/howto_js_accordion.asp*/

.accordion {
    position: relative;
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 4px 0px 0 23px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    height:62px;
}
button.accordion svg{
    position: absolute;
    right: 2px;
    top: 19px;
    width: 40px;
    height: 26px;
}

.active, .accordion:hover {
    background-color: #ccc;
}
.active svg{
    transform: rotate(180deg);
}
/* Style the accordion panel. Note: hidden by default */

.panel.accord {
    display: none;
    padding: 0 10px;
    margin: 0px;
    border: none;
    background-color: white;
    overflow: hidden;
}

.panel table{
    border: none;
    margin: 0px;
}
.panel table, .panel table td {
    border: none;
    padding:6px 0px;
}

.panel table tr td:first-child{
    width:130px;
    font-size: 14px;
    font-weight: 500;
}
.img {
    margin: 20px 0px;
    text-align: right;
    vertical-align: middle;
}

.img img {
    max-width: 250px;
    max-height: 180px;
}

.abc_pagination li{
    display: inline-block;
    padding: 3px 7px;
}
.abc_pagination li.current_letter{
    background-color: #333333;
    color:white;
}

.abc_pagination li.current_letter{
    border-radius: 5px;
}
.abc_pagination li.current_letter a{
    color:#ffffff;
}