﻿@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;1,300&family=Oswald&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;
    height: 100%; /*This is for flexbox footer*/
    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: 950px;
}

.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;
    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;
    min-width: 950px;
    width: 100%;
    height: 700px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bodyBackground {
    width: 70%;
    margin: auto;
    padding-top: 50px;
    min-width: 950px;
    box-shadow: 0px 0px 5px #555555;
}

h1 {
    font-size: 3.5em;
    margin: 0;
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
    text-align: center;
    padding-top: 30px;
    color: #F5F5F5;
}

h3 {
    font-size: 1.1em;
    font-weight: 300;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    color: #F5F5F5;
    padding-bottom: 30px;
    margin-top: 15px;
    margin-bottom: 0;
    padding-left: 10px;
    padding-right: 10px;
}











.sponsoredStyle {
    text-align: right;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-size: 1.2em;
    color: #555555;
    padding-right: 6%;
    margin-bottom: 0px;
}

.sponsoredLink {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-size: 1em;
    color: #555555;
}

.movieDescriptionBox {
    float: left;
    width: 80%;
    margin-bottom: 10px;
}

.moviePosterContainer {
    width: 20%;
    float: left;
}

h2 {
    font-family: 'Oswald', sans-serif;
    text-align: right;
    font-weight: 600;
    font-size: 5em;
}

.movieTitle {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-size: 2em;
    color: #555555;
    text-align: left;
    margin-left: 30px;
    margin-bottom: 10px;

    /* This replaces long lines of text with ... instead of a line break */
    width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.moviePoster {
    height: auto;
    width: 100%;
}

.scaryMovieTitle {
    color: #555555;
}

/*.moviePoster:hover {
    cursor: pointer;
}*/

.scaryMovieTitle:hover {
    cursor: pointer;
    color: #555555;
}

.ratingCount {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-size: 0.9em;
    color: #555555;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 35px;
}

.movieHasNoRatings {
    font-family: 'Oswald', sans-serif;
    font-size: 2em;
    font-weight: 400;
    padding-top: 40px;
    color: #555555;
}

.rateThisMovieText {
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    float: right;
    padding-left: 0px;
    padding-right: 0px;
    background-color: #CC3333 !important;
    border-color: #a32121 !important;
    outline-color: #a32121;
    width: 70%;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.alreadyRatedForMovieText {
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    text-align: center;
    width: 70%;
    float: right;
    color: #555555;
}

.loader {
  border: 7px solid #DEDEDE;
  border-top: 7px solid #CC3333;
  border-bottom: 7px solid #CC3333;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin-left: auto;
  margin-right: auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.descriptionOfLabel {
    color: #555555;
    font-size: 0.9em;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    text-align: left;
    margin-left: 30px;
    margin-bottom: 5px;
}

.descriptionOfLabelSub {
    color: #9D9D9D;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}

.trailerOptions {
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    padding: 5px;
}

.trailerOptions:hover {
    cursor: pointer;
}

#playButton {
    width: 90px;
    position: absolute;
    opacity: 0.8;
}

#playButton:hover {
    cursor: pointer;
}

.readMore {
    text-decoration: underline;
}

.readMore:hover {
    cursor: pointer;
}














.customsearchcontainer {
    font-family: 'Open Sans', sans-serif;
    background-color: #DEDEDE;
    padding-top: 10px;
    padding-bottom: 10px;
}

.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;
}

#resetScary, #resetCreepy, #resetGory, #resetJumpy {
    font-size: 0.8em;
    font-weight: 300;
    font-family: 'Open Sans', sans-serif;
    text-decoration: underline;
    cursor: pointer;
}

.scary1 {
    background-color: #D9534F;
}

.scary2 {
    background-color: #D54B48;
}

.scary3 {
    background-color: #D24341;
}

.scary4 {
    background-color: #CF3B3A;
}

.scary5 {
    background-color: #CC3333;
}

.btn-danger.active {
    background-color: #AC2925;
    border-color: #761c19;
}

.btn-primary {
    background-color: #9D9D9D;
    border: #7D7D7D;
}

.btn-primary:hover {
    background-color: #848484;
}

.btn-primary:active {
    background-color: #686868;
}

.btn-primary:focus {
    background-color: #686868;
}

.btn-primary:active:focus {
    background-color: #686868;
}




















.subScaryMeterRatingBarLabel {
    float: right;
    color: #555555;
    margin-top: 5px;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}


.progress {
    margin: 0;
    /*margin-right: 15px;*/
    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-color: transparent;
}

.progress-bar {
    box-shadow: none;
    font-size: 15px;
    padding-top: 6px;
}

.searchOption {
    cursor: pointer;
}
















/*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;
    }

    .bodyBackground {
        padding-top: 70px;
    }
    
}


@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*/