html, body {
    height: 100vh;
    width: 100vw;
    margin: 0;
    font-family: Open Sans,Arial,sans-serif;
    background-color: #F5F7FB;
}

#container {
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: row;
    background-color: #F5F7FB;
}

#sidebar {
    width: 260px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color:white;
    justify-content: center;
    -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 50px -1px;
    -moz-box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 50px -1px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 50px -1px;
}

#sidebar-logo {
    width: 160px;
    height: 60px;
    margin-left: 40px;
    margin-top: 15px;
    object-fit: contain;
    margin-bottom: 20px;
    align-self: flex-start;
}

#sidebar-links-container {
    margin-top: 0px;
    margin-bottom: auto;
    height: calc(100% - 95px);
    display: flex;
    flex-direction: column;
}

.sidebar-link {
    width: 200px;
    height: 30px;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 2px;
    margin-bottom: 2px;
    margin-left: auto;
    margin-right: auto;
    line-height: 30px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding-top: 15px;
    padding-bottom: 15px;
    color: #464646;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    border-radius: 30px;
}

.sidebar-link:hover {
    cursor: pointer;
    background-color: #00000005;
}

.active.sidebar-link {
    background-color: #00000010;
}

.sidebar-logout {
    width: 200px;
    height: 30px;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: auto;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
    line-height: 30px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding-top: 15px;
    padding-bottom: 15px;
    color: #464646;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    border-radius: 30px;
}

.sidebar-logout:hover {
    cursor: pointer;
    background-color: #00000005;
}


.sidebar-icon { 
    padding-right: 10px;
    width: 35px;
    font-size: 25px;
    padding-left: 20px;
    
    padding-bottom: 5px;
    vertical-align: middle;
}

#sidebar-padding { 
    height: 30vh;
    width: 100%;
}


#content {
    height: 100vh;
    width: calc(100vw - 260px);
    display: flex;
    flex-direction: column;
    
    overflow: auto;
}

#dashboard, #members, #sites, #devices, #admin {
    width: 100%;
    height: 100%;
    overflow: auto;
}



.events-page-header, .members-page-header, .sites-page-header, .devices-page-header, .edit-device-page-header, .edit-site-page-header, .add-member-page-header, .admin-page-header {
    width: 80%;
    margin-left: 10%;
    color: #303030;
}

.events-container, .members-container, .sites-container, .devices-container { 
    height: auto;
    width: 80%;
    margin-left: 10%;
    display: flex;
    flex-direction: column;
    border-collapse: collapse;
    border-collapse: separate;
    border-spacing:0 10px; 
}

.notif-emails-table {
    height: auto;
    width: auto;
    display: flex;
    flex-direction: column;
    border-collapse: collapse;
    border-collapse: separate;
    border-spacing:0 10px; 
}


tbody {
    display: table;
    width: 100%;
}

.event-header, .member-header, .sites-header, .devices-header {
    width: 100%;
    height: auto;
}


.event-header th, .member-header th, .site-header th, .device-header th {
    font-family: 'Montserrat', sans-serif;
    color: #303030;
    border-bottom: 1px solid #30303049!important;
    text-align: center;
    line-height: 30px;
    padding: 8px;
}

.header-icon {
    font-family: 'Montserrat', sans-serif;
    color: #303030;
    font-size: 12px;
}

.header-icon:hover {
    cursor: pointer;
}

.events, .members, .sites, .devices { 
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.event, .member, .site, .device, .edit-device, .edit-site, .email {
    width: 100%;
    height: auto;
    background-color: white;
    border-radius: 10px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 15px -1px;
    -moz-box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 15px -1px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 15px -1px; 
    margin-bottom: 15px;
}


.event.failed {
    -webkit-box-shadow: rgba(217, 30, 24, 0.3) 0px 0px 15px -1px;
    -moz-box-shadow: rgba(217, 30, 24, 0.3) 0px 0px 15px -1px;
    box-shadow: rgba(217, 30, 24, 0.3) 0px 0px 15px -1px; 
}

.event td, .member td, .site td, .device td, .email td {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #303030;
    border: none;
    text-align: center;
    background-color: transparent;
    padding: 8px;
}

.event td:first-child, .member td:first-child, .site td:first-child, .device td:first-child, .email td:first-child {
    border-radius: 10px 0px 0px 10px;
}

.event td:last-child, .member td:last-child, .site td:last-child, .device td:last-child, .email td:last-child {
    border-radius: 0px 10px 10px 0px;
}

.event td.passed, .member td.passed, .site td.passed, .site td.passed {
    font-family: 'Montserrat', sans-serif;
    color: #26a65b;
    text-align: center;
    font-weight: 700;
}

.event td.failed, .member td.failed, .site td.failed, .device td.failed {
    font-family: 'Montserrat', sans-serif;
    color: rgb(217, 30, 24);
    text-align: center;
    font-weight: 700;
}

.member-picture { 
    height: 80px;
    width: 80px;
    object-fit: cover;
}

.edit, .delete {
    height: 16px;
    width: auto;
}

.delete {
    margin-left: 4px;
}



.add {
    height: 100%;
    width: auto;
    font-size: 26px;
    line-height: 32px;
    margin-left: 20px;
}

.addEmail {
    height: 100%;
    width: auto;
    font-size: 26px;
    line-height: 32px;
    margin-left: 20px;
}

.hover:hover {
    cursor: pointer;
}

.edit:hover, .add:hover, .delete:hover {
    cursor: pointer;
}

.edit-container, .add-container, .admin-container {
    height: auto;
    width: 80%;
    display: flex;
    flex-direction: column;
    margin-left: 10%;
}
.edit-member-container {
    height: auto;
    width: 80%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: 10%;
}

.edit-member-details { 
    flex-direction: column;
    width: 220px;
    flex-direction: column;
    height: auto;
}

.edit-member-image-container { 
    margin-top: 20px;
    margin-right: 20px;
    width: 220px;
    height: 220px;
}

#edit-member-image, #unknown-member-image { 
    width: 100%;
    height: auto;
    object-fit: contain;
}

.edit-title, .add-title { 
    margin-top: 15px;
    font-family: 'Montserrat', sans-serif;
    color: #303030;
    line-height: 30px;
    font-weight: 700;

}

.edit-text-input, .add-text-input {
    width: 190px;
    padding: 5px;
    background-color: white;
    border: none;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    color: #303030;
    margin-top: 5px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 10px -1px;
    -moz-box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 10px -1px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 10px -1px;
    font-weight: 500;
    outline: none;
}

.edit-select, .add-select {
    width: 200px;
    padding: 5px;
    background-color: white;
    border: none;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    color: #303030;
    margin-top: 4px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 10px -1px;
    -moz-box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 10px -1px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 10px -1px;
    font-weight: 500;
    outline: none;
}

.edit-detail, .add-detail { 
    width: 200px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #303030;
    font-weight: 500;
}


.save-cancel {
    margin-top: 25px;
    width: 200px;
    display: flex;
    justify-content: space-between;
    height: fit-content;
}

.save {
    border: none;
    outline: none;
    border-radius: 5px;
    width: 80px;
    padding: 5px;
    font-family: 'Montserrat', sans-serif;
    color: white;
    background-color: #26a65b;
    -webkit-box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 10px -1px;
    -moz-box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 10px -1px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 10px -1px;
}

.set {
    border: none;
    outline: none;
    border-radius: 5px;
    width: 40px;
    line-height: 16px;
    text-align: center;
    margin-left: 10px;
    padding: 5px;
    height: 16px;
    margin-top: 5px;
    font-family: 'Montserrat', sans-serif;
    color: white;
    background-color: #26a65b;
    -webkit-box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 10px -1px;
    -moz-box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 10px -1px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 10px -1px;
}

.set:hover {
    cursor: pointer;
}

.set-container {
    width: 100%;
    height: auto;
    display: flex;
}

.cancel {
    border: none;
    outline: none;
    border-radius: 5px;
    width: 80px;
    padding: 5px;
    font-family: 'Montserrat', sans-serif;
    color: white;
    background-color: rgb(217, 30, 24);
    -webkit-box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 10px -1px;
    -moz-box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 10px -1px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 10px -1px;
}

.save:hover, .cancel:hover {
    cursor: pointer;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
}

#searchTable {
    float: right;
    margin-top: 5px;
    height: 25px;
    border: none;
    border-radius: 5px;
    outline: none;
    -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 15px -1px;
    -moz-box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 15px -1px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 15px -1;
    padding-left: 25px;
}

#addEmailNotif {
    float: right;
    margin-top: 0px;
    height: 25px;
    border: none;
    border-radius: 5px;
    outline: none;
    -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 15px -1px;
    -moz-box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 15px -1px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 15px -1;
    padding-left: 10px;
}
#addEmailButton {
    float: right;
}


.search-icon {
    margin-top: 12px;
    font-size: 13px;
    height: 14px;
    width: 14px;
    margin-right: -21px;
    float: right;
}

.admin-delete {
    float: right;
    margin-right: 5px;
}

.add-unknown-container {
    height: 100vh;
    width: 100vw;
    position: absolute;
    background-color: #0000003a;
    display: flex;
    flex-direction: column;
    z-index: 2;
    top: 0;
}

.add-unknown-popover {
    margin: auto;
    align-self: center;
    background-color: white;
    border-radius: 15px;
    display: flex;
    width: 550px;
    height: 500px;
    max-width: 80vw;
    max-height: 80vh;
    box-shadow:
    0 2.8px 2.2px rgba(0, 0, 0, 0.034),
    0 6.7px 5.3px rgba(0, 0, 0, 0.048),
    0 12.5px 10px rgba(0, 0, 0, 0.06),
    0 22.3px 17.9px rgba(0, 0, 0, 0.072),
    0 41.8px 33.4px rgba(0, 0, 0, 0.086),
    0 100px 80px rgba(0, 0, 0, 0.12);
}

#add-unknown-image-popover {
    height: 100%;
    width: auto;
    object-fit: contain;
    border-radius: 15px;
    align-self: flex-start;
}

.edit-member-details {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    width: auto!important;
}

.edit-member-details .edit-text-input {
    width: auto!important;

}

.edit-member-details .save-cancel {
    margin-top:auto;
    margin-bottom: 25px;
}

.edit-member-details .add-member-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
}