/**
 * Styles for the various Plus galleries
 *
 * @author      Jim Mock
 * @copyright   2022, ON1
 */

body.bg-dark {
	background: #040f1d !important;
	color: #bdbdbe !important;
}

/*------------------------------------------------------------------------------
 * Navigation
 -----------------------------------------------------------------------------*/
body.plus-gallery #gallery-navigation h3 a {
	color: #eaeaea;
	font-weight: 500;
	text-decoration: none;
}

body.plus-gallery #gallery-navigation h3 strong { font-weight: 900; }

body.plus-gallery #gallery-navigation .nav a {
	color: #7c7c7d;
	font-size: 0.875rem;
}

body.plus-gallery #gallery-navigation .nav a:hover { color: #bdbdbe; }
body.plus-gallery #gallery-navigation .nav .nav-item:last-child a { padding-right: 0; }

body.plus-gallery #gallery-navigation .nav a.active {
	color: #fff;
	font-weight: 700;
}

body.plus-gallery #gallery-navigation .back-link {
	color: #eaeaea;
	font-size: 0.875rem;
}

body.plus-gallery #gallery-navigation .back-link:hover { color: #bdbdbe; }

body.plus-gallery #gallery-navigation .bottom-border {
	border-bottom: 2px solid #303030;
	padding-left: 15px;
	padding-right: 15px;
}

/*------------------------------------------------------------------------------
 * Content
 -----------------------------------------------------------------------------*/
body.plus-gallery #site-main p { margin-bottom: 1.5rem; }
body.plus-gallery #site-main p:last-child { margin-bottom: 0; }
body.plus-gallery #site-main #gallery-search #search-button { z-index: 0; }
body.plus-gallery #site-main .restricted { position: relative; }

body.plus-gallery #site-main .restricted .inner {
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
}

body.plus-gallery #site-main .restricted-wrapper ul {
	list-style: none;
	margin: 0 0 0 2.5rem;
	padding: 0;
}

body.plus-gallery #site-main .restricted-wrapper ul li { margin-bottom: 1rem; }
body.plus-gallery #site-main .restricted-wrapper ul li:last-child { margin-bottom: 0; }

body.plus-gallery #site-main .restricted-wrapper ul li::before {
	color: #0a7efa;
	content: '\f00c';
	font-family: var(--fa-family-classic);
	font-weight: 400;
	margin: 0 0.75rem 0 -1.75rem;
}

body.plus-gallery #site-main .gallery-dropdowns .dropdown-menu {
	background: #1d232a;
	border: 1px solid #1e1e1e;
	color: #eaeaea;
	font-size: 0.875rem;
	margin-top: 0;
	padding: 0.625rem 0;
}

body.plus-gallery #site-main .gallery-dropdowns .dropdown-menu a { color: #bdbdbe; }

body.plus-gallery #site-main .gallery-dropdowns .dropdown-toggle {
	color: #eaeaea;
	font-weight: 500;
	text-decoration: none;
}

body.plus-gallery #site-main .gallery-dropdowns .dropdown-toggle::after {
	border: none;
	content: '\f107';
	font-family: var(--fa-family-classic);
	font-size: 0.875rem;
	line-height: 1;
	margin-left: 0.313rem;
	margin-top: -0.125rem;
	vertical-align: middle;
}

body.plus-gallery #site-main .gallery-dropdowns .dropdown-menu .dropdown-item:hover {
	background: #303030;
	color: #fff;
}

body.plus-gallery #site-main #gallery-search { width: 340px; }

body.plus-gallery #site-main .gallery-image img {
	height: auto;
	width: 100%;
}

body.plus-gallery #site-main .gallery-image a {
	display: inline-block;
	position: relative;
}

body.plus-gallery #site-main .gallery-image a::after {
	background: linear-gradient(-40deg, rgba(33, 206, 110, 0.85) 0%, rgba(10, 126, 250, 0.85) 100%) !important;
	bottom: 0;
	color: #fff;
	content: '\f002';
	font-family: var(--fa-family-classic);
	font-size: 3rem;
	font-weight: 400;
	height: 100%;
	left: 0;
	opacity: 0;
	padding-top: 5.5rem;
	position: absolute;
	right: 0;
	text-align: center;
	top: 0;
	transition: all 0.5s;
	vertical-align: middle;
	width: 100%;
}

body.plus-gallery #site-main .gallery-image a:hover::after { opacity: 1; }

/*------------------------------------------------------------------------------
 * Single posts
 -----------------------------------------------------------------------------*/
body.plus-gallery.single #site-main .next-post a, body.plus-gallery.single #site-main .prev-post a {
	color: #eaeaea;
	font-size: 0.875rem;
}

body.plus-gallery.single #site-main .next-post a:hover, body.plus-gallery.single #site-main .prev-post a:hover { color: #bdbdbe; }

body.plus-gallery.single #site-main img.featured {
	height: auto;
	width: 100%;
}

body.plus-gallery.single #site-main .photo-copyright {
	font-size: 0.625rem;
	font-weight: 700;
	margin-top: 0.25rem;
	text-transform: uppercase;
}

body.plus-gallery.single #site-main .photo-tags .prefix {
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
}

body.plus-gallery.single #site-main #post-processing {
	border-bottom: 2px solid #303030;
	border-top: 2px solid #303030;
	margin-top: 2rem;
}

body.plus-gallery.single #site-main #exif-info { border-bottom: 2px solid #303030; }

body.plus-gallery.single #site-main #exif-info table tr td:first-of-type { padding-right: 2rem; }

body.plus-gallery.single #site-main #exif-info table tr td {
	padding-bottom: 0.313rem;
	padding-top: 0.313rem;
}

body.plus-gallery.single #site-main #related-posts { border-bottom: 2px solid #303030; }

body.plus-gallery.single #site-main #comments {
	background: #040f1d !important;
	color: #bdbdbe !important;
	margin-top: 2rem;
}

body.plus-gallery.single #site-main #comments h2.comments-title { color: #fff !important; }

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

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

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

body.plus-gallery.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.plus-gallery.single #site-main #comments .comment-list .bypostauthor .comment-content {
	background: rgba(10, 126, 250, 0.25);
	color: #0a7efa;
}

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

body.plus-gallery.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.plus-gallery.single #site-main #comments .comment-list .comment-text p { line-height: 1.6; }
body.plus-gallery.single #site-main #comments .comment-list .comment-avatar { padding-right: 15px; }
body.plus-gallery.single #site-main #comments .comment-list .comment-avatar img { border-radius: 10px; }

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

body.plus-gallery.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.plus-gallery.single #site-main #comments .comment-meta {
	font-size: 0.875rem;
	margin-bottom: 1rem;
}

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

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

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

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

body.plus-gallery.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.plus-gallery.single #site-main #comments .privacy-policy-link {
	font-size: 0.75rem;
	font-style: italic;
	margin-bottom: 0;
	margin-top: 1.5rem;
}

/*------------------------------------------------------------------------------
 * Gallery uploader
 -----------------------------------------------------------------------------*/
body.plus-gallery.gallery-uploader #site-main {

}

body.plus-gallery.gallery-uploader #site-main #gallery-form .wpforms-one-half {
	float: right;
	width: 48%;
}

body.plus-gallery.gallery-uploader #site-main #gallery-form .wpforms-one-half.wpforms-first { float: left; }

body.plus-gallery.gallery-uploader #site-main #gallery-form label {
	color: #7c7c7d;
	display: block;
	font-size: 0.875rem;
	margin-bottom: 0;
}

body.plus-gallery.gallery-uploader #site-main #gallery-form label.wpforms-field-sublabel { font-size: 0.75rem; }
body.plus-gallery.gallery-uploader #site-main #gallery-form .form-group { margin-bottom: 1.875rem; }
body.plus-gallery.gallery-uploader #site-main #gallery-form .form-group.wpforms-field-title { width: 50%; }

body.plus-gallery.gallery-uploader #site-main #gallery-form .form-control {
	background: var(--white) !important;
	border: 1px solid #eaeaea;
	border-left: none;
	border-radius: 0;
	border-right: none;
	border-top: none;
	color: var(--dark);
}

body.plus-gallery.gallery-uploader #site-main #gallery-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.plus-gallery.gallery-uploader #site-main #gallery-form .form-control:focus { border-color: #0a7efa; }

body.plus-gallery.gallery-uploader #site-main #gallery-form .form-control.is-valid, body.plus-gallery.gallery-uploader #site-main #gallery-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.plus-gallery.gallery-uploader #site-main #gallery-form .form-control.is-invalid, body.plus-gallery.gallery-uploader #site-main #gallery-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.plus-gallery.gallery-uploader #site-main #gallery-form .form-control.is-valid:focus, body.plus-gallery.gallery-uploader #site-main #gallery-form.was-validated .form-control:valid:focus, body.plus-gallery.gallery-uploader #site-main #gallery-form .form-control.is-invalid:focus, body.plus-gallery.gallery-uploader #site-main #gallery-form.was-validated .form-control:invalid:focus { box-shadow: none; }
body.plus-gallery.gallery-uploader #site-main #gallery-form .wpforms-field-textarea label, body.plus-gallery.gallery-uploader #site-main #gallery-form .wpforms-field-file-upload label { margin-bottom: 0.5rem; }
body.plus-gallery.gallery-uploader #site-main #gallery-form .wpforms-field-file-upload input { color: #676767; }

body.plus-gallery.gallery-uploader #site-main #gallery-form .wpforms-field-file-upload .wpforms-field-description {
	color: #676767;
	font-size: 0.875rem;
	margin-top: 1rem;
}

body.plus-gallery.gallery-uploader #site-main #gallery-form .wpforms-field-email .wpforms-field-description {
	font-size: 0.75rem;
	font-weight: 600;
	margin-top: 0.25rem;
}

body.plus-gallery.gallery-uploader #site-main #gallery-form .wpforms-error {
	color: #ff3d57;
	font-weight: 700;
}

body.plus-gallery.gallery-uploader #site-main #gallery-form .wpforms-form .wpforms-list-3-columns ul {
	display: flex;
	flex-wrap: wrap;
	margin: 0.5rem 0 0 0;
	padding: 0;
}

body.plus-gallery.gallery-uploader #site-main #gallery-form .wpforms-form .wpforms-list-3-columns ul li {
	display: block;
	padding-right: 20px !important;
	width: 33.3333%;
}

body.plus-gallery.gallery-uploader #site-main #gallery-form .wpforms-form input[type=checkbox] {
	border: 1px solid #bdbdbe;
	background-color: #fff;
	display: inline-block;
	margin: 0 0.313rem 0 0;
	vertical-align: baseline;
}

body.plus-gallery.gallery-uploader #site-main #gallery-form .wpforms-form .wpforms-field-label-inline {
	display: inline;
	font-size: 0.875rem;
	vertical-align: baseline;
}

body.plus-gallery.gallery-uploader #site-main #gallery-form .wpforms-field-limit-text {
	color: #7c7c7d;
	display: block;
	font-size: .875rem;
	margin-bottom: 0;
	margin-top: 0.25rem;
}

/*------------------------------------------------------------------------------
 * Mobile
 -----------------------------------------------------------------------------*/
/* Phones & small screens */
@media only screen and (min-width: 320px) and (max-width: 812px) and (-webkit-min-device-pixel-ratio: 2) {
	body.plus-gallery.gallery-uploader #site-main #gallery-form .form-group.wpforms-field-title { width: 100%; }

	body.plus-gallery.gallery-uploader #site-main #gallery-form .wpforms-form .wpforms-list-3-columns ul li {
			float: none;
			width: 100%
	}
}
