﻿div.SubForm {
    padding: 0 0 0 0;
    font-size: 1em;
}

div.SubForm .leftie {
    margin: 0 0 0 -1em;
}

div.SubForm ul {
    list-style-position: inside;
}

div.SubForm span {
    font-size: 1em;
}

div.SubForm label {
    display: block;
    font-size: 0.9em;
}

div.SubForm a {
    text-decoration: none;
}

div.SubForm div.ImageTextLinkContainer {
    vertical-align: top;
    display: inline-block;
    width: 265px;
    height: auto;
    margin: 15px 15px 0 0;
    padding: 0.5em 0 0.5em 0;
    border: 2px solid black;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

div.SubForm div.Selected {
    background-color: #002f5f;
}

div.SubForm div.ImageTextLinkContainer div {
    vertical-align: top;
    text-align: center;
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    margin: 0;
}

div.SubForm div.ImageTextLinkContainer a {
    text-decoration: none;
}

div.SubForm div.ImageTextLinkContainer img {
    height: 24px;
    display: inline-block;
    vertical-align: -0.2em;
    margin-right: 0.5em;
}

div.SubForm div.ImageTextLinkContainer span {
    color: black;
    display: inline-block;
    font-size: 18px;
}

div.SubForm div.Selected span {
    color: white;
}

div.SubForm div.MetadataMessage {
    width: auto;
    padding: 0.5em 0 0.5em 1em;
    color: black;
    border: 2px solid red;
}

div.SubForm div.Spacer {
    margin: 1.5em 0 0 0;
}

div.SubForm .inputDefault {
    background: #f2f2f2;
    /*width: 55vw;*/
    width: 80%;
    border: 1px solid #ccc;
    margin: 0 0 15px;
    padding: 15px;
    box-sizing: border-box;
    font-size: 14px;
}

div.SubForm .inputLesser {
    /*width: 25vw;*/
    width: 40%;
}

div.SubForm .inputHalf {
    /*width: 25vw;*/
    width: 40%;
}

div.SubForm input[type="Submit"],
div.SubForm input[type="button"],
div.SubForm button,
div.SubForm input[type="reset"] {
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
    outline: 0;
    background: #4caf50;
    width: 200px;
    border: 1px solid #4caf50;
    padding: 14px;
    color: #000;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    margin: 5px 10px 5px 0;
    box-sizing: border-box;
}

div.SubForm input[type="Submit"]:hover,
div.SubForm input[type="Submit"]:active,
div.SubForm input[type="Submit"]:focus {
    background: #95d097;
    transition: all 0.3s ease;
    transition-property: all;
    transition-duration: 0.3s;
    margin: 0 10px 0 0;
}

div.SubForm input:focus,
div.SubForm button:focus {
    border: 1px solid black;
}

div.SubForm button.ImageButton {
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
    background: none;
    border: none;
}

div.SubForm button.ImageButton img {
    vertical-align: -0.8em;
    margin: 0 0 0 5px;
    padding: 0;
}

.ResetButton {
    background-color: #dfdfdf !important;
    border: 1px solid #dfdfdf !important;
}

@media screen and (max-width: 768px) {
    div.SubForm div.ImageTextLinkContainer {
        display: block;
    }

    div.SubForm .inputDefault {
        width: 80%;
    }

    div.SubForm .inputLesser {
        width: 60%;
    }

    div.SubForm .inputHalf {
        width: 40%;
    }

    div.SubForm div.MetadataMessage {
        width: 80%;
    }
}

@media screen and (max-width: 622px) {
    div.SubForm .inputDefault {
        width: 80%;
    }

    div.SubForm .inputLesser {
        width: 80%;
    }

    div.SubForm .inputHalf {
        width: 60%;
    }

    div.SubForm div.MetadataMessage {
        width: 80%;
    }
}
