/* zakladni nastaveni barev fontu pisma velikosti pisma */
@import url(https://fonts.googleapis.com/css?family=PT+Sans);

body{
    font-family: "PT Sans",sans-serif;
    /*font-family: Arial, sans-serif;*/
    font-size: 16px;
    line-height: 1.42857;
    background-color: white;
    margin: 0px;
}
h1,h2,h3,h4,h5,h6{
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    margin-top: 22px;
    margin-bottom: 11px;
}
p{
    margin-top: 15px;
    margin-bottom: 15px;
}
h1{
    font-size: 30px;
}
h2{
    font-size: 26px;
}
h3{
    font-size: 22px;
}
.h-center-blue{
    color: #003F75;
    text-align: center;
}
main, header, nav, footer,section{
    width: 100%;
}
blockquote{
    overflow: hidden;
    padding-right: 1.5em;
    padding-left: 1.5em;
    margin-left: 0;
    margin-right: 0;
    font-style: italic;
    border-left: 5px solid #ccc;
    
}
/*konec zakladniho nastaveni barev fontu pisma velikosti pisma */

/*navigace */
.header{
    background-color: white;
    border-bottom: 5px solid #EB6D25;
}
.nav-flex {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
  }
.nav-top{
    background-color: #5d5e60;
    margin: 0px;
    padding: 0px;
}
.nav-main{
    height: 65px;
    margin: 0px 0px;
    padding: 3px 0px;
}
.nav-list{
    list-style: none;
    padding: 2px;
    margin-bottom: 0px;
    margin-top: 0px;
}
.nav-list-right{
    justify-content: flex-end;
}
.nav-main-list{
    margin-left: auto;
    margin-top: auto;
    margin-bottom: auto;
}
.nav-item{
    padding: 2px 5px;
}
.nav-btn {
    color: white;
    text-decoration: none;
    font-size: 16px;
    background-color: transparent;
    cursor: pointer;
    text-align: center;
    border: none;
    display: inline-block;
    outline: none;
}
.nav-link {
    text-decoration: none;
    font-size: 16px;
}
.nav-link-white{
    color: white;
}
.nav-link-black{
    color: black;
}
.logo{
    width: auto;
    max-height: 65px;
    margin: 0px;
    padding: 0px;
}
.nav-btn:hover, .nav-link:hover{
    color: #EB6909;
}
.form-popup-hide{
        display: none;
}
/*konec navigace*/

/*main*/
main{
    margin: 5px 0px;
    background-color: #F5F5F5;
}
.main{
    background-color: white;
}
/*konec main*/

/*footer*/
.footer {
    background-color: #5d5e60;
    color: white;
    padding: 20px 0px;
}
.footer-map-box{
    flex-grow: 2;
    text-align: right;
}
.footer-h3{
    margin-top: 0px;
}
.img-map{
    width: 100%;
}
.footer-copyright{
    text-align: right;
}
/*konec footer*/

/*formular*/
.form-popup-content {
    background-color: #ffffff;
    margin: 5% auto 15% auto;
    border: 1px solid #888;
    width: 400px;
}

/*tlacitka formulare, input*/
.input{
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
.input-full {
    width: 100%;
}
.textarea{
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    box-sizing: border-box;
}
/*konec tlacitka formulare, input*/

.form-container {
  padding: 20px;
}
.form-popup {
  display: none;
  position: fixed;
  z-index: 1000; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.2); 
  padding-top: 60px;
}
.form-btn-close-position {
    position: relative;
  }

/*btn*/
.btn{
    background-color: #6CA606;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    opacity: 0.7;
}
.btn-alert{
    background-color:red;
}
.btn:hover {
    opacity: 1;
    -webkit-transition: all 1s ease-out;
    -moz-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    transition: all 1s ease-out;
  }
.btn-full {
    width: 100%;
}
.btn-close {
    position: absolute;
    right: 25px;
    top: 0px;
    color: #000;
    font-size: 35px;
    font-weight: bold;
}
.btn-close:hover{
    cursor: pointer;
}
.btn-img-nav{
color: white;
}
.btn-prev{
    left: 10px;
}
.btn-next{
    right: 10px;
}
.btn-edit{
    display: block;
    min-width: 250px;
}
/*konec btn*/

/*galerie*/
.img{
    width: 100%;
    height: auto;
}
.picture-gallery-background{
    display: none;  
    position: fixed;
    z-index: 1000; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;  
    background-color: rgba(0,0,0,0.5); 
}
.picture-gallery{
    display: none;  
    position: fixed;
    z-index: 1000; 
    width: 680px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.picture-gallery-animate{
    -webkit-animation: animateopacity 0.6s;
    animation: animateopacity 0.6s;
    -moz-animation: animateopacity 0.6s
}
.picture-box{
   /* position: relative;*/
   width: 380px;
}
.copyright-box{
    border: solid 2px white;
    position: relative;
    height: 250px;
}
.copyright-box:hover{
    border: solid 2px grey;
}
.img-kyvadlo{
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

.picture-box:hover{
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2), 0 2px 10px 0 rgba(0, 0, 0, 0.19);
}
.img-kyvadlo-copyright{
    color: white;
    width: 100%;
    text-align: right;
    position: absolute;
    bottom: 5px;
    right: 0px;
    font-size: 18px;
    background-color: rgba(0,0,0,0.5); 
    
}
.img-copyright-text{
    margin-right: 5px;
    
}
.info{
    position: absolute;
    color: white;
    top: 10px;
    left: 10px;
}
.btn-img-nav{
    position: absolute;
    top: 50%;
    cursor: pointer;
    
}
.image{
    position: relative;
    max-width: 100%;
    display: flex;
    margin: 0px;
    flex-flow: column;
    background-color: #f7f7f7;
}
  .image > img{
      width: 100%;
  }
  .image-style-side{
    float: right;
  }
  .image > figcaption{
      text-align: right;
      padding: .6em;
      font-size: .75em;
      outline-offset: -1px;
  }
  .img-edit{
    width: 360px;
    height: auto;
  }
  .box-img-edit{
      width: 100%;
  }
/*galerie konec*/

/*Animace*/

.form-popup-animate  {
    -webkit-animation: animateopacity 0.6s;
    animation: animateopacity 0.6s;
    -moz-animation: animateopacity 0.6s;
}
  @-webkit-keyframes animateopacity {
    from { opacity:0} 
    to { opacity :1}
    }
  @keyframes animateopacity {
    from { opacity:0} 
    to { opacity :1}
    }
    @-moz-keyframes animateopacity{
        from { opacity:0} 
        to { opacity :1}
    }
/*konec animace*/

/* kontajner, box*/
.container-flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: auto; 
}
.container-nav-flex{
    display: flex;
    flex-wrap: wrap;
    margin: auto; 
}
.container-full  {
    width: 1140px;
    margin: auto;
    padding: 0px 20px;
}
.picture-container {
    width: 100%;
    display: flex;
    /*justify-content: space-between;*/
    flex-wrap: wrap;
    cursor: pointer;
    margin-bottom: 5px;
}
.edit-container{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.edit-container-column{
    box-shadow:  0 2px 2px 0 rgb(0 0 0 / 20%), 0 2px 10px 0 rgb(0 0 0 / 19%);
    margin-left: 10px;
    border-radius: 10px;
    padding: 5px 20px;
    
}
.container-half{
    width: 45%;
    margin: 0px;
}
.animation-box{
    width: 50%;
}

/*konec kontajner, box*/

/*dropdown*/


.dropdown:hover .dropdown-content{
    display: block;
}
.dropdown{
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #3c3d3e;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
/*konec dropdown*/

/*nastaveni ikon*/

/*vykresleni ikon ve formulari*/
.icon-container-input{
    position: relative;
}
.icon-size-input{
    height: 15px;
}
.icon-btn-eye{
    position: absolute;
    right: 5px;
    top: 20.5px;
}
.icon-close-eye{
    display: none;
}
.icon-key{
    position: absolute;
    right: 30px;
    top: 20.5px;
}
/*konec nastaveni ikon*/
.table-full{
    width: 100%;
}
.tr-hover:hover{
    background-color:  #3c3d3e;
    color: white;
}
.td{
    padding: 10px;
}
.border-bottom td{
    border-bottom: 1px solid grey;
      
}
.border-top td{
    border-top: 1px solid grey; 
}
.table{
    border-spacing: 0px;
}

/*canvas*/
.canvas-full{
    width: 100%;
}
.input-checkbox{
 margin: 10px 0px;
}
/*konec canvas*/
/*slider a tlacitka*/
.slider {
    -webkit-appearance: none;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 15px;
    width: 80%;
    height: 10px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
  }
.slider::-webkit-slider-thumb{
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    /*border-radius: 25px;*/
    background: #6CA606;
    cursor: pointer;
}
.slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #6CA606;
    cursor: pointer;
  }
  .container-control{
      text-align: center;
      margin-bottom: 15px;
  }
  /*konec slider a tlacitka*/
 
@media screen and (min-width:750px) and (max-width:1200px){
    .container-full{
        width: 680px;
    }
    .canvas-full, .canvas-animation{
        width: 100%;
    }
    .picture-box{
        width: 340px;
    }
    .picture-gallery{
        width: 450px;
    }
    .img-kyvadlo-copyright{
        bottom: 5px;
    }
}
@media screen and (max-width:750px){
    main{
        background-color: white;
    }
    .picture-box,.footer-map-box,.footer-mapa,.logo,.canvas-full,.img,.picture-gallery{
        width: 100%;
    }
    .img{
        height: auto;
    }
    .logo{
        max-height: none;
    }
    .nav-main{
        height: auto;
        padding: 5px 0px 0px 0px;
    }
    .footer-map-box,.footer-copyright{
        text-align: left;
    }
    .nav-main-list{
        display: none;
    }
    .container-full,.form-popup-content,.canvas-animation{
        width: 95%;
        padding: 0px;
    }
    .picture-gallery{
        left: 0%;
        transform: translate(0%,-50%);
    }
    .animation-box,.container-half{
        width: 100%;
    }
    .img-kyvadlo-copyright{
        bottom: 5px;
    }
}