/* színek
#DAE2D5 = világos zöld, enyhén szürke
#4B7263 = sötét árnyalatú zöld
#A8A461 = sárgás-zöld, közepes árnyalat
#494949 = sötét szürke, majdnem fekete
#CCCCCC = világos szürke
#fffff0 = fehér
*/
/* fő elemek********************************************** */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif, 'Open Sans', Arial;
  font-size: 16px;
}
html {scroll-behavior: smooth;}
body {
  background-color: #DAE2D5;
  color: #fffff0;
  min-width: 360px;
}
#div-main {
  margin: 0 auto;
  width: 80%;
}

/* menü********************************************** */
header {margin-top: 6px;}
nav {background-color: #4B7263;}
nav div {display: flex;position: relative;}
nav div a {
  text-decoration: none;
  display: block;
  padding: 14px 16px;
  color: #fffff0;
}
nav div a:hover {background-color: #84ae9e;}
.div-products {display: block;}
.div-products .btn-dropdown {
  padding: 14px 16px;
  outline: none;
  border: none;
  color: #fffff0;
  background-color: inherit;
  font-family: inherit;
  display: block;
  /* margin-left: -4px; */
}
.div-products-content {
  display: none;
  /* display: flex;
  flex-direction: column; */
  position: absolute;
  z-index: 100;
  width: 200px;
  background-color: #4B7263;
}
nav div a, .div-products {
  width: 109px;
  text-align: center;
}
.div-products-content a {
  text-align: left;
  width: 200px;
}
.div-products:hover .btn-dropdown {background-color: #84ae9e;}
.div-products:hover .div-products-content {display: block;}
.h-menu {
  background: url("../images/hamburger-icon-32-white.png") center center no-repeat;
  height: 46px;
  width: 55px;
  display: none;
}
.h-menu:hover {background-color: #84ae9e;}

/* kezdőlap intro********************************************** */
#div-intro {
  background: linear-gradient(180deg,rgba(20, 30, 48, 0.75) 0%, rgba(36, 59, 85, 0.75) 100%), url('../images/napelem_1.jpg');
  min-height: 550px;
  height: auto;
  width: 100%;
}
#div-intro h1, #div-intro h2, #div-connectus h2 {
  line-height: 1.1em;
  font-weight: 800;
  text-align: center;
}
#div-intro h1 {
  font-size: 32px;
  padding: 50px 4% 10px;
}
#div-intro h2, #div-connectus h2 {
  font-size: 20px;
  padding: 0 4% 10px;
  background-color: transparent;
}
/* #div-intro div, #div-connectus div { */
#div-intro .div-description {
  font-size: 1.1em;
  line-height: 1.4em;
  padding: 0.25em 4%;
  margin-bottom: 1.25rem;
}
#div-intro .div-description2 {
padding: 0.5em 4%;
  border: 1px solid;
  margin: 4%;
}
#div-attention { position: relative; }
.spn-attention {
  background-color: yellow;
  color: red;
  font-weight: bolder;
  padding: 10px 8px 8px;  
  position: absolute;
  top: -1.8rem;
  left: 0;
  width: 8rem;
}

#div-connectus div {
  font-size: 1.1em;
  padding: 10px 4%;
  line-height: 1.4em;
}
#div-intro div:nth-child(-n + 2) {
  text-align: center;
  font-size: 1.1rem;
  /* border: 1px solid #fff; */
  margin: 0 0 4%;
}

/* ********************************************** */
/* kapcsolat nyomógomb */
.a-contact {
  letter-spacing: 1.1px;
  display: inline-block;
  width: 150px;
  border: 0;
  padding: 10px 14px;
  position: relative;
  margin: 15px 20px 10px 0;
  left: 4%;
  background-color: #A8A461;
  cursor: pointer;
  /* transition: all 0.5s; */
  border-radius: 5px;
  opacity: 0.8;
  text-align: center;
  color: #fffff0;
}
.a-contact span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.4s;
}
.a-contact span::after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: 20px;
  transition: 0.5s;
}
.a-contact:hover {
  font-weight: bolder;
  opacity: 1;
}
.a-contact:hover span {padding-right: 25px;}
.a-contact:hover span::after {
  opacity: 1;
  right: 0;
}

/* ********************************************** */
/* section: ezen belül van article */
section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  /* background-color: #4B7263; */
}
main section:first-child {
  margin-top: 6px;
}
section h1 {
  text-align: center;
  font-size: 28px;
  width: 100%;
  padding: 12px 6px 6px;
}
section h2 {
  font-size: 22px;
  background-color: #A8A461;
  display: block;
  margin: 6px 0 12px;
  padding: 6px 0 6px 6px;
}
/* article */
article {
  margin-bottom: 10px;
  padding: 10px;
  border: none;
  line-height: 1.4em;
  position: relative;
}
article h3, article h1 {
  background-color: #A8A461;
  margin-bottom: 8px;
}
article ul {list-style: inside;}
article ul li {
  margin-bottom: 4px;
  /* padding-left: 12px; */
}

/* tovább olvasom nyomógomb */
.a-readmore {
  padding: 8px;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  background-color: #A8A461;
  color: #fffff0;
  position: absolute;
  bottom: 8px;
}
.a-readmore:hover {background-color: #c9c69c;}

/* termékek article */
.article-whatweoffer {
  flex: 0 0 30%;
  min-height: 500px;
  background-color: #4B7263;
  box-shadow: rgba(0, 0, 0, 0.3) 10px 10px 8px 4px;
  margin-right: 10px;
  margin-bottom: 25px;
  /* max-width: 500px; */
}
.article-whatweoffer h3 {
  padding-left: 0;
  height: 40px;
  width: 100%;
  padding: 8px;
}
.article-whatweoffer p {line-height: 1.4em;}

/* article-n belül div, amiben a kép van */
.div-flex {display: flex;}
.div-flex img {width:100%;}
.div-column img {width:80%;}

/* ********************************************** */
hr {
  background-color:#494949;
  width: 20%;
  height: 2px;
  border: 0;
  margin: 15px auto;
}
.hr-footer {
  visibility: hidden;
  width: 1%;
  background-color: #fffff0;
  height: 2px;
  margin-left: 0;
  border: 0;
}

/* ********************************************** */
/* Méret kiiratás div-je */
#div-layout {
  display: flex;
  justify-content: flex-end;
  margin: 6px 0;
  color: #fffff0;
  background-color: #4B7263;
}
#div-layout ul {display: flex;}
#div-layout ul li {
  list-style-type: none;
  padding: 4px 16px;
}

/* ********************************************** */
/* Slideshow container */
.slideshow-container {
  position: relative;
  margin: 6px auto;
  border: 2px solid #4B7263;
}
.slide {display: none;}
.slide img {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: block;
  max-height: 460px;
  max-width: 1024px;
}

/* Number text */
.numbertext {
  color: #000;
  font-size: 16px;
  font-weight: bold;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  /* cursor: pointer; */
  height: 15px;
  width: 15px;
  margin: 10px 8px;
  background-color: #A8A461;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {background-color: #4B7263;}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.div-description {
  padding: 0 12px;
  display: flex;
}
.div-description > img {width: 65%;}

/* footer ********************************************/
.footer-section {
  background-color: #4B7263;
  color: #fffff0;
  display: flex;
  /* justify-content: space-evenly; */
  flex-wrap: nowrap;
  padding: 12px;
  line-height: 1.4em;
  margin-bottom: 30px;
}
.footer-section ul li a {
  text-decoration: none;
  padding: 6px;
  color: #fffff0;
  width: 120px;
  display: inline-block;
}
footer ul {
  list-style-type: none;
  color: #fffff0;
}
.footer-section a:hover, #div-contact address a:hover {background-color: #84ae9e;}
#footer-div-outer {display: flex;}
.footer-div-link ul li {width: 150px;}
/* .footer-div-contact ul li {padding: 6px;} */
.footer-div-contact p:first-child {
  margin-left: -1rem;
  padding-bottom: 6px;
}
.footer-div-contact ul li:first-child { padding-bottom: 0.5em; }
.footer-div-contact ul li a {
  padding: 0.5em 0;
  width: 200px;
}

/* infrapanel******************************************* */
#spnnew {
  background-color: yellow;
  color: red;
  font-weight: bolder;
  /* padding: 10px 8px 8px; */
  padding: inherit;
}
table {
  padding-left: 6px;
  border: 1px solid #fffff0;
  width: 510px;
  border-collapse: collapse;
  width: 100%;
  /* margin-left: -12px; */
}
#table-fp {width: 557px;}
tr, td {
  border: 1px solid #fffff0;
  padding: 4px;
}
#table-k {width: 360px;}
#table-k, #table-k tr, #table-k td {border: 1px solid #84ae9e;}
/* napelem********************************************** */
dd {padding-left: 20px;}

/* fűtőszőnyeg****************************************** */
.div-row {display: flex;}
.div-column {
  background-color: #fffff0;
  padding: 6px;
}
.div-fszcolumn {
  flex: 50%;
}
.div-fszcolumn:first-child img {
  padding-top: 30px;
  padding-right: 6px;
}

/* klíma ********************************************** */
 #uc {
   text-align: center;
   font-size: 120px;
   color: black;
 }
#klcont {color: #fffff0;}
#klcont:hover {background-color: #84ae9e;}
 /* kapcsolat ********************************************** */
 #div-contact {
   display: flex;
   padding-top: 6px;
   padding-bottom: 6px;
   line-height: 1.4em;
 }
 #div-contact address > strong {
  text-align: right;
  width: 70px;
  display: inline-block;
  margin-right: 0.25rem;
 }
 #div-contact address p { display: inline-block; } 
 #div-contact img {
  width: 65%;
  padding-right: 16px;
 }

/* media query ********************************************** */
@media screen and (min-width: 911px) {
  .slide img {width: 100%;}
}

@media screen and (max-width: 910px) {
  #div-contact {
    display: block;
    padding-right: 0;
  }
  #div-contact img {
    width: 100%;
    padding-right: 0;
  }
}

@media screen and (max-width: 768px) {
  .article-whatweoffer {flex: 0 1 47%;}
  .div-description {display: block;}
  #table-fp {width: 100%;}
  /* .div-description > p {margin-left: -12px;} */
  .div-description > img {width: 100%;}
}

@media screen and (max-width: 745px) {
  .footer-section {display: block;}
  .hr-footer {
    visibility: visible;
    width: 70%;
  }
  table:not(#tbl-napelem) {width: 100%;}
}

@media screen and (max-width: 700px) {
  #tbl-napelem, 
  #tbl-napelem thead, 
  #tbl-napelem tbody, 
  #tbl-napelem tr, 
  #tbl-napelem th, 
  #tbl-napelem td {
    display: block;
  }
  #tbl-napelem {border: none;}
  #tbl-napelem thead tr {
    position: absolute;
		top: -9999px;
		left: -9999px;
  }
  /* tbody tr {margin-bottom: 0.2856rem;} */
  #tbl-napelem tbody tr:nth-of-type(even) {
    background-color: #74b199;
    color: #000;
  }
  #tbl-napelem tbody td {
    position: relative;
		padding-left: 45%;
    white-space: pre-line;
  }
  #tbl-napelem tbody td::before {
		position: absolute;		
		top: 0.2856rem;
		left: 0.2856rem;
		/* width: 45%;  */
		padding-right: 0.8rem; 
		white-space: nowrap;
    content: attr(data-cell) ": ";
    background-color: transparent;
	}	
}

@media screen and (max-width: 561px) {
  .article-whatweoffer {flex: 0 1 100%;}
  .div-fszrow {display: block;}

  .div-products .btn-dropdown, nav div a:nth-child(3) {display: none;}
  .div-nav a.h-menu {display: block;}
  .div-products, .div-products-content {
    width: 100%;
    text-align: left;
  }
  .div-products:hover .div-products-content {display: none;}
  .div-nav.responsive {display: block;}
}

@media screen and (max-width: 561px) {
  .div-nav.responsive {position: relative;}
  .div-nav.responsive .h-menu {
    position: absolute;
    right: 0;
    top: 0;
    width: 55px;
  }
  .div-nav.responsive a {
    display: block;
    width: 100%;
    text-align: left;
  }
  .div-nav.responsive .div-products-content {
    display: block;
    position: unset;
  }
  .div-nav.responsive .div-products .btn-dropdown {
    display: block;
    width: 100%;
    text-align: left;
  }
  .div-nav.responsive .div-products-content a {padding-left: 35px;}
  #uc {font-size: 77px;}
}
@media screen and (max-width: 470px) {
  #table-k {width: 100%;}
}

@media screen and (max-width: 430px) {
  article h2 {
    display: flex;
    flex-direction: column-reverse;
  }
  #spannew {padding: 0;}
}
