* {
  margin: 0;
  padding: 0; }

fieldset {
  border: 0 !important;
}

body {
  /* background-color: #b7cee7; */
  /* background-color: #d2eafd; */
  color: #002a57;
  height:100%;
  /* overscroll-behavior-y: none; */
}

.main-container {
  padding: 0px 5px;
  padding-bottom: 64px;
}

input, select, textarea {
  width: 100%;
  margin-bottom: 8px; 
  border: 1px solid #d0d0d0;
  padding: 8px 8px;
  display: inline-block;
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  /* box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); */
  border-radius: 3px;
  color: #303030;
  font-family: inherit;
  font-size: 13px!important;
  line-height: 18px!important;
  -webkit-font-smoothing: inherit;
}

th.search {
    padding: 0px!important;
    text-align: center;
}

input[type=checkbox], input[type=radio] {
  box-shadow: none;
}

button {
  margin-top: 1em;
  padding: 0.25em 2em; }


#link {
  display: inline-block;
  position:relative;
  height: 25px;
  padding: 1px;
}

#img {
  vertical-align: middle;
}

#imgHeader {
  vertical-align: middle;
  margin: -12px 0px -9px 0px;
}

#imgLink {
  /* vertical-align: middle; */
  opacity: 1;
	-webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
  cursor: pointer;
}
#imgLink:hover {
  opacity: .5;
}

.imgLink {
  /* vertical-align: middle; */
  opacity: 1;
	-webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
  cursor: pointer;
}

.imgLink:hover {
  opacity: .5;
}


#a {
  display:inline-block;
  vertical-align:middle;
  text-decoration: none;
}

#aUserTable {
  color: azure;
  text-decoration: none;

}

.searchInput {
  background-image: url('/img/search.png');
  background-size: 30px;
  /* background-color: #2a295e; */
  /* background-color: #074b83; */
  background-color: #f1f1f1;
  background-position: 6px 6px;
  background-repeat: no-repeat;
  width: 100%;
  box-sizing: border-box;
  font-size: 16px;
  /* color: azure; */
  padding: 10px 20px 10px 40px;
  border: 0px solid #ddd;
  margin-bottom: 0px;
  font-weight: normal !important;
  z-index: 0;
}

.attendance {
  width: 100%;
  box-sizing: border-box;
  font-size: 16px;
  padding: 10px 10px 10px 10px;
  border: 0px solid #ddd;
  margin-bottom: 0px;
}

.editInput {
  background-color: #5d69ad;
  width: 100%;
  box-sizing: border-box;
  font-size: 16px;
  color: azure;
  padding: 10px;
  border: 0px solid #ddd;
  margin: -6px;
}

#loader {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#overlay {
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0; 
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5); /* Black background with opacity */
  z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
  cursor: wait; /* Add a pointer on hover */
}

#overlaySettings {
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0; 
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5); /* Black background with opacity */
  z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
  cursor: url(/img/close.cur),auto; /* Add a pointer on hover */
}

#exportSettings {
  position: fixed;
  display: none;
  width: 400px;
  height: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  border: solid 2px rgb(255, 255, 255);
  background-color: rgba(168, 191, 255, 0.952);
  padding: 10px;
  border-radius: 5px;
}

#code-edit {
  position: fixed;
  display: none;
  width: 400px;
  height: auto;
  left: 50%;
  top: 50%;
  z-index: 3;
  border: solid 2px rgb(255, 255, 255);
  background-color: rgba(168, 191, 255, 0.952);
  padding: 10px;
  border-radius: 5px;
  margin: -160px 0 0 -200px;
}

h3.export {
  margin: 0px 0px 10px 0px; 

}

th[role=columnheader]:not(.no-sort) {
	cursor: pointer;
}

th[role=columnheader]:not(.no-sort):after {
	content: '';
	float: right;
	margin-top: 7px;
	border-width: 0 4px 4px;
	border-style: solid;
	border-color: #000000 transparent;
	visibility: hidden;
	opacity: 0;
	-ms-user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

th[aria-sort=ascending]:not(.no-sort):after {
	border-bottom: none;
	border-width: 4px 4px 0;
}

th[aria-sort]:not(.no-sort):after {
	visibility: visible;
	opacity: 0.4;
}

th[role=columnheader]:not(.no-sort):hover:after {
	visibility: visible;
	opacity: 1;
}

#popup {
  margin-right: 15px;
  display: none;
  position: absolute;
  background-color: #eff3f3;
  border: solid 2px #8a95a1;
  padding: 8px;
  z-index: 3;
  color: #4b4b4b;

  border-radius: 5px;

  -webkit-box-shadow: 0px 3px 10px 0px rgba(51,51,51,1);
  -moz-box-shadow: 0px 3px 10px 0px rgba(51,51,51,1);
  box-shadow: 0px 3px 10px 0px rgba(51,51,51,1);
}

.footnote.parsed{
  display: inline-block;
  cursor: pointer;
  /* padding: 2px; */
  text-align: center;
  /* background-color: #dbf2ff; */
  /* border-radius: 50%;  */
  /* min-width: 1.2em; */
  color: blue;
}

.footnote.selected {
  color: rgb(119, 119, 255);
}


#overlayPop {
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0; 
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.3); /* Black background with opacity */
  z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
  /* cursor: url(/img/close.cur),auto; Add a pointer on hover */
}

#pop {
  position: fixed;
  /* max-width: 400px; */
  min-width: 250px;
  height: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  /* border: solid 2px rgb(255, 255, 255); */
  /* background-color: rgba(168, 191, 255, 0.952); */
  /* padding: 10px; */
  /* border-radius: 5px; */
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* grid-template-rows: ; */
  grid-template-areas: "left right";
}

.grid_left { grid-area: left; }

.grid_right { grid-area: right; }

.training-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* grid-template-rows: 1fr 1fr; */
  grid-template-areas: "training-days training-tests" "training-participants training-participants";
}

.training-days { grid-area: training-days; }

.training-tests { grid-area: training-tests; }

.training-participants { grid-area: training-participants; }

.participant-grid-container {
  display: grid;
  grid-template-columns: 500px 500px;
  grid-template-areas: "left right";
}

.participant-left { grid-area: left; }

.participant-right { grid-area: right; }

#goTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  /* background-color: red; */
  /* color: white; */
  cursor: pointer;
  /* padding: 15px; */
  border-radius: 4px;
}

#goTopBtn:hover {
  background-color: #555;
}

.edit-info {
  /* display: flex; */
  /* flex-wrap: wrap;
  flex-direction: column; */
  /* max-height: 1000px; */
  column-width: 400px;
  -moz-column-width: 400px;
  -webkit-column-width: 400px;
  column-gap: 1em;
  -moz-column-gap: 1em;
  -webkit-column-gap: 1em;

}

.edit-info > div {
  /* flex: 0 1 auto; */
  /* min-width: 400px;
  max-width: 400px; */
  margin-bottom: 1em;
  display: inline-block;
  width: 100%;
  break-inside: avoid;
}

textarea {
  resize: none;
}

.icon-invisible {
    visibility: hidden;
}

@media screen and (max-width: 600px) {
	#row {
	  display: inherit!important;
	}
	#tabs {
		display: none;
	}
	.tab {
		display: none;
	}
	#accordion {
		display: inherit!important;
	}
	#cert {
		width: 90%!important;
	}
	#certp {
		text-align: center;
	}
	#rightCol {
		padding: 0px;
	}
}

.form-switch {
	display: inline-block;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.form-switch i {
	position: relative;
	display: inline-block;
	margin-right: .5rem;
	width: 46px;
	height: 26px;
	background-color: #e6e6e6;
	border-radius: 23px;
	vertical-align: middle;
	transition: all 0.3s linear;
}

.form-switch i::before {
	content: "";
	position: absolute;
	left: 0;
	width: 42px;
	height: 22px;
	background-color: #fff;
	border-radius: 11px;
	transform: translate3d(2px, 2px, 0) scale3d(1, 1, 1);
	transition: all 0.25s linear;
}

.form-switch i::after {
	content: "";
	position: absolute;
	left: 0;
	width: 22px;
	height: 22px;
	background-color: #fff;
	border-radius: 11px;
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.24);
	transform: translate3d(2px, 2px, 0);
	transition: all 0.2s ease-in-out;
}

.form-switch:active i::after {
	width: 28px;
	transform: translate3d(2px, 2px, 0);
}

.form-switch:active input:checked + i::after { transform: translate3d(16px, 2px, 0); }

.form-switch input { display: none; }

.form-switch input:checked + i { background-color: #4BD763; }

.form-switch input:checked + i::before { transform: translate3d(18px, 2px, 0) scale3d(0, 0, 0); }

.form-switch input:checked + i::after { transform: translate3d(22px, 2px, 0); }

#flash { animation: css 1s 3s forwards; }
@keyframes css  { to { opacity: 0; } }

.tooltip {
	position: relative;
	display: inline-block;
}

.tooltip .tooltiptext {
	visibility: hidden;
	width: 120px;
	background-color: black;
	color: #fff;
	text-align: center;
	border-radius: 6px;
	padding: 5px 0;
	position: absolute;
	z-index: 1;
	bottom: 150%;
	left: 50%;
	margin-left: -60px;
	opacity: 0;
	transition: opacity 0.5s;
}

.tooltip .tooltiptext::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: black transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
	visibility: visible;
	opacity: 0.8;
}

.clock-animated {
	animation-name: color;
	animation-duration: 2s;
	animation-iteration-count: infinite;
}

@keyframes color {
	0% {
	  color: inherit;
	}
	50% {
	  color: yellow;
	}
	100% {
	  color: inherit;
	}
  }

/* Custom scrollbar: */
/* width */
::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}
/* Track */
::-webkit-scrollbar-track {
	background: #bbbbbb;
}
/* Handle */
::-webkit-scrollbar-thumb {
	background: #8f8f8f;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
	background: #585858;
}