#media-layout {
    position: fixed;
    top: 0;
    left: 0;
    background: red;
    color: #fff;
    height: 10px;
    width: 10px;
    font-size: 7px;
    text-align: center;
}
#media-layout:before {
    content: "XS";
}


/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
    #media-layout:before {
        content: "S";
    }
    .title {
        font-size: 37px;
    }
}

/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    #media-layout:before {
        content: "M";
    }

    #transfer-list h5 {
        font-size: 15px;
    }
    #transfer-list small {
        font-size: 12px;
    }
    #transfer-list h4 {
        font-size: 16px;
    }
    #transfer-list .btn.btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1.25rem;
        line-height: 1.5;
        border-radius: 0.3rem;
    }
    .header-card-wrap {
        padding: 10px 20px;
    }
    #item-list .sscc-details .row {
        font-size: 16px;
    }
    #item-list .sscc-details .sscc-details-sm {
        display: flex;
    }

    .modal-header .modal-title {
        font-size: 1.25rem;
    }
    .modal-primary .modal-header {
        border-color: #307095
    }
    .modal-body h3 {
        font-size: 1.75rem;
    }
    .bins-card > div.card-body {
        padding: 20px;
    }

}

/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
    #media-layout:before {
        content: "L";
    }
    .title {
        font-size: 40px;
    }
    /*Nav*/
    .links > a {
        font-size: 12px;
        padding: 0 25px;
    }
    /*Transfers*/
    #transfer-list h5 {
        font-size: 20px;
    }
    #transfer-list small {
        font-size: 15px;
    }
    #transfer-list h4 {
        font-size: 21px;
    }
    #transfer-list .btn.btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1.25rem;
        line-height: 1.5;
        border-radius: 0.3rem;
    }
    .header-card-wrap {
        padding: 15px 25px;
    }
    .dashhead-subtitle {
        font-size: 85%;
    }
    .dashhead-title {
        font-size: 3em;
    }
    #item-list .sscc-details .row h3 {
        font-size: 1.75rem;
    }
    #item-list .sscc-details .btn-group,
    #item-list .sscc-details #complete {
        width: auto;
    }
    #item-list .sscc-details .sscc-details-info {
        font-size: 12px;
    }
    #item-list .sscc-details .sscc-details-sm {
        font-size: 13px;
    }
    /*Damage Modal*/
    .damages-button {
        bottom: auto;
        left: auto;
        right: -63px;
        top: 50%;
        transform: rotate(-90deg);
    }
    .damages-button button:after {
        content: " Report Damages";
    }
    .damages-button .btn {
        margin-left: 0;
    }
    .header-card-wrap .header-card {
        font-size: 16px;
    }
    .header-card-title {
        font-size: 22px;
    }

    .modal-body.bin-stack {
        padding: 4px;
    }
    .modal-body.bin-stack td {
        padding: 5px;
    }
    .modal-body.bin-stack td button {
        padding: 5px;
        font-size: 16px;
    }
}

/*Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
    #media-layout:before {
        content: "XL";
    }
    .title {
        font-size: 50px;
    }

}