/* Layout */

.mb-2 {
    margin-bottom: .5rem !important;
}

.mr-2 {
    margin-right: .5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mx-0 {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.btn-grad {
	background-color: #001736;
    padding: .25rem .5rem;
    font-size: .875rem;
    line-height: 1.5;
    text-align: center;
    transition: 0.5s;
    color: white;
    border-radius: 0.375rem;
    display: inline-block;
}

.btn-grad:hover {
    background-color: #79d7fd;
    color: #001736;
    text-decoration: none;
} 

.container-fluid {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
	line-height: 0;
}       

.row {	
	display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.col {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
}

.col, .col-3, .col-9, .col-12, .col-md-2, .col-md-3, .col-md-4, .col-md-8, .col-md-9, .col-md-10, .col-lg-2, .col-lg-3, .col-lg-9 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}

.col-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}

.col-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}

.col-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.col-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
}

.col-12 {
    flex: 0 0 auto;
    width: 100%;
}

@media (min-width: 768px) {
	
	.col-md-2 {
        -ms-flex: 0 0 16.666667%;
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }
	
	.col-md-3 {
        flex: 0 0 25%;
        width: 25%;
    }
	
    .col-md-4 {
        flex: 0 0 33.33333333%;
        width: 33.33333333%;
    }
	
	.col-md-8 {
        flex: 0 0 66.66666667%;
        width: 66.66666667%;
    }
	
	.col-md-9 {
        flex: 0 0 75%;
        width: 75%;
    }
	
	.col-md-10 {
        -ms-flex: 0 0 83.333333%;
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }
	
}

@media (min-width: 992px) {
	
	.col-lg-2 {
        -ms-flex: 0 0 16.666667%;
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }
	
    .col-lg-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
	
	.col-lg-9 {
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }
	
}

.rounded-2 {
    border-radius: 10px !important;
}

.align-items-center {
    align-items: center !important;
}

.d-flex {
    display: flex !important;
}

@media only screen and (min-width: 1600px) {
    .post-type-single-column {
        max-width: 66.666667%;
    }
}

.post-type-single-column {
    max-width: 1506px;
    width: 100%;
    margin: 30px;
}

.post-type-header-banner {
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.post-type-header-inner {
    margin: 1em 0;
    color: #fff;
}

.post-type-header-inner a {
	color: #fff;
	text-decoration: none !important;
}



.post-type-custom-bg {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-color: rgba(0, 0, 0, 0.5);
}

.poster {
    width: 100%;
    aspect-ratio: 9 / 13;
    object-fit: cover;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    box-sizing: border-box;
}

.tagline{
    margin-bottom: 20px;
    display: block;
    font-style: italic;
}

.card {
	border: 1px solid #efefef;
	background: white;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
	box-sizing: border-box;
}

.card-body {
    flex: 1 1 auto;
	padding: 1rem;
	font-size: 18px;
    line-height: 1.5em;
}

.card-header-inner {
    margin: 1em 0;
	line-height: 1.5;
}

.card-header-inner a {
	text-decoration: none !important;
}

.card-header-inner a:hover {
	color: inherit;
}

.card-poster {
	border-radius: 10px 0 0 10px;
	width: 100%;
    aspect-ratio: 9 / 13;
    object-fit: cover;
}

@media (max-width: 768px) {
	
	.side1 {
		order: 2;
	}
	
	.side2 {
		order: 1;
	}
	
	.side3 {
        order: 3;
    }
	
	.side4 {
        order: 4;
    }
	
	.card-header-inner {
		margin: 1em;
	}
	
	.card-poster {
		border-radius: 10px 10px 0 0;
	}	
	
}

.data-set {
	padding-bottom: 14px;
}

.data-set .type {
    font-size: 1rem;
    font-weight: 600;
    padding-bottom: 5px;
}

.custom-badge {
    background: #483d8b;
    color: #ffffff;
}

.custom-badge {
    display: table;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 8px;
    white-space: nowrap;
    text-shadow: none;
    line-height: 1;
    border-radius: 4px;
}

.spacer {
    width: 100%;
    min-height: 1px;
    margin-top: 10px;
    margin-bottom: 10px;
    display: inline-block;
    position: relative;
}

/* Table */

.borderless-table {
    width: 100%;
    border: none;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
}

.borderless-table th,
.borderless-table td {
    border: none;
    background: none;
}

.borderless-table tbody > tr:nth-child(odd) > td, 
.borderless-table tbody > tr:nth-child(odd) > th {
    background-color: unset;
}

/* Youtube embed */

.youtube-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    box-sizing: border-box;
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Cast */

.cast-img-box {
	position: relative;
}

.cast-img {
	width: 100%;
    object-fit: cover;
    aspect-ratio: 9 / 13;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    box-sizing: border-box;
}

.cast-data {
	position: absolute;
    bottom: 0;
    font-weight: 700;
    font-size: 11pt;
    width: 100%;
    margin: 0;
    padding: 8px;
    background-color: rgba(0, 0, 0, .5);
    color: #fff;
    margin-bottom: 6px;
    border-radius: 0 0 10px 10px;
}

.cast-data a {
	color: #fff;
	text-decoration: none;
}
.cast-data a:hover {
	color: inherit;
}

/* Messages */

.mediafy-error-message {
    padding: 1em;
	margin-bottom: 1.5em;
    background: #fce4e4;
    color: #b71c1c;
    border: 1px solid #f5c6cb;
    border-radius: 10px;
    font-weight: bold;	
}

/* Relationship Posts */

.mediafy-related-posts {
    margin: 20px 0;
}

.mediafy-related-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mediafy-related-item {
    width: 120px;
    text-align: center;
}

.mediafy-related-thumb {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.mediafy-related-title {
    display: block;
    font-size: 13px;
    margin-top: 6px;
}

.relationship-date {
    font-size: 14px;
    color: #fff;
}

.relationship-grid .relationship-thumb {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 16 / 9;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    box-sizing: border-box;
}

.relationship-grid .relationship-media-thumb {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    box-sizing: border-box;
}

@media (max-width: 768px) {		

	.relationship-grid .relationship-thumb {
		aspect-ratio: 1 / 1;
	}	
	
}

.relationship-grid .relationship-item a {
    text-decoration: none;
    color: inherit;
}