/*
 Theme Name:       Mean Time Productions
 Theme URI:        http://www.meantimeprod.com/
 Author:           David M. Farrell
 Author URI:       http://www.webdesignbydave.com
 Description:      Flicks, Comix, & more!
*/


/* =Theme customization starts here
-------------------------------------------------------------- */

/*sets the default font type for entire page*/
* {
    font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
}

/*hides download button in video control bar on Chrome browsers*/
video::-webkit-media-controls-enclosure {
    overflow: hidden !important;
}

video::-webkit-media-controls-panel {
    width: calc(100% + 30px) !important;
    /* Adjust as needed */
}


/*sets background image for flicks page*/
#backgroundFlicks {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/icons/films_icon.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 75%;
    background-position: center top;
    opacity: 1;
    z-index: -2;
}

/*sets background image for tv page*/
#backgroundTV {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/icons/tv_icon.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 75%;
    background-position: center top;
    opacity: 1;
    z-index: -2;
}

/*sets background image for comics page*/
#backgroundComics {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/icons/comics_icon.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 75%;
    background-position: center top;
    opacity: 1;
    z-index: -1;
}

/*sets background image for shop page*/
#backgroundShop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/icons/shop_icon3.png') !important;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 75%;
    background-position: center top;
    /* opacity: 1; */
    z-index: -1;
}

/*sets background image for about page*/
#backgroundAbout {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/icons/about_icon2.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 55%;
    background-position: center top;
    opacity: 1;
    z-index: -1;
}

/*position header links */
.headerLink {
    position: relative;
    bottom: -33px;
}

/*films image link*/
.headerLink .films {
    background: url("hmeimgs/films.jpg") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
    height: 26px;
    margin: 0 0 9px;
    padding: 60px 0 0 110px;
    width: 100%;
    top: 90px;
    position: relative;
}

.headerLink .films:hover {
    background: url("hmeimgs/films-ovr.jpg") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
}

.headerLink .films:hover:after {
    content: "flicks";
    color: #E83225;
    display: block;
    left: 25px;
    position: absolute;
    top: 77px;
}

/*tv image link*/
.headerLink .tv {
    background: url("hmeimgs/tv.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
    height: 26px;
    margin: 0 0 9px;
    padding: 60px 0 0 110px;
    width: 100%;
    top: 90px;
    position: relative;
}

.headerLink .tv:hover {
    background: url("hmeimgs/tv-ovr.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
}

.headerLink .tv:hover:after {
    content: "tv";
    color: #E83225;
    display: block;
    left: 35px;
    position: absolute;
    top: 77px;
}

/*graphic image link*/
.headerLink .novels {
    background: url("hmeimgs/novels.jpg") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
    height: 26px;
    margin: 0 0 9px;
    padding: 60px 0 0 100px;
    width: 100%;
    top: 90px;
    position: relative;
}

.headerLink .novels:hover {
    background: url("hmeimgs/novels-ovr.jpg") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
}

.headerLink .novels:hover:after {
    content: "scripted";
    color: #E83225;
    display: block;
    left: 15px;
    position: absolute;
    top: 77px;
}

/*shop image link*/
.headerLink .shop {
    background: url("hmeimgs/shop.jpg") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
    height: 26px;
    margin: 0 0 9px;
    padding: 60px 0 0 90px;
    width: 100%;
    top: 90px;
    position: relative;
}

.headerLink .shop:hover {
    background: url("hmeimgs/shop-ovr.jpg") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
}

.headerLink .shop:hover:after {
    content: "shop";
    color: #E83225;
    display: block;
    left: 15px;
    position: absolute;
    top: 77px;
}

/*contact image link*/
.headerLink .cntct {
    background: url("hmeimgs/cntct.jpg") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
    height: 26px;
    margin: 0 0 9px;
    padding: 60px 0 0 100px;
    width: 100%;
    top: 90px;
    position: relative;
}

.headerLink .cntct:hover {
    background: url("hmeimgs/cntct-ovr.jpg") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
}

.headerLink .cntct:hover:after {
    content: "contact";
    color: #E83225;
    display: block;
    left: 16px;
    position: absolute;
    top: 77px;
}

/*about image link*/
.headerLink .about {
    background: url("hmeimgs/about.jpg") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
    height: 26px;
    margin: 0 0 9px;
    padding: 60px 0 0 80px;
    width: 100%;
    top: 90px;
    position: relative;
}

.headerLink .about:hover {
    background: url("hmeimgs/about-ovr.jpg") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
}

.headerLink .about:hover:after {
    content: "about";
    color: #E83225;
    display: block;
    left: 20px;
    position: absolute;
    top: 77px;
}

/*review image link*/
.headerLink .review {
    background: url("hmeimgs/about.jpg") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
    height: 26px;
    margin: 0 0 9px;
    padding: 60px 0 0 100px;
    width: 100%;
    top: 90px;
    position: relative;
}

.headerLink .review:hover {
    background: url("hmeimgs/about-ovr.jpg") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
}

.headerLink .review:hover:after {
    content: "1-min movie reviews";
    color: #E83225;
    display: block;
    left: -10px;
    position: absolute;
    top: 77px;
}

.hover-container {
    position: relative;
    display: inline-block;
    text-align: center;
}

.hover-above-text {
    display: block;
    color: white;
    font-size: 25px;
    /*font-family: Arial, sans-serif;*/
    position: relative;
    width: 100%;
    text-align: center;
    bottom: 10px;
    /* Adjust spacing */
}

.hover-text {
    display: none;
    color: #E83225;
    font-size: 22px;
    /*font-family: Arial, sans-serif;*/
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: -35px;
    /* Adjust spacing */
}

.hover-container:hover .hover-text {
    display: block;
}

/*center the link text under all the shop images*/
#wrapper,
#wrapCenter,
#wrapMid,
#wrapLong,
#wrapDVD {
    text-align: center;
}

/*css to add title under shop comics images*/
#wrapper .text {
    position: relative;
    bottom: 10px;
    left: 0;
    visibility: hidden;
    vertical-align: top;
    display: inline-block;
    text-align: center;
}

/*css to add title under shop flicks images*/
#wrapCenter .text {
    position: relative;
    bottom: 10px;
    left: 0;
    visibility: hidden;
    vertical-align: top;
    display: inline-block;
    text-align: center;
}

/*css to add title under shop flicks images*/
#wrapMid .text {
    position: relative;
    bottom: 10px;
    left: 0;
    visibility: hidden;
    vertical-align: top;
    display: inline-block;
    text-align: center;
}

/*css to add title under shop flicks images*/
#wrapLong .text {
    position: relative;
    bottom: 10px;
    left: 0;
    visibility: hidden;
    vertical-align: top;
    display: inline-block;
    text-align: center;
}

/*css to add title under shop flicks images*/
#wrapDVD .text {
    position: relative;
    bottom: 10px;
    left: 0;
    visibility: hidden;
    vertical-align: top;
    display: inline-block;
    text-align: center;
}

#wrapper:hover .text {
    visibility: visible;
    color: #E83225;
    font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
}

#wrapCenter:hover .text {
    visibility: visible;
    color: #E83225;
    font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
}

#wrapMid:hover .text {
    visibility: visible;
    color: #E83225;
    font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
}

#wrapLong:hover .text {
    visibility: visible;
    color: #E83225;
    font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
}

#wrapDVD:hover .text {
    visibility: visible;
    color: #E83225;
    font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
}

/*adds white border around images on scripted page */
.scriptedRedBorder {
    width: 100%;
    max-width: 378px;
    aspect-ratio: 378 / 522;
    border: 3px solid white;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: border-color 0.3s ease;
    margin: 0 auto;
}

/*adds red border around images on scripted page upon hover*/
.scriptedRedBorder:hover {
    border-color: #E83225;
}


.scriptedRedBorder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media (max-width: 600px) {
    .flex-item {
        flex: 0 0 auto;
        /* Don’t grow/shrink */
    }

    .scriptedRedBorder {
        width: 100%;
        max-width: 300px;
        /* Set a mobile-friendly max width */
        margin: 0 auto;
    }

    .scriptedRedBorder img {
        width: 100%;
        height: auto;
    }
}

/*adds white border around images */
img.redBorder {
    border: solid 3px #FFFFFF !important;
    display: inline-block;
}

/*adds red border around images upon hover*/
a.redBorder:hover,
img.redBorder:hover,
a.redBorder:active {
    border-color: #E83225 !important;
}

/*adds black border around images */
img.blackBorder {
    border: solid 3px #000000 !important;
    display: inline-block;
}

/*adds red border around images upon hover*/
a.blackBorder:hover,
img.blackBorder:hover,
a.blackBorder:active {
    border-color: #E83225 !important;
}


/*creates a white background*/
.whiteBackground {
    background-color: #FFFFFF;
}


/*creates a class to change text white*/
div.white-text {
    color: #ffffff;
}

/*creates a class to adjust text on about page*/
div.about-text {
    color: #ffffff;
    width: 20%;
    font-size: 1.2em;
    text-align: justify;
}


/*creates class for large red text */
.red-text-large {
    color: #ED3326;
    font-size: small;
}

/*creates class for medium red text */
.red-text-medium {
    color: #ED3326;
    font-size: x-small;
}

/*creates class for content page title text */
.title-text-red {
    color: #ED3326;
    font-size: x-large;
}

/*creates class for label title text */
.label-text-red {
    color: #ED3326;
    font-size: large;
}


/*makes all links white unless otherwise specified */
a {
    color: #FFFFFF;
    outline: medium none;
    text-decoration: none;
}

/*edit bottom social link images and color*/
.socialLinkBottom a {
    color: #FFFFFF !important;
    text-decoration: underline !important;
}

.socialLinkBottom a:hover {
    color: #FF0000 !important;
}


/*using this to position footer always on the bottom*/
html {
    height: 110%;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    position: relative;
    margin: 0;
    padding-bottom: 6rem;
    min-height: 100%;
    font-family: "Helvetica Neue", Arial, sans-serif;
}


/*makes all text in social links white*/
.socialLinkBottom {
    color: #FFFFFF;
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1rem;
    /* background-color: #000000; */
    text-align: center;
}

/*facebook image link*/
.socialLink .fb {
    background: url("hmeimgs/Facebook.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
    height: 26px;
    margin: 0 0 9px;
    padding: 20px 0 0 37px;
    width: 100%;
}

.socialLink .fb:hover {
    background: url("hmeimgs/facebook-ovr.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
}

/*twitter image link*/
.socialLink .twt {
    background: url("hmeimgs/Twitter.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
    height: 26px;
    margin: 0 0 9px;
    padding: 20px 0 0 39px;
    width: 100%;
}

.socialLink .twt:hover {
    background: url("hmeimgs/twitter-ovr.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
}

/*IMDb image link */
.socialLink .imdb {
    background: url("hmeimgs/imdb.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
    height: 26px;
    margin: 0 0 9px;
    padding: 20px 0 0 49px;
    width: 100%;
}

.socialLink .imdb:hover {
    background: url("hmeimgs/imdb-ovr.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
}

/* YouTube image link */
.socialLink .yotu {
    background: url("hmeimgs/YouTube.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
    height: 26px;
    margin: 0 0 9px;
    padding: 20px 0 0 59px;
    width: 100%;
}

.socialLink .yotu:hover {
    background: url("hmeimgs/youtube-ovr.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
}

/* Vimeo image link */
.socialLink .vimeo {
    background: url("hmeimgs/Vimeo.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
    height: 26px;
    margin: 0 0 9px;
    padding: 20px 0 0 25px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.socialLink .vimeo:hover {
    background: url("hmeimgs/vimeo-ovr.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
}

/* Instagram image link */
.socialLink .instagram {
    background: url("hmeimgs/instgrm.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
    height: 26px;
    margin: 0 0 9px;
    padding: 23px 15px 0 25px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.socialLink .instagram:hover {
    background: url("hmeimgs/instgrm-ovr.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
}

/*position social links on bottom for home page */
.socialLinkBottomHomePage {
    position: relative;
    bottom: -300px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

@media only screen and (max-device-width: 480px) {
    .about-text {
        width: 50% !important;
    }
}