﻿/* Maritime Blue - the same palette as site.css (this page doesn't load it); keep the two in step */
:root {
    --mt-blue: #2F9ED3;
    --mt-blue-deep: #1F8FC4;
    --mt-blue-dark: #176E97;
    --mt-blue-light: #97CEE9;
}

body {
    padding-bottom: 20px;
}

/* Validation messages are only shown for invalid fields. Needed for the French page, whose
   messages are written into the page up front (see Fr() in Views/GiftCard/Create.cshtml). */
.field-validation-valid {
    display: none;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    border: 1px solid #d6d7d7;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

select {
    -webkit-appearance: menulist;
}

form {
    padding-left: 0px;
}

p {
    padding-top: 1.7em;
    padding-left: 2em;
    margin: 7px auto;
    font-weight: normal;
    color: #464646;
    font-family: 'GeogrotesqueW01-Semibol 1185180',Arial,sans-serif;
    font-size: 14px;
    text-align: left;
}

h4 {
    background-color: #e5edf2;
    display: block;
    width: 100%;
    color: var(--mt-blue);
    font-size: 16px;
    font-family: 'GeogrotesqueW01-Semibol 1185180',Arial,sans-serif;
    padding: 8px 0 8px 8%;
    font-weight: normal;
    text-align: left;
    margin-top: 0px;
    margin-bottom: 0px;
}

.navbar {
    background-color: var(--mt-blue);
}

.form-control::placeholder {
    color: #aaa;
}

.form-control {
    border: 1px solid #d6d7d7;
    padding: 5px 7px 5px 7px;
    font-size: 12px;
    color: #464646; /* what's typed was the same pale #aaa as the placeholder - hard to read */
    background-color: rgb(255, 255, 255);
    border-bottom-color: rgb(214, 215, 215);
    outline-color: rgb(170, 170, 170);
    height: 2.3em;
    margin-bottom: 0px;
}

form-control-msg {
    display: none;
}

div.form-group {
    width: 85%;
}

div.row {
    width: 85%;
    margin: auto;
}

div.col-city {
    width: 50%;
    float: left;
    margin-right: -3%;
}

div.col-prov {
    width: 50%;
    float: left;
    height: 61px;
    padding-left: 5%;
}

div.col-postal {
    width: 30%;
    margin-bottom: 5px;
}

div.col-telephone {
    width: 40%;
}

div.col-addressTop {
    margin-bottom: 4px;
    padding-bottom: 0px;
}

div.col-visa {
    width: 50%;
}

div.col-year {
    width: 25%;
    float: left;
    padding-left: 2%;
    margin-bottom: 5px;
}

div.col-month {
    width: 25%;
    float: left;
    margin-bottom: 5px;
}

div.col.dropdown {
    width: 50% !important;
    height: 61px;
    position: static;
    box-sizing: content-box;
}

label.control-label.col {
    margin: 5px auto;
    font-weight: normal;
    color: #464646;
    font-family: 'GeogrotesqueW01-Semibol 1185180',Arial,sans-serif;
    font-size: 14px;
    text-align: left;
}

div.form-horizontal {
    width: 100%;
}

/* Captcha and submit button at the bottom of the form. The margin sits on the button so a
   captcha error message stays directly under the captcha. */
div.col-captcha {
    margin-top: 20px;
}

/* Same look as .submitbutton in site.css (this page doesn't load site.css) - keep the two in
   step. Styled by id so it covers both the English (btn-success) and French (btn-default)
   buttons. Nobile is loaded by the view; 11.5px over 8.5px centres its text like the others. */
#submit {
    margin: 20px 0 30px;
    padding: 11.5px 28px 8.5px;
    border: 2px solid;
    border-color: var(--mt-blue-light) var(--mt-blue-deep) var(--mt-blue-dark) var(--mt-blue-deep);
    border-radius: 1ex;
    font-size: 15px;
    line-height: 1.2;
    font-weight: bold;
    font-family: "Nobile", Arial, sans-serif;
    color: white;
    background-color: var(--mt-blue);
}

    #submit:hover, #submit:focus-visible {
        color: white;
        border-top-color: var(--mt-blue);
        background: var(--mt-blue-deep);
    }

/* The reCAPTCHA widget is a fixed 304px wide; shrink it on narrow phones so it stays inside
   the form. Negative margin takes back the height the transform leaves behind. */
@media screen and (max-width: 360px) {
    .g-recaptcha {
        transform: scale(0.86);
        transform-origin: 0 0;
        margin-bottom: -11px;
    }
}



/*Smaller Screen Response*/
@media (max-width: 618px) {


    p {
        font-size: .9em;
        padding-left: 0.6em;
        padding-top: 0em;
        text-align: left;
    }

    h4 {
        color: rgb(0,91,127);
        background-color: rgb(255,255,255);
        border-bottom-color: rgb(237, 237, 237);
        border-bottom-style: solid;
        border-bottom-width: 1px;
        border-top-color: rgb(237, 237, 237);
        border-top-style: solid;
        border-top-width: 1px;
        box-sizing: border-box;
        box-shadow: inset 0 7px 7px rgba(155,155,155,.1);
    }

    div.col-year {
        width: 50%;
    }

    div.col-month {
        width: 50%;
        float: left;
        margin-right: 0px;
        padding-left: 2%;
    }

    .form-control {
        border: 1px solid #d6d7d7;
        padding: 5px 7px;
        font-size: 12px;
        color: #464646;
        display: block;
        border-radius: 0;
        box-sizing: border-box;
        height: 2.3em;
        margin-bottom: 0px;
    }

    .text-box.single-line {
        height: 2.3em;
    }

    label.control-label.col {
        margin: 5px auto;
    }
}

/*Error Page*/
.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: auto;
    margin-top: auto;
}