
/* General */
html, body {
    height: 100%;
    width: 100%;
}

.hide {
    display: none;
}

h1, h2, h3, h4, h5, h6, p, a, ul, li, label {
    font-family: 'Poppins', sans-serif;
}

h1, h2, h3 {
    color: #4C4D55;
    font-weight: 800 !important;
}

p, ul, li, label {
    color: #4C4D55;
}

a {
    color: #0D6AF6;
    transition-timing-function: ease-in;
    transition: 0.3s;
}

a:hover {
    color: #6D55F7;
    text-decoration: none;
}

a:focus, a:active:focus {
    outline: none;
}

.navbar {
    background-color: #2897F3;
}

.navbar-dark .navbar-toggler {
    border-color: transparent;
}

.navbar-dark .navbar-toggler:focus {
    outline: none;
}

.navbar-dark .navbar-nav .nav-link {
    color: #FFFFFF;
}

.logo {
    width: 60px;
}

.form-control {
    background: #f1f1f1;
    border: 0;
}

.form-control:focus {
    background: #f1f1f1;
    box-shadow: none;
}

.input-group-text {
    border: 0;
}

.my-4 {
    background: #007bff;
}

.modal-header .close:focus, .modal-header .close:active:focus {
    outline: none;
}

.btn-primary {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: #0D6AF6;
    box-shadow: 0 4px 16px rgba(40, 151, 243, 0.5);
    border-radius: 50px;
    padding: 15px 20px;
    border: 0;
    transition-timing-function: ease-in;
    transition: 0.5s;
}

.btn-primary:hover {
    background: #0986EE;
}

.btn-danger {
   color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: #F4693C;
    box-shadow: 0 4px 16px rgba(244, 105, 60, 0.5);
    border-radius: 50px;
    padding: 15px 20px;
    border: 0;
    transition-timing-function: ease-in;
    transition: 0.5s; 
}

.btn-danger:hover {
    background: #FB5E2C;
}

.btn-primary:focus, .btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-danger:focus, .btn-danger:not(:disabled):not(.disabled):active:focus {
    box-shadow: none;
}

/* Auth */

.auth-logo {
    width: 120px;
}

.login-content {
    min-height: 100%;
}

.auth-form {
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #FFFFFF;
}

.auth-form h5 {
    text-transform: uppercase;
    font-size: 18px;
    color: #8A8EAC;
    font-weight: 700;
}

.auth-form-container {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.auth-form-container .form-control {
    position: relative;
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    font-size: 16px;
}
.auth-form-container .form-control:focus {
    z-index: 2;
}

.google-btn {
  width: 184px;
  height: 42px;
  background-color: #4285f4;
  border-radius: 2px;
  box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.25);
  margin: 0 auto 30px auto;
  cursor: pointer;
}

@media not all and (min-resolution:.001dpcm) { 
    @media {
        .google-btn { 
            width: 200px; 
        }
    }
}

.google-btn .google-icon-wrapper {
  position: absolute;
  margin-top: 1px;
  margin-left: 1px;
  width: 40px;
  height: 40px;
  border-radius: 2px;
  background-color: #fff;
}
.google-btn .google-icon {
  position: absolute;
  margin-top: 11px;
  margin-left: -9px;
  width: 18px;
  height: 18px;
}
.google-btn .btn-text {
  float: right;
  margin: 11px 11px 0 0;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.2px;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
}
.google-btn:hover {
  box-shadow: 0 0 6px #4285f4;
}
.google-btn:active {
  background: #1669F2;
}

/* Devices */
#addDevice {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: #0D6AF6;
    box-shadow: 0 4px 16px rgba(40, 151, 243, 0.5);
    border-radius: 50px;
    padding: 15px 20px;
    border: 0;
    transition-timing-function: ease-in;
    transition: 0.5s;
}

.table-smaller {
    width: 50px;
}

th {
    color: #8A8EAC;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}

th a {
    text-decoration: none;
    color: #8A8EAC;
}

th a:hover {
    color: #8A8EAC;
    text-decoration: underline;
}

th .fas {
    position: relative;
    bottom: 2px;
    color: #8A8EAC;
}

tr {
    font-weight: 400;
}

.device-content .fas, .device-content .fab {
    margin-right: 7px;
    min-width: 20px;
    text-align: center;
}

.modal-title {
    color: #8A8EAC;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 18px;
}

.modal-header, .modal-footer {
    border: 0;
}


#queryDeviceModal .modal-title {
   color: #8A8EAC;
   font-weight: 700;
   text-transform: uppercase; 
}

#queryDeviceModal .fas, #queryDeviceModal .fab {
   color: #4C4D55; 
   margin-right: 7px;
} 


#queryDeviceModal h5 {
    color: #4C4D55;
    font-weight: 800;
}

#queryDeviceModal h5 span {
    font-weight: 400;
}

footer {
    width: 100%;
}


/* Users */
.add-user-form input[type="email"] {
    margin-bottom: 10px;
}

.add-user-form input[type="text"] {
    margin-bottom: 10px;
}


/* Responsive */
@media screen and (max-width: 991px) {
    .add-action {
        text-align: center !important;
    }

    .responsive-table {
        overflow-x: auto;
    }

    .table {
        display: block;
    }

    #devicesTable {
        width: 150%;
    }

    .responsive-table::-webkit-scrollbar {
        -webkit-appearance: none;
        height: 7px;
    }

    .responsive-table::-webkit-scrollbar-thumb {
        background-color: #cccccc;
        -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
    }
}

@media screen and (max-width: 900px) {
    .display-4 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 575px) {
    .navbar-nav {
        text-align: center;
    }
}

@media screen and (max-width: 767px) {
    #devicesTable {
        width: 190%;
    }

    #usersTable {
        width: 150%;
    }
}

@media screen and (max-width: 540px) {
    #devicesTable {
        width: 200%;
    }
}

@media screen and (max-width: 510px) {
    #devicesTable {
        width: 220%;
    }
}

@media screen and (max-width: 500px) {
    .display-4 {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 480px) {
    #usersTable {
        width: 175%;
    }
}

@media screen and (max-width: 470px) {
    #devicesTable {
        width: 240%;
    }
}

@media screen and (max-width: 430px) {
    #devicesTable {
        width: 260%;
    }
}

@media screen and (max-width: 420px) {
    #usersTable {
        width: 200%;
    }
}