﻿@charset "UTF-8";


/* CSS reset */
aside, article, section, header, footer, nav, div {
    display: block;
    margin: 0;
    padding: 0;
}

html, body {
    margin: 0;
    padding: 0;
}

a, img {
    border: none;
}


/* Page styles */
body {
    background-color: #696969; /* 1B1464; */
    font-family: Georgia, "Times New Roman", Times, serif;
}

header {
    text-align: center;
}

nav {
    text-align: center;
    color: lightgrey;
}

.date {
    text-align: center;
}

footer p {
    text-align: center;
    color: lightgrey;
}

hr {
    border-width: 1px;
}


/* Link styles */
a {
    color: #1B1464;
}

    a:hover {
        color: #1600FF;
    }

    a:visited {
        color: #1B1464;
    }

footer a, nav a {
    text-decoration: none;
    color: #FFD900;
}

input[type=text] {
    border: 1px solid;
    padding: 5px 2px;
    margin: 5px 0px;
    box-sizing: border-box;
}

input[type=button], input[type=submit], input[type=reset] {
    background-color: #1B1464;
    border: none;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
}



/* Layout styles */
/* Mobile Layout: 480px and below. */
#wrapper {
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
    border: 2px solid;
}

header {
    padding: 5px;
}

    header img {
        width: 300px;
    }

    header h1 {
        font-size: 1em;
    }

nav {
    height: 2px;
    background-color: black;
}

section {
    padding: 20px 30px;
}

#slideshow {
    margin: 40px 20px;
    position: relative;
    width: 240px;
    height: 320px;
    padding: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

    #slideshow > div {
        position: absolute;
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

#inspectionForm {
    margin: auto;
    width: 100%;
    padding: 5px 0px;
}

    #inspectionForm h1 {
        text-align: center;
    }

footer {
    line-height: 1.5em;
    text-align: center;
    background-color: black;
    margin: 0;
    padding: 20px;
}

#slideshow {
    margin: auto;
}


/* Tablet Layout: Inherits styles from: Mobile Layout. */
@media only screen and (min-width: 481px) {
    #wrapper {
        width: 100%;
        margin: 0 auto;
    }

    #inspectionForm {
        margin: 50px auto;
        width: 90%;
        border: 1px solid;
        padding: 10px 20px 30px 20px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    }

}


/* Desktop Layout: Inherits styles from: Mobile Layout and Tablet Layout. */
@media only screen and (min-width: 780px) {
    #wrapper {
        width: 760px;
        margin: 0 auto;
    }

    header img {
        width: 300px;
        float: left;
    }

    header h1 {
        font-size: 1.2em;
    }

    header p {
        padding: 20px;
    }

    #slideshow {
        float: right;
        margin: 40px 20px;
    }

    #inspectionForm {
        margin: 50px auto;
        width: 500px;
        border: 1px solid;
        padding: 10px 50px 30px 50px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    }

    /* Clear fix classes */
    .cf:before, .cf:after {
        content: "";
        display: table;
    }

    .cf:after {
        clear: both;
    }

    .cf {
        zoom: 1;
    }
}
