/* html, body {
  width: 100%;
  height: 100%;
}
body {
  background: #f5f7fa;
  padding: 40px 0;
  box-sizing: border-box;
  font-family: Montserrat, "sans-serif";
  color: #51565d;
} */
div.calendar-container {
  background: #f5f7fa;
  /* padding: 40px 0; */
  border-radius: 10px;
  box-sizing: border-box;
  font-family: Montserrat, "sans-serif";
  color: #51565d;
  /* width: 100%;
  height: 100%; */
}
.calendar {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  grid-template-rows: 50px;
  grid-auto-rows: 120px;
  overflow: auto;
}
.calendar-container {
  /* width: 90%; */
  width: 100%;
  margin: auto;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: #fff;
  max-width: 1200px;
}
.calendar-header {
  text-align: center;
  padding: 20px 0;
  background: linear-gradient(to bottom, #fafbfd 0%, rgba(255, 255, 255, 0) 100%);
  border-bottom: 1px solid rgba(166, 168, 179, 0.12);
}
.calendar-header h1 {
  margin: 0;
  font-size: 18px;
}
.calendar-header p {
  margin: 5px 0 0 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(81, 86, 93, 0.4);
}
.calendar-header button {
  background: 0;
  border: 0;
  padding: 0;
  color: rgba(81, 86, 93, 0.7);
  cursor: pointer;
  outline: 0;
  margin: 0px 15px;
}
.day {
  border-bottom: 1px solid rgba(166, 168, 179, 0.12);
  border-right: 1px solid rgba(166, 168, 179, 0.12);
  text-align: right;
  /* padding: 14px 20px; */
  padding: 3px;
  letter-spacing: 1px;
  font-size: 12px;
  box-sizing: border-box;
  color: #98a0a6;
  position: relative;
  pointer-events: none;
  z-index: 1;
  line-height: 1em;
}
.day:nth-of-type(7n + 7) {
  border-right: 0;
}
.day:nth-of-type(n + 1):nth-of-type(-n + 7) {
  grid-row: 2;
}
.day:nth-of-type(n + 8):nth-of-type(-n + 14) {
  grid-row: 3;
}
.day:nth-of-type(n + 15):nth-of-type(-n + 21) {
  grid-row: 4;
}
.day:nth-of-type(n + 22):nth-of-type(-n + 28) {
  grid-row: 5;
}
.day:nth-of-type(n + 29):nth-of-type(-n + 35) {
  grid-row: 6;
}
.day:nth-of-type(n + 36):nth-of-type(-n + 42) {
  grid-row: 7;
}
.day:nth-of-type(7n + 1) {
  grid-column: 1/1;
}
.day:nth-of-type(7n + 2) {
  grid-column: 2/2;
}
.day:nth-of-type(7n + 3) {
  grid-column: 3/3;
}
.day:nth-of-type(7n + 4) {
  grid-column: 4/4;
}
.day:nth-of-type(7n + 5) {
  grid-column: 5/5;
}
.day:nth-of-type(7n + 6) {
  grid-column: 6/6;
}
.day:nth-of-type(7n + 7) {
  grid-column: 7/7;
}
.day-name {
  font-size: 12px;
  text-transform: uppercase;
  color: #99a1a7;
  text-align: center;
  border-bottom: 1px solid rgba(166, 168, 179, 0.12);
  line-height: 50px;
  font-weight: 500;
}
.day--disabled {
  color: rgba(152, 160, 166, 0.6);
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f9f9fa' fill-opacity='1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
  cursor: not-allowed;
  z-index:1;
}
.training-class {
  border-left-width: 3px;
  /* padding: 8px 12px; */
  padding: 0px 8px;
  /* margin: 10px; */
  margin: 5px 0px;
  border-left-style: solid;
  /* font-size: 14px; */
  font-size: 12px;
  position: relative;
  z-index:2;
  line-height:1.5em;
  overflow: hidden;
  max-height: 18px;
  align-self: start;
  cursor: pointer;
}
.training-class--millwright {
  border-left-color: #fdb44d;
  background: #fef0db;
  color: #fc9b10;
  /* margin-top: -5px; */
}
.training-class--other {
  border-left-color: #f8254e;
  /* margin-top: 15px; */
  background: rgba(253, 197, 208, 0.7);
  color: #f8254e;
}
.training-class--carpenter {
  border-left-color: #4786ff;
  /* margin-top: 15px; */
  background: rgba(218, 231, 255, 0.7);
  color: #0a5eff;
}
div.training-class.training-class--full, li.training-class--full {
  border-left-color: #777777;
  background: rgba(200,200,200, 0.7);
  color: #000000;
}
.training-class__detail {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  background: #fff;
  border: 1px solid rgba(166, 168, 179, 0.2);
  color: #000;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  z-index: 2;
}
.training-class__detail:after, .training-class__detail:before {
  bottom: 100%;
  left: 30%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.training-class__detail:before {
  border-bottom-color: rgba(166, 168, 179, 0.2);
  border-width: 8px;
  margin-left: -8px;
}
.training-class__detail:after {
  border-bottom-color: #fff;
  border-width: 6px;
  margin-left: -6px;
}
.training-class__detail h2 {
  font-size: 15px;
  margin: 0;
  color: #51565d;
}
.training-class__detail p {
  margin-top: 4px;
  font-size: 12px;
  margin-bottom: 0;
  font-weight: 500;
  color: rgba(81, 86, 93, 0.7);
}
.week1 {
  grid-row: 2;
}
.week2 {
  grid-row: 3;
}
.week3 {
  grid-row: 4;
}
.week4 {
  grid-row: 5;
}
.week5 {
  grid-row: 6;
}
.week6 {
  grid-row: 7;
}
.dow1-1 {
  grid-column: 1 / span 1;
}
.dow1-2 {
  grid-column: 1 / span 2;
}
.dow1-3 {
  grid-column: 1 / span 3;
}
.dow1-4 {
  grid-column: 1 / span 4;
}
.dow1-5 {
  grid-column: 1 / span 5;
}
.dow1-6 {
  grid-column: 1 / span 6;
}
.dow1-7 {
  grid-column: 1 / span 7;
}
.dow2-1 {
  grid-column: 2 / span 1;
}
.dow2-2 {
  grid-column: 2 / span 2;
}
.dow2-3 {
  grid-column: 2 / span 3;
}
.dow2-4 {
  grid-column: 2 / span 4;
}
.dow2-5 {
  grid-column: 2 / span 5;
}
.dow2-6 {
  grid-column: 2 / span 6;
}
.dow3-1 {
  grid-column: 3 / span 1;
}
.dow3-2 {
  grid-column: 3 / span 2;
}
.dow3-3 {
  grid-column: 3 / span 3;
}
.dow3-4 {
  grid-column: 3 / span 4;
}
.dow3-5 {
  grid-column: 3 / span 5;
}
.dow4-1 {
  grid-column: 4 / span 1;
}
.dow4-2 {
  grid-column: 4 / span 2;
}
.dow4-3 {
  grid-column: 4 / span 3;
}
.dow4-4 {
  grid-column: 4 / span 4;
}
.dow5-1 {
  grid-column: 5 / span 1;
}
.dow5-2 {
  grid-column: 5 / span 2;
}
.dow5-3 {
  grid-column: 5 / span 3;
}
.dow6-1 {
  grid-column: 6 / span 1;
}
.dow6-2 {
  grid-column: 6 / span 2;
}
.dow7-1 {
  grid-column: 7 / span 1;
}
.class-first {
  margin-top: 16px;
}
.class-second {
  margin-top: 36px;
}
.class-third {
  margin-top: 56px;
}
.class-fourth {
  margin-top: 76px;
}
.class-fifth {
  margin-top: 96px;
}
.class-edit-link {
  float: right;
}
.class-edit-link a {
  color: #000;
}

/**************************\
  Basic Modal Styles
\**************************/

.modal {
  font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;
}

.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.modal__container {
  background-color: #fff;
  padding: 30px;
  max-width: 500px;
  max-height: 100vh;
  border-radius: 4px;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal__title {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  color: #dca60f;
  box-sizing: border-box;
}

.modal__close {
  background: transparent;
  border: 0;
}

.modal__header .modal__close:before { content: "\2715"; }

.modal__content {
  margin-top: 2rem;
  margin-bottom: 2rem;
  line-height: 1.5;
  color: rgba(0,0,0,.8);
}

.modal__btn {
  font-size: .875rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: .5rem;
  padding-bottom: .5rem;
  background-color: #e6e6e6;
  color: rgba(0,0,0,.8);
  border-radius: .25rem;
  border-style: none;
  border-width: 0;
  cursor: pointer;
  -webkit-appearance: button;
  text-transform: none;
  overflow: visible;
  line-height: 1.15;
  margin: 0;
  will-change: transform;
  -moz-osx-font-smoothing: grayscale;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: -webkit-transform .25s ease-out;
  transition: transform .25s ease-out;
  transition: transform .25s ease-out,-webkit-transform .25s ease-out;
}

.modal__btn:focus, .modal__btn:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.modal__btn-primary {
  /* background-color: #00449e; */
  background-color: #dca60f;
  color: #fff;
}



/**************************\
  Demo Animation Style
\**************************/
@keyframes mmfadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}

@keyframes mmfadeOut {
    from { opacity: 1; }
      to { opacity: 0; }
}

@keyframes mmslideIn {
  from { transform: translateY(15%); }
    to { transform: translateY(0); }
}

@keyframes mmslideOut {
    from { transform: translateY(0); }
    to { transform: translateY(-10%); }
}

.micromodal-slide {
  display: none;
}

.micromodal-slide.is-open {
  display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
  animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
  animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
  animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}


/**************************\
  registration form styles
\**************************/
.registration-form {
	margin:10px auto;
	max-width: 500px;
	padding: 20px 12px 10px 20px;
	/* font: 13px "Lucida Sans Unicode", "Lucida Grande", sans-serif; */
}
.registration-form li {
	padding: 0;
	display: block;
	list-style: none;
	margin: 10px 0 0 0;
}
.registration-form label{
	margin:0 0 3px 0;
	padding:0px;
	display:block;
	font-weight: bold;
}
.registration-form input[type=text], 
.registration-form input[type=date],
.registration-form input[type=datetime],
.registration-form input[type=number],
.registration-form input[type=search],
.registration-form input[type=time],
.registration-form input[type=url],
.registration-form input[type=email],
textarea, 
select{
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	border:1px solid #BEBEBE;
	padding: 7px;
	margin:0px;
	-webkit-transition: all 0.30s ease-in-out;
	-moz-transition: all 0.30s ease-in-out;
	-ms-transition: all 0.30s ease-in-out;
	-o-transition: all 0.30s ease-in-out;
	outline: none;	
}
.registration-form input[type=text]:focus, 
.registration-form input[type=date]:focus,
.registration-form input[type=datetime]:focus,
.registration-form input[type=number]:focus,
.registration-form input[type=search]:focus,
.registration-form input[type=time]:focus,
.registration-form input[type=url]:focus,
.registration-form input[type=email]:focus,
.registration-form textarea:focus, 
.registration-form select:focus{
	-moz-box-shadow: 0 0 8px #88D5E9;
	-webkit-box-shadow: 0 0 8px #88D5E9;
	box-shadow: 0 0 8px #88D5E9;
	border: 1px solid #88D5E9;
}
.registration-form .field-divided{
	width: 49%;
}

.registration-form .field-long{
	width: 100%;
}
.registration-form .field-select{
	width: 100%;
}
.registration-form .field-textarea{
	height: 100px;
}
.registration-form input[type=submit], .registration-form input[type=button]{
	background: #4B99AD;
	padding: 8px 15px 8px 15px;
	border: none;
	color: #fff;
}
.registration-form input[type=submit]:hover, .registration-form input[type=button]:hover{
	background: #4691A4;
	box-shadow:none;
	-moz-box-shadow:none;
	-webkit-box-shadow:none;
}
.registration-form .required{
	color:red;
}