﻿.dms-page-grid {
    -ms-grid-rows: auto 1fr;
    -ms-grid-columns: 500px;
    display: -ms-grid;
    display: grid;
    grid-template-rows: auto 1fr;
    grid-template-columns: 500px;
    height: calc(100vh - 150px);
    width: 100%;
}

    .dms-page-grid.closed {
        width: 0;
    }

@media (max-width: 992px) {
    .dms-page-grid {
        -ms-grid-columns: 256px;
        grid-template-columns: 256px;
    }
}

.dms-page-grid-header {
    -ms-grid-column: 1;
    -ms-grid-row: 1;
    grid-column: 1;
    grid-row: 1;
    height: 100%;
    width: 100%;
    padding: 5px;
    padding-top: 8px;
}

    .dms-page-grid-header .roadway-filter {
        width: calc(100% - 33px);
    }

.dms-page-grid-body {
    -ms-grid-column: 1;
    -ms-grid-row: 2;
    grid-column: 1;
    grid-row: 2;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

.dms-list {
    -webkit-transition: ease-in 250ms;
    -moz-transition: ease-in 250ms;
    -ms-transition: ease-in 250ms;
    -o-transition: ease-in 250ms;
    transition: ease-in 250ms;
    position: relative;
    overflow-y: auto;
    height: 100%;
    width: 100%;
    margin-top: 8px;
}

.dms-list-item {
    background: white;
    margin-bottom: 20px;
    border: 2px solid transparent;
    -ms-border-radius: 4px;
    border-radius: 4px;
    -moz-box-shadow: 0 0 0 1px #000000,0 2px 4px 0 #000000;
    -moz-box-shadow: 0 0 0 1px rgba(0,0,0,.05),0 2px 4px 0 rgba(0,0,0,.14);
    -webkit-box-shadow: 0 0 0 1px #000000,0 2px 4px 0 #000000;
    -webkit-box-shadow: 0 0 0 1px rgba(0,0,0,.05),0 2px 4px 0 rgba(0,0,0,.14);
    box-shadow: 0 0 0 1px #000000, 0 2px 4px 0 #000000;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 2px 4px 0 rgba(0, 0, 0, .14);
    margin: 8px;
}

    .dms-list-item:hover {
        border: 2px orange solid;
        border: 2px rgba(255,165,0,.5) solid;
    }

    .dms-list-item.selected {
        border: 2px orange solid;
        border: 2px rgba(255,165,0,1) solid;
    }

.dms-icon {
    margin: 3px 5px 0;
    align-self: flex-start;
}

.lms-icon {
    height: 20px;
    width: auto;
    margin: 3px 5px 0;
}

.left-gantry {
    height: 40px;
    width: 20px;
    justify-self: end;
    align-self: end;
    margin-bottom: 5px;
}

.right-gantry {
    height: 40px;
    width: 20px;
    align-self: end;
    margin-bottom: 5px;
}

.gantry-list {
    display: grid;
    grid-template-columns: 30px auto 30px;
    align-items: center;
    justify-content: center;
}

.lms-icon-popup {
    height: 18px;
    width: auto;
    margin: 3px 5px 0;
}

.left-gantry-popup {
    height: 40px;
    width: 20px;
    justify-self: end;
    align-self: end;
    margin-bottom: 5px;
}

.right-gantry-popup {
    height: 40px;
    width: 20px;
    align-self: end;
    margin-bottom: 5px;
}

.gantry-list-popup {
    display: grid;
    grid-template-columns: 20px auto 20px;
    height: auto;
    justify-content: center;
}

.lms-signs-popup {
    display: flex;
    overflow-x: auto;
}

.lms-message-list {
    background: black;
    color: orange;
    padding: 4px;
    list-style: none;
    margin: 4px;
    flex: 1;
    align-content: center;
}

.lms-message-item {
    padding: 1px;
    list-style: none;
    text-align: center;
    white-space: nowrap;
    font-size: small;
}

.lms-message-item-3 {
    padding: 1px;
    color: black;
    list-style: none;
    text-align: center;
}

.lms-message-list-3 {
    background-color: gainsboro;
    padding: 4px;
    list-style: none;
    width: 100%;
    margin: 4px;
    flex: 1;
    font-size: small;
    white-space: nowrap;
}

.lms-message-list-has-messages, .lms-message-list-no-messages {
    display: flex;
    flex: 1;
    margin: 1px;
}

@media (max-width: 992px) {
    .lms-message-list-has-messages, .lms-message-list-no-messages {
        display: block;
    }
}

.lms-message-list-2 {
    background: black;
    color: orange;
    padding: 4px;
    list-style: none;
    width: 100%;
    height: 100%;
    align-content: center;
    margin: 4px;
}

@media (max-width: 992px) {
    .lms-message-list-2 {
        width: auto;
    }
}

.lms-signs {
    display: flex;
    overflow-x: auto;
    align-items: center;
}

.dms-message-list-has-messages, .dms-message-list-no-messages {
    display: flex;
}

@media (max-width: 992px) {
    .dms-message-list-has-messages, .dms-message-list-no-messages {
        display: block;
    }
}

.dms-message-list {
    background: black;
    color: orange;
    padding: 4px;
    list-style: none;
    height: 70px;
    margin-bottom: 4px;
}

.dms-message-item {
    padding: 1px;
    list-style: none;
    text-align: center;
    font-size: 13px;
}

.dms-message-list-2 {
    background: black;
    color: orange;
    padding: 4px;
    list-style: none;
    margin: 4px;
    width: 50%;
    height: 75px;
}

@media (max-width: 992px) {
    .dms-message-list-2 {
        width: auto;
    }
}

.dms-message-item-2 {
    padding: 1px;
    list-style: none;
    text-align: center;
    font-size: 13px;
    white-space: nowrap
}

.dms-message-list-3 {
    background-color: gainsboro;
    padding: 4px;
    list-style: none;
    width: 100%;
    height: 75px;
    margin: 4px;
}

@media (max-width: 992px) {
    .dms-message-list-3 {
        width: auto;
    }
}

.dms-message-item-3 {
    padding: 1px;
    color: black;
    list-style: none;
    text-align: center;
    font-size: 13px;
    white-space: nowrap;
}

.dms-message-footer {
    display: flex;
    justify-content: space-between;
    padding: 3px 5px 0;
    font-size: 12px;
}

@media (max-width: 992px) {
    .dms-message-footer {
        padding-top: 0;
    }
}

.ctt-minutes {
    vertical-align: -webkit-baseline-middle;
    font-weight: bold;
    font-size: 17px;
}

.dms-message-image-list {
    width: 100%;
    margin: 1px;
}

.dms-message-image-list-item {
    width: 100%;
    object-fit: none;
    object-position: center;
    margin: 1px;
}

.lms-message-image-list-item {
    object-fit: none;
    object-position: center;
}

.dms-popup-item {
    display: flex;
    margin: 1px;
}
