:root {
  --cGreen:   #52c326;
  --cDBlue:   #11112c;
}

* {
  border: 0;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
}
body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: #000;
  background: #fff;
  text-align: justify;
  max-width: 100%;
  min-width: 320px;
  overflow-x: hidden;
  position: relative;
  /*opacity: 0;*/
}
a {
  text-decoration: none;
  color: #000000;
  font-weight: 400;
}
p a::after{
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 3px;
  color: var(--cGreen);
}
p {width: 100%;}
nav ul {list-style: none;}
strong {font-weight: bold;}

.clr::after {clear: both;}
.content {width: 100%;}
.contentS {width: calc(100% - 100px);max-width: 1350px;}
/* TOP */
header{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
header #logotyp {
  padding: 0 30px;
}
header #header_right, header #header_socialLinks{
  display: flex;
  flex-direction: row;
  align-items: center;
}
header #header_socialLinks {padding: 20px;}
header #header_socialLinks a {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 20px 10px;
}
header #header_socialLinks a img{
  margin: 0 10px;
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  padding-right: 20px;
}
nav a {
  padding: 10px 30px;
  text-transform: uppercase;
  position: relative;
}
nav a:hover {
  font-weight: bold;
}
nav a:hover::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: #52c326;
}

#mB {display: none !important;}


/******************************************* BODY ************************************************/
#main_contentImg, #img_slider {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
}

#img_slider::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 15px;
  background: rgba(82,195,38,0.8);
}
#img_slider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: rgba(82, 195, 38, 0.8);
}
#img_slider img{
  min-width: 100%;
  height: auto;
  width: auto;
}
#slider_text {
  z-index: 2;
  position: absolute;
  top:0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: url("images/bg_slider.png") center center no-repeat;
  color: #fff;
}
#slider_text_title {
  font-size: 34px;
  font-weight: 600;
}
#slider_text_kierunki {
  font-size: 54px;
  font-weight: 600;
  text-transform: uppercase;
}
#slider_text_kierunki span {
  color: var(--cGreen);
  position: relative;
  width: 1px;
}
#slider_text_kierunki span::after {
  color: var(--cGreen);
  position: absolute;
  top: 12px;
  bottom: 12px;
  right: 3px;
  left: 3px;
  background: var(--cGreen);
  content: "";
}
/************************************************************************************************/
#main_motto{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  z-index: 4;
  background: var(--cDBlue);
  padding-bottom: 200px;
}
    #main_motto .contentS {
      background: white;
      display: flex;
      justify-content: space-around;
      align-items: center;
      margin-top: -40px;
    }
    #main_motto .contentS section{
      width: 50%;
      box-sizing: border-box;
      padding: 20px;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
    }
    #main_motto .contentS section:nth-child(1){
      background: url("images/bg_misja_3t.png") no-repeat 20px bottom;
      background-size: auto 90%;
    }
    #main_motto .contentS section:nth-child(2){
      background: url("images/bg_cele_3t.png") no-repeat 20px bottom;
      background-size: auto 90%;
    }
    #main_motto .contentS section section{
      box-sizing: border-box;
      padding: 20px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      background: none !important;
    }
    #main_motto .contentS section section p:first-child{
      font-size: 16px;
      font-weight: bold;
      text-transform: uppercase;
      white-space: nowrap;
    }
    #main_motto .contentS section section p:nth-child(2){
      font-size: 12px;
      font-weight: 400;
    }
/*******************************************************************************************/
      #main_news {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: calc(100% - 100px);
        max-width: 1350px;
        margin: -180px auto 0;
        position: relative;
        z-index: 5;
        padding-bottom: 50px;
      }
      #empty_bar {
        background: var(--cDBlue);
        width: 100%;
		display: flex;
		justify-content: center;
      }
      #main_newsTitle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 30px 0 40px;
      }
          #main_newsTitle h3 {
            font-size: 30px;
            font-weight: bold;
            text-transform: uppercase;
            color: white;
          }
          #main_newsTitle a {
            background: var(--cGreen);
            color: var(--cDBlue);
            font-weight: bold;
            padding: 10px 20px;
          }
      #main_newsContent {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(310px, 1fr )) !important;
        column-gap: 40px;
        row-gap: 40px;
        width: 100%;
		padding-top: 20px;
      }

      #main_newsContent .newsItem {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        max-width: 400px;
      }
      #main_newsContent .newsItem_img {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 200px;
        width: 100%;
        overflow: hidden;
      }
      #main_newsContent .newsItem_img img
      {
        width: 100%;
        height: auto;
      }
      #main_newsContent .newsItem_text p {padding: 2px 0;}
      #main_newsContent .newsItem_text p:nth-child(1) {color: var(--cGreen);font-weight: bold}
      #main_newsContent .newsItem_text p:nth-child(2) {font-weight: bold;font-size: 16px;}
      #main_newsContent .newsItem_text p:nth-child(3) {font-weight: 300;font-size: 11px;padding-bottom: 10px;}
      #main_newsContent .newsItem_text a {position: relative;font-weight: bold;font-size: 11px;}
      #main_newsContent .newsItem_text a::after {
        content: "";
        position: absolute;
        bottom: -5px;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--cGreen);
      }

      #pagesLine {
        font-size: 18px;
        padding: 20px 0;
      }
      #pagesLine section {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 10px;
      }
      #pagesLine section span {
        font-size: 24px;
        font-weight: 600;
      }
/************************************************************************************/
      #page_container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: calc(100% - 100px);
        max-width: 1350px;
        margin: 0 auto 0;
        position: relative;
        z-index: 5;
        padding-bottom: 50px;
      }
      #page_title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 30px 0 30px;
      }
          #page_title section {
            display: flex;
            flex-direction: row;
            align-items: baseline;
            justify-content: flex-start;
          }
          #page_title , #page_title h1 {
            font-size: 30px;
            font-weight: bold;
            text-transform: uppercase;
            color: white;
			text-align: left;
          }
          #page_title span {
            font-size: 12px;
            font-weight: bold;
            color: white;
          }
          #page_title a {
            background: var(--cGreen);
            color: var(--cDBlue);
            font-weight: bold;
            padding: 10px 20px;
            font-size: 14px;
			margin: 0 20px;
          }
      #page_desc {
        padding-top: 40px;
        text-align: left;
        width: 100%;
      }
          #page_desc p {
            line-height: 28px;
            font-size: 16px;
            text-align: justify;
			min-width: 50px;
          }
		  #page_desc img {max-width: calc(100% - 40px) !important;margin: 20px !important;height: auto !important;}  

      #page_photos {
        padding-top: 40px;
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(310px, 1fr )) !important;
        grid-template-rows: repeat(auto-fill, 200px) !important;
        column-gap: 40px;
        row-gap: 40px;
        width: 100%;
      }
          #page_photos a {
            width: 100%;
            height: 100%;
            overflow: hidden;
            max-width: 400px;
          }
          #page_photos a img {
            min-height: 100%;
            min-width: 100%;
            width: auto;
            height: auto;
            object-fit: cover;
          }
          #page_map {
            width: 100%;
            height: 400px;
            padding-top: 40px;
          }
          #page_map iframe {
            width: 100% !important;
            height: 100% !important;
            min-width: 100% !important;
            min-height: 100% !important;
          }
/*********************************************************************************/
  #main_bar {
    width: 100%;
    max-width: 100vw;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: var(--cDBlue);
    margin: 0;
    padding: 0;
  }
  #main_bar_img {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0;
    height: 215px;
  }
  #main_bar_text {
    position: relative;
    z-index: 5;
    margin-top: -215px;
    height: 215px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  #main_bar_text p {
    font-size: 24px;
    text-align: center;
    font-weight: 600;
    color: white;
  }
  #main_bar_text p:nth-child(2){color: var(--cGreen);}
/***************************************************************************************/
    #main_contact {
      display: flex;
      justify-content: center;
      width: 100%;
      background: url("images/bg_kontakt_3t.png") no-repeat right top, linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 50%, rgba(243,243,243,1) 100%);
      padding-top: 50px;
    }
      #main_contact .contentS{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
      }
      #main_contact #main_contact_top {padding-bottom: 20px;}
      #main_contact #main_contact_top p:nth-child(1){
        font-size: 24px;
        font-weight: 600;
      }
      #main_contact #main_contact_top p:nth-child(2){
        font-size: 16px;
        font-weight: 400;
        text-transform: uppercase;
      }

      #main_contact_desc {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
      }
      #main_contact_desc p {
        line-height: 28px;
        font-size: 16px;
      }
      #main_contact_desc p a {
        display: flex;
        align-items: center;
        padding: 10px 0;
      }
      #main_contact_desc p a img {
        margin-right: 5px;
      }
      #main_contact_desc section {
        padding: 20px 40px 20px 0;
      }



/**********************************************/

/* FOOTER */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
  padding: 40px 0;
  margin-bottom: -5px;
}
footer::after {
  content: "";
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--cGreen);
  height: 10px;
  position: absolute;
}

footer .contentS {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
} 

footer #creators {text-align: right;line-height: 24px;}



footer #mB {display: none !important;}

/* RESPONSIVE SETTINGS */
	@media all and (max-width:1100px) {
		#slider_text_kierunki {font-size: 38px;}
		#main_contact_desc p a {font-weight: bold; color: #fff;}
		header nav {padding: 0;}
		header nav a {
				padding: 10px 20px;
				font-size: 14px;
			}
			header #header_socialLinks {padding: 20px 0;}
		#logotyp img {height: 40px;width: auto;}
	}
	
	@media all and (max-width:800px) {
		.newsItem {max-width: 100% !important;}  
		#slider_text_kierunki {text-align: center;}
		#img_slider {min-height: 500px;}
		#img_slider img {object-fit: cover;width: 100%;height: 100%;}
		#main_motto .contentS {flex-direction: column;width: 100%;}
		#main_motto .contentS section {width: 100%;}
		#main_contact {background-size: cover !important; background: url("images/bg_kontakt_3t.png") no-repeat right top;}
		#main_contact_desc {flex-direction: column;max-width: calc(100% - 40px) !important;}
		#main_contact_desc section {color: #fff;font-weight: bold;}
		footer .contentS {flex-direction: column;}
		#creators {text-align: center !important;} 
		header, #header_right, #header_right nav {flex-direction: column !important;align-items: center;padding-top: 20px;}
		#logotyp img {height: auto;width: auto;}
		#mB                      {   display: none !important;              }
	}
	
	@media all and (max-width:480px) {
		#main_newsTitle { 
			justify-content: space-between;
			align-items: center;
			flex-direction: column !important;
		}
		#main_newsTitle h3 {padding-bottom: 20px;}
		#slider_text_kierunki {font-size: 24px !important;}		
		#slider_text_title {font-size: 18px;font-weight: bold;}
		footer nav {
				flex-direction: column;
				align-items: stretch;
				padding-bottom: 20px;
			}
			footer nav a {text-align: center;}
		#motto_left, #motto_right {
			flex-direction: column !important;
			align-items: center !important;
		}
		#main_news, #page_container {width: calc(100% - 40px) !important;}
		#main_newsContent {grid-template-columns: repeat(auto-fit, minmax(280px, 1fr )) !important;}
		#page_desc img {width: 100% !important; margin: 10px 0 !important;min-width: 100% !important;}
		
		#page_title h1 {text-align: center;padding-bottom: 20px;}
		#page_title, #page_title section {
			flex-direction: column;
			justify-content: flex-start;
			align-items: center;
		}
		#page_title section {padding-bottom: 20px;}
		#main_contact_desc p {
			font-size: 14px;
			text-shadow: 0px 0px 5px black;
		}
	}   




	
/*************** THE END ********************/
