/*#####################################################################################################################
                                                                                                              
                    PPPPPPPPPPPPPPPPP                                                                              
                    P::::::::::::::::P                                                                             
                    P::::::PPPPPP:::::P                                                                            
                    PP:::::P     P:::::P                                                                           
xxxxxxx      xxxxxxx  P::::P     P:::::Paaaaaaaaaaaaa     ggggggggg   ggggg    eeeeeeeeeeee    rrrrr   rrrrrrrrr   
 x:::::x    x:::::x   P::::P     P:::::Pa::::::::::::a   g:::::::::ggg::::g  ee::::::::::::ee  r::::rrr:::::::::r  
  x:::::x  x:::::x    P::::PPPPPP:::::P aaaaaaaaa:::::a g:::::::::::::::::g e::::::eeeee:::::eer:::::::::::::::::r 
   x:::::xx:::::x     P:::::::::::::PP           a::::ag::::::ggggg::::::gge::::::e     e:::::err::::::rrrrr::::::r
    x::::::::::x      P::::PPPPPPPPP      aaaaaaa:::::ag:::::g     g:::::g e:::::::eeeee::::::e r:::::r     r:::::r
     x::::::::x       P::::P            aa::::::::::::ag:::::g     g:::::g e:::::::::::::::::e  r:::::r     rrrrrrr
     x::::::::x       P::::P           a::::aaaa::::::ag:::::g     g:::::g e::::::eeeeeeeeeee   r:::::r            
    x::::::::::x      P::::P          a::::a    a:::::ag::::::g    g:::::g e:::::::e            r:::::r            
   x:::::xx:::::x   PP::::::PP        a::::a    a:::::ag:::::::ggggg:::::g e::::::::e           r:::::r            
  x:::::x  x:::::x  P::::::::P        a:::::aaaa::::::a g::::::::::::::::g  e::::::::eeeeeeee   r:::::r            
 x:::::x    x:::::x P::::::::P         a::::::::::aa:::a gg::::::::::::::g   ee:::::::::::::e   r:::::r            
xxxxxxx      xxxxxxxPPPPPPPPPP          aaaaaaaaaa  aaaa   gggggggg::::::g     eeeeeeeeeeeeee   rrrrrrr            
                                                                   g:::::g                                         
                                                       gggggg      g:::::g                                         
                                                       g:::::gg   gg:::::g                                         
                                                        g::::::ggg:::::::g                                         
                                                         gg:::::::::::::g                                          
                                                           ggg::::::ggg                                            
                                                              gggggg
															  
© xPager - xGallery - Manuel Kleinert - www.xpager.ch - info(at)xpager.ch - v 1.1.0 - 25.06.2014
#####################################################################################################################*/
.ramFoto {width:100%}
.ram_galerry{width:96%; 
             border:1px solid grey; 
             padding:10px;
             background-color:white;
             float:left;}             
.popisObrazku{font-size:0.75em;}             
.nazev_galerry {width:100%;
                margin-bottom:10px;
                font-size:1.25em;
                font-weight:bold;
                float:left;}
                
.datum_galerry {float:left;
                width:50%;
                text-align:left}
                
.autor_galerry {float:left;
                width:50%;
                text-align:right}

.text_galerry {width:100%;
               float:left;
               text-align:justify;
               margin-top:5px;
               margin-bottom:10px;}
.fotoGalerry {
             overflow: hidden;
             }
                                             
.ram_galerry .fotoGalerry{float:left;
                         padding:5px;
                         width:19.2%;
                         overflow: hidden;
                         border:1px solid grey;
                         margin:2px}
.ramFoto {width:100%;float:left;}                         
.ramFoto .fotoGalerry{float:left;
                         padding:5px;
                         width:19.2%;
                         overflow: hidden;
                         border:1px solid grey;
                         margin:2px}
                                      
.ramFoto .fotoGalerry img {width:100%;
                  cursor: pointer;}

.fotoGalerry img {cursor: pointer; border:1px solid #e2e2e2;width:100%}                  
.ram_galerry .fotoGalerry img{width:100%;
                              cursor: pointer;}

.xpager-gallery{
    position:relative;   
}

.xpager-gallery .page-navigation{
    display:inline-block;
}

.xpager-gallery .page-navigation div{
    display:inline-block;
    margin:5px;
    height:35px;
    width:35px;
    border:solid 1px #ccc;
    text-align:center;
    line-height:32px;
}

.xpager-gallery .next_btn:before{
    content:">>";
}

.xpager-gallery .prev_btn:before{
    content:"<<";
} 

.xpager-gallery .page-num{
    display:inline-block;
    margin:5px;
    height:35px;
    width:35px;
    text-align:center;
    line-height:32px;
}

.xpager-gallery .page-points{
    display:inline-block;
    height:35px;
}

.xpager-gallery .page-points .points-content .point{
    display:inline-block;
    height:20px;
    width:20px;
    text-align:center;
    line-height:16px;
    border:solid 2px #ccc;
    border-radius:10px;
    font-size:12px;
    margin:5px;
}

.xpager-gallery .page-points .points-content .point.activ{
    border-color:#666;
}

.xpager-gallery .page-points .points-content .point span{
    margin-right:1px;
}

.xpager-gallery .surface{
    position:fixed;
    top:0px;
    left:0px;
    height:100%;
    width:100%;
    z-index:99998;
    background-color:rgba(0,0,0,0.8);
    display:none;
    cursor:pointer;
}

.xpager-gallery .surface .border{
    position:absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index:999;
    overflow:hidden;
    opacity:0;
}

.xpager-gallery .surface .loader{
    display:block;
    position:absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height:50px;
    width:50px;
    background-image:url(../pcs/layout/loader.gif);
    background-size:cover;
}

.xpager-gallery .surface .border{
    z-index: 1;
}

.xpager-gallery .surface .border img{
    position:absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    cursor:default;
}

.xpager-gallery .surface .next_btn, .xpager-gallery .surface .prev_btn{
    background-color:#fff;
    display:inline-block;
    position:absolute;
    top:50%;
    height:50px;
    width:50px;
    margin-top:-25px;
    text-align:center;
    line-height:50px;
    cursor:pointer;
    z-index:10;
}

.xpager-gallery .surface .next_btn{
    right:0px;
}

.xpager-gallery .surface .prev_btn{
    left:0px;
}
.xpager-gallery .surface .close_btn{
    color:#fff;
    display:inline-block;
    position:absolute;
    top:0px;
    right:0px;
    height:50px;
    width:50px;
    text-align:center;
    line-height:50px;
    cursor:pointer;
    font-size:30px;
}

.xpager-gallery .surface .close_btn:before{
    content:"x";
}

.xpager-gallery .surface .comment{
	position: fixed;
	color: #fff;
	bottom: 5px;
    left:0px;
	width: 100%;
	text-align: center;
}

.xpager-gallery .surface .nummber{
    position: fixed;
	color: #fff;
	bottom: 10px;
    right:10px;
	text-align: center;  
}



/*-------------------- 
  zobrazení pro display do 479px 
--------------------------------*/ 
@media only screen and (max-width:479px){
.ram_galerry{width:100%;}

.ramFoto .fotoGalerry{width:48.3%;}
.galerieFoto {width:48% !important;  height:165px;}
.galerieFoto img {width:100%;}

.fotoGalerry img{width:100%;}


}

/* zobrazení pro display 480px až 599px */ 
@media only screen and (min-width:480px) and (max-width:599px){
.ram_galerry{width:100%;}
.galerieFoto {width:31.8% !important;  height:141px; }
.galerieFoto img {width:100%;}
.fotoGalerry img{width:100%;}
}

/* zobrazení pro display 600px až 767px */ 
@media only screen and (min-width:600px) and (max-width:799px){
.galerieFoto {width:31.8% !important;  height:190px;}
.galerieFoto img {width:100%;}
.ram_galerry{width:100%;}
.ramFoto .fotoGalerry{width:32.1%;}
.fotoGalerry img{width:100%;}
}

/* zobrazení pro display 768 px až 1023px */ 
@media only screen and (min-width:800px) and (max-width:1023px){
.galerieFoto {width:24% !important;  height:180px;}
.galerieFoto img {width:100%;}
.ram_galerry{width:100%;}
.fotoGalerry img{width:100%;} 
.ramFoto .fotoGalerry{width:24.2%;}
}

/* zobrazení pro display větší jak 1024px  */ 
@media only screen and (min-width:1024px){
.galerieFoto {width:24.2% !important; height:270px;}
.galerieFoto img {width:100%;}
.ramFoto .fotoGalerry{width:24.2%;}
.ram_galerry{width:100%;}
.fotoGalerry img{width:100%;}
}
