/*
Theme Name: Aus Ind WP Theme
Theme URI: https://austrianindependent.com
Description: A child theme for Twenty Twenty.
Author: Your Name
Author URI: https://austrianindependent.com
Template: twentytwenty
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

body {
	background: #f5f4e04a !important;
}

body.business,
body.finance {
	background: #f5efe0 !important;
}

body.green_austria {
	background: #f0ffe8 !important;
}

body.culture {
	background: #fffae8 !important;	
	
}
.color-accent, .color-accent-hover:hover, .color-accent-hover:focus, :root .has-accent-color, .has-drop-cap:not(:focus):first-letter, .wp-block-button.is-style-outline, a {
	color:#af5252 !important;
}

.hightlight {
	background-color: #ce3159;
	color:white;
}

.button {
	background-color: #269ecd;
	color:white;
}

.heading {
	color: #1e263e; 
}

.purpley {
	color:#674c61;
}

.homepage div.adjustwidth .ab-block-post-grid-title a,
.homepage section.two-col .ab-block-post-grid-title a,
.homepage .main-title .ab-block-post-grid-title a{
	color: #1e263e !important; 	
}

.homepage div.adjustwidth .ab-block-post-grid-title a:hover,
.homepage section.two-col .ab-block-post-grid-title a:hover {
	text-decoration: none;

}

section.two-col {
	padding-top:0rem;
}

.bulletlist-more-wrapper {
	    width: 100%;
    text-align: right;
    padding: 1.5rem;

}

.homepage div.bulletlist .ab-block-post-grid-title a {

	font-weight: 300;
	font-size: 2.1rem;
}
.bulletlistmore {
    color:#674c61 !important;
}

/* Mostly these will be overrides nulling functionality from the parent theme */

.singular .featured-media-inner {
    position: relative;
    left: inherit;
    width: inherit;
}

/* massive font over rides to use Overpass for headings */
body,
h1,h2,h3,h4,h5,h6,
.entry-content .wp-block-latest-posts {
	font-family: 'Overpass', sans-serif;
}

.entry-content .wp-block-latest-posts a {
	font-weight: 300; /* semi-bold */
}

h1, h2, h2 a {
font-family: 'Prata', serif;
letter-spacing: 0.1rem;
    font-weight: 400;
}

h4 {
	font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 100;
    letter-spacing: 0.1rem;

}


/* Homepage customisations */

/* default */

.homepage header.entry-header {
	padding:0px;
}

.homepage .entry-header {
	padding: 1rem 0;
}

.ab-block-post-grid .ab-block-post-grid-text {
    align-self: center;
}

.ab-block-post-grid-excerpt {
	font-size:2.1rem;
}

.ab-block-post-grid.bulletlist,
ul.wp-block-latest-posts  {
	margin-bottom:1rem;
}

.ab-block-post-grid .ab-block-post-grid-more-link,
.bulletlistmore {
	font-family: 'Overpass', sans-serif;
	font-weight: 300; /* semi-bold */
	color:#2670cd;
}

.ab-block-post-grid .ab-block-post-grid-more-link:hover,
.bulletlistmore:hover {
	text-decoration: none;
	border-bottom: 1px dotted #2670cd;
	color:#2670cd !important;
}

.ab-block-post-grid .ab-block-post-grid-more-link:after,
.bulletlistmore::after {
	padding-left:5px;
	content: "→";	
}


a.bulletlistmore {
	margin-left:15px;
	text-decoration: none;
}

.homepage .entry-content .wp-block-latest-posts li {
	border-bottom: dotted 1px #aeaeae;
	padding-top: 2rem;
}

.homepage ul.wp-block-latest-posts {
	margin-bottom: 1rem !important;
    margin-top: 1rem !important ;
}

.homepage .entry-content > .ab-block-post-grid.alignfull {
    padding-left: 5rem;
    padding-right: 5rem;
}
.homepage div.bulletlist h2,
.homepage div.bulletlist article,
.homepage div.ab-block-post-grid.bulletlist h5.ab-block-post-grid-title {
	margin:0 !important;padding:0 !important;
}


.homepage div.ab-block-post-grid h2.ab-block-post-grid-title,
h2.entry-title { 
	font-size: 3.5rem;
    line-height: 5rem;
    margin-top:0;
}

.homepage .ab-block-post-grid.main-title header .ab-block-post-grid-title a{
line-height: 1.2em;
    font-size: 2.2em;
	text-decoration: none;
	
}

h2.entry-title a,
.homepage .ab-block-post-grid header .ab-block-post-grid-title a {
	letter-spacing: -0.1rem;
    font-weight: 300;
}

.homepage div.ab-block-post-grid.toppost .ab-block-post-grid-excerpt {
    font-size: 2rem;
}

.homepage div.ab-block-post-grid.toppost  article {
	margin-bottom: 0.5rem;
}

.homepage div.ab-block-post-grid.bulletlist h5.ab-block-post-grid-title { 
    border-bottom: dotted 1px #aeaeae;
    padding-top: 2rem;
    font-size: 34px;
}



body.category main.two-col {
	display: grid;
}

body.category .wp-block-column {
	flex-basis: 100%;
}

body.category main > article:first-of-type {
    padding: 0;
}
body.category .entry-content > .alignfull {
	margin-bottom: 1rem;
    margin-top: 1rem;
}

body.category .post-inner {
    padding-top: 2rem;
}

.cat-page-nav {
	text-align: center;
}


.singular .featured-media::before {
	background: transparent;
}

.featured-media img {
	padding:3rem 3rem 0rem 3rem;
}
/* tablet up */

@media (max-width: 700px) {
	.ab-block-post-grid.two-col .is-list article {
		display:block;
		grid-template-columns: 100% 1fr;
	}
}

@media (min-width: 700px) {
	.homepage .entry-header {
		padding: 2rem 0;
	}
	.entry-content .wp-block-columns h4 {
		margin: 2.5rem 0 1rem;
	}
	body.category .two-col,
	.ab-block-post-grid.two-col .is-list article {
		grid-template-columns: 50% 1fr;
	}

	.homepage .post-inner {
		padding-top: 1rem;
	}	
	.ab-block-post-grid .is-list .ab-block-post-grid-title {
	}	
}

@media (min-width: 1000px) {
	.primary-menu-wrapper {
		display:flex;
		justify-content: center;
	}
}


@media (min-width: 1220px) {
	.homepage .entry-content > .ab-block-post-grid.alignfull {
	    padding-left: 10rem;
	    padding-right: 10rem;
	    margin-bottom: 0rem;
    	margin-top: 0rem;
	}
}

@media (min-width: 700px) {
.post-inner {
    padding-top: 2rem;
}
}



