/* Set height of body and the document to 100% to enable "full page tabs" */
:root {
	--tab-color: #f5f5f5;
	--tab-link-color: #cecece;
	--tab-link-hover: #b1b1b1;
	--font-color: #2d2c2c;
	--card-bg: #cecece;
	--input-font-color: #3c3b3b;
	--input-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
	--button-color: white;
	--button-font: #3c3b3b;
	--button-hover: #777;
	--button-hover-font: white;
}

[data-theme="dark"] {
	--tab-color: #666;
	--tab-link-color: #3c3b3b;
	--tab-link-hover: #888;
	--font-color: white;
	--card-bg: #3c3b3b;
	--input-font-color: #3c3b3b;
	--input-shadow: 0 8px 16px 0 rgba(0,0,0,0.5);
	--button-color: white;
	--button-font: #3c3b3b;
	--button-hover: #777;
	--button-hover-font: white;
}

body, html {
  margin: 0;
  font-family: Arial;
  font-size: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--tab-color);
}

input {
	cursor: pointer;
	border-radius: 5px;	
	border: #eee 1px solid;
	color: var(--input-font-color);
}

input[type=checkbox] {
	appearance: checkbox;
	background: #3c3b3b;
	color: #eeeeee;
	width: 12px;
	height: 12px;
}

input[type=text] {
	max-width: 100px;
}

input:hover {
	box-shadow: var(--input-shadow);
}

/* Style the tab content (and add height:100% for full page content) */
.tabcontent {
  background: var(--tab-color);
  display: block;
  padding-top: 16px;
  padding-left: 8px;
  padding-right: 8px;
  /*height: 100%;*/
  height: 550px;
  width: 420px;
}

.tabcontent.settings {
	font-size: medium;
}

.card {
  /* Add shadows to create the "card" effect */
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  border-radius: 5px;
  background: var(--card-bg);
  margin: 10px;
  color: var(--font-color);
}

/* On mouse-over, add a deeper shadow */
.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.5);
}

/* Add some padding inside the card container */
.container {
  padding-top: 2px; 
  padding-left: 14px;
  padding-right: 14px;
  padding-bottom: 14px;
}

textarea {
	width: 98%;
	min-height: 165px;
    /*border-top-left-radius: 5px;
	border-top-right-radius: 5px;*/
	border-radius: 5px;
    border: #eee 1px solid;
    resize: none;
	margin-top: 10px;
	margin-bottom: 1px;
	font-family: Arial;
	color: var(--input-font-color);
}

textarea:hover {
	box-shadow: var(--input-shadow);
}
  
.radio_btn {
	display: flex;
    text-align: center;
    justify-content: space-around;
    padding-top: 3px;
    padding-bottom: 8px;
}

.results{
    display: flex;
    text-align: center;
    justify-content: space-between;
    padding-top: 3px;
    padding-bottom: 5px;
	margin-bottom: 4px;
}

.button {
    padding-left: 5px;
    padding-right: 5px;
	border-color: var(--button-color);
	border-style: solid;
	border: 1px;
    /*border: 1px solid;*/
    cursor: pointer;
    font-weight: bold;
	transition-duration: 0.2s;
	color: var(--button-font);
	background-color: var(--button-color);
}

.button:hover {
	color: var(--button-hover-font);
	background-color: var(--button-hover);
	border-color: var(--button-hover);
	border-style: solid;
	border: 1px;
	box-shadow: var(--input-shadow);
}

.button:active {
	transform: translateY(4px);
}

.button.sm {
	min-width: 60px;
	height: 30px;
	border-radius: 5px;
}

.button.xsm {
	min-width: 45px;
	height: 30px;
	border-radius: 5px;
}

.button.lg {
	margin-top: 10px;
	width: 100%;
	height: 30px;
	border-radius: 5px;
}

.button.wide.left {
	width: 35%;
	height: 25px;
	/*border-bottom-left-radius: 5px;*/
	border-radius: 5px;
	margin-top: 0px;
	margin-right: 2px;
	/*margin-bottom: 10px;*/
}

.button.wide.right {
	width: 35%;
	height: 25px;
	/*border-bottom-right-radius: 5px;*/
	border-radius: 5px;
	margin-top: 0px;
	margin-right: 1px;
	margin-left: 2px;
	/*margin-bottom: 10px;*/
	align: right;
}

.button.wide.centre {
	width: 30%;
	height: 25px;
	/*border-bottom-right-radius: 5px;*/
	border-radius: 5px;
	margin-top: 0px;
	margin-right: 2px;
	margin-left: 2px;
	/*margin-bottom: 10px;*/
}

.formpos {
	width: 30%;
	height: 20px;
	/*border-bottom-right-radius: 5px;*/
	border-radius: 5px;
	margin-top: 0px;
	margin-right: 2px;
	margin-left: 2px;
	padding-top: 10px;
	align: center;
}

.prefix {
    max-width: 100px;
    min-width: 100px;
    height: 24px;
    border-radius: 5px;
    border: #eee 1px solid;
	background-color: white;
	color: var(--input-font-color);
}

.block {
    display: block;
}

table, th, td {
  border: none;
  text-align: left;
}

.table.clear:hover {
  cursor: pointer;
}

.table.right {
  border: none;
  text-align: right;
}

.table.center {
  text-align: center;
  border: none;
}

.table.center.right {
  border: none;
  text-align: right;
  padding-right: 30px;
}

h4 {
	font-size: 14px;
}

h3 {
	font-size: 19px;
}