/*
Theme Name: Ecoheat Child Theme
Theme URI: http://ecoheat.like-themes.com/
Author: Like Themes
Author URI: http://like-themes.com/
Description: Blank Child Theme for Ecoheat
Template: ecoheat
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: four-columns, right-sidebar, full-width-template
Text Domain: ecoheat

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

.responsive-table {
    width: 100%;
    border-collapse: collapse;
}

.responsive-table td {
    text-align: center;
    padding: 10px;
    vertical-align: top;
}

/* Ensure all image containers have the same size */
.image-container {
    display: flex;
    flex-direction: column;
    justify-content: center; /* centre images vertically */
    align-items: center;
    width: 250px; /* Fixed width */
    height: 230px; /* Fixed height */
    border: 1px solid #ddd; /* Border around the container */
    padding: 10px;
    box-sizing: border-box;
    position: relative;
    text-align: center;
}

.image-container img {
    max-width: 200px;
    max-height: 170px; /* Ensure the image stays within bounds */
    height: auto;
     display: block; /* Block display to center */
    margin: 0 auto; /* Horizontally center the image */
}

.caption {
    font-size: 16px;
   /* font-weight: bold;*/
    margin-top: 190px;
   /* padding-top: 30px; *//* Adds space between the caption and the bottom of the box */
    text-align: center;
    position: absolute;
    /*bottom: 1px*/; /* Set the caption to be a fixed distance from the bottom */
    left: 0;
    right: 0;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .responsive-table, .responsive-table tr, .responsive-table td {
        display: block;
        width: 100%;
    }

    .responsive-table td {
        margin-bottom: 20px;
    }

    .image-container {
        width: 100%;
        height: auto;
    }

    .image-container img {
        max-width: 80%;
    }

    .caption {
        text-align: center;
        position: static; /* Reset the position for mobile view */
        margin-top: 10px; /* Adds space in mobile after the image */
    }
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  /*font-family: Arial, sans-serif;*/
}

.specs-table th, .specs-table td {
  border: 1px solid #ddd;
  padding: 8px;
}

.specs-table th {
  background-color: #f2f2f2;
  text-align: left;
}

/* Web view */
@media screen and (min-width: 768px) {
  .specs-table td, .specs-table th {
    width: 50%;
  }
}

/* Mobile view */
@media screen and (max-width: 768px) {
  .specs-table th {
    display: none; /* Hide the first column (headers) */
  }
	.specs-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
  }
  
.specs-table td:before {
    content: attr(data-label);
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
  }
}

