/*
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;
}

.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;
}

.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;
}

html {
	font-size: 14px !important;
}

#site-title img {
	max-width: 100px;
}

#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 input#s {
	border: none;
	box-shadow: none;
}

pre[class*=language-] {
	margin-bottom: 1.5em;
}

blockquote {	
	border-left: 2px 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%;
}

.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);
}

.sociallinks .twitter {
	background-color: #00a0d1 !important;
}

.sociallinks .instagram {
	background-color: #325C86 !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 .rss {
	background-color: #ee802f !important;
}

.sociallinks .rsscomments {
	background-color: #e74c3c!important;
}

@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 (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;
	}
}