@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap');

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
	 Modified by Nathaniel Kren
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: circle;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

a, a > li {
	text-decoration: none;
}

a:active, a:active > li {
	text-decoration: none;
}

a:visited, a:visited > li {
	text-decoration: none;
}


.clickable:hover {
	cursor: pointer;
}

.left {
  text-align: left;
}

.center {
	text-align: center;
}

.right {
  text-align: right;
}

.bolded {
	font-weight: bold;
}

.italicized {
	font-weight: bold;
}

.underlined {
	text-decoration: underline;
}


:root {
  --omnitech-white: rgb(255, 255, 255);
  --omnitech-black: rgb(0, 0, 0);
  --omnitech-red: rgb(167, 23, 12);
	--omnitech-gray: rgb(128, 128, 128);
	--omnitech-light-gray: rgb(192, 192, 192);
	--omnitech-gold: rgb(249, 200, 14);

  --background-gray: rgb(245, 245, 245);
  --background-white: rgb(250, 250, 250);
  --box-shadow: rgb(200, 200, 200);

  --body-padding-horizontal: min(25vw, 50vw - 500px);
  --height-navbar: 5vh;
	--font-family: 'Geist', Arial, Helvetica, sans-serif;
}

body, button, input[type="submit"] {
  font-family: 'Geist', Arial, Helvetica, sans-serif;
}

body {
	position: relative;
	min-height: 100vh;
  background-color: var(--background-white);
  z-index: 1;
}

section {
	width: 50vw;
	min-width: 1000px;
  padding-left: var(--body-padding-horizontal);
  padding-right: var(--body-padding-horizontal);

  background-color: var(--background-white);
}

section > h1, section > h2, section > h3, section > h4, section > h5, section > h6 {
	margin-bottom: 2vh;
}

section > h1 {
	font-size: 2em;
	font-weight: bold;
	margin-top: 5vh;
}

section > h2 {
	font-size: 1.5em;
}

section > h4 {
	font-size: 0.85em;
}

.anchor {
	scroll-margin-top: calc(5vh + 20px);
}


/* Input fields */
.elegant-input {
	position: relative;
	width: 100%;
	height: 50px;
	font-size: 14px;
	border-radius: 10px;
	margin-bottom: 2vh;
}

.elegant-input-field {
	width: calc(100% - 10px);
	height: inherit;
	border-radius: 10px;
	margin: 0;
	padding:  0 0 0 10px;
	border: 1px solid var(--omnitech-gray);
}

.elegant-input-field:focus {
	outline: none;
	border:  2px solid var(--omnitech-red);;
}

.elegant-input-field:focus, .elegant-input-field:not(:placeholder-shown) {
	height: calc(100% - 10px);
	padding-top: 10px;
}


.elegant-input-placeholder {
	position: absolute;
	font-size: 14px;
	left: 10px;
	top: calc((100% - 11px) / 2);
	background-color: rgba(255,255,255,0.0);
	color: var(--omnitech-gray);

	transition: 0.25s ease;
	-o-transition: 0.25s ease;
	-moz-transition: 0.25s ease;
	-webkit-transition: 0.25s ease;
}

.elegant-input-field:focus ~ .elegant-input-placeholder, .elegant-input-field:not(:placeholder-shown) ~ .elegant-input-placeholder {
	font-size: 10px;
	top: 7px;

	transition: 0.25s ease;
	-o-transition: 0.25s ease;
	-moz-transition: 0.25s ease;
	-webkit-transition: 0.25s ease;
}


/* Disabled/fake elegant input */
.elegant-input-field-blocked {
	width: calc(100% - 10px);
	height: inherit;
	border-radius: 10px;
	margin: none;
	padding:  0 0 0 10px;
	border: 1px solid var(--omnitech-gray);
	background-color: var(--vap-light-gray);
	color: var(--omnitech-gray);
}


/* Elegant slider toggle */
.elegant-input-checkbox {
  width: 0;
  height: 0;
  opacity: 0;
}

.elegant-input-toggle {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 16px;
}

/* Hide default HTML checkbox */
.elegant-input-toggle .elegant-input-checkbox {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.elegant-input-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0px;
  background-color: var(--omnitech-gray);
  -webkit-transition: .4s;
  transition: .4s;
}

.elegant-input-slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 2px;
  bottom: 2px;
  background-color: #FFFFFF;
  -webkit-transition: .4s;
  transition: .4s;
}

.elegant-input-toggle .elegant-input-checkbox:checked + .elegant-input-slider {
  background-color: var(--omnitech-red);
}

.elegant-input-toggle .elegant-input-checkbox:focus + .elegant-input-slider {
  box-shadow: 0 0 1px var(--color-primary);
}

.elegant-input-toggle .elegant-input-checkbox:checked + .elegant-input-slider:before {
  -webkit-transform: translateX(14px);
  -ms-transform: translateX(14px);
  transform: translateX(14px);
}

/* Rounded sliders */
.elegant-input-slider-round {
  border-radius: 34px;
}

.elegant-input-slider-round:before {
  border-radius: 50%;
}

.elegant-input-range-slider {
  width: 50%;
}


.elegant-input-toggle-group {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: calc(100% - 20px);
	height: 50px;
	border-radius: 10px;
	margin: none;
	padding:  0 10px 0 10px;
	border: 1px solid var(--omnitech-gray);
	background-color: #FFFFFF;
}

.elegant-input-toggle-label {
	font-size: 16px;
}


/* Dropdowns */
.elegant-dropdown {
	position: relative;
	width: 100%;
	height: 50px;
	font-size: 14px;
	border-radius: 10px;
	margin: none;
	margin-bottom: 2vh;
	border-radius: 10px;
	padding:  0 0 0 10px;
	border: 1px solid var(--omnitech-gray);
	background: none;
}

.elegant-dropdown-inline {
	position: relative;
	height: 20px;
	font-size: 14px;
	border-radius: 10px;
	padding: 0 5px;
}



/* Time */
.elegant-time-group {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: calc(100% - 20px);
	height: 50px;
	border-radius: 10px;
	margin: none;
	padding:  0 10px 0 10px;
	border: 1px solid var(--omnitech-gray);
	background-color: #FFFFFF;
}

.elegant-input-time-label {
	font-size: 16px;
}

.elegant-time-entries-group {
	width: 40%;
	height: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.elegant-time-group .elegant-dropdown {
	width: 25%;
	height: 90%;
	margin-bottom: 0;
}



/* Elegant error */
.elegant-error {
	position: relative;
	width: 380px;
	display: none;
	opacity: 0;
	align-items: center;
	min-height: 30px;
	line-height: 20px;
	font-size: 14px;
	background-color: var(--vap-red-1q);
	border: 2px solid var(--vap-red);
	border-radius: 10px;
	margin-bottom: 2vh;
	padding: 10px;
}

.elegant-error-icon {
	width: 20px;
	max-width: 20px;
}

.elegant-error-message {
	margin-left: 10px;
}





@media screen and (max-width: 810px) {
	section > h2 {
		font-size: 1.25em;
	}

	section {
		width: 90vw;
		min-width: 0;
		padding-left: 5vw;
		padding-right: 5vw;

		background-color: var(--background-white);
	}
}

@media screen and (max-width: 450px) {
	:root {
    --height-navbar: 6vh;
  }
}