﻿@media only screen and (min-width : 0px) {
    #drpDOBMonth option:hover, #drpDOBDay option:hover, #drpDOBYear option:hover {
        background: #46B648;
    }

    .row {
        padding: 0 !important;
        font-size: 20px;
    }

    #divRSVPDetails {
        display: flex;
        justify-content: center;
        align-items: center;
    }

        #divRSVPDetails table tr td:first-child {
            text-align: right;
            vertical-align: top;
        }

        #divRSVPDetails table tr td:last-child {
            text-align: left;
        }

    #pnlRSVPForm, #pnlRSVPSuccess {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    #btnRSVP, #btnCal {
        font-size: 26px;
        background-color: #46B648;
        color: white;
        padding: 20px 40px 20px 40px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        border-radius: 10px;
        border: 1px solid #00743A;
        margin-top: 12px;
        margin-bottom: 20px;
    }

    #btnRSVP:focus, #btnCal:focus {
        outline: none;
    }

    #btnRSVP:hover, #btnCal:hover {
        background-color: #209747;
    }

    #lblRSVPInstruct {
        font-size: 18px;
    }

    #txtFirstName, #txtLastName {
        font-size: 26px;
        height: auto;
        max-width: 322px;
        width: 100%;
        height: 40px !important;
        border-radius: 5px;
        box-sizing: border-box;
        border: 1px #9d9d9d solid;
        margin-top: 12px;
    }

    #drpDOBMonth, #drpDOBDay, #drpDOBYear {
        font-size: 26px !important;
        height: 40px !important;
        border-radius: 5px;
        box-sizing: border-box;
        border: 1px #9d9d9d solid;
    }

    #divDate {
        display: inline-block;
        margin-top: 12px;
    }

    #lblError {
        font-size: 20px;
        background: #ffa0a0;
        border: 1px #990000 solid;
        border-radius: 5px;
        display: inline-block;
        box-sizing: border-box;
        padding: 4px;
        color: #990000;
        margin-top: 10px;
    }

    #lblSuccess {
        font-size: 20px;
        background: #99ff99;
        border: 1px #009900 solid;
        border-radius: 5px;
        display: inline-block;
        box-sizing: border-box;
        padding: 4px;
        color: #009900;
        margin-top: 10px;
    }

    .divErrorWrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
    }

    .divError {
        max-width: 50%;
        text-align: left;
    }

    .errorTitle {
        color: #00733A;
        font-size: 82px;
        padding: 0;
        margin: 0;
    }

    .errorMsg {
        font-size: 20px;
        padding: 0;
        margin: 0;
    }

    #divLogo {
        text-align: center;
    }

    #imgLogo {
        width: auto;
        min-height: 100px;
        height: 12vh;
        max-height: 10vw;
        max-width: 100%;
    }

    #divAddfooter {
        font-size: 16px;
    }

        #divAddfooter p {
            color: white;
        }

    #lblCopyright {
        color: #8c8c8c;
    }

    #lblCopyright::after {
        color: #8c8c8c;
        content: " | ";
    }

    #lnkTerms::after {
        color: #8c8c8c;
        content: " | ";
    }

    #lnkTerms, #lnkPrivacy {
        text-decoration: none;
    }

    #lnkSchlPrivacy {
        color: #00733A;
    }

    #pnlSchlPrivacy {
        font-size: 16px;
        text-align: center;
        margin-top: 12px;
    }

    #headerTitle {
        margin: auto;
    }

    #headerSub {
        font-size: 18px;
        color: #646464;
        font-weight: 600;
    }

    #headerText, #headerLogo {
        display: inline-block;
        vertical-align: middle;
    }

    #divRSVPDetails td {
        padding: 5px;
    }
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .row {
        margin-left: 10px !important;
        margin-right: 10px !important;
        font-size: 20px;
    }

    #drpDOBMonth, #drpDOBDay, #drpDOBYear {
        font-size: 26px !important;
        height: 40px !important;
        border-radius: 5px;
        box-sizing: border-box;
        border: 1px #9d9d9d solid;
        width: 100%;
        height: 40px !important;
        border-radius: 5px;
        box-sizing: border-box;
        border: 1px #9d9d9d solid;
        margin-top: 12px;
    }

    #headerTitle {
        margin: auto;
    }

    #headerSub {
        font-size: 18px;
        color: #646464;
        font-weight: 600;
    }

    #headerText, #headerLogo {
        display: inline-block;
        vertical-align: middle;
    }

    #imgLogo {
        width: auto;
        height: auto;
        min-height: 0 !important;
        max-height: none !important;
    }

    #headerLogo{
        width: 24% !important;
    }

    #headerText{
        width: 74%;
    }

    #headerTitle{
        margin-top: 5px;
        line-height: 0.9;
    }

    .divErrorWrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
    }

    .divError {
        max-width: 80%;
        text-align: left;
    }

    .errorTitle {
        color: #00733A;
        font-size: 134px;
        padding: 0;
        margin: 0;
    }

    .errorMsg {
        font-size: 42px;
        padding: 0;
        margin: 0;
    }
}