html,      
body {
    margin: 0;
    padding: 0;    
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    box-sizing: border-box;
    overflow-wrap: break-word;
    height: 100vh;
    width: 100vw; 
    font: 90% "lucida sans", "Trebuchet MS", tahoma, sans-serif;
    background: #fff;
    /*color: #333;*/
    color: #666;
    margin: 0;
}
        
#pagewidth {
    min-width: 800px;
}

#twocols {
    float: right;
    position: relative;
    width: 100%;
}        

#header, #footer {
    width: 100%;
    position: fixed;
    /*background: #ccc;*/    
    z-index: 1;
}

#header {
    height: 24%;
    top: 0;
    color: #fff;
    width: 100%;
    position: relative;    
}

#footer {
    /*height: 3%;
    bottom: 0px;
    width: 100%;
    padding: 0px 0px 0px 0px;
    position: fixed;
    background: #ddd;
    align-content: center;
    vertical-align: middle;
	text-align: center;
    padding: 10px;*/
	
	text-align: center;
    background-color: #ddd;
    /*color: white;*/
    /*padding: 10px;*/
    position: fixed;
    width: 100%;
    bottom: 0;
	padding: 0px 0px 0px 0px;
}
        
#left {
    left: 0%;
    float: left;
    display: inline;
    position: fixed;
    width: 20%;
    height: 100%;
    /*border-right: 1px solid #8A795D;
    border-left: 1px solid #8A795D;*/
    line-height: 1.6em;
    background: #333;
    color: #ccc;
    /*color: #fcfcfc;*/
    overflow-x: hidden;
}

#center {
    width: 81%;
    left: 20%; /* width of left column */
    right: 15%; /* width of right column */
    /*background: #eee;*/
    background: #fcfcfc;
    overflow-x: hidden;
	position: fixed;
}

#right {
    float: right;
    width: 0%;
    height: 100%;
    right: 0%;
    display: inline;
    position: fixed;
    background: #ddd;
    overflow-x: hidden;
    color: #666;
}

#left, #center, #right {
    /*position: fixed;*/
    top: 0%; /* height of header */
    bottom: 0%; /* height of footer */
    /*overflow-x: hidden;*/
    overflow: auto;
    box-sizing: border-box;
    overflow-wrap: break-word;
}


#contact {
	padding-top: 50px;	
}

              
#langversion {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
	padding-top: 25px;
}
        
.flag {
    position: relative;
    padding: 6px;
    /*margin-left: auto;
    margin-right: auto;*/
    /*padding-left: 55px;
    padding-bottom: 20px;
    padding-top: 10px;*/
    width: 32%;
    background: transparent;
} 
        
#socialmedia {
    display: flex;
    /*padding-top: 80px;*/
    padding-top: 15%;
    /*padding-left: 20px;
    padding-right: 10px;*/
    padding-bottom: 20px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
        
.socialImg {
    position: relative;
    padding: 20px;
    /*margin-left: auto;
    margin-right: auto;*/
    /*padding-left: 55px;
    padding-bottom: 20px;
    padding-top: 10px;*/
    padding-top: 0px;
    width: 60%;
    background: transparent;     
} 

.socialImgRight {
	padding-right: 7px;
    width: 10%;
    background: transparent;     
}        

#socialImgA {
	position: relative;
    width: 100%;
	text-align: center;
	padding-left: 20px;
	vertical-align: middle;
}   
      
#content{
    /*top: 20%;*/
    padding-left: 5px;
    padding-top: 10px;
	padding-right: 10px;
	font-size: 70%;
}
           
        
/*MENU*/
#menucontainer {
   width: 100%;
   justify-content: center;
   align-items: center;
   padding-top: 20px;    
}

#menucontainer ul {
    letter-spacing: 3px;
    margin: 0;
    padding-left: 0;
    list-style-type: none;
    font: 100% "lucida sans", Arial, Helvetica, sans-serif;
    /*font: 80% "lucida sans", "Trebuchet MS", tahoma, sans-serif;*/
}

#menucontainer {
    letter-spacing: 3px;
    margin: 0;
    padding-left: 0;
    list-style-type: none;
    font: 110% "lucida sans", Arial, Helvetica, sans-serif;
    /*font: 100% "lucida sans", "Trebuchet MS", tahoma, sans-serif;*/
}

#menucontainer a {
    display: block;
    padding: 3px;
    height: 30px;
    background: #333;
    border-bottom: 1px solid #eee;
}

#menucontainer a:link,
#menulist a:visited {
    padding-top: 15px;
    padding-left: 20px;
    /*color: #fff;
    background: #666 left center no-repeat;
    background-position: 0.4em;*/
    text-decoration: none;
}

/*#navcontainer a:hover {
    background: #ccc left center no-repeat;
    background-position: 0.4em;
    color: #666;
}*/


/*MAIN COLUMN LINKS*/
#left a:link,
#left a:visited {
    text-decoration: none;
    background: inherit;
    color: #eaeaea;
}

#left a:hover {
    text-decoration: none;
    background: inherit;
    color: #a33e3e;
}

.dropdown-content {
    display: none;
    padding-left: 20px;
}

.show {
    display: block;
}
        
#menuFoto {
   display: flex;
   justify-content: center;
   align-items: center;
}    
        
        
.menuImg {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    /*padding-left: 55px;
    padding-bottom: 20px;
    padding-top: 10px;*/
    width: 70%;
    background: transparent;
    /*height: 80%;*/
    /*background-image: url(images/header-90-1.png);*/
} 
        
#sitename {
   display: flex;
   justify-content: center;
   align-items: center;
}  
        
#sitename h1 {
    font-family: helvetica, "Trebuchet MS", tahoma, "lucida sans", sans-serif;
    padding: 20px;
    font-size: 120%;
    letter-spacing: 5px;
    /*color: #ccc;*/
    color: #cccccc;
    align-content: center;
    background: transparent;
    text-align: center;    
}        
        
        
/* *** Float containers fix:
 http://www.csscreator.com/attributes/containedfloat.php *** */
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    display: inline-block;
}

/* Hides from IE-mac \*/
* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

/* End hide from IE-mac */        

        
/*TEXT*/
p {
    padding: 5px 15px 5px 30px;
    padding-right: 5%;
    font-size: 100%;
}
        
#footer p {
        
}
        
        
h1 {
    font-family: helvetica, "Trebuchet MS", tahoma, "lucida sans", sans-serif;
    padding: 20px;
    font-size: 120%;
    letter-spacing: 5px;
    color: #ccc;
    align-content: center;
    background: transparent;
    text-align: center;    
}

h2 {
    font-family: helvetica, "Trebuchet MS", tahoma, "lucida sans", sans-serif;
    margin-left: 10px;
    padding: 15px 15px 0px 15px;
    font-size: 200%;
    letter-spacing: 3px;
    color: #666;
    background: transparent;
}     
        

        
/*Link Properties*/

a:link,
a:visited {
    text-decoration: none;
    background: inherit;
    /*color:  #FB8D2D;*/
    color: #a33e3e;
}

a:hover {
    text-decoration: none;
    background: inherit;
    color: #ccc;
}

a:active {
    text-decoration: none;
    background: inherit;
    color: #8A795D;
}

a img {
    border: 0;
}

.date_1 {
    font-size: 108%;
    color: #a33e3e;
}

.margin_1 {
    margin: 0 0 0 20px;
    font-size: 125%;
}

.margin_2 {
    margin: 0 0 0 0px;
    font-size: 125%;
    vertical-align: middle;
}

.margin_3 {
    margin: 0 0 0 20px;
    font-size: 125%;
}

#date_1 {
    font-size: 108%;
    color: #a33e3e;
}

#margin_1 {
    margin: 0 0 0 20px;
    font-size: 125%;
}

#margin_2 {
    margin: 0 0 0 0px;
    font-size: 125%;
	vertical-align: middle;
}

#margin_3 {
    margin: 0 0 0 20px;
    font-size: 125%;
}
        
.footertext {
    text-align: left;
    margin-left: 25%
}


/* Gallery type 1 */

/*.gallery1 .gallery-full1 {
    position: relative;
	display: flex;
    text-align: left;
    margin-bottom: .5em;
	justify-content: center;
    align-items: center;	
}
.gallery1 .gallery-full1 h1 {
    position: absolute;
    top: 0;
    //left: 0;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    font-size: 1.3rem;
    padding: 2px 5px;
}
.gallery1 .gallery-full1 img {
    display: block;
    height: auto;
    max-width: 70%;
	//max-height: 30%;
	height: 500px;
    //max-width: 800px;
}
.gallery1 ul.gallery-thumb1 {
    margin: 3x;
    padding: 0;
	padding-left: 2%;
	display: blok;
	align: center;
	justify-content: center;
    align-items: center;	
}
.gallery1 ul.gallery-thumb1 li {
    display: inline-block;
}
.gallery1 ul.gallery-thumb1 li img {
    height: auto;
    width: 160px;
    vertical-align: middle;
}
.gallery1 ul.gallery-thumb1 li img.active {
    opacity: .65;
}*/


/* Gallery type 2 */


.gallery {
    display: flex;
    flex-wrap: wrap;
}

.gallery img {
    width: 200px;
    margin: 3px;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0%;
    top: 0;
	right: 0%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    /*max-width: 100%;*/
	max-width: calc(100% - 14%);
    max-height: 85%;
    display: block;
    /*margin: auto;
	margin: 0 7%;*/
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.caption {
	/*position: absolute;*/
    text-align: center;
    margin-bottom: 30px;
	/*margin-right: 40%;*/
	padding-top: 40px;
    font-size: 50px;
	color: #fff;
	font-weight: bold;
	/*left: 20%;*/
	/*top: 20%;*/
	/*transform: translate(-50%, -50%);*/
	z-index: 2000;
}


.close {
    position: fixed;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 60px;
    cursor: pointer;
	z-index: 2000;
}

.arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 50px;
    cursor: pointer;
	z-index: 2000;
}

.left {
    left: 20px;
}

.right {
    right: 20px;
}

.gallery ul.gallery-thumb {
    /*margin-top: 3px;*/
	/*margin-left: 3px;*/
	/*margin-right: 3px;*/
	padding: 0;
	display: block;
	align: center;
	justify-content: center;
    align-items: center;	
}
.gallery ul.gallery-thumb li {
    display: inline-block;
}
.gallery ul.gallery-thumb li img {
    height: auto;
    width: 184px;
    vertical-align: middle;
}
.gallery ul.gallery-thumb li img.active {
    opacity: .65;
}


.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0; /* Domyślnie niewidoczna */
    transition: opacity 0.3s; /* Płynne przejście */
}

