﻿
table {
    border-collapse: collapse;
}

form table {
    width: 95%;
}

td {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
    border-width: 1px;
    border-style: solid;
    border-color: black;
    font-weight: normal;
}

th {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
    border-width: 1px;
    border-style: solid;
    border-color: black;
    font-weight: bold;
}

.spaced-button {
    margin-left: 10px;
}

/* Style inputs, select elements and textareas */
input[type=text], select, textarea, password {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
}

/* Style the label to display next to the inputs */
label {
    padding: 12px 12px 12px 0;
    display: inline-block;
}

/* Style the submit button */
input[type=submit] {
    color: white;
    /*padding: 12px 20px;*/
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Style the container */
.container {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
}

/* Floating column for labels: 25% width */
.col-25 {
    float: left;
    width: 25%;
    margin-top: 6px;
}

/* Floating column for inputs: 75% width */
.col-75 {
    float: left;
    width: 75%;
    margin-top: 6px;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 850px) {
    .col-25, .col-75, input[type=submit] {
        width: 100%;
        margin-top: 0;
    }
}

@media screen and (min-width: 850px) {
    .container {
        width: 50%;
        margin: auto;
    }
}

input[type="submit"] {
    background-color: #0557bc;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px;
    border: 2px solid transparent;
}

    input[type="submit"]:Hover {
        border: 2px solid black;
    }

.password-input {
    font-size: 16px;
    height: 40px;
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
}

@media screen and (max-width: 850px) {
    .responsive-footer {
        padding: 20px 20px 0px 20px;
    }
}

@media screen and (min-width: 850px) {
    .responsive-footer {
        padding: 20px 100px 0px 100px;
    }
}

/*----------------navbar----------------*/
/* Add a white background color to the top navigation */
.topnav {
    background-color: white;
    overflow: hidden;
    padding-top: 10px;
    padding-bottom: 10px;
}

    /* Style the links inside the navigation bar */
    .topnav .navitem {
        display: inline;
        color: black;
        text-align: center;
        padding: 14px 10px;
        text-decoration: none;
        font-size: 17px;
        font-weight: 700;
    }

    .topnav .float-end {
        float: right;
        padding-top: 20px;
    }

    /* Change the color of links on hover */
    .topnav .navitem:hover {
        color: #929292;
    }

    /* Hide the link that should open and close the topnav on small screens */
    .topnav .icon {
        display: none;
    }

/* When the screen is less than 600 pixels wide, hide all links. Show the 
        link that should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
    .topnav .navitem {
        display: none;
    }

        .topnav .navitem.icon {
            display: block;
            position: absolute;
            right: 0;
            top: 0;
        }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class 
        makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
    .topnav.responsive {
        position: relative;
    }

        .topnav.responsive .navitem.icon {
            position: absolute;
            right: 0;
            top: 0;
        }

        .topnav.responsive .navitem {
            float: none;
            display: block;
            text-align: right;
        }
}
