﻿@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;
    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: 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;
}

h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.6em;
    text-align: center;
    color: #2D2D2D;
    margin: 0;
    margin-top: 50px;
    margin-bottom: 40px;
}

h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.7em;
    color: #2D2D2D;
    margin: 0;
    margin-top: 45px;
    margin-bottom: 10px;
}

.informationText {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2em;
    font-weight: 300;
    color: #555555;
    width: 70%;
    margin: auto;
    padding: 50px;
    background-color: #DEDEDE;
    box-shadow: 0px 0px 5px #555555;
    min-width: 950px;
}

.desktopRateboxImage {
    width: 50%;
    height: auto;
    margin: auto;
    margin-top: 25px;
    display: block;
}











.meterBox {
    margin-top: 30px;
}

.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: #DEDEDE;
}

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

.searchOption {
    cursor: pointer;
}











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

    .informationText {
        width: 100%;
        margin-top: 10px;
    }

}


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