@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=block');

:root {
  --b-lightsand: #e3c07b;
  --b-darksand: #b19051;
}

/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rubik', sans-serif;
  line-height: 1.6;
  background-color: #fff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5px;
  display: inline-block;
}

/* Header Styles */
header {
  background: var(--b-darksand); 
  padding: 2px 0; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
}

.left-container {
  display: flex;
  align-items: center;
  width: 140px;
  float: left;
}  

.logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
} 

.right-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;  
}

.upper-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 10px 0;
}

.logo-text {
    font-size: 30px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    line-height: 1.1;
}

.flag-container {
  display: flex;
  justify-content: space-around;
}

.flag {
  width: 50px;
  height: 38px;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 5px;
  transition: border-color 0.3s ease;
}

.flag:hover {
  border-color: #fff;
}

.lower-row {
  width: 100%;
}

.navi {
  position: absolute;
  top: 51px;
  left: 100px;
  width: calc(100% - 119px);
  height: 50px;
}

.menu-m {
  position: relative;
  top: 0px;
  left: 4px;
  display: block;
  height: 30px;
  width: 30px;
  background-image: url(imgs/menu.svg);
  cursor: pointer;
  float:left;
  margin-right: 30px;
}

#menu-mb {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: .3;
  background: #000;
  z-index: 10;
}

#naviul {
  display: none;
  position: fixed;
  list-style: none;
  top: 70px;
  left: 80px;
  width: 250px;
  height: auto;
  background: var(--b-darksand);
  z-index: 20;
}

#naviul li {
  padding-left: 10px;
}

#naviul li a { 
  margin: 0px; 
  display: block; 
  width: 100%; 
  height: 100%; 
}

#naviul a:link,
#naviul a:visited {
  text-decoration: none;
  line-height: 3rem;
  color: white;
}  

/* Footer Section */
footer {
  background-color: #333;
  color: white;
  padding: 15px 0;
  width: 100%;
  text-align: center;
}

footer .footer-left {
  float: left;
}

footer .footer-right {
  float: right;
}

footer .footer-right ul {
  list-style: none;
  display: flex;
}

footer .footer-right ul li {
  margin: 0 15px;
}

footer .footer-right ul li a {
  color: white;
  text-decoration: none;
}

footer .footer-right ul li a:hover {
  text-decoration: underline;
}

.social-media-links a, a:hover {
    text-decoration: none;
}

.smicon {
    width: 50px;
    height: 50px;
    padding: 10px;
}

/* Footer Layout */
footer .container {
  
}

footer a:link {
  color: white;
}

.pconly {
  display:none;    
}
.mobonly {
  display:flex;
  justify-content: right;  
  padding-right:15px;  
}

.mainImage {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 30px 20px;
  height: 200px; 
  width: 100%;
  overflow: hidden; 
}

.mainImg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.mainImage h1 {
  font-size: 28px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  line-height: 1.2;
}
  
.mainImage p {
  font-size: 18px;
  margin-bottom: 30px;
}  

.mainsect {
  text-align: center;
  padding: 10px;
  background-color: #fff;
}

.mainsect h2 {
  font-size: 28px;
  margin: 10px 0;
  color: var(--b-darksand);
  line-height: 1.2em; 
}

.mainsect p {
  font-size: 16px;
  color: #555;
}

.mainsect .container {
  max-width: 1200px;
  margin: 0 auto;
  /*display: flex;
  flex-wrap: wrap;*/
}

.mainsect .column {
  /*flex: 1;*/
  text-align: left;
  padding-bottom: 20px;
}   

.mainsect .qr-code {
  max-width: 200px;
  margin-top: 20px;  
}

.mainsect a {
  text-decoration:underline;
}

.mainsect a:link {
  background: var(--b-darksand);
  color: black;
}

.mainsect a:visited {
  color: black;
}

.mainsect a:hover {
  background: var(--b-darksand);
  color: white;
}

.mainsect a:active {
  color: black;
}


.news {
    background:white; 
    width:100%; 
    border: 2px double #c3a05c; 
    padding:10px;
} 

.news a {
  text-decoration:none;
}

.news a:link {
  color: black;
}

.news a:visited {
  color: black;
}

.news a:hover {
  background: var(--b-darksand);
  color: white;
}

.news a:active {
  color: black;
}

.backbtn {
  background: var(--b-darksand);
  color: white;
  width: 150px;
  padding: 5px;
  clear: both;
}

.backbtn a a:visited a:hover  {
  text-decoration:none;
}

.pg-t-wrap a {
  text-decoration:none;
}

.pg-t-wrap a:visited {
  background: var(--b-darksand);
  color: white;
}

.pg-t-wrap a:hover {
  background: var(--b-darksand);
  color: white;
}

.logo-text a {
  text-decoration:none;
}

.logo-text a:link {
  color: black;
}

.logo-text a:link, a:visited {
  color: white;
}

.logo-text a:hover {
  background: var(--b-darksand);
  color: white;
}

ul.circleinside {  
  list-style-type: circle; 
  padding-left: 20px;
  color: #555;
} 

.img100, .img50, .img200px {
  width: 100%;
  height: auto;
}

.clanek {
  border: 1px solid var(--b-darksand);
  margin: 5px 0;
  padding: 5px;
  border-radius: 3px;
  width: calc(100% - 12px);
  font-size: 13px;
  color: #000;
  display: inline-block;
  overflow: hidden;
  position:relative;
  padding-bottom:20px;
}

.flexlr {
  display: flex;
  justify-content: space-between;
}

/* gallery */
.pg-wrap {
    margin: 5px;
    float: left;
    overflow: hidden;
    text-align: center;
    position: relative;
    width: calc(50% - 10px);
    max-width: 200px;
}

.pg-i-wrap {
    width: 100%;
    height: auto;
}

.pg-t-wrap {
    position: absolute;
    bottom: 20px;
    background: var(--b-darksand);
    color: white;
    font-size: 10px;
    max-height: 35px;
    width: 100%;
    padding: 5px;
    overflow-wrap: break-word;
    overflow: hidden;
    border: 1px solid white;
    text-transform: uppercase;
}

.pg-icon {
  width: 180px;
  height: 180px;
}

.eventImg {  
  text-align: center;
}

.eventArticle {
  
}

.eventArticle a:link, .eventArticle a:hover, .eventArticle a:active, .eventArticle a:visited
{
  color: black;
}
  
@media screen and (min-width:768px) {

  .mainImage {
    padding: 100px 20px;
    height: 400px;    
  }
  
  .mainImage2 {
    padding: 100px 20px;
    height: 350px;    
  }  
    
  .mainsect {
    padding: 30px 20px; 
  }  
  /*.mainsect .container {
    display: inline-block;
  } */ 
  
  .pconly {
    display:flex;    
  }
  .mobonly {
    display:none;    
  }
  header {
    padding: 5px 0;
  }   
  
  .right-container{
    text-align:right;
  }
   
  .menu-m,
  #menu-mb {
    display: none!important;
  }      
  #naviul {
    position: relative;
    top: 10px;
    left: 0px;
    display: flex!important;
    justify-content: space-between;
    width: 100%;
    margin: 0px;
    padding-left: 0px;
    background: var(--b-darksand);
    color: #fff;
  }
  #naviul ul,
  #naviul li,
  #naviul a {
    margin: 0px;
    padding: 0px;
    display: block;
    position: relative;
    background: var(--b-darksand);
  }
  #naviul a {
    padding: 5px 5px;
    color: inherit;
    text-decoration: none !important;
    transition: none;
    text-align: center;
    font-weight: 600;
  }
  #naviul a:hover,
  #naviul a:focus,
  #naviul li:hover a {
    color: #000;
    background: var(--b-lightsand);
  }
  #naviul a:link,
  #naviul a:visited {
    line-height: 1.4rem;
    color: #fff;
    font-size: 15px;
  }
  #naviul ul,
  #naviul li,
  #naviul a {
    min-width: 65px;
  }
  
  /* Footer Layout */
  footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }  
  
  width: calc(25% - 10px);
  
}

@media screen and (min-width:900px) {

  .wid25 {
    width:25%; 
    float:left;
    padding: 0 10px; 
  }
  
  .wid33 {
    width:33%; 
    float:left;
    padding: 0 10px; 
  }  
  
  .wid50 {
    width:50%;
    float:left;
    padding: 0 10px;
  } 
  
  .wid67 {
    width:67%; 
    float:left;
    padding: 0 10px; 
  } 
  
  .img50 {
    width: calc(50% - 2px);
  } 
  
  .news {
    min-height:400px;
  }
  
  .pg-t-wrap {
    font-size: 14px;
  }
  
  .pg-icon {
    width: 200px;
    height: 200px;
  }  
  
  .mainImage h1 {
    font-size: 36px;
  }
  
  .eventImg {
    float: left;    
    text-align: left;
    width: auto;
    margin-right: 10px;    
  }
  
  .eventArticle {
    padding-left: 225px;
  }
  
  .img200px {
    width: 200px;
    height: 200px;            
  }
}

@media screen and (min-width:1020px) {
  .container {
    padding: 0 20px;
  }
  #naviul a:link,
  #naviul a:visited {
    line-height: 1.4rem;
    font-size: 16px;
  }
  #naviul ul,
  #naviul li,
  #naviul a {
    min-width: 80px;
  }
  #naviul a {
    padding: 5px 10px;
  } 
  
  .mainImage h1 {
    font-size: 44px;
  }  
  
}

@media screen and (min-width:1440px) {
  
  #naviul a:link,
  #naviul a:visited {
    line-height: 1.5rem;
    font-size: 18px;
  }
  
  #naviul ul,
  #naviul li,
  #naviul a {
    min-width: 110px;
  }
  #naviul a {
    padding: 5px 20px;
  }
  
}