/*  */

body {
	background: #000000 url(img/bg2022a.jpg) no-repeat fixed left top;
	font: normal 12px tahoma, arial, verdana, sans-serif;
	overflow: hidden;
	height: 100vh;
}

header {
  position: relative;
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-between;
}

.hdr {
	height: 100px;
	width: 100%;
}

.hdrl {
	width: 450px;
	height: 100%;
	display: flex;
	justify-items: flex-start;
	align-items: center;
	margin: 5px 20px;
}

.hdrr {
	width: 400px;
	height: 27px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	margin: 10px 20px 0 0;
}

.container {
	display: flex;
	height: calc(100vh - 120px);
	padding: 2px;
	column-gap: 5px;
}

.sidebar {
	width: 180px;
	min-width: 180px;
	line-height: 1.5;
	color: #eee;
	padding: 5px 10px 8px 8px;
	overflow: hidden;
	background-color: rgba(10,10,10,0.5);
}

.sidebar>a, .sidebar>div>a  {
	font-size: 9pt;
	font-weight: bold;
	text-decoration: none;
	margin-left: 5px;
	color: #ccc;
}

.sidebar>a:hover, .sidebar>div>a:hover {
	color: #fff;
	cursor: pointer;
	text-shadow: 2px 2px #666666;;
}

.utilities {

}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - -  */

h1 {
	color:white;
	font-size: 	36pt;
	font-weight: bold;
	font-family: Helvetica, arial, sans-serif;
	text-shadow: 2px 2px #666666;
	vertical-align: bottom;
	display: inline;
}

.h2 {
	width: 98%;
	color: #ffffff;
	background-color: #8899AA;
	font-weight: bold;
	padding: 3px 5px 3px 5px;
	background-image: url(img/bgh2.png);
	border-radius: 3px;
	margin-bottom: 4px;
}

.himg {
	height: 70px; 
	border-radius: 3px;
	margin-right: 7px;
}

.copy {
	font-size: 8pt;
	text-decoration: none;
	color: #ccc;
	margin: 2px;
	padding: auto 0 5px 5px;
	position: absolute;
	bottom: 0;
	left: 0;	
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.search {
	border-radius: 50px;
	position: relative;
	background-color: white;
}

.search:focus,
.search:focus-within,
.search:hover {
	  width: 400px;
}

.search form {
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
}

.search-text {
	font-size: 11pt;
	border-top-left-radius: 50px;
	border-bottom-left-radius: 50px;
	flex-grow: 1;
	padding: 0 .5em;
    transition: width 0.4s ease-in-out;
	width: 100px;
	border: none;
	line-height: 1.7em;
}

.search-text:focus,
.search-text:focus-within,
.search-text:hover {
  	width: 250px;
}

.search form select {
	font-size: .8rem;
	border-radius: 0;
	padding: 4px 20px 4px 4px;
	margin: 0;
	border: 0;
	appearance: none;
}

.search button {
	background-image: url('img/search.png');
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: center;
	border-top-right-radius: 50%;
	border-bottom-right-radius: 50%;
	border: 0;
	position: relative;
	margin-left: auto;
	padding: 1px;
	width: 36px;
	height: 28px;
}

.search-button:hover {
	background-color: rgb(230,230,240);
}

.searcharrow {
	display: block;
	height: 100%;
	background-color: white;
	position: absolute;
	top: 2px;
	right: 31px;
	height: 87%;
	width: 1em;
	pointer-events: none;
}

.searcharrow::before, 
.searcharrow::after {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	transform: translate(-50%,-50%);
}

.searcharrow::before {
	border-left: .5em solid transparent;
	border-right: .5em solid transparent; 
	border-bottom:  .5em solid gray;
	top: 30%;
}

.searcharrow::after {
	border-left:  .5em solid transparent;
	border-right: .5em solid transparent; 
	border-top:  .5em solid gray; 
	top: 65%
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.content {
	display: flex;
	flex: 0 0 500px;
	flex-flow: column wrap;
}

.feed {
	margin: 0 10px;
	text-align: left;
	width: 480px;
}

.feed a {
	font-size: 12pt;
	font-weight: bold;
	text-decoration: none;
	color: #ffffff;
	text-shadow: 1px 1px #666666;;
}

.feed a:hover {
	color: #eeeeee;
}

.feedbody {
	color: #bbbbbb;
	border-top: 2px solid #dddddd;
	background-color: rgba(60,60,60,0.7);
}

.feedbody:hover {
	background-color: rgba(50,50,50,1);
	cursor: pointer;
}

.feedbody ul {
	margin-top: 1px;
	padding-left: 0;
	padding-bottom: 1px;
	list-style-type: none;
}

.feedbody li {
	margin: 5px 0;
}

.feedbody a {
	font-size:  9pt;
	font-weight: normal;
	text-decoration: none;
	margin-left: 2px;
	color: #eeeeee;
	opacity: 1.0;
}

.feedbody a:hover {
	text-decoration: underline;
	cursor: pointer;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.pm {
	display: none;
	position: absolute;
	background-color: #ddd;
	border: 1px solid #666;
	border-radius: 5px;
	border-top-left-radius: 0;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4);
	color: #333;;
	z-index: 2;
}

.pm a {
	color: #333;;
	padding: 3px 5px;
	text-decoration: none;
	text-shadow: none;
	font-weight: bold;
	display: block;
}

.pm a:hover {
	color: #333;
	background-color: #aaa;
	background-image: none;
	border-radius: 0;
	cursor: pointer;
	text-shadow: none;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - -  */

.goo {
	display: inline-block;
	margin-right: 0;
}

.goo-content {
	min-width: 80px;
	left: 16px;
	padding: 5px 0;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.doc {
	display: inline-block;
}

.doc-content {
	min-width: 180px;
	left: 16px;
	padding: 5px 0;
}

.docbtn a:hover {
	text-shadow: none;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.sfm {
	display: inline-block;
}

.sfm-content {
	min-width: 80px;
	left: 16px;
	padding: 5px 0;
}

a.sfmbtn {
	color: #ddd;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

@-webkit-keyframes scale-up-tl {
  0% {
	-webkit-transform: scale(0.25);
			transform: scale(0.25);
	-webkit-transform-origin: 0% 0%;
			transform-origin: 0% 0%;
  }
  100% {
	-webkit-transform: scale(1);
			transform: scale(1);
	-webkit-transform-origin: 50% 0%;
			transform-origin: 50% 0%;
  }
}
@keyframes scale-up-tl {
  0% {
	-webkit-transform: scale(0.25);
			transform: scale(0.25);
	-webkit-transform-origin: 0% 0%;
			transform-origin: 0% 0%;
  }
  100% {
	-webkit-transform: scale(1);
			transform: scale(1);
	-webkit-transform-origin: 0% 0%;
			transform-origin: 0% 0%;
  }
}


@-webkit-keyframes scale-up-tr {
  0% {
	-webkit-transform: scale(0.25);
			transform: scale(0.25);
	-webkit-transform-origin: 0% 0%;
			transform-origin: 0% 0%;
  }
  100% {
	-webkit-transform: scale(1);
			transform: scale(1);
	-webkit-transform-origin: 50% 0%;
			transform-origin: 50% 0%;
  }
}
@keyframes scale-up-tr {
  0% {
	-webkit-transform: scale(0.25);
			transform: scale(0.25);
	-webkit-transform-origin: 100% 0%;
			transform-origin: 100% 0%;
  }
  100% {
	-webkit-transform: scale(1);
			transform: scale(1);
	-webkit-transform-origin: 100% 0%;
			transform-origin: 100% 0%;
  }
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.adm {
	display: inline-block;
}

.adm-content {
	min-width: 140px;
	right: 11px;
	top: 38px;
	padding: 10px 0;
	text-align: left;
}

nav {
  border-radius: 50px;
  background-color: rgba(60,60,60,.5);
  transform-origin: top;
  transition: transform 400ms ease-in-out;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex; 
}

nav li {
  margin: .3em 2em;
}

nav a {
  position: relative;
  color: white;
  text-decoration: none;
  font-size: .9rem;
  transition: opacity 150ms ease-in-out;
}

nav a::before {
	content: '';
	display: block;
	height: 7px;
	background: black;
	position: absolute;
	top: -.87em;
	left: 0;
	right: 0;
	transform: scale(0, 1);
	transition: transform ease-in-out 250ms;
}

nav a:hover::before {
	transform: scale(1,1);
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.calendar-container {
	background-color: rgba(60,60,60,.25);
	border-radius: 5px;
	width: 180px;
	margin-top: 32px;
	border-top: $fff 1px solid; 
}
 
.calendar-container header {
	display: flex;
	padding: 1px 1px 1px;
	justify-content: space-between;
	align-items: flex-start;
	flex-direction: row;
	height: 20px;
}
 
header .calendar-navigation {
	display: flex;
}
 
header .calendar-navigation span {
	height: 18px;
	width: 18px;
	margin: 0 1px;
	cursor: pointer;
	text-align: center;
	line-height: 18px;
	border-radius: 50%;
	user-select: none;
	color: #aeabab;
	font-size: .9rem;
}

.calendar-navigation span:last-child {
	margin-right: 1px;
}
 
header .calendar-navigation span:hover {
	background: #666;
}
 
header .calendar-current-date {
	color: #fff;
}
 
.calendar-header p {
   margin-block-start: 0;
   margin-block-end: 0;
}
 
.calendar-body {
	padding: 1px;
}
 
.calendar-body ul {
	list-style: none;
	flex-wrap: wrap;
	display: flex;
	text-align: center;
	padding-inline-start: 1px;
	margin: 0;
	padding: 0;
}
 
.calendar-body .calendar-dates {
	margin-bottom: 2px;
}
 
.calendar-body li {
	width: calc(100% / 7);
}

.calendar-body .calendar-weekdays li {
	cursor: default;
	font-weight: 500;
	color: #eee;
}
 
.calendar-body .calendar-dates li {
	margin-top: 3px;
	position: relative;
	z-index: 1;
	cursor: pointer;
	color: #ddd;
}
 
.calendar-dates li.inactive {
	color: #999;
}
 
.calendar-dates li.active {
	color: #fff;
}
 
.calendar-dates li::before {
	position: absolute;
	content: "";
	z-index: -1;
	top: 50%;
	left: 50%;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}
 
.calendar-dates li.active::before {
	background: #5c2eb8;
}
 
.calendar-dates li:not(.active):hover::before {
	background: #555;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* This has to be at the bottom */
.show { 
	display:block; !important 
	-webkit-animation: scale-up-tl 0.5s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
		    animation: scale-up-tl 0.5s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}   
	
.showr { 
	display:block; !important 
	-webkit-animation: scale-up-tr 0.5s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
			animation: scale-up-tr 0.5s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
} 