@media screen and (min-width: 768px) {
    header#masthead {
        display: flex;
    }

    section#featured-slider {
        width: 100%;
        flex: 5;
        border: 1px solid #090909;
        border-right: 0;
        overflow: hidden;
    }

    div#header-text-nav-container {
        flex: 1;
    }

    #header-right-section {
        float: none;
        max-width: 213px;
        margin-left: auto;
    }

    .main-navigation-right li {
        float: none;
    }

    div#header-left-section {
        float: none;
        text-align: right;
        margin-bottom: 25px;
    }


    .main-navigation-right li:after {
        content: "";
        position: absolute;
        left:0;
        right:0;
        bottom:0;
        top:100%;
        background: #F38025 !important;
        transition: all 0.3s;
    }

    .main-navigation-right li{
        position: relative;
        margin-bottom:1px;
    }

    .main-navigation-right li a{
        position: relative;
        z-index: 5;
    }

    .main-navigation-right li.current-menu-item:after,
    .main-navigation-right li:hover:after{
        top:0;
    }
    .main-navigation-right li.current-menu-item:before {
        content: "";
        display: inline-block;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 20px 15px 0 0;
        position: absolute;
        right:0;
        top:100%;
        border-color: #F38025 transparent transparent transparent;
    }

    .main-navigation-right li.current-menu-item{
        margin-right: -30px;
        z-index: 9;
        padding-right: 30px;

    }
}
div#page {
    background: white;
}
.navArrows {
    display: none;
}
.header-widget-wrapper p {
    margin: 0px;
}

.header-widget-wrapper {
    padding: 10px 0;
}

.header-widget-wrapper strong {
    color: #eaaa11;
}

body,#main p, a,h1, h2, h3, h4, h5, h6{
    font-family: 'Open Sans', sans-serif;
}

div#main {
    padding: 0px 15px 50px 15px;
}

h1 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 25px;
}

h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong{
    color: #539534;
}

h2 {
    font-size: 28px;
    font-weight: 300;
}

.boxy_glowna > div {
    margin-top: -25px;
}
.boxy_glowna > div:nth-child(2n+1) > div {
    background: #B7B7B7 !important;
}
.boxy_glowna > div > div{
    background: #539534 !important;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.96, 0.11, 1, 1);
    position: relative;
    box-shadow: 0 14px 55px -7px black;
}

.boxy_glowna > div > div:hover{
    transform: translate(0, -10px);
    box-shadow: 0 24px 55px -7px black;
}

.boxy_glowna a:after{
    position: absolute;
    top:100%;
    opacity:0;
    right:0;
    bottom:0;
    left:0;
    background: rgba(83, 149, 52, 0.93);
    color: white;
    content: "zobacz więcej";
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 17px;
    font-family: "Open Sans", sans-serif;
    font-weight: 100;
    text-shadow:1px 1px 1px rgba(255, 255, 255, 0.63);
    transition: all 0.3s;

}
.boxy_glowna > div > div:hover a:after{
    opacity: 1;
    top:0%;
}
.boxy_glowna * {
    color: white;
}
.boxy_glowna h3{
    font-size: 22px;
    font-weight: 800;
    padding:20px 20px 5px 20px;
}
.boxy_glowna p{
    padding:0px 20px 20px 20px;
    margin:0;
    min-height: 165px;
}

.boxy_glowna > div:nth-child(2n+1) > div p:first-of-type,
.boxy_glowna > div:nth-child(2n) > div p:last-of-type{
    padding:0px;
}
.boxy_glowna img{
    margin:0;
    border-radius: 5px;
}
.sekcja_z_tlem {
    padding-bottom: 50px;
    margin-top:50px;
}
.sekcja_z_tlem *{
    color: white;
}

.sekcja_z_tlem h2{
    color: #ffb400;
}
.spacious-button, input[type="reset"], input[type="button"], input[type="submit"],
a.ow-button-hover,
div#cookies-message a{
    background: #ffb400 !important;
    border: 1px solid black !important;
    border-radius: 50px !important;
    color: black !important;
    transition: all 0.3s;
}

a.ow-button-hover span,
div#cookies-message a{
    color: black !important;
    font-family: "Open Sans", sans-serif;
}

a.ow-button-hover span strong {
    color: black !important;
}
.spacious-button:hover, input[type="reset"]:hover, input[type="button"]:hover, input[type="submit"]:hover,
a.ow-button-hover:hover,
div#cookies-message a:hover{
  transform: translate(0, -10px);
}
.contact_section,
div#cookies-message{
    background: #ffb400 !important;
}
.contact_section *,
.contact_section a,
div#cookies-message {
    color: black;
}
.contact_section h2{
    font-size: 32px;
}
.contact_section h2 strong{
    color: white;
    font-weight: 300;
}
.contact_section a{
    color: black;
}
.contact_section > div:last-of-type {
    padding: 0px !important;
    margin-bottom: -4px;
}
.contact_section > div:first-of-type {
    padding: 38px 0; 
}
.contact_section > div:first-of-type > div{
    max-width: 565px;
    margin-left:auto;
}

.home div#main {
    padding-bottom: 0; 
  padding-top: 50px;
}

body {
    background: black !important;
}

.footer-socket-wrapper * {
    color: #539534 !important;
}
p {
    font-weight: 300;
    color: #363636;
}

#controllers {
    width: 80%;
}

body:not(.home) div#main {
    background: url(http://nieczystosci.com.pl/wp-content/uploads/2018/04/tlo_sekcja.jpg);
    background-size: cover;
    background-position: top center;
    border-bottom: 2px solid #ffb400; 
    position: relative;
}

body:not(.home) div#main * {
    color: white;
}

body:not(.home) div#main h1,
body:not(.home) div#main h2,
body:not(.home) div#main h3,
body:not(.home) div#main strong{
    color:  #ffb400;
}

.ramka {
    background:#539534;
    padding: 30px
}

.ramka *{
    color: black !important;
}

hr{
    border-top:1px solid #539534;
    max-width: 50%;
    margin-left:auto;
    margin-right: auto;
}

h1.header-post-title-class {
    font-size: 34px;
}
.header-post-title-container {
    background: white;
    margin-bottom: 50px;
    margin-left: -15px;
    margin-right: -15px;
}

p#breadcrumbs * {
    color: black !important;
}

p#breadcrumbs {
    font-size: 16px;
}
.gallery-columns-1 .gallery-item {
    padding: 0px;
    margin-bottom: 30px;
}

figure.gallery-item a {
    display: block;
    overflow: hidden;
    position: relative;
}
figure.gallery-item img {
    transition: all 0.3s;
}

figure.gallery-item a:after {
    content: "\f00e";
    font-family: 'sow-fontawesome';
    position:absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    width: 100%;
    border-radius:20px;
    color: #000000;
    font-size: 36px;
    font-weight: 800;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.56);

    transition: all 0.3s;
}
figure.gallery-item:hover a:after {
    opacity:1;
    transform: translate(-50%, -50%) scale(1);
}
figure.gallery-item:hover img{
    transform: scale(1.1);
    filter: grayscale(90%) blur(2px);
}
input[type="text"], input[type="email"], input[type="password"], textarea {
    border-radius: 5px;
    padding: 12px 25px;
}
.google-map iframe {
    border-radius: 5px;
}
@media screen and (min-width: 960px) {
    .entry-content > div > div > div:nth-child(2) {
        margin-top: -120px;
    }
}
body:not(.home) section#featured-slider .slides {
    min-height: 350px !important;
}
@media screen and (min-width: 768px) and (max-width: 1224px) {
    section#featured-slider {
        flex: 2;
    }
    #controllers {
        width: 50%;
    }
    .boxy_glowna > div {
        margin: 30px 0 0 0;
    }  

}


@media screen and (max-width: 768px) {
    .boxy_glowna > div {
        margin: 30px 0 0 0;
    }   
    .sekcja_z_tlem {
        padding-top:1px;
    }

    .main-small-navigation-right .menu-main-menu-container {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.85);
        z-index: 999999;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .main-small-navigation-right li {
        background: transparent !important;
        font-size: 22px;
    }

    .main-small-navigation-right a {
        color: white !important;
        padding: 20px 15px;
    }

    .site-header .menu-toggle {
        position: absolute;
        right: 0;
        z-index: 9999999;
        top: 15px;
        font-size: 0px;
        text-indent: -999px !important;
        padding: 10px 10px;
        border: 2px solid black !important;
        border-radius: 5px;
        background: transparent !important;
    }

    ul#menu-main-menu {
        display: none;
    }

    div#header-text-nav-wrap {
        position: relative;
    }

    .site-header .menu-toggle:before {
        content: "";
        display: block;
        border-top: 2px solid black;
        border-bottom: 2px solid black;
        height: 5px;
        width: 22px;
        margin:0px;
    }
    .site-header .menu-toggle:after {
        content: "";
        display: block;
        border-top: 2px solid black;
        border-bottom:0px;
        width: 22px;
        margin-top: -26px;
    }

    .main-small-navigation-right .menu-main-menu-container > ul {
        display: block !important;
    }

    .main-small-navigation-right h3.menu-toggle,
    .main-small-navigation-right h3.menu-toggle:after,
    .main-small-navigation-right h3.menu-toggle:before {
        border-color: white !important;
    }
 
    nav#site-navigation {
        margin: 0px;
    }
    
    #site-navigation.main-small-navigation-right ul li.current-menu-item > a {
        color: white !important;
        border-bottom: 1px solid;
    }
		#featured-slider { display: none;}
}

@media screen and (max-width: 421px) {
    .sekcja_z_tlem {
        padding:1px 0px 25px 0px !important;
        text-align: center;
    }
    #page { width: 100%; }
    div#header-left-section {
        margin-right: 45px !important;
    }
}
div#cookies-message-container {
    position: fixed;
    bottom: 0px;
    right: 15px;
}

div#cookies-message {
    position: relative !important;
    max-width: 300px;
    padding: 25px !important;
    color: black;
    text-align: left !important;
    border: 0px !important;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.64);
}

div#cookies-message a {
    display: block;
    margin: 15px 0 0px 0 !important;
    text-align: center;
    padding: 9px 30px;
    font-weight: bold;
}

#site-navigation ul li a {
	text-transform: uppercase;
}

#header-logo-image img {
    margin-bottom: 0px;
    margin-top: 20px;
}

#header-text-nav-container {
	background: #539534;
}

h1 {
	color: #539534;
}

.dark * {
	color: #000 !important;
}

.contact_section {
    background: #539534 !important;
}

@media screen and (min-width: 960px)
  {
.entry-content > div > div > div:nth-child(2) {
    margin-top: 0;
}
}

body:not(.home) div#main * {
    color: black;
  font-weight: 700;
}

body:not(.home) div#main h1, body:not(.home) div#main h2, body:not(.home) div#main h3, body:not(.home) div#main strong {
    color: #539534;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
}

input[type="submit"] {
	background: #539534 !important;
  color: #fff !important;
}

.page-id-8 div#main {
    padding: 0px 15px 0px 15px;
}

p {
	font-weight: 400;
}
#wpcf7-f5-p8-o1 > form > p:nth-child(6) > span{ float: left; height: 1px; }