#auditlog-index #page .container {
    max-width: none;
}

.iwOrderHistory {
    margin-bottom: 1.5rem;
}

.u-input--auditSearch {
    padding: .35rem;
    border-radius: 2px 0 0 2px;
    border-right: 0;
    outline: none;
    overflow: hidden;
    text-overflow: ellipsis;
}

.iwOrderHistory-searchWrap:focus-within {
    outline: 1px solid;
}

.iwOrderHistory-searchWrap {
    width: 100%;
}

.iwOrderHistory-searchBtn::after {
    content: '\e94b';
    font-family: 'Imagenweb';
    font-size: 14px;
}

.iwOrderHistory-clearBtn::after {
    content: '\e9d3';
    font-family: 'Imagenweb';
    font-size: 14px;
}

.btn.iwOrderHistory-searchBtn,
.btn.iwOrderHistory-searchBtn:hover {
    border-radius: 0 2px 2px 0;
    border-left: 0;
}

.btn--auditSort,
.btn--auditFilterMenu {
    border-radius: 2px;
}

.iwOrderHistory-logSection--date,
.iwOrderHistory-datePickerContainer,
.iwOrderHistory-search,
.iwOrderHistory-groupActions,
.iwOrderHistory-dateWrap,
.iwOrderHistory-searchWrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.iwOrderHistory-filterActions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    font-size: .85rem;
    margin: .75rem 0;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
}

.btn.btn--auditFilter {
    font-size: 0;
    min-width: 60px;
    border-radius: 30px;
    padding: 0 .75rem;
    height: auto;
}

.btn--auditRestore {
    font-size: 0;
    margin-bottom: .5rem;
}

.btn--auditFilter::before {
    font-size: .75rem;
    font-family: 'imagenweb';
    line-height: 20px;
}

.iwOrderHistory-filterMenu {
    margin: .5rem 0;
}

.btn--auditSort {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: .5rem;
}

.btn--auditFilterMenu {
    margin-left: .5rem;
}

.iwOrderHistory-logItem {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    grid-template-rows: repeat(6, auto);
    padding: 1rem 1rem 0 1rem;
    border-top: 1px solid #ccc;
}

.iwOrderHistory-logIcon .iw-icon {
    border-radius: 50%;
    font-size: 1rem;
    width: 35px;
    height: 35px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    opacity: .5;
    background-color:#C8C8C8;
}

.iwOrderHistory-logIcon {
    grid-area: 1 / 1 / 5 / 2;
}

.iwOrderHistory-logSection--recordName {
    grid-area: 1 / 2 / 2 / 3;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.iwOrderHistory-logRecordName {
    font-size: 1.25rem;
    word-break: break-word;
    margin: 0;
}

.iwOrderHistory-compactSummary {
    grid-area: 2 / 2 / 3 / 3;
}

.iwOrderHistory-logSection--date {
    grid-area: 3 / 2 / 4 / 3;
    margin-bottom: .375rem;
}

.iwOrderHistory-createdByWrap {
    grid-area: 4 / 2 / 5 / 3;
}

.iwOrderHistory-logThumb {
    grid-area: 5 / 1 / 6 / 4;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-top: 1rem;
}

.iwOrderHistory-logActivity {
    grid-area: 6 / 1 / 7 / 4;
}

.iwOrderHistory-filterDates {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;

    /* REMOVE WHEN FILTER BUTTONS ARE REIMPLEMENTED */
    margin-top: 1rem;
}

.btn--auditContext {
    border: none;
    background-color: transparent;
    color: #000;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
    cursor: pointer;
}

.iwOrderHistory-logActions,
.btn--auditContext {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.btn--auditContext {
    -ms-flex-item-align: end;
    align-self: flex-end;
}

.iwOrderHistory-createdBy,
.iwOrderHistory-compactSummary-txt {
    margin: 0;
}

.iwOrderHistory-activityEvent {
    font-weight: 600;
}

.iwOrderHistory-time,
.iwOrderHistory-date {
    margin: 0;
    font-size: 1rem;
}

.iwOrderHistory-time {
    margin-left: .75rem;
}

.iwOrderHistory-date::before,
.iwOrderHistory-time::before {
    content: '\e905';
    font-family: 'Imagenweb';
    font-size: .9rem;
    opacity: .8;
    margin-right: .375rem;
}

.iwOrderHistory-time::before {
    content: '\e96e';
    margin-right: .1875rem;
}

.iwOrderHistory-startDateWrap {
    margin-bottom: .575rem;
}

.iwOrderHistory-filterDates {
    margin-right: 2px;
}

.iwOrderHistory-filterDates .js-dateTo {
    margin-bottom: 0;
}

.iwOrderHistory-datePicker--label {
    font-size: .75rem;
}

.iwOrderHistory-logThumbImg {
    margin-bottom: 1rem;
}

.iw-icon--primary {
    color: #4281f4;
}

.iwOrderHistory-logActions {
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    grid-area: 1 / 3 / 5 / 4;
}

.btn--showActivity,
.btn--auditRestore {
    padding: .575rem;
    border-radius: 2px;
}

.btn--audit::before,
.btn--audit::after {
    font-size: 1rem;
    font-family: 'imagenweb';
}

.btn--showActivity::before,
.btn--auditRestore::before {
    font-size: .7rem;
}

.btn--auditContext {
    margin: .575rem 0 .575rem .575rem;
}

.iwOrderHistory-logActivity-txt {
    font-size: 1rem;
    margin: 0;
    padding: 0 0 1rem 0;
}

.iwOrderHistory-autoSearch {
    position: absolute;
    top: 48px;
    padding: .75rem;
    border-radius: 0 0 2px 2px;
    z-index: 5;
    left: 0;
    right: 0;
    box-shadow: 0 9px 5px -10px rgba(0, 0, 0, .75);
    text-align: left;
    background-color: #f1f1f1;
}

.iw-dark .iwOrderHistory-autoSearch {
    background-color: #0a0a0a;
}

.iwOrderHistory-autoSearch h2 {
    margin-bottom: .75rem;
}

.iwOrderHistory-autoSearch ul {
    padding-left: 0;
    margin: 0;
}

.iwOrderHistory-userItem,
.iwOrderHistory-intItem {
    margin-bottom: 1rem;
    cursor: pointer;
}

.btn--auditSort::before {
    content:'\e9e1';
    margin: .1875rem;
}

.btn--auditSort::after {
    content:'\e9e2';
}

.isDescending::after,
.isAscending::before {
    opacity: .3;
}

.btn--auditFilterDeleted::before {
    content: "\e94a";
}

.btn--auditFilterEdited::before {
    content: "\e92a";
}

.btn--auditFilterCreated::before {
    content: "\e946";
}

.btn--auditFilterAll::before {
    content: "\e9d0";
}

.btn--auditRestore::before {
    content: "\e9e4";
}

.iwOrderHistory-createdBy {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.iwOrderHistory-logThumbImg img {
    max-width: 150px;
    max-height: 85px;
    background-color: #6e6e6e
}

.iwOrderHistory-logActivity .iwSlideSection {
    max-height: none;
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1)
}

.iwOrderHistory-dateJoin,
.btn--auditShowMore {
    display: none;
}

.iwOrderHistory-startDateWrap::before,
.iwOrderHistory-endDateWrap::before {
    content: "\e905";
    font-family: "imagenweb";
    position: absolute;
    right: 10px;
    opacity: .5;
    pointer-events: none;
}

.iwOrderHistory-startDateWrap,
.iwOrderHistory-endDateWrap {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: .75rem;
}

.iwOrderHistory-widget .iwOrderHistory-title {
    display: none;
}

.media-action .iwOrderHistory-startDateWrap,
.media-action .iwOrderHistory-endDateWrap {
    width: 100%;
}

/* fix input focus styles being cut off */
.iwOrderHistory-filterDates .u-date,
.iwOrderHistory-searchWrap {
    margin-left: 2px;
}

/* landscape smartphones, iPhone480px */
@media all and (min-width:30em) {

    .iwOrderHistory-logThumbImg {
        margin-bottom: 0;
    }

    .iwOrderHistory-createdBy {
        font-size: 1rem;
    }

    .iwOrderHistory-filterActions {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        align-items: center;
    }

    .iwOrderHistory-dateJoin {
        display: block;
        margin: auto .5rem;
    }
    
    .btn.btn--auditFilter {
        font-size: .85rem;
        margin-right: .5rem;
        min-width: 100px;
        line-height: 20px;
        height: auto;
    }

    .btn--auditFilter::before {
        margin-right: .35rem;
    }
}

/* filter button focus styles */
.btn--auditFilter:focus {
    outline: 1px solid;
}
.btn--auditFilter:focus:not(:focus-visible) {
    outline: none;
}

/* portrait e-readers (Nook/Kindle), smaller tablets 600px or 640px wide. */
@media all and (min-width:36.063em) {

    .iwOrderHistory-filterDates {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }
}

/* Galaxy S5 */
@media all and (min-width:37.5em) {

	.iwOrderHistory-startDateWrap,
	.iwOrderHistory-endDateWrap {
		-webkit-box-flex: 1;
		-ms-flex-positive: 1;
		flex-grow: 1
	}

}

/*landscape e-readers, landscape 800x480 or 854x480 phones */
@media all and (min-width:44.063em) {

    .iwOrderHistory-logItem {
        grid-template-columns: 50px auto 1fr 30px;
        grid-template-rows: repeat(5, auto);
    }

    .iwOrderHistory-logIcon {
        grid-area: 1 / 1 / 5 / 2;
    }

    .iwOrderHistory-logSection--recordName {
        grid-area: 1 / 2 / 2 / 4;
    }

    .iwOrderHistory-compactSummary {
        grid-area: 2 / 2 / 3 / 4;
    }

    .iwOrderHistory-logSection--date {
        grid-area: 3 / 2 / 4 / 4;
    }

    .iwOrderHistory-createdByWrap {
        grid-area: 4 / 2 / 5 / 4;
    }

    .iwOrderHistory-logThumb {
        grid-area: 5 / 2 / 6 / 3;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        margin-right: 1rem;
    }

    .iwOrderHistory-logActions {
        grid-area: 1 / 4 / 5 / 5;
    }

    .iwOrderHistory-logActivity {
        grid-area: 5 / 3 / 6 / 5;
        padding: 0;
        margin: 1rem 0 0;
    }
}

/* portrait iPad 768px */
@media (min-width:48em) {}

/* tablet, landscape iPad, lo-res laptops and desktops */
@media (min-width:56.25em) {}

/* small desktops 1000px */
@media (min-width:62.5em) {

    /* .media-action class parent is added for the widget view on record page */
    .media-action .btn--auditFilterMenu,
    .media-action .btn--auditSort {
        padding: 0 .5rem;
    }

    .media-action .iwOrderHistory-autoSearch h2 {
        font-size: 1rem;
    }

    .media-action .iwOrderHistory-autoSearch {
        top: 55px;
    }

    .media-action .iwOrderHistory-searchBtn {
        padding: 0 .5rem 0 0;
    }

    .media-action .iwOrderHistory {
        overflow: auto;
    }

    .media-action .iwOrderHistory-filterMenu {
        position: -webkit-sticky;
        position: sticky;
        top: 68px;
        z-index: 1;
        padding: 0 .75rem;
    }

    .media-action .iwOrderHistory-search {
        padding: 1rem .75rem;
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .media-action .u-input--auditSearch {
        height: 40px;
    }

    .media-action .btn--auditFilter {
        width: auto;
        padding: 0 .75rem;
        margin: 0;
        min-width: inherit;
    }

    .media-action .iwOrderHistory-logActions {
        grid-area: 1 / 2 / 4 / 3;
    }

    .media-action .iwOrderHistory-filterActions {
        justify-content: space-between;
        margin: 0 0 .75rem;
    }

    .media-action .iwOrderHistory-filterDates {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .media-action .iwOrderHistory-filterDates .u-date {
        margin: 0 auto .5rem;
        font-size: .9rem;
    }

    .media-action .iwOrderHistory-logSection--recordName,
    .media-action .iwOrderHistory-dateJoin,
    .media-action .iwOrderHistory-logIcon {
        display: none;
    }

    .media-action .iwOrderHistory-createdBy {
        font-size: 1rem;
    }

    .media-action .iwOrderHistory-logActions .btn {
        padding: .575rem;
    }

    .media-action .iwOrderHistory-logSection--date {
        grid-area: 1 / 1 / 2 / 2;
    }

    .media-action .iwOrderHistory-compactSummary {
        grid-area: 2 / 1 / 3 / 2;
    }

    .media-action .iwOrderHistory-createdByWrap {
        grid-area: 3 / 1 / 4 / 2;
        overflow: hidden;
    }

    .media-action .iwOrderHistory-logThumb {
        grid-area: 4 / 1 / 5 / 3;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin: 0;
        padding: 0;
    }

    .media-action .iwOrderHistory-logActivity {
        grid-area: 5 / 1 / 6 / 3;
        margin: 0;
    }

    /* media-action parent is added for the widget view on record page */
    .media-action .iwOrderHistory-logItem {
        grid-template-columns: 1fr 30px;
        min-height: 0;
        padding: .75rem;
    }

    .media-action .iwOrderHistory-logThumbImg {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin: 1rem 0;
    }
}

/* big landscape tablets, laptops, and desktops */
@media (min-width:68.75em) {

    .media-action .iwOrderHistory-searchBtn {
        padding: 0 .75rem 0 0;
    }

    .iwOrderHistory-logSection--recordName,
    .iwOrderHistory-time {
        margin: 0;
    }

    .btn--auditDownload {
        display: block;
    }

    .iwOrderHistory-compactSummary,
    .btn--showActivity,
    .iwOrderHistory-mobileDropDown,
    .btn--auditShowMore--hide,
    .btn--auditFilterMenu,
    .iwOrderHistory-logIcon {
        display: none;
    }

    .iwOrderHistory-logActivity {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        grid-area: 1 / 5 / 2 / 6;
        margin: 0;
    }

    .iwOrderHistory-logActivity-txt.js-extraItem:last-child {
        padding-bottom: 0;
    }

    /*reset from mobile as we are hiding different parts for smaller screens*/
    .iwOrderHistory-logActivity .iwSlideSection {
        max-height: 0;
        -webkit-transform: scale(1, 0);
        transform: scale(1, 0)
    }

    .iwOrderHistory-logActivity .iwSlideSection--open {
        max-height: none;
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1)
    }

    .btn--auditShowMore {
        margin-top: 1rem;
        font-size: .9rem;
        display: block;
    }

    .iwOrderHistory-logSection--date {
        grid-area: 1 / 3 / 2 / 4;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        align-items: center;
        margin: 0;
    }

    .iw-auditLog-resultsInfo {
        width: 40%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .iwOrderHistory-date,
    .iwOrderHistory-logRecordName,
    .iwOrderHistory-createdBy {
        font-size: 1.15rem;
    }

    /* If filter menu is closed in desktop mode, still show it */
    .iwOrderHistory-filterMenu {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        grid-template-rows: 1fr;
        max-height: none;
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }

    .iwOrderHistory-filterIcon {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    }

    .iwOrderHistory-filterIcon .iw-icon {
        -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    }

    .media-action .iwOrderHistory-filterActions {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .media-action .btn--auditFilter {
        margin-right: .75rem;
    }

    .media-action .btn--auditFilterCreated {
        margin-right: 0;
    }

    .btn--auditShowMore--show {
        font-size: .75rem;
        padding: .35rem;
        margin-top: .5rem;
    }

    .iwOrderHistory-logItem {
        grid-template-columns: 150px repeat(3, 1fr) 2fr min-content;
        grid-template-rows: 1fr;
        grid-column-gap: 1rem;
        min-height: 133px;
        padding: 1rem;
    }

    .iwOrderHistory-logThumb {
        grid-area: 1 / 1 / 2 / 2;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        padding-top: 0;
        margin: 0;
    }

    .iwOrderHistory-logSection--recordName {
        grid-area: 1 / 2 / 2 / 3;
    }

    .iwOrderHistory-createdByWrap {
        grid-area: 1 / 4 / 2 / 5;
        width: 220px;
    }

    .iwOrderHistory-logSection--recordName,
    .iwOrderHistory-createdByWrap,
    .iwOrderHistory-logThumbImg {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .iwOrderHistory-logActions {
        grid-area: 1 / 6 / 2 / 7;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
        flex-direction: row-reverse;
    }

    .btn--auditContext,
    .btn--auditRestore {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-item-align: start;
        align-self: flex-start;
    }

    .btn--auditContext {
       margin-top: .1875rem;
    }

    .iwOrderHistory-logThumb,
    .iwOrderHistory-logActivity {
        max-height: none;
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
        overflow: visible;
    }

    .iwOrderHistory-filterActions {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        margin: 0;
    }

    .iwOrderHistory-filterMenu {
        padding-top: 1rem;
    }

    .iwOrderHistory-filterDates {
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
        margin-top: 0;
    }

    .iwOrderHistory-logActions .btn--auditRestore {
        font-size: .85rem;
        padding: .575rem .75rem;
        border-radius: 2px;
        white-space: nowrap;
    }
    

    .iwOrderHistory-startDateWrap,
    .iwOrderHistory-endDateWrap  {
        width: 25%;
    }

    .btn--auditRestore::before {
        padding-right: .5rem;
        font-size: .7rem;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    }

    .iwOrderHistory-logThumbImg::before {
        width: 35px;
        height: 35px;
        position: absolute;
        top: -7px;
        left: -7px;
        border-radius: 50%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        margin: 0;
        padding: .1rem;
        font-family: "ImagenWeb";
        border: 1px #fff solid;
        background-color: #c8c8c8;
        line-height: 35px;
    }

    .iwOrderHistory-logThumbImg {
        width: 150px;
        position: relative;
        -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        background-color: #f9f9f9;
    }

    .iwOrderHistory-logItem--edited .iwOrderHistory-logThumbImg::before {
        content: "\e92a";
    }

    .iwOrderHistory-logItem--created .iwOrderHistory-logThumbImg::before {
        content: "\e946";
    }

    .iwOrderHistory-logItem--deleted .iwOrderHistory-logThumbImg::before {
        content: "\e94a";
    }

    .iwOrderHistory-logItem--restore .iwOrderHistory-logThumbImg::before {
        content: "\e9d0";
    }

    .iwOrderHistory-logs {
        padding-top: 0;
    }

    /* Fix jump issue when logs are expanded*/
    .iwOrderHistory-logSection--date,
    .iwOrderHistory-createdByWrap,
    .iwOrderHistory-logSection--recordName,
    .iwOrderHistory-logThumb {
        max-height: 150px;
        position: relative;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .iwOrderHistory-dateWrap {
        text-align: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .iwOrderHistory-createdBy {
        max-width: 220px;
    }

    /* Target last log item before show more button
       Keeps spacing same above and below list*/
    .iwOrderHistory-logActivity > .iwOrderHistory-logActivity-txt:nth-child(3),
    .iwOrderHistory-logActivity-txt:only-child,
    .iwOrderHistory-logActivity--noExtra > .iwOrderHistory-logActivity-txt:last-child {
        padding-bottom: 0;
    }

    /*if the list is expanded we want to put the padding bottom back*/
    .iwOrderHistory-logActivity--open.iwOrderHistory-logActivity > .iwOrderHistory-logActivity-txt:nth-child(3) {
        padding-bottom: 1rem;
    }

    .iwOrderHistory-date::before {
        position: relative;
        top: -2px;
    }

    .iwOrderHistory-time::before {
        font-size: .8rem;
        opacity: 1;
    }

    .media-action .iwOrderHistory-dateWrap,
    .media-action .iwOrderHistory-filterDates {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }

    .media-action .iwOrderHistory-date,
    .media-action .iwOrderHistory-time {
        font-size: 1rem;
    }

    .media-action .iwOrderHistory-time {
        padding-left: 1rem;
    }

    .media-action .iwOrderHistory-logSection--date {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .media-action .iwOrderHistory-compactSummary,
    .media-action .btn--showActivity,
    .media-action .btn--auditFilterMenu,
    .media-action .iwOrderHistory-logActivity-extra,
    .media-action .iwOrderHistory-dateJoin {
        display: block;
        max-height: none;
        transform: scale(1, 1);
    }

    .media-action .iwOrderHistory-logThumbImg::before,
    .media-action .btn--auditShowMore {
        display: none;
    }

    .media-action .iwOrderHistory-logActivity > .iwOrderHistory-logActivity-txt:nth-child(3) {
        padding-bottom: 1rem;
    }

    .media-action .iwOrderHistory-filterDates .u-date {
        width: 100%;
        margin: 0;
    }

    .media-action .iwOrderHistory-logActions {
        grid-area: 1 / 2 / 4 / 3;
        padding: 0;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .media-action .iwOrderHistory-logActivity-txt {
        font-size: .9rem;
    }

    .media-action .iwSlideSection {
        max-height: 0;
        overflow: hidden;
        -webkit-transform: scale(1,0);
        transform: scale(1,0);
        -webkit-transform-origin: top;
        transform-origin: top;
    }

    .media-action .iwSlideSection--open,
    .media-action .iwOrderHistory-logActivity .iwSlideSection {
        max-height: none;
        -webkit-transform: scale(1,1);
        transform: scale(1,1);
    }

    .media-action .iwOrderHistory-filterDates {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        margin-bottom: .75rem;
    }

    .media-action .iwOrderHistory-filterMenu {
        grid-template-columns: auto;
    }

    /* We need to remember when adding the audit log widget outside of the media actions div on the
       record page (i.e. underneath it instead of next to it) to add the class
       .tabName--auditWidget in the containing tab widget on the record page */

    .tabName--auditWidget.is-active .iwOrderHistory-logItem {
        grid-template-columns: 150px repeat(2, 1fr) 2fr 100px;
    }

    .tabName--auditWidget.is-active .iwOrderHistory-logSection--date {
        grid-area: 1 / 2 / 2 / 3;
    }

    .tabName--auditWidget.is-active .iwOrderHistory-createdByWrap {
        grid-area: 1 / 3 / 2 / 4;
    }

    .tabName--auditWidget.is-active .iwOrderHistory-logActivity {
        grid-area: 1 / 4 / 2 / 5;
    }

    .tabName--auditWidget.is-active .iwOrderHistory-logActions {
        grid-area: 1 / 5 / 2 / 6;
    }
}

/* custom 1 */
@media (min-width:80.25em) {

    .iwOrderHistory-logItem {
        grid-template-columns: 150px repeat(4, 1fr) 125px;
    }

    .media-action .iwOrderHistory-logItem {
        grid-template-columns: 35px auto 30px;
    }

    .iwOrderHistory-logIcon .iw-icon {
        height: 30px;
        width: 30px;
    }

    .media-action .iwOrderHistory-logActivity-txt {
        font-size: 1rem;
    }

    .media-action .iwOrderHistory-logIcon {
        display: block;
    }

    .media-action .iwOrderHistory-logSection--date {
        grid-area: 1 / 2 / 1 / 2;
    }

    .media-action .iwOrderHistory-compactSummary {
        grid-area: 2 / 2 / 3 / 2;
    }

    .media-action .iwOrderHistory-createdByWrap {
        grid-area: 3 / 2 / 4 / 2;
    }

    .media-action .iwOrderHistory-logActions {
        grid-area: 1 / 3 / 4 / 3;
    }

    .media-action .iwOrderHistory-logActivity {
        grid-area: 5 / 1 / 6 / 4;
    }

    .iwOrderHistory-startDateWrap,
    .iwOrderHistory-endDateWrap {
        margin-bottom: 0;
    }

    .iwOrderHistory-filterMenu .iwOrderHistory-clearBtn {
        width: 50px;
        grid-area: 1 / 4 / 2 / 5
    }
}

/* custom 1.5 */
@media (min-width:92.25em) {}

/* hi-res laptops and desktops */
@media (min-width:100.25em) {

    .media-action .btn--auditFilterMenu,
    .media-action .btn--auditSort {
        padding: 0 1rem;
    }
}

/* largest */
@media (min-width:117em) {}