/*
Theme Name: Magicreche Child
Description: Child Creche WordPress Theme
Author: Coffeecream
Theme URI: http://coffeecreamthemes.com/
Author URI: http://themeforest.net/user/Coffeecream
Template: magicreche
Version: 1.0
License: GNU General Public License
*/

body > header {
    margin-bottom: 50px;
    background:  url(/wp-content/uploads/2019/10/main-bg.jpg) center center no-repeat;
    background-size: cover;;
    color: #fff;
    text-align: center;
    overflow: hidden;
    position: relative;
}
body > header:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.6;
    left: 0;
    z-index: 0;
}
body > header h1 {
    position: relative;
    z-index: 9;
}

.nav>li>a {
    padding: 0px 10px !important;
}
.nav>li>a i {
    color: #1e73be;
}
.nav>li>a:hover i {
    color: #f26cb7;
}
.dropdown-menu>li>a {
    color: #222;
    text-transform: uppercase;
    line-height: 28px;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow: hidden;
    max-width: 450px;
}
.dropdown-menu>li>a:hover {
    color: #1e73be; 
}

hgroup.page-title {
    margin-bottom: 30px;
}

#start .stick-to-bottom a:hover {
    text-decoration: none;
}
#start .stick-to-bottom .teaser img {
    transition: .3s;
    width: 70px;
}
#start .stick-to-bottom a:hover .teaser img {
    transform: scale(1.1);
}
#start .stick-to-bottom .teaser .icon {
    border: 2px solid #fff;
    transition: .3s;
}
#start .stick-to-bottom [class^='col-']:first-child a:hover .teaser .icon {
    border: 2px solid #f26cb7;
}
#start .stick-to-bottom [class^='col-']:nth-child(2) a:hover .teaser .icon {
    border: 2px solid #0691b6;
}
#start .stick-to-bottom [class^='col-']:last-child a:hover .teaser .icon {
    border: 2px solid #0460ac;
}
#start .stick-to-bottom .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: stretch;
}
#start .stick-to-bottom .row .col-sm-4 {
    align-self: stretch;
}
#start .stick-to-bottom .row .teaser {
    height: 95%;
}
#start .stick-to-bottom .row .teaser .box {
    height: 100%;
}

#home-zespol .post-more {
    padding-top: 20px;
}
#home-zespol .post-thumb img {
    max-height: 200px;
    width: auto;
}


#skontaktuj-sie-z-nami {
    background: #efefef;
}
#skontaktuj-sie-z-nami .wpcf7 {
    border-bottom: 1px solid #a1a1a1;
}
#skontaktuj-sie-z-nami .wpcf7 .form-control {
    border: 1px solid #a1a1a1;
    background: #efefef; 
    -webkit-box-shadow: none;
    box-shadow: none;
}
#skontaktuj-sie-z-nami p,
#skontaktuj-sie-z-nami p a {
    line-height: 26px;
    color: #333;
}
#skontaktuj-sie-z-nami ul {
    list-style: none;
    padding: 1em 0 0 0;
    margin-bottom: 0;
}
#skontaktuj-sie-z-nami ul li {
    display: inline-block;
    padding: 0 10px;
}

/* .page-id-2902 .post {
    border-top: 1px solid #ddd;
    margin-bottom: 30px;
    padding-top: 30px;
    padding-bottom: 0;
    border-bottom: 0;
} */

.page-id-2902 .row:first-child .post {
    border: 0;
}

.page-id-2902 .post-thumb {
    margin-top: 0;
    margin-bottom: 30px;
    /* height: 350px;
    max-height: 350px;
    width: auto;
    background-size: cover; */
}

.single .entry-content {
    margin-top: 30px;
}
aside h5 {
    font-weight: bold;
}

#zespol .post-grid.row {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}
#zespol .post-grid .staff-item {
    margin-bottom: 50px;
}

/*podcast*/
.page-id-3150 article.post {
    border-bottom: 0px;
}
.page-id-3150 article .parent {
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
    padding-bottom: 30px;
}
.page-id-3150 article .child {
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
    padding-bottom: 30px;   
}
.blog-item.podcast {
    text-align: center;
}
.page-id-3150 article .post-more {
    margin: 15px 0;
}
.page-id-3150 article .listen-podcast .apple {
    height: 68px;
    width: auto;
    margin-right: 10px;
}
.page-id-3150 article .listen-podcast .spotify {
    height: 54px;
    width: auto;
}
.page-id-3150 article .listen-podcast:hover {
    text-decoration: none;
}

.img-responsive {
    margin: auto;
}

.home .staff-item img {
    max-height: 200px;
    width: auto;
    margin-bottom: 30px;
}
.page-id-2909 .staff-item img,
.page-id-3431 .staff-item img {
    height: auto;
    width: 200px;
    margin-bottom: 30px;
}
.page-id-2909 .post-grid.staff,
.page-id-3431 .post-grid.staff {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
@media (min-width: 768px) {
    .page-id-2909 .post-grid.staff,
    .page-id-3431 .post-grid.staff {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .page-id-2909 .staff-item,
    .page-id-3431 .staff-item {
        width: 50%;
    }
}
@media (min-width: 992px) {
    .page-id-2909 .staff-item,
    .page-id-3431 .staff-item {
        width: 25%;
    }
}

.ssba {
    margin: 20px 0;
    color: #888;

}
.zespol-template-default .ssba,
.staff-template-default .ssba,
.ambassadors-template-default .ssba,
.rada-programowa-template-default .ssba {
    display: none !important;
}
.zespol-template-default article,
.staff-template-default article,
.ambassadors-template-default article,
.rada-programowa-template-default article {
    margin-bottom: 50px;
}
.zespol-template-default .post-thumb,
.staff-template-default .post-thumb,
.ambassadors-template-default .post-thumb,
.rada-programowa-template-default .post-thumb {
    margin-top: 0px;
}
.zespol-template-default .post-thumb img,
.staff-template-default .post-thumb img,
.ambassadors-template-default .post-thumb img,
.rada-programowa-template-default .post-thumb img {
    width: 450px;
}
.zespol-template-default h4,
.staff-template-default h4,
.ambassadors-template-default h4 ,
.rada-programowa-template-default h4 {
    margin-bottom: 10px;
    color: #1e73be;
}
.zespol-template-default .social-media,
.staff-template-default .social-media,
.ambassadors-template-default .social-media,
.rada-programowa-template-default .social-media {
    margin-bottom: 35px;
}
@media (max-width: 991px) {
    .staff-template-default article,
    .zespol-template-default article,
    .ambassadors-template-default article,
    .rada-programowa-template-default article {
        text-align: center;
    }
    .zespol-template-default .post-thumb,
    .staff-template-default .post-thumb,
    .ambassadors-template-default .post-thumb,
    .rada-programowa-template-default .post-thumb {
        margin-bottom: 50px;
    }
}

section#zaangazuj-sie-i-dzialaj-z-nami {
    background-size: cover;
    padding: 40px 0;
}
section#zaangazuj-sie-i-dzialaj-z-nami h5 {
    color: #f1f1f1;
}
section#zaangazuj-sie-i-dzialaj-z-nami > .container {
    position: relative;
    z-index: 10;
    color: #f1f1f1;
}

.category-aktualnosci .container .col-md-12 {
    display: flex;
    flex-wrap: wrap;
}

.home section#aktualnosci .entry-title {
    min-height: 80px;
}
.home section#aktualnosci .post-thumb {
    margin: 20px 0;
}

.anchor-player {
    margin-top: 35px;
}

.mb-5 {
    margin-bottom: 5rem;
}

.attachment-staff {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;
}

.d-flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.entry-title {
    margin-top: 1em;
    margin-bottom: 1em;
}

.entry-title * {
    color: #222;
}

.posts-archives .entry-meta {
    margin-top: 1em;
}

.posts-archives .post-thumb {
    margin-top: 0;
}

.loadmore_wrapper {
    text-align: center;
}