/**
 * Styles for the Photo RAW Project
 *
 * @author      Jim Mock
 * @copyright   2022, ON1
 */

/*------------------------------------------------------------------------------
 * Hero
 -----------------------------------------------------------------------------*/
body.raw-project #hero .fa-stack { font-size: 1.5rem; }

body.raw-project #hero span.tooltip-trigger {
	display: block;
	width: 100%;
}

/*------------------------------------------------------------------------------
 * Navigation
 -----------------------------------------------------------------------------*/
body.raw-project #raw-project-navigation h3 a {
	color: #303030;
	font-weight: 500;
	text-decoration: none;
}

body.raw-project #raw-project-navigation h3 strong { font-weight: 900; }

body.raw-project #raw-project-navigation input[type=text] {
	font-size: 0.875rem;
	margin: 0;
}

body.raw-project #raw-project-navigation .search-form {
	font-size: 0.875rem;
	width: 340px;
}

body.raw-project #raw-project-navigation .search-form .form-control:focus { border-color: #0a7efa; }

body.raw-project #raw-project-navigation .back-link {
	color: #7c7c7d;
	font-size: 0.875rem;
}

body.raw-project #raw-project-navigation .back-link:hover { color: #676767; }

body.raw-project #raw-project-navigation .bottom-border {
	border-bottom: 2px solid #eaeaea;
	padding-left: 15px;
	padding-right: 15px;
}

/*------------------------------------------------------------------------------
 * Content
 -----------------------------------------------------------------------------*/
body.raw-project #site-main .raw-project-dropdowns .dropdown-menu {
	font-size: 0.875rem;
	margin-top: 0;
	padding: 0.625rem 0;
}

body.raw-project #site-main .raw-project-dropdowns .dropdown-toggle {
	color: #676767;
	font-weight: 500;
	text-decoration: none;
}

body.raw-project #site-main .raw-project-dropdowns .dropdown-item { color: #676767; }
body.raw-project #site-main .raw-project-dropdowns .dropdown-item:hover { color: #303030; }

body.raw-project #site-main .raw-project-dropdowns .dropdown-toggle::after {
	border: none;
	content: '\f107';
	font-family: 'Font Awesome 6 Pro';
	font-size: 0.875rem;
	line-height: 1;
	margin-left: 0.313rem;
	margin-top: -0.125rem;
	vertical-align: middle;
}

body.raw-project #site-main .idea-header a { text-decoration: none; }

body.raw-project #site-main .idea-header a.icon::before {
	color: #fe842a;
	margin-right: 0.313rem;
}

body.raw-project #site-main .idea-header .idea-rating-link { font-size: 1rem; }
body.raw-project #site-main .idea-header .average-rating { font-weight: 400; }

body.raw-project #site-main .idea-title a {
	color: #303030;
	display: inline-block;
	font-size: 1.125rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
}

body.raw-project #site-main .idea-excerpt { color: #676767; }

body.raw-project #site-main .idea-footer {
	border-top: 2px solid #eaeaea;
	font-size: 0.875rem;
	padding-top: 0.75rem;
}

body.raw-project #site-main .idea-footer i.fa-comment { margin-right: 0.313rem; }

body.raw-project #site-main #wp-idea-stream-form label {
	color: #7c7c7d;
	display: block;
	font-size: 0.875rem;
	margin-bottom: 0;
}

body.raw-project #site-main #wp-idea-stream-form label.wpforms-field-sublabel { font-size: 0.75rem; }
body.raw-project #site-main #wp-idea-stream-form .form-group { margin-bottom: 1.875rem; }
body.raw-project #site-main #wp-idea-stream-form .form-group.form-title { width: 70%; }

body.raw-project #site-main #wp-idea-stream-form .form-control {
	border: 1px solid #eaeaea;
	border-left: none;
	border-radius: 0;
	border-right: none;
	border-top: none;
	color: #303030;
}

body.raw-project #site-main #wp-idea-stream-form textarea.form-control {
	display: block;
	width: 100%;
	height: auto;
	min-height: 200px;
	padding: .375rem .75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

body.raw-project #site-main #wp-idea-stream-form .form-control:focus { border-color: #0a7efa; }

body.raw-project #site-main #wp-idea-stream-form .form-control.is-valid, body.raw-project #site-main #wp-idea-stream-form.was-validated .form-control:valid {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2321ce6e' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
	background-position: center right calc(.375em + .1875rem);
	background-repeat: no-repeat;
	background-size: calc(.75em + .375rem) calc(.75em + .375rem);
	border-color: #21ce6e;
}

body.raw-project #site-main #wp-idea-stream-form .form-control.is-invalid, body.raw-project #site-main #wp-idea-stream-form.was-validated .form-control:invalid {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ff3d57' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23ff3d57' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
	background-position: center right calc(.375em + .1875rem);
	background-repeat: no-repeat;
	background-size: calc(.75em + .375rem) calc(.75em + .375rem);
	border-color: #ff3d57;
}

body.raw-project #site-main #wp-idea-stream-form .form-control.is-valid:focus, body.raw-project #site-main #wp-idea-stream-form.was-validated .form-control:valid:focus, body.raw-project #site-main #wp-idea-stream-form .form-control.is-invalid:focus, body.raw-project #site-main #wp-idea-stream-form.was-validated .form-control:invalid:focus { box-shadow: none; }

/*------------------------------------------------------------------------------
 * Individual idea posts
 -----------------------------------------------------------------------------*/
body.raw-project.single #site-main div.message { display: none; }

body.raw-project.single #site-main .idea-header, body.raw-project.single #site-main .idea-footer {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.raw-project.single #site-main .idea-header { margin-bottom: 0; }
body.raw-project.single #site-main .idea-header #rate i { color: #fe842a; }

body.raw-project.single #site-main .idea-header .rating-info {
	font-size: 1rem;
	font-weight: 400;
	margin-left: 1rem;
}

body.raw-project.single #site-main .idea-header .rating-info a:hover { font-weight: 400; }

body.raw-project.single #site-main .idea-content { color: #676767; }
body.raw-project.single #site-main .idea-footer { margin-top: 2rem; }
body.raw-project.single #site-main .idea-footer .idea-meta img.avatar { display: none; }

body.raw-project.single #site-main #comments .comment-list {
	margin: 0;
	padding: 0;
}

body.raw-project.single #site-main #comments .comment-list li { list-style-type: none; }
body.raw-project.single #site-main #comments .comment-list .comment { margin-bottom: 3rem; }

body.raw-project.single #site-main #comments .comment-list .comment-content {
	background: #f6f6f7;
	border-radius: 10px;
	padding: 1rem;
	position: relative;
}

body.raw-project.single #site-main #comments .comment-list .comment-content:before {
	border-bottom: 10px solid transparent;
	border-left: 10px solid transparent;
	border-right: 10px solid #f6f6f7;
	border-top: 10px solid transparent;
	content: '';
	left: -1.25rem;
	position: absolute;
}

body.raw-project.single #site-main #comments .comment-list .bypostauthor .comment-content {
	background: rgba(10, 126, 250, 0.25);
	color: #0a7efa;
}

body.raw-project.single #site-main #comments .comment-list .bypostauthor .comment-content a { color: #0a7efa; }

body.raw-project.single #site-main #comments .comment-list .bypostauthor .comment-content:before {
	border-bottom: 10px solid transparent;
	border-left: 10px solid transparent;
	border-right: 10px solid rgba(10, 126, 250, 0.25);
	border-top: 10px solid transparent;
}

body.raw-project.single #site-main #comments .comment-list .comment-text p { line-height: 1.6; }
body.raw-project.single #site-main #comments .comment-list .comment-avatar { padding-right: 15px; }
body.raw-project.single #site-main #comments .comment-list .comment-avatar img { border-radius: 10px; }

body.raw-project.single #site-main #comments .comment-list .comment-reply-link, body.raw-project.single #site-main #comments .comment-list .comment-reply-login {
	display: inline-block;
	font-size: 0.75rem;
	margin-top: 1rem;
}

body.raw-project.single #site-main #comments #cancel-comment-reply-link {
	display: inline-block;
	float: right;
	font-size: 0.75rem;
	line-height: 1.25em;
	padding-top: 1.25rem;
}

body.raw-project.single #site-main #comments .comment-meta {
	font-size: 0.875rem;
	margin-bottom: 1rem;
}

body.raw-project.single #site-main #comments #respond h3 {
	color: #303030;
	font-size: 1.625rem;
	font-weight: 600;
	line-height: 1.5;
	margin-bottom: 1rem;
}

body.raw-project.single #site-main #comments .comment-list #respond { margin-left: 15%; }

body.raw-project.single #site-main #comments .comment-form label {
	display: block;
	font-size: 1rem;
}

body.raw-project.single #site-main #comments .comment-form textarea { width: 100%; }

body.raw-project.single #site-main #comments .comment-form input[type=submit] {
	background-color: #0a7efa;
	border: 1px solid transparent;
	border-radius: 0.25rem;
	color: #fff;
	display: inline-block;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	margin-bottom: 0;
	padding: 0.475rem 1.25rem;
	text-align: center;
	transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
	vertical-align: middle;
	-webkit-appearance: none;
}

body.raw-project.single #site-main #comments .privacy-policy-link {
	font-size: 0.75rem;
	font-style: italic;
	margin-bottom: 0;
	margin-top: 1.5rem;
}

/*------------------------------------------------------------------------------
 * Pagination
 -----------------------------------------------------------------------------*/
body.raw-project #site-main .pagination { margin-top: 4rem; }

body.raw-project #site-main .pagination .page-link {
	background: #fff;
	border: 1px solid #eaeaea;
	color: #676767 !important;
	font-weight: 500;
	margin-left: -1px;
}

body.raw-project #site-main .pagination .page-link:hover {
	background: #303030;
	color: #eaeaea !important;
}

body.raw-project #site-main .pagination .page-item.active .page-link {
	background: #1e1e1e;
	border-color: #eaeaea;
	color: #fff !important;
}
