@charset "utf-8";


/* dla zachowania jednej wielkosci tekstu przy landscape/portrait view */
html {
	-webkit-text-size-adjust: none;
    min-height: 100%;
}

/* teraz trzeba pamietac o tym, ze width: 100% + margin: 2% = 104% ... dlatego w sytuacji ustawienia marginesow, trzeba takze zmniejszyc szerokosc ze 100 na 96% */
/* box-sizing: content-box (domyslnie) - sume szerokosci lub wysokosci stanowi width elementu, padding, margin i border (200px + 2x padding + 2x margin + 2x border) */
/* box-sizing: border-box - sume szerokosci lub wysokosci stanowi width elementu oraz margin (200px + 2x margin) - w szerokosci uwzgledniane jest dopelnienie i ramka + obslugiwane jest przez IE8 */
* { 
	box-sizing: border-box; 
}

 /* ----- BODY ----- */
body {
   font-size: 62.5%;
   font-family: 'Open Sans', sans-serif;
   color: #196b3e;
   background-color: #f1f1f1;
/* 16px - 1.6em, 24px - 2.4em */
}

#wrapper {
    min-width: 1200px;
    margin: 0 auto;
    max-width: 1600px;
    padding-top: 30px;
    background-color: white;
}

/* -----CONTAINTER -----*/
#container {
   background-color: #fff;
   min-width: 320px;
   max-width: 1140px; 
}

/* -----HEADER -----*/
header {}

/* sposob na naglowek <h1> zamiast ktorego wyswietlamy obraz */
h1 {
	font-weight: normal;
    margin-top: 0;
    text-transform: uppercase;
}

.fromMenu h1 {
    text-transform: uppercase;
}

h2.specific {
    background-color: #196B3E;
    color: white;
    border-radius: 8px;
    width: 340px;
    font-size: 0.9em;
    padding: 5px 0;
    text-transform: uppercase;
    margin: 10px auto;
    font-weight: 300;
}

h2 {
    width: 340px;
    font-size: 1.1em;
    padding: 5px 0;
    text-transform: uppercase;
    margin: 15px auto;
    font-weight: 400;
    background-color: white;
    color: #196B3E;
}

header h2 {}

/* obrazy zamiast tekstu 
	h1 { 
		height: 140px;
		text-indent: -9999px;
		background: url(header.jpg);
		}
*/

.slider{
    max-width: 1600px;
    height: auto;
    margin-bottom: 30px;
    width: 100%;
}

/*-----NAVIGATION -----*/
nav {
    max-width: 960px;
    margin: 0 auto;
    
    margin-bottom: 30px;
    position: relative;
}

nav img {
    
    display: inline-block;
}

nav ul {
    margin: 0;
    display: inline-block;
    position: absolute;
    top: 60px;
    font-size: 1.4em;
    text-transform: uppercase;
    font-weight: bold;
    padding-left: 10px;
}
nav ul li {
    display: inline-block;
    margin-right: 1px;
    padding: 5px 4px;
}
nav ul li a {
    display: block;
    color: #196b3e;
    text-decoration: none;
    margin-right: -9px;
    padding: 5px;
    -webkit-transition: 1s all;
    transition: 1s all;
}

nav ul li:first-child a{
    color: red;
}

nav ul li a:hover {
    color: black;
}

/*-----CONTENT-----*/
#content {
   min-height: 100px;
   text-align: center;
   font-size: 2em;
}

.w960 {
    max-width: 960px;
    margin: 0 auto;
    
}

.w960 p {
    letter-spacing: -0.2px;
    line-height: 1em;
    margin: 5px 0;
}

.border-b {
    border-bottom: 1px solid #196B3E;
    padding-bottom: 40px;
    padding-top: 50px;
}

.border-b:last-of-type {
    border-bottom: none;
}

.lightgreen {
    background-color: #7A9D01;
}

.lightgreenFont {
    color: #4F5F18;
}

.white {
    color: white;
}

.fw300 {
    font-weight: 300;
}

.pad80 {
    padding-top: 80px;
}

p.s {
    font-size: 0.7em;
    line-height: 1.3em;
}

a.moreButton {
    display: inline-block;
    text-transform: uppercase;
    padding: 5px 25px;
    border-radius: 7px;
    text-decoration: none;
    line-height: 1em;
    margin-top: 30px;
    margin-bottom: 150px;   
}

.darkgreenButton {
    color: white;
    background: #196B3E;
}

.lightgreenButton {
    color: white;
    background: #4F5F18;
}

.whiteButton {
    color: #617B04;
    background: white;
}

/*-----IMAGES-----*/

.imageWrapper {
    overflow: hidden;
    width: 21%;
    margin: 2%;
    text-align: center;
    max-height: 200px;
    float: left;
    border: 3px solid #196B3E;
    border-radius: 8px;
}

/*.imageWrapper img {
    max-width: none;
    position: relative;
    left: 100%;
    margin-left: -200%;
}*/

.trees {
    margin-bottom: 50px;
}

span.tree {
    width: 18%;
    /* height: 21%; */
    display: inline-block;
    background-color: #4F5F18;
    color: white;
    height: 180px;
    border-radius: 100px;
    margin: 0 3%;
    line-height: 9em;
    -webkit-transition: 1s all;
    transition: 1s all;
    margin-bottom: 20px;
}

span.tree:hover {
    background-color: #196B3E;
}

.fw {
    max-width: 100%;
    display: block;
    /*float: left;
    width: 100%;*/
}
figure.w100 {
	width: 100%;
}

figure img {
	width:100%;	
}

/*-----OTHERS-----*/

/* obrysy dla divow - diagnostyka 

	div {
		outline: 1px dashed red;
	}
	
	*/

/* dla elementow ktore maja byc niewidoczne, ale ktorych struktura musi pozostac dostepna dla czytnikow ekranu*/ 
.hide {
	position: absolute;
	top: -10000em;
	left: -10000em;
}

/* jesli chcemy przywrocic element do normalnego ukladu na stronie 
	ewentualnie mozna uzyc .show {position: relative; top: 0; left: 0; } - gdy przywrocony element ma odgrywac role blokowego kontenera*/
.show {
	position: static;
}

nav a.showMenu {
    background-color: rgba(25, 107, 62, 0.8);
    color: white !important;
    border-radius: 8px;
}

/*-----FOOTER-----*/
footer {
   clear: both;
   text-align: center;
   padding: 1em;
    background-color: #4F5F18;
}

footer span {
    display: inline-block;
}

footer span.text {
    font-size: 1.5em;
    top: -5px;
    line-height: -2em;
    position: relative;
    width: 79%;
    text-align: center;
    color: #c6c6c6;
}

footer ul {
    padding: 0;
}

footer li {
    display: inline-block;
    width: 14%;
}

footer li a {
    color: #c6c6c6;
    text-decoration: none;
    width: 100%;
    float: left;
    text-transform: uppercase;
}

/*-----CLEAR FIX-----*/ 
/* taka klase przypisujemy elementom ktore beda tego wymagac - np do jakiegos diva w ktorym znajduja sie inne divy wykorzystujace float */
.clearfix:after {
    content: "\00A0";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    zoom: 1
}