/*
Theme Name: SimpleMag Child Theme
Theme URI: http://themesindep.com/
Author: ThemesIndep
Author URI: http://themesindep.com/
Description: Magazine theme for creative things
Template: simplemag
*/

/* Your CSS code goes here
-------------------------------------- */

@import url('//fonts.googleapis.com/css?family=PT+Serif:400,700&subset=cyrillic');
@import url('//fonts.googleapis.com/css?family=PT+Serif:400,700&subset=cyrillic');
h1.entry-title {
    font-family: 'PT Serif', serif !important;
}

.post article.entry-content, .post article.entry-content h1, .post article.entry-content h2, .post article.entry-content h3, .post article.entry-content h4, .post article.entry-content h5, .post article.entry-content h6, .post article.entry-content p {
    font-family: 'PT Serif', serif !important;
}

.entries .post-item .entry-title, .media-post-item .entry-title {
    font-size: 18px !important;
}

@media only screen and (min-width: 751px) {
    .penta-box .column-middle .entry-title a {
        font-size: 1.4em;
    }
}

body {
    letter-spacing: 1px;
    color: #1a1a1a;
}

.sticky-active .main-menu-fixed {
    border: none;
}

.penta-box .written-by, .penta-box .author, .media-post-item .written-by, .media-post-item .author {
    display: none;
}

.read-more-link {
    color: #cf1630;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: transparent;
}

.read-more-link:hover {
    border-bottom-color: #cf1630;
}

.entry-title {
    text-transform: none !important;
}

.header .logo {
    width: 500px;
    max-width: 100%;
}

.tagline {
    text-align: left;
    font-weight: 300 !important;
}

.slider-latest .entries .post-item {
    max-height: initial;
}

.header .inner-cell {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.header .inner-cell .right .location_name {
    display: none;
}

.header .inner-cell .left, .header .inner-cell .right {
    width: 50%;
}

#wpc-weather .hours {
    border-color: #c5c5c5;
}

.wbl_header_date {
    color: #c5c5c5;
}

article .post-item-inner .entry-details {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}

.classic-layout .entry-title a {
    font-size: 1rem !important;
    font-weight: 400 !important;
}

.classic-layout .entry-title a.kt_red {
    color: #df1c1c !important;
}

.classic-layout .entry-title a.kt_bold {
    font-weight: 700 !important;
}

.classic-layout .entry-title a.kt_red_bold {
    font-weight: 700 !important;
    color: #df1c1c !important;
}

.classic-layout .post-item {
    margin-bottom: 10px !important;
}

.wbl_main_sidebar h2 {
    display: inline-block;
    font-size: 1.1rem;
    padding: .2em 1em;
    background-color: #f7f7f7;
    border-radius: 3px;
    margin: .2em 0;
}

.wbl_main_sidebar a img {
    width: 100%;
    height: auto;
}

footer {
    margin-top: 2em;
}

footer .widget-area.widget-area-1 {
    width: 74% !important;
}

footer .widget-area.widget-area-2 {
    width: 23% !important;
}

#masthead {
    /*display: flex;
    align-items: center;*/
}

.kt_logo {
    display: none;
    margin-top: 10px;
    width: 200px;
    /*display: inline-block;*/
    float: left;
    z-index: 999;
    position: relative;
}

.header-default .logo {
    margin-left: 0 !important;
}

.kt_main_news_feed footer.entry-footer {
    margin-top: 0 !important;
}

.kt_main_news_feed .entry-header .entry-meta {
    margin-right: 15px;
    min-width: 42px;
    text-align: right;
}

.kt_main_news_feed .entry-header:not(.page-header) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.kt_main_news_feed .entry-header .entry-title {
    margin-top: 0 !important;
}

.kt_main_news_feed .entry-title a {
    display: block;
}

.kt_main_news_feed .grid-8 {
    padding: 2em 4em;
    border: 1px solid #ddd;
}

.lines-button .lines, .lines::before, .lines::after {
    background-color: #000 !important;
}

.main-menu-container {
    border-top: 5px solid #cf1630 !important;
}

.header .inner-cell .right {
    display: none;
}

.header .inner-cell .left {
    width: 100%;
}

.kt_day {
    display: inline-block;
    opacity: .8;
    font-size: .8em;
    padding: .5em 1em;
    background-color: #cf1630;
    border-radius: 5px;
    color: #fff;
}

.kt_day::after {
    display: table;
    content: "";
    clear: both;
}

article::after {
    display: table;
    content: "";
    clear: both;
}

#content {
    margin-bottom: 0 !important;
}

#branding {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

@media only screen and (min-width: 959px) {
    #masthead {
        margin-bottom: 30px !important;
    }
}

.bop-nav-search input[type="submit"] {
    padding: 0 5px !important
}

.bop-nav-search form {
    margin-top: calc(25px - 0.5em);
}

.bop-nav-search {
    float: right;
}

.single .entry-content {
    font-size: 16px !important;
}

h6 {
    font-size: 16px !important;
    line-height: 2em !important;
}

.single-post.ltr:not(.woocommerce) .entry-content>p:first-of-type:first-letter {
    float: none !important;
    font-size: inherit!important;
    line-height: inherit!important;
    font-weight: inherit !important;
    padding: unset;
    font-family: inherit !important;
    font-style: inherit !important;
}

.kt-socials {
    margin-top: -15px;
    background: #f9f9f9;
    margin-bottom: 15px;
}

.main-menu>ul>li>a>span:after {
    content: "" !important;
}

.title-with-sep {
    background: none !important;
}

.entry-date.published {
    margin-top: 0 !important;
}

.post-item-inner {
    min-height: 3em;
}

.icons {
    text-align: initial;
}

.page-id-112 #load_more_news {
    display: none;
}

.home-section {
    margin-top: 20px;
}

.entries .post-item .entry-title {}

div[id^="wbl-feed-posts-"] h2.entry-title {
    line-height: 1.3em !important;
}
.entry-content blockquote {
    color: #8c919b;
    font-size: 24px;
    border-left: 3px solid #cfcfcf;
}

.widget-posts-entries .widget-post-item {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
}

.widget-posts-entries .widget-post-item:not(:nth-child(1)) .entry-image {
    -webkit-box-flex: 2;
    -ms-flex: 2 1 auto;
    flex: 2 1 auto;
}

.widget-posts-entries .widget-post-item:not(:nth-child(1)) .widget-post-details {
    position: static !important;
    -webkit-box-flex: 1;
    -ms-flex: 1 2 auto;
    flex: 1 2 auto;
}

.icons {
    font-size: 20px !important;
}

.astm-search-menu.is-menu.dropdown {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
}

#searchform {
    background: #fff;
    border: 1px solid #cfcfcf;
    box-shadow: 1px 1px 1px #cfcfcf;
}
.mobile_logo{
    display: block;
}
.mobile_logo img{
    padding: 10px 30px;
}
.content-over-image .entry-header .inner{
    position: absolute;
    left: 0;
    margin: unset!important;
}
.content-over-image .entry-header .inner-cell{
    vertical-align: bottom;
    padding-left: 1em;
    padding-bottom: 1em;
}
.content-over-image-black .entry-frame{
    background-color: rgba(0,0,0,0.5);
}
.base-image img, .single .gallery-carousel, .single .entry-media iframe, .single .entry-media .fluid-width-video-wrapper{
    margin-bottom: 20px;
}
.category-kolonky .entry-media.above-content-media{
    width: 200px;
    float: left;
    margin-right: 30px;
}
.category-kolonky .base-image img{
    margin-bottom: 0;
}
.category-kolonky .author_info p{
    font-size: 12px;
    margin-bottom: 0;
}
.category-kolonky .author_info h2{
    font-size: 14px!important;
    margin-bottom: 1em;
}
.category-kolonky .author_info{
    padding: .5em;
    background-color: #eee;
}
.wbl_columns{
    margin-bottom: 30px;
}
.wbl_columns .entry-image a{
    position: relative;
    display: inline-block;
    width: 75px;
    height: 75px;
    /* border-radius: 50%; */
    overflow: hidden;
    float: left;
    margin-right: 20px;
}

.wbl_columns .entry-image a img{
    position: absolute;
    width: 120px;
    left: calc(50% - 60px);
    max-width: unset!important;
}
@media (max-width:667px) {
    .header .logo {
        max-width: 85% !important;
        width: unset;
    }
    .single .entry-content {
        font-size: 20px !important;
        line-height: 1.5em !important;
    }
    .header .inner-cell {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .header .inner-cell .left {
        width: 100%;
    }
    .header .inner-cell .right {
        display: none;
    }
    .wbl_header_date {
        display: block;
    }
    .header .tagline {
        text-align: center;
    }
    .kt_main_news_feed .grid-8 {
        padding: .5em .5em;
    }
    .kt-socials {
        display: none;
    }
}

@media only screen and (max-width: 960px) {
    .wbl_tagline{
        display: none;
    }
    .mobile-menu-open .lines {
        background-color: #fff !important;
    }
    .is-menu-wrapper {
        z-index: 999999 !important;
        top: 10px;
        right: 10px;
    }
    .astm-search-menu.is-menu.dropdown {
        right: 0;
        top: unset;
        transform: translateY(0)!important;
        position: static!important;
    }
	.main-menu-mobile .astm-search-menu.is-menu.dropdown {
		display: none!important;
	}
	.admin-bar .is-menu-wrapper{
		top:61px;
	}
    .mobile_logo{
        position: fixed;
        z-index: 99999;
        width: 100%;
        background-color: #fff;
    }
    .astm-search-menu-wrapper.is-menu-wrapper{
        position: fixed;
    }
}
@media only screen and (max-width: 750px) {
    .content-over-image .entry-header .inner{
        position: static;
    }
    .category-kolonky .entry-media.above-content-media{
        width: 100%;
    }
    .category-kolonky .author_info p{
        font-size: 14px;
    }

    .category-kolonky .author_info h2{
        font-size: 18px!important;
    }
}
*[class^="adkolom-"]{
    border: 1px solid #cfcfcf;
    padding: 10px;
}