* {
    box-sizing: border-box;
}

html, body {
    /*height: 100%;*/
    padding: 0;
    margin: 0;
}

body {
    font-family: "Calibri";
    display: flex;
    flex-direction: column;
}

header {
    flex: 3;
    display: flex;
    flex-direction: row;
    background: #FCFCFC;
}

main {
    flex: 20;
    display: flex;
    flex-direction: row;
}

/* footer {
    flex: 5;
    display: flex;
    flex-direction: row;
    background: #002C47;
} */

/* footer a, footer a:active, footer a:hover, footer a:visited {
    color: #FFF;
} */

a {
    text-decoration: none;
}

a:hover, footer a:hover {
    text-decoration: underline;
}

button {
    background-color: rgb(20, 80, 150);
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1.3vw;
    margin-right: 10px;
    border-radius: 2%;
    width: 8vw;
    height: 2.7vw;
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

form img {
    width: 40%;
    display: block;
    margin: auto;
}

input[type=text], input[type=password] {
    height: 30px;
    width: 100%;
    border: solid 1px black;
    padding: 0vw 1vw;
    /* margin: 1% 0; */
    font-size: small;
    display: inline-block;
    /* border: 1px solid #ccc; */
    /* border-radius: 4px; */
    box-sizing: border-box;
}

.dropdown-item:focus, .dropdown-item:hover {
    background-color: rgb(252, 176, 51) !important;
}

p, ul {
    /* margin: auto;
    width: 60%; */
    list-style-type: none;
}

p img {
    float: left;
}

.headerBody {
    flex: 4;
    display: flex;
}

.headerLeft {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.headerLeft img {
    max-width: 80%;
}

.headerRight {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.headerRight button {
    width: 10.5vw;
}

.mainBody {
    flex: inherit;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.mainBody video {
    width: 70vw;
    height: 62vh;
    background-image: url('https://www.deaflearnnow.ca/static/img/loading.gif');
    background-size: 20%;
    background-repeat: no-repeat;
    background-position: center center;
}

/* .mainBody form {
    width: 70vw;
    height: 60vh;
    overflow-y: auto;
} */

.lefttitle{
    background-color: rgb(20, 80, 150);
    font-size: 1vw;
    font-weight: bold;
    padding-left: 1vw;
    color: white;
    height: 3.1vw;
}

.radio-container:hover input ~ .radio-checkmark {
    background-color: #ccc;
}

.radio-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 2vw;
    width: 2vw;
    border-style: solid;
    border-color: #aaaaaa;
    border-width: thin;
}

.darkbluebox{
    background-color: rgb(20, 80, 150);
    color: white;
    font-weight:400;
}

.lightbox{
    border: solid 1px rgb(20, 80, 150);
    font-weight: 800;
}

.darkbluebox:hover{
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.mainBody form ul li label{
    display: inline;
}
.mainBody form ul li{
    display: inline;
    margin-left: 3vw;
}

.mainBody form label {
    font-size:0.9rem;
    font-weight: bold;
}

.footertitle{
    font-size: 1.5vw;
    font-weight:500;
}

.footerBody{
    font-size: 1vw;
    font-weight:700;
    color:black;
}

.footerPart {
    height: 70%;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFF;
}

.copyright {
    width: 100%;
    color: white;
    font-size: small;
    font-weight: 500;
}

.social {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.footerBody img {
    max-width: 100%;
}

.formWrapper {
    flex: 8;
}

.flex1 {
    flex: 1;
}

.canvasImage {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.treasureHuntImage {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.canvasImage img {
    max-width: 70% !important;
    cursor: pointer;
    border: 1px;
    padding: 10px;
    margin: 20px;
    box-shadow: 2px 5px 4px 0 #888888;
}

.canvasImage img:active {
    box-shadow: 2px 2px 0.2px 0 #888888;
    max-width: 69% !important;
    top: 4px;
}

.canvasImage p {
    box-shadow: 2px 5px 4px 0 #888888;
}

.canvasImage p:active {
    box-shadow: 2px 2px 0.2px 0 #888888;
    top: 4px;
}

.treasureHuntImage img {
    max-width: 70% !important;
    cursor: pointer;
    border: 1px;
    padding: 10px;
    margin: 20px;
    box-shadow: 2px 5px 4px 0 #888888;
}

.treasureHuntImage img:active {
    box-shadow: 2px 2px 0.2px 0 #888888;
    max-width: 69% !important;
    top: 4px;
}

.treasureHuntImage p {
    box-shadow: 2px 5px 4px 0 #888888;
}

.treasureHuntImage p:active {
    box-shadow: 2px 2px 0.2px 0 #888888;
    top: 4px;
}

.video-text {
    width: 27vw;
    margin-left: 10px;
    text-align: left;
}

.nav-link{
    background-color: rgb(20, 80, 150);
    color: white !important;
    padding: 4px 2px;
    margin: 1vw;
    font-size: 1vw;
    width: 10vw;
}

@media screen and (max-width: 2880px) {
    .mainBody {
        flex-direction: column;
    }

    .mainBody video {
        width: 80vw;
        height: 30vw;
    }

    .video-text {
        text-align: center;
        width: 90vw;
    }

    .headerRight button {
        font-size: 1vw;
        width: 13vw;
    }

    .headerLeft {
        max-width: 50%;
        margin-bottom: 2%;
    }
}
