/*
Theme Name: topbloke
Author: Osky
Author URI: https://osky.com.au/
Theme URI: 
Tags: full-site-editing, block-patterns
Text Domain: topbloke
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.4
Version: 100.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
:root {
    --primary: #211F20;
    --secondary: #649BAA;
    --alternative: #CCE619;
    --heading: #211F20;
    --body: #211F20;
    --accent: #649BAA;
    --hyperlink: #000000;
    --inverted-heading: #FFFFFF;
    --inverted-body: #FFFFFF;
    --inverted-accent: #CCE619;
    --inverted-hyperlink: #649BAA;
    --light-background: #FFFFFF;
    --color-background: #211F20;
    --border: #F1F2EE;
    --alt-ui: #7A7862;
    --info-status: #00A8DE;
    --warning-status: #EA5F1B;
    --error-status: #FF000B;
    --success-status: #02AD1E;
    --grey : #808080;
}
/* Styles intended only for the front.*/
html {
	scroll-behavior: smooth;
}
p,li{
    font-size: 18px;
}
@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}
:where(body .is-layout-flow) > *{
    margin: 0 !important;
}
.wp-block-column p{
    margin-top: 24px !important;
}
body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}
.wp-site-blocks{
	overflow: hidden;
}

.wp-block-search__inside-wrapper {
    margin: 0;
}
.header-style-1 .wp-block-search__input,
.header-style-2 .wp-block-search__input {
    display: none;
}
.header-style-1 .show.wp-block-search__input,
.header-style-2 .show.wp-block-search__input {
    display: block;
}
header .wp-block-button__link {
    word-break: unset;
}
.breadcrumbs {
    display: flex;
    gap: 7px;
}
.breadcrumbs span {
    font-weight: 700;
}
.breadcrumbs a {
    text-decoration: none;
    font-weight: 700;
    text-transform: capitalize;
    position: relative;
}
.breadcrumbs a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #CCE619;
}

.bg-color-green h1{
    color: #211F20;
}
.bg-color-black .banner-tag-line{
    color: #fff !important;
}
.bg-color-black h1,.bg-color-black .banner-tag-line{
    color: #CCE619;
}
h3.banner-tag-line,.inner-page-banner h1 {
    max-width: 600px;
}
span.gfield_required.gfield_required_text {
    margin-left: 2px;
}

@media(max-width: 1280px){
    .wp-block-site-logo img {
        width: 100px;
    }
    .site-header a.osky-button.btn-inverted {
        padding: 8px 12px;
    }
    .menu-icon {
        height: 30px;
    }
}

/* News Posts */
.news-post ul {
    margin-top: 0px;
    margin-bottom: 0px;
}
.news-post .featured li:first-child {
    grid-column: 1 / -1;
}
.news-post ul li:hover .wp-block-post-featured-image{
    overflow: hidden;
}
.news-post ul li:hover .wp-block-post-featured-image img {
    transform: scale(1.2);
    transition: 0.3s ease all;
}
.news-post .wp-block-post-featured-image {
    margin-block-start: 0px !important;
}
.news-post .wp-block-post-featured-image img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    display: inline;
    object-position: right;
}
.news-post .wp-block-post-featured-image .featured-image-placeholder {
    height: 240px;
    width: 100%;
    display: inline;
    object-position: right;
    background: #e1e1e1; 
    display: flex; 
    align-items: center; 
    justify-content: center;
}
.news-post .featured li .wp-block-post-featured-image {
    margin: 0 !important;
    width: 100%;
    height: 100%;
}
.news-post .featured li:not(:first-child) {
    display: none;
}
.news-post .unfeatured:not(.filtered-results) li:first-child {
    display: none;
}
.news-post .unfeatured li {
    box-shadow: 0px 24px 16px 0px rgba(0,0,0,0.2);
    margin-bottom: 60px;
}
.news-post-img-wrapper {
    position: relative;
}
.news-post .featured li:first-child > div time::before {
    content: "FEATURED";
    display: block;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 14px;
    font-weight:lighter;
    background-color: #CCE619;
    color: #211F20;
    height: 18px;
    line-height: 18px;
    margin-bottom: 10px;
    text-align: center;
}
.news-post-img-wrapper .taxonomy-category.wp-block-post-terms {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 1;
}
.news-post-img-wrapper .taxonomy-category.wp-block-post-terms a {
    display: inline-block;
    background: rgba(0,0,0,0.4);
    padding: 12px 24px;
    color: #fff;
    text-decoration: none;
    margin-right: 8px;
    margin-bottom: 8px;
}
.news-post .wp-block-post-title > a  {
    text-decoration: none;
}
.news-post .unfeatured .wp-block-post-title {
    padding: auto;
}
.news-post ul .wp-block-post-title {
    color: var(--hyperlink);
}

.news-post .featured li:first-child {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: stretch;
    margin-bottom: 20px;
    gap: 30px;
}

.news-post .featured li:first-child > div:first-child {
    max-width: 50%;
    flex-grow: 1;
    flex-shrink: 2;
    display: flex;
    align-items: end;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
}

.news-post .featured li:first-child > div:first-child img {
    width: 100%;
    height: 100%;
    object-position: right;
    object-fit: cover;
}

.news-post .featured li:first-child > div:first-child .taxonomy-category {
    margin-block-start: 0 !important;
    margin-block-end: 8px !important;
}
.news-post .unfeatured li > div:nth-child(2) {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
    height: calc(100% - 240px);
}
.news-post .unfeatured .wp-block-post-excerpt {
    display: flex;
    margin-right: 0 !important;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}
.news-post .featured li:first-child > div:nth-child(2) {
    flex: 2;
    flex-shrink: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    min-width: 300px;
    min-height: 250px;
}

.news-post .featured li:first-child > div:nth-child(2) .wp-block-post-title {
    text-transform: uppercase;
    font-size: 48px !important;
}

.news-post .wp-block-post-date {
    margin-left: 0 !important;
}

.news-post .featured li:first-child .wp-block-post-excerpt {
    margin-left: 0 !important;
    margin-top: 0 !important;
}

.news-post .featured li:first-child .wp-block-post-excerpt__more-text  {
    text-decoration: none;
}


.news-post ul li .wp-block-post-excerpt__more-text {
    text-align: right;
    display: flex;
    justify-content: end;
}

.news-post ul li .wp-block-post-excerpt__more-link::after {
    display: inline-block;
    content: url("data:image/svg+xml,%3Csvg width='7' height='11' viewBox='0 0 7 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 1.62183L5.5 5.62183L1.5 9.62182' stroke='%23CCE619' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E%0A");
    width: 16px;
    scale: 2;
    height: auto;
    color: #CCE619;
}
.news-post .pager {
    display: flex;
    gap: 24px;
    justify-content: center;
	align-items: center
}
#NewsPagerPrev, #NewsPagerNext {
    background-color: var(--primary);
    color: var(--light-background);
    padding: 12px 24px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    border: none !important;
}
.news-post .pageNumButton {
    width: 40px;
    height: 40px;
    border-width: 0;
    border-radius: 20px;
    font-size: 20px;
    box-shadow: none;
}
.news-post .pageNumButton:hover {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background-color: var(--alternative);
    color: var(--hyperlink);
    cursor: pointer;
}
.news-post .pageNumCurr {
    background-color: var(--wp--preset--color--secondary);
}
.news-post .featured li:first-child .wp-block-post-excerpt__more-link {
    display: block;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 18PX;
    font-weight: 100;
    background-color: var(--hyperlink);
    color: var(--border);
    padding: 10px 20PX;
    margin-bottom: 10PX;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
}

.news-post .featured li:first-child .wp-block-post-excerpt__more-link::after {
    display: inline-block;
    content: url("data:image/svg+xml,%3Csvg width='7' height='11' viewBox='0 0 7 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 1.62183L5.5 5.62183L1.5 9.62182' stroke='%23F1F2EE' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E");
    width: 24px;
    scale: 2;
    height: auto;
    transform: translate(2px, -3%);
}

.news-post .featured li:first-child .wp-block-post-excerpt__more-link:hover, #NewsPagerPrev:hover, #NewsPagerNext:hover {
    background-color: var(--wp--preset--color--secondary);
    color: var(--hyperlink);
    cursor: pointer;
    border: none !important;
}

.news-post .featured li:first-child .wp-block-post-excerpt__more-link:hover::after{
    content: url("data:image/svg+xml,%3Csvg width='7' height='11' viewBox='0 0 7 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 1.62183L5.5 5.62183L1.5 9.62182' stroke='%23000000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E%0A");
}

.news-post .featured li:first-child .wp-block-post-excerpt__more-link:focus {
    background-color: var(--accent);
    color: var(--hyperlink);
}

.news-post .featured li:first-child .wp-block-post-excerpt__more-link:focus::after {
    content: url("data:image/svg+xml,%3Csvg width='7' height='11' viewBox='0 0 7 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 1.62183L5.5 5.62183L1.5 9.62182' stroke='%23000000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E%0A");
}

.news-post .dropdown {
    display: flex;
    margin-top: 20px;
    font-size: 0.7em;
    justify-content: end;
}

.news-post .dropdown .p{
    font-size: 1.4em;
}

.news-post .dropbtn {
    margin-left: 20px !important;
    background-color: #f9f9f9;
    width: 200px;
    height: 45px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 2;
    padding-left: 16px !important;
    padding-bottom: 0px !important;
    text-align: left;
    border-radius: 8px;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-post .dropbtn:not(.dropdown_expanded)::after {
    display: inline-block;
    content: url("data:image/svg+xml,%3Csvg width='14' height='22' viewBox='0 0 14 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath transform='rotate(90 7 11) scale(2)' d='M1.5 1.62183L5.5 5.62183L1.5 9.62182' stroke='%23000000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E%0A");
    scale: 1;
    transform: translate(-5px, 0px);
}

.news-post .dropdown_expanded::after {
    display: inline-block;
    content: url("data:image/svg+xml,%3Csvg width='14' height='22' viewBox='0 0 14 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath transform='rotate(-90 7 11) scale(2)' d='M1.5 1.62183L5.5 5.62183L1.5 9.62182' stroke='%23000000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E%0A");
    scale: 1;
    transform: translate(-5px, 0px);
}

.news-post .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 196px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0px 0px 16px 0 rgba(0,0,0,0.2);
    z-index: 2;
    padding-left: 0 !important;
    margin: 0 !important;
    border-radius: 8px;
    transform: translate(-2px, 45px);
}

.news-post .dropdown-content li {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.news-post .dropdown-content li:hover {
    background-color: var(--alternative);
}

.news-post .show {
    display: block;
}

.mentoring-template-default .custom-topics .wp-block-heading {
    background-color: var(--alternative);
    background-repeat: no-repeat;
    padding: 12px;
    background-position: top;
    background-size: cover;
    height: 113px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px !important;
    text-transform: uppercase;
}
.mentoring-template-default .custom-topics .wp-block-heading.leaning-title1 {
    background-image: url(assets/images/zigzag.svg);
}
.mentoring-template-default .custom-topics .wp-block-heading.leaning-title2 {
    background-image: url(assets/images/zigzag2.svg);
}
.mentoring-template-default .custom-topics .wp-block-heading.leaning-title3 {
    background-image: url(assets/images/zigzag3.svg);
}
.mentoring-template-default .custom-topics .wp-block-heading.leaning-title4 {
    background-image: url(assets/images/zigzag4.svg);
}
.mentoring-template-default h3.wp-block-heading.has-text-align-center{
    margin-bottom: 24px;
}
.mentoring-template-default .custom-topics ul li {
    font-size: 18px !important;
}
.mentoring-template-default .custom-topics .wp-block-column{
    visibility: hidden;
    opacity: 0;
}
@media(max-width: 1200px) {
    .news-post .featured li:first-child > div:nth-child(2) .wp-block-post-title {
        font-size: 36px !important;
    }

    .news-post .featured li:first-child .wp-block-post-excerpt__more-link {
        font-size: 12PX;
    }
}

@media(max-width: 990px) {
    .news-post .featured li:first-child {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .news-post .featured li:first-child > div:first-child {
        max-width: 100%;
        width: 100%;
    }
    .news-post .featured li:first-child > div:nth-child(2) .wp-block-post-title {
        margin-left: 0 !important;
    }
    .news-post .featured li:first-child > div:nth-child(2) .wp-block-post-title {
        font-size: 24px !important;
    }
}


@media(max-width: 980px){
	.header-style-1 {
		flex-flow: column-reverse;
		align-items: flex-end !important;
	}
    .footer-display-desktop{
        display: none !important;
    }
    .footer-display-mobile{
        display: block !important;
    }
    .site-footer .wp-container-core-group-layout-16.wp-container-core-group-layout-16{
        justify-content: center;
    }
    .footer-display-mobile p.has-inverted-heading-color.has-text-color.has-bebas-neue-font-family.wp-container-content-7 {
        display: none;
    }
    .footer-social {
        width: 100%;
    }
}
@media(max-width: 600px){
	.news-post .pager{
		gap: 10px;
	}
	.news-post .pageNumButton {
		width: 30px;
		height: 30px;
		border-radius: 50px;
		font-size: 14px;
	}
	.news-post .featured li:first-child > div:first-child img {
		height: 240px;
	}
	.news-post .featured li:first-child > div:first-child {
		flex-grow: unset;
	}
	.news-post .featured li:first-child {
		gap: 0;
	}
	.header-style-1 {
		flex-flow: row-reverse;
		align-items: center !important;
	}
    ul.wp-block-navigation__container.is-responsive.items-justified-left.wp-block-navigation,
    li.wp-block-navigation-item.has-child.open-on-hover-click.wp-block-navigation-submenu:hover ul.wp-block-navigation__submenu-container.wp-block-navigation-submenu{
        width: 100% !important;
        gap: 0;
    }

    li.wp-block-navigation-item.has-child.open-on-hover-click.wp-block-navigation-submenu {
        position: relative;
        width: 100%;
        padding: 10px 0;
    }
    ul.wp-block-navigation__submenu-container.wp-block-navigation-submenu{
        position: unset !important;
        top: auto !important;
        left: auto !important;
        width: 100%;
    } 
    ul.wp-block-navigation__submenu-container.wp-block-navigation-submenu li {
        padding-left: 20px !important;
    }
    li.wp-block-navigation-item.has-child.open-on-hover-click.wp-block-navigation-submenu > a{
        position: relative;
        width: 100%;
    }
    li.wp-block-navigation-item.has-child.open-on-hover-click.wp-block-navigation-submenu > a::before {
        content: '';
        position: absolute;
        top: 22px;
        right: 10px;
        width: 21px; 
        height: 18px; 
        background-image: url('data:image/svg+xml,%3Csvg width="21" height="18" viewBox="0 0 21 18" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M14.5 7.5L10.5 11.5L6.5 7.5" stroke="%23211F20" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E');
        background-size: 21px 18px;
        background-repeat: no-repeat;
        background-position: center;
    }
    li.wp-block-navigation-item.has-child.open-on-hover-click.wp-block-navigation-submenu:hover > a::before {
        transform: rotate(180deg)
    }

      
    li.wp-block-navigation-item.has-child.open-on-hover-click.wp-block-navigation-submenu:hover > button span,
.wp-block-navigation-item.wp-block-navigation-link:hover > a span{
    text-decoration: none;
}
}