/*
Theme Name: GOK Laseczno
Author: woiteh.com
Author URI: http://www.woiteh.com
Version: 1.0
*/
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");

/*********   GLOBAL   *********/
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
body,
html {
  font-family: "Roboto", sans-serif;
  color: #222;
  font-size: 16px;
  line-height: 24px;
  background-color: #efefef;
}
a:hover {
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1199px) and (min-width: 992px) {
}
@media (max-width: 991px) and (min-width: 768px) {
}
@media (max-width: 767px) {
}
@media (max-width: 575px) {
}

/**********   HEDER   **********/

header {
  padding: 0;
  background-color: #fff;
}
header .logo{
  padding: 10px 0;
}
header .logo img{
  height: 140px;
}
header .close-menu{
  display: none;
  text-align: right;
  margin-top: 20px;
  margin-bottom: 10px;
}
header .close-menu img{
  height: 20px;
}
header .mobile-menu{
  display: none;
  height: 160px;
  justify-content: flex-end;
  align-items: center;
  font-size: 26px;
}
header .mobile-menu i{
  padding: 20px;
  cursor: pointer;
}

header .contact-bar{
  display: block;
  background-color: #efefef;
  color: #333;
  padding: 10px 10px 10px 30px;
  font-size: 14px;
  font-weight: 300;
  float: right;
  line-height: 20px;
}
header .contact-bar .contact-bar-item{
  float: left;
  margin-right: 20px;
}
header .contact-bar ul{
  padding-left: 0;
  margin-bottom: 0;
}
header .contact-bar li{
  list-style: none;
  float: left;
  margin-right: 15px;
}
header .contact-bar li:last-child{
  margin-right: 0;
}
header .contact-bar li a{
  color: #333;
  transition: color ease-in-out 0.3s;
}
header .contact-bar li a:hover{
  color: #000;
  text-decoration: underline;
}
header .contact-bar i{
  color: #666;
  margin-right: 5px;
  font-size: 20px;
}
header .contact-bar li i{
  margin-right: 0;
}

header .main-menu{
}
header .main-menu ul{
  margin-top: 10px;
  padding-left: 0;
  display: flex;
  height: 100px;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 0;
}
header .main-menu li{
  list-style: none;
  position: relative;
}
header .main-menu li a{
  display: block;
  font-size: 18px;
  line-height: 30px;
  text-transform: uppercase;
  color: #1a6a6f;
  font-weight: 500;
  letter-spacing: 2px;
  padding: 20px 10px;
  position: relative;
  transition: ease-in-out color 0.3s;
}
header .main-menu li.mega-menu-item-has-children a,
header .main-menu li.menu-item-has-children a{
  padding-right: 15px;
}
header .main-menu li a::before{
  content: "";
  height: 2px;
  width: 0%;
  position: absolute;
  background-color: #60a600;
  bottom: 15px;
  left: 0;
  transition: ease-in-out width 0.3s;
}
header .main-menu li.mega-menu-item-has-children::after,
header .main-menu li.menu-item-has-children::after{
  position: absolute;
  content: "";
  width: 0; 
  height: 0; 
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent; 
  border-right:5px solid #1f619d; 
  right: 0;
  top: 30px;
  transition: transform ease-in-out 0.3s;
}
header .main-menu li.mega-menu-item-has-children.mega-toggle-on::after,
header .main-menu li.menu-item-has-children:hover::after{
  transform: rotate(-90deg);
}
header .main-menu li a:hover::before{
  color: #60a600;
  width: 100%;
}
header .main-menu li a:hover{
  color: #60a600;
}

header .main-menu li .mega-sub-menu,
header .main-menu li > .sub-menu{
  
  position: absolute;
  top: 90%;
  left: 0;
  width: 300px;
  padding: 10px 5px;
  background-color: #ddd;
  display: block;
  z-index: 100;
  height: auto;
  transform: translateY(-20px);
  display: none;
  margin-top: 0;
  animation-name: myAnimation;
  animation-duration: 1s;
}
/* The animation code */
@keyframes myAnimation {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0px);
    opacity: 1;
  }
}
header .main-menu li.mega-toggle-on .mega-sub-menu,
header .main-menu li:hover .sub-menu{
  opacity: 1;
  display: block;
  transform: translateX(0);
}
header .main-menu li .mega-sub-menu li,
header .main-menu li .sub-menu li{
  display: block;
  width: 100%;
  text-align: left;
}
header .main-menu li .mega-sub-menu li a,
header .main-menu li .sub-menu li a{
  display: block;
  padding: 5px 20px;
  font-size: 14px;
  line-height: 22px;
  transition: transform ease-in-out 0.2s;
}
header .main-menu li .mega-sub-menu li a::before,
header .main-menu li .sub-menu li a::before{
  display: none;
}
header .main-menu li > .sub-menu li a:hover{
  transform: translateX(5px);
}
@media (max-width: 1199px) and (min-width: 992px) {
  header .main-menu li a{
    letter-spacing: 1px;
  }
}
@media (max-width: 992px){
  header .menu{
    display: none;
    position: absolute;
    z-index: 999;
    width: 100%;
    background-color: rgba(255,255,255,0.95);
    left: 0;
    top: 0;
    bottom: 0;
    text-align: center;
  }
  header .close-menu{
    display: block;
  }
  header .menu.mob-is-vis{
    display: inline-block;
  }
  
  header .mobile-menu{
    display: flex;
  }
  header .main-menu ul{
    display: block;
    height: 100%;
  }
  header .main-menu ul li{
    margin-bottom: 10px;
  }
  header .main-menu ul li a{
    text-align: center;
    background-color: rgba(255,255,255,0.5);
  }
  header .contact-bar{
    line-height: 30px;
    display: inline-block;
    float: none;
    text-align: center;
  }
  header .contact-bar .contact-bar-item ul li{
    display: inline-block;
    float: none;
  }
  header .contact-bar .contact-bar-item.socialmedia{
    clear: both;
    width: 100%;
    text-align: center;
  }
  header .main-menu li .mega-sub-menu,
  header .main-menu li > .sub-menu{ 
    position: relative;
    width: 100%;
    display: block;
    opacity: 1;
    animation: none;
    transform: translateY(0);
  }

}
@media (max-width: 991px) and (min-width: 768px) {
}
@media (max-width: 767px) {
  header .contact-bar .contact-bar-item{
    clear: both;
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 576px) {
  header .logo img{
    margin-left: 10px;
  }
}
@media (max-width: 400px) {
}
@media (max-width: 300px) {
}

/********  END HEADER  *********/


/********  NEWS & EVENTS *********/

#news, 
#events{
  padding: 50px 0;
}
#news{
  background-color: #fff;
}
#events{
  background-color: #efefef;
}
.news-item img{ 
  margin-bottom: 20px;
  transition: transform ease-in-out 0.3s;
}
#news h2, 
#events h2{
  margin-bottom: 20px;
  text-transform: uppercase;
  font-size: 36px;
  font-weight: 600;
}
.news-item h3{
  font-size: 22px;
  font-weight: 600;
  color: #000;
  margin-bottom: 50px;
  text-transform: uppercase;
  transition: transform ease-in-out 0.3s;
}
.news-item .date{
  display: block;
  font-size: 16px;
  color: #333;
  font-weight: 500;
  transition: transform ease-in-out 0.3s;
}
.news-item p{
  font-size: 16px;
  text-align: justify;
  transition: transform ease-in-out 0.3s;
}
.news-item .more{
  text-align: right;
}
.news-item .more a{
  text-transform: uppercase;
  color: #333;
  transition: color ease-in-out 0.3s;
}
.news-item .more a:hover{
  color: #1a6a6f;
}
.news-item .more::before{
  display: inline-block;
  content: "";
  height: 2px;
  width: 50%;
  background-color: #333;
  margin-bottom: 4px;
  margin-right: 15px;
  transition: background-color ease-in-out 0.3s, transform ease-in-out 0.3s;
}
.news-item .more:hover::before{
  background-color: #1a6a6f;
  transform: translateX(-30px);
}
.news-item:hover img{
  transform: scale(1.05);
}
.news-item:hover h3{
  transform: translateY(10px);
}
.news-item:hover span.date{
  transform: translateY(-20px);
}
.news-item:hover p{
  transform: translateY(-10px);
}

@media (max-width: 1199px) and (min-width: 992px) {
}
@media (max-width: 992px){
}
@media (max-width: 991px) and (min-width: 768px) {
}
@media (max-width: 767px) {
}
@media (max-width: 576px) {
}
@media (max-width: 400px) {
}
@media (max-width: 300px) {
}


/********  PAGES *********/

.page #page-top{
  padding: 20px 0;
}
.page #page-top h2{
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 0;
}

@media (max-width: 1199px) and (min-width: 992px) {
}
@media (max-width: 992px){
}
@media (max-width: 991px) and (min-width: 768px) {
}
@media (max-width: 767px) {
}
@media (max-width: 576px) {
}
@media (max-width: 400px) {
}
@media (max-width: 300px) {
}

/*******   FOOTER    *******/
footer {
  background-color: #1f619d;
  background-size: 100px;
  padding-top: 30px;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: #000;
}
footer ul {
  padding-left: 0;
}
footer ul li{
  list-style: none;
  margin-bottom: 5px;
}

footer ul li a{
  color: #fff;
  font-weight: 500;
  display: block;
  transition: transform ease-in-out 0.3s, color ease-in-out 0.3s;
}
footer ul li a:hover{
  transform: translateX(5px);
  color: #60a600;
}
footer img {
  max-width: 80%;
}
footer h4 {
  color: #000;
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  margin-bottom: 5px;
}
footer p {
  margin-bottom: 0;
}
footer .socialmedia{
  list-style: none;
}
footer .socialmedia li{
  float: left;
  margin-right: 10px;
  line-height: 60px;
}
footer .socialmedia li a{
  padding: 15px;
  background-color: #d6d6d6;
  border-radius: 30px;
  text-align: center;
}
footer .socialmedia li a.facebook:hover {
  background-color: #4267b2;
}
footer .socialmedia li a.instagram:hover {
  background-color: #c13584;
}
footer .socialmedia li a i{
  color: #6b6b6b;
  line-height: 20px;
  font-size: 20px;
  width: 20px;
}
footer .socialmedia li a:hover i{
  color: #fff;
}
footer .footer-copyright {
  background-color: #093c6b;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  padding: 15px 0;
  margin-top: 20px;
}
footer .footer-copyright p {
  margin-bottom: 0;
  line-height: 24px;
}
footer .footer-copyright a {
  color: #fff;
  font-weight: 500;
  transition: ease-in-out 0.4s color;
}
footer .footer-copyright a:hover {
  color: #bbe1b8;
}
footer .footer-copyright .woiteh {
  text-align: right;
}

@media (max-width: 1199px) and (min-width: 992px) {
  footer {
    font-size: 14px;
    line-height: 20px;
  }
}
@media (max-width: 991px)  {
  footer .logo{
    margin-bottom: 20px;
    text-align: center;
  }
  footer .logo img{
    height: 120px;
  }
}
@media (max-width: 767px) {
  footer,
  footer .woiteh p{
    text-align: center;
  }
  footer .footer-copyright .woiteh {
    margin-top: 10px;
  }
  footer .sm{
    margin-top: 20px;
  }
  footer .socialmedia{
    text-align: center;
  }
  footer .socialmedia li{
    float: none;
    display: inline-block;
  }
}
@media (max-width: 550px) {
}
