
    html, body, #mainContainer {
        height: 100%;
    }

    /* Center the loader */
    #loader {
        position: absolute;
        left: 50%;
        top: 50%;
        z-index: 1;
        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); }
    }

    #adminHeader a {
        display: block;
        float: left;
        padding: 0 20px;
    }
    #mainContainer {
        display: none;
    }

    h3:empty {
        display: none;
    }

    body {
        background: #333;
        color: white;
        font-family: Helvetica, Arial, sans-serif;
        line-height: 20px;
        font-size: 18px;
        margin: 0;
    }

    .paulsContainerClass {
        background:#f1f1f1;
        color: #333;
        float: left;
        width: 100%;
    }
    .paulsContainerClass table,
    .paulsContainerClass td,
    .paulsContainerClass th {
        border-collapse: collapse;
        color: #333;
        border: 1px dotted #333;
        line-height: 20px;
        padding: 10px 20px;
    }
    .paulsContainerClass th {
        color: #369;
        text-align: center;
    }
    input {
        padding:20px;
        margin: 10px;
        line-height: 20px;
        font-size: 18px;
    }
    .locationBox {
        overflow: hidden;
        display: none;
        box-shadow: 0 0 3px #ccc;
        width: calc(100% - 20px);
        max-height: calc(100% - 85px);
        overflow-y: auto !important;
    }

    .logBox {
        overflow: hidden;
        display: block;
        box-shadow: 0 0 3px #ccc;
        width: calc(100% - 20px);
        height: calc(100% - 85px);
        overflow-y: auto !important;
        background: white;
    }

    .SSIDList, .SSIDItemBox {
        overflow: hidden;
        display: none;
        width: 100%;
    }
    .locationTitle, .SSIDMenuItem {
        cursor: pointer;
        color: white;
        background: #369;
        overflow: hidden;
        padding: 10px 20px;
        position: relative;
    }
    .locationTitle .svgDisplay, .SSIDMenuItem .svgDisplay,.locationTitle .svgBackground, .SSIDMenuItem .svgBackground {
        position: absolute;
        right: 0;
    }

    .locationTitle .editLocationButton, .SSIDMenuItem .editLocationButton{
        position: static;
        height: 17px;
        width: 17px;
        margin: 0px 0 -2px 5px;
    }
    /*
    .locationChange {
        position: absolute;
        z-index: 100;
        right: 10px;
        top: 10px;
    }
    */
    .locationTitle .locationChange, .SSIDMenuItem .locationChange {
        display: block;
        float: right;
    }

    .locationTitle .smallID, .SSIDMenuItem .smallID {
        font-size: 12px;
    }

    .locationRouterMeta {
        margin-top: 7px;
    }

    .locationIdentityRow,
    .locationTagRow {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 4px 8px;
        min-width: 0;
    }

    .locationTagRow {
        clear: both;
        margin-top: 6px;
    }

    .routerIPAddress {
        overflow-wrap: anywhere;
        color: #e8f1f8;
    }

    .routerIPAddress::before,
    #locationTable .locationTableIPAddress::before {
        content: "IP ";
        font-weight: normal;
        opacity: 0.8;
    }
    .buttonStyle {
        cursor: pointer;
        color: white;
        background: #369;
        overflow: hidden;
        border-radius: 5px;
        padding: 5px 10px;
        display: inline;
    }
    #locationNavigation {
        width: 350px;
        float: left;
    }

    #mainContainer.adminMainContainer {
        grid-template-rows: 60px 52px 90px minmax(0, 1fr);
        grid-template-columns: 350px minmax(0, 1fr);
        column-gap: 20px;
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        overflow: hidden;
    }

    .adminMainContainer #adminHeader {
        grid-column: 1 / 3;
    }

    .adminMainContainer #adminHeader {
        grid-row: 1;
    }

    .adminMainContainer #locationNavigationOptions {
        display: contents;
    }

    .adminMainContainer #locationNavigation {
        grid-row: 4;
        grid-column: 1;
        width: auto;
        min-height: 0;
        max-height: none;
        float: none;
        overflow-y: auto;
    }

    .adminMainContainer #locationTable {
        grid-row: 3 / 5;
        grid-column: 2;
        width: auto;
        height: auto;
        min-height: 0;
        float: none;
    }

    .routerListControls {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        grid-row: 2 / 4;
        grid-column: 1;
        float: none;
        width: 100%;
        margin: 0;
        padding: 8px;
        box-sizing: border-box;
    }

    .routerListControls .form-control,
    .routerListControls .custom-select,
    .routerSortDirection {
        height: 38px;
        box-sizing: border-box;
    }

    .routerListControls .form-control {
        width: 100%;
        margin: 0;
    }

    .routerSortRow {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 6px;
    }

    .routerSortRow label {
        margin: 0;
        color: #52616b;
        font-size: 15px;
        white-space: nowrap;
    }

    .routerFilterRow {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .routerFilterRow .routerStatusFilter:only-child {
        grid-column: 1 / 3;
    }

    .routerSortDirections {
        display: flex;
    }

    .routerSortDirection {
        width: 36px;
        padding: 7px;
    }

    .routerSortDirection img {
        display: block;
        width: 18px;
        height: 18px;
        filter: invert(1);
    }

    .routerSortDirection.selected {
        border-color: #24527a;
        background: #24527a;
    }

    .userListControls {
        display: flex;
        grid-row: 2;
        grid-column: 2;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        padding: 7px 8px;
        box-sizing: border-box;
    }

    .userListControls .dropdown-toggle {
        margin: 0 !important;
    }

    #routerFilterEmpty {
        display: none;
        padding: 24px 20px;
        color: #52616b;
        text-align: center;
    }

    .notificationSettingsTableWrapper {
        margin-bottom: 16px;
    }

    .notificationSettingsTable td {
        vertical-align: middle;
    }

    .notificationSettingsTable th:nth-child(2),
    .notificationSettingsTable td:nth-child(2) {
        width: 90px;
        text-align: center;
    }

    .notificationSettingsTable th:last-child,
    .notificationSettingsTable td:last-child {
        width: 42%;
    }

    .notificationDescription {
        display: block;
        margin-top: 3px;
        color: #52616b;
        font-size: 14px;
    }

    .notificationDestination {
        color: #52616b;
    }

    .notificationEmailInput {
        min-width: 260px;
    }

    .settingsUsersHeading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px;
    }

    .settingsUsersHeading h4 {
        margin: 0;
    }

    .settingsUserAddForm {
        display: grid;
        grid-template-columns: repeat(5, minmax(150px, 1fr));
        gap: 10px;
        padding: 12px;
        border-top: 1px solid #d4d9dd;
        border-bottom: 1px solid #d4d9dd;
        background: #f7f9fa;
    }

    .settingsUserAddForm[hidden] {
        display: none;
    }

    .settingsUserAddForm label {
        min-width: 0;
        margin: 0;
    }

    .settingsUserAddForm label > span {
        display: block;
        margin-bottom: 3px;
        color: #52616b;
        font-size: 13px;
    }

    .settingsUserAddForm input,
    .settingsUserAddForm select,
    .settingsUsersTable input,
    .settingsUsersTable select {
        width: 100%;
        min-width: 145px;
        height: 38px;
        margin: 0;
        box-sizing: border-box;
        vertical-align: middle;
    }

    .settingsUserAddActions {
        display: flex;
        grid-column: 1 / -1;
        gap: 8px;
    }

    .adminTableViewport {
        width: 100%;
        overflow: auto;
    }

    #mainContainer.settingsPage #settingsContent {
        position: relative;
        left: auto;
        width: calc(100% - 20px);
        height: calc(100% - 60px);
        min-height: 0;
        margin: 0 10px;
        float: none;
        overflow: hidden;
    }

    .settingsContent > h3 {
        margin: 10px 0;
    }

    .settingsPanel.logBox {
        width: 100%;
        height: calc(100% - 105px);
        margin: 0;
        box-shadow: none;
        overflow: auto !important;
    }

    .settingsPanelHeading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: 0;
        padding: 10px;
    }

    .settingsPanelHeading h4 {
        margin: 0;
    }

    .settingsPanel > .alert {
        margin: 10px;
    }

    .settingsPanel > form > .btn {
        margin: 0 10px 10px;
    }

    .settingsDataTable input,
    .settingsDataTable select {
        margin: 0;
        font-size: 14px;
    }

    .settingsUsernameField {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 5px;
    }

    .settingsCurrentUser {
        display: block;
        margin: 0;
        color: #52616b;
        font-size: 14px;
        line-height: 18px;
    }

    .settingsUserActions {
        min-width: 125px;
        white-space: nowrap;
    }

    .settingsUserActions .btn + .btn {
        margin-left: 4px;
    }
    #locationTable {
        width: calc(100% - 370px);
        height: calc(100% - 140px);
        float: right;
        position: relative;
        overflow-y: auto;
    }

    #locationTable .locationTableTitle {
        display: none;
    }

    #locationTable .locationTableIPAddress {
        display: inline;
        margin-left: 8px;
        font-size: 14px;
        font-weight: normal;
        color: #52616b;
    }

    #locationTable .locationTableTagRow {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 4px;
        margin-top: 7px;
    }

    #locationTable .locationTableOrganisation,
    #locationTable .locationTableVersion,
    #locationTable .locationTableRouterOsVersion {
        display: inline-block;
        float: none;
        margin-left: 0;
        font-size: 12px;
        line-height: 20px;
        vertical-align: middle;
    }

    #locationTable .locationTableAddress {
        display: block;
        margin-top: 4px;
        font-size: 14px;
        font-weight: normal;
        line-height: 20px;
    }

    #routerQuotaStatus {
        display: none;
        padding: 30px 20px;
        text-align: center;
    }

    #routerQuotaStatus.routerQuotaLoading::before {
        content: "";
        display: inline-block;
        width: 28px;
        height: 28px;
        border: 4px solid #d7dde2;
        border-top-color: #369;
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
    }

    #routerQuotaStatus.routerQuotaError {
        color: #a4262c;
    }

    #usageDate {
        display: none;
        position: absolute;
        top: 22px;
        right: 20px;padding-right: 20px;
    }

    @media only screen and (min-width: 576px) {
        #editRouterDetailsModalCenter .modal-dialog {
            max-width: 680px;
        }
    }

    .loginBox {
        text-align: center;
        width: 300px;
        height: 310px;
        position: absolute;
        top:0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        padding:20px;
    }

    .loginBox input {
        width: calc(100% - 40px);
        text-align: center;
    }


    .loginBox input[type='text'], .loginBox input[type='password']
    {
        width:calc(100% - 80px);
    }

    .loginButton {
        background-color: #369; /* Green */
        border: none;
        color: white;
        cursor: pointer;
    }
    .loginButton:hover, .locationTitle:hover, .buttonStyle:hover {
            -webkit-transition: .2s;
            transition: .2s;
        background-color: #4080bf;
    }
    input:checked + .slider:hover {
        background-color: #4080bf;
    }
    .ply-input {
        margin: 0;
    }
    .ssidField {
        width: 100%;
        margin: 20px 0;
        display: block;
    }

    /*http://www.w3schools.com/howto/howto_css_switch.asp*/
    .switch {
        position: relative;
        display: inline-block;
        width: 60px;
        height: 34px;
    }

    .switch input {display:none;}

    .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        -webkit-transition: .4s;
        transition: .4s;
    }

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

    input:checked + .slider {
        background-color: #2196F3;
        background-color: #369;
    }

    input:focus + .slider {
        box-shadow: 0 0 1px #2196F3;
        box-shadow: 0 0 1px #369;
    }

    input:checked + .slider:before {
        -webkit-transform: translateX(26px);
        -ms-transform: translateX(26px);
        transform: translateX(26px);
    }

    /* Rounded sliders */
    .slider.round {
        border-radius: 34px;
    }

    .slider.round:before {
        border-radius: 50%;
    }

    .backButton {
        position: absolute;
        display: none;
        cursor: pointer;
    }
    .backButton img {
        width: 20px;
        margin: 20px;
    }

    .quotaEntryRowTitle {
        background: #fbfbfb;
        border-bottom: 1px solid #eaeaea;
        color: #777777;
        box-shadow: 0px 0px 8px #eee;
        padding: 10px 20px;
        cursor: pointer;
        overflow: hidden;
        transition: .4s;
    }
    .quotaEntryRowTitle:hover {
        background: #F2F4F5;
    }

    .quotaEntryRowDetails {
        background: white;
        max-height: 0;
        overflow: hidden;
        transition: .4s;
    }
    .quotaShowDetails .quotaEntryRowDetails {
        max-height: 1000px;
    }
    .quotaEntryRowText {
        padding: 10px 20px;
    }

    .quotaEntryRowSSID, .quotaEntryRowQueue, .quotaEntryRowPhone, .quotaEntryRowEmail, .quotaEntryRowName, .quotaEntryRowRoom, .quotaEntryRowLocation {
        float: left;
    }
    .quotaEntryRowUsage {
        float: right;
    }
    .detailsTitle {
        color: #4080bf;
        font-weight: bold;
        width: 200px;
        display: inline-block;
    }

    #adminHeader {
        width: 100%;
        height: 60px;
        background: white;
        color: #666666;
        border-bottom: 1px solid #cccccc;
        line-height: 57px;
    }
    .svgDisplay, .uil-spin {
        fill: currentColor;
        height: 25px;
        margin: 0 15px -5px 10px;
        width: 25px;
    }
    .svgAdminBar {
        height: 30px;
        margin: 15px 15px -5px 10px;
        width: 30px;
    }
    .svgLink {
        color: #666666;
        float: right !important;
    }
    .svgLink:hover {
        color: #333;
    }

    .quotaSeperator {
        width: 50%;
        float: left;
    }
    .locationNavContainer {
        position: relative;
        border-bottom: 1px white solid;

        padding-left: 20px;
    }
    .locationNavStatus {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 10;
        background: green;
        width: 30px;
        display: table-cell;
        vertical-align: middle;
    }

    .locationNavStatus.routerDown {
        background: red;
    }

    .locationNavStatus.routerChecking {
        background: #6c757d;
    }

    .locationNavStatus.routerUnknown {
        background: #6c757d;
    }

    .locationNavStatus.routerUnknown .checkIcon::before {
        content: "?";
        display: block;
        width: 25px;
        color: white;
        font-weight: bold;
        line-height: 25px;
        text-align: center;
    }

    .svgBackground {
        background-position: center center;
        background-repeat: no-repeat;
        height: 25px;
        margin: 0 15px -5px 10px;
        width: 25px;
        display: inline-block;
    }


    .locationNavStatus .svgBackground {
        position: absolute;
        top: calc(50% - 13px);
        margin: 2px;
    }


    .svgUserDetails {
        margin: 0 0px -5px 20px;
    }

    .miniloader {
        background-image:url("./images/spin.svg");
    }


    .routerUp .checkIcon {
        background:url("./images/entypo/check_white.svg");
    }
    .routerVisible {
        background:url("./images/entypo/eye_white.svg");
    }
    .routerHidden {
        background:url("./images/entypo/eye-with-line_white.svg");
    }
    .blackCheckUp {
        background:url("./images/entypo/check.svg");
    }
    .spinWhite {
        background:url("./images/spin_white.svg");
    }
    .routerDown .checkIcon {
        background:url("./images/entypo/cross_white.svg");
    }
    .blackCheckDown {
        background:url("./images/entypo/cross.svg");
    }
    .svgSSIDenabled {
        background:url("./images/entypo/signal_blue.svg");
    }
    .svgSSIDdisabled {
        background:url("./images/entypo/signal_grey.svg");
    }
    .svgSSIDinaccessible {
        background:url("./images/entypo/signal_cross.svg");
    }

    .svgGreen {
        background:url("./images/entypo/progress-empty_green.svg");
    }
    .svgLime {
        background:url("./images/entypo/progress-one_lime.svg");
    }
    .svgOrange {
        background:url("./images/entypo/progress-two_orange.svg");
    }
    .svgRed {
        background:url("./images/entypo/progress-full_red.svg");
    }

    .svgUserDetailsEmail {
        background:url("./images/entypo/email_grey.svg");
    }

    .svgUserDetailsName {
        background:url("./images/entypo/user_grey.svg");
    }

    .svgUserDetailsPhone {
        background:url("./images/entypo/phone_grey.svg");
    }

    .svgUserDetailsLocation {
        background:url("./images/entypo/location-pin_grey.svg");
    }

    .svgUserDetailsRoom {
        background:url("./images/entypo/home_grey.svg");
    }

    .svgEdit {
        background:url("./images/entypo/edit_white.svg");
    }
    .ssidEnabler {
        display: none;
    }

    #listTable .header {
        cursor: pointer;
    }

    #mainContainer.usageListPage #locationTable {
        display: flex;
        flex-direction: column;
        width: calc(100% - 32px);
        height: calc(100% - 60px);
        margin: 0 16px;
        float: none;
        overflow: hidden;
    }

    .usageListContent > h3 {
        flex: 0 0 auto;
        margin: 10px 0;
    }

    .usageListControls {
        flex: 0 0 auto;
        padding: 10px;
        border: 1px solid #d4d9dd;
        background: #fff;
    }

    .usageSearchControl {
        display: grid;
        grid-template-columns: 90px minmax(220px, 1fr);
        align-items: center;
        gap: 8px;
        max-width: 620px;
        margin-bottom: 10px;
    }

    .usageSearchControl label,
    .usageViewControls > label {
        margin: 0;
        color: #52616b;
        font-size: 15px;
    }

    .usageFilterGrid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
        gap: 8px;
    }

    .usageFilterGrid label {
        min-width: 0;
        margin: 0;
    }

    .usageFilterGrid label > span {
        display: block;
        margin-bottom: 3px;
        color: #52616b;
        font-size: 13px;
    }

    .usageFilterGrid select,
    .usageSearchControl input,
    .usageViewControls select {
        width: 100%;
        height: 38px;
        box-sizing: border-box;
    }

    .usageViewControls {
        display: grid;
        grid-template-columns: auto minmax(160px, 260px) auto auto;
        align-items: center;
        gap: 8px;
        margin-top: 10px;
    }

    .usageViewControls .btn-group {
        display: flex;
        width: 76px;
        justify-self: start;
    }

    .usageSortDirection {
        flex: 0 0 38px !important;
        width: 38px;
        height: 38px;
        padding: 8px;
    }

    .usageSortDirection img {
        display: block;
        width: 18px;
        height: 18px;
        filter: invert(1);
    }

    .usageSortDirection.selected {
        border-color: #24527a;
        background: #24527a;
    }

    .usageColumnMenu {
        justify-self: end;
    }

    #usageColumnsButton,
    #logsColumnsButton {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        height: 38px;
    }

    .usageColumnsIcon {
        width: 18px;
        height: 18px;
    }

    .usageColumnMenu .dropdown-menu {
        min-width: 390px;
        max-width: calc(100vw - 20px);
        padding: 8px;
        border-color: #b8c1c8;
        box-shadow: 0 4px 12px rgba(20, 35, 45, 0.2);
    }

    .usageColumnMenu .dropdown-menu.show {
        display: grid;
        grid-template-columns: repeat(2, minmax(170px, 1fr));
        gap: 2px;
    }

    .usageColumnOption {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0;
        padding: 7px 9px;
        border-radius: 3px;
        cursor: pointer;
        line-height: 20px;
        white-space: nowrap;
    }

    .usageColumnOption input {
        flex: 0 0 auto;
        margin: 0;
    }

    #usageResultCount {
        margin-top: 8px;
        color: #52616b;
        font-size: 14px;
    }

    .usageTableViewport.logBox {
        flex: 1 1 auto;
        width: 100%;
        height: auto;
        min-height: 0;
        margin-top: 10px;
        overflow: auto !important;
    }

    .dataListTable {
        width: 100%;
        border-collapse: collapse;
        font-size: 14px;
    }

    .dataListTable th,
    .dataListTable td {
        border: 0;
        padding: 8px 10px;
        border-bottom: 1px solid #d4d9dd;
        text-align: left;
        vertical-align: top;
        white-space: nowrap;
    }

    .dataListTable th {
        position: sticky;
        top: 0;
        z-index: 1;
        background: #edf1f3;
        color: #24445d;
    }

    .paulsContainerClass .dataListTable,
    .paulsContainerClass .dataListTable th,
    .paulsContainerClass .dataListTable td {
        border-right: 0;
        border-left: 0;
        border-top: 0;
    }

    .paulsContainerClass .dataListTable {
        border-bottom: 0;
    }

    .paulsContainerClass .dataListTable th,
    .paulsContainerClass .dataListTable td {
        border-bottom: 1px solid #d4d9dd;
    }

    .settingsTableActions {
        width: 1%;
        white-space: nowrap;
    }

    .settingsTableActions .btn + .btn {
        margin-left: 4px;
    }

    .dataListTable tbody tr:nth-child(even) {
        background: #f8f9fa;
    }

    .dataListTable tbody tr:hover {
        background: #e9f2f8;
    }

    .usageCellSecondary {
        display: block;
        color: #52616b;
        font-size: 12px;
    }

    .usageColumnHidden {
        display: none !important;
    }

    #usageEmptyState {
        padding: 30px 20px;
        color: #52616b;
        text-align: center;
    }

    #mainContainer.logsListPage #locationTable {
        display: flex;
        flex-direction: column;
        width: calc(100% - 32px);
        height: calc(100% - 60px);
        margin: 0 16px;
        float: none;
        overflow: hidden;
    }

    .logsListContent > h3 {
        flex: 0 0 auto;
        margin: 10px 0;
    }

    .logsListControls {
        flex: 0 0 auto;
        padding: 10px;
        border: 1px solid #d4d9dd;
        background: #fff;
    }

    .logsSearchControl {
        display: grid;
        grid-template-columns: 90px minmax(220px, 1fr);
        align-items: center;
        gap: 8px;
        max-width: 620px;
        margin-bottom: 10px;
    }

    .logsSearchControl label,
    .logsViewControls > label {
        margin: 0;
        color: #52616b;
        font-size: 15px;
    }

    .logsFilterGrid {
        display: grid;
        grid-template-columns: repeat(4, minmax(150px, 1fr));
        gap: 8px;
    }

    .logsFilterGrid label {
        min-width: 0;
        margin: 0;
    }

    .logsFilterGrid label > span {
        display: block;
        margin-bottom: 3px;
        color: #52616b;
        font-size: 13px;
    }

    .logsFilterGrid select,
    .logsSearchControl input,
    .logsViewControls select {
        width: 100%;
        height: 38px;
        box-sizing: border-box;
    }

    .logsViewControls {
        display: grid;
        grid-template-columns: auto minmax(160px, 260px) auto auto;
        align-items: center;
        gap: 8px;
        margin-top: 10px;
    }

    .logsViewControls .btn-group {
        display: flex;
        width: 76px;
        justify-self: start;
    }

    .logsSortDirection {
        flex: 0 0 38px !important;
        width: 38px;
        height: 38px;
        padding: 8px;
    }

    .logsSortDirection img {
        display: block;
        width: 18px;
        height: 18px;
        filter: invert(1);
    }

    .logsSortDirection.selected {
        border-color: #24527a;
        background: #24527a;
    }

    #logsResultCount {
        margin-top: 8px;
        color: #52616b;
        font-size: 14px;
    }

    .logsTableViewport.logBox {
        flex: 1 1 auto;
        width: 100%;
        height: auto;
        min-height: 0;
        margin-top: 10px;
        overflow: auto !important;
    }

    .logsActionCell {
        min-width: 420px;
        max-width: 720px;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }

    .logsAgentCell {
        min-width: 300px;
        max-width: 520px;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }

    .logsColumnHidden {
        display: none !important;
    }

    #logsEmptyState {
        padding: 30px 20px;
        color: #52616b;
        text-align: center;
    }

    .selectedSort::before {
        content: "\2714";
        display: inline-block;
        margin-left: -15px;
        margin-right: 4px;

    }

    .selectedSort {
        color: #369;
    }

    .organisationTag {
        float: right;
        background: #2e7d32;
        color: #fff;
        padding: 0 7px;
        border-radius: 4px;
    }

    .apiVersionTag {
        float: right;
        margin-right: 4px;
        padding: 0 7px;
        border-radius: 4px;
    }

    .apiVersionTag1 {
        background: #546e7a;
        color: #fff;
    }

    .apiVersionTag2 {
        background: #80cbc4;
        color: #000;
    }

    .routerOsVersionTag,
    .locationTableRouterOsVersion {
        float: right;
        margin-right: 4px;
        padding: 0 7px;
        border: 1px solid #90a4ae;
        border-radius: 4px;
        background: #eceff1;
        color: #263238;
    }

    .locationTagRow .organisationTag,
    .locationTagRow .apiVersionTag,
    .locationTagRow .routerOsVersionTag {
        float: none;
        margin-right: 0;
    }

    .organisationTag0 {
        background: #f9a825;
        color: #000;
    }
    .organisationTag1 {
        background: #b71c1c;
        color: #fff;
    }
    .organisationTag2 {
        background: #0d47a1;
        color: #fff;
    }
    .organisationTag3 {
        background: #4dd0e1;
        color: #000;
    }
    .organisationTag4 {
        background: #1b5e20;
        color: #fff;
    }
    .organisationTag5 {
        background: #6a1b9a;
        color: #fff;
    }
    .organisationTag6 {
        background: #f57c00;
        color: #000;
    }
    .organisationTag7 {
        background: #00695c;
        color: #fff;
    }
    .organisationTag8 {
        background: #ad1457;
        color: #fff;
    }
    .organisationTag9 {
        background: #455a64;
        color: #fff;
    }
    .organisationTag10 {
        background: #827717;
        color: #fff;
    }

    /* start ply form diag fix to get labels from placeholders */

    .ply-form label {
        margin:20px 0;
        width: 100%;
        position:relative;
        display:inline-block;
    }

    .ply-form span {
        padding:12px;
        pointer-events: none;
        position:absolute;
        left:0;
        top:0;
        transition: 0.2s;
        transition-timing-function: ease;
        transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
        opacity:0.5;
    }

    .ply-form input::placeholder {
        opacity: 0;
    }

    .ply-form input {
        padding:10px;
    }

    .ply-form input:focus + span,
    .ply-form input:not(:placeholder-shown) + span {
        opacity:1;
        transform: scale(0.75) translateY(-100%) translateX(-30px);
    }

    /* For IE Browsers*/
    .ply-form input:focus + span,
    .ply-form input:not(:-ms-input-placeholder) + span {
        opacity:1;
        transform: scale(0.75) translateY(-100%) translateX(-30px);
    }
    /* end ply form diag fix to get labels from placeholders */

    @media only screen and (min-width: 750px)  {
        .SSIDList, .SSIDItemContainer {
            display: none !important;
        }

        #locationNavigation {
            overflow-y: auto;
        }
    }

    @media only screen and (max-width: 750px)  {

        .SSIDContainerView .SSIDList,
        .SSIDContainerView #locationNavigation,
        .MainView .SSIDList,
        .MainView .SSIDItemContainer {
            display: none !important;
        }

        #usageDate {
            display: none !important;
        }
        body {
            margin: 0;
        }
        .loginBox, .paulsContainerClass {
            width: 100%;
            height: 100%;
            padding: 0;
            margin: 0;
        }

        #mainContainer.adminMainContainer {
            grid-template-rows: 60px auto minmax(0, 1fr);
            grid-template-columns: minmax(0, 1fr);
            column-gap: 0;
            height: 100vh;
            max-height: 100vh;
        }

        #mainContainer.adminMainContainer #adminHeader,
        #mainContainer.adminMainContainer #locationNavigationOptions {
            grid-column: 1;
        }

        /* phone css */
        #adminNavigation {
            width: 100%;
            overflow-y: auto;
        }

        #adminHeader {
            display: flex;
            align-items: center;
            overflow: hidden;
        }

        #adminHeader a {
            flex: 0 0 auto;
            float: none;
            padding: 0 10px;
            font-size: 16px;
            white-space: nowrap;
        }

        #adminHeader .svgLink {
            margin-left: auto;
        }

        #adminHeader .svgAdminBar {
            width: 24px;
            margin-right: 8px;
            margin-left: 8px;
        }

        #mainContainer.adminMainContainer #locationNavigationOptions {
            display: block;
            grid-row: 2;
            padding: 0;
        }

        .routerListControls {
            flex: none;
            float: none;
            width: 100%;
            margin-bottom: 0;
        }

        #locationNavigationOptions > .userListControls {
            display: none;
        }
        .hideOnMobiles {
            display: none;
        }

        #officerButton {
            font-size: 0px;
        }
        #adminHeader svg.userLogo {
            margin-right: 10px;
        }
        #adminHeader svg.downArrow {
            margin-left:0;
        }

        .buttonBox .iradio_line-green {
            width: calc(100% - 53px);
            margin: 20px 0;
        }
        .locationBox {
            display: none !important;
        }
        .locationTitle, .SSIDMenuItem {
            padding: 20px;
        }

        #locationNavigation, #locationTable, .SSIDItemContainer {
            width: 100%;
            overflow: hidden;
            position: absolute;
            left: 0;
            background: white;
            min-height: 100%;
        }

        #mainContainer.adminMainContainer #locationNavigation,
        #mainContainer.adminMainContainer #locationTable {
            grid-row: 3;
            grid-column: 1;
            position: relative;
            left: auto;
            width: 100%;
            height: 100%;
            min-height: 0;
            overflow-x: hidden;
            overflow-y: auto;
        }

        #locationNavigation {
            z-index: 1;
        }

        #locationTable {
            z-index: 2;
        }

        .SSIDItemContainer {
            z-index: 3;
        }

        body {
            overflow-x:hidden;
        }

        #locationTable, .SSIDItemContainer {
            transform: translateX(100%);
            transition-duration: 0.5s;
        }
        .visibleMenuBox {
            transform: translateX(0) !important;
        }
        .SSIDItemContainer {
            top: 0;
        }
        .SSIDItemContainer h3 {
            position: absolute;
            background: white;
            top: 0;
            width: 100%;
        }
        .SSIDItemContainer .SSIDItemBox {
            box-sizing: border-box;
            padding-top: 60px;
        }
        h3 {
            margin: 0;
            padding: 20px 0;
            text-align: center;
            font-weight: normal;
        }
        .backButton {
            display: block;
        }

    }

    @media only screen and (max-width: 750px) {
        #mainContainer.usageListPage #locationTable {
            position: relative;
            left: auto;
            z-index: auto;
            width: calc(100% - 20px);
            height: calc(100% - 60px);
            min-height: 0;
            margin: 0 10px;
            overflow: hidden;
            transform: none;
            transition: none;
        }

        .usageSearchControl {
            grid-template-columns: 64px minmax(0, 1fr);
            max-width: none;
        }

        .usageFilterGrid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .usageViewControls {
            grid-template-columns: auto minmax(0, 1fr) auto;
        }

        .usageColumnMenu {
            grid-column: 1 / 4;
            justify-self: start;
        }

        .usageColumnMenu .dropdown-menu {
            min-width: min(300px, calc(100vw - 20px));
        }

        .usageColumnMenu .dropdown-menu.show {
            grid-template-columns: minmax(0, 1fr);
        }

        .dataListTable th,
        .dataListTable td {
            padding: 7px 8px;
        }
    }

    @media only screen and (max-width: 750px) {
        #mainContainer.logsListPage #locationTable {
            position: relative;
            left: auto;
            z-index: auto;
            width: calc(100% - 20px);
            height: calc(100% - 60px);
            min-height: 0;
            margin: 0 10px;
            overflow: hidden;
            transform: none;
            transition: none;
        }

        .logsSearchControl {
            grid-template-columns: 64px minmax(0, 1fr);
            max-width: none;
        }

        .logsFilterGrid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .logsViewControls {
            grid-template-columns: auto minmax(0, 1fr) auto;
        }

        .logsColumnMenu {
            grid-column: 1 / 4;
            justify-self: start;
        }

        .logsActionCell {
            min-width: 280px;
        }

        #mainContainer.settingsPage #settingsContent {
            position: relative;
            left: auto;
            z-index: auto;
            width: calc(100% - 20px);
            height: calc(100% - 60px);
            min-height: 0;
            margin: 0 10px;
            overflow: hidden;
            transform: none;
            transition: none;
        }

        #settingsNavigation {
            flex-wrap: nowrap;
            overflow-x: auto;
            overflow-y: hidden;
        }

        .settingsUserAddForm {
            grid-template-columns: minmax(0, 1fr);
        }
    }
