﻿* {
    box-sizing: border-box;
}

html {
    overflow-y: scroll;
}

body {
    -webkit-text-size-adjust: 100%;
    font-size: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #000000;
    background-color: #FFFFFF;
}

input, textarea, select {
    border: 1px solid #4682b4;
}

    input:hover, textarea:hover, select:hover {
        border-color: #FF9933;
    }

    /* input:read-only {
        border-style: none;
    }*/

    input[type="text"]:focus,
    input[type="url"]:focus,
    input[type="email"]:focus,
    input[type="tel"]:focus,
    input[type="number"]:focus,
    input[type="password"]:focus,
    .mytextarea:focus,
    select:focus {
        border-color: #2196F3 !important;
        box-shadow: 0 0 3px #2196F3 !important;
        outline: none !important;
    }

.toupper {
    text-transform: uppercase
}

/* competition banner */
.compbanner {
    clear: both;
    width: 100%;
    margin-top: 1em;
    border-style: solid;
    border-width: 3px 1px 1px 1px;
    border-color: #666666;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 8px 16px, rgba(0, 0, 0, 0.22) 0px 8px 6px;
    ;
    border-radius: 3px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 3px;
    padding-bottom: 5px;
    display: inline-block;
}

/* popup help */
.helppanel {
    position: absolute;
    overflow: hidden;
    z-index: 2400;
    width: 40%;
    min-width: 300px;
    right: 0px;
    top: 2.2em !important;
    background-color: #FFFFFF;
    border: 1px solid #0066CC;
    border-radius: 3px;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
    display: none;
    height: auto;
    min-height: 100% !important;
    color: #0066CC;
    margin-right: auto;
    margin-left: auto;
    padding-bottom: 1.6em;
}

.sesshelptext {
    width: 100%;
    height: 100%;
    padding: 1.6em;
    text-align: left;
}
/* end session popup help */

.flag {
    background-color: #FF0000;
}

.divrow {
    width: 100%;
    clear: both;
    margin-bottom: 0.6em;
    display: inline-block;
}

.divtitle {
    float: left;
    width: 30%;
    text-align: right;
    margin-right: 2em;
    font-size: smaller;
}

.divfield {
    float: left;
    text-align: left;
    width: 60%;
}

.rowhelp {
    font-size: smaller;
}

.tbcomment {
    width: 100%;
    resize: vertical;
    margin-right: auto;
    font-size: inherit;
    font-family: inherit;
}

.tbcomment:focus {
    border-color: #2196F3 !important;
    box-shadow: 0 0 3px #2196F3 !important;
    outline: none !important;
}

.agreebox {
    border-radius: 3px;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {

    .flag {
        background-color: #FFFF00;
    }

    /*body {
        font-size: 68%;
    }*/

    .divtitle {
        width: 90%;
        text-align: left;
    }

    .divfield {
        text-align: left;
        width: 90%;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {

    .flag {
        background-color: #00FF00;
    }

    .divtitle {
        float: left;
        width: 30%;
        text-align: right;
        margin-right: 2em;
    }

    .divfield {
        float: left;
        text-align: left;
        width: 60%;
    }
}


/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .divtitle {
        float: left;
        width: 30%;
        text-align: right;
        margin-right: 2em;
    }

    .divfield {
        float: left;
        text-align: left;
        width: 60%;
    }

    .flag {
        background-color: #00FFFF;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .divtitle {
        float: left;
        width: 30%;
        text-align: right;
        margin-right: 2em;
    }

    .divfield {
        float: left;
        text-align: left;
        width: 60%;
    }

    .flag {
        background-color: #FF00FF;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .divtitle {
        float: left;
        width: 30%;
        text-align: right;
        margin-right: 2em;
    }

    .divfield {
        float: left;
        text-align: left;
        width: 60%;
    }

    .flag {
        background-color: #C0C0C0;
    }
}

.mybox {
    padding: 0.3em 0.6em 3em 0.6em;
    clear: both;
    margin: 0px auto 0px auto;
    min-height: 240px;
    height: auto !important;
    height: 240px;
    height: 100vh;
    width: 100%;
    background-color: #FFFFFF;
    text-align: left;
    border-radius: 3px;
}

.myboxef {
    /*width: 90%;*/
    margin-right: auto;
    margin-left: auto;
}

.myboxinfo {
    width: 90%;
    max-width: 40em;
    margin-right: auto;
    margin-left: auto;
    font-size: smaller;
}

.myboxhide {
    display: none;
}

.myboxshow {
    display: inline-block;
}

/*.mybox {
    padding: 2em 4em 3em 4em;
    clear: both;
    width: 100%;
    height: 15em;
    display: none;
    text-align: left;
}*/

.phoneh {
    /* honeypot */
    display: none;
}

.popupwidth {
    width: 90vw;
    max-width: 500px;
}

.altrow {
    background: #E5E5E5;
}

.rferror {
    /* see applib:RequiredField_CustomValidator() */
    border-color: red !important;
    box-shadow: 0 0 10px red;
}

.logo {
    margin: 2px;
    max-width: 50px;
    object-fit: contain;
   /* width: auto;
    height: auto;
    overflow: hidden;*/
    display: inline-block;
}

.button {
    margin-right: 2px;
    margin-bottom: 5px;
    padding: 0.1em 1em 0.1em 1em;
    background-color: #FFFFFF;
    font-size: smaller;
    text-decoration: none;
    height: 30px;
    display: inline-block;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 3px;
    max-width: 50vw;
    color: rgb(0, 0, 0);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 8px, rgba(0, 0, 0, 0.22) 0px 4px 3px;
}

    .button:hover {
        background-color: #e0e0e0;
        color: rgb(0, 0, 0);
    }

    .button:disabled {
        border: 1px solid #A7A7A7;
        color: #A7A7A7;
        background-color: #CCCCCC;
    }

    .button[disabled="disabled"] {
        border: 1px solid #A7A7A7;
        color: #A7A7A7;
        background-color: #CCCCCC;
    }

a:hover.button[disabled="disabled"] {
    background-color: #333333;
}

.mya {
    margin-right: 2px;
    margin-bottom: 5px;
    padding: 0.1em 1em 0.1em 1em;
    background-color: #FFFFFF;
    text-decoration: none;
    border: 1px solid rgb(0,0, 0);
    border-radius: 3px;
    height: 30px;
    display: inline-block;
    color: rgb(0, 0, 0);
    white-space: nowrap;
    /*    word-break: break-all;*/
    font-size: smaller;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 8px, rgba(0, 0, 0, 0.22) 0px 4px 3px;
}

a:link.mya, a:active.mya, a:visited.mya {
    text-decoration: none;
    color: rgb(0, 0, 0);
}

a:hover.mya {
    background-color: #e0e0e0;
    color: #000000;
}


.mytab {
    width: 8em;
    height: 1.5em;
    float: left;
    text-align: center;
    border-radius: 0.75em;
}

.formborder {
    border: 1px solid #808080;
}

.infoborder {
    border: 1px solid #808080;
}

.listborder {
    border: 1px solid #808080;
}

.norborder {
    border: 1px solid #808080;
}

/* touch screen vs computer */
/* touch */
.click {
    display: none;
}

.tap {
    display: inline-block;
}

/* computer */
@media (pointer: fine) {
    .click {
        display: inline-block;
    }

    .tap {
        display: none;
    }
}
