::selection {
  background: #b3d7fe;
  color: black;
}
::-moz-selection {
  background: #b3d7fe;
  color: black;
}

* {
	box-sizing: border-box;
}

body {
	--link-color: #1168CC;
	--text-color: #222;
	--text-gray-color: #707070;
	--text-light-gray-color: #aaa;
	--heading-color: #111;
	--border-gray-color: #e6e6e6;
	color: var( --text-color );
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 21px;
	font-family: system-ui,sans-serif,"Arial";
    touch-action: manipulation;
}

body *::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

body *::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: transparent;
    transition: background-color 0.3s;
}

body *::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
    transition: background-color 0.3s;
}

body *:hover::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
}

body *::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

body *::-webkit-scrollbar-track:hover {
    background-color: rgba(0, 0, 0, 0.1);
}


body .show_scrollbars::-webkit-scrollbar-thumb {
	background-color: rgba(0, 0, 0, 0.3);
}



button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
}

input[type=text], input[type=url], input[type=tel], input[type=email] {
	line-height: 21px;
    color: #444;
    border: 1px solid #e1e1e1;
    padding: 3px 9px;
}

ul li,
ol li {
    line-height: 24px;
    margin-left: 21px;
}


html > body.has_fixed_header {
	padding-top: 130px!important;
}

body.has_fixed_header .main_header {
	position: fixed;
    margin-bottom: 0px;
}

body.fixed {
	overflow-y: hidden;
	position: fixed;
}


h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.h2_size {
	font-weight: 700;
	color: var( --heading-color );
    margin-bottom: 20px;
}

h1,
.h1 {
	font-size: 36px;
}

h2,
.h2,
.h2_size {
	font-size: 32px;
	margin-top: 40px;
	line-height: 1.2em;
}
h3,
.h3 {
	font-size: 24px;
	margin-top: 40px;
	line-height: 1.3em;
}
h4,
.h4 {
	font-size: 21px;
	line-height: 1.4em;
}
h5,
.h5 {
	font-size: 18px;
	line-height: 1.4em;
}
h6,
.h6 {
	font-size: 16px;
	line-height: 1.5em;
}

@media(max-width: 768px) {
	h1,
	.h1 {
		font-size: 32px;
	}
	h2,
	.h2,
	.h2_size {
		font-size: 26px;
	}
	h3,
	.h3 {
		font-size: 22px;
	}
	h4,
	.h4 {
		font-size: 18px;
	}
	h5,
	.h5 {
		font-size: 16px;
	}
	h6,
	.h6 {
		font-size: 15px;
	}
}


input,
textarea,
button,
select,
a {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  text-decoration: none;
}
input[type=text],
input[type=url],
input[type=tel],
input[type=email] {
	border-color: #aaa;
}

table td,
table th {
    border: 1px solid #ededed;
    padding: 2px 8px;
}

a {
	color: var( --link-color );
	text-decoration: underline;
	text-underline-offset: 5px;
	transition: text-decoration-color 0.2s;
}

a:hover {
  	text-decoration-color: transparent;
}

h1 a,
.header_with_links a,
.no_link_border a,
.no-underline {
	text-decoration: none;
	padding-bottom: 0px;
}

button {
	background: transparent;
	border: 0;
	user-select: none;
}
button:focus {
	outline: none;
}
.using-keyboard button:focus {
	outline: 2px dotted currentColor;
}

ol img {
	display: block;
}

img {
	display: inline-block;
	margin: 0;
	max-width: 100%;
	height: auto;
}

[id*="attachment_"] {
	width: 100%!important;
}

.hide {
	display: none!important;
}

ul, ol {
	padding: 0;
}

ul li, ol li {
	margin-left: 21px;
}

ul.no-style {
	margin: 0;
	padding: 0;
	list-style: none;
}
ul.no-style li:not( .blocks-gallery-item ) {
	list-style: none;
	margin: 0;

}


.flnm > *:first-child {
	margin-top: 0!important;
}
.flnm > *:last-child {
	margin-bottom: 0!important;
}
.lrnm > *:first-child {
	margin-left: 0!important;
}
.lrnm > *:last-child {
	margin-right: 0!important;
}
.flnp > *:first-child {
	padding-top: 0!important;
}
.flnp > *:last-child {
	padding-bottom: 0!important;
}
.lrnp > *:first-child {
	padding-left: 0!important;
}
.lrnp > *:last-child {
	padding-right: 0!important;
}



.hide_scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.hide_scrollbar::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}


.aawp {
    font-family: inherit;
    color: #495e73;
}
body .aawp .aawp-product .aawp-product__title {
	color: #256aaf;
	font-size: 16px;
}
.aawp-product__description li {
	line-height: 1.5em;
	font-size: 14px;
}
.aawp-product__price--current {
	font-size: 19px;
}

pre {
    background-color: #f1f1f1;
    padding: 4px 10px;
    border: none;
    border-radius: 0;
    margin-top: 24px;
    overflow: auto;
}



@media( max-width: 768px ){
	html > body.has_fixed_header {
		padding-top: 105px!important;
	}
}

@media( max-width: 599px ){
	body .aawp-product__description {
		display: block;
	}
}







.page-nav {
	font-size: 16px;
	font-weight: bold;
}
.page-nav .pages {
	font-weight: normal;
}
.page-nav .current {
	background-color: var( --link-color );
}
.page-nav a,
.page-nav span {
	padding: 9px 15px;
	border-color: #666;
}
.page-nav i {
	font-size: 13px;
}



.clearfix:after {
	content: '';
	display: table;
	width: 100%;
	clear: both;
}




/* ANIMATION */

.spin {
	-webkit-animation-name: spin;
    -webkit-animation-duration: 4000ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: spin;
    -moz-animation-duration: 4000ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -ms-animation-name: spin;
    -ms-animation-duration: 4000ms;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;

    animation-name: spin;
    animation-duration: 1000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}


.gallery {
	overflow: hidden;
}
.gallery p {
    padding: 0;
    margin: 0;
    text-align: center;
    line-height: 1.3em;
    font: italic 400 11px/17px Verdana,Geneva,sans-serif;
    color: #444;
    margin-top: 5px;
}

.gallery .gallery-item {
	float: left;
	display: inline-block;
	text-align: center;
	vertical-align: top;
	margin-bottom: 20px;
	width: 100%;
	padding: 0 2%;
}
.gallery-item .gallery-caption {
	text-align: center;
	margin: 0;
}
.gallery-item .gallery-icon img {
	display: inline-block;
}
.gallery-columns-2 .gallery-item {
    max-width: 50%;
}
.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
    max-width: 25%;
}
.gallery-columns-2 .gallery-item:nth-child( 2n + 1 ),
.gallery-columns-3 .gallery-item:nth-child( 3n + 1 ),
.gallery-columns-4 .gallery-item:nth-child( 4n + 1 ),
.gallery-columns-5 .gallery-item:nth-child( 5n + 1 ) {
	clear: left;
}




.fr_stop_scrolling {
	overflow: hidden;
	position: absolute;
	top: 0;
	width: 100vw;
}

.noselect {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}


.reference_icons {
	display: none;
}


.is-type-photo img {
	width: 100%;
}

.is-type-video iframe {
	width: 100%;
	height: 100%;
	background-color: black;
	top: 0;
	left: 0;
	position: absolute;
}


@media( max-width: 500px ){
	.is-type-video iframe {
		height: 100%;
	}
}





.main_content {
	max-width: 1240px;
	padding: 22px 20px 0;
	margin: auto;
	margin-bottom: 100px;
}

.main_content::after {
	content: '';
	display: block;
	clear: both;
}

.main_content h1 {
	margin-top: 20px;
	color: #0d42a2;
	line-height: 1;
}







/* Bell icon and up button */

#onesignal-bell-launcher {
	bottom: 15px!important;
	right: 15px!important;
	opacity: 0.5!important;
	transition: opacity 0.2s ease;
}
#onesignal-bell-launcher:hover {
	opacity: 1!important;
}

@media( max-width: 768px ){
	.has_toc #onesignal-bell-launcher {
		bottom: 60px!important;
	}
}




a:focus {
	outline: none;
}
.using-keyboard a:focus {
	outline: 2px dotted currentColor;
}

.is-type-video .wp-block-embed__wrapper {
	padding-top: 56%;
}


twitter-widget {
    margin-left: auto!important;
    margin-right: auto!important;
}

@media( max-width: 768px){
	iframe[src^="https://www.youtube.com/embed/"] {
		height: 52vw;
	}
}

@media( max-width: 1024px ){
	.toc_sidebar_column {
		display: none!important;
	}
}




.center {
	text-align: center;
}

.fr_rating {
	color: #ffbb00;
}
.fr_rating > * {
    margin: 0 1px;
}

.fr_rating .icon {
	margin-top: 0;
}
