/*
Theme Name: Her-start
Author: Maarten Wolfsen
Author URI: https://mwolfsen.nl/
Description: A Custom Theme, made for the Her-start initiative.
Tags: blog, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, translation-ready, accessibility-ready
Version: 1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
Text Domain: hs_l10n
*/

/*==============================*/
/* Fonts */
/*==============================*/

/* Baloo Paaji 2 */

@font-face {
    font-family: "Baloo Paaji 2";
    src: url("res/fonts/baloopaaji2/BalooPaaji2-Regular.ttf");
    font-weight: 400;
}

@font-face {
    font-family: "Baloo Paaji 2";
    src: url("res/fonts/baloopaaji2/BalooPaaji2-Medium.ttf");
    font-weight: 600;
}

@font-face {
    font-family: "Baloo Paaji 2";
    src: url("res/fonts/baloopaaji2/BalooPaaji2-Bold.ttf");
    font-weight: 800;
}

/* Merriweather */

@font-face {
    font-family: "Merriweather";
    src: url("res/fonts/merriweather/Merriweather-Regular.ttf");
    font-weight: 400;
}

@font-face {
    font-family: "Merriweather";
    src: url("res/fonts/merriweather/Merriweather-Italic.ttf");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "Merriweather";
    src: url("res/fonts/merriweather/Merriweather-Bold.ttf");
    font-weight: 800;
}

/*==============================*/
/* Base */
/*==============================*/

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Baloo Paaji 2", sans-serif;
    color: #3d3d3d;
}

/*==============================*/
/* Typography */
/*==============================*/

h1, h2, h3 {
    font-family: "Merriweather", serif;
    font-weight: 800;
    color: #686868;
}

a {
    color: #b03679;
    font-weight: 700;
}

.page-top {
    margin: 0 0 40px;
}

.page-top h1 {
    font-size: 48px;
}

.content h1,
.content h2 {
    margin: 40px 0 20px;
}

.content h3 {
    margin: 20px 0 10px;
}

.content p {
    margin: 0 0 10px;
}

/*==============================*/
/* Layout */
/*==============================*/

.site-content {
    padding-bottom: 80px;
}

.container-1200 {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
    box-sizing: border-box;
}

.has-sidebar {
    display: flex;
    flex-wrap: nowrap;
}

.has-sidebar .left {
    width: calc(100% - 300px);
    padding-right: 40px;
    box-sizing: border-box;
}

.has-sidebar .sidebar {
    width: 300px;
    border-left: 1px solid #ececec;
    padding-left: 20px;
}

@media (max-width: 1000px) {
    .has-sidebar {
        display: inherit;
    }

    .has-sidebar .left,
    .has-sidebar .sidebar {
        width: 100%;
        padding-right: 0;
    }

    .has-sidebar .sidebar {
        border-left: 0;
        padding-left: 0;
    }
}

/*==============================*/
/* Header */
/*==============================*/

header {
    background: #b03679;
    padding: 10px 0;
    position: relative;
}

header .container-1200 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .custom-logo {
    width: 80px;
    height: auto;
    display: block;
}

header .menu-container {
    display: flex;
    align-items: center;
}

header .menu-container li {
    display: inline-block;
}

header .menu-container li a {
    display: inline-block;
    color: #fff;
    font-size: 16px;
    padding: 0 10px;
    position: relative;
    font-weight: 400;
}

header .menu-container li a:after {
    position: absolute;
    width: 0;
    height: 2px;
    background: #fff;
    display: block;
    content: '';
    left: 50%;
    transition: .2s;
    opacity: 0;
}

header .menu-container li a:hover:after {
    width: 100%;
    left: 0;
    opacity: 1;
}

.header-search {
    position: relative;
    padding-right: 15px;
    height: 40px;
    margin-left: 15px;
}

.header-search:after {
    font-family: 'Material Icons', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga';
    content: 'search';
    position: absolute;
    color: #fff;
    pointer-events: none;
    right: 0;
    top: 0;
    width: 40px;
    height: 40px;
    padding: 8px;
}

.header-search input[name=s] {
    width: 0;
    transition: .5s;
    border: 0;
    padding: 11px 0;
    background: rgba(255, 255, 255, .15);
    border-bottom: 2px solid #fff;
    position: relative;
    top: -17px;
    color: #fff;
}

.header-search input[name=s]:focus {
    border-bottom: 2px solid #fff;
    outline: none;
}

.header-search:hover input[name=s] {
    width: 200px;
    padding: 11px 15px;
}

.header-search input[type=submit] {
    width: 40px;
    height: 40px;
    opacity: 0;
    cursor: pointer;
    border: 0;
    background: rgba(255, 255, 255, .15);
    transition: .2s;
}

.header-search input[type=submit]:focus {
    background: rgba(255, 255, 255, 0);
    outline: none;
}

.header-search input[type=submit]:hover {
    opacity: 1;
}

@media (max-width: 800px) {
    header .container-1200 {
        flex-direction: column;
    }

    header .custom-logo-link {
        position: absolute;
        left: 10px;
        top: 10px;
    }

    header .custom-logo {
        width: auto;
        height: 40px;
    }

    header .menu-container,
    header .menu-container li {
        display: block;
    }

    header .menu-container {
        transition: 0.4s;
        max-height: 40px;
        overflow-y: hidden;
        text-align: center;
    }

    header .menu-container:before {
        font-family: 'Material Icons', sans-serif;
        font-weight: normal;
        font-style: normal;
        font-size: 40px;
        display: inline-block;
        line-height: 1;
        text-transform: none;
        letter-spacing: normal;
        word-wrap: normal;
        white-space: nowrap;
        direction: ltr;
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
        -moz-osx-font-smoothing: grayscale;
        font-feature-settings: 'liga';
        content: 'menu';
        color: #fff;
        position: relative;
        cursor: pointer;
    }

    header .menu-container:hover {
        max-height: 500px;
    }

    header .menu-container:hover:before {
        content: 'menu_open';
    }

    header .menu-container li a {
        padding: 10px 0;
        font-size: 20px;
    }
}

/*==============================*/
/* Footer */
/*==============================*/

footer .footer-banner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

footer .footer-banner .footer-banner-part:first-child {
    width: 60%;
    background: #b03679;
    box-sizing: border-box;
    padding: 80px 0 40px calc(50vw - 600px);
    color: #fff;
    font-size: 42px;
    letter-spacing: 4px;
}

footer .footer-banner .footer-banner-part:first-child h2,
footer .footer-banner .footer-banner-part:first-child h3 {
    line-height: 32px;
    padding-bottom: 20px;
    color: #fff;
}

footer .footer-banner .footer-banner-part:first-child h2 {
    font-family: "Baloo Paaji 2", sans-serif;
    font-weight: 400;
}

footer .footer-banner .footer-banner-part:last-child {
    width: 40%;
    height: 224px;
}

footer .footer-banner .footer-banner-part:last-child img {
    width: 100%;
    object-fit: cover;
    height: 100% !important;
}

footer .footer-blocks {
    display: flex;
    padding: 100px 20px;
}

footer .footer-blocks .footer-block {
    width: 25%;
}

footer .footer-blocks .footer-block .widgettitle {
    margin-bottom: 20px;
}

footer .footer-blocks .footer-block .widgettitle:after {
    content: '';
    display: block;
    background-color: #e3e3e3;
    width: 100%;
    max-width: 140px;
    height: 5px;
}

footer .footer-blocks .footer-block ul li {
    list-style: none;
}

footer .footer-blocks .footer-block ul li a,
footer .footer-blocks .footer-block p {
    color: #3d3d3d;
    margin-bottom: 10px;
    display: block;
    font-weight: 400;
}

footer .footer-blocks .footer-block p a {
    color: #b03679;
    font-weight: 600;
}

footer .footer-blocks .footer-block ul li a:hover {
    text-decoration: underline;
}

.ultra-footer {
    background-color: #e3e3e3;
    padding: 10px 0;
    font-size: 14px;
}

.ultra-footer .container-1200,
.ultra-footer .container-1200 .menu {
    display: flex;
}

.ultra-footer .copyrights {
    padding-right: 10px;
    color: #3d3d3d;
}

.ultra-footer .container-1200 .menu li {
    list-style: none;
    padding-left: 15px;
}

.ultra-footer .container-1200 .menu li a {
    color: #777;
    font-weight: 400;
}

@media (max-width: 1240px) {
    footer .footer-banner .footer-banner-part:first-child {
        padding-left: 20px;
    }

    footer .footer-blocks .footer-block .widgettitle {
        font-size: 18px;
    }
}

@media (max-width: 800px) {
    footer .footer-banner .footer-banner-part:first-child {
        padding: 80px 20px 40px;
        text-align: center;
        width: 100%;
    }

    footer .footer-banner .footer-banner-part:last-child {
        display: none;
    }

    footer .footer-blocks {
        display: inherit;
        padding: 50px 20px;
    }

    footer .footer-blocks .footer-block {
        width: 100%;
        text-align: center;
    }

    footer .footer-blocks .footer-block:not(:last-child) {
        margin-bottom: 40px;
    }

    footer .footer-blocks .footer-block .widgettitle {
        margin-bottom: 10px;
    }

    footer .footer-blocks .footer-block .widgettitle:after {
        position: relative;
        left: 50%;
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        transform: translateX(-50%);
        margin-top: 5px;
    }
}

@media (max-width: 500px) {
    footer .footer-banner .footer-banner-part:first-child h2,
    footer .footer-banner .footer-banner-part:first-child h3 {
        font-size: 30px;
        line-height: 24px;
    }
}

/*==============================*/
/* Breadcrumbs */
/*==============================*/

.breadcrumbs {
    padding: 20px 0;
    color: #3d3d3d;
}

.breadcrumbs a {
    color: #3d3d3d;
}

.breadcrumbs a:not(:first-child),
.breadcrumbs .breadcrumb_last {
    padding: 0 5px;
}

.breadcrumbs a:first-child {
    padding-right: 5px;
    font-weight: 400;
}

.breadcrumbs a:not(:last-child) {
    text-decoration: underline;
}

/*==============================*/
/* Category Page */
/*==============================*/

.page-top .page-title {
    width: 100%;
    position: relative;
}

.page-top .page-title > img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.page-top .page-title > img + h1 {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 40px 20px;
    margin-bottom: 20px;
    text-shadow: 0 15px 45px rgba(0,0,0,.2);
}

.post-list .post {
    box-sizing: border-box;
    border: 1px solid #ececec;
    padding: 15px;
    margin: 0 0 15px;
    display: flex;
    flex-wrap: nowrap;
}

.post-list .post .left {
    width: calc(100% - 150px);
}

.post-list .post:nth-child(2n + 0) {
    flex-direction: row-reverse;
}

.post-list .post:nth-child(2n + 0) .left {
    padding-left: 20px;
}

.post-list .post:nth-child(2n + 1) .left {
    padding-right: 20px;
}

.post-list .post .right {
    width: 150px;
}

.post-list .post .left h2 {
    margin: 0;
}

.post-list .post .left h2 a {
    color: #686868;
}

.post-list .post .left .post-meta {
    margin-bottom: 5px;
    display: inline-block;
    position: relative;
    top: -7px;
    font-style: italic;
    color: #686868;
}

.post-list .post .left .post-meta a {
    color: #686868;
}

.post-list .post .left .post-entry .post-desc {
    line-height: 24px;
}

.post-list .post .post-cat-list {
    margin-top: 10px;
}

.post-list .post .post-cat-list strong,
.post-list .post .post-cat-list a {
    color: #686868;
    font-weight: 400;
}

.post-list .post .post-cat-list a {
    padding: 0 5px;
    text-decoration: underline;
}

.post-list .post .post-cat-list a:hover {
    color: #b03679;
}

.post-list .post .right img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.post-list .post .right .post-link {
    display: block;
    width: 100%;
    color: #fff;
    box-sizing: border-box;
    padding: 5px 20px 5px 10px;
    background: #b03679;
    line-height: 24px;
    position: relative;
    font-weight: 400;
}

.post-list .post .right .post-link:after {
    font-family: 'Material Icons', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga';
    content: 'keyboard_arrow_right';
    position: absolute;
    color: #fff;
    pointer-events: none;
    right: 0;
    top: 0;
    padding: 4px;
    transition: .2s;
}

.post-list .post .right .post-link:hover:after {
    right: -5px;
}

.left .no-results {
    padding: 20px 0;
    font-size: 32px;
    color: #686868;
    font-style: italic;
}

@media (max-width: 500px) {
    .page-top .page-title > img + h1 {
        font-size: 32px;
        padding: 20px;
    }

    .post-list .post,
    .post-list .post:nth-child(2n + 0) {
        flex-direction: column-reverse;
    }

    .post-list .post .left {
        width: 100%;
    }

    .post-list .post:nth-child(2n + 0) .left {
        padding-left: 0;
    }

    .post-list .post:nth-child(2n + 1) .left {
        padding-right: 0;
    }

    .post-list .post .right {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }
}

/*==============================*/
/* Sidebar */
/*==============================*/

.sidebar {
    margin-top: 70px;
}

.sidebar .cat-sidebar-item {
    margin-bottom: 40px;
}

.sidebar .cat-sidebar-item .widgettitle {
    margin-bottom: 15px;
}

.sidebar .cat-sidebar-item li {
    margin-bottom: 0;
    list-style: none;
}

.sidebar .cat-sidebar-item li a {
    color: #686868;
    font-weight: 400;
}

.sidebar .cat-sidebar-item li a .rpwwt-post-title {
    font-family: "Merriweather", serif;
    font-weight: 800;
}

.sidebar .cat-sidebar-item li .rpwwt-post-date {
    position: relative;
    top: -7px;
    font-size: 14px;
    color: #686868;
    font-style: italic;
}

.sidebar .cat-sidebar-item li.current-cat a {
    color: #b03679;
    font-weight: 700;
}

.sidebar .cat-sidebar-item li .children li a:before {
    content: '- ';
    display: inline;
    padding-left: 10px;
}

.sidebar .cat-sidebar-item .tagcloud a {
    color: #686868;
    text-decoration: underline;
    font-weight: 400;
}

@media (max-width: 1000px) {
    .sidebar {
        display: flex;
        flex-wrap: wrap;
    }

    .sidebar .cat-sidebar-item {
        width: calc(25% - 15px);
    }

    .sidebar .cat-sidebar-item:not(:nth-child(4n + 0)) {
        padding-right: 20px;
    }

    .sidebar .cat-sidebar-item .widgettitle {
        min-height: 62px;
    }
}

@media (max-width: 800px) {
    .sidebar {
        display: inherit;
    }

    .sidebar .cat-sidebar-item {
        width: 100%;
    }

    .sidebar .cat-sidebar-item .widgettitle {
        min-height: 0;
    }

    .sidebar .cat-sidebar-item:not(:nth-child(4n + 0)) {
        padding-right: 0;
    }

    .sidebar .cat-sidebar-item .rpwwt-widget ul {
        display: flex;
        flex-wrap: wrap;
    }

    .sidebar .cat-sidebar-item .rpwwt-widget ul li {
        width: 50%;
    }
}

/*==============================*/
/* Content Page */
/*==============================*/

.content ul {
    padding-left: 20px;
}
