﻿.dms-page-grid-mobile {
    -ms-grid-rows: 84px calc(100% - 235px);
    -ms-grid-columns: 1fr;
    display: -ms-grid;
    display: grid;
    grid-template-rows: auto calc(100% - 285px);
    grid-template-columns: 1fr;
    height: 100%;
    width: 100%;
    position: fixed;
    -moz-align-content: flex-start;
    -o-align-content: flex-start;
    -webkit-align-content: flex-start;
    align-content: flex-start;
}

    .dms-page-grid-mobile.closed {
        width: 0;
    }

.dms-page-grid-header-mobile {
    -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-body-mobile {
    -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-mobile {
    -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-mobile {
    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-mobile:hover {
        border: 2px orange solid;
        border: 2px rgba(255,165,0,.5) solid;
    }

    .dms-list-item-mobile.selected {
        border: 2px orange solid;
        border: 2px rgba(255,165,0,1) solid;
    }

    .dms-list-item-mobile .infobox-header-title {
        display: flex;
        margin-left: 0;
        padding: 3px 7px 0;
        font-size: 14px;
        font-weight: normal;
    }

.dms-icon-mobile {
    margin: 3px 5px 0;
    align-self: flex-start;
}

.dms-message-list-has-messages-mobile, .dms-message-list-no-messages-mobile {
    display: flex;
}

.dms-message-list-mobile {
    background: black;
    color: orange;
    padding: 4px;
    list-style: none;
    height: 70px;
    margin-bottom: 4px;
}

.dms-message-item-mobile {
    padding: 1px;
    list-style: none;
    text-align: center;
    font-size: 13px;
}

.dms-message-list-2-mobile {
    background: black;
    color: orange;
    padding: 4px;
    list-style: none;
    margin: 4px;
    width: 50%;
    height: 75px;
}

.dms-message-item-2-mobile {
    padding: 1px;
    list-style: none;
    text-align: center;
    font-size: 13px;
}

.dms-message-list-3-mobile {
    background-color: gainsboro;
    padding: 4px;
    list-style: none;
    width: 100%;
    margin: auto;
}

.dms-message-item-3-mobile {
    padding: 1px;
    color: black;
    list-style: none;
    text-align: center;
    font-size: 13px;
    white-space: nowrap;
}

.ctt-minutes-mobile {
    vertical-align: -webkit-baseline-middle;
    font-weight: bold;
    font-size: 17px;
}

.dms-message-image-list-mobile {
    width: 100%;
}

.dms-message-image-list-item-mobile {
    width: 100%;
    object-fit: none;
    object-position: center;
}

.lms-icon-mobile {
    height: 20px;
    width: auto;
    margin: 3px 5px 0;
}

.left-gantry-mobile {
    height: 40px;
    width: 20px;
    justify-self: end;
    align-self: end;
    margin-bottom: 5px;
}

.right-gantry-mobile {
    height: 40px;
    width: 20px;
    align-self: end;
    margin-bottom: 5px;
}

.gantry-list-mobile {
    display: grid;
    grid-template-columns: 20px 335px 20px;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.lms-message-list-has-messages-mobile, .lms-message-list-no-messages-mobile {
    flex: 1;
}

@media (max-width: 992px) {
    .lms-message-list-has-messages-mobile, .lms-message-list-no-messages-mobile {
        display: block;
    }
}

.lms-message-list-2-mobile {
    background: black;
    color: orange;
    padding: 4px;
    height: 100%;
    margin: 3px;
    align-content: center;
}

@media (max-width: 992px) {
    .lms-message-list-2-mobile {
        width: auto;
    }
}

.lms-signs-mobile {
    display: flex;
    overflow: scroll;
    align-items: center;
}
