﻿
 * {
    margin: 0;             /* vynulování všech okrajů */ 
    padding: 0; 
    }
    
    
 body {	        
       width: 100%;             /* bude zabírat 75 pc okna prohlížeče */ 
       height: 100%;
       min-width: 5em;
       max-width: 135em;         
       margin: 0em auto 0em auto;  
       /* nahoře mezera 0, postranní panely jsou shodné, tedy vycentováno */ 
 
       background-color: white;           /* #f4f5f7 */ 

/* tisk pozadí stránky */
 -webkit-print-color-adjust: exact; /* For Chrome, Safari, Edge */
 print-color-adjust: exact;         /* Standard property */ 

       color: #1F3349;            /*  #414141  */ 
       font-size: 1.1em;         /*  to je 18px  */ 
       font-family: 'Open Sans', Arial, sans-serif;
       line-height: 170%; 
       letter-spacing: 0em;
       font-weight: 300;
             }     /* to je konec body   */

 
.konecstranky { page-break-after: always; 
  /*       background-position: center center; 
        background-repeat: no-repeat;
        webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
       background-size: cover;
       overflow: hidden;
       background-image: url("PRINT/vodoznak.jpg");  */
}

h5, h5 a, h6, h6 a, .h7, .h7 a { padding: 0.15em 0em 0.2em 0em; }  
h1, h1 a, h1 a:hover, h2, h2 a, h3, h3 a, h4, h4 a, h5, h5 a, h6, h6 a, .h7, .h7a {color: #324362; color.: #0A265C; text-decoration: none; line-height: 150%; }      

h1 {
  margin: 0.1em 0em 0.5em 0em;
  color: #0A265C; 
  font-size: 1.5em;
  font-weight: 600; 
  font-family: 'Open Sans', Arial, sans-serif;        /* font-family: Verdana vel. 1.5, 'Dekko', cursive; font-family: 'Itim', cursive; */
                   }       
 
h2, h6 {
  font-size: 1.3em; 
  color: #0A265C;
  margin: 0.1em 0em 0.3em 0em;
  font-weight: 600;
  line-height: 150%;
  font-family: 'Open Sans', Arial, sans-serif; 
            }       

h3, h4, h5, .h7, .h7a {
  font-size: 1.15em;
  padding: 0.1em 0em 0.3em 0em;
  font-weight: 600;
  line-height: 150%;
  font-family: 'Open Sans', Arial, sans-serif; 
                   }       
 
@media (max-width: 600px) { h1 { font-size: 1.5em; } }        

strong, b { font-weight: bold; color: #1F3349; }

a.oranztlacitko {
 color: white; text-decoration: none; background-color: #f7a12b;
background-image.: linear-gradient(to bottom right, #f37e00, #f7a12b, #f37e00);
box-shadow: /* Subtle inner shadow to mimic a curved surface */
    inset 0 1px 0 rgba(255, 255, 255, 0.5), 
    /* Outer shadow for a lifted effect */
    0 3px 5px rgba(0, 0, 0, 0.2);
 padding: 0.2em 0.4em 0.2em 0.9em;
 margin: 0.5em 0 0.2em 0;
 font-size: 1em;
 font-weight: bold;
 border-radius: 0.5em; 
 display: block;
 width: 6.7em;
   }   
a.oranztlacitko:hover {color: white; text-decoration: none; background-color: #f37e00; transition: background-color 0.5s ease; }   

.buy {
 color: white; text-decoration: none; background-color: #f7a12b; background-image.: linear-gradient(to bottom right, #f37e00, #f7a12b, #f37e00);
box-shadow: /* Subtle inner shadow to mimic a curved surface */
    inset 0 1px 0 rgba(255, 255, 255, 0.5), 
    /* Outer shadow for a lifted effect */
    0 3px 5px rgba(0, 0, 0, 0.2);
 padding: 0.2em 0.9em 0.25em 0.9em;
 margin: 0.7em 0em 0.3em 0em;
 font-size: 1.1em;
 font-weight: bold;
 border-radius: 0.5em; 
 border: none; 
 text-decoration: none;
 cursor: pointer;
 text-align: center; 
 line-height: 230%;
 white-space: nowrap;
     }   
.buy:hover {color: white; text-decoration: none; background-color: #f37e00; transition: background-color 0.5s ease; }   

.krizovka {              
     margin: 0em 0.1em 0.5em 0.1em;
     padding: 0.1em;     
     background-color.: #f9fbff; background: transparent;  
     border: 0px solid #E2E8F0; border-radius: 0.7em;
          }
      
.krizovka input {
  width: 1.5em; max-height.: 1.5em;
  color: #414141;     /* modrá: #2678ec */ 
  font-size: 2.3em;
  font-weight: bold;
  text-align: center; 
  margin: 0.07em;
  outline: none;
  background-color: white;
  /*  border-radius: 0.3em; 
  border: 0.13em solid #f37e00;  */
}

.krizovka input[type=button], input[type=submit], input[type=reset], button, .zelenetlacitko {
  background-color: #3B82F6;          /* #3784D8  #3B82F6  */ 
  width.: 9em;
  border: none;
  font-family: 'Open Sans', Arial, sans-serif; 
  transition: background 0.4s;  /* při najetí myší se zabarvuje postupně  */
  font-size: 1.1em;
  font-weight: bold;
  color: white;
  background.: linear-gradient(180deg, #5FA8FF 0%, #3B82F6 55%, #2F73E0 100%);
  box-shadow.:0 10px 22px rgba(59,130,246,0.22);
  padding: 0.4em 1.2em;
  text-decoration: none;
  margin: 1em 0.1em;
  cursor: pointer;
  text-align: center; 
  border-radius: 0.3em;
  outline: none;           /*  kolem políčka se nedělá modrý rámeček  */
  white-space: nowrap;      /*  text se nezalomí na novou řádku  */
 }

.krizovka label {font-size: 2.3em; font-weight: bold;}

.krizovka input[type=reset]:hover {background-color: #8eb000;}

.krizovka input[type=submit]:hover {background-color: #8eb000;}

.krizovka input[type=button]:hover {background-color: #8eb000;}

button:hover { background-color: #3575dd; }

a.zelenetlacitko:hover { color: white; text-decoration: none; background-color: #3575dd; }

.modrybutton { margin: 0.7em 0em; }  
.modrybutton button { color:#334155; border:1px solid #858fbb; background:#FFF;
 padding: 0.2em 0.7em; margin: 0.2em 0.1em; font-weight: 600; font-size: 0.9em;}  
.modrybutton button:hover {background-color: #d7e6fd; }

::placeholder {color: #DADBDD; }

     
.odstavec {  padding: 2em 0.3em 2em 0.3em; background-color: #f4f9ff; } 
      
.mezeradole {   /* div, který bude mít jen spodní okraj */ 
  padding: 0 0 5em 0;
         }  

div.sticky {
  position.: -webkit-sticky; /* Safari */
  position.: sticky; border.: 1px solid red;
  top.: 0; 
} 
     
p { padding: 0.2em 0 0.5em 0; }  
    
.tabulka {
   background-color: #f37e00;
   margin: 0.5em auto 1em auto;
   border: 0.3em solid #FE7D05;
              }   

.tabulka td {
  padding: 0em;      /* buňka  */ 
               }
       
.tabulka tr {          /* řádka  */ 
     }

tr:hover {background.: rgb(239,239,239)} 
  
.prvniradkatabulky { 
    background-color: #F0F0F0; 
    font-weight: bold;
    border: 0px solid lightgrey;  
  }  

.obrvtab { max-height: 90px; }      

img, canvas, video, svg {
  max-width: 100%;        /* obrázek se nebude zvětšovat nad své skutečné rozměry, např. ikony sociálních sítí */ 
  height: auto;     
  box-sizing: border-box;
  position: relative;
           }
          
iframe {
  max-width: 100%;        
  box-sizing: border-box;
        }       

.logoimg { max-width: 13.7em; }
 
.sarka {
  max-width: 7em;    
  margin: 0em auto 0em auto;    
          }  
          
.ebookmensi {
  max-width: 17em;        
          }      
        
.ebookvetsi {
  max-width: 24em;        
          }          
 
.obr34 {
  height: 0em;
  padding: 0 0 75% 0; 
  overflow: hidden;
  border: 0px solid grey;   
    } 
   
.obr23 {
  height: 0em;
  padding: 0 0 66.66% 0; 
  overflow: hidden;
  border: 0px solid grey;
    } 
    
.obr916 {
  height: 0em;
  padding: 0em 0em 56.25% 0em; 
  overflow: hidden;
  border: 0px solid grey;
    }     
    
.obr11 {
  height: 0em;
  padding: 0 0 100% 0; 
  overflow: hidden;
  border: 0px solid grey;
    }      

.pin {                     /* obrázek z Canvy pro sdílení na Pinterestu */
  max-width: 13em;    
  margin: 0em 1em 0.5em 0em; 
    }      

.center {
  text-align: center;
    }  

.max {
 margin: 0em auto 0em auto;      /* nahoře mezera 0, postranní panely jsou shodné, tedy vycentováno */ 
 width: 97%;
 max-width: 90em;       /* calc(57em + 17vw) nebo 90%, maximální šířka celého layoutu 1.120px  */
 border: 0px solid silver;
   } 

.maxmensi {
 margin: 0em auto 0em auto;      /* nahoře mezera 0, postranní panely jsou shodné, tedy vycentováno */ 
 max-width: 50em;          /* maximální šířka 800 px */
  /*background-color: aqua; */
 } 
 
.pismovetsi {
  font-size: 115%;
  padding: 0.7em 0;
  line-height: 175%;
     }  
   
.pismonejvetsi {
  font-size: 1.5em;
        }  
   
.pismomensi {
  font-size: 0.7em;
       }  

p.popisobr {
  font-size: 90%;
  color: rgb(100,100,100);   
  line-height: 150%;
  padding-bottom: 2em;
  text-align: center;
      }    
      
p.amazon {
  font-size: 80%;
  text-align: center;
  line-height: 140%;
  font-style: italic;
  margin: 0em 0 1em 0;
      }  
      
p.adresa {
  font-size: 90%;
  color: rgb(100,100,100);
  line-height: 150%;
      }


p.podpis {
  font-size: 90%;
  line-height: 180%;
  text-align: right;
  font-style: italic;
  padding: 1em 0 2em 0;
      }  
  
.seznam {
  padding: 0em 1em 0em 1.7em;
  /* list-style-type: circle;
  list-style-image: url('IMG/ctverecek.jpg');  */
       }                             

.ws {                                /* styl pro worksheet */
   max-height: 21em; 
   margin: 0.3em 0.5em 0em 0.3em;
   border: 0px solid rgb(255,202,14); 
        }     

a {text-decoration: underline; color: #426CCB; }   /*  */
a:hover {text-decoration: underline; color: #3456a2;}     /*   */ 

a strong, a b { 
    color: #426CCB;   /*    */ 
    text-decoration: none;
    }  

a b:hover {text-decoration: underline; color: #3456a2;}

ul li::marker {color: #3b82f6; } 

a img:hover {
    /*  opacity: 0.8; filter: alpha(opacity=80); For IE8 and earlier */
   transform: scale(1.03); overflow.: hidden; } 
 
a.tlacitko {padding: 0.3em 0.8em 0.4em 0.8em; margin: 0.5em 0em 2.3em 0em; color: #fff; text-decoration: none; border-radius: 0.4em; font-weight: bold;}

a.stitek { background-color: white; line-height: 250%; padding: 0.2em 0.5em 0.3em 0.5em; margin: 0.5em 1em 2em 0em; color: #e95d0f; text-decoration: none; border-radius: 0.4em; border: 0.05em solid #e95d0f; white-space: nowrap;}
a.stitek:hover {color: white; background-color: #e95d0f; transition: color 0.5s ease; transition: background-color 0.5s ease; }

a.podtrzene:hover {text-decoration: underline;}
a.nepodtrhavat {text-decoration: none; }
a.nepodtrhavat strong {color: white; }

.ramecek {border: 0.1em solid white; }  
a.ramecek:hover {background-color: white; color: rgb(32,32,32); text-shadow: 0-0 0 black;}    /* modrá barva z oblohy */

a.ramecekcerny { color: black; border: 0.1em solid rgb(65,65,65); font-size: 1.1em; padding: 0.1em 0.6em 0.2em 0.6em; line-height: 200%; text-decoration: none; }  
a.ramecekcerny:hover {border: 0.1em solid black; color: black; text-decoration: none; box-shadow: 0px 2px 15px 0px rgba(0,0,0,0.3);}

.ztmavitmin {
    opacity: 0.8;
    filter: alpha(opacity=80); /* For IE8 and earlier */
}

.ztmavit {
    opacity: 0.5;
    filter: alpha(opacity=50); /* For IE8 and earlier */
}

.zesvetlit {
    opacity: 1;
    filter: alpha(opacity=100); /* For IE8 and earlier */
}

.ztmavit:hover, .ztmavitmin:hover {
    opacity: 1.0;
    filter: alpha(opacity=100); /* For IE8 and earlier */
}
 
.zesvetlit:hover {
    opacity: 0.8;
    filter: alpha(opacity=80); /* For IE8 and earlier */
} 
 
hr {
    margin: 0px auto 0px auto; 
    border: 0.1em;
   /* height: 0.1em;
    background-image: linear-gradient(to right, #ccc, #999999, #ccc);    přechod čáry do ztracena 
    color: rgb(220,220,220);*/
    background-color: white;
    border-top: 0.05em solid rgb(230,230,230);
  }  

.video {font-size: 15px; position:absolute; top:2px; right:8px; text-decoration: none; color: #c74700; } 
.video:hover { text-decoration: none; color: #9f3800; } 
@media (max-width: 500px) { .video { display:none; }  }    

.container {
  margin: 0em auto 0em auto; 
  border: 0px solid grey;
  display: flex; 
  display: -webkit-flex;
  flex-wrap: wrap;
  justify-content: center;   /* flex-start, space-between nebo center nebo space-around 
                              https://www.w3schools.com/cssref/css3_pr_justify-content.php*/
     }

/*  https://www.w3schools.com/css/css3_flexbox_items.asp       
The flex property is a shorthand property for the flex-grow, flex-shrink, and flex-basis properties.  */

article {
background-color.: white; 
margin: 1em calc(0em + 5%) 1em calc(0em + 7%);    
border: 0px solid grey;   
flex: 3 1 45em;  /* budou se roztahovat horizontálně i vertikálně a poslední číslo šířka, při které se začne skládat pod sebe */  
max-width: 47em;
overflow: hidden;
order.: 2;
    } 
@media (max-width: 1900px) { article { margin: 1em calc(0em + 3%) 1em calc(0em + 2%); } }         


article p {  padding: 0 0 1em 0; }    

aside {  
background-color.: white;
margin: 1em 0.1em 1em calc(0em + 5%);   /*   */
border: 0px solid red;   
max-width: 307px;
flex: 1 1 315px;  /* budou se roztahovat horizontálně i vertikálně a poslední číslo šířka, při které se začne skládat pod sebe */ 
/*  overflow: hidden;  div sticky by nefungoval  */ 
order.: 1;
    }       
/* @media (max-width: 1700px) { aside { margin: 1em 0.1em 1em calc(3em + 5%); } }   */     

aside a { color: #414141; } 


.eventtext {           
    flex: 3 1 14em;  /* budou se roztahovat horizontálně i vertikálně a poslední číslo je šířka, při které se začne skládat pod sebe */
    margin: 0.1em 1em 0.3em 0em;
    padding: 0.2em 0em 0em 0em;
 /* border: 1px solid grey;   */
    overflow: hidden;
       }     

.eventimg {           
    flex: 1 1 7em;  /* budou se roztahovat horizontálně i vertikálně a poslední číslo je šířka, při které se začne skládat pod sebe */
    margin: 0.3em 1em 0.3em 0em;
    border.: 0px solid grey;  
}                                 

.malyobdelnik {       /* reklama: malý obdélník */    
   flex: 1 1 17em;  
   margin: 1em 0.3em 2em 0.3em;
   padding: 0em 0em 0em 0em;
   /*  border: 0.5px solid grey;   */
    overflow: hidden;
       }

.box {           /* např. boxy v patičce, na domovské stránce a na cornerstone článcích */
    flex: 1 1 15em;  /* budou se roztahovat horizontálně i vertikálně a poslední číslo je šířka, při které se začne skládat pod sebe */
    margin: 1em 1em 2em 1em; 
    /* border: 1px solid #d7d7d7;     */
    max-width: 19em; 
    overflow: hidden;
  background-color: transparent;  /* */
}  
                              
.boxik { flex: 1 1 11.5em;  /* jsou v nich worksheety a obrázky u her pod jednotlivými ročníky */
    margin: 0.7em 1.2em 0.3em 0.1em;
    max-width: 15em;
   }
 
.share {       /* obrázky sociálních ikon: jsou světlé a mají od sebe odstup */
    opacity: 0.5;
    filter: alpha(opacity=50); /* For IE8 and earlier */
    margin: 0em auto 0em auto;   
    width: 2.1em;         
    position: relative;
    top: 10px;
}
.share:hover { opacity: 0.9; transform: scale(1); } 


.qr { max-width: 4em; margin: 0.1em 0em 0.5em 0em }


/*  Small Switch Palette:
    https://mycolor.space/ 
 https://color-hex.org/color/a7c721
*/

.svetlezelena { background-color: #a7c721; }
.zelena { background-color: #8eb000; }
.modra { background-color: #2678ec;  }       
.svetlemodr { background-color: #f3f8fb;   }      
.oranzova { background-color: #f37e00;  } 
.oranzovytext { color: #f37e00;  } 
.ruzova { background-color: #c7045f; }    /* solomon: #fc6c6c */ 
.fialova { background-color: #9a94b3;  } 
.bila  { color: white;  }       
.cerna  { color: black;   }     
.tmavemodra { color: #0796d9;  }  
.svetleseda  { color: darkgray;   }   
.bilepozadi { background-color: white;  }         
.sedepozadi { background-color: rgb(229,231,233);  }  
.cernepozadi { background-color: rgb(10,10,10);   }  
.svetlemodra { color: #0796d9;  }    

.obrnapozadi {
        background-color.: #fff5be;           
        background-position: center center; 
        background-repeat: no-repeat;
        webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
       background-size: cover;
       padding: 4em 0em 3em 0em;
       height.: 0em;
       overflow: hidden;
       text-align: center;
       margin: 0em 0em 1em 0em;
   }    

/* tisk worksheetů pod PRINT */        
.jentisk {display: none;}
@media print {
  .no-print {display: none; }
  .yes-print {display: block;}
  .jentisk {display: block; }
  }