@import url('../default.css');
@import url('../../../../mobile/tabs.css');

/* OLD Media Queries, going to be migrated */

@media only screen and (max-width: 1024px) {

    div.tab .menu {
        margin: 0;
    }

    .carousel-item-detail {
        width: 700px;
        margin-left: 50px;
    }

    .carousel-item-detail-poster {
        display: none;
    }

    .carousel-item-detail-info {
        width: 580px;
    }

    div.tab .menu {
        left: 0;
    }
}

@media only screen and (max-width: 775px) {

    .carousel-item-detail {
        margin: 0;
    }

}

@media only screen and (max-width: 480px) {
    .menu.row {
        flex-direction: column;
    }

    .carousels {
        padding-bottom: 50px;
    }

    .carousel-small {
        flex-direction: column;
        justify-content: flex-start;
        align-content: center;
        width: 100%;
        margin-bottom: 10px;
    }

    .carousel-small:not(:first-child) {
        margin-top: 10px;
        border-top: solid 1px var(--divider-color);
    }

	.carousel-item:first-child {
		display: flex;
	}

    .small-carousel.block-carousel {
        margin: 0;
        width: 100%;
    }

    .carousel-header {
        margin: 0;
        height: auto;
        width: 100%;
    }

    .carousel-header img {
        height: auto;
        width: 100%;
        border: none;
        box-shadow: none;
    }

    .carousel-header > a {
        margin-bottom: -4px;
    }

    .small-carousel-item {
        width: 100%;
        margin: 0;
    }

    .carousel-item-detail {
        width: 100%;
        flex-direction: column;
    }

    .carousel-item-detail-info {
        width: 100% !important;
    }

    .carousel-item-detail-info * {
        width: auto;
    }

    .carousel-item-actions {
        flex-direction: row;
        align-content: center;
        align-items: center;
        text-align: left;
        width: 100%;
    }

    .prev, .next {
        top: 25%;
    }

    div.section-navigation {
        flex-direction: column-reverse;
    }

    div.ad-space {
        background-color: var(--primary-color);
    }

    div.navigation-tabs {
        width: 100%;
    }

    div.tabs {
        /*
        background-color: var(--secondary-color);
        color: var(--secondary-contrast-color);
         */
        color: var(--primary-contrast-color);
        width: 100%;
    }

    div.small-carousel > div.row {
        width: 100%;
        flex-direction: column;
        justify-content: flex-start;
        align-content: center;
    }

    .carousel-row {
        flex-direction: column;
        width: 100%;
        height: auto;
    }

    .carousel-item-xtra {
        width: 100%;
        margin: 0;
    }

	.row_inner {
		overflow-x: scroll;
		width: 100%;
	}

}

/* NEW Media Queries */
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

    div.section-title {
        min-width: 40vw;
    }

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    div.section-title {
        min-width: 30vw;
    }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

    div.section-title {
        min-width: 25vw;
    }

}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {

    div.section-title {
        min-width: 20vw;
    }

}
