/* Global styles -------------------------------------------------------------------------------------*/

html {
	font-family: Roboto, Calibri, Palatino, Arial;
	text-align: center;
	font-size: 12pt;
}

a {
	text-decoration: underline;
}

a:visited {
	text-decoration: underline;
}

#main_header {
	margin: 0px;
	padding: 10px;
	margin-bottom: 15px;
}

#main_header a {
	text-decoration: none;
}

.text_bg {
	margin: 0px;
	/*padding: 0px;*/
	margin-top: 25px;
	margin-bottom: 25px;
	display: inline-block;
	width: 100%;
}

.text {
	display: inline-block;
	text-align: left;
	padding: 20px;
	font-size: 12pt;
	max-width: 1000px;
	height: 100%;
}

.toc {
	display: inline-block;
	text-align: left;
	font-size: 12pt;
	margin: 1em;
	padding: 0px;
	padding-top: 25px;
	padding-bottom: 19px;
	padding-right: 1.5em;
	height: 100%;
}

.toc ul{
	list-style-type: none;
}

p {
	margin: 0px;
}

.entry_header {
	margin-top: 1em;
	margin-bottom: 1em;
	padding: 10px;
}

h1 {
	margin: 0px;
	text-align: center;
	font-size: 40px;
}

h4 {
	text-align: left;
	font-size: 24px;
	margin-top: 30px;
	margin-bottom: 10px;
}

footer {
	margin: 0px;
	padding: 5px;
	text-align: center;
}

#helper {
	margin-top: 0.5em;
	text-align: center;
}

.audio_title {
	margin-top: 20px;
	margin-bottom: 15px;
	padding: 10px;
}

.text_links {
	text-align: center;
	padding: 10px;
	font-size: 20px;
	max-width: 1000px;
	margin: 0 auto;
}

.description {
	margin-top: 0px;
	text-align: left;
	padding: 10px;
	font-size: 16px;
	max-width: 1000px;
	margin: 0 auto;
}

.link {
	font-size: 12pt;
}

h2 {
	margin-top: 0px;
	margin: 0px;
}

h3 {
	margin-top: 0px;
	margin: 0px;
	font-size: 1.35em;
}

.entry {
	display: inline-block;
	text-align: center;
	margin: 0.5em !important;
	min-width: 280px;
	height: 200px;
	overflow: hidden;
	box-shadow: 0px 0px 0px 0px #333333 !important;
	transition: box-shadow 0.2s ease-in-out !important;
}

@media screen and (max-width: 968px) {
	.entry {
		margin: 0.25em !important;
		max-width: 140px;
		max-height: 100px;
		min-width: auto;
	}
	.entry img {
		max-width: 140px;
		max-height: 100px;
	}
}

.entry:hover {
	box-shadow: 0px 0px 10px 5px #333333 !important;
	transition: box-shadow 0.2s ease-in-out !important;
}

.entry img:hover{
	-webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
	transition: transform 0.2s ease-in-out !important;
	margin-bottom: 0 !important;
}

.entry img {
	-webkit-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
	transition: transform 0.2s ease-in-out !important;
	margin-bottom: 0 !important;
	padding: 0px !important;
}


img {
	margin: 0px;
	padding: 5px;
	clear: both;
	border: 0;
}

.full_image {
	margin-top: 15px;
	margin-bottom: 0px;
	max-width: 100%;
}

#links {
	text-align: center;
}

#links li {
	list-style: none;
	text-decoration: none;
	margin-left: -2em;
	line-height: 1.75em;
}

#video_container {
	margin-top: 25px;
}

#misc_container img {
	max-width: 100%;
}

iframe {
	display: block;
	margin: 0 auto;
	margin-bottom: 0px;
	max-width: 100%;
}

.desc {
	margin-top: 0px;
	margin-bottom: 15px;
	font-size: 12pt;
}

.cause {
	text-align: left;
	margin-bottom: 25px;
	font-size: 12pt;
}

html {
	scroll-behavior: smooth;
}

.top-button {
	width: 48px;
	height: 48px;
}

#back-to-top {
	position: fixed;
	bottom: 1em;
	right: 1em;
	display: none;
}

.back {
	font-size: 20px;
	margin-top: 30px;
	margin-bottom: 15px;
	text-align: center;
}

#desc_title {
	margin-top: 15px;
}

.audio_title2 {
	margin-top: 0px;
	margin-bottom: 10px;
	font-size: 20px;
	padding: 10px;
}

.audio_entry {
	text-align: center;
	display: inline-block;
}

.red {
	color: red;
	font-weight: bold;
}

#piccount {
	text-align: center;
	font-size: 1.25em;
}

.sid {
	font-size: 22px;
}

h2 a {
	text-decoration: none;
}

.top {
  text-decoration: none;
  padding: 10px;
  font-family: sans-serif;
  color: #fff;
  background: #000;
  border-radius: 100px;
}

/* Bright Mode -------------------------------------------------------------------------------------*/

#main_header {
	background-color: #9999FF;
}

#main_header a {
	color: #4A3CD1;
}

#main_header a:visited {
	color: #4A3CD1;
}

.text_bg {
	background-color: #EEEEEE;
}

.text {
	background-color: #EEEEEE;
}

.toc {
	background-color: #EEEEEE;
}

.entry_header {
	background-color: #FFDD55;
}

footer {
	background-color: #DDDDDD;
}

.audio_title {
	background-color: #DDDDDD;
}

#helper {
	color: green;
}

h2 a {
	color: black;
}

h2 a:visited {
	color: black;
}

/* Dark Mode -------------------------------------------------------------------------------------*/

body.dark{
	background: #1E1E1E;
}

.dark a  {
	color: #6AA9F0;
}

.dark a:visited {
	color: #AC80E8;
}

.dark #main_header {
	background-color: #4A3CD1;
	color: #C5C5C5;
}

.dark #main_header a{
	color: #8D7BFF;
}

.dark #main_header a:visited {
	color: #8D7BFF;
}

.dark .text_bg {
	background-color: #131313;
}

.dark .text {
	color: #C5C5C5;
	background: #131313;
}

.dark .toc {
	background: #131313;
}

.dark p {
	color: #C5C5C5;
}

.dark .entry_header {
	background-color: #444444;
	color: #c5c5c5;
}

.dark h4 {
	color: #C5C5C5;
}

.dark footer {
	background-color: #444444;
}

.dark .audio_title {
	background-color: #444444;
	color: #c5c5c5;
}

.dark #helper {
	color: #34D434;
}

.dark ul {
	color: #c5c5c5;
}

.dark h2 a {
	color: #c5c5c5;
}

.dark h2 a:visited {
	color: #c5c5c5;
}

/* Mode toggle styles ------------------------------------------------------------------------------*/

#modeSwitcher {
	margin-top: 1em;
	text-align:center;
}

 /* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #555;
  /*
  -webkit-transition: .4s;
  transition: .4s;
  */
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  /*
  -webkit-transition: .4s;
  transition: .4s;
  */
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
} 