body {
    max-width: 1000px;
    height: auto;
    margin: 0 auto;
    position: relative;
    / background-color: #F4F4F4;
}

html {
    overflow-y: scroll;
}

* { 
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -moz-tap-highlight-color: rgba(0, 0, 0, 0);
}

h1, h2, h3, h4, h5, h6, a, p {
    font-family: Arial;
}
/*
header {
    width: 100%;
}
    */
header nav ul li a {
    transition: all .25s linear;
    -webkit-transition: all .25s linear;
    -moz-transition: all .25s linear;
    -o-transition: all .25s linear;
}

header img {
    position: center;
}

header .logo {
    background-color: #F4F4F4;
    border-bottom: 1px solid #BABABA;
}

header .logo_male {
    padding-left: 20px;
    padding-top: 10px;
    //padding-bottom: -10px;
    display: none;
}



header nav {
    //overflow: hidden;
    display: inline-block;
    //margin: 20px 0 0 40px;
    //padding: 13px 40px;
    / padding-left: 10% /*100px*/;
    padding-right: 1.3% /*13px*/;
    padding-top: 1.3% /*13px*/;
    //padding-bottom: 13px;
    z-index: -1; /*ODPOWIADA ZA PRZESUNIECIE NA OSI Z, IM WIECEJ, TYM WAZNIEJSZY ELEMENT*/
}


header nav ul {
    list-style: none;
}

header nav ul li {
    float: left;
    margin-left: 85px;
    font-size: 16px;
    font-family: Arial;
    letter-spacing: 1px;
    // border-right: 1px #BABABA solid;
}
            /*
header nav ul li:hover
{
    background-color: #BABABA;
}
*/
header nav ul li:first-child {
    margin-left: -20px;
}

header nav ul li a {
    text-decoration: none;
    color: #BABABA;
}

header nav ul li a:hover {
    color: #65bf95;
}

header .menu_icon {
    display: block;
    width: 35px;
    height: 35px;
    background: url('img/menu_icon.png') no-repeat;
    float: right;
    margin-top: -60px;
    margin-right: 30px;
    display: none;
}

#przerwa {
    padding-top: 20px;
    /padding-bottom: 15px;
}

#przerwa2 {
    padding-top: 150px;
    padding-bottom: 150px;
    margin-bottom: 150px;
}

/* ---------------------------------------- STOPKA ---------------------------------- */

#stop {
    color: #BABABA;
    width: auto;
    height: auto;
    border-bottom: 1px solid #BABABA;
    padding-left: 2%;
    padding-top: 10px;
}

.stopka a {
	font-size: 12px;
}

#przerwa3 {
    padding-top: 150px;
    /padding-bottom: 150px;
    /margin-bottom: 150px;
}

.kont h1 {
    font-size: 30px;
    font-family: Arial;
    letter-spacing: 4px;
    text-align: center;
    color: #4eab7b /*#00a850 PROMEX*/;
    border-bottom: 1px solid #BABABA;
    border-top: 1px solid #BABABA;
    padding-top: 5px;
}



* {
  box-sizing: border-box;
}
.row{
	padding-bottom: 5px;
}

.row > .column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.column {
  padding: 1px;
  float: left;
  width: 25%;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -85px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  padding-bottom:80px;
  padding-top:80px;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.kont img {
  margin-bottom: -5px;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.column2{
  padding: 1px;
  float: left;
  width: 25%;
}

.column2 img{
	max-height:130px;
}

/*---------------------------------------------------------------- RESPONSIVE --------------------------------------------------------------*/




@media (max-width: 998px) {

    header nav ul li {
        margin-left: 75px;
    }

        header nav ul li:first-child {
            margin-left: -10px;
        }

    .fadein {
        width: 100%;
    }

        .fadein img {
            width: 100%;
            padding: 0;
        }
}


@media (max-width: 955px) {

    header nav ul li {
        margin-left: 60px;
    }

        header nav ul li:first-child {
            margin-left: -10px;
        }
}


@media (max-width: 889px) {

    header nav ul li {
        margin-left: 38px;
    }

        header nav ul li:first-child {
            margin-left: -15px;
        }
}




@media (max-width: 768px) {


    /*wykorzystanie całej szerokości ekranu*/
    header {
        width: auto;
        margin: 0px;
        background-color: #F4F4F4;
    }

        header nav ul li:first-child {
            margin-left: 0px;
        }

        header .logo {
            display: none;
        }

        header .logo_male {
            display: block;
        }


        header img {
            // height: 48px;
            width: auto;
        }


        header .menu_icon {
            display: block;
            padding-right: 30px;
        }

            header .menu_icon:active {
                background: url('img/menu_icon_ho.png') no-repeat;
            }

        header nav {
            display: block;
            background: #353434;
            //margin: 21px 0 0 0;
            //padding: 0;
            padding-left: 10px;
            border-top: 1px #2c2c2c solid;
            overflow: hidden;
            text-align: left;
            position: relative;
            z-index: 9999;
            display: none;
        }
            /*  header nav{
        border-bottom-left-radius: 2px; 
        -webkit-border-bottom-left-radius: 2px; 
        -moz-border-bottom-left-radius: 2px; 
        -o-border-bottom-left-radius: 2px; 
        border-bottom-right-radius: 2px; 
        -webkit-border-bottom-right-radius: 2px; 
        -moz-border-bottom-right-radius: 2px; 
        -o-border-bottom-right-radius: 2px; 
    }*/
            header nav.show_menu {
                display: block;
            }

            header nav ul li {
                margin: 0;
                width: 100%;
                border-bottom: 1px #2c2c2c solid;
            }

                header nav ul li:last-child {
                    border-bottom: 0;
                }

                header nav ul li a {
                    display: block;
                    width: 100%;
                    //padding: 20px 0;
                    padding-top: 20px;
                    padding-right: 40px;
                    padding-bottom: 20px;
                }

                    header nav ul li a:active {
                        display: block;
                        width: 100%;
                        padding: 20px 0;
                        background: #2c2c2c;
                    }


@media only screen and (max-width: 700px) {
    .column {
        width: 49.99999%;
        padding: 1px;
    }
}

@media only screen and (max-width: 500px) {

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -65px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  padding-bottom:30px;
  padding-top:30px;
}

	.column2 {
        width: 49.99999%;
        margin: 6px 0;
    }
}



