/*
Theme Name:     Baylys-Child
Template:       baylys
Version:	1.0
*/

@import url('../baylys/style.css');

/* border utility class */
.border {
	border: 1px solid #e9e9e9;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.shadow {
	box-shadow: 0 1px 20px 0px rgba(0, 0, 0, 0.1);
}

.thumbnail {
	position: relative;
}

.thumbnail::before {
	box-shadow: inset 0 0 50px 3px rgba(0, 0, 0, 0.1);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	content: "";
	pointer-events: none;
}

.center {
	text-align: center;
}

.size-full {
	width: 100%;
}

.standard-btn.xlarge-btn,
.standard-btn.large-btn {
	margin-bottom: 45px;
}

#main-wrap {
	max-width: 100%;
	padding-top: 0;
}

.one-column #content,
.one-column #sidebar {
	max-width: 800px;
}

/* hide featured images */
.home article .entry-content.clearfix a:first-child {
	display: none;
}

/* hide comments link if 0 comments */
.comments-link[href*="#respond"] {
	display: none;
}

/* hide tags */
.entry-meta ul li.entry-cats {
	display: none;
}

/* hide social buttons */
.pinit,
iframe[src^="//assets.pinterest.com"] {
	display: none !important;
}

.fb {
	overflow: hidden;
}

.gplus {
	display: none !important;
}

.comment-form-subscriptions {
	margin-top: 25px;
}

#subscribe-reloaded {
	width: auto !important;
}

#site-nav-container {
	border-bottom: none;
}

#nav-below {
	display: flex;
	justify-content: space-between;
}

#nav-below::after {
	content: none;
}

.nav-previous,
.nav-next,
.nav-archives {
	width: calc(100% / 3);
}

.nav-archives {
	text-align: center;
}

.nav-next {
	text-align: right;
}

html {
	font-size: 14px !important;
}

#site-title img {
	max-width: 100px;
	transition: 0.2s filter;
}

#site-title img:hover {
	filter: invert(1) brightness(1.1);
}

#mobile-menu-btn {
	top: 0;
}

.entry-header {
	margin: 2em 0;
}

.entry-content p,
.entry-summary p,
#comments .comment-content p {
	margin-bottom: 1.5em;
}

#searchform {
	margin-top: 0;
}

#searchform input#s {
	border: none;
	box-shadow: none;
}

pre[class*="language-"] {
	margin-bottom: 1.5em !important;
}

blockquote {	
	border-left: 2px solid #E3E0D8;
}

table tr:first-child {
  border-top: 1px solid #E3E0D8;
}

/* style blockquote paragraphs */
.single-post .entry-content blockquote p,
.single-post .entry-content blockquote p:last-child {
	margin: 0 3em 2em;
	font-size: 1.25rem;
	font-weight: normal;
	font-style: normal;
	line-height: 1.6;
}

/* color links in archives */
ul#smart-archives-block li a {
	color: #3AB8E6;
}

/* headers in projects */
.three-columns-one h4 {
	margin: .5em 0 0;
}

.project a {
	color: #423F37;
}

.project a:hover {
	color: #2A8EBC;
}

.project .caption {
	text-align: center;
}

.project p {
	font-size: 1rem;
}

.crossfade {
	position:relative;
	margin:0 auto;
	height: 300px;
}

.crossfade img {
	position:absolute;
	left:0;
	top: 0;
	-webkit-transition: opacity 1s ease-in-out;
	-moz-transition: opacity 1s ease-in-out;
	transition: opacity 1s ease-in-out;
}

.crossfade img.top:hover {
	opacity:0;
}

img.size-xl {
	max-width: 120%;
	margin-left: -10%;
}

/* style widget paragraphs */
.textwidget > p {
	margin-bottom: 1em;
}

.textwidget .contact-form label,
.textwidget .contact-form field {
	display: block;
}

.widget-area .widget.most-shared-posts ul li {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

#footerwidget-wrap {
	border-bottom: none;
}

#footerwidget-wrap .widget a {
	font-weight: normal;
}

#footerwidget-wrap textarea {
	width: 100%;
}

#footer .social-links {
	display: flex;
	gap: 5px;
}

#footer .social-links a {
	display: flex;
	width: 40px;
	height: 40px;
	place-content: center;
	flex-wrap: wrap;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: background-color 0.2s;
}

#footer .social-links a:hover {
    background-color: rgba(0, 0, 0, 0.3);
	color: #fff !important;
}

#footer .social-links .bluesky:hover {
    background-color: #1181f6;
}

#footer .social-links .dribbble:hover {
    background-color: #ea4c89;
}

#footer .social-links .email:hover {
    background-color: #545de1;
}

#footer .social-links .github:hover {
    background-color: #4479c5;
}

#footer .social-links .instagram:hover {
    background-color: #cf2982;
}

#footer .social-links .linkedin:hover {
    background-color: #1683bc;
}

#footer .social-links .rss:hover {
    background-color: #ed802f;
}

#footer .social-links .twitter:hover {
    background-color: #01a0d1;
}

#footer .social-links .youtube:hover {
    background-color: #ff1a3a;
}

#footer .social-links i {
	font-size: 1.4rem;
}

.share {
	filter: gray;
	filter:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'/></filter></svg>#grayscale");
        -webkit-filter:grayscale(1);
        filter:grayscale(1);
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	-webkit-transform: translateZ(0); 

	opacity: 0;
    -webkit-animation: fadein 2s ease 2s 1;
       -moz-animation: fadein 2s ease 2s 1;
        -ms-animation: fadein 2s ease 2s 1;
            animation: fadein 2s ease 2s 1;
    -webkit-animation-fill-mode: forwards;
       -moz-animation-fill-mode: forwards;
        -ms-animation-fill-mode: forwards;
	    animation-fill-mode: forwards;
}

.share:hover {
	-webkit-filter: none;
	filter: none;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

ul.sociallinks li {
	float: left;
	margin-right: 0;
	-webkit-transform: scale(0.8);
	transform: scale(0.8);
}

ul.sociallinks li a,
ul.sociallinks li a:hover {
	transition: none;
}

.sociallinks .email {
	background-color: #545de1 !important;
}

.sociallinks .twitter {
	background-color: #00a0d1 !important;
}

.sociallinks .instagram {
	background-color: #c90f69 !important;
}

.sociallinks .github {
	background-color: #4183c4 !important;
}

.sociallinks .dribbble {
	background-color: #ea4c89 !important;
}

.sociallinks .facebook {
	background-color: #3A5998 !important;
}

.sociallinks .linkedin {
	background-color: #1783BC !important;
}

.sociallinks .youtube {
	background-color: #e8352d !important;
}

.sociallinks .rss {
	background-color: #ee802f !important;
}

.sociallinks .rsscomments {
	background-color: #e74c3c!important;
}

.input-large {
	width:250px;
	height: 60px;
	display:inline-block;
	margin-right:1.3%;
	padding:0 0 0 16px;
	background:#f8f8f8;
	border:none;
	color:#5F5C52;
	font-family: 'Open Sans', sans-serif;
	font-size:1rem;
	-webkit-appearance: none;
	-webkit-transition: all 0.18s ease-in-out;
	   -moz-transition: all 0.18s ease-in-out;
	     -o-transition: all 0.18s ease-in-out;
	        transition: all 0.18s ease-in-out;
}
.input-large:hover,
.input-large:focus,
.input-large:active {
	border:none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

@media screen and (max-width: 480px) {

	.entry-header h1.entry-title,
	.entry-header h2.entry-title {
		font-weight: bold;
	}

	.entry-header h1.entry-title,
	.entry-header h2.entry-title,
	#comments #respond h3#reply-title,
	#comments h3#comments-title,
	h1, h2, h3, h4 {
		font-size: 1.25rem;
	}

	body {
		font-size: 14px;
	}

	.entry-details {
		padding: 0px 0 10px 0;
		font-size: 12px;
	}

	.entry-details a.entry-date {
		font-size: 12px;
	}

	.single-post .entry-meta {
		display: none;
	}
		
	.single-post .entry-content blockquote p,
	.single-post .entry-content blockquote p:last-child {
		margin: 0 1em 2em;
	}

	#commentform input#author, #commentform input#email,
	#commentform input#url, #content .wpcf7 input.wpcf7-text {
		padding: 5px;
	}
	#commentform textarea#comment, #content .wpcf7 textarea {
		height: 100px;
		font-size: 1rem;
	}

	input#submit, input.wpcf7-submit,
	.jetpack_subscription_widget form#subscribe-blog input[type="submit"] {
		padding: 10px 20px;
		font-size: 1rem;
	}
}

@media screen and (min-width: 480px) {
    img.wp-post-image {
        margin: 0px 25px 0 0;
        max-width: 85px;
        background-color: rgba(0, 0, 0, 0.05);
        filter: brightness(0.95);
    }
}

@media screen and (max-width: 767px) {

	.three-columns-one {
		margin-bottom: 50px;
	}

	#header {
		padding: 30px 0 0;
	}

	.divider {
		display: none;
	}

	.entry-content p, .entry-summary p, .entry-content ol, .entry-content ul,
	.entry-content dl, .entry-content dl, address, .page-link,
	.single-post .entry-content blockquote p,
	.single-post .entry-content blockquote p:last-child,
	#comments .comment-content p {
		font-size: 100%;
	}
}

@media screen and (min-width: 768px) {

	#main-wrap {
		margin: 0 60px;
	}

	h1 {
		margin-bottom: 1em;
	}

	h2 {
		margin-bottom: 0.7em;
	}

	h3, h4, h5 {
		font-size: 1.25rem;
	}

	.entry-header h1.entry-title,
	.entry-header h2.entry-title {
		font-size: 2rem;
	}
}

@media screen and (max-width: 1179px) {

	#site-title {
		float: none;
		padding-bottom: 20px;
		text-align: center;
	}

	#site-title img {
		float: none;
	}

	#site-nav ul li {
		border-bottom: 1px solid #222;
	}

	img.size-xl {
		max-width: 100%;
		margin-left: 0;
	}
}

@media screen and (min-width: 1180px) {

	#header {
		margin-bottom: 60px
	}

	#site-title {
		padding: 30px 0 0;
	}

	#site-title img {
		max-width: 100px;
		width: 100%;
		padding-bottom: 0;
	}

	.single-post #content .post,
	#content .page,
	#content .type-attachment {
		padding: 0 0 50px 0;
	}
}

@media (prefers-color-scheme: dark) {
    body {
        color: rgba(255, 255, 255, 0.8);
        background: #202124;
    }
	
	h1, h2, h3, h4, h5, h6 {
		color: #fff;
	}
	
	h1.entry-title {
		color: #fff !important;
	}
	
	#site-nav li a,
	.entry-header h2.entry-title a,
	.author-info .author-details h3 a,
	#smart-archives-list ul li a,
	#comments ol li.pingback span,
	.project a {
		color: #fff;
	}
	
	.entry-details a:hover {
		color: #3AB8E6;
	}
	
	#site-title img {
		filter: invert(1);
	}
	
	#comments .comment-content,
	#comments ol li.pingback {
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}
	
	#comments .comment-content ul li.comment-reply a {
		color: #111;
	}
	
	.one-column #content .post {
		background: none;
	}
}

@view-transition {
  navigation: auto;
}
