
html {
    height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.main-wrap {
    padding: 40px;
    background-color: #f1f4f6;
    flex: 1 1 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.login-form-wrap {
    border-radius: 2px;
    border: 1px solid #cbcfe0;
    background-color: #fff;
    margin-left: auto;
    margin-right: auto;
    max-width: 350px;
    padding: 20px;
}

.main-table-wrap {
    background-color: #fff;
    border-radius: 2px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow-x: auto;
}

.main-table {
    border-collapse: collapse;
    width: 100%;
    min-width: 1000px;
    table-layout: fixed;
}

.main-table th:not(:nth-of-type(7n + 7)),
.main-table td:not(:nth-of-type(7n + 7)) {
    border-right: 1px solid #cbcfe0;
}

.main-table th {
    padding: 10px;
}

.main-table td {
    border-top: 1px solid #cbcfe0;
    height: 145px;
    text-align: center;
    vertical-align: top;
    position: relative;
    padding: 10px;
}

.day-num {
    font-weight: bold;
    position: relative;
    z-index: 1;
    display: inline-block;
    line-height: 1;
}

.time-slots {
    margin-top: 100px;
}

.today {
    background-color: yellow;
}

.title {
    margin-bottom: 0;
}

.date-table-cell {
    cursor: pointer;
}

.date-cell {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.date-cell:hover {
    background-color: #fcf0f2;
}

.selected-date,
.selected-date:hover  {
    background-color: #fee9ec;
}

.event {
  position: relative;
  display: inline-block;
  margin-top: 5px;
  width: 100%;
  overflow: hidden;
  text-align: left;
}

.event p {
  margin: 0;
  padding: 0;
  line-height: 1.2em;
  font-size: 12px;
}

a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    margin: 0 15px;
}

.event-img {
    max-width: 20px;
    max-height: 30px;
    vertical-align: middle;
    margin-right: 2px;
    padding: 2px 0px 3px 0px;
}

.event-row {
    display: flex;
    justify-content: space-between;
}

.event-column {
    flex: 1;
    padding: 0 5px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.event-initials {
    margin-left: 2px;
}

.red-event {
    color: red;
}

.blue-event {
    color: blue;
}

.black-event {
    color: black;
}

.color-black {
    color: black;
}

.color-blue {
    color: blue;
}

.purple-event {
    color: purple;
}

.teal-event {
    color: teal;
}

.green-event {
    color: green;
}

.maroon-event {
    color: maroon;
}

.navy-event {
    color: navy;
}

.fuchsia-event {
    color: fuchsia;
}

.darksalmon-event {
    color: darksalmon;
}

.darkslategray-event {
    color: darkslategray;
}

.lightsteelblue-event {
    color: lightsteelblue;
}

.mediumpurple-event {
    color: mediumpurple;
}


.time-color {
    color: black;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1
}

.dropdown-btn:focus + .dropdown-content {
    display: block;
}

/* new dropdown styles */
.popover-body .dropdown-item {
    cursor: pointer;
}

.dropdown-item.active, 
.dropdown-item:active {
    color: #16181b;
    text-decoration: none;
    background-color: #f8f9fa;
}

.popover-body .dropdown-item,
.dropdown-intro-text {
    margin-left: 0;
    margin-right: 0;
    padding: 0.5rem 1.5rem;
}

.popover-body {
    padding: 0;
}
/* end dropdown styles */

/* navbar */
.navbar {
    box-shadow: 0 0.125rem 0.5rem #c7d1d6;
    padding-left: 40px;
    padding-right: 40px;
}
/* end navbar */


/* navigation */
.navigation {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navigation .material-symbols-outlined {
    font-size: 32px;
}

.navigation__month {
    font-weight: bold;
    font-size: 18px;
}

.navigation__year {
    color: #7a7e9d;
}
/* end navigation */


/* buttons */
.btn {
    border-radius: 2px;
}

.hide-button {
    display: none;
}

.delete-time-entry-button,
.edit-time-entry-button,
.delete-time-entry-button:hover,
.edit-time-entry-button:hover {
    color: #343a40;
}

/* end buttons */



.hidden-selector, .hidden-row, .hidden-col , .hidden-id {
  /*  display: none !important; */
	visibility: hidden;
}





/* time selector */
.time-off__date-wrap {
    margin-bottom: 16px;
}

.time-off__date {
    font-weight: bold;
}

.time-selector-section {
    margin-bottom: 16px;
}

.time-selector {
    display: flex;
    align-items: center;
}

.time-selector__label {
    min-width: 80px;
    margin-right: 5px;
}

.time-selector__select {
    margin-right: 10px;
}

.hide-time-selector {
    display: none;
}

.time-selector:first-child {
    margin-bottom: 16px;
}
/* end time selector */


@media (max-width: 600px) {
    .main-table {
        min-width: auto;
    }

    .main-table .empty-table-cell,
    .main-table th {
        display: none;
    }

    .main-table th:not(:nth-of-type(7n + 7)), 
    .main-table td:not(:nth-of-type(7n + 7)) {
        border-right: none;
    }

    .main-table tr:first-child .date-table-cell:not(.date-table-cell ~ .date-table-cell) {
        border-top: none;
    }

    .main-table,
    .main-table tbody,
    .main-table tr,
    .main-table td {
        display: block;
    }

    .main-table td {
        height: auto;
        text-align: left;
        padding: 20px;
    }

    .event {
        padding-left: 25px;
    }

    .time-off-element {
        width: fit-content;
    }

    .title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .time-off-button-wrap {
        margin-top: 5px;
    }

    .day-wrap {
        margin-left: 10px;
    }

    .day-num {
        font-size: 20px;
    }

    .time-slots {
        margin-top: 100px;
    }
}
/* end mobile table */

.time-entry--time-off {
    border: 1px dotted transparent;
    position: relative;
    z-index: 1;
    padding: 2px 4px;
    border-radius: 2px;
}

.time-entry--time-off:hover {
    border: 1px dotted #000;
    cursor: pointer;
}

.time-entry--time-off.selected-time-entry {
    background: #000;
    color: #fff;
    font-weight: bold;
}

.time-validation-text {
    color: red;
    font-size: 14px;
}

.hide-validation-text {
    display: none;
}

.modal-content {
    border-radius: 2px;
    border: none;
}

/* Custom Checkbox Styling */

/* Customize the label (the container) */
.checkbox-container {
    display: inline-block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  /* Hide the browser's default checkbox */
  .checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  /* Create a custom checkbox */
  .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #eee;
  }
  
  /* On mouse-over, add a grey background color */
  .checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
  }
  
  /* When the checkbox is checked, add a blue background */
  .checkbox-container input:checked ~ .checkmark {
    background-color: #343a40;
  }
  
  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the checkmark when checked */
  .checkbox-container input:checked ~ .checkmark:after {
    display: block;
  }
  
  /* Style the checkmark/indicator */
  .checkbox-container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  /* end custom checkbox styling */



/* radio custom styles */
.radio-container {
    display: block;
    position: relative;
    padding-left: 27px;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  .radio-container:first-child {
    margin-right: 10px;
  }
  
  /* Hide the browser's default radio button */
  .radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
  }
  
  /* Create a custom radio button */
  .radio-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #eee;
    border-radius: 50%;
  }
  
  /* On mouse-over, add a grey background color */
  .radio-container:hover input ~ .checkmark {
    background-color: #ccc;
  }
  
  /* When the radio button is checked, add a blue background */
  .radio-container input:checked ~ .checkmark {
    background-color: #2196F3;
  }
  
  /* Create the indicator (the dot/circle - hidden when not checked) */
  .radio-checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the indicator (dot/circle) when checked */
  .radio-container input:checked ~ .radio-checkmark:after {
    display: block;
  }
  
  /* Style the indicator (dot/circle) */
  .radio-container .radio-checkmark:after {
    top: 7px;
    left: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #212529;
  }

  /* end custom radio button styles */

.form-legend {
    font-size: 16px;
}

.time-entry--cal-event {
    color: blue;
    border: 1px dotted transparent;
    position: relative;
    z-index: 1;
    padding: 2px 4px;
    border-radius: 2px;
}

.time-entry--cal-event:hover {
    border: 1px dotted #000;
    cursor: pointer;
}

.time-entry--cal-event.selected-time-entry {
    background-color: blue;
    color: #fff;
    font-weight: bold;
}

.hide {
    display: none;
}

.day-wrap {
    margin-top: 10px;
}

.day-of-week-name {
    display: inline-block;
    font-size: 15px;
    line-height: 1;
}

@media (min-width: 600px) {
    .day-of-week-name {
        display: none;
    }
}

.menu-button {
    border: none;
    background-color: #fff;
    padding: 0;
    cursor: pointer;
    margin-left: 16px;
    line-height: 1;
}

.menu-button:focus {
    outline: #eee;
}

.side-menu-open .menu-icon {
    display: none;
}

.menu-close-icon {
    display: none;
}

.side-menu-open .menu-close-icon {
    display: block;
}

/* The side navigation menu */
.sidebar-nav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    overflow-x: hidden;
    padding-top: 80px;
    transition: 0.5s;
    background-color: #fff;
}

.overlay {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background: #222;
    opacity: 0.5;
    display: none;
    transition: 0.5s;
}

.side-menu-open .sidebar-nav {
    width: 250px;
}

.side-menu-open .overlay {
    display: block;
}
  
.sidebar-nav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 1rem;
    color: #343a40;;
    display: block;
    width: max-content;
}

.sidebar-nav a:hover {
    text-decoration: underline;
}


