/**
 * Theme Name:  DK_Median
 * Description: A magazine theme inspired by Medium's design.
 * Version:     1.1.1
 * Author:      Darinka Kostelnik
Author URI: 	 http://themeforest.net/user/Darinka/
 * Tags:        one-column, two-columns, three-columns, four-columns, custom-colors, custom-menu, editor-style, featured-images, theme-options, footer-widgets, custom-logo, grid-layout, sticky-post, translation-ready, blog, news
 * Text Domain: dk_median
 * License:     GNU General Public License v2.0 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 */

/********************************************************************************************************
 * Please do not make edits directly to this file.  You will lose all modifications when the theme is next updated if you do so.  Please use a child theme.  This theme's styles will automatically be loaded for you.  You can then overwrite specific style rules in your child theme's 'style.css' file.
/*
CONTENTS:  
1. LAYOUT - wrappers
2. HEADER - header, logo, navigation 
3. CONTENT - posts, post, page and classes (find more classes in editor-style.css) 
4. SIDEBARS - sidebars, widgets, login modal
5. COMMENTS - comments
6. FOOTER - footer, general forms
7. RESPONSIVNESS - media queries 
*/


/* ___________________________________________________________________________  
 	
 	1. LAYOUT
______________________________________________________________________________ */


/**
 * Layout
 * --------------------------------------------------------------------------- */

#container {}

.wrapper {
	width: 1200px;
	margin: 0 auto;
}

#header > .wrapper {
	display: flex;
	align-items: center;
	height: 100%;
	flex-wrap: wrap;
}

body.singular article.entry {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

#footer {
	overflow: hidden;
	background: var(--block-color);
	color: var(--footer-color);
	padding: 4em 0;
	position: relative;
	margin-top: 40px;
}

#main {
	margin-top: 18px;
	min-height: 50vh;
}

div>p:last-child, 
section>p:last-child, 
blockquote>p:last-child
{
	margin-bottom: 8px;
}
div>ul:last-child, section>ul:last-child, 
div>ol:last-child, section>ol:last-child {
	padding-bottom: 20px;
}


/* ___________________________________________________________________________  
 	
 	2. HEADER
______________________________________________________________________________ */

/**
 * Header
 * --------------------------------------------------------------------------- */

#header {
	height: auto;
	margin: 0;
	padding: 24px 0 0;
	position: relative;
	z-index: 99;
}

.branding,
.custom-logo-link {
	margin-right: auto;
	word-break: break-word;
	min-width: 200px;
}

h1.site-title {
	font-size: 24pt;
	margin: 0;
	display: block;
	line-height: 1.35;
	max-width: 30ch;
}

h2.site-description {
	font-size: 9pt;
	padding: 0 0 0 2em;
	display: block;
	max-width: 20ch;
	line-height: 1.025;
	opacity: 0.85;
}

#header .avatar {
	width: 36px;
	height: 36px;
	border: 2px solid white;
	box-shadow: 0 0 0 1px var(--accent-color);
	margin: 0 0 0 8px;
}


/**
 * Menus
 * --------------------------------------------------------------------------- */


/* ====== Menu General ====== */

.menu {}

.menu li {
	padding: 0;
}

.menu li.current-menu-item>a,
.menu li.current_page_parent>a {
	opacity: 1;
	color: inherit;
}

.menu li a {
	color: var(--meta-color);
	font-weight: normal;
	opacity: 1;
	display: block;
}

.menu li a:hover,
.menu li a:focus,
.menu li:hover>a {
	opacity: 1;
}

.menu li.menu-item-has-children > a::after {
	content: '↓';
	display: inline-block;
	padding-left: 8px;
}


/* ====== Primary Menu ====== */

.menu-primary {
	flex-basis: 100%;
	margin: 0;
	position: sticky;
	top: 0;
	background: white;
	z-index: 9999;
}

.admin-bar .menu-primary {
	top: 32px;
}

.menu-primary div > ul {
	list-style: none;
	display: flex;
	font-size: 11pt;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	flex-wrap: wrap;
	padding: 0;
	justify-content: space-between;
}

.menu-primary li {
	position: relative;
	padding: 0 32px 0 0;
}

.menu-primary li a {
	padding: 16px 0;
}

.menu-primary ul ul {
	position: absolute;
	top: auto;
	left: 0;
	flex-direction: column;
	background: #fff;
	z-index: 3;
	padding: 10px 30px;
	margin-left: -2em;
	width: 300px;
	font-size: 10pt;
	display: none;
	box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.02);
	border-radius: 4px;
	animation: hideMenu 0.1s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

@keyframes hideMenu {
	100% {
		display: none;
		opacity: 0;
		transform: translateY(-20px);
	}
}

@keyframes showMenu {
	0% {
		display: block;
		opacity: 0;
		transform: translateY(-20px);
	}
	100% {
		display: block;
		opacity: 1;
		transform: translateY(0);
	}
}

.menu-primary ul li:hover>ul,
.menu-primary ul li:focus-within>ul,
.menu-primary ul li ul:hover {
	display: block;
	animation: showMenu 0.2s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

.menu-primary ul ul a {
	padding: 0;
	margin: 10px 0;
}

.menu-primary ul ul ul {
	left: 120px;
	top: -10px;
}

.menu-primary-mover {
	display: none;
	color: var(--meta-color);
	background: white;
	position: absolute;
	right: 0;
	line-height: 20pt;
	font-size: 18pt;
	width: 40px;
	margin-top: 10pt;
	cursor: pointer;
	text-align: center;
	z-index: 9;
}

#extras {
	display: flex;
	align-items: center;
	font-size: 12pt;
	margin-left: auto;
	justify-content: space-between;
	padding: 18px 0;
}

#extras > * {margin-left: 1em;white-space: nowrap;}
#extras > :first-child {margin-right: auto;margin-left: 0;}

#extras input[type=search] {
	border: 0;
	opacity: 0.5;
	width: 120px;
	transition: all .2s;
	padding-left: 0;
}

#extras input[type=submit] {
	border: 0;
	font-size: 0;
	width: 20px;
	background: url('images/search.svg') no-repeat center 55%;
}

#extras input[type=search]:focus {
	width: 12em;
}


/* ___________________________________________________________________________  
 	
 	3. CONTENT
______________________________________________________________________________ */

/**
 * Content
 * --------------------------------------------------------------------------- */


/* === Thumbnails === */

.thumbnail {
	margin: 0 -7.5% 1em;
	width: 820px;
	max-width: 100vw;
	height: auto;
}

.plural .thumbnail {
	
}


/* ====== POSTS ====== */

.hentry {}

.sticky { position: relative; }

.excerpt-image {
	display: flex;
	align-content: center;
	justify-content: center;
	overflow: hidden;
	margin: 0 0 24px;
	background: var(--line-color);
}

.excerpt-image img {
	max-width: 1200px;
	height: 180px;
	min-width: 100%;
	width: auto;
	margin: 0;
	object-fit: cover;
}

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	grid-column-gap: 36px;
	justify-content: space-between;
	padding: 0 0 40px;
}

.grid article {
	width: auto;
}

.widget-title {
	border-bottom: 1px solid var(--line-color);
	margin-bottom: 36px;
	font-size: 120%;
	letter-spacing: 0.02em;
}

.widget-title span {
	display: inline-block;
	border-bottom: 1px solid;
	padding-bottom: 1em;
}

.grid.twos {

}

.grid.featured {
	grid-row-gap: 1em;
	grid-template-rows: 120px 120px 120px;
}

.grid .entry-category {
	display: none;
}


.grid.featured article:not(:first-child) .entry-title {
	font-size: 100%;
}

.grid.featured article:not(:first-child) .entry-summary {
	display: none;
}

.grid.featured article:not(:first-child) .entry-meta,
.grid.featured article:not(:first-child) .entry-header,
.grid.featured article:not(:first-child) .entry-title {
	padding-top: 0;
	margin-top: 0;
	padding-bottom: 0;
}

.grid article .entry-meta {
	padding-top: 1em;
}

.grid.featured article:first-child {
	grid-row: 1 / -1;
}

.grid.featured article:nth-child(2) {
}
.grid.featured article:nth-child(3) {
	grid-column: 2 / 3;
	grid-row: 3 / 4;
	align-self: end;
}

.grid.featured article:nth-child(4) {
	grid-column: 3 / 4;
	grid-row: 1 / 2;
}
.grid.featured article:nth-child(5) {
	grid-column: 3 / 4;
	grid-row: 2 / 3;
}
.grid.featured article:nth-child(6) {
	grid-column: 3 / 4;
	grid-row: 3 / 4;
}

.grid.featured article:nth-child(4) .entry-title,
.grid.featured article:nth-child(5) .entry-title,
.grid.featured article:nth-child(6) .entry-title {
	max-height: 2.85em;
	overflow: hidden;
}

.grid.featured article:nth-child(2) .excerpt-image,
.grid.featured article:nth-child(3) .excerpt-image {
	width: 180px;
	height: 180px;
	float: left;
	margin: 0 24px 0 0;
}

.grid.featured article:nth-child(4) .excerpt-image,
.grid.featured article:nth-child(5) .excerpt-image,
.grid.featured article:nth-child(6) .excerpt-image {
	width: 114px;
	height: 114px;
	float: left;
	margin: 0 24px 0 0;
}

.grid.featured article:nth-child(4) .excerpt-image img,
.grid.featured article:nth-child(5) .excerpt-image img,
.grid.featured article:nth-child(6) .excerpt-image img {
	height: 114px;
}

.featured .excerpt .avatar {
	display: none;
}

.featured article:first-child .excerpt .avatar {
	display: block;
}

.grid.featured2 {
	grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
}

.featured2 .excerpt-image img {
	height: 280px;
}

.featured2 article:nth-child(1) {
	grid-column: 1 / -1;
	display: flex;
}

.featured2 article:nth-child(1) .excerpt-image {
	height: 400px;
	width: 66.6%;
	margin-bottom: 40px;
	margin-right: 36px;
	flex-shrink: 0;
}

.featured2 article:nth-child(1) .excerpt-image img {
	height: auto;
}

.featured2 article:nth-child(1) .entry-title {
	font-size: 175%;
}

.wrapper-with-sidebar {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-column-gap: 36px;
	align-items: start;
	justify-content: space-between;
}

.wrapper-for-grid {
	grid-column: 1 / 3;
}

.grid.list {
	grid-template-columns: 1fr;	
}

.list article {
	min-height: 200px;
}

.list .entry-title {
	margin-top: 0;
}

.list .entry-category {
	display: inline;
}

.list .excerpt-image {
	width: 150px;
	height: 150px;
	float: right;
	margin: 4px 0 24px 5%;
}

.list .excerpt-image img {
    max-width: 999px;
    height: 150px;
    width: auto;
}

.list.with-featured article:nth-child(1) {
	margin-bottom: 12px;
}

.list.with-featured article:nth-child(1) .excerpt-image {
	float: none;
	width: 100%;
	height: 280px;
	margin: 0 0 24px 0;
}

.list.with-featured article:nth-child(1) .excerpt-image img {
	height: 100%;
	width: 100%;
}

.list.with-featured article:nth-child(1) .entry-title {
	font-size: 150%;
}

.list.with-featured article:nth-child(1) .avatar {
	display: block;
}

.grid.boxed {
	grid-row-gap: 36px;
}

main.grid.boxed {}

main.grid.boxed {}

.grid.boxed article {
	position: relative;
	height: 360px;
	display: flex;
	align-items: flex-end;
}

.grid.boxed article:nth-child(1) {
	grid-column: 1 / -1 !important;
	height: 380px;
}

.grid.boxed article:nth-child(2) {
	grid-column: 1 / 3;
}

.grid.boxed article:nth-child(5) {
	grid-column: 2 / 4;
}

.grid.boxed .excerpt-image {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 0;
	background: var(--text-color);
}

.grid.boxed .excerpt-image img {
	object-fit: cover;
	opacity: 0.5;
	height: auto;
	min-height: 100%;
	min-width: 100%;
}

.grid.boxed .entry-header {
	position: relative;
	color: white;
	padding: 0 36px;
	max-width: 420px;
}

.grid.boxed article:nth-child(1) .entry-header {
	max-width: 600px;
}

.grid.boxed .entry-summary,
.grid.boxed .entry-byline,
.grid.boxed .entry-byline a {
	color: white;
}

.grid.boxed a:hover {
	color: var(--accent-color) !important;
}

.grid.boxed article .entry-title {
	font-size: 150%;
}

.grid.boxed article:nth-child(1) .entry-title {
	font-size: 175%;
}



/* === Post Header === */

.entry-header {
	padding: 0;
}

.entry-title {
	word-break: break-word;
	margin: 16px 0;
}

.entry-title a {}

.entry-title a:hover {}

.entry-meta {
	color: var(--meta-color);
	font-weight: 500;
	font-size: 0.825em;
	padding: 2em 0;
	display: flex;
	align-items: center;
	line-height: 1.65;
}

.entry-byline {
	display: flex;
	align-items: center;
	margin-right: auto;
}

.entry-byline p {
	margin-bottom: 4px;
}

.entry-byline p a {
	color: var(--text-color);
	text-decoration: none;
	font-size: 1.05em;
}

.sticky-block {
	width: 150px;
	height: 800px;
	font-size: 11pt;
	position: sticky;
	top: 80px;
	left: 0;
	margin-left: -240px;
	overflow: hidden;
}

.sticky-block + div,
.sticky-block + header {
	margin-top: -800px;
}

.entry-category-block {
	
}

.entry-category-block > div {
	padding: 0 0 32px;
	margin: 0 0 32px;
	border-bottom: 1px solid var(--line-color);
}

.entry-category-block h3 {
	font-size: 110%;
	padding-top: 12px;
}

.entry-category-block p {
	color: var(--meta-color);
	line-height: 1.67;
}

.entry-category-block a.button {
	background: var(--button-color);
	color: white;
	line-height: 28px;
}

.clap-block {
	color: var(--meta-color);
	width: 58px;
	text-align: center;
}

.heart-svg {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 60px !important;
	height: 60px;
	border: 1px solid rgba(0,0,0,0.1);
	border-radius: 50%;
	position: relative;
	background: white;
	transition: all .7s;
	margin-bottom: 8px;
}

.heart-svg::before {
	content: '';
	width: 58px;
	height: 58px;
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 0;
	border-radius: 50%;
	background: radial-gradient(circle, var(--accent-color) 60%, transparent 70%);
}

.heart-svg path {
	width: 24px;
	fill: transparent;
	stroke: var(--accent-color);
	stroke-width: 2px;
}

.heart-svg:hover {
	cursor: pointer;
	border-color: var(--accent-color);
}

.heart-svg:hover::before { 
	animation: sonar-wave 2s infinite;
}

@keyframes sonar-wave {
    0% {
        opacity: 0.7;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.heart-svg:active {
	animation: pulse 1s infinite;
}

.heart-svg:active path,
.wpulike-robeen .wp_ulike_btn:checked+svg .heart {
	fill: var(--accent-color);
}

@keyframes pulse {
    0% {
	    transform: scale(0.9);
    }
    100% {
	    transform: scale(1.1);
    }
}

.entry-meta a:hover {}

.entry-meta .published {}

.entry-social a { 
	margin-left: 12px; 
}

/* === Post content and excerpts === */

.entry {
	margin: 0;
}

.entry-content {
    margin-bottom: 2em;
    font-family: Georgia, Cambria, "Times New Roman", Times, serif;
    font-size: 1.125em;
}

.entry-summary {
	font-size: 1.225em;
	color: var(--meta-color);
	line-height: 1.6;
}

.excerpt .entry-summary {
	font-size: 0.925em;
	max-height: 3.35em;
	overflow: hidden;
}

.excerpt .entry-title {
	font-size: 125%;
}

.excerpt .avatar {
	width: 36px;
	height: 36px;
}


/* === Post Footer === */

.entry-footer {
	color: var(--meta-color);
}

.entry-footer a[rel=tag] {
	font-size: .875rem;
	background: var(--line-color);
	border-radius: 2px;
	color: var(--meta-color);
	display: inline-block;
	font-weight: 500;
	padding: .45em .75em;
	border-radius: 4px;
}

.entry-footer .entry-meta {
	display: block;
	clear: both;
	border-top: 1px solid var(--line-color);
	padding: 4em 0 40px;
	margin: 4em 0 0;
	font-size: 0.95em;
}

.entry-footer img {
	width: 80px;
	height: 80px;
	margin: -4px 24px 0 0;
}

.entry-footer .entry-byline {
	margin-bottom: 3em;
}

.entry-footer .entry-byline p a {
	font-size: 1.125em;
	font-weight: 700;
	margin-top: -0.35em;
	margin-bottom: 0.15em;
}

.entry-meta a.button {
	margin-left: auto;
}


/* ====== Attachment Meta (on image attachment pages) ====== */

.attachment-meta {}

.attachment-meta .image-gallery {}

.attachment-meta .image-info {}

.image-info ul {}

.image-info ul li {}

.image-info .prep {}

.image-info .image-data {}


/* ====== LOOP META ====== */

.archive-header {
	margin-bottom: 40px;
	padding: 2em 0;
}

.archive-title {
	
}

.archive-description {
	max-width: 48ch;
	color: var(--meta-color);
}

body.archive #header,
body.search #header,
body.error-404 #header,
.archive-header,
body.archive .menu-primary,
body.search  .menu-primary,
body.error-404  .menu-primary {
	background: var(--block-color);
}


/* ====== PAGINATION ====== */


/* === Single post navigation (between different posts) === */

.loop-nav {
	display: flex;
	padding: 2em 0;
	color: var(--meta-color);
	font-size: 0.875em;
	font-weight: 500;
}

.loop-nav>div {
	flex: 1 1 0
}

.loop-nav>div:first-child {
	border-right: 1px solid;
	padding-right: 1em;
	text-align: right;
	max-width: 50%;
}

.loop-nav>div:last-child {
	padding-left: 1em;
}

.loop-nav a {
	display: block;
	word-break: break-word;
}

.loop-nav a:hover {}

.loop-nav a[rel="prev"] {}

.loop-nav a[rel="next"] {}


/* === Archive-type pages === */

.nav-links,
.post-nav-links,
.comments-nav {
	display: flex;
	margin: 0 0 7em;
	justify-content: center;border-top: 1px solid var(--line-color);font-size: 12pt;}

.pagination .page-numbers,
.page-links .page-numbers,
.page-links a {
	padding: 8px;
	min-width: 48px;
	height: 46px;
	line-height: 46px;
	text-align: center;
	display: inline-block;
	margin: 0;
}

.post-nav-links,
.comments-nav {
	height: 46px;
	line-height: 46px;
	color: var(--meta-color);
}

.post-nav-links > *,
.comments-nav > * {
	display: inline-block;
	min-width: 48px;
	text-align: center;
}


.pagination a.page-numbers {}

.pagination a.page-numbers:hover,
.page-links a:hover {
	border-color: var(--text-color);
}

.page-numbers.current,
.post-nav-links span.page-numbers {
    border-top: 1px solid var(--text-color);
    position: relative;
    top: -1px;
}

.post-nav-links span.page-numbers,
.comments-nav span.page-numbers {
	margin-left: 8px;
}

.page-numbers.dots {
	border: 0;
	margin: 0;
}

.page-numbers.prev,
.page-numbers.next {
	/* font-size: 11pt; */
	padding: 8px 16px;
	/* line-height: 46px; */
}

.page-numbers.next {
	float: right;
}

/* Accessibility */
/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  display: block;
  font-size: 11pt;
  font-weight: bold;
  height: auto;
  top: 1em;
  right: 1em;
  padding: 1em 2em;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#main[tabindex="-1"]:focus {
  outline: 0;
}


/* === Comments pagination === */

.comments-nav {}

.comments-nav a {}

.comments-nav a:hover {}

.comments-nav .page-numbers {}


/* ___________________________________________________________________________  
 	
 	4. SIDEBARS
______________________________________________________________________________ */

/**
 * Sidebars and widgets
 * --------------------------------------------------------------------------- */


/* ====== General ====== */

.sidebar {

}

.widget {

}

.widget-title {}

.widget form,
.widget div {
	width: 100%;
	padding: 0;
	margin: 0;
}

.sidebar-primary {
	margin-bottom: 2em;
	height: 100%;
}

.sidebar-primary .widget {
	margin-bottom: 2em;
}

.sidebar-primary .widget ul,
.sidebar-primary .widget ol {
	padding: 0;
	list-style: none;
}

.sidebar-primary > div {
	position: -webkit-sticky;
	position: sticky;
	top: 72px;
	z-index: 20;
}

.admin-bar .sidebar-primary > div {
	top: 100px;
}

.grid.popular {
	counter-reset: zerocounter;
	grid-template-columns: 1fr;
}

.popular article {
	padding-left: 64px;
	margin-bottom: 24px;
	position: relative;
	counter-increment: zerocounter;
}

.popular article::before {
	content: "0 " counter(zerocounter);
	position: absolute;
	color: var(--line-color);
	font-size: 2em;
	font-weight: 700;
	left: 0;
	letter-spacing: -0.1em;
	line-height: 1;
}

.popular .entry-title {
	font-size: 100%;
	margin-bottom: 4px;
	margin-top: 0;
}

.popular .excerpt-image,
.popular .entry-summary {
	display: none;
}

.popular .entry-byline p a {
	display: inline;
}

.popular article .entry-meta {
	padding: 4px 0;
}

.popular .entry-category {
	display: inline;
}

.popular .excerpt .avatar {
	display: none;
}

/**
 * Login Popup
 * --------------------------------------------------------------------------- */

#login-popup {
     display: none;
     opacity: 0;
     width: 400px;
     position: fixed;
     left: 0;
     top: 0;
     right: 0;
     margin: 240px auto;
     background: white;
     z-index: 999;
     box-shadow: 7px 8px 16px rgba(138,157,167,.19);
     padding: 60px;
     text-align: center;
     font-size: 0.875em;
}
 body.login-shown #login-popup {
     display: block;
     opacity: 0;
     -webkit-animation: revealPopup .6s cubic-bezier(0.7,0,0.3,1) forwards;
     animation: revealPopup .6s cubic-bezier(0.7,0,0.3,1) forwards;
}
 @-webkit-keyframes revealPopup {
     0% {
         opacity: 0;
         -webkit-transform: translateY(40px);
         transform: translateY(40px);
    }
     100% {
         opacity: 1;
         -webkit-transform: translateY(0);
         transform: translateY(0);
    }
}
 @keyframes revealPopup {
     0% {
         opacity: 0;
         transform: translateY(40px);
    }
     100% {
         opacity: 1;
         transform: translateY(0);
    }
}
 #login-popup .close {
     position: absolute;
     right: 0;
     top: 0;
     padding: 24px;
}
 #login-popup .button {
    
}
 .wp-social-login-provider-list a {
     margin: 8px;
}
#login-popup form { text-align: left; }
#login-popup form input[type=submit] { width: 100%; }
.wp-social-login-widget {
	border-top: 1px solid var(--line-color);
	padding: 24px 0 0;
	margin: 24px 0 0;
}
.wp-social-login-provider-list {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.wp-social-login-provider-list a {
	width: 100%;
	border: 1px solid var(--button-color);
	padding: 8px;
	border-radius: 4px;
	font-weight: 700;
	display: flex;
}
.wp-social-login-provider-list a:hover {
	background: var(--button-color);
}
.wp-social-login-provider-list a::after {
	margin-left: auto;
	margin-right: auto;
	line-height: 32px;
}
.wp-social-login-provider-list img { margin-right: -36px; }
.wp-social-login-provider-list a:hover::after { color: white; }
.wp-social-login-provider-facebook::after { content: 'Facebook'; }
.wp-social-login-provider-google::after { content: 'Google'; }
.wp-social-login-provider-twitter::after { content: 'Twitter'; }
 

/* ___________________________________________________________________________  
 	
 	5. COMMENTS
______________________________________________________________________________ */


/**
 * Comments Template
 * --------------------------------------------------------------------------- */

#show-comments {
	margin: 0 0 5em;
	clear: both;
}

details summary::-webkit-details-marker {
  display:none;
}

#show-comments summary > a.button {
	display: block;
	text-align: center;
	padding: 0.5em 0;
	margin-bottom: 2em;
}

/* ====== COMMENTS ======= */

#comments {
    margin: 3em 0 0;
}

#comments-number {}


/* === Comments closed message === */

.comments-closed {
	font-size: .875rem;
	background: rgba(0, 0, 0, 0.04);
	border-radius: 2px;
	color: var(--tag-color);
	display: inline-block;
	font-weight: 500;
	padding: .2em .65em;
	border-radius: 4px;
}

.comments-closed.pings-open {}


/* === Comment list === */

ol.comment-list {
	list-style: none;
	padding-left: 0;
	padding-bottom: 0;
	margin: 0;
}

ol.comment-list ol.children {
    padding-left: 0;
    margin-top: 24px;
}


/* === Individual comments */

li.comment {
	list-style-type: none;
	background: white;
	box-shadow: 0 1px 4px rgba(0,0,0,.04);
	border: 1px solid rgba(0,0,0,.09);
	border-radius: 4px;
	margin: 0 0 2em;
	padding: 2em;
}

.comment-body {
}

li.ping {
	margin: 0 0 20px;
}

li.bypostauthor {
	position: relative;
}

.reply { }

.says {
	display: none;
}

/* === Avatars === */

.comment-list .avatar {}


/* === Meta === */

.comment-meta {
	font-size: 11pt;
	color: var(--meta-color);
}

.comment-author {
	
}


.comment-metadata a {
	color: inherit;
}
.comment-author cite {}

.comment-meta .published {}


/* === Comment text/content === */

.comment-content {
	margin: 2em 0 0;
}

.comment-content p {
	padding-bottom: 8px;
}


/* === Reply & Edit links === */

.comment-reply-link,
.comment-edit-link {
	font-size: .875rem;
	background: rgba(0, 0, 0, 0.04);
	border-radius: 2px;
	color: var(--tag-color);
	display: inline-block;
	font-weight: 500;
	padding: .2em .65em;
	border-radius: 4px;
}

.comment-reply-link:hover,
.comment-edit-link:hover {
	color: black;
	font-weight: 600;
}

.comment-edit-link {
	float: right;
	margin-top: -20px;
}


/* ====== RESPOND (COMMENT FORM) ====== */

#respond form {
	margin-bottom: 2em;
}

#reply-title {}

#reply-title small {}

#respond .log-in-out {}

form p {
	margin-bottom: 1em;
}

form label .required {
	color: red;
}

#respond label[for=comment] {
	display: none;
}

.comment-notes,
.logged-in-as {
	color: var(--meta-color);
	font-weight: 500;
	font-size: 0.775em;
}


/* ___________________________________________________________________________  
 	
 	6. FOOTER
______________________________________________________________________________ */

/**
 * Footer
 * --------------------------------------------------------------------------- */

#footer .wrapper {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid var(--line-color);
	padding-bottom: 2em;
	margin-bottom: 4em;
	font-size: 0.875em;
	flex-wrap: wrap;
}

#footer .wrapper > * {
	 width: 10em;
	 margin: 0 0 2em;
}

#footer .widget-title {
	color: var(--text-color);
	font-size: 100%;
	font-weight: normal;
	border: 0;
	margin: 0;
}

#footer .widget-title span {
	border: 0;
}

#footer .credit,
#footer .branding {
	font-size: 10pt;
	padding: 1em 0 2em;
	max-width: 50ch;
	text-align: center;
	margin: 0 auto;
}

#footer a {
	color: inherit;
}

#footer ul {
	padding: 0;
	list-style: none;
}

#footer a:hover {}

#footer .widget img {
	max-width: 120px;
}

.social-icons {
	display: flex;
	margin: 0 auto;
	justify-content: center;
	max-width: 30em;
}

.social-icons img {
	height: 22px;
	width: auto;
	margin: 6px;
}

/* === Forms === */

form {}

fieldset {}

fieldset legend {}

label {
	color: var(--meta-color);
	font-weight: 500;
	font-size: 0.875em;
}

input,
select,
textarea {
	height: 42px;
	font-size: 12pt;
	background-color: #fff;
	border: 2px solid var(--line-color);
	border-radius: 4px;
	color: var(--text-color);
	display: inline-block;
	margin: 4px 0;
	outline: 0;
	padding: 0 18px;
	position: relative;
	vertical-align: middle;
	width: 100%;
}


/* Not all types, but these are more common for themes. */

input[type="button"] {}

input[type="checkbox"] { 
	width: 24px;
    height: 24px;
}

input[type="email"] {}

input[type="password"] {}

input[type="radio"] {
	width: 24px;
    height: 24px;
}

input[type="reset"] {}

input[type="search"] {}

input[type="submit"] {}

input[type="text"] {}

input[type="url"] {}

textarea {
	overflow: auto;
	padding-top: 0.75em;
	height: 200px;
}

select { }

select optgroup {}

select option {}

button,
input[type=submit],
.button {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: 1px solid;
	border-color: var(--button-color);
	color: var(--button-color);
	cursor: pointer;
	display: inline-block;
	border-radius: 4px;
	font-weight: normal;
	padding: 0 12px;
	line-height: 42px;
	text-decoration: none;
	width: auto;
}

button:hover,
input[type=submit]:hover,
.button:hover {
	background: var(--button-color);
	color: white !important;
}

.search-form,
.post-password-form p {
	display: flex;
	align-items: flex-end;
}

.search-form > label,
.post-password-form label { flex: 1; margin-right: 8px; }

#main .search-form {
	margin: 0 0 40px;
}


/* ___________________________________________________________________________  
 	
 	7. RESPONSIVENESS
______________________________________________________________________________ */


/**
 * Media Queries
 * --------------------------------------------------------------------------- */
@media screen and (max-width: 1200px) { 
	/* smaller type */ 
	body {font-size: 1rem;overflow-x: hidden;} 
	.wrapper { width: 100%; padding: 0 18px; }
	
	/* post */
	.sticky-block { visibility: hidden; }
	
	/* layouts */
	.grid.featured {
		grid-template-rows: auto;
	}
	.featured article, .boxed article {
		grid-column: auto !important;
		grid-row: auto !important;
		align-self: auto !important;
	}
	.featured article .excerpt-image {
		width: 100% !important;
		height: 180px !important;
		float: none !important;
		margin: 0 0 24px !important;
	}
	.featured article .excerpt-image img {
		height: 180px !important;
	}
	.grid.boxed {  }
	
	/* images */
	.alignnone,
	.alignfull,
	.alignwide,
	.wp-block-cover, .wp-block-cover-image { width: 100vw; max-width: 100vw; margin-left: -18px; }
	.wp-block-cover__inner-container { padding: 0; }
	
	/* menu */
	.menu-primary .wrap {
		overflow-x: scroll;
		overflow-y: visible;
		max-width: 1200px;
		width: 100vw;
		position: relative;
		-ms-overflow-style: none;
	}
	
	/* Hide scrollbar for Chrome, Safari and Opera */
	.menu-primary .wrap::-webkit-scrollbar {
	  display: none;
	}
	
	.menu-primary-mover {
		display: block;
	}
	
	.menu-primary .wrap > ul {
		white-space: nowrap;
		width: auto;
		flex-wrap: nowrap;
	}
}

@media screen and (max-width: 600px) { 
	body {font-size: 0.9rem; } 
	
	/* header */
	#header {padding-top: 0;margin-bottom: 0;}
	.menu-primary { margin-top: 0; }
	#extras a.button { display: none; }
	#extras input[type=search] { width: 10px; }
	 
	/* posts with sidebar */
	.wrapper-with-sidebar { grid-template-columns: 1fr; }
	
	/* post */
	.thumbnail { margin: 0 -18px 1em; }
	
	/* layout details */
	.list .excerpt-image { width: 120px; height: 120px; }
	.list .excerpt-image img {
		height: 120px;
	}	
	.grid.featured2 { grid-template-columns: 1fr; }
	.featured2 article {
		flex-wrap: wrap;
	}
	.featured2 article:nth-child(1) .excerpt-image {
		width: 100%;
		height: auto;
		margin-right: 0;
		margin-bottom: 8px;
	}
	.featured2 .excerpt-image img {
		max-width: 100%;
		height: auto;
	}
}

/**
 * Clearing Floats
 * --------------------------------------------------------------------------- */

.clearfix::after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}