body.dir-rtl #languages>.btn-group:not(:first-child),
body.dir-rtl #languages>.btn:not(:first-child) {
	margin-left: 0;
	margin-right: -1px;
}
body.dir-rtl #languages>.btn-group>.btn,
body.dir-rtl #languages>.btn {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
body.dir-rtl #languages>.btn-group:not(:first-child)>.btn,
body.dir-rtl #languages>.btn:not(:first-child) {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
body.dir-rtl #languages>.btn-group:not(:last-child)>.btn,
body.dir-rtl #languages>.btn:not(:last-child):not(.dropdown-toggle) {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
body.dir-rtl #languages>.btn-group:first-child>.btn,
body.dir-rtl #languages>.btn:first-child {
	border-top-right-radius: .25rem;
	border-bottom-right-radius: .25rem;
}
body.dir-rtl #languages>.btn-group:last-child>.btn,
body.dir-rtl #languages>.btn:last-child,
body.dir-rtl #languages>.btn:last-child.dropdown-toggle {
	border-top-left-radius: .25rem;
	border-bottom-left-radius: .25rem;
}
body {
	padding-top: 4em;
	padding-bottom: 4em;
	text-transform: lowercase;
	background-color: #000;
	color: #ddd;
}
html[lang=tlh] body, [lang=tlh] {
	text-transform: none;
}
html[lang=tlh-Piqd] body, [lang=tlh-Piqd], html[lang=tlh-Piqd] .tooltip-inner {
	font-family: 'Klingon pIqaD HaSta', 'Klingon pIqaD Mandel', 'Klingon pIqaD vaHbo\'', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
}
[lang]:not([lang="tlh-Piqd"]) {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", 'Klingon pIqaD HaSta', 'Klingon pIqaD Mandel', 'Klingon pIqaD vaHbo\'', sans-serif;
}
[lang=tlh] [lang]:not([lang="tlh"]) {
	text-transform: lowercase;
}
body.dir-rtl {
	text-align: right;
}
body.noscroll {
	overflow: hidden;
}
a {
	color: #21759b;
}
a:hover, a:focus {
	color: #21759b;
}
.tooltip {
	text-transform: lowercase;
	z-index: 2000;
}
.tooltip-inner {
	border: 1px solid #44aa53;
}
.tooltip-inner:hover {
	border: 1px solid #4cddbd;
}
.tooltip-auto[x-placement^=bottom] .arrow::before, .bs-tooltip-bottom .arrow::before {
	border-bottom-color: #44aa53;
}
#head {
	text-align: center;
}
#functions {
	border-bottom: 2px solid #44aa53;
	background-color: #000;
	color: #ddd;
}
#maintext h2 {
	margin-bottom: 1rem;
	border-bottom: 1px solid #44aa53;
}
.tooltip-auto[x-placement^=bottom] .arrow::before:hover,
.bs-tooltip-bottom .arrow::before:hover,
#functions:hover,
#maintext h2:hover {
	border-bottom-color: #4cddbd;
}
#contact {
	margin-top: 2em;
	margin-bottom: 2em;
	padding-top: 1em;
	padding-bottom: 1em;
	text-align: center;
	background-color: #fff;
	color: #000;
}
#contact .contacticons a i.fab, #contact .contacticons a i.fas,
#contact .contacticonsbig a i.fab, #contact .contacticonsbig a i.fas {
	color: #000;
}
#contact .contacticons a:hover a i.fab, #contact .contacticons a:focus a i.fab,
#contact .contacticons a:hover a i.fas, #contact .contacticons a:focus a i.fas,
#contact .contacticonsbig a:hover a i.fab, #contact .contacticonsbig a:focus a i.fab,
#contact .contacticonsbig a:hover a i.fas, #contact .contacticonsbig a:focus a i.fas {
	color: #21759b;
}
#languages {
	margin: 0 0 2em;
	line-height: 18px;
	flex-wrap: wrap;
}
#languages .btn-group {
	margin-bottom: 1px;
}
#languages .btn-default {
	background-color: #000;
}
#languages .btn.btn-xs {
	width: 38px;
	height: auto;
	border-width: 1px;
	padding: 10px 5px;
}
#languages .btn-text .btn.btn-xs {
	width: auto;
}
#languages .btn.btn-xs img {
	display: block;
	width: 26px;
	height: 18px;
	margin: 0;
	border: 1px solid #fff;
	background-color: #fff;
}
#languages .btn-text .btn.btn-xs {
	width: auto;
}
#languages .btn-text .btn.btn-xs img {
	float: left;
	margin-top: 3px;
	margin-right: 3px;
}
#languages .btn:hover img {
	border-color: #28a745;
	background-color: #28a745;
}
.dropdown-menu-columns {
	column-count: 2;
	column-gap: 1rem;
	column-gap: 0;
	min-width: 300px;
}
.scrollable-dropdown {
	overflow-y: auto;
}
.dropdown-menu .dropdown-item img {
	width: 26px;
	height: 18px;
}
@supports (height: 100dvh) {
	.scrollable-dropdown {
		max-height: 90dvh;
	}
}
@supports not (height: 100dvh) {
	.scrollable-dropdown {
		max-height: 80vh;
	}
}
#portrait {
	position: relative;
	width: 100%;
}
#portrait:after {
	content: "";
	display: block;
	padding-bottom: 100%;
}
#portrait div {
	position: absolute;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	background-image: url(/images/kgyt_profile_T71_0512px.jpg);
	background-position: 0 0;
	background-repeat: no-repeat;
	background-size: cover;
}
#portraitcredit {
	text-align: right;
}
body.dir-rtl #portraitcredit {
	text-align: left;
}
#logo {
	position: relative;
	width: 100%;
}
#logo:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}
#logo div {
	position: absolute;
	width: 84%;
	height: 84%;
	margin: 2em 8% 0;
	padding: 0;
	background-image: url(/images/kgyt_logo_white.svg);
	background-image: url(/images/kgyt_logo_mono_ddd.svg);
	background-position: 0 0;
	background-repeat: no-repeat;
	background-size: cover;
}
#logo div:hover {
	background-image: url(/images/kgyt_logo_white.svg);
}
#functions img.svgicon {
	margin: -.3rem 0 0;
	height: 1.5rem;
}
#resume img.svgicon, #contact .contacticons img.svgicon, #contact .contacticonsbig img.svgicon,
.lead img.svgicon {
	height: 1em;
}
#resume img.svgicon, #contact .contacticons img.svgicon, #contact .contacticonsbig img.svgicon,
#resume i.fab, #resume i.fas,
#contact .contacticons i.fab, #contact .contacticons i.fas,
#contact .contacticonsbig i.fab, #contact .contacticonsbig i.fas {
	vertical-align: middle;
}
#resume {
}
#resume .lead {
	font-size: 2em;
}
#resume .techicons {
	font-size: 1.5em;
}
#resume .icons {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
#resume .iconscols {
	-webkit-column-count: 2; /* Old Chrome, Safari and Opera */
	-moz-column-count: 2; /* Old Firefox */
	column-count: 2;
}
#resume .icons .icon {
	display: inline-block;
	width: 2.2em;
	height: 1.5em;
	text-align: center;
}
#resume .icons .icon i {
	font-size: 1.5em;
}
#resume .icons li {
	display: block;
	margin: 0 0 .5em;
	padding: 0;
	line-height: 1.5em;
}
#resume .icons img, #resume .icons i {
	height: 100%;
}
.iconseparator {
	margin: 5px 0;
	border: 0;
	border-top: 1px solid #444;
}
#contact .contacticons {
	font-size: 2em;
}
#contact .contacticonsbig {
	font-size: 2.4em;
}
mark {
	padding: 0;
	background: none transparent;
	color: #44aa53;
}
mark:hover {
	color: #4cddbd;
}
#resume .lead mark {
	font-weight: bold;
}
.toptextholder {
	position: relative;
}
.toptext {
	position: absolute;
	top: 0;
	left: .6em;
	margin-top: -1em;
}
#contact h2 {
	margin-top: .3em;
	font-size: 1em;
}
#foot .svgicon {
	height: 2em;
}
::selection {
	background: #c09;
	color: #ddd;
}
::-moz-selection {
	background: #c09;
	color: #ddd;
}
::-webkit-selection {
	background: #c09;
	color: #ddd;
}
mark::selection {
	color: #ff3;
}
mark::-moz-selection {
	color: #ff3;
}
mark::-webkit-selection {
	color: #ff3;
}
a::selection {
	color: #3ff;
}
a::-moz-selection {
	color: #3ff;
}
a::-webkit-selection {
	color: #3ff;
}
@media (min-width: 768px) {
	#head {
		text-align: right;
	}
	body.dir-rtl #head {
		text-align: left;
	}
	#portraitcredit {
		text-align: left;
	}
	body.dir-rtl #portraitcredit {
		text-align: right;
	}
	#functions {
		padding-top: 0;
		padding-bottom: 0;
	}
	#languages {
		margin: 0;
	}
	#languages .btn.btn-xs {
		width: 36px;
		padding: 4px;
	}
	#logo div {
		width: 80%;
		height: 80%;
		margin: 20% 0 0 20%;
	}
	#contact .contacticons {
		font-size: 1.3em;
	}
	#contact .contacticonsbig {
		font-size: 1.3em;
	}
	#contact h2 {
		display: inline-block;
		margin: -.2em 0;
		padding: .2em .2em 0 0;
		font-size: 1.5em;
	}
	#resume .iconscols {
		-webkit-column-count: 1; /* Old Chrome, Safari and Opera */
		-moz-column-count: 1; /* Old Firefox */
		column-count: 1;
	}
	#resume .icons li {
		display: inline-block;
	}
}

.overlay {
	position: fixed;
	top: 0; left: 0;
	width: 100vw; height: 100vh;
	background-color: rgba(0, 0, 0, 0.95);
	z-index: 9999;
}
.overlay-content {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: #fff;
}
.close-btn {
	position: fixed;
	display: block;
	cursor: pointer;
	top: 20px;
	right: 20px;
	width: 30px;
	height: 30px;
	border-radius: 15px;
	background-color: #000;
	z-index: 1000;
}
body[dir="rtl"] .overlay .close-btn {
	right: auto;
	left: 20px;
}
#closeBottomBtn {
	width: 30px;
	height: 30px;
	padding: 0;
}
#closeBottomBtn, .close-btn {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><line x1="4" y1="4" x2="20" y2="20" stroke="white" stroke-width="2"/><line x1="20" y1="4" x2="4" y2="20" stroke="white" stroke-width="2"/></svg>');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	transform-origin: center center;
	transition: transform 0.2s;
}
#closeBottomBtn:hover, .close-btn:hover {
	transform: rotate(90deg);
}
#langselect h3 {
	margin-top: -40px;
}
#langselect h3 img {
	width: 50px;
	height: 50px;
}
#langselect .language-list {
	max-height: 70vh;
	overflow-y: auto;
	overflow-x: hidden;
}
#langselect .language-list a {
	display: block;
	width: 100%;
	margin-bottom: 2px;
	border-radius: 5px;
	padding: 2px 5px;
}
#langselect .language-list a:hover {
	text-decoration: none;
	background-color: #28a745;
}
#langselect .language-list a img {
	width: 26px;
	height: 18px;
	margin-top: -2px;
	margin-right: .3em;
	border: 1px solid #fff;
}
#openOverlayBtn, #openOverlayBtn2 {
	cursor: pointer;
}
#openOverlayBtn2 img {
	width: 30px;
	height: 30px;
}

/*
xs (for phones - screens less than 768px wide)
sm (for tablets - screens equal to or greater than 768px wide)
md (for small laptops - screens equal to or greater than 992px wide)
lg (for laptops and desktops - screens equal to or greater than 1200px wide)

		<source media="(min-height: 513px) and (orientation: landscape)" srcset="images/kgyt_profile_T71_1024px.jpg" />
		<source media="(min-height: 257px) and (orientation: landscape)" srcset="images/kgyt_profile_T71_0512px.jpg" />
		<source media="(min-height: 129px) and (orientation: landscape)" srcset="images/kgyt_profile_T71_0256px.jpg" />
		<source media="(min-width: 513px) and (orientation: portrait)"   srcset="images/kgyt_profile_T71_1024px.jpg" />
		<source media="(min-width: 257px) and (orientation: portrait)"   srcset="images/kgyt_profile_T71_0512px.jpg" />
		<source media="(min-width: 129px) and (orientation: portrait)"   srcset="images/kgyt_profile_T71_0256px.jpg" />
		<img src="images/kgyt_profile_T71_0128px.jpg" alt="kgyt portrait" />
*/