@media all and (max-width: 1024px) {
    .cptable {
        width: 90%;
        border: none;
        margin: auto;
        border-spacing: 5px;
    }
    .cpdtable {
        width: 90%;
        border: none;
        margin: auto;
        border-spacing: 10px;
    }
    .imglg {
        max-width: 75%;
        float: inline-start;
    }
    .nav {
        display: none;
    }
    .main {
        position: absolute;
        margin-top: 15%;

        font-family: "Segoe UI", Arial, sans-serif;
        font-size: 3vw;
        font-weight: 400;
        margin-left: 5%;
        margin-right: 5%;

        white-space: 20px;
    }

    .menlayout {
        position: absolute;
        margin-top: 10%;

        width: 95%;

        display: grid;
        grid-template-rows: 33% 33%;
        grid-template-columns: auto auto auto;
        grid-gap: 3px;
    }
    .menitem {
        margin: 10px;
        padding-left: 10px;
        font-size: 4vw;
        font-family: sans-serif;
        color: black;
        border-top: dotted 1px;
        border-left: dotted 1px;
    }

    .grid-container {
        display: none;
    }

    .grid-container-m {
        display: grid;
        grid-template-columns: auto;

        grid-gap: 1px;
        background-color: white;
        padding: 1px;
        margin-right: 5px;
    }

    .stgrid {
        z-index: 950;
        position: absolute;
        padding-left: 10px;
        padding-right: 10px;
        margin-left: 10px;
        margin-top: 10px;
        background-color: lightsteelblue;
        color: black;
        font-size: 3.5vw;
        border-top-left-radius: 6px;
        border-bottom-right-radius: 6px;
    }
    .subline {
        position: fixed;
        bottom: 0;
        width: 102%;
        padding-top: 5px;
        background-color: black;
        text-align: center;
        font-family: "Arial";
        font-size: 0.3rem;
        color: #ffffff;
        max-height: 3em;
        min-height: 3em;
        margin-left: -10px;
    }
    .top {
        margin-left: 5%;
    }
    .contactform {
        width: 100%;
        margin-bottom: 150px;
       
    }
.vcard {
    width: 100%;
    margin: 0 auto;
}
.conimgl {
    max-width: 44%;
}
.conimgr {
    max-width: 23%;
}
}
@media all and (min-width: 1024px) {
    .contactform {
        width: 50%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 150px;
    }
    body {
        height: 100%;
    }
    .imglg {
        max-width: 35%;
        min-width: 35%;
    }
    .nav {
        float: right;
        margin-top: 5px;
        margin-right: 0%;
        word-spacing: 50px;
        text-align: right;
        width: 100%;
        white-space: normal;
        letter-spacing: 2px;

        color: #222;
    }
    .top {
        margin-left: 10%;
        margin-bottom: 25px;
        margin-top: 10px;
    }
    .main {
        position: absolute;
        height: auto;
        width: 75%;

        font-family: "Segoe UI", Arial, sans-serif;
        font-size: 1vw;
        font-weight: 400;
        margin-left: 10%;
        margin-right:10%;

        white-space: 20px;
    }

    .grid-container {
        display: grid;
        grid-template-columns: auto;

        grid-gap: 1px;
        background-color: white;
        padding: 1px;
    }
    .grid-container-m {
        display: none;
    }

    .stgrid {
        z-index: 950;
        position: absolute;
        padding-left: 10px;
        padding-right: 10px;
        margin-left: 50px;
        margin-top: 50px;
        background-color: lightsteelblue;
        color: black;
        font-size: 1.5vw;
        border-top-left-radius: 6px;
        border-bottom-right-radius: 6px;
    }
    .subline {
        position: fixed;
        bottom: 0;
        width: 102%;
        padding-top: 10px;
        background-color: black;
        text-align: center;
        font-family: "Arial";
        font-size: 0.7rem;
        color: #ffffff;
        max-height: 4em;
        min-height: 4em;
        margin-left: -10px;
    }
    
.vcard {
    width: 50%;
    margin: 0 auto;
}
.conimgl {
    max-width: 44%;
}
.conimgr {
    max-width: 23%;
}
    
    
}

html,
body {
    font-family: Verdana, sans-serif;
    font-size: 1em;
    line-height: 1.5;
    letter-spacing: 1px;
}
html {
    overflow: visible;
}

.hrnav {
    border: none;

    height: 50px;

    border-bottom: 1px solid #1f1209;

    margin-bottom: 30px;;
}

a.class1 {color:black;}
a.class1:link  {text-decoration: none; color: black;}
a.class1:visited {text-decoration: none; color: black;}
a.class1:hover {text-decoration: none; color: #3b3bf7;}
a.class1:active {text-decoration: none; color: black;}

.subline > a:link,
a:visited {
    text-decoration: none;
    color: white;
}

.mimg {
    max-width: 22%;
    min-width: 15%;
    float: inline-start;
}
.gimg {
    width: 100%;
    max-height: 100%;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 6px;
    transition: transform 0.2s;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
}

.item1:hover .gimg {
    transform: scale(1.1); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
    z-index: 900;
}

.grid-container > div {
    background-color: white;
    text-align: center;
    padding: 2px;
}
.clear {
    clear: both;
}

.item1 {
    grid-row: 1 / 1;
}



.coitem {
    float: left;
    background: #fff;
    box-sizing: border-box;
    text-align: left;
    width: 50%;
    margin: 0 auto;
    margin-bottom: 50px;
    text-align: center;
}
.contactform_title {
    margin: 0 auto;
    text-align: center;
    margin-top: 25px;
    margin-bottom: 15px;
}

.buttonDP {
    background-image: linear-gradient(92.88deg, #455eb5 9.16%, #5643cc 43.89%, #455eb5 64.72%);
    border-radius: 100% 100% 100% 100%;
    border-style: none;
    color: #cccccc;
    cursor: pointer;
    flex-shrink: 0;
    font-family:
        "Inter UI",
        "SF Pro Display",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Oxygen,
        Ubuntu,
        Cantarell,
        "Open Sans",
        "Helvetica Neue",
        sans-serif;
    font-size: 1.2em;
    text-align: center;
    text-shadow: rgba(0, 0, 0, 0.25) 0 3px 8px;
    transition: all 0.5s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    min-width: 100%;
    max-width: 100%;
    min-height: 100%;
    max-height: 100%;
    align-items: center;
    justify-content: center;
    margin: 1px;
    box-shadow: 1px 1px 5px #999;
    padding: 10px;
}

.rf1 {
    display: none;

    width: 75%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.rf2 {
    display: none;

    width: 75%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.rf3 {
    display: none;

    width: 75%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

blue {
    color:#3b3bf7;
}

.frmtx {
    --font-size: 100%;
    --font-family: inherit;
    --font-color: inherit;
    --background-color: #fff;
    --border-color: #aaa;
    --border-width: 1px;
    --border-radius: 5px;
    margin: 1rem;
    min-width: 240px;
}
.frmtx * {
    color: var(--font-color);
    font-family: var(--font-family);
    font-size: var(--font-size);
    margin: 0;
    padding: 0;
    appearance: auto;
    outline: none;
    box-sizing: border-box;
}
.frmtx label {
    padding: 0;
    margin: 1em 0 0.3em;
    display: block;
    line-height: 1.3;
}
.frmtx label:first-child {
    margin-top: 0;
}
.frmtx input,
.frmtx textarea,
.frmtx button {
    border: var(--border-width) solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--background-color);
}
.frmtx input,
.frmtx textarea {
    width: 100%;
    resize: none;
    padding: 0.5em;
    line-height: 1.3;
}
.frmtx input[name="_gotcha"] {
    display: none;
}
.frmtx input[type="checkbox"] {
    display: inline;
    width: 1.1em;
    height: 1.1em;
    appearance: auto;
    margin-right: 0.2em;
}
.frmtx button {
    display: block;
    padding: 0.5em 1.5em;
    margin: 1.5em 0 0;
    line-height: 1.5;
    font-weight: bold;
    cursor: pointer;
}
.posend {
    display: none;
    padding: 10px;
    margin: 5px;
    background-color: greenyellow;
    color: black;
    font-family: "Segoe UI", Arial, sans-serif;
        font-size: 2vh;
    padding-left: 10px;
    border-radius: 8px 8px 8px 8px;
}
