/*!
Theme Name: LivingRI Blog
Theme URI: http://underscores.me/
Author: Livign Realty
Author URI: https://livingrealty.com
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: livingri-blog
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

LivingRI Blog is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

*/

/*  Default Styles
================================*/

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

:root {
	--main-color: #d71921;
	--main-color-hover: #c0161d;
	--white: #ffffff;
	--black: #212529;
	--grey: #727272;
	--lightgrey: #dee2e6;
	--offwhite: #fbfcfc;
}

body {
	font-size: 16px;
	overflow-x: hidden;
	min-height: 100vh;
	background-color: var(--white);
	color: var(--black);
	font-family: 'Lato', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
}

.wp-block-heading {padding-top: 0.5rem;;}

a {
	color: var(--main-color);
}

.btn-bd-primary {
	--bs-btn-font-weight: 600;
	--bs-btn-color: var(--white);
	--bs-btn-bg: var(--main-color);
	--bs-btn-border-color: var(--main-color);
	--bs-btn-hover-color: var(--white);
	--bs-btn-hover-bg: var(--main-color-hover);
	--bs-btn-hover-border-color: var(--main-color-hover);
	--bs-btn-focus-shadow-rgb: none;
	--bs-btn-active-color: var(--white);
	--bs-btn-active-bg: var(--main-color);
	--bs-btn-active-border-color: var(--main-color);
	--bs-btn-border-radius: 0;
}

.btn-bd-outline-primary {
	--bs-btn-font-weight: 600;
	--bs-btn-color: var(--main-color);
	--bs-btn-bg: var(--white);
	--bs-btn-border-color: var(--main-color);
	--bs-btn-hover-color: var(--white);
	--bs-btn-hover-bg: var(--main-color);
	--bs-btn-hover-border-color: var(--main-color);
	--bs-btn-focus-shadow-rgb: none;
	--bs-btn-active-color: var(--white);
	--bs-btn-active-bg: var(--main-color);
	--bs-btn-active-border-color: var(--main-color);
	--bs-btn-border-radius: 0;
}

.btn-bd-outline-secondary {
	--bs-btn-font-weight: 600;
	--bs-btn-color: var(--grey);
	--bs-btn-bg: var(--white);
	--bs-btn-border-color: var(--grey);
	--bs-btn-hover-color: var(--white);
	--bs-btn-hover-bg: var(--grey);
	--bs-btn-hover-border-color: var(--grey);
	--bs-btn-focus-shadow-rgb: none;
	--bs-btn-active-color: var(--white);
	--bs-btn-active-bg: var(--grey);
	--bs-btn-active-border-color: var(--grey);
	--bs-btn-border-radius: 0;
}

#siteLogo {
	max-width: 300px;
	height: auto;
}
.logo-1 {
	fill: #d71921;
	stroke-width: 0px;
}

.blog-bb {
	border-bottom: 1px solid var(--lightgrey);
	padding-bottom: 1.5rem;
}

.blog-bt {
	border-top: 1px solid var(--lightgrey);
	padding-top: 1.5rem;
}

footer {
	background-color: var(--black);
	color: var(--white);
}

footer a {
	color: var(--white);
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

.form-control {
	border-radius: 0;
	padding: 0.75rem 1rem;
}

.wp-block-search__input,
.search-field,
.wp-block-search__input:focus,
.wp-block-search__input:active,
.search-field:focus,
.search-field:active,
input[type="text"].form-control:focus,
textarea.form-control:focus,
input[type="text"].form-control:active,
textarea.form-control:active {
	border-color: var(--lightgrey);
	border-width: 1px;
	outline: none;
	box-shadow: none;
	padding: 8px;
}

/*  Sidebar 
================================ */
.sidebar-section h1,
.sidebar-section h2,
.sidebar-section h3,
.sidebar-section h4,
.sidebar-section h5,
.sidebar-section h6 {
	font-style: italic;
}

.svg-1,
.svg-2 {
	stroke-width: 0px;
}

.svg-1 {fill: var(--black);}
.svg-1.fb-1 {fill: #3b5998;}
.svg-1.inst-1 {fill: #C13584;}
.svg-1.whats-1 {fill: #25D366;}
.svg-1.pin-1 {fill: #E60023;}
.svg-1.link-1 {fill: #0072b1;}
.svg-2 {fill: #fff;}

.social-link svg {
	width: 80px;
	height: auto;
}

.social-link {
	transition: all .15s ease-in-out;
	text-decoration: none;
}

.social-link:hover .svg-1 {
	fill: var(--main-color);
}

.wp-block-search__label {margin-bottom: 1rem;}
.wp-block-search__button,
input[type="submit"].search-submit {
	background-color: var(--main-color);
	color: var(--white);
	font-weight: 700;
	border: 1px solid var(--main-color);
	padding: 6px 10px;
}

.search-form label,
.search-form label input[type="search"],
.search-form input[type="submit"].search-submit {
	width: 100%;
}

/*  Navbar 
================================ */
.mainNav .nav-link {
	color: var(--black);
	font-size: 0.8rem;
	text-transform: uppercase;
	font-weight: bold;
	padding: .75rem 0;
}

.mainNav .nav-link:hover {
	color: var(--white);
	background-color: var(--main-color);
}

.mainNav .navbar-toggler {
	border: none;
}

.mainNav .navbar-toggler:focus {
	box-shadow: none;
}

.mainNav {
	max-width: 2000px;
	margin: 0 auto;
}

.navbar.mainNav {
	--bs-navbar-padding-x: 0;
	--bs-navbar-padding-y: 0;
}


/*  Homepage 
================================ */
.blog-header-logo {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 2.25rem;
}

.blog-header-logo:hover {
	text-decoration: none;
}

#blogCarousel .carousel-indicators {
	margin-bottom: 0;
}

#blogCarousel .carousel-caption {
	right: 0;
	bottom: 0;
	left: 0;
	padding-top: 1rem;
	padding-bottom: 1rem;
	background-color: rgba(0, 0, 0, 0.3);
}

#blogCarousel .carousel-caption h2,
#blogCarousel .carousel-caption h3,
#blogCarousel .carousel-caption h4,
#blogCarousel .carousel-caption h5 {
	margin-bottom: 0;
	font-weight: bold;
	font-size: 1.25rem;
}

#blogCarousel a,
#blogCarousel a:hover,
#blogCarousel a:focus {
	color: var(--white);
	text-decoration: none;
}

.pagination,
.blog-post {
	margin-bottom: 1.5rem;
}

.blog-title a,
.blog-excerpt a {
	text-decoration: none;
	color: var(--black);
}

.blog-excerpt p {margin-bottom: 0;}

.blog-tags a {
	text-decoration: none;
	font-size: 0.8rem;;
}

/*  Posts 
================================ */
.post-meta,
.post-share {
	font-weight: 300;
}

.post-date,
.post-share {
	font-style: italic;
}

.post-bb {
	border-bottom: 1px solid var(--lightgrey);
	padding-bottom: 0.5rem;
}

.post-bt {
	border-top: 1px solid var(--lightgrey);
	padding-top: 0.5rem;
}

.related-post h3 {
	font-size: 1.1rem;
}

.share-link svg {
	width: 30px;
	height: 30px;
}

.entry-comments {
	background-color: var(--offwhite);
}

.entry-comments ol {
	list-style: none;
}

ul.children {
	list-style-type: "\21B3";
}

.comment article {
	border: 1px solid var(--lightgrey);
	margin-bottom: .5rem;
}

.comment-list {
	list-style: none;
	padding: 0;
}

.comment-list .thread-odd,
.comment-list .thread-even {
	margin-bottom: 1rem;
	padding: 0;
}

.comment-header,
.comment-content,
.reply,
footer.comment-meta {
	background-color: var(--white);
	padding: 1rem;
}

.comment-content {
	border-top: 1px dotted var(--grey);
	border-bottom: 1px dotted var(--grey);
}

.comment-content p {
	margin-bottom: 0;
}

.comment-author {
	font-weight: bold;
	margin-bottom: 0;
}

footer.comment-meta {
	color: var(--black);
	font-weight: 300;
	font-size: .9rem;
	margin-bottom: 0;
}

footer.comment-meta a {
	color: var(--black);
}

.comment-time-link {
	text-decoration: none;
}

div#respond {
	padding: 1rem;
	background-color: var(--offwhite);
	margin-bottom: .5rem;
}

h3#reply-title {
	font-size: 1rem;;
}

a#cancel-comment-reply-link {margin-left: .5rem;}

.logged-in-as a {margin: 0 .25rem;;}

a.comment-reply-link {
	font-weight: 400;
	color: var(--main-color);
	background-color: var(--white);
	border: 1px solid var(--main-color);
	padding: .375rem .75rem;
	text-decoration: none;
	border-radius: 0;
}

a.comment-reply-link:hover,
a.comment-reply-link:active,
a.comment-reply-link:focus {
	color: var(--white);
	background-color: var(--main-color);
	border: 1px solid var(--main-color);
	box-shadow: none;
}

h3.rp-title {
	line-height: 1;
	font-size: 1rem;
}

h3.rp-title a {
	text-decoration: none;
	color: var(--black);
}

/*  Archive 
================================ */
.pagination ul {
	list-style: none;
	padding-left: 0;
}

.pagination ul li {
	display: inline-block;
}

.pagination ul li.active a.btn-bd-outline-primary {
	--bs-btn-font-weight: 600;
	--bs-btn-color: var(--white);
	--bs-btn-bg: var(--main-color);
}

.posts-navigation .nav-links div {
	display: inline-block;
	margin-right: .25rem;;
}

.posts-navigation .nav-links div a,
.pagination .nav-links a {
	font-weight: 400;
	color: var(--main-color);
	background-color: var(--white);
	border: 1px solid var(--main-color);
	padding: .375rem .75rem;
	text-decoration: none;
	border-radius: 0;
	margin-left: 0;
	margin-right: .25rem;
}

.pagination .nav-links span.current,
.pagination .nav-links span.dots {
	font-weight: 400;
	color: var(--grey);
	background-color: var(--white);
	border: 1px solid var(--grey);
	padding: .375rem .75rem;
	text-decoration: none;
	border-radius: 0;
	margin-left: 0;
	margin-right: .25rem;
}

.posts-navigation .nav-links div a:hover,
.posts-navigation .nav-links div a:active,
.posts-navigation .nav-links div a:focus,
.pagination .nav-links a:hover,
.pagination .nav-links a:active,
.pagination .nav-links a:focus {
	color: var(--white);
	background-color: var(--main-color);
	border: 1px solid var(--main-color);
	box-shadow: none;
}

.page-numbers-container {display: inline-block;}

/*  Neighbourhood profiles
================================ */
#np-map {
	height: 700px;
	width: 100%;
}

/*  Media Queries 
================================ */
@media (min-width: 768px) {
	.social-link svg {
		width: 40px;
	}
}

@media (min-width: 992px) {
	.social-link svg {
		width: 60px;
	}
}

@media (min-width: 1400px) {
	.social-link svg {
		width: 80px;
	}
}

@media (max-width: 450px) {
	.social-link svg {
		width: 40px;
	}
}