/*
 * Theme Name: Twenty Twenty Custom
 * Theme URI: http://example.com/twenty-twenty-custom/
 * Description: Twenty Twenty Custom Theme
 * Author: John Doe
 * Author URI: http://example.com
 * Template: twentytwenty
 * Version: 1.0.5
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Tags: light,dark,two-columns,right-sidebar,responsive-layout,accessibility-ready
 * Text Domain: twentytwentycustom
Updated: 2020-05-03 16:07:25
 * */

/* Did this in parent theme: */
/* .entry-content > *:last-child { */
/* 	margin-bottom: 0; */
/* } */

.entry-content>*:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide),
.post-meta-wrapper {
	max-width: 68rem
}

.widget_eu_cookie_law_widget {
	animation: none !important;
}

/* comment */
.comment-form-cookies-consent {
	clear: both;
}

/* headings */

@media (min-width: 700px) {
	h1, .heading-size-1 {
		font-size: 4.4rem;
	}
	
	.singular .entry-header {
		padding: 6rem 0;
	}
}

@media (min-width: 1220px) {
	h1, .heading-size-1 {
		font-size: 6.4rem;
	}
}

@media (max-width: 700px) {
	/* Full with image */
	.wp-block-image,
	.wp-block-preformatted,
	.wp-block-code {
		margin-top: 0;
		margin-bottom: 1.25em;
		width: 100% !important;
	}
	
	.wp-block-preformatted {
		border-left: none;
		border-right: none;
	}
}

.wp-block-code {
	border: none;
	background-color: #282c34;
	color: white;
}

pre {
	max-height: 36rem;
}

.wp-block-buttons .wp-block-button {
	margin-top: 0;
}

/* round border */
pre, fieldset, input, textarea {
	border-radius: 0.5rem;
}

input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="date"], input[type="month"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="week"], input[type="number"], input[type="search"], input[type="tel"], input[type="color"], textarea {
	border-radius: 0.5em;
}

button, .button, .faux-button, .wp-block-button__link, .wp-block-file .wp-block-file__button, input[type="button"], input[type="reset"], input[type="submit"] {
	border-radius: 0.5rem;
}

.tw-blog-grid-card #site-content .hentry {
	border-radius: 0.5em;
}

.tw-blog-grid .hentry .featured-media img {
    border-top-left-radius: .5em;
    border-top-right-radius: .5em;
}

.primary-menu ul {
	border-radius: 0.5em;
}

#wpadminbar .menupop .ab-sub-wrapper {
    border-bottom-left-radius: 0.5em;
    border-bottom-right-radius: 0.5em;
}

#wpadminbar #wp-admin-bar-my-account.with-avatar>.ab-empty-item img, #wpadminbar #wp-admin-bar-my-account.with-avatar>a img,
#wp-admin-bar-user-info .avatar {
	border-radius: 50%;
}

.wp-switch-editor {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* coblocks alert */

.wp-block-coblocks-alert {
	background-color: #d6efee;
	color: #094264;
	padding: 4rem;
}

@media (max-width: 700px) {
	
	.wp-block-coblocks-alert {
		padding: 2rem;
		width: 100% !important;
	}
}


.wp-block-coblocks-alert:not(.has-background).is-style-warning {
	background-color: #fbe7dd
}

.wp-block-coblocks-alert:not(.has-background).is-style-error {
	background-color: #ffdede
}

.wp-block-coblocks-alert:not(.has-background).is-style-success {
	background-color: #d0eac4
}

.wp-block-coblocks-alert:not(.has-text-color).is-style-warning {
	color: #8a4b30
}

.wp-block-coblocks-alert:not(.has-text-color).is-style-error {
	color: #8b343c
}

.wp-block-coblocks-alert:not(.has-text-color).is-style-success {
	color: #154a28
}

.wp-block-coblocks-alert__title {
	display: block;
	margin-bottom: 0.5em;
	margin-top: 0
}

.wp-block-coblocks-alert__title:empty {
	display: none
}

.wp-block-coblocks-alert__text {
	margin-bottom: 0;
	margin-top: 0
}

/* coblocks button extention */
body .w-100, body .w-100 .wp-block-button__link {
	width: 100%;
}

body div[class*="wp-block-"] > div[class*="wp-block-"] .w-100 {
	width: 100% !important;
}

/* easy toc */

#ez-toc-container {
	background-color: #fafafa;
    border: 1px solid #dfdfdf;
    padding: 2rem;
 	font-size: 0.842em;
	border-radius: 0.5em;
}

.ez-toc-title {
	font-weight: bold;
	text-align: center;
}

.ez-toc-list-level-1 {
    margin-bottom: 0;
}


.ez-toc-list-level-1 > li {
/* 	margin-left: 0; */
/* 	list-style: none; */
}

#ez-toc-container ul {
	margin: 0;
}

@media (max-width: 700px) {
	#ez-toc-container {
    	border: none;
    	width: 100% !important;
    	max-width: 100% !important;
	}
}

a.ez-toc-link {
	text-decoration: none;
}

a.ez-toc-link:hover {
	text-decoration: underline;
}

#wp-admin-bar-wp-logo {
	display: none;
}


.rmp-widgets-container.rmp-wp-plugin.rmp-main-container {
	margin-left: auto;
	margin-right: auto;
}

.saswp-how-to-block-tools,
.saswp-how-to-block-material {
    width: 50%;
    display: inline-block;
}

@media (min-width: 700px) {
.entry-content div.sharedaddy h3.sd-title, .entry-content h3.sd-title, .entry-content #jp-relatedposts h3.jp-relatedposts-headline {
    font-size: 2.8rem !important;
}
}
button:not(.toggle), .button, .faux-button, .wp-block-button__link, .wp-block-file .wp-block-file__button, input[type="button"], input[type="reset"], input[type="submit"], .bg-accent, .bg-accent-hover:hover, .bg-accent-hover:focus, :root .has-accent-background-color, .comment-reply-link {
	color: white;
}

.bp-block-member.has-cover .bp-member-cover-image {
    border-radius: 50%;
}

.author-bio .author-link {
    display: inline-block;
    padding: 0.6em 0.8em;
}