/*================================*\
|Copyright by Rhycords Studios 2020|
\*================================*/


body {
	margin: 0;
}

/*Allgemein*/

#wrapper {
	font-family: Lato, sans-serif;
	background-color: #202020;
}
.button {
	-webkit-appearance: none;
	border: none;
	background-color: #BF4C1F;
	color: white;
	padding: 10px 40px 10px 40px;
	margin: 20px;
	text-transform: uppercase;
	font-family: Gothic, Lato, sans-serif;
	font-size: 14px;
	cursor: pointer;
	transition: 300ms;
}
.button:hover {
	background-color: #E65B25;
	padding: 10px 50px 10px 50px;
}
.blue {
	background-color: #24678d;
}
h1 {
	text-transform: uppercase;
	font-weight: normal;
	font-size: 32px;
	margin: 30px;
}
.error {color: #dd0000;}
.success{color: #008800;}

/*Header*/

header {
	z-index: 90000;
	position: fixed;
	-webkit-position: fixed;
	top: 0;
	height: 100px;
	width: 100vw;
	background-color: white;
	display: inline-flex;
	text-align: center;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
header #logo {
	padding: 20px;
	position: relative;
}
nav {
	position: relative;
}
nav ul {
	margin: 0;
	height: 100%;
	display: inline-flex;
	list-style-type: none;
}
nav ul li {
	height: 100%;
	width: 100px;
	margin: 0 20px 0 20px;
	line-height: 90px;
}
nav ul a {
	text-decoration: none;
	text-transform: uppercase;
	color: #202020;
	box-sizing: border-box;
	transition: 200ms;
}
nav ul a:hover,
#index #nav1,
#contacts #nav2,
#projects #nav3,
#emails #nav4{
	background-color: #24678d;
	color: white;
}

/*Content*/

main {
	position: relative;
	padding-top: 100px;
	width: 100vw;
	height: 100vh;
	box-sizing: border-box;
	color: white;
	text-align: center;
	overflow-y: auto;
	overflow-x: auto;
	text-align: center;
	align-content: center;
	align-items: center;
}
main form input, main form select, main form textarea {
	background-color: #303030; 
	color: white;
	border: none;
	padding: 10px;
	margin: 0 10px 0 10px;
	font-family: Verdana,sans-serif;
	font-size: 14px;
}

table {
	position: relative;
	border-collapse: separate;
	border-spacing: 0 1em;
	margin-left: auto;
  margin-right: auto;
	color: #eee;
}
tr {
	background-color: #303030;
}
th {
	background-color: #202020;
	text-transform: uppercase;
}
tr input, tr select, tr button {
	padding: 12px;
	border: none;
	background-color: #303030;
	box-sizing: border-box;
	color: #eee;
	font-family: sans-serif;
	font-size: 14px;
	letter-spacing: 1px;
	transition: 200ms;
}
tr button {
	position: absolute;
	margin: -20px 0px 0px 20px !important;
	cursor: pointer;
	border: none;
}
tr input:focus, tr select:focus{
	color: white;
	background-color: #202020;
}
.tdcreate input,.tdcreate select {
	background-color: #303030;
}
.trcreate {
	background-color: white;
	color: #202020;
}
.btnplus, .btnupdate {
	padding: 0;
	background-color: #008800;
	font-size: 30px;
	border: none;
	color: white;
	cursor: pointer;
	border-radius: 40px;
	height: 40px;
	width: 40px;
	line-height: 0px;
	transition: 100ms;
}
.btnplus:hover {
	background-color: #00aa00;
	font-size: 35px;
}
.btnupdate {
	background-color: #BF4C1F !important;
}
.btnupdate:hover {
	background-color: #E65B25 !important;
	font-size: 35px;
}
#emails form {
	position: relative;
	width: 600px;
	align-content: center;
	padding: 0;
	margin-left: auto;
	margin-right: auto;
}
#emails input, #emails select, #emails textarea {
  width: 100%;	
	margin: 0px 0px 20px 0px;
	box-sizing: border-box;
}
#emails input[type=checkbox] {
	width: 100px;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

 /* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
	margin-left: 10px;
}

/* 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: #ccc;
	border-radius: 34px;
  -webkit-transition: .4s;
  transition: 200ms;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: 200ms;
	border-radius: 50%;
}

input:checked + .slider {
  background-color: #24678d;
}

input:focus + .slider {
  box-shadow: 0 0 1px #24678d;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}
#contactviewer td {
	width: 150px;
	text-align: left;
	padding: 0px 20px 0 20px;
}
.btndelete {
  position: relative;
	top: 14px;
	-webkit-appearance: none;
	border: none;
	border-radius: 20px;
	background-color: white;
	color: #BF4C1F;
	font-size: 25px;
	cursor: pointer;
}
