/*
Theme Name: Jarzyna Ogrodnictwo
Theme URI: http://www.ogrodnictwo-jarzyna.pl/
Description: Jarzyna WordPress Theme
Version: 1.0
Author: Icon Brand
Author URI: https://iconbrand.pl
*/

body {
    font-family: 'Josefin Sans', sans-serif;
}

header {
    position: relative;
}

.navbar-brand img {
    height: 100px;
}

.container-fluid {
    padding: 0px;
}

.navbar-nav {
    margin-right: 25px;
}

.navi {
    position: relative;
}

h3 {
    font-size: 30px;
}

a {
    color: #1e9a46;
}

a:hover {
    color: #1e9a46;
}

.section-title {
    padding-top: 50px;
    border-bottom: 1px solid #aaa;
    color: #aaa;
    padding-bottom: 20px;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-toggler {
    border-color: #1e9a46;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#1e9a46' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.top-bar{
    background-color: #1e9a46;
}

.top-bar .container{ 
    padding-left: 0px;
    padding-right: 0px;
}

.top-bar p{
    padding: 7px 10px 7px 0px;
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.3px;
    margin-bottom: 0px;
    display: inline-block;
}

.top-bar img{
    height: 14px;
    width: 23px;
    object-fit: cover;
    margin: 0px 1px;
}
.top-bar i{
    padding: 0px 9px;
    color: #fff;
    font-size: 4px;
    vertical-align: middle;
}

button:focus {
    outline: none;
}

.carousel {
    width: 95%;
    margin: 0 auto;
}

ul.navbar-nav li a {
    color: #000;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition-duration: 0.3s;
}

ul.navbar-nav li a:hover {
    color: #1e9a46;
    border-bottom: 2px solid #1e9a46;
}

.navbar-collapse {
    position: relative;
}

ul.social {
    margin-right: 0px;
}

ul.social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 0px;
    color: #3b5998 !important;
    background-position: center center;
    margin-left: 10px;
    transition-duration: 0.3s;
}

ul.social a .fa {
    font-size: 35px;
    vertical-align: middle;
    line-height: 38px;
    text-align: center;
    width: 100%;
}

ul.social li a:hover{
    border-bottom: 2px solid #fff;
}

.language-box {
    position: absolute;
    bottom: -100px;
    right: 0;
    z-index: 9999;
    height: auto;
    min-width: 90px;
    background-color: #fff;
    margin-right: 15px;
    display: none;
}

.language-box ul {
    padding: 0px;
    margin: 0px;
    list-style: none;
    text-align: center;
}

.language-box ul li a {
    display: block;
    line-height: 30px;
    color: #000;
    text-decoration: none;
}

.language-box ul li a:hover {
    background-color: #1e9a46;
    color: #fff;
}

.contact-box {
    position: absolute;
    bottom: -117px;
    right: 0;
    z-index: 9999;
    height: auto;
    min-width: 140px;
    background-color: #fff;
    margin-right: 15px;
    padding: 10px;
    display: none;
}

.contact-box p {
    font-size: 12px;
    margin-bottom: 0px;
}

.carousel-item {
    height: 60vh;
    min-height: 300px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.carousel-caption {
    bottom: 60px;
}
.text-over-image {
    position: absolute;
    text-align: center;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
}

.text-over-image h1 {
    color: #fff;
    font-size: 55px;
    background-color: rgba(30, 154, 70, 0.78);
    line-height: 90px;
    padding: 10px 40px;
    min-width: 900px;
}

.hero-image {
    width: 95%;
    height: auto;
    margin: 0 auto;
}

.hero-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.page-title {
    position: relative;
    padding-top: 50px;
    padding-bottom: 30px;
}

.page-title h1 {
    color: #1e9a46;
    text-transform: uppercase;
    border-bottom: 1px solid #aaa;
    padding-bottom: 20px;
    letter-spacing: 2px;
}

.btn {
    background-color: #1e9a46;
    color: #fff;
}

.btn-success {
    color: #1e9a46;
    background-color: #fff;
    border-color: transparent;
    padding: 8px 30px;
    margin-top: 20px;
}

.btn-success:hover {
    color: #fff;
    background-color: #1e9a46;
}

.btn-primary:hover {
    color: #fff;
    background-color: #1e9a46;
}

.clear{
    clear: both;
}

.services {
    position: relative;
    clear: both;
    padding-top: 15px;
}

.grid {
    position: relative;
    margin: 0 auto;
    padding: 1em 0 4em;
    list-style: none;
    text-align: center;
}

.grid figure {
    position: relative;
    float: left;
    overflow: hidden;
    margin: 10px 1%;
    max-height: 300px;
    width: 48%;
    background: #3085a3;
    text-align: center;
    cursor: pointer;
}

.grid figure img {
    position: relative;
    display: block;
    min-height: 100%;
    max-width: 100%;
    opacity: 0.8;
}

.grid figure figcaption {
    padding: 2em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
    pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption>a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.grid figure figcaption>a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}

.grid figure h2 {
    word-spacing: -0.15em;
    font-weight: 300;
}

.grid figure h2 span {
    font-weight: 800;
}

.grid figure h2,
.grid figure p {
    margin: 0;
}

.grid figure p {
    letter-spacing: 1px;
    font-size: 68.5%;
}

figure.effect-oscar {
    background-color: #1e9a46;
}

figure.effect-oscar img {
    opacity: 0.9;
    -webkit-transition: opacity 0.35s;
    transition: opacity 0.35s;
}

figure.effect-oscar figcaption {
    padding: 3em;
    background-color: rgba(15, 84, 37, 0.38);
    -webkit-transition: background-color 0.35s;
    transition: background-color 0.35s;
}

figure.effect-oscar figcaption::before {
    position: absolute;
    top: 30px;
    right: 30px;
    bottom: 30px;
    left: 30px;
    border: 1px solid #fff;
    content: '';
}

figure.effect-oscar h2 {
    margin: 20% 0 10px 0;
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
}

figure.effect-oscar figcaption::before,
figure.effect-oscar p {
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: scale(0);
    transform: scale(0);
}

figure.effect-oscar:hover h2 {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

figure.effect-oscar:hover figcaption::before,
figure.effect-oscar:hover p {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

figure.effect-oscar:hover figcaption {
    background-color: rgba(58, 52, 42, 0);
}

figure.effect-oscar:hover img {
    opacity: 0.4;
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    border-radius: 0px !important;
}

.card {
    border-radius: 0px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.news {
    padding-bottom: 40px;
}

footer {
    background-color: #f5f5f5;
}

.footerleft {
    margin-top: 50px;
    padding: 0 36px;
}

.logofooter {
    margin-bottom: 10px;
    font-size: 25px;
    color: #fff;
    font-weight: 700;
}

.footerleft p {
    color: #8e8e8e;
    font-size: 13px !important;
    margin-bottom: 15px;
}

footer p{
    margin: 0;
    padding: 80px 15px 80px 15px;
}

footer i{
    font-size: 35px !important;
    margin-right: 15px;
    color: #1e9a46 !important;
    vertical-align: bottom;
}

.footerleft p i {
    width: 20px;
    color: #999;
}

.paddingtop-bottom {
    margin-top: 50px;
}

.footer-ul {
    list-style-type: none;
    padding-left: 0px;
    margin-left: 2px;
}

.footer-ul li {
    line-height: 29px;
    font-size: 12px;
}

.footer-ul li a {
    color: #8e8e8e;
    transition: color 0.2s linear 0s, background 0.2s linear 0s;
}

.footer-ul i {
    margin-right: 10px;
}

.footer-ul li a:hover {
    transition: color 0.2s linear 0s, background 0.2s linear 0s;
    color: #ff670f;
}

.icon-ul {
    list-style-type: none !important;
    margin: 0px;
    padding: 0px;
}

.icon-ul li {
    line-height: 75px;
    width: 100%;
    float: left;
}

.icon {
    float: left;
    margin-right: 5px;
}

.copyright {
    min-height: 40px;
    background-color: #cacaca;
}

.copyright p,
.copyright a {
    text-align: left;
    color: #404040;
    padding: 30px 0;
    margin-bottom: 0px;
    font-size: 13px;
}

.heading7 {
    font-size: 21px;
    font-weight: 600;
    color: #1e9a46;
    margin-bottom: 22px;
    text-transform: uppercase;
}

.post p {
    font-size: 13px;
    color: #8e8e8e;
    line-height: 20px;
}

.post p span {
    display: block;
    color: #1e9a46;
    padding-top: 7px;
}

.bottom_ul {
    list-style-type: none;
    float: right;
    margin-bottom: 0px;
}

.bottom_ul li {
    float: left;
    line-height: 40px;
}

.bottom_ul li:after {
    content: "/";
    color: #FFF;
    margin-right: 8px;
    margin-left: 8px;
}

.bottom_ul li a {
    color: #FFF;
    font-size: 12px;
}

.image-carousel img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.image-carousel .col-md-4 {
    padding: 0px;
}

.slick-next {
    right: 15px;
}

.slick-prev {
    left: 15px;
    z-index: 999;
}

.slick-prev:before,
.slick-next:before {
    font-size: 25px;
}

.slick-dots li.slick-active button:before {
    color: #fff;
}

.slick-dots li button:before {
    color: #fff;
    font-size: 9px;
}

.slick-dots {
    bottom: 10px;
}

.slick-dotted.slick-slider {
    margin-bottom: 0px;
}

tr:nth-child(odd) {
    background: #efefef;
}

td h4 {
    margin: 0px;
}

td {
    padding: 10px 0px 10px 10px;
}

input,
optgroup,
select,
textarea,
label {
    min-width: 100%;
}

.posts img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 0px !important;
}

.post-content img {
    max-width: 100%;
    height: auto;
}

.news img{
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 0px !important;    
}

.image-col {
    width: 33.33333%;
    float: left;
    margin: 0px;
    padding: 5px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.image-col img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .carousel-control {
        padding-top: 8%;
        width: 5%;
    }
}

@media (min-width: 992px) {
    .carousel-control {
        padding-top: 9%;
        width: 5%;
    }

}

@media (min-width: 1200px) {
    .carousel-control {
        padding-top: 10%;
        width: 5%;
    }
}

@media (max-width: 1200px) {
    .grid figure {
        max-height: 250px;
    }
    .grid figure p {
        font-size: 10px;
    }
    .text-over-image h1 {
        font-size: 35px;
        min-width: 600px;
    }
}

@media (max-width: 992px) {
    ul.social {
        display: none;
    }
    .grid figure {
        max-height: 180px;
    }
    figure.effect-oscar h2 {
        margin: 0px;
        transform: none;
        font-size: 18px;
    }
    .grid figure p {
        font-size: 8px;
    }
    .image-col img {
        height: 180px;
    }

}

@media (max-width: 768px) {
    .text-over-image h1 {
        font-size: 25px;
        min-width: 380px;
        line-height: 60px;
        padding: 5px 20px;
    }
    .grid figure{
        width: 100%;
        max-height: 200px;
    }
    .grid figure p {
        font-size: 12px;
        padding-top: 15px;
    }
    
    footer p {
        padding: 20px 15px 20px 15px;
    }
    footer{
        padding: 20px 0;
    }
}

@media (max-width: 500px) {
    .navbar-brand img{
        height: 60px;
    }
    .text-right{
        text-align: center !important;
    }
    .top-bar p{
        display: inherit;
    }
    .top-bar i{
        display: none;
    }
    .image-col {
        width: 100%;
    }
    
}