﻿@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;1,300&family=Oswald:wght@400;600&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;
    min-width: 320px;
    width: 100%;
    height: 700px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bodyBackground {
    width: 70%;
    margin: auto;
    padding-top: 50px;
    min-width: 320px;
    max-width: 760px;
    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;
}

.col-xs-2 {
    width: 20%;
}

.col-xs-10 {
    width: 80%;
}











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

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

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

.moviePosterContainer {
    width: 17%;
    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-bottom: 10px;

    /* This replaces long lines of text with ... instead of a line break */
    width: 100%;
    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;
}

.ratingCountLower {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-size: 0.9em;
    color: #555555;
    margin-top: 0;
    margin-bottom: 0;
    display: none;
    text-align: center;
}

.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;
    color: #555555;
    text-align: center;
    width: 100%;
    float: right;
    display: none;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    padding-left: 0px;
    padding-right: 0px;
}

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

.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: #2D2D2D;
    font-size: 0.9em;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
}

.descriptionOfLabelSub {
    color: #555555;
    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: 100px;
    position: absolute;
    opacity: 0.8;
}

#playButton:hover {
    cursor: pointer;
}

.readMore {
    text-decoration: underline;
}

.readMore:hover {
    cursor: pointer;
}














.subRatingContainer {
    width: 70%;
    margin: auto;
    margin-top: 25px;
}

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

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
















/*Makes certain elements responsive when window is shrunk*/

@media screen and (max-width: 475px) {

    #disclaimer {
        padding: 10px;
        padding-top: 0;
    }

    .closeDisclaimer {
        margin-bottom: -5px;
        margin-right: -5px;
    }
}

@media screen and (max-width: 1012px) {

    .alreadyRatedForMovieText {
        font-size: 0.9em;
    }

}

@media screen and (max-width: 950px) {

    .col-xs-2 {
        width: 25%;
    }

    .col-xs-10 {
        width: 75%;
    }

}

@media screen and (max-width: 860px) {

    .moviePosterContainer {
        width: 18%;
    }

    .movieDescriptionBox {
        width: 82%;
    }

}

@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;
        width: 100%;
    }

}

@media screen and (max-width: 680px) {

    .subRatingContainer {
        width: 80%;
    }

}

@media screen and (max-width: 610px) {

    .subRatingContainer {
        width: 90%;
    }

	#playButton {
	    width: 80px;
	}

    .moviePosterContainer {
        width: 20%;
    }

    .movieDescriptionBox {
        width: 80%;
    }

}

@media screen and (max-width: 550px) {

    h1 {
        padding-top: 15px;
        font-size: 2.5em;
    }

    h3 {
        padding-bottom: 20px;
        font-size: 1em;
    }

    .movieTitle {
        font-size: 1.7em;
    }

    .ratingCount {
        font-size: 0.9em;
        margin-left: 15px;
    }

    .subScaryMeterRatingBarLabel {
        font-size: 0.8em;
    }

    .col-xs-2 {
        width: 30%;
    }

    .col-xs-10 {
        width: 70%;
    }

    .subRatingContainer {
        width: 100%;
    }

    .subMeterCateogryLabelModal {
        font-size: 1.2em;
    }

}

@media screen and (max-width: 541px) {

    .movieHasNoRatings {
        font-size: 1.7em;
    }

    .rateThisMovieText {
        font-size: 0.9em;
    }

}

@media screen and (max-width: 520px) {

    .alreadyRatedForMovieText {
        font-size: 0.8em;
    }

}

@media screen and (max-width: 500px) {

    .progress {
        height: 27px;
    }

    .progress-bar {
        font-size: 0.9em;
    }

    .movieHasNoRatings {
        padding-top: 30px;
    }

}

@media screen and (max-width: 471px) {

    .movieHasNoRatings {
        font-size: 1.7em;
        padding-top: 20px;
    }

    .subMeterCateogryLabelModal {
        font-size: 1em;
    }

    .rateThisMovieText {
        font-size: 0.8em;
    }

}

@media screen and (max-width: 430px) {

    #button1, #button2, #button3, #button4, #button5, #button6, #button7, #button8, #button9, #button10 {
        width: 10%;
    }

}

@media screen and (max-width: 420px) {

    .movieTitle {
        font-size: 1.5em;
    }

    .ratingCount {
        font-size: 0.8em;
    }

    .moviePosterContainer {
        width: 25%;
    }

    .movieDescriptionBox {
        width: 75%;
    }

    #resetCreepy, #resetGory, #resetJumpy {
        font-size: 0.7em;
    }

}

@media screen and (max-width: 400px) {

    .moviePosterContainer {
        width: 25%;
    }

    .movieDescriptionBox {
        width: 75%;
    }

    .col-xs-2 {
        width: 35%;
    }

    .col-xs-10 {
        width: 65%;
    }

    /*.ratingCount {
        display: none;
    }

    .ratingCountLower {
        display: block;
    }*/

    #resetScary {
        font-size: 0.7em;
    }

    .alreadyRatedForMovieText {
        font-size: 0.9em;
    }

	#playButton {
		width: 60px;
	}

}

@media screen and (max-width: 356px) {

    .rateThisMovieText {
        font-size: 0.7em;
    }

}


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