/* All pages */
body {
    margin: 0;
    font-family: "Lucida Grande","Tahoma","Sans-Serif";
    background: #eee;
}

h1 {
    font-size: 1.6em;
}


h2 {
    font-size: 1.2em;
}

h3 {
    font-size: 0.9em;
    color: royalblue;
    /*color: cadetblue;*/
}

h4 {
    font-size: 1.0em;
}

h5 {
    font-size: 0.8em;
}

img {
    border: 0;
}

a {
    color: blue;
    text-decoration: none;
}

    a:hover {
        color: orange;
        text-decoration: underline;
    }


/* main content
----------------------------------------------------------*/
#mainForm {
}

#wrapper {
    width: auto;
    height: 100%;
    max-width: 960px;
    margin: auto;
    background: white;
    font-size: 1em;
}

#content {
    max-width: 680px;
    min-height: 500px;
    text-align: center;
    margin: auto;
    padding: 20px;
}

/*#orderForm {
    background: #f2ebcb;
    max-width: 680px;
    min-height: 500px;
    text-align: center;
    margin: auto;
    padding: 0px 20px 20px 20px;
}*/

    #logo {
        background-image: url(../Images/mpa-logo.png);
        background-repeat: no-repeat;
        margin: 5px;
        background-size: contain;
        width: 80% inherit;
        display: inline-block;
        width: 300px;
    }

    #logo:hover {
        background-image: url(../Images/mpa-logo-invert.png);
        background-repeat: no-repeat;
    }

#fileInput {
    display: none; /* Hide the default input */
}

.custom-file-upload {
    border: 1px solid darkred;
    padding: 20px;
    width: 150px;
    max-width: 150px;
    margin: auto;
    background-color: darkorange;
    color: black;
    cursor: pointer; /* Change cursor on hover */
    display: inline-block; /* Allows to set padding and margins */
    border-radius: 4px; /* Optional: Rounded corners */
    font-size: 0.9em;
}

.custom-file-upload:hover {
    color: white;
    text-decoration: none;
}


/* Navbar container */
.navbar {
    overflow: hidden;
    border: 1px solid black;
    border-left: 0px;
    border-right: 0px;
    width: 100%;
    padding: 0px 0px 0px 0px;
    background-color: black;
}

    /* Links inside the navbar */
    .navbar a {
        float: left;
        font-size: 1em;
        color: white;
        text-align: center;
        padding: 14px 14px;
        text-decoration: none;
    }

        /* Add a red background color to navbar links on hover */
        .navbar a:hover {
            background-color: darkorange;
        }

.nav-right {
    text-align: right;
    float: right;
    display: block;
    margin-right: 11px;
}

.nav-right-icon {
    display: none;
}

#social {
    margin: 28px 20px 0px 0px;
    text-align: right;
    width: 20%;
    float: right;
}

    #social img {
        width: 30px;
        height: 30px;
    }

    #social a:hover {
        opacity: 0.5;
    }

#footer {
    background-color: black;
    border: 1px solid black;
    border-left: 0px;
    border-right: 0px;
}

    #footer ul {
        text-align: center;
        list-style-type: none;
        margin: 5px 50px 5px 0px;
    }

    #footer li {
        color: white;
        font-size: 0.6em;
        display: inline-block;
        margin-left: 10px;
        margin-bottom: 0px;
    }

    #footer a {
        color: white;
        text-decoration: none;
        text-transform: uppercase;
        padding: 0px;
    }

        #footer a:hover {
            color: darkorange;
            text-decoration: underline;
            margin-bottom: 0px;
            padding: 0px;
        }

#progress {

}

    #progress ul {
        text-align: center;
        list-style-type: none;
        margin: 0px 0px 0px -50px;
    }

    #progress li {
        color: #CCC;
        font-size: 0.6em;
        display: inline-block;
        margin-left: 5px;
        margin-bottom: 0px;
        padding: 5px;
    }

    #progress a {
        color: #0071bc;
        text-decoration: none;
        text-transform: uppercase;
        padding: 0px;
    }

        #progress a:hover {
            color: darkorange;
            text-decoration: underline;
            margin-bottom: 0px;
            padding: 0px;
        }


#copyright {
    font-size: .6em;
    color: darkorange;
    text-align: center;
    margin: 0px 0px 10px 0px;
    padding: 0px;
}

.error {
    display: block;
    width: auto;
    background-color:  lightpink;
    color: maroon;
    text-align: center;
    padding: 5px;
    display: block;
}

.fineprint {
    font-size: 9px;
    color: cornflowerblue;
    text-align: center;
    margin-top: 15px;
}

#main-image img {
    width: 100%;
    height: auto;
    background-color: #0071bc;
    border: 1px solid #070233;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
}

#preview-image img {
    width: 90%;
    height: auto;
    background-color: white;
    border: 6px solid #0071bc;
    padding: 6px;
}

.button {
    background: darkorange;
    background-image: linear-gradient(to bottom, orange, darkorange);
    border: 1px solid darkred;
    width: 250px;
    max-width: 250px;
    margin: auto;
    border-radius: 4px;
    font-size: 0.9em;
}

    .button a {
        color: black;
        text-align: center;
        display: block;
        padding: 10px;
        cursor: pointer;
        width: 250px;
    }

.button a:hover, active {
    text-decoration: none;
    color: white;
}

.aspbutton {
    display: block;
    background: darkorange;
    background-image: linear-gradient(to bottom, orange, darkorange);
    border: 1px solid darkred;
    margin: auto;
    border-radius: 4px;
    font-size: 0.9em;
    max-width: 240px;
    width: 80%;
}

.aspbutton:hover {
    cursor: pointer;
    color: white;
    text-decoration: none;
}

#blurb {
    max-width: 680px;
    text-align: center;
    margin: auto;
    padding: 20px;
}

    #blurb p {
        line-height: 2em;
    }

#contact {
    max-width: 680px;
    text-align: left;
    margin: auto;
    padding: 20px;
}

    #contact span {
        font-weight: bold;
        color: darkslateblue;
    }

/* Products */
#options {
    text-align: center;
    margin: auto;
    padding: 20px;
    min-height: 650px;
    height: inherit;
}

.optionSizes {
    /*max-width: 500px;*/
    width: 80%;
    text-align: center;
    margin: 20px auto 30px auto;
    padding: 10px 10px 20px 10px;
    border: 1px solid #CCC;
    border-radius: 8px;
}

.options {
    max-width: 80%;
    text-align: center;
    margin: 20px auto 30px auto;
    margin-bottom: 15px;
    padding: 10px 10px 20px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.optionsCaption {
    display: block;
    color: #0071bc;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.optionsDesc {
    display: block;
    color: #0071bc;
    font-size: 1em;
    margin-bottom: 10px;
}

.optionRadioButton {
    display: block;
    height: 25px;
    width: 200px;
    margin: auto;
    text-align: left;
}

#optionsEntry {
    max-width: 300px;
    margin: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px 0px 30px 0px;
}

.optionRadioButtonDefault {
    color: cornflowerblue;
}

#order {
    max-width: 680px;
    min-height: 500px;
    text-align: center;
    margin: auto;
    padding: 20px;
}

#facebookwarning {
    display: none;
}

#order p {
    font-size: 0.8em;
}

#orderConfirm {
    border: 1px solid #ccc;
    width: 80%;
    margin: 70px auto 30px auto;
    height: inherit;
    padding: 0px 0px 30px 0px;
    min-width: 280px;
}

    #orderConfirm p {
        font-size: 0.8em;
        margin: 0px 0px 20px 0px;
    }

    #orderConfirm h2 {
        font-size: 0.8em;
        margin: 10px 0px 0px 0px;
    }

    #orderConfirm h3 {
        font-size: 0.8em;
        margin: 15px 0px 0px 0px;
    }

    #orderConfirm h4 {
        font-size: 0.8em;
        margin: 0px;
    }

    #orderConfirm img {
        margin: 20px 0px -5px 0px;
        padding: 0px;
    }

    #orderConfirm a {
        font-size: 0.8em;
    }

.orderRow {
    border: 0px;
    border-top: 1px solid #ccc;
    width: 80%;
    max-width: 250px;
    height: inherit;
    height: 24px;
    padding: 6px 5px 2px 5px;
    margin: auto auto auto auto;
}

.orderRowAlt {
    background-color: cornsilk;
}

.orderCellKey {
    display: inline-block;
    width: 75px;
    text-align: left;
    height: auto;
    padding: 2px;
    font-size: 0.8em;
}

.orderCellValue {
    display: inline-block;
    width: 60px;
    text-align: left;
    height: auto;
    padding: 2px;
    font-size: 0.8em;
}

.orderCellLink {
    display: inline-block;
    width: 50px;
    text-align: right;
    height: auto;
    padding: 2px;
    font-size: 0.8em;
}

.orderPayRow {
    border: 0px;
    border-top: 1px solid #ccc;
    width: 80%;
    max-width: 200px;
    height: inherit;
    height: 24px;
    padding: 6px 5px 2px 5px;
    margin: auto auto auto auto;
}

.orderCellPayKey {
    display: inline-block;
    width: 70px;
    text-align: left;
    height: auto;
    padding: 2px;
    font-size: 0.8em;
}

.orderCellPay {
    display: inline-block;
    width: 80px;
    text-align: right;
    height: auto;
    padding: 2px;
    font-size: 0.8em;
}

.orderCellProp {
    display: inline-block;
    width: 100px;
    text-align: left;
    height: auto;
    padding: 2px;
    font-size: 0.8em;
}

.orderCellPreview {
    display: inline-block;
    width: 130px;
    text-align: right;
    height: auto;
    padding: 2px;
    font-size: 0.8em;
}

.preview {
    border: 1px solid #ccc;
    width: 80%;
    margin: 10px auto 30px auto;
    height: inherit;
    padding: 20px 0px 30px 0px;
}

.sampledetails {
    width: 80px;
    font-size: 0.75em;
    margin: 5px auto 5px auto;
}

.sampledetails-content {
    display: block;
    overflow: hidden;
    width: 100%;
    margin: 5px auto;
}

.sampledetails:hover {
    background-color: #ccc;
}

.paynow {
    text-align: center;
    margin: 10px auto; 
    padding: 0px;
}

    .paynow p {
        padding: 0px;
    }

    .paynow img {
        width: 120px;
        height: auto;
    }

.formNumeric {
    font-size: 1.1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100px;
    height: auto;
    padding: 10px;
}

.dropdown-button {
    background-color: cornsilk;
    background-image: linear-gradient(to bottom, cornsilk, burlywood);
    color: black;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    border-color: darkred;
    border-width: 1px;
    text-align: left;
    outline: none;
    font-size: 1em;
    border-radius: 4px;
    margin-top: 3px;
}

.text-align-center {
    text-align: center;
}

.dropdown-button-active, .dropdown-button:hover {
    background-color: darkorange;
    background-image: linear-gradient(to top, orange, darkorange);
}

.dropdown-button-content {
    padding: 18px;
    display: none;
    overflow: hidden;
    background-color: #dce6ed;
}

#privacy {
    max-width: 90%;
    text-align: left;
    margin: auto;
    padding: 20px;
}

    #privacy p {
        line-height: 2em;
    }

/* Products */
#products {
    text-align: center;
    margin: auto;
    padding: 20px;
    min-height: 650px;
}

.productgrid {
    max-width: 850px;
    margin: auto;
    overflow: auto;
}

.product {
    border: 1px solid #ccc;
    padding: 10px;
    float: left;
    width: 250px;
    height: inherit;
    margin: 5px;
    text-align: center;
}

    .product img {
        margin: 10px;
        width: 90%;
    }

        .product img:hover {
            margin: 10px 5px 8px 8px;
            border: 1px solid cadetblue;
            cursor: pointer;
        }

    .product a {
        letter-spacing: 2px;
        letter-spacing: 2px;
        font-size: 0.9em;
        padding: 0px;
        display: block;
        margin-bottom: 4px;
    }

    .product p.fine-print {
        letter-spacing: 1px;
        font-size: 0.7em;
        margin: 2px;
        height: 40px;
        display: block;
    }

    .product p.price {
        letter-spacing: 2px;
        color: #777;
        font-size: 1em;
        margin: 5px 0px 0px 0px;
    }

.grid-container {
    display: grid;
    grid-template-columns: auto auto auto;
    padding: 10px;
    background-color: #2196F3;
}

.grid-item {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.8);
    padding: 10px;
    font-size: 2em;
    text-align: center;
}

#account-details {
    border: 0px solid #333;
}

#account-entry {
    border: 1px solid #ccc;
    padding: 50px;
}

.accountHyperLinks {
    display: block;
    line-height: 2.5em;
    color: blue;
    text-decoration: none;
    cursor: pointer;
    border-top: 1px solid #ccc;
}

.accountHyperLinks:hover {
    color: orange;
    text-decoration: underline;
}

.continue-Order {
    margin-bottom: 20px;
}


#form_Login {
    width: 380px;
    margin: auto;
    border: 10px;
}

.form-control {
    font-size: 1.1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    max-width: 250px;
    width: 80%;
}

.form-label {
    font-size: 1.1em;
    text-align: left;
    display: block;
    width: 240px;
    margin: auto;
}

.form-label-small {
    font-size: 0.75em;
    text-align: left;
    display: block;
    width: 80%;
    max-width: 250px;
    margin: 0 auto 0 auto;
    color: dimgray;
    text-transform: uppercase;
}

.checkbox {
    display: block;
    color: blue;
    text-decoration: none;
    padding: 0px 0px 20px 0px;
}

.checkbox:hover {
    color: orange;
    text-decoration: underline;
}


#create-steps {
    display: block;
}

    #create-steps p {
        font-size: 1.2em;
    }

    #create-steps ol {
        color: #0071bc;
        width: 300px;
        margin: auto;
        list-style: decimal;
        list-style-position: inside;
    }

    #create-steps li {
        text-align: left;
        margin-left: 18px;
    }

    #create-steps img {
        margin-left: 40px;
    }

#start-button {
    margin-top: 20px;
    width: 250px;
}

#help-diagram {
    width: 90%;
}

.gallery {
    width: 100%;
    height: inherit;
    overflow: auto;
    text-align: center;
}

.thumbs {
    float: left;
    width: 160px;
    height: inherit;
    margin: 5px;
}

.thumbs-img {
    object-fit: contain;
    border: 1px solid #ddd; /* Gray border */
    border-radius: 4px; /* Rounded border */
    padding: 5px; /* Some padding */
    width: auto; /* Set a small width */
    height: auto;
    max-width: 150px;
    min-width: 150px;
    max-height: 150px;
    min-height: 150px;
}

.thumb-caption{
    width: 152px;
    height: 33px;
    padding: 2px 5px 0px 3px;
    background-color: white ;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin: 4px auto 4px auto;
    text-align: center;
}

    .thumb-caption img {
        height: 24px;
        width: 24px;
        border: 1px solid #ddd;
        border-radius: 3px;
        padding: 0px;
        margin-top: 2px;
    }


.productPrices {
    display: inline-block;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 1em;
    text-align: center;
    margin: 5px;
    width: 25%;
    min-width: 270px;
    height: inherit;
}

    .productPrices p {
        color: blue;
    }

    .productPrices img {
        object-fit: contain;
    }

.priceRow {
    color: #ccc;
    border-top: 1px solid #ccc;
    width: auto;
    padding: 0px;
}

    .priceRow a {
        color: #ccc;
        width: inherit;
        text-decoration: none;
    }

    .priceRow:hover {
        color: black;
        background-color: cornsilk;
        text-decoration: none;
    }

.priceCell {
    font-size: 0.9em;
    color: #333;
    display: inline-block;
    margin: 0px;
    padding: 2%;
    width: 35%;
    text-align: left;
}

.priceSizeText {
    width: 25%;
}

.priceText {
    color: maroon;
    font-size: 0.9em;
    width: 15%;
    font-weight: bold;
}

.catPriceCell {
    font-size: 0.8em;
    color: #333;
    display: inline-block;
    margin: 0px;
    padding: 2%;
    width: 35%;
    text-align: left;
}

.catPriceSizeText {
    font-size: 0.8em;
    color: #333;
    display: inline-block;
    margin: 0px;
    padding: 2%;
    width: 25%;
}

.catPriceText {
    color: maroon;
    font-size: 0.9em;
    width: 18%;
    font-weight: bold;
    text-align: right;
}


.ddlstyle {
    border: 1px solid #777;
    border-radius: 5px;
    font-size: 1.1em;
    color: black;
    width: 200px;
    height: 40px;
}


.orderhistory {
    width: 80%;
    min-height: 130px;
    margin: auto;
    height: inherit;
    border-bottom: 1px solid #ccc;
    text-align: left;
    padding: 10px 0px 0px 0px;
    font-size: 0.8em;
    color: #333;
}

.orderhistoryimage {
    float: left;
    width: 110px;
    height: inherit;
    margin: 5px 25px 5px 5px;
}

    .orderhistoryimage img {
        object-fit: contain;
        border: 1px solid #ddd; /* Gray border */
        border-radius: 4px; /* Rounded border */
        padding: 5px; /* Some padding */
        width: auto; /* Set a small width */
        height: auto;
        max-width: 100px;
        min-width: 100px;
        max-height: 100px;
        min-height: 100px;
    }

    .orderhistory a {
        font-size: 0.9em;
        color: #0071bc;
    }

        .orderhistory a:hover {
            color: darkorange;
        }

    .orderhistory p {
        margin-top: 5px;
    }

#admin {
    max-width: 680px;
    min-height: 500px;
    text-align: center;
    margin: auto;
    padding: 20px;
}

.table {
    border-collapse: collapse;
    border-spacing: 0;
    border: none;
    border-color: #aaa;
    width: 90%;
    margin: auto;
}

    .table td {
        font-family: Arial, sans-serif;
        font-size: 1em;
        padding: 10px 5px;
        border-style: solid;
        border-width: 0px;
        overflow: hidden;
        word-break: normal;
        border-color: #aaa;
        color: #333;
        background-color: #fff;
        white-space: nowrap;
    }

    .table th {
        font-family: Arial, sans-serif;
        font-size: 1em;
        font-weight: normal;
        padding: 10px 5px;
        border-style: solid;
        border-width: 0px;
        overflow: hidden;
        word-break: normal;
        border-color: #aaa;
        color: #fff;
        background-color: #f38630;
    }

    .table .headerCell {
        text-align: left;
        vertical-align: middle;
        width: inherit;
        min-width: 30px;
    }

    .table .smallfont {
        font-size: 0.7em;
    }

    .table .footerCell {
        background-color: #ccc;
        text-align: left;
        vertical-align: middle;
        width: inherit;
        min-width: 30px;
    }

    .table .dataRow {
        background-color: white;
        text-align: left;
        vertical-align: middle;
        width: inherit;
        min-width: 30px;
    }

    .table .altRow {
        background-color: #FCFBE3;
        text-align: left;
        vertical-align: middle;
        width: inherit;
        min-width: 30px;
    }

    .table .dynaWidth {
        width: auto;
    }

    .table .width50 {
        min-width: 50px;
    }

    .table .width75 {
        min-width: 175px;
    }

    .table .width100 {
        min-width: 100px;
    }

    .table .width150 {
        min-width: 150px;
    }

    .table .width200 {
        min-width: 200px;
    }

    .table .centre {
        text-align: center;
    }

#paypal-button-container {
    width: 60%;
    margin: auto;
    padding: 10px;
    border: 1px solid #ccc;
    min-width: 280px;
}

#paynow {
    width: 60%;
    margin: 20px auto 10px auto;
    padding: 10px;
    border: 1px solid #ccc;
    min-width: 280px;
}


.previewImage {
    width: 90%;
    height: auto;
    border: 6px solid #0071bc;
    padding: 0px;
    height: inherit;
}

    .previewImage img {
        width: 100%;
        height: auto;
        margin: 0px;
        display: block;
    }


/* Style the tab */
.tabControl {
    overflow: hidden;
    border: 0px;
    background-color: white;
    width: 50%;
    min-width: 301px;
    margin: auto;
    text-align: left;
    padding: 0px;
}

/* Style the buttons inside the tab */
.tab {
    background-color: white;
    display: inline-block;
    width: 29%;
    height: 30px;
    margin: 3px -6px -1px 0px;
    text-align: center;
    vertical-align: text-top;
    padding: 4px;
    border: 1px solid #DDE5FF;
    border-bottom: 0px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    outline: none;
    cursor: pointer;
    /*transition: 0.3s;*/
    font-size: 0.75em;
    color: black;
}

/* Create an active/current tablink class */
.tabSelected {
    margin: 0px -6px -1px 0px;
    background-color: #DDE5FF;
    border: 1px solid #DDE5FF;
    font-weight: bold;
    height: 32px;
}

    /* Change background color of buttons on hover */
.tab:hover {
    color: darkorange;
    text-decoration: none;
}

.tabHeader {
    background-color: #DDE5FF;
    padding: 2px 10px;
    font-size: 0.8em;
    text-align: center;
}

/* Style the tab content */
.tabcontent {
    /*display: none;*/
    padding: 0px;
    border-top: none;
    margin: 0px;
}

.productTab {
    border: 1px solid #DDE5FF;
    padding: 0px;
    font-size: 1em;
    text-align: center;
    margin: 0px;
    height: inherit;
}


/********************
*   Mobile Styles   *
********************/
@media only screen and (max-width: 450px) {

    /* For mobile phones: */
    #wrapper {
        width: auto;
        margin: auto;
        background: #fff;
        font-size: 0.95em;
    }

    #logo {
        background-image: url(../Images/mpa-logo.png);
        background-repeat: no-repeat;
        margin: 5px;
        background-size: contain;
        width: 300px;
    }

        #logo:hover {
            background-image: url(../Images/mpa-logo-invert.png);
            background-repeat: no-repeat;
        }

    .nav-right {
        display: none;
    }

    .nav-right-icon {
        text-align: right;
        float: right;
        display: block;
        margin-right: 5px;
    }

        .nav-right-icon img {
            width: 20px;
            height: 20px;
        }

    #social {
        display: none;
        height: 0px;
    }

    .navbar a {
        float: left;
        font-size: 1em;
        color: white;
        text-align: center;
        padding: 10px 10px;
        text-decoration: none;
    }

    #account-entry {
        padding: 30px;
    }

    #form_Login {
        width: 300px;
        margin: auto;
        border: 10px;
    }

    .form-control {
        font-size: 1.1em;
        border: 1px solid #ccc;
        border-radius: 5px;
        max-width: 240px;
        height: auto;
        padding: 10px;
        width: 80%;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .product {
        float: none;
        margin: 5px auto auto auto;
    }

    .productPrices {
        width: 300px;
    }

    .orderCellProp {
        width: 90px;
    }

    .orderCellPreview {
        width: 100px;
    }

    .tabControl {
        width: 301px;
    }

}

@media only screen and (max-width: 360px) {

    /* For mobile phones: */
    #wrapper {
        width: auto;
        margin: auto;
        background: #fff;
        font-size: 0.85em;
    }

}

