﻿@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;1,300&family=Oswald&display=swap&family=Nosifer&display=swap'); /* Necessry as first line because the non-import method doesn't work on iOS https://stackoverflow.com/questions/14676613/how-to-import-google-web-font-in-css-file */

/*STYLE GUIDE - FRONT PAGE

    WHITESMOKE COLOUR = #F5F5F5
    DARK GREY COLOUR = #555555
    MEDIUM GREY COLOUR = #9D9D9D
    LIGHT GREY COLOUR = #DEDEDE
    BACKGROUND OF WEBSITE = #BABABA
    BACKGROUND OF SEARCH MOVIES EMPTY TAB = #EEEEEE

    NAVBAR BACKGROUND COLOUR = #2D2D2D
    NAVBAR TEXT COLOUR = #9C9C9C

    SCARY RED = #CC3333
    CREEPY BLUE = #3366CC
    GORY GREEN = #009966
    JUMPY YELLOW = #FFCC66

*/


body, html {
    background-color: #BABABA; /*This colour used to be #DEDEDE however the scary meter rating number was hard to see*/
    height: 100%;
    margin: 0;
}

#searchIcon {
    height: auto;
    width: 17px;
    margin-top: -3px;
}

.footer {
    width: 100%;
    background-color: #2D2D2D;
    text-align: center;
    color: #9C9C9C;
    padding: 10px;
    margin-top: 20px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-size: 1em;
    min-width: 600px;
    /*height: 60px;*/
}

.fa:hover {
    opacity: 0.7;
    text-decoration: none;
}

#disclaimer {
    bottom: 0;
    width: 100%;
    position: fixed;
    padding-bottom: 20px;
    padding-left: 50px;
    padding-right: 50px;
    background-color: #CC3333;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    color: #F5F5F5;
    text-align: center;
    box-shadow: 0px 0px 3px #555555;
}

.xDisclaimer {
    text-align: right;
    font-size: 2em;
    margin-bottom: -20px;
    margin-right: -20px;
}

.closeDisclaimer:hover {
    cursor: pointer;
}

#survey {
    width: 20%;
    background-color: #555;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-size: 1em;
    color: #F5F5F5;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    display: inline-block;
    opacity: 1;
    z-index: 1;
    top: 100px;
    left: 5%;
    animation-name: surveyAnimation;
    animation-duration: 1s;
}

@keyframes surveyAnimation {
  from {top: 50px; opacity: 0;}
  to {top: 100px; opacity: 1;}
}

.closeSurvey {
    text-align: right;
    margin-right: 0px;
    margin-top: -5px;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.closeSurvey:hover {
    cursor: pointer;
}

/* CUSTOM SCROLLBAR */
/* Width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }









#imageCoverPhotoBackground {
  position: relative;
  height: 700px; /*Used to be 100%*/
  min-width: 600px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.75;
  -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
}

#genericCoverPhotoBackground {
    position: relative;
    min-width: 600px;
    width: 100%;
    height: 700px;
}



.movieSummarySection {
    height: 500px;
    width: 100%;
    margin-top: 10px;
}

.movieDetails {
    height: 75%;
    max-height: 600px;
    width: 70%;
    max-width: 1200px;
    min-width: 600px;
    margin: auto;
    position: relative;
    transform: translateY(-50%);
    top: 50%;
    background-color: #F5F5F5; 
    box-shadow: 0px 0px 10px #555555;
    display: flex;
}

#moviePoster {
    height: 100%;
    width: auto;
}

.movieDescription {
    float: left;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%; /*This needs to be here because, for whatever reason, the description for the movie Hush (and only Hush) doesn't fill out to 100% unless specified*/
}

#websitePositioning {
    text-align: center;
    color: #F5F5F5;
    padding: 5px;
    font-family: 'Nosifer';
    border-bottom-style: dashed;
    font-size: 1.2em;
}

.movieDescriptionSub {
    padding: 3%;
}

#movieYearLabel {
    background-color: #555555;
    display: inline-block;
    color: #F5F5F5;
    font-size: 1.3em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    padding: 2px;
}

#rateThisMovieText {
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    float: right;
    padding-right: 10px;
    background-color: #CC3333;
    border-color: #a32121;
    outline-color: #a32121;
    margin-top: -15px;
}

#alreadyRatedForMovieText {
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    text-align: right;
    padding-right: 10px;
    color: #555555;
}

#movieTitleLabel {
    color: #555555;
    font-size: 2.7em;
    font-weight: 400;
    font-family: 'Oswald', sans-serif;
}

#tagline {
    color: #9D9D9D;
    font-size: 1.2em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-style: italic;
}

#descriptionOfMovieLabelPlot {
    color: #9D9D9D;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}

#descriptionOfMovieLabelDirector {
    color: #9D9D9D;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}

#descriptionOfMovieLabelActors {
    color: #9D9D9D;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}

#mpaaRating {
    color: #9D9D9D;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}

#runtime {
    color: #9D9D9D;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}

.descriptionOfLabel {
    color: #555555;
    font-size: 0.9em;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
}

#whenJumpScareStyle {
    color: #9D9D9D;
    font-size: 0.9em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}

#whenJumpScareLink {
    text-decoration: underline;
    color: #9D9D9D;
}

#whenJumpScareLink:hover {
    color: #747474;
}

#movieVoteCount {
    color: #9D9D9D;
    font-size: 0.9em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;  
}

#ifMovieNoHorror {
    color: #9D9D9D;
    font-size: 0.8em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    margin-top: 20px;
}

#ifMovieIsHorror {
    color: #9D9D9D;
    font-size: 0.8em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    margin-top: 20px;
}

#emailSent {
    color: #555555;
    font-weight: bold;
}


.scaryMeterRating {
    height: auto;
    width: 70%;
    margin: auto;
    max-width: 1200px;
    min-width: 600px;
    position: static;
    margin-top: -50px;
    margin-bottom: 15px;
}

.overallScaryMeterRatingNumberStyle {
    color: white;
    margin-top: 4px;
    font-size: 1.3em;
    text-align: center;
}

#movieHasNotBeenRatedOverall {
    text-align: center;
    font-size: 1.6em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}

.subScaryMeterRatingBarLabel {
    float: right;
    color: #555555;
    margin-top: 5px;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}


.progress {
    margin: 0;
    height: 30px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    box-shadow: none;
}

.progress-bar {
    box-shadow: none;
    font-size: 15px;
    padding-top: 6px;
}

.pageBottom {
    width: 70%;
    max-width: 1200px;
    min-width: 600px;
    margin: auto;
    box-shadow: 0px 0px 10px #555555;
    background-color: #F5F5F5;
}

.subMeterSection {
    padding-top: 25px;
    padding-bottom: 25px;
}

.similarlyRatedMoviesSection {
    background-color: #DEDEDE;
    box-shadow: 0px 0px 5px #888, 0px 0px 5px #888; /*Top and bottom only - https://stackoverflow.com/questions/6671375/css-box-shadow-top-and-bottom-only*/
}

.similarlyRatedMoviesSectionWhereToWatch {
    padding-left: 35px;
    padding-right: 35px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.similarlyRatedMoviesSectionSimilarlyRatedMovies {
    background-color: #F5F5F5;
    padding-left: 35px;
    padding-right: 35px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.similarlyRatedMoviesSectionKeywords {
    padding-left: 35px;
    padding-right: 35px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.similarlyRatedMoviesLabel {
    font-weight: 200;
    font-size: 1.6em;
    color: #555555;
    font-family: 'Open Sans', sans-serif;
}


#keywordsText {
    color: #9D9D9D;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300; 
}

.similarlyRatedBox {
    background-color: #F5F5F5;
    margin: auto;
    margin-bottom: 13px;
}

.similarlyRatedTitles {
    color: #555555;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    margin: 3px;
    margin-left: 5px;
}

#similarlyRatedMoviesCoverPhoto0, #similarlyRatedMoviesCoverPhoto1, #similarlyRatedMoviesCoverPhoto2, #similarlyRatedMoviesCoverPhoto3, #similarlyRatedMoviesCoverPhoto4, #similarlyRatedMoviesCoverPhoto5 {
    width: 100%;
    height: auto;
}

.notScaryMovieSubsection {
    width: 70%;
    max-width: 1200px;
    min-width: 600px;
    margin: auto;
    margin-top: -30px;
    box-shadow: 0px 0px 10px #555555;
    background-color: #DEDEDE;
    color: #555555;
    text-align: left;
    padding: 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2em;
}

#notScaryMovieSubsectionHeading {
    font-size: 2em;
    font-family: 'Oswald', sans-serif;
    color: #DEDEDE;
    background-color: #CC3333;
    text-align: center;
}

.trailerOptions {
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    padding: 5px;
}

.trailerOptions:hover {
    cursor: pointer;
}

#playButton {
    width: 100px;
    position: absolute;
    opacity: 0.8;
}

#playButton:hover {
    cursor: pointer;
}

.searchOption {
    cursor: pointer;
}

















/*Comment Section*/

.commentSection {
    box-shadow: 0px 0px 10px #555555;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    width: 70%;
    margin: auto;
    max-width: 1200px;
    min-width: 600px;
    margin-top: 30px;
}

.comment-form-container {
    background-color: #DEDEDE;
    padding: 20px;
}

.input-row {
    margin-bottom: 20px;
}

.input-field {
    border-radius: 2px;
    padding: 10px;
    border: #e0dfdf 1px solid;
    width: 80%;
}

.btn-submit {
    padding: 10px;
    background: #333;
    border: #2D2D2D 1px solid;
    color: #DEDEDE;
    font-size: 1em;
    width: 100px;
    border-radius: 2px;
    cursor: pointer;
    width: 19%;
    float: right;
    text-align: center;
}

.spoilerContentComment {
    margin: 7px;
}

#showSpoilersButton {
    margin-top: -2px;
    margin-left: 5px;
    float: right;
}

ul {
    list-style-type: none;
}

.comment-row {
    border-bottom: #e0dfdf 1px solid;
    margin-bottom: 15px;
    padding: 15px;
    padding-left: 30px;
}

.outer-comment {
    background: #F0F0F0;
    padding: 20px;
    border: #dedddd 1px solid;
}

span.commet-row-label {
    font-style: italic;
}

span.posted-by {
    color: #09F;
}

.comment-info {
    font-size: 0.8em;
}
#comment-text {
    margin: 5px 0px;
    overflow-wrap: break-word; /*These 3 properties prevent a long word from passing its container*/
    word-wrap: break-word;
    hyphens: auto;
}
#comment-message {
    margin-left: 20px;
    color: #189a18;
    display: none;
}

#responsecontainer {
    background-color: #F5F5F5;
}

#reportCommentText {
    cursor: pointer;
    color: #888787;
    text-decoration: underline;
    font-size: 0.8em;
}

/* End of comment section*/













/*Modal Styles*/

.modal-open {
    overflow: scroll; /*Prevents scrollbar from dissappearing when modal is opened*/
    padding-right: 0 !important; /*Prevents background image from shifting right to right*/
}

.modal-header {
    border-bottom: none;
}

.modal-title {
    color: #555555;
    font-size: 2em;
    font-weight: 400;
    font-family: 'Oswald', sans-serif;
    text-align: center;
}

.modal-body {
    border-bottom: 1px solid #e5e5e5;
}

.overallScaryMeterRatingNumberStyleModal {
    color: #545454;
    margin-top: 4px;
    font-size: 1.3em;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}

.subMeterTitleLabelModal {
    font-size: 1.6em;
    font-weight: 300;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    color: #555555;
}

.subMeterCateogryLabelModal {
    font-size: 1.3em;
    font-weight: 300;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    color: #555555;
}

[type=radio] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

[type=radio] + img {
    cursor: pointer;
}

[type=radio]:checked + img {
    /*outline: 2px solid #f00; - Turn this on to show what is actually being checked with the radio input*/
}

#creepyGroup, #goryGroup, #jumpyGroup label {
    display: inline-block;
    cursor: pointer;
}

#thumbsUpImageCreepy, #thumbsDownImageCreepy, #thumbsUpImageGory, #thumbsDownImageGory, #thumbsUpImageJumpy, #thumbsDownImageJumpy {
    margin: 5px;
    margin-left: 2.5px;
    margin-right: 2.5px;
    width: 40px;
    cursor: pointer;
    transition: transform .3s;
}

#selectARatingCreepy, #selectARatingGory, #selectARatingJumpy {
    font-size: 0.8em;
    font-weight: 300;
    font-family: 'Open Sans', sans-serif;
    color: #CC3333;
    display: none;
}


#subMetersModal {
    display: none;
}

.modal-footer {
    border-top: none;
}

    .modal-footer .btn + .btn {
        background-color: #CC3333;
    }

#reportCommentImageSpoiler, #reportCommentImageSpam, #reportCommentImageHarassment, #reportCommentImageHatespeech {
    margin: 5px;
    cursor: pointer;
    width: 110px;
}




/*TEST SLIDER FOR RATING MOVIES - https://www.w3schools.com/howto/howto_js_rangeslider.asp*/

#overallSliderRange {
    background-color: #DEDEDE;
}

#overallSliderRangeNumber {
    color: #9D9D9D;
    margin-top: -4px;
    padding-left: 5px;
}

.slidecontainer {
    width: 100%; /* Width of the outside container */
    /*opacity: 0;
    transition: .15s ease;*/
}

/* The slider itself */
.slider {
    -webkit-appearance: none; /* Override default CSS styles */
    appearance: none;
    width: 100%;
    height: 8px;
    background: #F5F5F5;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s; /* 0.2 seconds transition on hover */
    transition: opacity .2s;
}

    /* Mouse-over effects */
    .slider:hover {
        opacity: 1; /* Fully shown on mouse-over */
    }

    /* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
    .slider::-webkit-slider-thumb {
        -webkit-appearance: none; /* Override default look */
        appearance: none;
        width: 10px;
        height: 25px;
        background: #e54b4b; /* Green background */
        cursor: pointer; /* Cursor on hover */
    }

    .slider::-moz-range-thumb {
        width: 10px; /* Set a specific slider handle width */
        height: 25px; /* Slider handle height */
        background: #e54b4b; /* Green background */
        cursor: pointer; /* Cursor on hover */
    }












/*Makes certain elements responsive when window is shrunk*/

@media screen and (max-width: 767px) /*This is the exact size of when the navbar collapses*/ {

    .navbar-form {
        margin: 0;
        border: 0;
        box-shadow: none;
    }

    .form-control {
        font-size: 12px;
    }

    .movieSummarySection {
        height: 500px;
        width: 100%;
        margin-top: 30px;
    }


    #movieYearLabel {
        font-size: 1em;
    }

    #movieTitleLabel {
        font-size: 2em;
    }

    #tagline {
        font-size: 1em;
    }

    #descriptionOfMovieLabelPlot {
        font-size: 0.8em;
    }

    #descriptionOfMovieLabelDirector {
        font-size: 1em;
    }

    #descriptionOfMovieLabelActors {
        font-size: 1em;
    }

    #mpaaRating {
        font-size: 1em;
    }

    #runtime {
        font-size: 1em;
    }

    .descriptionOfLabel {
        font-size: 0.7em;
    }

    #rateThisMovieText {
        font-size: 0.8em;
    }
    
}


@media screen and (min-width: 768px) /*This is the exact size of when the navbar collapses*/ {

    /*Makes it so that the menu items in the navbar dropdown on hover only when the navbar isn't collapsed - https://stackoverflow.com/questions/8878033/how-to-make-twitter-bootstrap-menu-dropdown-on-hover-rather-than-click*/
    .dropdown-menu li:hover {
        visibility: visible;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown:hover {
        background-color: #0a0a0a;
    }
    /*End dropdown on hover*/

}

/*End of responsive CSS*/