﻿@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

    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;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-size: 1em;
}

.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;
    min-width: 320px;
}

.closeDisclaimer {
    text-align: left;
    font-size: 2em;
    margin-bottom: -20px;
    margin-right: -20px;
}

.closeDisclaimer:hover {
    cursor: pointer;
}

#survey {
    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: fixed;
    display: inline-block;
    opacity: 1;
    bottom: 100px;
    z-index: 1;
    margin-left: auto;
    animation-name: surveyAnimation;
    animation-duration: 1s;
}

@keyframes surveyAnimation {
  from {bottom: 150px; opacity: 0;}
  to {bottom: 100px; opacity: 1;}
}

.closeSurvey {
    text-align: left;
    margin-right: 0px;
    margin-top: -5px;
    margin-bottom: -5px;
    font-size: 2em;
}

.closeSurvey:hover {
    cursor: pointer;
}

.navbar-form {
    margin: 0;
    border: 0;
    box-shadow: none;
}

.form-control {
    font-size: 12px;
}

#menuSearchIcon {
    float: right;
    height: auto;
    width: 24px;
    margin-top: 14px;
    margin-right: 15px;
    cursor: pointer;
    
    /* Previous CSS with glyphicon search icon
    color: white;
    float: right;
    font-size: 17px;
    margin-top: 16px;
    margin-right: 15px;
    cursor: pointer;
    */
}










#imageCoverPhotoBackground {
    position: relative;
    height: 700px; /*Used to be 100%*/
    min-width: 320px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.4;
    -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: 320px;
    width: 100%;
    height: 700px;
}

.movieContent {
    margin: auto;
    margin-top: 80px;
    max-width: 768px;
}

.movieTitleAndYear {
    color: #2D2D2D;
    font-size: 2.3em;
    font-weight: 400;
    font-family: 'Oswald', sans-serif;
    /*background-color: rgb(222, 222, 222, 0.75);
    display: inline-block;
    padding: 2px;*/
}

#tagline {
    color: #2D2D2D;
    font-size: 1.2em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-style: italic;
}

#moviePoster {
    width: 100%;
    height: auto;
}

.moviePosterContainer {
    height: auto;
    width: 33%;
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
}

#movieDescription {
    float: left;
    /*overflow-x: hidden;
    overflow-y: auto;*/
    width: 67%;
    padding-left: 10px;
}

#rateThisMovieButtonSmall, #rateThisMovieButtonLarge, #rateThisMovieButtonSmallUnrated {
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    color: #555555;
    text-align: center;
    width: 100%;
    display: none;
}

#alreadyRatedForMovieTextSmall {
    font-size: 1.2em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    text-align: center;
    padding-right: 10px;
    color: #555555;
    margin-top: 20px;
    background-color: #DEDEDE;
}

#websitePositioning {
    text-align: center;
    color: #F5F5F5;
    padding: 5px;
    font-family: 'Nosifer';
    border-style: double;
    font-size: 1.2em;
}

#notScaryMovieSection {
    width: 67%;
    float: right;
}

.notScaryMovieSubsection {
    margin: auto;
    color: #555555;
    text-align: left;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9em;
}

#notScaryMovieSubsectionHeading {
    font-size: 1.3em;
    font-family: 'Oswald', sans-serif;
    color: #DEDEDE;
    background-color: #CC3333;
    text-align: center;
    margin-bottom: 0;
}

#notScaryMovieSubsectionBody {
    padding-left: 5px;
    padding-right: 5px;
}

#descriptionOfMovieLabelPlot, #descriptionOfMovieLabelDirector, #descriptionOfMovieLabelActors, #mpaaRating, #runtime {
    color: #555555;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}

.descriptionOfLabel {
    color: #2D2D2D;
    font-size: 0.9em;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
}

#movieVoteCount {
    color: #2D2D2D;
    font-size: 0.9em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;  
}

#ifMovieNoHorror {
    color: #2D2D2D;
    font-size: 0.8em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    margin-top: 20px;
}

#ifMovieIsHorror {
    color: #2D2D2D;
    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;
}

.scaryMeterRatingBarLabel {
    color: #555555;
    font-size: 1.2em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}

.subScaryMeterRatingBarLabel {
    float: right;
    color: #555555;
    padding-top: 10%;
    margin-right: 0;
    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;
    background: transparent;
}

.progress-bar {
    box-shadow: none;
    font-size: 15px;
    padding-top: 6px;
    text-align: right;
    padding-right: 7px;
}

.pageBottom {
    width: 70%;
    max-width: 1200px;
    min-width: 600px;
    margin: auto;
    box-shadow: 0px 0px 10px #555555;
    background-color: #F5F5F5;
}

.subMeterSection {
    margin-top: 10px;
}

#similarlyRatedMoviesBackground {
    background-color: #DEDEDE;
    margin-top: 20px;
    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;
}

.similarlyRatedMoviesSubsection {
    margin: auto;
    max-width: 768px;
}

.similarlyRatedMoviesLabel {
    font-weight: 200;
    font-size: 1.2em;
    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;
}

.similarlyRatedTitle {
    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;
}

.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;
}










.adsenseClass {
    box-shadow: 0px 0px 10px #555555;
    margin: auto;
    min-width: 320px;
    max-width: 760px;
    margin-top: 30px;
}








/*Comment Section*/

.commentSection {
    box-shadow: 0px 0px 10px #555555;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    margin: auto;
    min-width: 320px;
    max-width: 760px;
    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*/
}

#rateThisMovieModal {
    min-width: 320px !important;
}

.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;
}

.selectARating {
    font-size: 0.8em;
    font-weight: 300;
    font-family: 'Open Sans', sans-serif;
    color: #CC3333;
}

#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;
}


.overallMeterModal {
    width: 85%;
    float: left;
    padding-left: 20px;
    padding-right: 10px;
}

.overallMeterLabel {
    width: 15%;
    float: right;
}

.ratingButtonGroupModal {
    text-align: center;
}

#button1, #button2, #button3, #button4, #button5, #button6, #button7, #button8, #button9, #button10 {
    width: auto;
}











/*Responsive CSS*/

@media screen and (max-width: 475px) {

    #rateThisMovieButtonLarge {
        display: inline-block;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    #alreadyRatedForMovieTextSmall {
        font-size: 0.9em;
        margin-top: 15px;
    }

    .scaryMeterRatingBarLabel {
        font-size: 1em;
    }

    .subScaryMeterRatingBarLabel {
        font-size: 0.8em;
    }

    .progress {
        height: 23px;
    }

    .progress-bar {
        font-size: 13px;
        padding-top: 3px;
    }

    #progressOverallModal {
        height: 30px;
    }

    #disclaimer {
        padding: 10px;
        padding-top: 0;
    }

    .closeDisclaimer {
        margin-bottom: -5px;
        margin-right: -5px;
    }

    #playButton {
        width: 90px;
    }

}

@media screen and (min-width: 423px) {

    .notScaryMovieSubsection {
        width: 100%;
        font-size: 1em;
    }

    #notScaryMovieSubsectionHeading {
        font-size: 1.7em;
    }

    #notScaryMovieSubsectionBody {
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media screen and (min-width: 476px) {

    #rateThisMovieButtonSmall, #rateThisMovieButtonSmallUnrated {
        display: inline-block;
        margin-top: 10px;
    }

}

@media screen and (min-width: 600px) {

    #moviePoster {
        
    }

    .moviePosterContainer {
        width: 28%;
    }

    #movieDescription {
        width: 72%;
    }

    #notScaryMovieSection {
        width: 72%;
    }

    .notScaryMovieSubsection {
        width: 100%;
        padding: 20px;
        font-size: 1em;
    }

    #notScaryMovieSubsectionHeading {
        margin-bottom: 20px;
        font-size: 2em;
    }

    #notScaryMovieSubsectionBody {
        padding-left: 0;
        padding-right: 0; 
    }
}

@media screen and (min-width: 768px) /*This is the exact size of when the navbar collapses*/ {

    .navbar-form .input-group .form-control, .navbar-form .input-group .input-group-addon, .navbar-form .input-group .input-group-btn {
        width: 1%; /*For some reason setting it to 1% makes it fullscreen on my Chrome and Safari*/
    }

    #moviePoster {
        
    }

    .moviePosterContainer {
        width: 23%;
    }

    #movieDescription {
        width: 77%;
    }

    #notScaryMovieSection {
        width: 77%;
    }

    .notScaryMovieSubsection {
        width: 100%;
        padding: 20px;
        font-size: 1em;
    }

    #notScaryMovieSubsectionHeading {
        margin-bottom: 20px;
        font-size: 2em;
    }

}

@media screen and (max-width: 330px) {

    #alreadyRatedForMovieTextSmall {
        font-size: 0.8em;
        margin-top: 15px;
    }

    #playButton {
        width: 70px;
    }

}

@media screen and (max-width: 430px) {

    #button1, #button2, #button3, #button4, #button5, #button6, #button7, #button8, #button9, #button10 {
        width: 10%;
    }

    #playButton {
        width: 80px;
    }

}

/*End of responsive CSS*/