﻿/* ==========================================================================
   GLOBAL RESET & TYPOGRAPHY
   ========================================================================== */
* {
  box-sizing: border-box;
}

html {
  background: url("bg4.jpg") center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100%;
}


body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  line-height: 1.4;
  font-family: Verdana, sans-serif;
  font-size: 14px;
  font-weight: normal;
  color: #333;
}

/* Global Typography & Content Defaults */
h1, h2, h3, h4, h5, h6 {
  color: #000;
  text-align: center;
 
}
h1 { font-weight: bold; font-size: 22px; }
h2, h3 { font-weight: bold; font-size: 16px; } 
h4, h5, h6 {  margin: 0; padding: 0; line-height: 1.2; font-weight: normal; }

hr { 
  border: 0;
  background-color: #4e416d; 
  height: 2px; 
}

th { border-color: #666; }
td { border: 0 solid #c0c0c0; }
table { border-width: 0; font-weight: normal; font-style: normal; }
header { background: #fff; }

/* Fixed: Consolidated conflicting list-style images */
ul, li { list-style-image: url("bull2_breeze.gif"); }

/* Global Links */
a:link { color: #399; }
a:active { color: #36c; }
a:visited { color: #666; }
a:hover { text-decoration: underline; }
a:focus {
  outline: 2px solid #6699CC;
  outline-offset: 2px;
}

/* Width Containers */
.page, .main_container { max-width: 1140px; width: 100%; margin: 0 auto; text-align: center; }
.e800 { max-width: 800px; margin: auto; padding: 10px; }
.e750 { max-width: 750px; margin: auto; padding: 10px; }
.e700 { max-width: 700px; margin: auto; padding: 10px; }
.e600 { max-width: 600px; margin: auto; padding: 10px; }
.e500 { max-width: 500px; margin: auto; padding: 10px; }
.e400 { max-width: 400px; margin: auto; padding: 10px; }

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* Top Bar */
.top-bar { background: #1C1D45; color: #fff; padding: 10px; font-size: 18px; }
.top-bar a { color: #FFFFFF; text-decoration: none; }

/* Banner */
.banner img { width: 100%; height: auto; display: block; border: 0; }
#table12 img { display: block; margin: auto; }

/* Navigation 1 */
.nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; background: #1C1D45; padding: 10px; font-size: 14px; }
.nav a { color: #FFFFFF; text-decoration: none; white-space: nowrap; font-weight: bold; padding: 2px 10px; display: inline-block; }

/* Navigation 2 */
.nav2 { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; background: #FFFFFF; padding: 10px; font-size: 14px; }
.nav2 a { color: #6699CC; text-decoration: none; white-space: nowrap; font-weight: bold; padding: 2px 10px; display: inline-block; }

/* Promo */
.promo { background: #FF0000; color: #fff; padding: 12px; font-size: 18px; }
.promo a { color: #fff; text-decoration: none; }

/* Content Wrapper */
.content { background: #fff; padding: 15px; }

/* Bottom Bar */
.bot-bar { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px; background: #FFFFFF; padding: 2px; font-size: 16px; }
.bot-bar a { color: #6699CC; text-decoration: none; white-space: nowrap; font-weight: bold; padding: 6px 8px; display: inline-block; }

/* Offers */
.offer-nav { display: flex; flex-direction: column; justify-content: center; background: #1C1D45; color: #fff; padding: 15px; font-size: 14px; }
.offer-nav a { color: #fff; text-decoration: none; white-space: nowrap; font-weight: bold; padding: 2px; display: inline-block; font-size: 16px; }
.offer { background: #1C1D45; color: #fff; padding: 12px; font-size: 14px; }
.offer img { max-width: 100%; height: auto; border: 0; }

/* Product Grid */
.flex-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.col { flex: 1 1 200px; padding: 10px; min-width: 180px; }
.col a { color: #fff; text-decoration: none; font-weight: bold; }

/* Machine Cards */
.machine-card { background: #fff; border-radius: 12px; padding: 15px; margin: 15px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); transition: all 0.3s ease; }
.machine-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.machine-card img { width: 100%; border-radius: 8px; }
.machine-price { color: #0066cc; font-size: 1.4em; font-weight: bold; }

/* Footer */
.footer { background: #6699CC; color: #fff; padding: 15px; font-size: 18px; display: flex; flex-wrap: wrap; justify-content: center; text-align: center; }
.footer a { color: #fff; text-decoration: none; }


/* ==========================================================================
   COMPONENTS - tests
   ========================================================================== */
   
   .flex-row {
    display: flex;
    gap: 0px;
    max-width: 908px;
    flex-wrap: wrap;
    margin: 0 auto;
}

.column {
    flex: 1 1 calc(25% - 0px);
    padding: 0px;
    box-sizing: border-box;
}

.column a {
    text-decoration: none;
    color: #6699CC;
}



@media (max-width: 768px) {
    .column {
        flex: 1 1 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .column {
        flex: 1 1 100%;
    }
}



/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */

@media all and (max-width: 1040px) {
  img, table, video, audio, iframe { max-width: 100%; }
  #table, #table1, #table2, #table3, #table4, #table5, #table6, #table7, #table8, #table9, #table10, #table14, #table18, #table23, #table12, img { width: inherit !important; height: inherit !important; }
  table[width="1024"], table[width="1024"] td[width="1024"] { max-width: 100%; width: 98%; }
  table[width="1024"] td[width="1024"] { width: 100%; }
  .menu_area { background-position: center top; background-size: 100%; background-repeat: no-repeat; }
  table[width="900"], table[width="800"], table[width="700"] { width: 96%; margin: auto; }
  table#table15 { width: 98%; margin: auto; }
  table tr:after, table:after { display: block; clear: both; content: ''; }
}

 @media all and (max-width: 820px) {
  /* Cleaned: Combined the background fix perfectly into this main breakpoint block */
  html { background-attachment: scroll; }
  .menu_area { height: 180px; } 
  
  /* Legacy Table Blocks */
  table#table9 tr, table#table9 tr td, table#table23 tr, table#table23 tr td, table#table10 tr, table#table10 tr td, 
  table#table14 tr, table#table14 tr td, table#table13 tr, table#table13 tr td, table#table8 tr, table#table8 tr td, 
  table#table7 tr, table#table7 tr td, table#table12, table#table12 tr, table#table12 tr td, table.auto-style13 tr, 
  table.auto-style13 tr td, table.auto-style8 tr, table.auto-style8 tr td, table.auto-style1 tr, table.auto-style1 tr th, 
  table.auto-style1 tr td, table#table17 tr, table#table17 tr th, table#table17 tr td, table#table18 tr, table[width="536"] tr, 
  table[width="536"] tr th, table[width="536"] tr td, table#table18 tr th, table#table18 tr td { 
    display: block; width: inherit !important; height: inherit !important; max-width: 100%; 
  }
  
  table[width="800"] { width: 92%; margin: auto; }
  table[width="536"] { background-color: #069; display: block; height: inherit; width: 100%; }
  table[width="536"] td[height="24"] { height: 0; background-color: #069; }
  table.auto-style13 tr td { padding-bottom: 5px; }
  table#table13 td[width="250"] { width: 50% !important; float: left; }
  table#table8 td[width="224"], table#table8 td[width="225"] { width: 50% !important; float: left; }
  table#table8 td[height="159"] { height: 240px !important; }
  table#table12 td[width="224"], table#table12 td[width="223"] { width: calc(24% - 10px) !important; float: left; padding: 10px 5px; }
  table[width="900"] td[width="450"] { width: calc(49% - 10px) !important; padding: 10px 5px; }
  table[width="800"] td[width="400"], table[width="700"] td[width="349"] { width: calc(49% - 10px) !important; padding: 10px 5px; }
  #table15 td[width="36%"] { width: 40% !important; }
  table[height="85"] { height: inherit !important; }
  table#table6 td { padding: 10px 0; }
  table#table6 td, table#table6 img { height: inherit !important; }
  font[size="4"] { font-size: 15px; }
  table#table5 { background: #fff; }
  table#table5 td { height: inherit !important; }
  table#table5 tr, table#table5 tr td { display: block; width: inherit !important; height: inherit !important; max-width: 100%; }
  table#table5 tbody tr:first-child { background: #69c; }
  table#table5 tbody tr:nth-child(2) { background: #fff; }
  table#table5 tbody tr:last-child { background: #333; }
  table#table5 tbody tr:last-child td:last-child p { margin: 0; }
  table#table5 tbody tr:last-child td:first-child { padding-top: 5px; }
  img[src="index/fb.gif"] { padding: 5px; }
  table#table5 p[align=left] { text-align: center; }
  .hide_mobile { display: none !important; }
  #table15 { text-align: center; }
  #table15 td { display: inline-block; }
  table#table8 td { vertical-align: bottom !important; }
  .responsive_table { width: 98%; overflow-x: auto; overflow-y: hidden; margin: auto; }
  .auto-style17 font[size="2"] { font-size: 12px !important; }
  #table12 tbody { width: 100%; display: block; }
}

@media all and (max-width: 720px) {
  #table15 td[width="36%"] { width: 90% !important; }
  table#table5 tr, table#table5 tr td, table#table4 tr { display: block; width: inherit !important; height: inherit !important; }
  table#table12 td[width="224"], table#table12 td[width="223"] { width: calc(100% - 10px) !important; float: none; padding: 10px 5px; }
  table#table19 td, table#table2 td { width: calc(99% - 10px) !important; float: none; text-align: center; display: block; padding: 10px 5px; padding-top: 15px; height: inherit !important; }
  .menu_area { height: 160px !important; }
  table[width="700"] td[width="349"] { width: calc(99% - 10px) !important; display: block; }
}

@media all and (max-width: 600px) {
  .promo { font-size: 18px; padding: 15px; }
  .top-bar { font-size: 20px; }
  .col { flex: 1 1 100%; }
  
  table[width="700"] td[width="53%"], table[width="700"] td[width="46%"] { width: 100%; display: block; }
  .menu_area { height: 140px !important; background-size: auto 120px !important; }
  table#table13 td[width="250"], table#table8 td[width="250"] { width: 100% !important; float: left; }
  table[width="800"] td[width="400"] { width: calc(99% - 10px) !important; padding: 10px 5px; display: block; text-align: center; }
  table[width="900"] td[width="450"] { width: calc(99% - 10px) !important; padding: 10px 5px; display: block; }
  table#table8 td[width="224"], table#table8 td[width="225"] { width: 100% !important; float: left; }
}