/*
Theme Name: Panel Systems
Description: Child theme for Avada theme
Author: HERRON
Author URI: https://herron.agency
Template: Avada
Version: 4.0.0003
Text Domain:  panelsystems
*/

/*
####################################################################################################
# GLOBAL
####################################################################################################
*/

#wrapper #main .max-width.fusion-imageframe,
#wrapper #main .max-width.fusion-imageframe img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

.responsive-iframe {
    position: relative;
    padding-top: 16%;
    padding-bottom: 16%;
    height: 0;
    overflow: hidden;
}

.responsive-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

@media all and (max-width:800px){
    .reverse-cols .fusion-row {
        display: flex;
        flex-flow: wrap;
        flex-direction: column-reverse;
    }
}

/*
####################################################################################################
# DATA TABLES
####################################################################################################
*/

.filter-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* or space-evenly */
    gap: 10px; /* Optional: Adjusts spacing between rows */
}

.form-group {
    flex: 1 1 calc(25% - 20px);
    min-width: 100px;
}

.wpv-filter-form {
    margin-bottom: 40px;
}

.wpv-filter-form label {
    line-height: 20px;
    font-size: 16px;
}

.wpv-filter-form select {
    height: 32px;
}

.wpv-filter-form select option {
    font-size: 14px;
}

.filter-button-wrapper {
    margin: 20px 0 0 0;
}

.filter-submit-button {
    cursor: pointer;
    background-color: var(--awb-color5);
    color: #fff;
    border: solid 1px var(--awb-color5);
    font-size: 14px;
    padding: 10px 20px;
}

.filter-submit-button:hover {
    background-color: #000;
    border: solid 1px #000;
}

.wpv-filter-form input[type='text'] {
    width: 200px;
    height: 32px;
    font-size: 14px;
}

.view-data-table {
    border-collapse: collapse;
}

.view-data-table td {
    font-size: 13px;
    border: solid 1px #000;
    padding: 5px;
}

.view-data-table tbody tr:nth-child(even) {
    background-color: #f6f6f6;
}

@media all and (max-width:800px){
    .view-data-table td:not(.view-data-table-inner td) {
        width: 100%;
        display: block;
        height: auto;
    }
}

.view-data-table thead td {
    background-color: var(--awb-color3);
    color: #fff;
    font-weight: bold;
}

.view-data-table td a {
    color: var(--awb-color5);
    font-weight: bold;
}

.view-data-table td a:hover {
    color:#000;
}

.view-data-table-inner thead td {
    background-color: #555;
}

.view-data-table tbody tr:nth-child(even) .view-data-table-inner tbody tr {
    background-color: #f6f6f6;
}

.view-data-table tbody tr:nth-child(odd) .view-data-table-inner tbody tr {
    background-color: #fff;
}

.view-data-table .part-attribute {
    margin: 0;
}

.view-data-table ul {
    margin: 5px 0;
    padding: 0 0 0 15px;
}