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

.hide {
    display: none;
}

a {
    transition-timing-function: ease-in;
    transition: 0.3s;
}

a:hover {
    color: #2EEEEE;
    text-decoration: none;
}

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

.navbar {
    background-color: #3c38fc;
    background-image: linear-gradient(151deg, #3c38fc 0%, #0de7e7 88%);
}

.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: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-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;
}
.auth-form-container input[type="email"] {
    margin-bottom: 10px;
}
.auth-form-container input[type="password"] {
    margin-bottom: 10px;
}

/* Devices */

.table-smaller {
    width: 50px;
}

.fa-tablet-alt {
    margin-right: 7px;
}

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

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: left !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%;
    }
}