/* ==========================================================================
   MASTERLOG
   ========================================================================== */
.settings-masterlog-box {
    min-height: calc(100vh - 119px);
}
.loading-masterlog {
    height: calc(100vh - 191px);
}
.loading-masterlog span {
    margin-right: 5px;
}
.loading-masterlog p {
    text-transform: uppercase;
    margin-top: 0;
    position: absolute;
    top: 55%;
    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%);
}
.masterlog-filter-date-div {
    float: right;
    cursor: pointer;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}
.masterlog-filter-date {
    color: #1e5d91;
    font-weight: 700;
    cursor: pointer;
}
.master-log-column {
    height: 50px;
    width: 100px;
    text-align: center;
}
.master-log-column p {
    line-height: 50px;
    margin: 0;
}
.masterlog-margin div:first-child p {
    line-height: 25px;
    font-weight: 400;
}
.masterlog-margin div:first-child p span{
    color: #1e5d91;
    font-weight: 400;
}
.master-log-column img {
    height: 60px;
    vertical-align: top;
}
.master-log-text-column {
    height: 40px;
    width: 100px;
    text-align: center;
}
.master-log-text-column p {
    line-height: 25px;
    margin: 0;
}
.masterlog-margin .master-log-column:last-child p {
    line-height: 80px;
    color: #1e5d91;;
    font-weight: 700;
}
.master-log-text-column img {
    height: 30px;
    width: 28px;
    vertical-align: top;
    margin-top: 10px;
    margin-left: 3px;
}
.masterlog-margin div:first-child {
    text-align: right;
    font-weight: 700;
}
.masterlog-margin div:nth-child(2) {
    width: 60px;
}
.masterlog-margin div:last-child {
    max-width: 80.666667%;
    width: auto;
    margin-left: -10px;
    padding-right: 0;
}
.masterlog-margin div:last-child p {
    text-align: left;
    font-size: medium;
}
.masterlog-margin {
    margin-left: 30px;
}
.masterlog-bottom-row img {
    margin-top: -50px;
    background-color: #fff;
}
.masterlog-bottom-row .master-log-column {
    height: 0 !important;
}
.masterlog-bottom-row p {
    line-height: 0 !important;
}
.log-filter-button {
    margin: 5px 0 5px 0;
    text-transform: uppercase;
    background-color: #1e5d91;
    margin-left: 0;
    border: 0;
    height: 35px;
    min-width: 15%;
    outline: none;
    padding: 0 18px;
}
.masterlog-input-label input[type="checkbox"] {
    margin-left: 0 !important;
    margin-top: 0 !important;
}
p.masterlog-input-label span:first-child {
    margin-bottom: -3px;
}
.log-empty-message p {
    text-transform: uppercase;
    text-align: center;
    height: 10vh;
    margin-top: 7vh;
    margin-bottom: 0;
}
.clear-all-filters {
    text-align: right;
    margin-top: 5px;
    margin-bottom: 8px;
}
.hide-all-filters {
    text-align: right;
    color: #1e5d91;
    cursor: pointer;
}
.hide-all-filters hr {
    margin-top: 0;
    border-top: 1px solid rgba(158, 169, 174, 0.7);
}


.clearMasterlog-timer-toggle {
    height: 50px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}
.clearMasterlog-timer-toggle div {
    padding: 0;
}
.clearMasterlog-timer-toggle > div:first-child {
    margin-right: 5px;
}
.clearMasterlog-timer-toggle > div:last-child {
    margin-left: 5px;
}


/* ==========================================================================
   FILTERS
   ========================================================================== */
.logs-show-filters-image {
    height: 22px;
    margin-bottom: 5px;
}
.masterlog-filter-date-label span:first-child {
    margin-right: 10px;
}
.filter-checked-icon {
    height: 15px;
    margin-left: 5px;
    vertical-align: baseline;
}
.extend-datepicker-div {
    width: 100%;
}
/* ==========================================================================
   MODAL DATEPICKER
   ========================================================================== */
.masterlog-datepicker {
    display: block;
    margin-top: 20px;
}
.masterlog-datepicker .datepicker th {
   padding: 0;
}
.masterlog-datepicker .datepicker th button {
    font-size: 100%;
    margin: 0;
    padding: 0;
}
.masterlog-datepicker table {
    width: 350px;
    margin: -15px auto 0;
}
.masterlog-datepicker-div {
    text-align: center;
}
.masterlog-outer-row {
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 !important;
    margin-left: -15px;
    width: calc(100% + 15px);
    height: calc(100vh - 190px);
}
.masterlog-outer-row::-webkit-scrollbar {
    height: 8px;
    width: 8px;
    border: 3.5px solid #eaeff2;
    background-color: #90969b;
    background-color: rgba(144,150,155,0.5);
}
.masterlog-outer-row::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0);
    -moz-box-shadow: inset 0 0 2px rgba(0,0,0,0);
    box-shadow: inset 0 0 2px rgba(0,0,0,0);
}
.masterlog-outer-row::-webkit-scrollbar-thumb {
    background: #1e5d91;
    background: #1e5d91;
}
.masterlog-outer-row::-webkit-scrollbar-thumb:window-inactive {
    background: #1e5d91;
    background: #1e5d91;
}
::-moz-scrollbar {
    background-color: purple;
}

::-moz-scrollbar-thumb {
    background-color: red;
}

.masterlog-outer-row::-moz-scrollbar {
    background-color: white;
}

.masterlog-outer-row::-moz-scrollbar {
    background: #1e5d91;
}
.no-margin-filter {
    margin-top: 0;
    margin-bottom: 0;
}
.lazy-loading {
    text-align: center;
    margin: 10px 0 20px;
}
/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media only screen and (max-width: 1199px) {
    .settings-masterlog-box {
        min-height: calc(100vh - 97px);
    }
    .loading-masterlog {
        height: calc(100vh - 165px);
    }
    .masterlog-margin div:last-child {
        max-width: 78.666667%;
    }
    .masterlog-margin div:first-child {
        margin-right: 0;
        margin-left: -20px;
    }
    .masterlog-datepicker table {
        width: 330px;
    }
    .masterlog-datepicker-input {
        width: 100px;
    }
    .hide-all-filters span, .masterlog-filter-date-div span {
        font-size: 18px;
    }
    .logs-show-filters-image {
        height: 24px;
        margin-bottom: 3px;
        margin-top: -3px;
    }
    .clear-all-filters {
        margin-bottom: 2px;
        font-size: 18px;
    }
    .masterlog-outer-row {
        height: calc(100vh - 170px);
    }
}
@media only screen and (max-width: 991px) {
    .settings-masterlog-box {
        min-height: calc(100vh - 75px);
        padding-bottom: 10px;
    }
    .loading-masterlog {
        height: calc(100vh - 130px);
    }
    .masterlog-top-row div:nth-child(2) {
        margin-left: 0;
    }
    .masterlog-margin div:first-child {
        margin-right: 0;
        margin-left: -18px;
    }
    .masterlog-margin div:nth-child(2) {
        margin-left: -9px;
    }
    .masterlog-margin div:last-child {
        margin-left: -9px;
    }
    .masterlog-datepicker table {
        width: 260px;
    }
    .masterlog-margin {
        margin-left: 0;
    }
    .master-log-column img {
        height: 45px;
    }
    .master-log-text-column img {
        height: 18px;
        width: 18px;
        vertical-align: top;
        margin-top: 9px;
        margin-left: 0;
    }
    .master-log-text-column {
        height: 25px;
    }
    .master-log-column {
        height: 35px;
    }
    .masterlog-margin div:first-child p {
        line-height: 18px;
    }
    .masterlog-margin div:last-child p {
        font-size: small;
    }
    .master-log-text-column p {
        line-height: 20px;
    }
    .master-log-column p {
        line-height: 36px;
    }
    .masterlog-top-row {
        margin-left: 9px;
    }
    .masterlog-bottom-row img {
        margin-left: 0;
        margin-top: -35px;
    }
    .filter-columns-left{
        padding: 0 !important;
    }
    .filter-columns-right {
        padding-right: 0 !important;
    }
    .masterlog-filter-date-div {
        margin-right: -9px !important;
    }
    .logs-show-filters-image {
        height: 20px;
        margin-bottom: 6px;
        margin-top: 0;
    }
    .clear-all-filters {
        margin-bottom: 5px;
    }
    .masterlog-datepicker-label>div:first-child {
        margin-left: -9px;
    }
    .masterlog-outer-row {
        margin-left: -9px;
        width: calc(100% + 6px);
        height: calc(100vh - 130px);
    }
    .alarm-log-bottom-row img {
        margin-left: 17px;
        margin-top: -34px;
    }
}
@media only screen and (max-width: 900px) {
    .masterlog-margin div:last-child {
        max-width: 75%;
    }
}
@media only screen and (max-width: 800px) {
    /******************************
    STYLING FOR IPADS
    ******************************/
    .masterlog-margin div:last-child {
        max-width: 71.666667%;
    }
    .masterlog-margin div:first-child p span {
        font-size: 14px;
    }
    .masterlog-margin div:first-child p {
        font-size: 14px;
    }
}
@media only screen and (max-width: 767px) {
    .settings-masterlog-box {
        min-height: calc(100vh - 80px);
    }
    .loading-masterlog {
        height: calc(100vh - 110px);
    }
    .masterlog-margin {
        margin-left: 10px;
    }
    .master-log-column img {
        height: 40px;
    }
    .master-log-column {
        width: 120px;
        height: 45px;
    }
    .master-log-column p {
        line-height: 26px;
    }
    .master-log-text-column {
        width: 120px;
        height: 40px;
    }
    .masterlog-margin {
        margin-left: -30px;
    }
    .masterlog-bottom-row img {
        margin-left: 0;
        margin-top: -45px;
    }
    .master-log-text-column img {
        height: 30px;
        width: 25px;
        vertical-align: top;
        margin-top: 3px;
        margin-left: -1px;
    }
    .masterlog-top-row {
        margin-left: -38px;
    }
    .masterlog-top-row img {
        margin-left: 27px;
    }
    p.masterlog-input-label span:first-child {
        margin-bottom: -4px;
    }
    .logs-show-filters-image {
        height: 23px;
        margin-bottom: 8px;
    }
    .clear-all-filters {
        margin-top: 3px;
    }
    /********** TABLET STYLING REFACTORY **********/
    .masterlog-margin div:first-child p {
        line-height: 20px;
        font-size: 16px;
    }
    .masterlog-margin div:first-child p span {
        font-size: 16px;
    }
    .masterlog-margin div:first-child {
        margin-right: 0;
        margin-left: -5px;
    }
    .masterlog-margin div:last-child p {
        font-size: 16px;
        display: table-cell;
        vertical-align: middle;
        line-height: 20px;
    }
    .masterlog-margin div:last-child {
        max-width: 73.666667%;
        display: table;
    }
    .masterlog-margin div:nth-child(2) {
        margin-left: -10px;
    }
    .log-filter-button {
        height: 40px;
    }
    .masterlog-outer-row {
        height: calc(100vh - 145px);
    }
    .alarm-log-bottom-row img {
        margin-left: 17px;
        margin-top: -45px;
    }
    .masterlog-datepicker-div .general-datepicker-div {
        width: 100%;
    }
}
@media only screen and (max-width: 650px) {
    .masterlog-margin div:last-child {
        max-width: 71.666667%;
    }
}
@media only screen and (max-width: 600px) {
    .masterlog-date-label {
        width: 100%;
    }
    .masterlog-datepicker-label {
        width: 100%;
    }
    .masterlog-margin div:last-child {
        max-width: 68.666667%;
    }
    .masterlog-outer-row {
        height: calc(100vh - 152px);
        overflow-x: hidden;
        overflow-y: auto;
        padding: 0 !important;
    }
}
@media only screen and (max-width: 550px) {
    .masterlog-margin div:last-child {
        max-width: 65.666667%;
    }
    .clearMasterlog-timer-toggle {
        flex-direction: column;
    }
}
@media only screen and (max-width: 500px) {
    .masterlog-margin div:last-child {
        max-width: 61%;
    }
}
@media only screen and (max-width: 450px) {
    .master-log-text-column p {
        line-height: initial;
    }
    .masterlog-margin div:last-child {
        max-width: 61.666667% !important;
    }
    .masterlog-margin div:last-child p {
        font-size: 14px;
    }
    .log-filter-button {
        height: 35px;
        line-height: 14px;
    }
    .logs-show-filters-image {
        height: 21px;
        margin-bottom: 5px;
    }
    .clear-all-filters {
        margin-top: 2px;
        margin-bottom: 10px;
    }
    .masterlog-margin div:first-child {
        margin-right: 0;
        margin-left: -30px;
    }
    .master-log-text-column img {
        width: 25px;
    }
    .masterlog-margin div:nth-child(2) {
        width: 50px;
    }
    .masterlog-top-row img {
        margin-left: 22px;
    }
    .association-table {
        width: 125%;
        margin-right: -20%;
    }
    .masterlog-datepicker-div {
        width: 100%;
    }
    .masterlog-outer-row {
        height: calc(100vh - 140px);
        padding-left: 25px !important;
    }
    .alarm-log-top-row {
        margin-left: -30px;
    }
    .alarm-log-top-row img {
        margin-left: 24px;
    }
    .alarm-log-bottom-row img {
        margin-left: 24px;
    }
    .alarm-log-row {
        padding-left: 20px !important;
    }
    .no-margin-filter {
        margin-bottom: 10px;
    }
}
@media only screen and (max-width: 400px) {
    .masterlog-margin div:last-child {
        max-width: 56.666667% !important;
    }
    .masterlog-datepicker-div div {
        padding: 0;
    }
}
@media only screen and (max-width: 350px) {
    .master-log-text-column p {
        line-height: initial;
    }
    .masterlog-margin div:last-child {
        max-width: 50.666667% !important;
    }
    .masterlog-margin div:last-child p {
        font-size: 13px;
    }
}
@media only screen and (max-width: 320px) {
    .masterlog-margin div:last-child {
        max-width: 44.666667% !important;
    }
}
