@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
*{
    font-family: 'Roboto', sans-serif;
}

html,
body {
    height: 100%;
    background-color: #fff;
    margin-top:0 !important;
}
header{

    background-color:rgba(0,0,0,1);
}
header > nav{
    background-position: center center;
    background-size: cover;
}
.navbar-dark .navbar-nav .nav-link{
    color:#fff;
}

.searchform{
    height:30px;
    width:250px;
    margin-top:5px;
}
.searchform .search-field{
    border:1px solid #d65737;
    color:#000;
    -webkit-border-radius: 5px 0 0 5px;
    -moz-border-radius: 5px 0 0 5px;
    border-radius: 5px 0 0 5px;
    padding-left:10px;
    height:30px;
    line-height:30px;
    float:left;
    width:180px;
}
.searchform .search-submit{
    color:#fff;
    background-color:#d65737;
    border:1px solid #d65737;
    border-radius: 0 5px 5px 0;
    height:30px;
    line-height:30px;
    float:left;
}

#search h1{
    color:#efefef;
    font-size:26px;
    margin: 40px 0;
    padding:6px 0 6px 5px;
    border-left:5px solid #d65737;
}

#search .name{
    color:#d65737;
    font-size:18px;
}

#slider-home-page{
    width:100%;
    height: 100vh;
    background:#adadad;
    padding:0;
    display:block;
    margin-bottom:50px;
    background-position: center center;
    background-size: cover;
}
#slider-przepis{
    width:100%;
    height: 50vh;
    background:#adadad;
    padding:0;
    display:block;
    margin-bottom:50px;
    background-position: center center;
    background-size: cover;
    position:relative;
    border-radius: 8px;
}
#slider-przepis .title{
    background-color:rgba(0,0,0,.5);
    color:#fff;
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 25px 15px;
    width: 100%;
    font-weight: 800;
    text-transform: uppercase;
}

.przepis-cover{
    margin-top:30px;
    margin-bottom:30px;
}

.objectBox{
    cursor:pointer;
    margin-top:40px;
    margin-bottom:20px;
    overflow: hidden;
}
.objectBox .tool{
    margin:0;
    text-decoration: none;
    background-color:rgba(0,0,0,.1);
    padding:15px 0 15px 0;
    border-radius:8px;
}
.objectBox img{
    border-radius:8px;
}
.objectBox .tool > div{
    text-align: center;
    color:#000;
    text-decoration: none;
}
.objectBox .title h2{
    padding:10px;
    font-size:20px;
    width:calc(100% - 30px) !important;
    max-width:calc(100% - 30px) !important;
    text-align: center;
    font-weight: bold;
}

/*
.objectBox:hover{
    -moz-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -o-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    z-index:2000;
    transition:all 0.3s linear 0s;
}
*/

#przepis h1 {
    margin-bottom: 30px;
    overflow: hidden;
}
#przepis h1:after {
    background-color: #d65737;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 100%;
}
#przepis h1:after {
    left: 0.5em;
    margin-right: -50%;
}


#przepis h2{
    font-size:1.6rem;
    border-left:5px solid #d65737;
    padding-left:10px;
    margin-bottom:20px;
}

#przepis .opis p{
    text-align: justify;
    line-height: 2rem;
}

#przepis .element{
    padding:0;
    margin:0 0 20px 10px;
    list-style: none;
}
#przepis .element li{
    font-size: 15px;
}
#przepis .element li .skladnik{
    padding:0;
    margin:0 0 0 10px;
    list-style: none;
}
#przepis .element li .skladnik li{
    font-size:1rem;
    line-height: 2rem;
}

.stronicowanie{
    margin-top:40px;
}


.endBox{
    -webkit-box-shadow: 0px 15px 23px -18px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 15px 23px -18px rgba(0,0,0,0.75);
    box-shadow: 0px 15px 23px -18px rgba(0,0,0,0.75);
    border-bottom:2px solid #d65737;
}


footer{
    background-color:#3c3c3c;
    padding:20px 0;
    margin-top:10px;
}
footer *{
    color:#fff;
}

/*wordpress admin bottom*/
#wpadminbar{
    top:auto;
    bottom:0;
}
@media screen and (max-width:600px) {
    #wpadminbar {
        position: fixed;
    }
}

@media (max-width: 768px) {
    #slider-home-page {
        height: 50vh;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    #slider-home-page {
        height: 75vh;
    }

}

