﻿
.bg-hero {
    background-color: #ffffff;
}

.bg-footer {
    background-color: #005868;
}

.fg-footer {
    background-color: #005868;
}

.app-bar-menu li {
    list-style: none !important;
}

body, h1, h2, h3, h4, h5, h6 {
    font-family: "Lato", sans-serif;
}

body, html {
    height: 100%;
    color: #777;
    line-height: 1.8;
}

/* Create a Parallax Effect */
/*.bgimg-1, .bgimg-2, .bgimg-3, .bgimg-contact, .bgimg-abouthha, .bgimg-destination, .bgimg-abouthomestay, .bgimg-aboutfee, .bgimg-faqs, \
.bgimg-whyhost, .bgimg-processinformation, .bgimg-hostrequirements, .bgimg-hostfaqs, .bgimg-school, .bgimg-educationaltour {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
*/
.bgimg-1 {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* First image (Logo. Full height) */
.bgimg-1 {
    background-image: url('images/adelaide_background_2.png');
    min-height: 70%;
}
.bgimg-host {
    background-image: url('images/host_family_registration.jpg');
    min-height: 80%;
}
.w3-wide {
    letter-spacing: 10px;
}

.w3-hover-opacity {
    cursor: pointer;
}

.hha-label{
    font-weight:bold;
}
/* Turn off parallax scrolling for tablets and phones */
@media only screen and (max-device-width: 1600px) {
    .bgimg-1, .bgimg-host, .bgimg-3 {
        background-attachment: scroll;
        min-height: 400px;
    }
}
@media only screen and (max-device-width: 1600px) {
    .bgimg-contact, .bgimg-abouthha, .bgimg-destination, .bgimg-abouthomestay, .bgimg-aboutfee,
    .bgimg-faqs, .bgimg-whyhost, .bgimg-processinformation, bgimg-hostrequirements, .bgimg-hostfaqs, .bgimg-school,
    .bgimg-educationaltour, .bgimg-studentapplication, .bgimg-hostapplication {
        background-attachment: scroll;
        min-height: 200px;
    }
}
.responsive {
    width: 100%;
    height: auto;
}
.imgcontainer {
    position: relative;
/*    font-family: Arial;*/
}

.text-block {
    position: absolute;
    bottom: 20px;
    left: 80px;
    background-color: transparent;
    color: white;
    padding-left: 20px;
    padding-right: 20px;
}

.site-footer {
    background-color:#3A3A3A;
}

.required::after {
    content: " *";
    color: firebrick;
}
.img-container {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align items to the top of the container */
    max-width: 100%;
    max-height: 100vh;
    overflow: hidden;
}

.img-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    opacity: 0;
    transition: opacity 5s ease-in-out;
}

    .img-container img.loaded {
        opacity: 1;
    }

@media only screen and (max-width: 768px) {
    .img-container img {
        width: 100%;
        height: 100%;
    }
}

/* For screens larger than 768px (typical desktops) */
@media only screen and (min-width: 769px) {
    .img-container img {
        max-width: 50%;
        height: 50%;
    }
}
