* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
}

body {
    background-color: rgb(26, 36, 42);
    color: white;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 12px;
    margin: 0;
    padding: 0;
}

.logo-container {
    width: 100px;
    overflow: hidden;
    display: block;
    cursor: pointer;
    line-height: 0;
}

.play-stuff-logo {
    height: 24px;
    margin: 6px 4px 4px 6px;
}

.shelf {
    display: flex;
    overflow: auto;
    scroll-behavior: smooth;
    overflow-y: hidden;
    overflow-x: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    height: 162px;
    margin-top: 16px;
}

.highlight .shelf {
    height: 128px;
    margin-top: -4px;
}

.shelf-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-width: 197px; /* IE fix */
}

.highlight .shelf-item {
    min-width: 117px; /* IE fix */
}

.shelf-item-image {
    cursor: pointer;
    position: absolute; /* IE fix */
    object-fit: contain;
}

.shelf-item-image, .shelf-item-link {
    height: 107px;
    width: 191px;
}

.highlight .shelf-item-image,
.highlight .shelf-item-link {
    height: 62px;
    width: 110px;
}

.shelf-item-link {
    position: relative;
    display: flex;
    text-decoration: none;
    -webkit-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none; 
    user-select: none; 
}

.shelf-item-overlay,
.grid-item-overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    background: linear-gradient(180deg, transparent 0,rgba(0, 0, 0, .4));
}

.shelf-item-overlay:hover,
.grid-item-overlay:hover {
    background: linear-gradient(180deg, transparent 0,rgba(0, 0, 0, .35) 50% ,rgba(0, 0, 0, .55));
}

.play-icon {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 26px;
}

.shelf-text-overlay,
.grid-text-overlay {
    padding: 8px 8px 0 0;
    line-height: 14px;
    height: 52px;
}

.grid-text-overlay {
    display: block;
    position: relative;
    padding-left: 3px;
}

.shelf-item-title,
.grid-item-title {
    height: 100%;
    display: block;
    overflow-y: hidden;
    overflow-x: hidden;
    opacity: .9;
}

.shelf-container {
    position: relative;
    margin-top: 3px;
}

.is-ios .shelf-container {
    width: 1px;
    min-width: 100%;
}

.scroll-left-button,
.scroll-right-button {
    height: 30px; 
    width: 30px; 
    position: absolute; 
    top: 44px;
    background-color: rgb(26, 36, 42);
    border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
}

.scroll-left-button {
    left: 0; 
}

.scroll-right-button {
    right: 0; 
}

.highlight .scroll-left-button,
.highlight .scroll-right-button {
    top: 24px;
}

.arrow-right,
.arrow-left {
    display: block;
    width: 12px;
    height: 12px;
    background-color: white;
    position: absolute;
    top: 50%;
  }

.arrow-right {
    transform: translate(-50%, -50%) rotate(-135deg);
    left: 35%;
}

.arrow-left {
    transform: translate(-50%, -50%) rotate(45deg);
    left: 65%;
}

.scroll-right-button:hover > .arrow-right,
.scroll-left-button:hover > .arrow-left {
    background-color: rgb(0, 170, 175);
}

.arrow-mask {
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgb(26, 36, 42);
    position: absolute;
    left: 15%;
    top: -15%;
    right: 0%;
    bottom: 0%;
}

.hidden {
    background: transparent;
}

.removed {
    display: none;
}

.shelf-item {
    padding-left: 6px;
}

.shelf-item:last-child {
    padding-right: 6px;
}

.hidden .arrow-right,
.hidden .arrow-left {
    display: none;
}

::-webkit-scrollbar { 
    display: none; 
}

.error {
    margin: 16px;
    font-size: 120%;
}

.grid {
    line-height: 0;
    padding: 0 3px 3px 3px;
}

.grid-item {
    position: relative;
    display: inline-block;
    width: 20%;
    line-height: normal;
}

.grid-item:before,
.tile-item:before {
    content: '';
    display: block;
    width: 100%;
    padding-top: 56.25%;
}

.highlight > .grid-item:first-child {
    display: block;
    float: left;
    width: calc(40% - .1px);
}

.tile-container {
    margin: 0 3px;
}

.tile-item {
    width: 100%;
    position: relative;
    display: inline-block;
}

.grid-item-link {
    width: 100%-8px;
    position: absolute;
    left: 3px;
    right: 3px;
    top: 3px;
    bottom: 50px;
    text-decoration: none;
    cursor: pointer;
    -webkit-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none; 
    user-select: none; 
}

.highlight > .grid-item:first-child > .grid-item-link {
    bottom: 75px;
}

.grid-item-image {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.grid-item-overlay {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.grid-item-overlay:hover .grid-item-title {
    padding-bottom: 20px;
}

.highlight > .grid-item:first-child > .grid-text-overlay {
    height: 80px;
    line-height: 22px;
    padding-top: 14px;
}

.highlight > .grid-item:first-child .grid-item-title {
    font-size: 150%;
}

.highlight > .grid-item:first-child .play-icon {
    width: 52px;
}

@media (max-width: 1124px) {
    .highlight > .grid-item:first-child {
        width: calc(50% - .1px)
    }
    .grid-item {
        width: 25%;
    }
}

@media (max-width: 900px) {
    .highlight > .grid-item:first-child {
        width: calc(66.66% - .1px);
    }
    .grid-item {
        width: 33.33%;
    }
}

@media (max-width: 570px) {
    .highlight > .grid-item:first-child {
        width: 100%;
    }
    .grid-item {
        width: 50%;
    }
}


@media (max-width: 285px) {
    .highlight > .grid-item:first-child .grid-item-title {
        font-size: 100%;
    }
    .grid-item {
        width: 100%;
    }
    .highlight > .grid-item:first-child > .grid-text-overlay {
        padding: 8px 8px 0 0;
        line-height: 14px;
        height: 52px; 
    }
    .highlight > .grid-item:first-child > .grid-item-link {
        bottom: 50px;
    }
    .highlight > .grid-item:first-child .play-icon {
        width: 26px;
    }
}
