@import url('https://fonts.googleapis.com/css?family=Fira+Sans+Condensed:300,400');
@import url('https://fonts.googleapis.com/css?family=Fira+Sans:500,500i');

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html,body {
    font-size: 16px;
    line-height: 1.4rem;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1rem 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2rem 0;
    background: #ccc;
    color: #000;
    padding: 0.2rem 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
* {
    box-sizing: border-box;
}

body,html {
    background-color: #006600;
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
}

section {
    clear:both !important;
    padding: 1rem;
    max-width: 600px;
    min-width:275px;
    width:80%;
    margin: 10vh auto 1rem;
    border: 1px solid rgba(220,240,220,0.22);
    background: -moz-linear-gradient(left,  rgba(220,220,220,0.22) 0%, rgba(220,220,220,0.9) 100%);
    background: -webkit-linear-gradient(left,  rgba(220,220,220,0.22) 0%,rgba(220,220,220,0.9) 100%);
    background: linear-gradient(to right,  rgba(220,220,220,0.22) 0%,rgba(220,220,220,0.9) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00f5f5ee', endColorstr='#f5f5f511',GradientType=1 );
    border-radius: 0.5rem;
}


@media screen and (max-width: 768px)
{
    body {
        background-image: url('/images/cleargrass/grass-2.jpg');
        background-size: cover;
        background-position: center;
    }
}
@media screen and (max-width: 1024px)
{
    body {
        background-image: url('/images/cleargrass/grass-3.jpg');
        background-size: cover;
        background-position: center;
    }
}
@media screen and (max-width: 1280px)
{
    body {
        background-image: url('/images/cleargrass/grass-4.jpg');
        background-size: cover;
        background-position: center;
    }
}
@media screen and (min-width: 1281px)
{
    body {
        background-image: url('/images/cleargrass/grass-5.jpg');
        background-size: cover;
        background-position: center;
    }
}

#secInner {
    background-color: #333;
    box-sizing: border-box;
    padding:0.5rem 0.5rem 2rem;
}
#lin,#lip, #mailer, #namer {
    padding:0.3rem 0.25rem;
}
#lin:disabled, #lip:disabled {
    background-color: #c90;
}
#secInner h1 {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 500;
    color:#fff;
    text-align: center;
}
#secInner > header {
    padding:0.4rem 0.25rem;
    background-color: #FC0;
    min-height:90px;
    text-align: center;
    /**
     * This is to remove padding from coloured header parent element
    **/
    margin: -0.5rem -0.5rem 0.5rem !important;
}
#secInner > header > h1 {
    margin: 0;
    line-height: 2.1rem;
    font-size:1.85rem;
    color:#000;
}
#secInner > header > img {
    float:left;
    max-width:250px;
    height:auto;
    width:100%;
}
@media screen and (max-width:480px) {
    #secInner > header > img {
        float:none;
    }
    #secInner > header > h1 {
        padding-top:0.25rem;
    }
}
#secInner > h1{
    margin:0 auto;
    padding:1.6rem 0;
    font-size:2rem;
}
#secInner > h2 {
    font-size: 1.15rem;
    color:#fff;
}
#secInner p, .white {
    color:#fff;
}
.grassText {
    text-align: center;
    padding:1rem;
    font-size: calc( 35px + 25 * ( (100vw - 320px) /  880 ));
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-style: italic;
    color:rgba(220,255,220,0.35);
    max-width: 600px;
    margin: auto;
    line-height: 1.1;
    text-shadow: 1px 0 0 rgba(0,200,0,0.25), 0 1px 0 rgba(0,200,0,0.25);
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

@media screen and (min-width:1201px) {
    .grassText {
        font-size:60px;
    }
}

.halfwide {
    display: inline-block;
    width:49.9%;
    vertical-align: middle;
    overflow: auto;
    background-color: transparent;
}

#BWnav {
    background-color: #069;
    text-align: center;
    padding: 2px;

}
#BWnav a{
    color: #FFF;
    font-weight: bold;
    text-decoration: none;
    padding: 2px 4px;
    margin-right: 4px;
    margin-left: 4px;
    display:inline-block;

}
#BWnav a:hover{
    background-color: #000080;
    color: #FF9;

}
.subnav {
    background-color: #069;
    padding: 2px;
    width: 90%;
    margin: 5px auto;
    text-align: center;
    color: #FF9;
    font-weight: bold;
}
.subnav a {
    font-weight: normal;
    color: #FFF;
    text-decoration: none;
    margin-right: 10px;
    margin-left: 10px;
}

footer {
    font-size: 0.75rem;
    padding: 5px;
    color: #CCC;
    text-align: center;
    margin: 100px auto 0;
}
footer a {
    color:#99F;
}

main {
    padding: 5px;
    position:relative;
}
.dark {
    background-color: #D7E4EC;
}
.msg {
    background-color: #FFC;
    text-align: center;
    padding: 4px;
    width: 90%;
    margin: 5px auto 5px auto;
    border: thin solid #C00;
}
.clearall {
    clear: both;
    height: 2px;
}
.blockRed {
    font-variant: small-caps;
    color:#C00000;
    font-weight: bold;

}
.dataBox {
    width:86%;
    margin:3px auto;
    border:#000080 1px solid;
    border-radius: 5px;
    padding:5px;
    text-align: center;
    font-size: 1.1em;
    line-height: 1.6em;

}

.loginLeft {
    font-weight: bold;
    width: 38%;
    display: inline-block;
    margin:0;
    font-size:0.9rem;
    box-sizing: border-box;
    text-align: right;
    padding: 0 0.25rem;
    color:#fff;
}
.loginRight {
    width:60%;
    display: inline-block;
    text-align: left;
    padding: 0 0.25rem;
    margin:0;
    box-sizing: border-box;
    font-size: 0.9rem;
}
#eAddrOriginal {
    padding-left:0.65rem;
}
.loginCentreOuter, .checkboxDiv {
    background-color: #fff;
    margin-left:1rem;
    padding-left: 0.5rem;
    display: block;
    font-size: 0.95rem;
    height: 10.2rem;
    line-height: 1.1rem;
    max-height: 10.2rem;
    min-height: 10.2rem;
    overflow-x: hidden;
    overflow-y: scroll;
}
.loginRight label{
    display:block;
}
.loginCentre span {
    display: block;
    overflow: auto;
}
.loginCentre label {
    display: block;
}
.loginCentre input[type=checkbox] {
    float:left;
    margin-top:0.15rem !important;
}
.loginRight label:focus, .loginRight label:hover, .loginCentre label:hover, .loginCentre label:focus {
    cursor: pointer;
    background-color: #eee;
}
.loginCentre a {
    font-weight: bold;
    padding:0 0.25rem;
}
.loginRight input, .loginRight textarea{
    padding:0;
    margin:0.3rem;
    border:#191718 1px solid;
    background-color:#fc0;
    width:70%;
}
.loginRight input[type="checkbox"], .loginCentre input[type="checkbox"] {
    max-width:10% !important;
    padding:0;
    margin:0.3rem;
    border:#191718 1px solid;
    background-color:#fc0;
}
.loginCentreHover:hover {
    background-color: #eee;
}
.loginRight input:focus, .loginRight input:hover, .loginRight select:focus, .loginRight select:hover,
.loginCentre input:focus, .loginCentre input:hover, .loginRight textarea:focus, .loginRight textarea:hover{
    background-color: #fff;
    border-color:#000;
}
.loginRight select {
    padding:0;
    margin:0.3rem;
    border:#191718 1px solid;
    background-color:#fc0;
    width:90%;
}
.button {
    width:25%;
    min-width:100px;
    margin:1rem 10% 0.4rem 60%;
    font-size:1rem;
    color:#000080;
    display:inline;
}
.buttonTwo {
    width:50%;
    min-width:150px;
    margin:0.5rem 25%;
    font-size:1rem;
    color:#000080;
    display:block;
}
.buttonRemind {
    text-align: center;
    white-space: normal;
}
.button:hover, .button:focus, .buttonTwo:hover, .buttonTwo:focus {
    background-color:#fc0;
    border-color:#BBB;
    border-radius: 5px;
    color:#222;
}

section > form > p {
    text-align: center;
}
.secH3 {
    text-align: center;
    font-weight: normal;
    font-size:1.15rem;
    width:76%;
    min-width:200px;
    margin:0.5rem auto 1.5rem;
    border: 1px solid #900;
    background-color: #eee;
    padding:0.4rem;
}
#forgotten, .loginButton{
    text-align: center;
    color:#000;
    padding:0.3rem 1.4rem;
    text-decoration: none;
    font-family: 'Fira Sans Condensed', sans-serif;
    font-weight: 400;
    background-color: #fff;
    display: inline-block;
    margin:0.5rem auto 0;
    border:1px solid #fff;
    border-radius: 0;
    -webkit-transition:  border 0.25s ease;
    -moz-transition:  border 0.25s ease;
    -o-transition:  border 0.25s ease;
    -ms-transition: border 0.25s ease;
    transition: border 0.25s ease;
}
#forgotten:hover, .loginButton:hover, .loginButton:focus {
    border:1px solid #333;
    border-radius: 0.7rem;
}
#forgotten:hover {
    cursor: pointer;
}
.loginButton {
    min-width:100px;
    border:1px solid #fff;
    float:right;
    text-align: center;
    display: inline-block;
    margin-right:0;
}
@media screen and (max-width:400px) {
    .grassText {
        color: rgba(220, 255, 220, 0.4);
        text-shadow: 1px 0 0 rgba(0, 200, 0, 0.4), 0 1px 0 rgba(0, 200, 0, 0.4);
    }
}

@media screen and (max-width: 600px)
{
    body {
        background-image: url('/images/cleargrass/grass-1.jpg');
        background-size: cover;
        background-position: center;
    }

    #forgotten, .loginButton {
        padding:0.2rem 0.7rem;
    }
    #forgotten {
        margin-right:5px;
    }
    .loginButton {
        white-space: normal;
        line-height: 1.4; /* This is a copy of the #forgotten line-height.*/
        margin-left:5px;
    }
}
#passBox p{
    color:#FFF;
    padding: 0 0.3rem;
}

.link {
    text-align: center;
}
.link a:hover, .link a:focus, .loginRight a:hover {
    text-decoration: none;
}

#message {
    /** This is for the login update page Password warning. **/
    color:#c33;
    font-weight:bold;
    text-align:left;
    padding-left:0.5rem;
}

p a, .loginCentre a  {
    text-decoration: underline;
}

p a:hover, p a:focus, .loginCentre a:hover, .loginCentre a:focus, .menuRow a:hover, .menuRow a:focus  {
    text-decoration: none;
}

section > h2 {
    font-family: 'Fira Sans', sans-serif;
    font-size: 1.25rem;
    font-weight:500;
    line-height:2.1rem;
    color:#224;
    margin-left:10%;
    margin-top:0.7rem;
}
#destList thead, #detailz thead{
    font-size:0.9rem;
}
#destList tbody #detailz tbody{
    font-size:0.8rem;
}
#destList tbody tr td:nth-child(1), #destList tbody tr td:nth-child(2), #destList tbody tr td:nth-child(5)
#detailz tbody tr td:nth-child(1){
    text-align: center !important;
}
#destList tbody tr:nth-child(even), #detailz tbody tr:nth-child(even)  {
    background-color:#eef;
}
#destList a:hover, #detailz a:hover {
    text-decoration: none;
}

.menuRow {
    text-align:right;
    max-width: 900px;
    min-width:275px;
    width:86%;
    clear:both !important;
    margin:auto;
    border-top: 1px solid #036;
    border-left: 1px solid #036;
    border-right: 1px solid #036;
    padding:2px 10px;
    background-color:#EDEDED;
    font-weight:bold;
    font-size:0.9rem;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35rem) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
.checkboxDiv input:checked + label {
    background-color:#DDD;
}
.subsize {
    font-size:0.8rem;
}