/* CSS Document */
/* (c) by MArtin Shuggy Švec */
/* last update: 3/2022 */


emo.css
body,h1,h2,h3,p,quote,small,form,input,ul,li,ol,label{
/* Reset pravidla */
margin:0px;
padding:0px;
}
 
body{
color: #f6f0ff;
text-shadow: 1px 1px 2px #4a2a57;
font-size:1.5rem;
font-family:Calibri, Arial, Helvetica, sans-serif;
width: 100%;
margin:0px;
/*background-image: url(img/Ostry.jpg);*/
background-image: url(img/ostryS.webp);
background-position: center top;
background-repeat: no-repeat;
background-color: #c8dfe7;
background-size: cover;
background-attachment: scroll;
}

h1{
font-size:2.7rem;
color: white;
text-shadow: 1px 1px 2px #4a2a57;
font-weight:bold;
font-family:Calibri,Arial, Helvetica, sans-serif;
letter-spacing:1px;
padding: 0.5rem ;
margin: 0 auto;
background-color: rgb(0, 143, 211);
background-image: linear-gradient(20deg, rgb(0, 143, 211), rgb(0, 57, 117));
border-radius:10px;
cursor: pointer;
}
 
h2{
font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:2rem;
font-weight:bold;
letter-spacing:1px;
text-transform:uppercase;
/*white-space:nowrap;*/
color:white;
text-shadow: 1px 1px 2px #4a2a57;
}
h3 {
  font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:1.7rem;
font-weight:bold;
letter-spacing:1px;
text-transform:uppercase;
/*white-space:nowrap;*/
color:white;
  }
img {
  border: none;
  }                           
 
.clear{
clear:both;
}
 
 
.container{
margin-top:20px;
background:#FFFFFF;
border:1px solid #E0E0E0;
padding:15px;
 
/* Zaoblené rohy */
-moz-border-radius:20px;
-khtml-border-radius: 20px;
-webkit-border-radius: 20px;
border-radius:20px;
}
 

/* NAVIGACE */
header {
  position: relative;
  width: 82%;
  margin: 0 auto;
  max-width: 1600px; 
  height: 200px;
  }

#logo {
    position: relative;
    width: 100%;
    height: 90%;        
    }
 
#logo h1 {
  position: absolute;
    margin:  0;
    left: 0px;
    top:55px;
    z-index: 2;
    display: block;
  }
  
#imgLogo {
  position: absolute;
  top: 1em;
  left: calc(50% - 75px);
  z-index: 0;
  border-radius: 100%;
  box-shadow: 2px 3px 5px rgb(0 57 117);
  }
     
#ikons {
  position: absolute;
  margin: .5rem 0 0 .5rem;
  right: 0;
  bottom: 0;
  }   
   
/* telo */
#telo {
  position: relative;
  width: 82%;
  max-width: 1600px;
  margin: 0 auto;
  overflow: hidden;
  }
#telo section {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 0 2em 0;
  border-radius:20px;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding-bottom: .5rem;
  background-image: linear-gradient(20deg, rgba(0,143,211,0.5), rgba(0, 57, 117,0.5));
  }
  
#oNas p {  
    margin: 0 0 0 0;
    }
  
#telo section div {
  float: left;
  position: relative;
  width: 31%;
  padding: 1% ;
  }  

#telo section div.fb-page {
    width:100%;
    }

#kontakt {  }

#tsm {  }
                    
#telo section h2:first-of-type {
    border-top-left-radius:20px;
    border-top-right-radius:20px;
  } 
  
#telo section h2 {
    background-color: rgba(0,143,211,0.9);
    background-image: linear-gradient(20deg, rgba(0,143,211,1), rgb(0, 57, 117,1));
    padding: .5rem 0 .3rem .5rem;  
  }  
   
#telo section p {
  margin: .5rem 0 0 0;
  border-radius:10px;
  float: left;
  /*font-size: 1.9em;*/
  }  
  
#telo section#podpora div {
    width: 98%;
        }
        
#telo section#podpora .sponsor {
    display: flex;
    flex-wrap: wrap;    
    }        
        
#telo section#podpora div.sponsor a {
    margin: 0 1% 0 0;
            } 
#telo section#podpora div.sponsor a:last-of-type {  
    margin: 0; 
    }
                     
#telo section#podpora div.sponsor a img {  }     

#copyright {
    width: calc(100% - 70px);
    display: flex;
    font-size: 1rem;
    }
        
#tkos,
#adresa {
    /*font-size: 1.6rem;*/
    margin: 0 0 .2rem 0;
    display: block;
    }  
 
p#turnaje {
  max-width: 70%;
  }
  
a.top {
  position: absolute;
  right: .8rem;
  bottom: .8rem;
  margin: .5rem 0 0 .5rem;
  padding: .5rem;
  background-image: linear-gradient(20deg, rgb(0, 143, 211), rgb(0, 57, 117));
  border-radius:10px;
  font-size: 0.8rem;
  }      


footer { 
  /*background-image: url(img/antuka.jpg);*/
  border-top-right-radius:20px;
  border-top-left-radius:20px; 
  position: relative;
  margin: 0;
  width: 100%;
  }
  
footer h2  { 
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;    
    background-color: rgba(0,143,211,0.9);
    background-image: linear-gradient(20deg, rgba(0,143,211,1), rgb(0, 57, 117,1));
    padding: 0.5rem 0 0.3rem 0.5rem;
    }
         
#mapaTK {
    height:300px;
    }
        
 /*Lightbox background */  
#lightbox {  
 display:none;  
 background: rgba(0,143,211,0.7);   
 position:fixed;  
 top:0px;  
 left:0px;  
 min-width:100%;  
 min-height:100%;  
 z-index:1000;  
}  

/* Lightbox panel with some content */  
#lightbox-panel {  
 display:none;  
 position:fixed;  
 top:25px; 
 width: 80%;
 max-width:1570px; 
 background: rgb(0, 57, 117,1); 
 padding:10px 15px;  
 border:1px solid rgb(0,143,211);
 box-shadow: 1px 1px 5px black;  
 z-index:1001;
 border-radius: 20px; 
 max-height: 90%;
    overflow: auto;
}   
/* width */
#lightbox-panel::-webkit-scrollbar {
  width: 10px;
}

/* Track */
#lightbox-panel::-webkit-scrollbar-track {
  background: rgb(0, 57, 117,1);
   border-radius:5px;
}
 
/* Handle */
#lightbox-panel::-webkit-scrollbar-thumb {
  background: rgb(0,143,211);
  border-radius:5px; 
}

/* Handle on hover */
#lightbox-panel::-webkit-scrollbar-thumb:hover {
  background: rgb(0 116 178); 
}    
      


#lightbox-panel  div{
   display: none;
  }
#lightbox-panel #cenik-panel{ 
    font-size: 1.2rem;
 }

#lightbox-panel #cenik-panel h3{ 
    font-size: 1.3rem;
 } 
  
#lightbox-panel h3 {
  margin : 1rem 0 0;
  }
#lightbox-panel h4 {
  margin : 1rem 0 0;
      font-family: Calibrif,Arial,Helvetica,sans-serif;
    /*font-size: 1.3rem;*/
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    color: white;
  }  
  
#lightbox-panel span {
  /*font-size: 1.3em;*/
  padding-bottom: 0.2rem;
  
  }

#lightbox-panel p {
    /*font-size: 1.5rem;*/
    padding: 0.5rem 0 0 0;
}

#close-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
  margin: 0;
  padding: 0;
  border:1px solid rgb(0,143,211);  
  border-radius: 10px; 
  background-image: linear-gradient(20deg, rgba(0,143,211,1), rgb(0, 57, 117,1)); 
  }

a#close-panel::before,
#close-panel::after {
  display: block;
  background-color: #fff;
  position: absolute;
  height: 4px;
  width: 25px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

a#close-panel::before {
  content: '';
  margin: 13px 0 0 3px;
  transform: rotate(405deg);
}

a#close-panel::after {
  content: '';
  margin: 13px 0 0 3px;
  transform: rotate(-405deg);
}
  
a#close-panel:hover {
    text-decoration: none;        
    }    
  
.err{
color:red;
}
 
.success{
color:#00CC00;
}

.bila {
  color: white;
  text-shadow: 1px 1px 2px #4a2a57;
  }
  
.male  {
  font-size: 1.1rem;
  font-style: italic;
  display: block;
  }
  
.velke {
  font-size: 1.8rem;
  } 
  
a, a:visited {
color:white;
text-decoration:none;
outline:none;
}

h1 a:hover,
a#close-panel:hover {
text-decoration:none;
}
 
a:hover{
text-decoration:underline;
}
 
/* MENU - hambac */

nav {
  position: relative;
  float: right;
  width: fit-content;
  height: 90%;
  padding: 0;
  display: flex;
  flex-direction: column;
  margin: 10px 0 0 0;
  z-index: 5;
  }
 
nav a {
    position:relative;
 text-shadow: 1px 1px 2px #4a2a57;
  width: 100%;
  display: block;  
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
 } 
 
.menu {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  margin: 0;
  padding: 0;
  float: right;
}

.menu > li {
  margin: 0 0 5px 0;
  padding: 7px 20px;
  background-image: linear-gradient(20deg, rgba(0,143,211,0.8), rgba(0, 57, 117,0.8));
  border-radius:7px;
}

.menu-button-container {
  display: none;
  height: 30px;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(20deg, rgba(0,143,211,0.8), rgba(0, 57, 117,0.8));
  padding: 10px;
  border-radius: 5px;
  border: 1px solid rgb(0,143,211);
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #fff;
  position: absolute;
  height: 4px;
  width: 25px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

/* END hambac */

  
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (max-width: 1200px) {
    #logo h1 {
        font-size: 2rem;    
        } 
    }
/* END Extra large devices (large laptops and desktops, 1200px and up) */


/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width: 992px) {     
    
    #logo {}
    #logo h1 {
        font-size: 1.8rem; 
        border: 1px solid rgb(0,143,211);   
        }
        
    header,
    #telo 
    {width: 92%;}
    
    #lightbox-panel {  
        width: 88%;
        /*margin-left: -290px;*/
        }
    #telo section div {
        width:96%;
        padding: 2%;   
        } 
    #telo section p {
    float: none;   
        }
    #telo section div.fb-page {
       position: relative;
       /*width: 500px;*/
       margin: 0 auto;
       display: block;
       float: none;
        }  
                     
    h2 {
        font-size:2rem;
        letter-spacing: 0;
        }    
        
    }
/* END Large devices (laptops/desktops, 992px and up) */

    
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 768px) {
    
    .menu-button-container {
    display: flex;
    position: absolute;
    right: 0;
    top: 10px;
    
  }
  .menu {
    position: relative;
    top: 200px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    height: 0;    
  }
  
#menu-toggle ~ .menu a { 
    overflow:hidden;   }
#menu-toggle:checked ~ .menu a  { display: block;   } 
/*
#menu-toggle:checked ~ .menu {
    display: flex;
    //transition: height 1000ms cubic-bezier(0.23, 1, 0.32, 1);
    //height: 50px; 
    }  
 */ 
  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #menu-toggle:checked ~ .menu li {
    border: 1px solid rgb(0,143,211);
    height: 2.3rem;
    line-height: 2.3rem;
    padding: 0.3rem;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    margin: 0 0 3px 0;
  }
  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.3rem 0;
    width: 100%;
    background-color: #222;
  }
  
  
nav {
    margin:0;
    }
    
#logo h1 {
    top: 10px;
    left: 80px;
    }    
    
#imgLogo {
    height: 60px;
    left: 0;
    top: 5px;
    border-radius: 100%;
    box-shadow: 2px 3px 5px rgb(0 57 117);
    }
    
header {
    height: 75px;
    position: fixed;
    z-index: 4;
    width: 100%;
    background-image: linear-gradient(20deg, rgba(0,143,211,0.9), rgba(0, 57, 117,0.9));
    box-shadow: 1px 1px 3px rgb(0, 57, 117);
    }

header section {
    position: relative;   
    width: 92%;
    margin: 0 auto; 
    }
    
#telo {
    padding: 85px 0 0 0;
    } 
           
    }
/* END Medium devices (landscape tablets, 768px and up) */


/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (max-width: 600px) {
    header section {
    width: 96%;
    }
    #logo h1 {
    left: 70px;
    letter-spacing: 0;
        }    
    #telo {
    width: 96%;
        }
    .menu {
    left: -1%;
        }
    #telo section div#novinky {
    width: 98%;
    padding: 1%;
        } 
    #telo section div#novinky div {
     padding: 0;   
        }   
    #telo section {
        margin: 0 0 1rem 0;
    } 
    .fb_iframe_widget iframe {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
        }            
    }
/* END Small devices (portrait tablets and large phones, 600px and up) */


/* Extra small devices (phones, up to 395) */
@media only screen and (max-width: 395px) {
     #logo h1 {
        display: none;
        }
     #logo::after {   
        content: "TK ÚnL";
        font-size: 1.7rem;
        line-height: 2.5rem;
        background-image: linear-gradient(20deg, rgb(0, 143, 211), rgb(0, 57, 117));
        position: absolute;
        padding: 0.5rem;
        height: 34px;
        border-radius: 10px;
        top: 10px;
        left: 65px;
        border: 1px solid rgb(0,143,211);
        text-shadow: 1px 1px 2px #4a2a57;
    font-weight: bold;
        }
    } 
/* END Extra small devices (phones, ) */                                        