.container-front{

  display: block;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
}


.header-glowna{
  grid-area: header-glowna;
  grid-row: 1;
  grid-column: 1 / 3;
  display: inline-block;
  width: 100%;
  float: left;
}
.content1-glowna{

grid-row: 2 /3 ;
grid-column: 1 / 2;
display: block;
width: 50%;
float: left;
}
.content2-glowna{

grid-row: 2 / 3;
grid-column: 2 / 3;
display: block;
width: 50%;
float: left;
}
.content3-glowna{

grid-row: 3 / 4;
grid-column: 1 / 2;
display: block;
width: 50%;
float: left;
}
.content4-glowna{

grid-row: 3 /4;
grid-column: 2/3;
display: block;
width: 50%;
float: left;
}

.footer-glowna{

grid-row: 4 / 5;
grid-column: 1 / 3;
display: inline-block;
width: 100% 
}



#seniorzy {
    display: block;
    width: 48.7%;
    float: left;
    background: #a2c700;
    color: #fff;
    height: 40vh /*100%*/;
    z-index: 0;
    position: absolute;
}

#seniorzy h1 {
        color: #fff;
font-size: 3vw;
text-align: right;
}


#ankieterzy {
    display: block;
    width: 48.7%;
    float: left;
    background: #b6b7b2;
    color: #fff;
    height: 40vh /*100%*/;
    z-index: 0;
    position: absolute;
}



#dorosli {
    display: inline-block;
    width: 100% /*50%*/;
    float: left;
    background: magenta;
    color: #fff;
    height: 40vh /*100%*/;
    /*margin-left: 50%;*/
    margin-top: 0px;
}


#zol {
    display: inline-block;
    width: 100% /*50%*/;
    float: left;
    background: #00a5ff;
    color: #fff;
    height: 40vh /*100%*/;
    /*margin-left: 50%;*/
    margin-top: 0px;
}


#dorosli h1 {
        color: #fff;
font-size: 3vw;
text-align: left;
}

#zol h1 {
        color: #fff;
font-size: 3vw;
text-align: left;
}


#ankieterzy h1 {
        color: #fff;
font-size: 3vw;
text-align: right;
}





.nazwa-lewa {
        margin-top: 10vh /*30%*/;
        text-align: right;
        margin-right: 25px;
float: right;
width: 30%;
}



.nazwa-prawa {
        margin-top: 10vh /*30%*/;
        margin-left: 25px;
width: 30%;
float: left;
}

#logo2 #logo {
width: 100%;
margin: 0 auto;
display: block;
}

.obrazek-lewa {

background-image: url("../images/doroslibg.png");
    background-repeat: no-repeat;
    background-position: left top;

width: 50%;
height: 100%;
float: left;
display: block;
z-index: 0;
}


.obrazek-lewa-zol {

background-image: url("../images/zolbg.png");
    background-repeat: no-repeat;
    background-position: left top;

width: 50%;
height: 100%;
float: left;
display: block;
z-index: 0;
}


.obrazek-prawa {
    background-image: url("../images/seniorzybg.png");
    background-repeat: no-repeat;
    background-position: left top;

width: 50%;
height: 100%;
float: right;
display: block;
z-index: 0;
position: relative;
}


.obrazek-prawa-ankieter {
    background-image: url("../images/ankieterbg.png");
    background-repeat: no-repeat;
    background-position: left top;

width: 50%;
height: 100%;
float: right;
display: block;
z-index: 0;
position: relative;
}

#logotyp img {

    margin: -20px auto 0;
    display: block;
}


n-prawa {
    background-color: #b300b3 /* Magenta */
    border: none;
    color: white;
    padding: 22px 67px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
margin-top: 10px;
float:left;
z-index: 10;
position: relative;
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
border: 1px solid #bebebe;
}


.button-prawa:hover{
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
color: #f4ff00;
}



.button-lewa  {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 22px 67px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
margin-top: 10px;
float: right;
z-index: -10;
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
border: 1px solid #bebebe;
}

.button-lewa:hover{
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
color: #beff00;
}


.program-lewa{
display: block;
width: 100%;
margin-top: 9em;
}

.program-lewa p {
color: #fff;
text-align: right;
word-wrap: break-word;
}

.program-prawa p {
color: #fff;
text-align: left;
word-wrap: break-word;
}

#stopka {
display: inline-block;
width: 100%;
background: #fff;
float: left;
}

#stopka p {
color: #000;
text-align: center;
margin: 10px auto;
word-wrap: break-word;
font-size: 1.1em;
}

.button-ankieter {
   background-color: #bebebe; /* Green */
    border: none;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
margin-top: 10px;
}


.logo-npz{
display: block;
width: 200px;
}

#loga-gora{
        width: 100%;
        height: 45px;
}

.glowna-kolumny-33 {

float: left;
width: 33%;
margin-top: -30px;

}

.wyrownanie-srodek {

align: center;

}

.logo-npz-lewa{
    background-image: url(../images/NPZ_logo_RGB_www.jpg);
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 20px;
    position: relative;
    margin-top: 3px;
    height: 70px;
}

}

.napis-srodek {
z-index: 99;
}

.napis-srodek p {
    width: 100%;
    z-index: 100;
    overflow: unset;
    margin: 0 auto;
    text-align: center;
position: relative;
padding: 0 10px;
    font-weight: bold;
    color: #787878;
}
}

#stopka {
display: inline-block;
width: 100%;
background: #fff;
float: left;
}

#stopka p {
color: #000;
text-align: center;
margin: 10px auto;
}

.logo-wum-prawa {

background-image: url(../images/wum_wnoz.png);
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 20px;
    position: relative;
    margin-top: -3px;
height: 80px;
background-position: right;


}

.napis-srodek p {

font-size: 1.2em;

}

.button-glowna-senior {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    background-color: #538fbe;
    padding: 2vh 2vw /*20px 30px*/;
margin-left: 0px;
    font-size: 1.5vw /*24px*/;
    border: 1px solid #2d6898;
    background-image: linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
    background-image: -o-linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
    background-image: -moz-linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
    background-image: -webkit-linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
 
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, rgb(73,132,180)),
        color-stop(1, rgb(97,155,203))
    );
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    text-shadow: 0px -1px 0px rgba(0,0,0,.5);
    -webkit-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
    box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
	-webkit-transform: rotateX(20deg);
float:right;
}

.button-glowna-senior:hover {
    background-image: linear-gradient(bottom, rgb(79,142,191) 0%, rgb(102,166,214) 100%);
    background-image: -o-linear-gradient(bottom, rgb(79,142,191) 0%, rgb(102,166,214) 100%);
    background-image: -moz-linear-gradient(bottom, rgb(79,142,191) 0%, rgb(102,166,214) 100%);
    background-image: -webkit-linear-gradient(bottom, rgb(79,142,191) 0%, rgb(102,166,214) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(79,142,191) 0%, rgb(102,166,214) 100%);
 
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, rgb(79,142,191)),
        color-stop(1, rgb(102,166,214))
    );
	-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
text-shadow: x-offset y-offset blur color;
-webkit-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0,0,0,.4);
-moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0,0,0,.4);
box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0,0,0,.4);
-webkit-transform: translate(0, 4px);
-moz-transform: translate(0, 4px);
transform: translate(0, 4px);
-webkit-transition: all .1s ease-in-out;
-moz-transition: all .2s ease-in-out;
transition: all .2s ease-in-out;
-webkit-transform: rotateX(20deg);
}

a.button-glowna-senior:hover {

color: #c1c1c1;

}


a.button-glowna-dorosly:hover {

color: #c1c1c1;

}

.button-glowna-senior:active {
    background-image: linear-gradient(bottom, rgb(88,154,204) 0%, rgb(90,150,199) 100%);
    background-image: -o-linear-gradient(bottom, rgb(88,154,204) 0%, rgb(90,150,199) 100%);
    background-image: -moz-linear-gradient(bottom, rgb(88,154,204) 0%, rgb(90,150,199) 100%);
    background-image: -webkit-linear-gradient(bottom, rgb(88,154,204) 0%, rgb(90,150,199) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(88,154,204) 0%, rgb(90,150,199) 100%);
 
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, rgb(88,154,204)),
        color-stop(1, rgb(90,150,199))
    );
	-webkit-transform: translate(0, 4px);
-moz-transform: translate(0, 4px);
transform: translate(0, 4px);
-webkit-transition: all .1s ease-in-out;
-moz-transition: all .2s ease-in-out;
transition: all .2s ease-in-out;
-webkit-transform: translate(0, 4px) rotateX(20deg);
-moz-transform: translate(0, 4px);
transform: translate(0, 4px);
}


.button-glowna-dorosly {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    background-color: #538fbe;
    padding: 2vh 2vw /*20px 30px*/;
    font-size: 1.5vw /*24px*/;
margin-right: 50px; 
   border: 1px solid #2d6898;
    background-image: linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
    background-image: -o-linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
    background-image: -moz-linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
    background-image: -webkit-linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
 
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, rgb(73,132,180)),
        color-stop(1, rgb(97,155,203))
    );
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    text-shadow: 0px -1px 0px rgba(0,0,0,.5);
    -webkit-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
    box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
	-webkit-transform: rotateX(20deg);
}

.button-glowna-dorosly:hover {
    background-image: linear-gradient(bottom, rgb(79,142,191) 0%, rgb(102,166,214) 100%);
    background-image: -o-linear-gradient(bottom, rgb(79,142,191) 0%, rgb(102,166,214) 100%);
    background-image: -moz-linear-gradient(bottom, rgb(79,142,191) 0%, rgb(102,166,214) 100%);
    background-image: -webkit-linear-gradient(bottom, rgb(79,142,191) 0%, rgb(102,166,214) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(79,142,191) 0%, rgb(102,166,214) 100%);
 
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, rgb(79,142,191)),
        color-stop(1, rgb(102,166,214))
    );
	-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
text-shadow: x-offset y-offset blur color;
-webkit-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0,0,0,.4);
-moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0,0,0,.4);
box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0,0,0,.4);
-webkit-transform: translate(0, 4px);
-moz-transform: translate(0, 4px);
transform: translate(0, 4px);
-webkit-transition: all .1s ease-in-out;
-moz-transition: all .2s ease-in-out;
transition: all .2s ease-in-out;
-webkit-transform: rotateX(20deg);
}

.button-glowna-dorosly:active {
    background-image: linear-gradient(bottom, rgb(88,154,204) 0%, rgb(90,150,199) 100%);
    background-image: -o-linear-gradient(bottom, rgb(88,154,204) 0%, rgb(90,150,199) 100%);
    background-image: -moz-linear-gradient(bottom, rgb(88,154,204) 0%, rgb(90,150,199) 100%);
    background-image: -webkit-linear-gradient(bottom, rgb(88,154,204) 0%, rgb(90,150,199) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(88,154,204) 0%, rgb(90,150,199) 100%);
 
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, rgb(88,154,204)),
        color-stop(1, rgb(90,150,199))
    );
	-webkit-transform: translate(0, 4px);
-moz-transform: translate(0, 4px);
transform: translate(0, 4px);
-webkit-transition: all .1s ease-in-out;
-moz-transition: all .2s ease-in-out;
transition: all .2s ease-in-out;
-webkit-transform: translate(0, 4px) rotateX(20deg);
-moz-transform: translate(0, 4px);
transform: translate(0, 4px);
}


@media screen and (max-width: 800px) {

.napis-srodek {

clear: both;

}

.glowna-kolumny-33 {
width: 50%;
}

}

.floatin-box {
	display: inline-block;
	width: 49%;
	height: 40vh;
	margin: 3px -8px 0px 13px /*5px*/;
	border: none /*3px solid #73AD21*/;
}

@media screen and (max-width: 700px) {

.floatin-box {
        display: inline-block;
        width: 100%;
        height: 250px;
        margin: 0 auto;
        border: none /*3px solid #73AD21*/;
}

#seniorzy{
	width: 100%;
	height: 250px;

}


#ankieterzy{
	width: 100%;
	height: 250px;
}

#dorosli{
	height: 250px;

}

#zol{
	height: 250px;

}
.obrazek-prawa{

background-position: top;

}

.obrazek-lewa{

background-position: top;

}

.button-glowna-dorosly {

	margin-right: 128px;
	padding: 1vh 2vw;
	font-size: 2vw;


}


.button-glowna-senior {
	 padding: 1vh 2vw;
	font-size: 2vw;

}

}




.view-glowna-zol td img{
    display: block;
    margin-left: auto;
    margin-right: auto;

}

.view-glowna-zol td {
border: none;

}

.view-glowna-zol table {

border: none;

}
