/* ==========================================================================
   BACKUPS
   ========================================================================== */
.update-button {
    width: 100%;
    height: 45px;
    margin-top: 0;
    margin-bottom: -10px;
    text-transform: uppercase;
    background-color: #0099c5;
    margin-left: 0;
    border: 0;
    position: relative;
    z-index: 1;
}
.update-module-button-div {
    width: 33.333333%;
    margin-left: -8.666667%;
}
.update-error-message {
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 15px;
    margin-top: 0;
}
.update-finish {
    background-color: #1e5d91;
    cursor: default;
}
.update-finish:focus {
    outline: none;
}
.activate-homekit {
    background-color: #1e5d91;
}
.activate-homekit:focus {
    outline: none;
}
.stop-homekit {
    background-color: #a7afb2;
}
.stop-homekit:focus {
    outline: none;
}
.updates-server-serial-number {
    margin-top: 0;
}
.updates-module-icon {
    margin-left: -15px;
    height: 35px;
    margin-top: 0;
}
.updates-server-details {
    margin-top: 0;
}
.loading-modules {
    height: 100px;
}
.loading-modules span {
    margin-right: 5px;
}
.loading-modules p {
    text-transform: uppercase;
    margin-top: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.update-next-version {
    margin-left: calc(8.333333% - 23.5px);
    margin-bottom: 20px;
    margin-top: -12px;
}
.version-number {
    color: #1e5d91 !important;
    padding-right: 5px;
    font-weight: 700;
  }
.update-server-button-div {
    margin-top: -10px;
}
.module-item-updates-div {
    margin-top: 10px;
}
.auto-update-container {
    margin-bottom: 20px;
}
.auto-update-container > div {
    margin-top: 5px;
    margin-bottom: 5px;
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}
.auto-update-container > div > div:first-child {
    margin-right: 20px;
    width: 30%;
}
.auto-update-container > div > div span {
    font-weight: bold;
}
/********** NO UPDATE INFO **********/
.no-update-info {
    text-align: center;
    margin: 20px 0 10px;
}
.no-update-info img {
    height: 25px;
    vertical-align: text-bottom;
}
.no-update-info span {
    text-transform: uppercase;
    padding-left: 10px;
}
/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media only screen and (max-width: 1199px) {
    .update-button {
        height: 40px;
    }
    .updates-module-icon {
        height: 30px;
    }
    .auto-update-container > div > div:first-child {
        width: 50%;
    }
}
@media only screen and (max-width: 991px) {
    .update-button {
        height: 35px;
    }
    .updates-module-icon {
        margin-left: -17px;
        height: 25px;
    }
    .update-button img {
        height: 20px;
        margin-right: -5px;
    }
    .update-next-version {
        margin-left: calc(8.333333% - 15.5px);
        margin-bottom: 20px;
        margin-top: -8px;
    }
    .update-module-button-div {
        margin-left: -7.666667%;
    }
}
@media only screen and (max-width: 767px) {
    .update-button img {
        height: 35px;
    }
    .update-module-button-div {
        width: 32.333333%;
        margin-left: -6.8%;
        padding-right: 1px !important;
    }
    .update-next-version {
        margin-top: -38px;
    }
    .auto-update-container > div > div:first-child {
        width: 80%;
    }
}
@media only screen and (max-width: 600px) {
    .update-button {
        height: 45px;
    }
    .updates-module-icon {
        height: 20px;
    }
    .update-button img {
        height: 10px;
    }
    .update-button div {
        font-size: xx-small;
    }
    .update-next-version {
        margin-left: calc(8.333333% - 10.5px);
        margin-bottom: 45px;
    }
    .update-module-button-div {
        width: 40%;
        margin-left: -15.5%;
    }
    .next-version-label {
        position: absolute;
        left: 8.5px;
        top: 35px;
    }
    .module-list {
        width: 58.666667%;
        margin-right: 10% !important;
    }
    .update-server-button-div {
        width: 42.333333%;
        margin-left: -9%;
        margin-top: -5px;
    }
    .module-item-updates-div {
        margin-top: 0;
    }
}
@media only screen and (max-width: 450px) {
    .update-next-version {
        margin-left: calc(8.333333% - 5.5px);
        margin-top: -56px;
    }
    .module-list {
        width: 58.666667%;
        margin-right: 9% !important;
    }
    .update-module-button-div {
        margin-left: -14.666667%;
    }
    .updates-server-serial-number-div {
        width: 100%
    }
}
@media only screen and (max-width: 350px) {
    .module-list {
        width: 58.666667%;
        margin-right: 9.333334% !important;
    }
    .update-module-button-div {
        margin-left: -15.5%;
    }
    .update-button {
        height: 35px;
        font-size: 14px;
    }
    .update-next-version {
        margin-left: calc(8.333333% - 0.5px);
    }
}
