/* --------------------------------
 Theme Name: kp child instytut
 Theme URI: http://krytykapolityczna.pl
 Description: KrytykaPolityczna.pl
 Author: Slawek.Blich@krytykapolityczna.pl
 Author URI: http://blichstories.com
 Template:     kp1116
 Text Domain:  kp1116-ch_instytut
-------------------------------- */

/* -------------------------------- Main styles -------------------------------- */

* {
    box-sizing: border-box;
}
html,
body {
    font-family: 'Merriweather', serif;
    background: #101116 url('img/instytut naglowek.jpg');
    background-repeat: no-repeat;
    background-position: top center;
}
#wrapper {
    background: none;
}
#site-header.header-style-1 {
    min-height: 260px;
    z-index: 0;
    background: none;
}
#site-header.header-style-1 #site-logo {
    margin-left: -15px;
}
#kp-logo {
    text-align: right;
    font-size: 0;
    float: right;
    width: 360px;
    margin-right: -15px;
}
#site-header.header-style-1 #header-wrapper #header-container {
    padding-top: 0;
}
#navigation-wrapper.header-style-1 {
    height: 99px;
    background: none;
    position: relative;
    z-index: 120;
}
#navigation-wrapper.header-style-1 #navigation-container,
#navigation-wrapper.header-style-1 #navigation-container #navigation-inner {
    background: none;
    height: 99px;
}
#navigation-wrapper.header-style-1 #navigation-container #navigation-inner .navigation-holder {
    padding: 0;
}
#site-navigation .menu-main {
    display: block;
    width: 100%;
    height: 43px;
    margin-bottom: 4px;
}
#site-navigation .menu-main > ul {
    display: inline-block;
    background: #fff;
    padding-right: 50px;
}
#site-navigation .menu-main > ul > li > a {
    color: #000;
    line-height: 43px;
    font-size: 29px;
    font-family: 'Changa', sans-serif;
    font-weight: 700;
    text-transform: none;
    padding: 0 25px;
    position: relative;
}
#site-navigation .menu-main > ul > li > a:hover {
    color: #9a1915;
}
#site-navigation .menu-main > ul > li:not(:last-child) > a:after {
    content: ' ';
    display: block;
    width: 3px;
    height: 60%;
    position: absolute;
    top: 20%;
    right: 0;
    background: #000;
}
#site-navigation .menu-secondary {
    display: block;
    width: 100%;
    padding-right: 7px;
}
#site-navigation .menu-secondary > ul {
    display: block;
    width: 100%;
    height: 43px;
    background: #fff;
}
#site-navigation .menu-secondary ul li a {
    text-transform: none;
    color: #101116;
    line-height: 43px;
    font-size: 18px;
    padding: 0 20px 0 22px;
    font-family: 'Changa', sans-serif;
    font-weight: 700;
}
#site-navigation .menu-secondary ul li a:hover {
    color: #9a1915;
}
#site-navigation .menu-secondary ul li:not(:last-child) a:after {
    content: ' ';
    display: block;
    width: 2px;
    height: 40%;
    position: absolute;
    top: 30%;
    right: 0;
    background: #101116;
}
#main {
    padding-top: 0;
    background: none;
    z-index: 100;
    position: relative;
}
#content-holder {
    background: #fff;
}
#content-column {
    background: #fff;
    min-height: 140px;
    padding: 30px 15px;
}
#content-column #news-grid h2 {
    font-family: 'Merriweather', serif;
    font-style: italic;
    font-size: 22px;
}
#content-column #news-grid .vc_gitem-post-data {
    margin: 0;
}
#content-column #news-grid .vc_btn3.vc_btn3-size-md {
    padding: 0;
    color: #333;
    background: none;
    border: none;
    font-style: italic;
}
#content-column #news-grid .vc_general.vc_btn3:focus,
#content-column #news-grid .vc_general.vc_btn3:hover {
    border: none;
}
#sidebar-column {
    margin-top: -99px;
    background: #fff;
    padding-top: 15px;
    padding-bottom: 65px;
    z-index: 100;
}
#sidebar {
    width: 100%;
}
#sidebar h2 {
    margin-bottom: 15px;
}
#sidebar-column .contact-details {
    font-weight: 700;
    font-family: 'Changa', sans-serif;
}

.single-post #main {
    padding: 0 15px;
}
.single-post #main > #container {
    padding: 30px;
    background: #fff;
}

#site-footer {
    background: #000;
    font-family: 'Changa', sans-serif;
}
.footer-sidebar {
    background: none;
    padding: 50px 0 0;
}
.footer-logo {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}
.footer-logo img {
    max-width: 100%;
    height: auto;
}
.footer-sidebar .widget {
    margin-bottom: 30px;
}
#nav_menu-5 {
    background: linear-gradient(#252525, #252525);
    background-position: center top;
    background-size: 120px 1px;
    background-repeat: no-repeat;
}
.footer-sidebar .widget ul {
    list-style: none;
    text-align: center;
    text-transform: uppercase;
    padding: 30px 0;
    background: linear-gradient(#252525, #252525);
    background-position: center bottom;
    background-size: 120px 1px;
    background-repeat: no-repeat;
    position: relative;
}
.footer-sidebar .widget ul:before {
    content: ' ';
    display: block;
    width: 8px;
    height: 7px;
    border-radius: 50%;
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    margin: auto;
    background: #e0e3e3;
}
.footer-sidebar .widget ul:after {
    content: ' ';
    display: block;
    width: 8px;
    height: 7px;
    border-radius: 50%;
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    margin: auto;
    background: #e0e3e3;
}
.footer-sidebar .widget ul > li {
    display: inline-block;
    padding: 0 15px;
}
.footer-sidebar .widget ul > li > a {
    font-weight: 700;
    color: #fff;
    font-size: 13px;
}
.site-info {
    background: none;
    text-align: center;
    border: none;
    color: #fff;
    padding: 20px 0;
}
.site-info .widget ul {
    padding: 0 0 10px;
}
.site-info .widget ul > li {
    padding: 0 10px;
}
.site-info .widget ul > li > a {
    text-transform: uppercase;
    color: #fff;
}
.site-info .widget .textwidget {
    font-size: 15px;
    color: #fff;
}
.site-info .widget .textwidget strong {
    font-weight: 800;
}
.single-post #main {
    padding: 0 30px 60px 30px;
}
.single-post #main > #container {
    padding: 0;
    background: none;
}
#content-holder {
    padding: 30px 15px 30px 15px;
}
body.home #content-holder {
    padding: 0 15px;
}
@media only screen and (max-width: 979px) {
    body.home #content-holder {
        padding-top: 15px;
    }
}
.menu .menu-item {
    position: relative;
}
.menu .menu-item .sub-menu {
    position: absolute;
    min-width: 100%;
    z-index: 10000;
}
#site-navigation ul li ul {
    background: rgba(0, 0, 0, 0.1);
    padding: 0;
    top: 100%;
}
#site-navigation ul li ul > li {
    margin-top: 2px;
    background: #fff;
}
#site-navigation ul li ul li a {
    width: 100%;
    font-weight: 600;
    color: #111 !important;
    font-size: 16px !important;
}
#site-navigation ul li ul li a:hover {
    color: #9a1915 !important;
}
.entry-meta {
    width: 100%;
    float: none;
    margin: 0;
}
.entry-meta .meta-author {
    font-size: 16px;
    text-transform: none;
}
.text-red {
    color: #9a1915;
}
.single-post .post-preview {
    position: relative;
    margin-bottom: 0;
}
.single-post .post-preview .post-datetime {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-block;
    line-height: 40px;
    padding: 0 15px;
    background: rgba(255, 255, 255, 0.75);
}
.single-post h1.entry-title {
    text-transform: uppercase;
}
.single-post h1.entry-title-news {
    font-size: 24px;
    padding: 10px 0;
    margin-bottom: 0;
    font-style: italic;
}
.single-post .entry-autorzy {
    font-size: 18px;
    font-style: italic;
}
.single-post .entry-wykladowca {
    margin-bottom: 0;
}
.post-meta-date {
    display: inline-block;
    margin-right: 10px;
}
.post-meta-time:not(:empty)::before {
    content: '|';
    margin-right: 10px;
}
.post-meta-time {
    position: relative;
    display: inline-block;
}
.wpb_text_column .wpb_wrapper p {
    padding-bottom: 15px;
}
.wpb-js-composer .vc_tta.vc_general .vc_tta-tab {
    margin-bottom: 5px !important;
}
.wpb-js-composer .vc_tta.vc_general .vc_tta-tab > a {
    color: #000 !important;
    display: inline !important;
    background: none!important;
    padding: 0 !important;
    font-weight: 500;
    font-family: 'Changa', sans-serif !important;
    font-size: 17px;
}
.wpb-js-composer .vc_tta.vc_general .vc_tta-tab.vc_active > a,
.wpb-js-composer .vc_tta.vc_general .vc_tta-tab > a:hover {
    color: #9a1915 !important;
}
.widget h3.widget-title {
    padding: 0;
    font-size: 24px;
}
.searchform .search-input {
    border-color: #9a1915;
    background: #fafafa;
}

@media only screen and (max-width: 991px) {
    #sidebar-column {
        margin: 0;
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
}
@media only screen and (max-width: 1199px) {
    #site-navigation .menu-secondary {
        background: rgba(0, 0, 0, 0.5);
    }
    #site-navigation .menu-secondary ul li a {
        font-size: 18px;
        padding: 0 17px;
    }
}
@media only screen and (min-width: 1240px) {
    #content-holder {
        padding: 30px 30px 30px 0;
    }
    body.home #content-holder {
        padding: 0 55px 0 0;
    }
    #content-holder::before {
        content: ' ';
        display: block;
        width: 60px;
        height: 100%;
        position: absolute;
        top: 0;
        left: -60px;
        background: #fff;
    }
}
