/*
Theme Name: accessknowledgehub
Text Domain: accessknowledgehub
Author: Access Bookings
Author URI: https://accessbookings.com
Version: 1.0.0
Requires at least: 5.2
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: accessknowledgehub
*/


html {
    scroll-behavior: smooth
}

body {
    line-height: 1
}

a {
    text-decoration-skip-ink: auto
}

a[href^="tel"] {
    color: inherit;
    text-decoration: none
}

button {
    outline: 0
}


textarea,
input[type="text"],
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="search"],
input[type="password"] {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0
}

input[type="search"] {
    -webkit-appearance: textfield
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

th,
td {
    padding: 2px
}

big {
    font-size: 120%
}

small,
sup,
sub {
    font-size: 80%
}

sup {
    vertical-align: super
}

sub {
    vertical-align: sub
}

dd {
    margin-left: 20px
}

kbd,
tt {
    font-family: courier;
    font-size: 12px
}

ins {
    text-decoration: underline
}

del,
strike,
s {
    text-decoration: line-through
}

dt {
    font-weight: bold
}

address,
cite,
var {
    font-style: italic
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent
}

.sticky {}

.bypostauthor {}

.wp-caption {}

.wp-caption-text {}

.gallery-caption {}

.alignright {}

.alignleft {}

.aligncenter {}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
    word-break: normal
}

.screen-reader-text:focus {
    background-color: #f7f7f7;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
    clip: auto !important;
    -webkit-clip-path: none;
    clip-path: none;
    color: #007acc;
    display: block;
    font-size: 14px;
    font-size: .875rem;
    font-weight: 700;
    height: auto;
    right: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000
}

.skip-link {
    left: -9999rem;
    top: 2.5rem;
    z-index: 999999999;
    text-decoration: underline
}

.skip-link:focus {
    display: block;
    left: 6px;
    top: 7px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    line-height: normal;
    padding: 15px 23px 14px;
    z-index: 100000;
    right: auto
}

.visually-hidden:not(:focus):not(:active),
.form-allowed-tags:not(:focus):not(:active) {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap
}


html :where(.editor-styles-wrapper) {
	font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif!important;
}

.editor-styles-wrapper, 
.block-editor-rich-text__editable {
    font-family: sans-serif !important;
}
/* AB Knowledge Hub */

/* --- All posts/pages --- */
html {
	width:100%;
	height:100%;
	display:flex;
}

#abkh-splash {
	background-image:url(https://accessbookings.net/knowledgehub/wp-content/themes/access/assets/images/abkh-splash.png);
    background-position: center;
    background-size: cover;
    min-height: 25vh;
}

#abkh-splash .abkh-search-form .abkh-search-field:focus {
	box-shadow: 0 0 0 .25rem rgb(255 255 255 / 50%);
}
#abkh-splash .abkh-search-form .abkh-search-field::placeholder {
	color:white;
}

#abkh-splash .abkh-search-form .abkh-search-field {
	background:transparent;
	border:white 1px solid;
	color:white!important;
}

.akhb-thumbnail-image {
	min-width:150px;	
}

.abkh-home-link:hover {
	text-decoration-thickness: 2px;
}

/* --- Main Index Template (index.html) --- */

.abkh-category-wrap .abkh-category-article .abkh-category-article-image {
	max-height:200px;
	height: 200px;
    overflow: hidden;
	margin-top:auto;
	display:inline-flex;
	align-items:center;
}
.abkh-category-wrap .abkh-category-article .abkh-category-article-header {
	min-height:145px;
}

/* --- Entry (entry.html) ---*/
.abkh-entry-wrap .abkh-entry-header {
	max-height:400px;
	width:100%;
	overflow:hidden;
	margin-top:auto;
	display:inline-flex;
	align-items:center;
}

/* WP blockquote block styles - TEMP */
blockquote {
    border-left: 2px solid grey;
    padding-left: 1.5rem;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
	font-size: 1.25rem;
}
figcaption {
    font-weight: bold;
    font-size: small;
}
.ls-tight {
	letter-spacing:-1px;
}
.ls-normal {
	letter-spacing:0;
}
.ls-loose {
	letter-spacing:1px;
}

a {
	    overflow-wrap: break-word;
}