﻿/*define document variables here*/
:root {
    --sos-emergency: #ba1127; /*color to be used for emergency related things*/
    --sos-emergency-hover: #ff0000;
    --sos-drill: #e4af19;
    --sos-drill-hover: #ecc807;
    --sos-accent-1: #335d8e; /*main site accent color*/
    --sos-accent-1-70opacity: rgba(51, 93, 142, 0.7);
    --sos-accent-2: #747474;
    --sos-accent-2-hover: #a8a7a7;
    --sos-header: #c8c8c8;
    --sos-link: #0facd3;
    --sos-btn-primary-old: var(--sos-accent-1);
    --sos-btn-primary: var(--sos-accent-1);
    --sos-btn-secondary-old: #ffffff;
    --sos-btn-secondary: #8b8b8b;
    --sos-btn-primary-hover-old: #5277a1;
    --sos-btn-primary-hover: #5277a1;
    --sos-btn-secondary-hover-old: #e0dede;
    --sos-btn-secondary-hover: #747474;
    --sos-btn-danger: #a72c2c;
    --sos-btn-danger-hover: #752a2a;
    --sos-btn-primary-disabled: #6d6d6d;
    --sos-btn-primary-disabled-text: var(--sos-btn-secondary-old);
    --sos-error: #ff0000;
    --sos-text-basic: #000000;
    --sos-text-action: #ffffff;
    --sos-divider-20alpha: rgba(132, 131, 138, 0.2);
    --sos-download-color: #042852;
    --sos-download-color-hover: #053c7d;
    --sos-floorplan-selected-color: #89d5d2;
    --sos-floorplan-selected-color-hover: #a2fcf9;
    --sos-secondary-orange: #e28129;
    --sos-secondary-orange-hover: #f5a91b;
    --sos-btn-dropshadow: drop-shadow(0px 3px 3px rgba(0,0,0,0.38));
    --sos-content-background-color: #f5f5f5;
    --sos-large-card-background: #e6e6e6;
    --sos-menu-hover-color: rgba(83, 136, 198, 0.27);
    --sos-mute-color: #B33102;
    --sos-mute-color-hover: #C93702;
}

#layout-content {
}

.list-container {
    margin: 0 auto;
    width: 80%;
}

.background-transparent{
    background: transparent;
}

.btn-primary {
    background-color: var(--sos-btn-primary-old) !important;
    color: var(--sos-text-action);
}

.btn-primary:hover {
    background-color: var(--sos-btn-primary-hover-old) !important;
    color: var(--sos-text-action) !important;
}

.sos-btn-danger {
    color: var(--sos-text-action) !important;
    background-color: var(--sos-btn-danger) !important;
    filter: var(--sos-btn-dropshadow)
}

.sos-btn-danger:hover{
    background-color: var(--sos-btn-danger-hover) !important;
}

.sos-btn-danger:disabled {
    background-color: var(--sos-btn-primary-disabled) !important;
    color: var(--sos-btn-primary-disabled-text) !important;
    filter: none;
}

.sos-btn-danger.Mui-disabled {
    background-color: var(--sos-btn-primary-disabled) !important;
    color: var(--sos-btn-primary-disabled-text) !important;
    filter: none;
}

/* unvisited link  */
a:not(.mdl-button):link {
    color: var(--sos-link);
    text-decoration: none;
}
/* visited link */
a:not(.mdl-button):visited {
    color: var(--sos-link);
    text-decoration: none;
}
/* mouse over link */
a:not(.mdl-button):hover {
    color: var(--sos-link);
    font-weight: bold;
    text-decoration: underline;
}
/* selected link */
a:not(.mdl-button):active {
    color: white;
    text-decoration: none;
}

.mdl-card__title, .mdl-card__supporting-text {
    word-break: break-word;
}

#login-submit-btn {
    width: 90%;
}

#pass-submit-btn {
    width: 90%;
}

#reset-submit-btn {
    width: 90%;
}

#register-responder-link {
    width: 80%;
}

.top-container {
    height: calc(100% - 64px);
}

.container {
    width: 100%;
    height: 100%;
}

.flex-row-container {
    width:100%;
    display:flex;
    flex-direction: row;
    justify-content:space-around;
}

.flex-justify-center{
    display:flex;
    justify-content:center;
}

img, video {
    max-width: 100%;
}

.video-fullscreen {
    height: 100%;
}

.modal-popup {
    margin-left: auto;
    margin-right: auto;
    min-height: initial;
}

    .modal-popup > button {
        position: absolute;
        right: 5px;
        top: 5px;
        z-index: 5;
        width: 36px;
    }

.popup-card {
    min-height: initial;
    width:100%;
}

    .popup-card .mdl-card__title .mdl-typography--title {
        margin-bottom: 0;
    }

.text-row {
    width: 100%;
    margin-bottom: 10px;
}

.sos-header {
    overflow: visible;
    background-color: var(--sos-header);
}

.sos-header .mdl-layout__drawer-button {
    background: transparent;
}

.sos-header .mdl-navigation__link {
    font-weight: 700;
    font-size: 14px;
}

.sos-navigation-container {
    /* Simple hack to make the overflow happen to the left instead... */
    direction: rtl;
    order: 1;
    width: 500px;
    -moz-transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.sos-navigation {
    /* ... and now make sure the content is actually LTR */
    direction: ltr;
    justify-content: flex-end;
    width: 800px;
}

.sos-navigation .mdl-navigation__link {
    display: inline-block;
    height: 60px;
    line-height: 68px;
    background-color: transparent !important;
    border-bottom: 4px solid transparent;
}

.sos-navigation .mdl-navigation__link:hover {
    border-bottom: 4px solid;
}

.sos-search-box {
    order: 2;
    margin-left: 16px;
    margin-right: 16px;
}

.sos-search-box.is-focused + .sos-navigation-container {
    opacity: 0;
    width: 100px;
}

.sos-more-button {
    order: 3;
}

.sos-emergency-icon {
    color: var(--sos-emergency);
}

.sos-header-title-div {
    max-width: 50%;
    overflow-x: hidden;
    white-space: nowrap;
}

.sos-header-logo {
    max-height: 50px;
    display: inline-block;
}

.sos-header-title {
    display: inline-block;
    margin: 0;
    padding: 0;
    line-height: initial;
}

.sos-drawer {
    border-right: none;
    overflow-x: hidden;
    overflow-y: auto;
}

.sos-drawer .mdl-navigation__link.mdl-navigation__link {
    font-size: 14px;
    color: #757575;
    text-decoration: none;
    font-weight: 400
}

.sos-drawer-item:hover {
  background-color: rgb(224,224,224);
}

.sos-nav-item-container {
  flex: 1;
  display: flex;
  flex-direction: row;
}

.sos-nav-item-icon {
  width: 22px;
  display: flex;
  align-self: center;
}

.sos-nav-item-icon.right {
  margin-right: 10px;
}

  .sos-nav-item-icon.left {
    margin-left: 10px;
  }

.sos-nav-item-title {
  flex: 1;
  display: flex;
  align-self: center;
  padding: 16px 20px!important;
}

.sos-drawer span.mdl-navigation__link.mdl-navigation__link {
    color: #8bc34a;
}

.sos-drawer .mdl-layout-title {
    position: relative;
    background: indigo;
    height: 160px;
}

.sos-drawer .sos-header-logo {
    position: absolute;
    bottom: 1px;
    height: 100px;
    left: 0;
}

.sos-drawer .sos-drawer-emulation {
    margin-left: 10%;
    margin-right: 10%;
    padding-left: 18px;
    padding-top: 8px;
    margin-bottom: 0;
}

.sos-drawer .sos-drawer-emulation > p {
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    overflow-x: hidden;
}

.sos-drawer-separator {
    height: 1px;
    background-color: #dcdcdc;
    margin: 8px 0;
}

.save-message {
    padding-left: 10px;
    color: green;
}

.save-error {
    padding-left: 10px;
    color: rgb(186,17,38);
}


.mdl-navigation .site-list-group {
    margin-left: 10px;
    margin-right: 10px;
    padding-top: 8px;
    text-align: center;
}

.mdl-navigation .site-list-group-logo {
    max-height: 50px;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Chrome/Safari/Opera */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE/Edge */
    user-select: none; /* non-prefixed version, currently
                                  not supported by any browser */
}

.emu-btn {
    margin-left: 15px;
    margin-bottom: 10px;
}

.emu-label {
    display: inline;
}

.emu-div {
    display: inline;
    height: 30px;
}

.mdl-layout__header-row .emu-btn {
    color: white;
}

.org-filter {
    width: 80%;
    min-height: 0;
    margin: 5px auto 5px auto;
    padding-left: 15px;
}

.forgot-password-link {
    padding-left: 5px;
    padding-right: 5px;
}

.error {
    color: red
}

.menu-icon {
    margin-right: 20px;
}

.breadcrumbBar {
    background-color: white !important;
    padding: 12px 10px 0px 20px !important;
    border-bottom: solid 1px;
    border-top: solid 1px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    flex-shrink: 0;
    box-sizing: border-box;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    height: 30px;
    text-align: left;
    margin: 0;
}

.siteNav {
    display: inline-block;
    width: 100%;
}

.siteNav-emergency {
    background-color: rgb(186,17,38);
}

.siteNav-drill{
    background-color: var(--sos-drill)
}

.siteNav i {
    /*margin-top: 15px;*/
    cursor: pointer;
}

.buildingContainer {
    margin-left: 20px;
}

.organizationOptionsContainer {
    margin-left: 20px;
}

.stickyLogoutContainer {
    position: sticky;
    bottom: 0;
    background: rgb(250,250,250);
    border-top: solid 1px;
}

.fixedLogoutContainer {
    position: absolute;
    bottom: 0;
    background: rgb(250,250,250);
    border-top: solid 1px;
    width: 100%;
}

.topNavContainer {
    overflow-x: hidden;
    overflow-y: auto;
}

.card-container {
    min-width: 250px;
}

.card-icon {
    position: absolute;
    right: 10px;
}

.card-address-container {
    width: calc(100%);
    color: white;
    padding-left: 3%;
    overflow-wrap: break-word;
    max-height: 220px;
    position: absolute;
    bottom: 0;
    
}

    .card-address-container p {
        line-height: 1;
    }

    .card-address-container h2 {
        font-weight: bold;
        margin-bottom: .5rem;
        display: block;
    }

.card-parent {
    flex: 1;
    min-width: 0;
    margin-right: 120px;
}

.mdl-data-table {
    border-collapse: unset;
    border-spacing: 0px;
}

.mdl-data-table td {
    border-bottom: 0px;
}

.card-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-parent-flex {
    display: flex;
}


.card-emergency-icon {
    position: absolute;
    top: 1px;
    left: 1px;
    color: white;
    z-index: 11;
}

button.link {
    font-family: "Verdana" sans-serif;
    font-size: 1em;
    text-align: left;
    color: blue;
    background: none;
    margin: 0;
    padding: 0;
    border: none;
    cursor: pointer;
    -moz-user-select: text;
}

button.link span {
    text-decoration: underline;
}

button.link:hover span, button.link:focus span {
    color: black;
}

.site-nav-link {
    padding-left: 7px;
    margin-left: 35px;
    max-width: 100px;
}

.building-link {
    margin-left: 30px;
}

.address-block {
    margin-left: 10px;
}

.emergency-table {
    margin: 0 auto;
    box-shadow: 2px -2px 15px #B7B3B3;
    background: white;
    width:100%;
}

.emergency-management-container > .emergency-table {
    box-shadow: initial;
}

.emergency-actions-icon {
    padding-left: 0px !important;
    padding-right: 0px !important;
    margin-left: 5px !important;
    margin-right: 5px !important;
}

.mdl-data-table td, .emergency-footer {
    text-align: center;
    background-color: white;
}

.emergency-link {
    font-size: 16pt;
    color: white !important;
    background-color: var(--sos-emergency);
}

.emergency-link:hover {
    background-color: var(--sos-emergency-hover);
}

.emergency-link-container {
    width: 70%;
    text-align: left;
}

.drill-link {
    font-size: 16pt;
    color: white !important;
    background-color: var(--sos-drill);
}

.drill-link:hover {
    background-color: var(--sos-drill-hover);
}

.emergency-management-modal .mdl-card__supporting-text {
    width: unset;
}

.menu-logo {
    margin: 0 auto;
}

.drawer-close-btn {
    position: absolute;
    right: 15px;
}

.side-nav-icon {
    margin-top: 15px;
    margin-left: 10px;
}

mdl-navigation__link .side-nav-link {
    padding-left: 7px;
}

a.mdl-navigation__link.side-nav-link {
    padding-left: 20px !important;
}

.close-btn {
    text-align: right;
}

.material-icon-checkbox {
    font-size: 36px;
    color: var(--sos-floorplan-selected-color-hover);
}

.material-icon-checkbox-div {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
}

.material-icon-checkbox-unchecked{
    color:var(--sos-accent-2);
}

.center-spinner {
    position: absolute;
    left: 50%;
    top: 50%;
}

.center-component {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
}

.center-sticky-component {
    position: sticky;
    left: 50%;
    transform: translate(-50%);
}

.center-inner {
    margin: auto;
}

.notification-alert-btn:hover {
    background: rgba(186, 17, 39, .9);
    color: #FFF;
}

.notificationWindow {
    position: fixed;
    top: 50px;
    right: 100px;
    z-index: 900;
    width: 400px;
    height: 620px;
    background-color: white;
    border-radius: 5px;
    overflow:hidden;
    box-shadow: 0 0 8px 0 rgba(0,0,0, 0.3);
}

#broadcast-image-preview{
   max-width:60%;
   padding-bottom:10px;
   margin-left:auto;
   margin-right:auto;
}

#close-notification-btn {
    position: fixed;
    top: 50px;
    right: 100px;
}

#notification-msg-type {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

#notification-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
}

#notifications {
    display: flex;
    justify-content: center;
    align-items: center;
}

.notification-unread-msg {
    padding-bottom: 5px;
    display: block;
    font-weight: bold;
    cursor: pointer;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.notification-read-msg {
    padding-bottom: 5px;
    display: block;
    cursor: pointer;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}


.chatroom {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 900;
    width: 360px;
    height: 300px;
    background-color: var(--sos-header);
    overflow: hidden;
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.8);
}

.chatroom h3 {
    font-family: 'Pacifico', cursive;
    background-color: var(--sos-accent-2);
    color: #000;
    margin: 0;
    height: 40px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatroom .chats {
    box-sizing: border-box;
    padding: 0 5px;
    margin: 10px 0 0;
    height: 210px;
    overflow-y: scroll;
}

.chats-embedded {
    max-height: 90px;
    overflow-y: auto;
    flex-grow: 1;
    background-color: var(--sos-header);
}

.chatroom-embedded .chats-embedded {
    max-height: 90px;
    margin: unset;
    padding: 5px;
}

.chatroom .chats .chat, .chatroom .chats-embedded .chat {
    position: relative;
    list-style: none;
    float: left;
    clear: both;
    max-width: 80%;
    display: flex;
    align-items: flex-end;
    margin-bottom: 5px;
}

.chatroom .chats .chat .chat-message, .chatroom-embedded .chats-embedded .chat .chat-message {
    background: white;
    color: black;
    padding: 5px 13px;
    font-size: 14px;
    border-radius: 10px;
    word-break: break-word;
}

.chat-time{
    font-size: 10px;
    margin-bottom: 0px;
}

.chatroom .chats .chat .chat-user, .chatroom-embedded .chats-embedded .chat .chat-user {
    font-size: 9px;
    color: var(--sos-btn-primary-old);
    line-height: normal;
}

.chatroom .chats .chat .chat-avatar, .chatroom-embedded .chats-embedded .chat .chat-avatar {
    width: 24px;
    min-width: 24px;
    min-height: 24px;
    height: 24px;
    line-height: 24px;
    padding: 5px;
    border-radius: 50%;
    font-size: 14px;
    color: black;
    text-align: center;
    background: white;
    margin-right: 5px;
}

    .chatroom .chats .chat .chat-avatar.responder-avatar, .chatroom-embedded .chats-embedded .chat .chat-avatar.responder-avatar {
        background: var(--sos-emergency);
        color: white;
    }

.chatroom .chats .chat .avatar-placeholder, .chatroom-embedded .chats-embedded .chat .avatar-placeholder {
    width: 24px;
    min-width: 24px;
    min-height: 24px;
    height: 24px;
    line-height: 24px;
    padding: 5px;
    border-radius: 50%;
    background: none;
    margin-right: 5px;
}

.chatroom .chats .chat img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
    top: -10px;
    left: 0px;
}

.chatroom .chats .chat.right, .chatroom .chats-embedded .chat.right {
    float: right;
    clear: both;
    text-align: right;
}

.chatroom .chats .chat a {
    text-decoration: none;
    color: #3498DB;
}

.chatroom .input {
    height: 40px;
    width: 100%;
    background: var(--sos-accent-2);
    display: flex;
    flex-direction: row;
    align-items: center;
}

.chatroom .input input[type="text"] {
    background: rgba(255, 255, 255, 1);
    outline: 0;
    border: 2px solid #270000;
    padding: 0 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    margin-left: 10px;
    height: 30px;
    width: 270px;
    box-sizing: border-box;
    font-size: 14px;
}

.chatroom-container {
    display: flex;
    flex-grow: 1;
    max-height: 33%;
}

.chatroom.chatroom-embedded {
    display: flex;
    flex-direction: column;
    height: unset;
    width: 100%;
    background: white;
    position: relative;
    right: unset;
    bottom: unset;
}

.chatroom.chatroom-embedded .input input[type="text"] {
    width: 80%;
}

.chatroom .input button {
    background: transparent;
    border: 1px solid #270000;
    height: 30px;
    width: 70px;
    font-size: 14px;
    box-sizing: border-box;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chatroom .input button:hover {
    background: rgba(186, 17, 39, .7);
    color: #FFF;
}

.chat-separator {
    width: 100%;
    clear: both;
    position: relative;
    padding: 1px 0;
}

    .chat-separator hr {
        border: none;
        border-top: 1px dotted #f00;
        color: #fff;
        background-color: #fff;
        height: 1px;
    }

    .chat-separator div {
        text-align: center;
        font-size: 9px;
        width: 110px;
        position: absolute;
        top: 4px;
        left: calc(50% - 55px);
        background: var(--sos-header);
    }

#change-message-input {
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    border: 1px solid black;
}

#submit-message-btn {
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    border: 1px solid black;
    border-left: none;
    margin-left: 0px;
}

#send-broadcast-btn {
    padding: 3px;
    margin-right: 5%;
    margin-left: 3px;
    border-radius: 50%;
}

#send-broadcast-btn:hover {
    background-color: #a1a1a1;
}

.badge1 {
    position: relative;
}

.badge1[data-badge]:after {
    content: attr(data-badge);
    position: absolute;
    top: -2px;
    right: -2px;
    font-size: .7em;
    background: red;
    color: white;
    width: 18px;
    height: 18px;
    text-align: center;
    line-height: 18px;
    border-radius: 50%;
    box-shadow: 0 0 1px #333;
}

.badge1[data-badge=””]:after {
    content: none;
}

.license-manager h3 {
    /*font-family: 'Pacifico', cursive;
    background-color: rgba(186, 17, 39, 1);*/
    color: #000;
    margin: 0;
    height: 40px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-modal-title-text{
    text-align:center;
    font-size: 24px;
}

.text-outline-thin { /*Does not work on IE 9 or lower, but othwerwise widely supported*/
    text-shadow: 2px 0 0 #000, 0 -2px 0 #000, 0 2px 0 #000, -2px 0 0 #000;
}

.mdl-tabs {
    display: block;
    width: 100%
}

.mdl-tabs__tab-bar {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: space-between;
    -ms-flex-line-pack: justify;
    align-content: space-between;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    height: 48px;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #e0e0e0
}

.mdl-tabs__tab {
    margin: 0;
    border: none;
    padding: 0 24px;
    float: left;
    position: relative;
    display: block;
    color: red;
    text-decoration: none;
    height: 48px;
    line-height: 48px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    color: rgba(0,0,0,.54);
    overflow: hidden
}

.mdl-tabs.is-upgraded .mdl-tabs__tab.is-active {
    color: rgba(0,0,0,.87)
}

.mdl-tabs.is-upgraded .mdl-tabs__tab.is-active:after {
    height: 2px;
    width: 100%;
    display: block;
    content: " ";
    bottom: 0;
    left: 0;
    position: absolute;
    background: var(--sos-accent-1);
    -webkit-animation: border-expand .2s cubic-bezier(.4,0,.4,1).01s alternate forwards;
    animation: border-expand .2s cubic-bezier(.4,0,.4,1).01s alternate forwards;
    -webkit-transition: all 1s cubic-bezier(.4,0,1,1);
    transition: all 1s cubic-bezier(.4,0,1,1)
}

.mdl-tabs__tab .mdl-tabs__ripple-container {
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 1;
    overflow: hidden
}

    .mdl-tabs__tab .mdl-tabs__ripple-container .mdl-ripple {
        background: rgb(244,67,54)
    }

.mdl-tabs__panel {
    display: block
}

.mdl-tabs.is-upgraded .mdl-tabs__panel {
    display: none
}

    .mdl-tabs.is-upgraded .mdl-tabs__panel.is-active {
        display: block
    }

.wide-card.mdl-card {
    width: 512px;
}

.empty-list-msg {
    margin-left: auto;
    margin-right: auto;
    padding-top: 50px;
    width: 350px;
    text-align:center;
}

.mdl-card__actions {
    display: flex;
}

.card-sub-title {
    font-size: 20px;
    margin-bottom: 7px;
    font-weight: 400;
}

.table-action-col {
    width: 50px;
    text-align: center !important;
}

.breadcrumb-bar-dropdown-menu {
    position: absolute;
    display: inline-block;
    right: 0px;
    top: 65px;
    width: 33%;
    height: 28.5px;
    border-left: 1px solid black;
    text-align: center;
    line-height: 2;
}

@media screen and (max-width: 1024px) {
    .breadcrumb-bar-dropdown-menu {
        position: absolute;
        display: inline-block;
        right: 0px;
        top: 57px;
        width: 33%;
        height: 28.5px;
        border-left: 1px solid black;
        text-align: center;
        line-height: 2;
    }
}


.breadcrumb-bar-dropdown-menu.emergency-active {
    background-color: rgba(186, 17, 39, 1);
    color: white;
}

.breadcrumb-bar-dropdown-menu.drill-active {
    background-color: var(--sos-drill);
    color: white;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    width: 100%;
    z-index: 1;
    top: 28px;
}

.dropdown-content button {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: center;
}

    .dropdown-content button:hover {
        background-color: #ddd;
    }

.dropdown-content button.sos-btn-disabled {
    color: lightgray !important;
}

    .dropdown-content button.sos-btn-disabled:hover {
        background-color: white !important;
    }

.breadcrumb-bar-dropdown-menu .dropdown-content.display-dropdown {
    display: block;
    cursor: pointer;
}

.dropdown-menu-btn {
    border: none;
    background-color: inherit;
}

.dropdown-menu-btn:hover {
    text-decoration: underline;
    cursor: pointer;
}

.dropdown-menu-btn span {
    padding-right: 10px;
}

.dropdown-caret {
    position: absolute;
    right: 3%;
    top: 1px;
}


/* Emergency Declaration Modal */
.emergency-declaration {
    text-align: center;
}

.emergency-declaration-title {
    font-size: 16pt;
}

.emergency-declaration-reminder {
    font-size: 20pt;
}

.emergency-tiles {
    display: flex;
    align-items: center;
    justify-content: center;
}

.emergency-tiles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.2fr 1fr;
    margin-top: 5%;
    margin-bottom: 30px;
    column-gap: 1em;
    row-gap: 1em;
    align-content: center;
}

.emergency-tile-title {
    font-size: 14pt;
}

.emergency-tile-btn {
    width: 9em;
    height: 9em;
    background-color: var(--sos-emergency);
    font-size: 20pt;
    cursor: pointer;
    color: white;
    border-radius: 2px;
}

.emergency-tile-btn:hover {
    background-color: var(--sos-emergency-hover);
}

.drill-tile-btn {
    width: 9em;
    height: 9em;
    background-color: var(--sos-drill);
    font-size: 20pt;
    cursor: pointer;
    color: white;
    border-radius: 2px;
}

.drill-switch{
    width:30%;
    margin-bottom:10px;
}

.drill-tile-btn:hover {
    background-color: var(--sos-drill-hover);
}

.emergency-declaration-form {
    display: block;
    margin: auto;
}

/* End Emergency Declaration Modal*/
.emergency-email-container {
    display: flex;
    flex-direction: column;
}

.emergency-email-chk {
    margin-left: 20px;
    padding-left: 5px;
    width: unset;
}

.new-emergency-email-container {
    display: flex;
}

.new-emergency-email-del-btn {
    margin-top: 20px;
}

.new-emergency-email-btn {
    margin: 0 auto !important;
    width: 200px;
}

.emergency-history-card .mdl-card__title {
    justify-content: center;
}

.emergency-history-card .mdl-card__supporting-text {
    display: flex;
    justify-content: center;
    margin: auto;
}

.emergency-history-table {
    width: 100%;
}

.emergency-history-table > td, tr {
    text-align: center;
}

.emergency-tokens-list {
    text-align: left;
    list-style: none;
}

.add-token-form button, .add-token-form div button {
    width: 80%;
}

.add-token-form div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sos-btn-primary-old {
    background-color: var(--sos-btn-primary-old) !important;
    border: none;
    color: var(--sos-text-action) !important;
    margin: 3px;
}

.sos-btn-primary-old:hover {
    background-color: var(--sos-btn-primary-hover-old) !important;
}

.sos-btn-primary {
    background-color: var(--sos-btn-primary) !important;
    border: none;
    color: var(--sos-text-action) !important;
    filter: var(--sos-btn-dropshadow) !important;
}

    .sos-btn-primary:hover {
        background-color: var(--sos-btn-primary-hover) !important;
    }


    .sos-btn-primary:disabled {
        background-color: var(--sos-btn-primary-disabled) !important;
        color: var(--sos-btn-primary-disabled-text) !important;
        filter: none;
    }

    .sos-btn-primary.Mui-disabled {
        background-color: var(--sos-btn-primary-disabled) !important;
        color: var(--sos-btn-primary-disabled-text) !important;
        filter: none;
    }

.sos-btn-secondary-old {
    background-color: var(--sos-btn-secondary-old) !important;
    border: none;
    color: var(--sos-text-basic) !important;
    margin: 3px;
}

.sos-btn-secondary-old:hover {
    background-color: var(--sos-btn-secondary-hover-old) !important;
}

.sos-btn-secondary {
    background-color: var(--sos-btn-secondary) !important;
    border: none;
    color: var(--sos-text-action) !important;
    filter: var(--sos-btn-dropshadow)
}

    .sos-btn-secondary:hover {
        background-color: var(--sos-btn-secondary-hover) !important;
    }

.sos-btn-secondary:disabled {
    background-color: var(--sos-btn-primary-disabled) !important;
    color: var(--sos-btn-primary-disabled-text) !important;
    filter: none;
}

    .sos-btn-secondary.Mui-disabled {
        background-color: var(--sos-btn-primary-disabled) !important;
        color: var(--sos-btn-primary-disabled-text) !important;
        filter: none;
    }


.sos-btn-ghost{
    border: 2px solid var(--sos-btn-primary) !important;
    background-color: transparent !important;
    border: none;
    color: var(--sos-btn-primary) !important;
}

    .sos-btn-ghost:hover{
        border-color: var(--sos-btn-primary-hover) !important;
        background-color: var(--sos-btn-primary-hover) !important;
        color: var(--sos-text-action) !important;
        filter: var(--sos-btn-dropshadow)
    }

    .sos-btn-ghost:disabled {
        border-color: var(--sos-btn-primary-disabled) !important;
        color: var(--sos-btn-primary-disabled-text) !important;
        filter: none;
    }

    .sos-btn-ghost.Mui-disabled {
        border-color: var(--sos-btn-primary-disabled) !important;
        color: var(--sos-btn-primary-disabled-text) !important;
        filter: none;
    }

.sos-btn-disabled {
    background-color: darkgrey;
    color: grey;
    margin: 3px;
}

.sos-btn-disabled:hover {
    cursor: not-allowed;
}

.sos-btn-emergency {
    background-color: var(--sos-emergency) !important;
    border: none;
    color: var(--sos-text-action) !important;
    margin: 3px;
}

.sos-btn-emergency:hover {
    background-color: var(--sos-emergency-hover) !important;
    border: none;
    color: var(--sos-text-action) !important;
}

.sos-emergency-link {
    color: var(--sos-emergency) !important;
}

.sos-emergency-link:hover {
    color: var(--sos-emergency-hover) !important;
}

.sos-btn-drill {
    background-color: var(--sos-drill) !important;
    border: none;
    color: var(--sos-text-action) !important;
    margin: 3px;
}

.sos-btn-drill:hover {
    background-color: var(--sos-drill-hover) !important;
    border: none;
    color: var(--sos-text-action) !important;
}

.user-app-btn {
    width:100%;
}

.text-white {
    color: var(--sos-text-action);
}

.users-card .mdl-card__supporting-text {
    margin: auto;
}

.photo-card .card-address-container { 
    background-color: rgba(100, 100, 100, 0.8);
    height: 50%;
}

.mdl-button--fab {
    background: var(--sos-btn-primary-old);
}

    .mdl-button--fab:hover {
        background: var(--sos-btn-primary-old-hover);
    }

.download-btn {
    background-color: var(--sos-download-color);
    color: var(--sos-text-action);
}
    .download-btn:hover {
        background-color: var(--sos-download-color-hover)
    }

.fullscreen-mute-btn {
    background-color: var(--sos-mute-color);
    color: var(--sos-text-action);
}

    .fullscreen-mute-btn:hover {
        background-color: var(--sos-mute-color-hover);
    }

.camera-mdl-btn {
    background-color: var(--sos-floorplan-selected-color);
    color: var(--sos-text-action);
}

    .camera-mdl-btn:hover {
        background-color: var(--sos-floorplan-selected-color-hover);
    }

.close-mdl-btn {
    background-color: var(--sos-accent-2);
    color: var(--sos-text-action)
}
    .close-mdl-btn:hover {
        background-color: var(--sos-accent-2-hover);
    }

.video-controls-round-buttons{
    margin-top:10px;
}

.fab-bar-btn-margin{
    margin-left: 25px;
    margin-right: 25px;
}

    .mdl-button--fab:disabled {
        background: var(--sos-header) !important;
        color: white !important;
    }

.hide {
    display: none;
}

.slideshow-mute-button {
    position: absolute;
    margin-top: 0px !important;
    z-index: 10;
    top: 55px;
    margin-left: auto;
    margin-right: auto;
    right: 15%;
    width: 50px !important;
}

.emergency-email-chk.mdl-checkbox {
    display: flex;
}

.emergency-email-chk .mdl-checkbox__label {
    overflow: hidden;
    text-overflow: ellipsis;
}

.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.emulate-content {
    max-height: 350px;
    overflow-y: auto;
}

.main-background-content{
    background-color: var(--sos-content-background-color);
    height:100%;
    overflow:auto;
}

.main-paper-container{
    max-width: 850px;
    min-width: 400px;
    width: 70%;
    overflow: visible;
    position: relative;
    padding:15px;
    margin: 15px auto;
}

.sos-standard-menu-item{

}

    .sos-standard-menu-item:hover {
        background-color: var(--sos-menu-hover-color) !important;
    }

/*Stolen from StackOverflow after researching Browser compatibility : https://stackoverflow.com/questions/826782/how-to-disable-text-selection-highlighting#4407335 
    Ideally 'user-select' should be all that is needed to prevent text selection, but in the event this is used on an older broswer, the other css should help with that
*/
.no-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.notification-item{
    display:flex;
    flex-direction:row;
    cursor:pointer;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid lightgray;
}

.notification-item-unread{
    background-color:var(--sos-accent-1-70opacity);
}

.notification-item-selected{
    background-color:var(--sos-divider-20alpha);
}

.notification-item-unread-dot-placeholder {
    width: 11px;
    height: 11px;
    margin-left:5px;
    align-self:center;
}

.notification-item-unread-dot{
    background-color:var(--sos-accent-1);
    width: 11px;
    height: 11px;
    border-radius: 11px;
}

.notification-icon-div {
    display:flex;
    width:4rem;
    height:4rem;
    justify-content:center;
    border-radius:50%;
    margin-left:15px;
    margin-right:15px;
}

.notification-item-image-icon{
    margin-right:10px;
    margin-left:auto;
}

.notification-icon-span {
    align-self: center;
    color: white;
    font-size: 2rem;
}

.notification-header{
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    padding-left:5px;
    align-items:center;
}

.notification-label {
    padding-left: 5px;
    align-items: center;
}

.notification-button-bar {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    border-bottom: 1px solid lightgray;
}

.notification-list-style{
    overflow-y:scroll;
    height:82%;
}

.notification-checkbox {
    margin:5px;
    align-self:center;
}

.notification-item-text-div{
    display:flex;
    flex-direction:column;
    text-overflow:ellipsis;
    white-space:nowrap;
    max-width:70%;
}

.notification-item-date{
   font-style:italic;
   font-size:14px;
}

.photo-container-broadcast {
    position: relative;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.36);
    text-align: center;
}

.photo-created-datecontainer-broadcast {
    text-align: center;
    font-weight: 500;
    padding: 12px 0px;
}

.photo-outer-container {
    display: flex;
    justify-content: center;
}

.photo-render-container {
    position: absolute;
    height: 100%;
    width: 100%;
}

#reset-cancel-link {
    margin: 15px;
}

#reset-pass-text.is-invalid {
    margin-bottom: 20px;
}