html { 
     font-family: "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
}

.header { text-align: center; }
.header a { padding: 50px 0; display: block; font-size: 48px; text-decoration: none; color: #323232; }

body {
   font-size: 18px;
   color: #323232;
   margin : 0;   
   background-color : #fff;
   max-width: 100%;

}

/* Kontajner pre kocky */
.cubes {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3x ~33% */
  gap: 20px; /* medzera medzi kockami, uprav podľa potreby */
}

/* Jednotlivá kocka */
.cube {
  /* tvoje štýly obsahu... */
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

/* Breakpoint: keď sa 3×300px + 2×20px gap už nezmestí (~940px), prepneme na 1 stĺpec */
@media (max-width: 940px) {
  .cubes {
    grid-template-columns: 1fr; /* všetky tri pod seba */
  }
}

/* --- ŠTÝLY (pred </head>) --- */
  #scroll{
    display:none;
    position:fixed;
    right:16px;
    bottom:16px;
    z-index:9999;
    border:none;
    width:44px; height:44px;           /* pevná veľkosť */
    padding:0;                          /* netreba padding pri SVG/znaku */
    display:flex; align-items:center; justify-content:center;
    font-size:18px; line-height:1;
    box-shadow:0 6px 20px rgba(0,0,0,.2);
    cursor:pointer;
    background:#323232;                 /* default sivá */
    color:#fff;                         /* šípka */
    transition: background-color .5s ease; /* hladký prechod farby 0.5s */
  }
  /* hover -> oranžová; po opustení sa plynulo vráti na sivú vďaka transition */
  #scroll:hover{ background:#ff7300; }

  /* voliteľne aj klávesové zaostrenie */
  #scroll:focus-visible{ background:#ff7300; }

  #scroll:focus{ outline:2px solid #7aa7ff; outline-offset:2px; }

  :target{ scroll-margin-top: 80px; }

  @media (prefers-reduced-motion: reduce){
    html{ scroll-behavior:auto; }
    #scroll{ transition: none; } /* vypnúť prechod farieb pri zníženom pohybe */
  }



[data-parallax="true"] {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 500px; /* alebo podľa potreby */
}

textarea {
   font-family: 'Open Sans', sans-serif;
   font-size: 18px;  
}
input {
	font-family: 'Open Sans', sans-serif;
	font-size: 18px;  
}

p.vsetkynovinky {
  float: right; 
}

.icon_footer  { margin-bottom: 30px; margin-top: 20px; }

div.footer_icon { 
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  background-color: #ff8826;
  width: 50px;
  height: 50px;
  margin: 0px;
  border-radius: 50%;
  padding: 0px;
  transition: 0.6s;
}
div.footer_icon:hover {
  background-color: #323232;
}
img.footer_icon { 
  margin: 14px;
  width: 22px;
  padding: 0px;
}

div.icon { display: inline-block; min-width: 190px; padding: 0px; margin: 0 auto; }
img.icon { width: 170px; padding: 0px; margin: 0px; }
img.icon_footer  { margin-bottom: 30px; }


img.gallery {
  border:0px; 
  padding: 10px; 
  width:100%;
  max-width: 160px;
  min-width: 120px; 
}

a                { color: #00af50; text-decoration: none; } 
a:hover          { color: #ff7300; text-decoration: underline; } 

/* STRUCTURE */
* {
  box-sizing: border-box;
}

#minilogo {
  vertical-align:middle;
  width: 100%;
  height: 100%;
  max-width: 60px;
  padding: 0px;
  margin: 0px;
  padding-right: 15px;
  margin-top: -10px;
}

.break {
  flex-basis: 100%;
  width: 0;
}

#pagewrap {
  padding: 0px;
  width: 100%;
  margin: 0px auto;
}

.rmenu {
  height: 76px;
}

#telefon                { color: #323232; margin-top: 60px; font-size: 26px; padding-left: 28px; display: block; text-align: left; cursor: pointer; -o-transition:.5s;  -ms-transition:.5s;  -moz-transition:.5s;  -webkit-transition:.5s;  transition:.5s;}
#telefon:hover          { color: #323232; filter:alpha(opacity=50);-moz-opacity:.50;opacity:.50; }
#mail                   { color: #323232; margin-top: 4px; font-size: 26px; padding-left: 28px; display: block; text-align: left; cursor: pointer; -o-transition:.5s;  -ms-transition:.5s;  -moz-transition:.5s;  -webkit-transition:.5s;  transition:.5s;}
#mail:hover             { color: #323232; filter:alpha(opacity=50);-moz-opacity:.50;opacity:.50; }
#kontakt                { color: #323232; margin-top: 4px; font-size: 26px; padding-left: 28px; display: block; text-align: left; cursor: pointer; -o-transition:.5s;  -ms-transition:.5s;  -moz-transition:.5s;  -webkit-transition:.5s;  transition:.5s;}
#kontakt:hover          { color: #323232; filter:alpha(opacity=50);-moz-opacity:.50;opacity:.50; }

#text0 {
  background: url(../pictures/bg_module.webp) bottom right no-repeat #fff;
  background-size: 100% 0 no-repeat;
  background-size: contain;
  background-color: #fafafa;
  background-position: top right;
  width: 100%;  
  text-align: center;
  margin: 0px auto;  
  padding: 0px;  
}
#text1 {
  background-size: cover;
  background-position: center right;
  width: 100%;  
  text-align: center;
  margin: 0px auto;  
  padding: 0px;  
}
#text2 {
  display: inline-block;
  width: 100%;
  max-width: 1200px;  
  text-align: center;
  margin: 0px auto;    
  padding-top: 0px;  
}

 #textview {   
  width: 100%;
  padding: 20px 0 0 0; /* top right bottom left */
  text-align: left;
}

#imgtext         { z-index: 999999; right: 0px; width: 50%; margin-top: -260px; padding-left: 20px; position: absolute; text-align: left; height: auto; background-color: #ff7300;  -o-transition:.5s;  -ms-transition:.5s;  -moz-transition:.5s;  -webkit-transition:.5s;  transition:.5s; cursor: pointer; } 
#imgtext:hover   { background-color: #376f0d;  filter:alpha(opacity=70);-moz-opacity:.70;opacity:.70; cursor: pointer; } 

#panel1                 { position: absolute; width: 100%; height: 450px; float: left; }
#panel2                 { width: auto; height: 450px; text-align: right; }

#slogan                 { color: #fff; margin-top: 50px; margin-left: 50px; font-size: 40px; font-weight: normal; letter-spacing: -1px; line-height: 1.2; }
p.slogan        { color: #fff; margin-top: 50px; margin-left: 50px; font-size: 40px; font-weight: normal; letter-spacing: -1px; line-height: 1.2;  }

#panel3                 { width: 100%; min-height: 120px; float: right; }
#panel4                 { width: auto; height: auto; text-align: left; opacity: 0.95; }
#imgtext2               { display: inline-block; width: 40%; margin-top: 150px; left: 0px; position: absolute; text-align: right; height: auto; background-color: #323232;  } 
#slogan2                { color: #000; margin-top: 40px; padding: 60px; margin: 0px; font-size: 32px; font-weight: normal; }

footer {
  position: relative;
  display: block;
  width: 100%;
  text-align: center;
  margin: 0px auto;  
  background-color: #323232; 
  background-size: cover;
  clear: both;
  padding: 0px;
}

h1                        { display: inline; color: #ff7300; font-weight: normal; }
h2                        { display: inline; color: #323232; font-weight: normal; }
h2.nadpiswhite            { text-align: center; color: #fff; }
h3                        { display: inline; font-size: 24px; color: #323232; font-weight: bold; }
h4                        { display: inline; font-size: 24px; color: #323232; font-weight: normal; }
h5                        {  font-size: 24px; color: #ff7300; font-weight: normal; padding-top: 0px; padding-bottom: 20px; margin:0px; }
p                         { font-size: 15pt; color: #323232; font-weight: 200; }
p.nadpis                  { font-size: 28px; color: #323232; font-weight: normal; }


a.novinky2                { font-size: 16pt; color: #323232; text-decoration: none; } 
a.novinky2:hover          { font-size: 16pt; color: #ff7300; text-decoration: none; } 
a.novinky                 { font-size: 14pt; color: #323232; text-decoration: none; text-align: justify; } 
a.novinky:hover           { font-size: 14pt; color: #323232; text-decoration: none; text-align: justify;  } 

a.white                   { color: #fff; text-decoration: none; }
a.white:hover             {  color: #fff; text-decoration: underline; }
a.whitebig                   { font-size: 28px; color: #fff; padding-top: 5px; text-decoration: none; }
a.whitebig:hover             { font-size: 28px; color: #fff; padding-top: 5px;  text-decoration: underline; }
a.purple                   { font-size: 18px; color: #ff7300; text-decoration: none; }
a.purple:hover             { font-size: 18px; color: #fff; text-decoration: underline; }

a.nadpis                  { font-size: 18px; color: #323232; text-decoration: none; } 
a.nadpis:hover            { font-size: 18px; color: #323232; text-decoration: underline; } 
table.dj                  { cursor: pointer;  }
table.djhover             { cursor: pointer;   filter:alpha(opacity=80);-moz-opacity:.80;opacity:.80; }
input[type=submit]        { font-size: 17px; color: #ffffff; border: 1px solid #000000; background-color: #323232; height:40px; min-width: 120px; cursor: pointer; } 
input:hover[type=submit]  { font-size: 17px; color: #ffffff; border: 1px solid #000000; background-color: #21252a; height:40px; min-width: 120px; cursor: pointer; } 
p.oznam                   { font-size: 17px; color: #323232; } 
input.text                { font-size: 15px; color: #323232; text-align: center; border: 1px solid #323232; background-color: #ffffff; height:40px; min-width: 200px; cursor: pointer; } 
input.text_hover          { font-size: 15px; color: #323232; text-align: center; border: 1px solid #323232; background-color: #fbf5f7; height:40px; min-width: 200px; cursor: pointer; } 

#menucopyright {
  width: 100%;
  max-width: 1200px;  
  text-align: center;
  margin: 0px auto;  
  clear: both;
  padding: 0px;
  height: 150px;
}

#menucopyright2 {
  max-width: 1200px;  
  text-align: center;
  margin: 0px auto;  
  clear: both;
  padding: 0px;
}



#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #21252a; /* Set a background color */  
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
}

#myBtn:hover {
    background-color: #323232; /* Add a dark-grey background on hover */ 
}

.scrollingElement {
  overflow: scroll;
  position: absolute;
  top: 213px;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
}

a.menucopyrightoff        {  font-size: 1.1em; color: #ffffff; text-decoration: none;  letter-spacing: 0px; }
a.menucopyrightoff:hover  {  font-size: 1.1em; color: #323232; text-decoration: none;  letter-spacing: 0px; } 
a.menucopyrighton         {  font-size: 1.1em; color: #323232; text-decoration: none;  letter-spacing: 0px; } 
a.menucopyrighton:hover   {  font-size: 1.1em; color: #323232; text-decoration: none;  letter-spacing: 0px; } 
td.menucopyrighton        { height: 120px; }
td.menucopyrighton:hover  { height: 120px; }
td.menucopyrightoff       { height: 120px; }
td.menucopyrightoff:hover { height: 120px; }


/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
/* for 1050px or less */
@media screen and (max-width: 1050px) {

  #logo                   { margin-bottom: 0px; margin-top: 40px; padding: 0px; margin-left: 40px; min-width: 350px; width: 100%; max-width: 400px; background:url(../pictures/logo_klimatizacie_bratislava.webp) no-repeat; background-position: center center; cursor: pointer; background-size: 100%; -o-transition:.5s;  -ms-transition:.5s;  -moz-transition:.5s;  -webkit-transition:.5s;  transition:.5s; }
  #logo:hover             { margin-bottom: 0px; margin-top: 40px; padding: 0px; margin-left: 40px; min-width: 350px; width: 100%; max-width: 400px; background:url(../pictures/logo_klimatizacie_bratislava.webp) no-repeat; background-position: center center; cursor: pointer; background-size: 100%; filter:alpha(opacity=60);-moz-opacity:.60;opacity:.60;  }

  #pagewrap { width: 100%; margin: 0px; padding: 0px; margin: 0px; }
  
.rmenu {
  height: 76px;
}

  #text {
    clear: both;
    padding: 0px;
    width: auto;
    float: none;
  }

 #textview { 
  width: 100%;
  padding: 20px;
}

#text2 {
  padding: 0px;

}

#text1 {
	background: none;
}

}

/* for 650px or less */
@media screen and (max-width: 650px) {

   #nezavaznacenovaponuka {
      top: 30%;
   }

   .prihovor_img {
      float: left;
      width: 100%;
      padding: 0px;
      padding-right: 20px;
      min-width: 80px; 
      max-width: 150px;  
   }

   h3 { 
      display: inline;
      font-size: 18px;
      color: #323232;
      letter-spacing: -1px;
   }


 p.vsetkynovinky {
    float: right; padding-right: 20px;
 }


 div.novinka { 
   width: 100%; 
   height: 200px;
   margin-bottom: 0px; 
 }

 #novinka2 { 
  margin: 0 auto;
  width: 100%;
  text-align: left; 
  padding: 0px;
}

 #logo                   { margin-top: 0px; margin-left: 30px; min-width: 250px; width: 50%; max-width: 300px; background:url(../pictures/logo_klimatizacie_bratislava.webp) no-repeat; background-position: center center; cursor: pointer; background-size: 100%; -o-transition:.5s;  -ms-transition:.5s;  -moz-transition:.5s;  -webkit-transition:.5s;  transition:.5s; }
 #logo:hover             { margin-top: 0px; margin-left: 30px; min-width: 250px; width: 50%; max-width: 300px; background:url(../pictures/logo_klimatizacie_bratislava.webp) no-repeat; background-position: center center; cursor: pointer; background-size: 100%;  filter:alpha(opacity=60);-moz-opacity:.60;opacity:.60;  }

 #textview { 
  width: 100%;
}

.rmenu {
  height: 54px;
}

  
.icon {
  margin-top: 0px;
  margin-bottom: 0px;
}

h2              { font-size: 24px; color: #323232; font-weight: normal;  margin-left: 20px;  }

#socialnesiete {   
  padding-right: 20px;
  display: block;     
}


}

/* for 480px or less */
@media screen and (max-width: 480px) {  

#minilogo {
  display: inline-block;
  vertical-align:middle;
  width: 100%;
  max-width: 30px;
  margin-left: 5px;
  padding-right: 10px;
}  

.fakty {
  overflow: hidden;
  text-align: justify;
  float: left;
  padding: 20px;
  width: 90%;
}
.fakty2 {
  float: left;
  width: 10%;
  overflow: hidden;
}


#logo                   { margin-top: 0px; margin-left: 30px; padding-left: 0px; min-width: 150px; width: 50%; max-width: 200px; background:url(../pictures/logo_klimatizacie_bratislava.webp) no-repeat; background-position: center center; cursor: pointer; background-size: 100%; -o-transition:.5s;  -ms-transition:.5s;  -moz-transition:.5s;  -webkit-transition:.5s;  transition:.5s; height: 120px;}
#logo:hover             { margin-top: 0px; margin-left: 30px; padding-left: 0px; min-width: 150px; width: 50%; max-width: 200px; background:url(../pictures/logo_klimatizacie_bratislava.webp) no-repeat; background-position: center center; cursor: pointer; background-size: 100%; filter:alpha(opacity=60);-moz-opacity:.60;opacity:.60; height: 120px; }

div.icon { min-width: 300px; padding: 0px; margin: 0 auto; }
img.icon { width: 170px; padding: 0px; margin: 0px; }

}

#text {
  margin-bottom: 0px;
}

#menuoff                { height: 100px; float: left; background-color: #3a3223; cursor: pointer; padding-bottom: 20px; }
#menuoff:hover          { height: 100px; float: left; background-color: #404244; cursor: pointer; padding-bottom: 20px; }
#menuon                 { height: 100px; float: left; background-color: #323232; cursor: pointer; padding-bottom: 20px; } 
#menuon:hover           { height: 100px; float: left; background-color: #323232; cursor: pointer; padding-bottom: 20px; } 

p.menu                    { }
a.menuoff                 { margin-left: 12px; margin-right: 12px;  font-size: 1.1em; color: #fff; text-decoration: none;  letter-spacing: 0px; }
a.menuoff:hover           { margin-left: 12px; margin-right: 12px;  font-size: 1.1em; color: #fff; text-decoration: none;  letter-spacing: 0px; }
a.menuon                  { margin-left: 12px; margin-right: 12px;  font-size: 1.1em; color: #fff; text-decoration: none;  letter-spacing: 0px; }
a.menuon:hover            { margin-left: 12px; margin-right: 12px; font-size: 1.1em; color: #fff; text-decoration: none;  letter-spacing: 0px; }


a.gray2                   { font-size: 15px; color: #c4c4c4; text-decoration: none; }
a.gray2:hover             { font-size: 15px; color: #c4c4c4; text-decoration: none; }
a.gray                    { font-size: 15px; color: #4f4f4f; text-decoration: none; }
a.gray:hover              { font-size: 15px; color: #4f4f4f; text-decoration: none; }
p.gray                    { font-size: 13px; color: #4f4f4f; }
p.gray2                   { font-size: 13px; color: #c4c4c4; }

td.circleoff              { background:url(../pictures/circle_gray.jpg) no-repeat;  background-position: center center; }
td.circleon               { background:url(../pictures/circle_rouge.jpg) no-repeat; background-position: center center; }
p.textwhite               { color: #ffffff; }
p.nadpiswhite             { font-size: 15px; color: #ffffff; }
p.copyright               { font-size: 15px; color: #ffffff; }

a.module_novinka2         { font-weight: normal;        font-size: 13px;    color: #e94351;    text-decoration: none; }
a.module_novinka2:hover   { font-weight: normal;        font-size: 13px;    color: #1c1b20;    text-decoration: none; }
a.module_novinka          { font-weight: normal;        font-size: 13px;    color: #1c1b20;    text-decoration: none; }
a.module_novinka:hover    { font-weight: normal;        font-size: 13px;    color: #e94351;    text-decoration: none; }

td.backtotop              { width: 53px; height: 53px; cursor: pointer;   background: transparent url(../pictures/backtotop_off.jpg) no-repeat; }
td.backtotop_hover        { width: 53px; height: 53px; cursor: pointer;   background: transparent url(../pictures/backtotop_on.jpg) no-repeat; }


select {
height: 36px;
padding:0px;
border-radius: 6px; 
-moz-border-radius: 6px; 
-webkit-border-radius: 6px; 
border: 1px solid #03325E;

   margin: 0;
    background: #e5eaee;
    color:#03325e;
        outline:none;
    display: inline-block;

}


td.tip                    { height: 22px; background-color:#ffcc33;}
td.gray                   { height: 22px; background-color:#dddddd;}
a.oznam                   { font-size: 15px; color: #21252a; }
a.oznam:hover             { font-size: 15px; color: #03325e; }
a.selected                { text-decoration: underline; font-size: 15px; color: #03325e; }
a.selected:hover          { text-decoration: underline; font-size: 15px; color: #03325e; }
a.notselected             { text-decoration: none; font-size: 15px; color: #03325e; }
a.notselected:hover       { text-decoration: none; font-size: 15px; color: #03325e; }
table.aktivny             { cursor: pointer; }
a.aktivny                 { color: #21252a; font-size: 15px; text-decoration: none; }
a.aktivny:hover           { color: #323232; font-size: 15px; text-decoration: none; }
p.text                    { font-size: 15px; color: #323232; }
input                     { font-size: 15px; color: #000000; }
textarea                  { font-size: 15px; color: #000000; }
img.hlavna                { border-color:#21252a;  border-style:dashed;  border-width:5px; }
p.zlta15                  { font-size: 15px; color: #03325e; }
p.modra15                 { font-size: 15px; color: #03325e; }
a.modra                   { font-size: 18px; }
