﻿html {
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    background-color: white;
    color: black;
    line-height: 1.6;
    font-family: bodyfont, Arial, sans-serif;
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    user-select: none;
}

header {
    display:block;
    position: relative;
    margin-top:0em;
    top: 0em;
    left: 0;
    right: 0;
    width:100%;
    z-index: 2;
    background-color: white;
    height: 6.5em;
}

header .Logo {
    display: block;
    position: absolute;
    left: 2.7em;
    top: .5em;
    width: 14em;
    height: 5.5em;
    background-image: url(/Static/Images/Logo_x500_w-cebd1def.png);
    background-repeat: no-repeat;
    background-size:100% 100%;
}


nav {
    display: block;
    position: absolute;
    width: auto;
    top: 1.3em;
    vertical-align: middle;
    left:auto;
    right:1em;
    z-index: 3;
}

nav .Top {
    display: inline-block;
    position: relative;
    width: auto;
    margin-left: 0;
    margin-right: 1.5em;
    padding-left: 0;
    padding-right: 0;
    color: #606060;
    background-color: transparent;
    text-align: center;
    vertical-align: top;
    line-height: 4;
    cursor: pointer;
    text-decoration: none;
    border-radius: .2em;
    vertical-align: middle;
    border: .15em solid transparent;
    border-radius: .6em;
}

    nav a.Top:hover {
        color: black;
    }

    nav a.Top:before {
        content: '';
        display: block;
        position: absolute;
        z-index: 1;
        bottom: 1em;
        width: 0%;
        height: 1px;
        background-color: black;
        transition: width .2s;
        left: 0;
        right: auto;
    }

    nav a.Top:hover:before {
        width: 100%;
    }

    nav a.Top.Selected {
        color: black;
    }

        nav a.Top.Selected:before {
            width: 100%;
            background-color: black;
        }

    nav a.Top:active {
        color: black;
    }

    nav a.Top:active:before {
        background-color: black;
    }

    nav a.Top:hover svg {
        fill: white;
    }

    nav span {
        display: inline-block;
        position: relative;
        line-height: 1.8;
        font-size: 1.4em;
        vertical-align: middle;
        margin-left: .1em;
        margin-right: .1em;
        color: #3674ac;
    }


header .Menu {
    display: none;
    position: absolute;
    left: auto;
    right:1em;
    top:2.5em;
    height: 1.5em;
    width: auto;
    vertical-align: middle;
    cursor:pointer;
}

header .Menu span {
    vertical-align: middle;
}

header .Menu svg {
    display: inline;
    position: relative;
    height: 100%;
    width: auto;
    vertical-align: middle;
}


.Sidebarscrim {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,1);
    opacity: 0;
    z-index: 4;
}

.Sidebar {
    display: none;
    position: absolute;
    top: 0;
    left: auto;
    right:-12em;
    width: 12em;
    height:100%;
    background-color: white;
    z-index: 5;
    transition:all 1s;
}

.Sidebar nav {
    width:auto;
    top:8em;
}

.Sidebar nav a {
    display:block;
    width:10em;
    margin-right:0;
}


.Sidebar .Menu {
    display: block;
    position: absolute;
    left: auto;
    right: 1em;
    top: 1.5em;
    height: 1.5em;
    width: auto;
    vertical-align: middle;
    cursor: pointer;
}

.Sidebar .Menu svg {
    display: inline;
    position: relative;
    height: 100%;
    width: auto;
    vertical-align: middle;
}


@media only screen and (max-width: 900px) {

    header nav {
        display:none;
    }

    header .Menu {
        display: block;
    }

}


.responsive {
    font-size: 2vw;
    margin-left: 2%;
    margin-right: 2%;
}

@media screen and (min-width:640px) {
    .responsive {
        margin-left: 4%;
        margin-right: 4%;
        font-size:2vw;
    }
}

@media screen and (min-width:960px) {
    .responsive {
        margin-left: 8%;
        margin-right: 8%;
        font-size: 1.5vw;
    }
}

@media screen and (min-width:1500px) {
    .responsive {
        width: 1400px;
        margin-left: auto;
        margin-right: auto;
        font-size: 14px;
    }
}


footer {
    background-color: black;
    color: white;
    display: block;
    height:28em;
    position: relative;
    background-image: url(/Static/Images/long_sports_blackx300_mid-24752e50.png);
    background-repeat:no-repeat;
    background-position:50% 50%;
    background-size:auto 100%;
    text-align:center;
}

footer img {
    display: block;
    position: relative;
    width:17em;
    height:auto;
    top:1em;
    left:0;
    right:0;
    margin-left:auto;
    margin-right:auto;
}

footer a {
    color:white;
    text-decoration:none;
}

footer .Social {
    display: inline-block;
    color:white;
    fill:white;
    margin-bottom:1em;
}

footer .Social a {
    margin-right:.5em;
}

footer .Social a svg {
    display: inline-block;
    width:2em;
    height:2em;
    color: white;
    fill: white;
}

footer .col1 {
    display: inline-block;
    width: 12em;
    text-align:right;
    padding-right:1%;
    border-right:1px solid white;
    vertical-align:middle;
    padding-bottom:1.5em;
}

footer .col1 h2 {
    font-size:1.2em;
    padding:0;
    margin:0;
}

footer .grey {
    color:rgba(255,255,255,.5);
    text-transform:uppercase;
    font-size:.8em;
}

footer .col1 .button {
    position:relative;
    border: 1px solid white;
    padding:.6em;
    border-radius:.3em;
    top:.8em;
    font-size:.9em;
}

footer .col1 .button:hover {
    background-color:white;
    color:black;
}


footer .col2 {
    display: inline-block;
    width: 12em;
    text-align: left;
    margin-left: 1%;
    vertical-align:middle;
}

footer .col2 p {
    margin-top:0;
}

footer .col2 a:hover {
    text-decoration:underline;
}



.Dialog {
    display: block;
    opacity: 1;
    position: relative;
    margin: 1em;
    background-color: white;
    max-width: 90%;
    width: 40em;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
    padding-top: 2em;
    margin-bottom: 3em;
    overflow: hidden;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    transition: margin .4s;
    z-index: 100;
}

.Settings .Dialog {
    opacity: 0;
}

.Dialog.Fullwidth {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    width: 94%;
    right: 3%;
    left: 3%;
    margin-bottom: 2em;
}

.Dialog.Fullheight {
    display: none;
    position: absolute;
    top: 10em;
    bottom: 3em;
    margin-top: 0;
    margin-bottom: 0;
}


@media screen and (max-height:800px), screen and (max-width:800px) {
    .Dialog {
        font-size: 1em;
    }
}

@media screen and (max-height:720px), screen and (max-width:720px) {
    .Dialog {
        font-size: .9em;
    }
}

@media screen and (max-height:640px), screen and (max-width:640px) {
    .Dialog {
        font-size: .7em;
    }
}

@media screen and (max-height:480px), screen and (max-width:480px) {
    .Dialog {
        font-size: .6em;
    }
}

@media screen and (max-height:320px), screen and (max-width:320px) {
    .Dialog {
        font-size: .5em;
    }
}

@media screen and (max-height:240px), screen and (max-width:240px) {
    .Dialog {
        font-size: .45em;
    }
}

@media screen {
    .Dialog.Fullheight {
        top: 5em;
    }
}

@media screen and (min-width:240px) {
    .Dialog.Fullheight {
        top: 5em;
    }
}

@media screen and (min-width:320px) {
    .Dialog.Fullheight {
        top: 6em;
    }
}

@media screen and (min-width:480px) {
    .Dialog.Fullheight {
        top: 7em;
    }
}

@media screen and (min-width:640px) {
    .Dialog.Fullheight {
        top: 6em;
    }
}

@media screen and (min-width:720px) {
    .Dialog.Fullheight {
        top: 6em;
    }
}

@media screen and (min-width:800px) {
    .Dialog.Fullheight {
        top: 7em;
    }
}


.Dialog H2, .Dialog H1, H1.Title {
    position: relative;
    font-size: 2.5em;
    font-weight: normal;
    line-height: 1.2em;
    padding-bottom: .2em;
    color: #151515;
    margin: 0;
    margin-bottom: .5em;
    text-align: left;
    z-index: 1;
}


H1.Title {
    margin-top: .5em;
    margin-bottom: .5em;
    font-size: 3.5vw;
}


.Dialog H1.Title {
    text-align: left;
}

.Dialog.Closer, .Dialog.GameSummary {
    border: .2em solid #007BC3;
    border-radius: .2em;
    box-shadow: .4em .4em .8em rgba(0,0,0,.7);
}

    .Dialog.Closer H2, .Dialog.Closer H1, .Dialog.GameSummary H2, .Dialog.GameSummary H1 {
        background-color: #007BC3;
        color: white;
    }


.Dialog .Content {
    left: 0;
    right: 0;
    bottom: 0;
    top: 2.45em;
    color: #404040;
    margin: 0;
    padding: 2%;
    overflow-x: hidden;
    overflow-y: auto;
    border: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.Dialog.Fullheight .Content {
    position: absolute;
}

.Dialog .Content.NoPadding {
    padding: 0;
}

.Dialog.Footer .Content {
    padding-bottom: 2em;
}

.Dialog.Fullheight.Footer .Content {
    bottom: 1.55em;
    padding-bottom: 0;
}



.Dialog .Closer {
    position: absolute;
    left: auto;
    right: 0;
    top: 0;
    bottom: auto;
    width: 3em;
    height: 3em;
    cursor: pointer;
    z-index: 2;
}

    .Dialog .Closer svg {
        fill: rgba(255,255,255,.7);
        -webkit-filter: drop-shadow( 1px 1px 1px rgba(0,0,0,.5) );
        filter: drop-shadow( 1px 1px 2px rgba(0,0,0,.5) );
        transition: fill .4s;
    }

    .Dialog .Closer:hover svg {
        fill: white;
    }


.Dialog .header {
    background-color: #2F404A;
    margin-top: -1.5em;
    position: relative;
    padding-top: .9em;
    padding-bottom: 0;
    height: 2em;
    vertical-align: bottom;
}

    .Dialog .header span {
        font-size: 1.5em;
        display: inline-block;
        width: 22%;
        text-align: center;
        color: #C5DAE4;
    }

.Dialog .Footer {
    position: absolute;
    top: auto;
    left: 0;
    right: 0;
    bottom: -.2em;
    height: 1.2em;
    padding-top: 0;
    padding-bottom: .4em;
    padding-left: .5em;
    padding-right: .5em;
    z-index: 1;
}

    .Dialog .Footer A {
        font-size: 1em;
        line-height: 1.4em;
        text-decoration: none;
        color: #007BC3;
    }

        .Dialog .Footer A:hover {
            color: #007BC3;
            text-decoration: underline;
        }


.Dialog.Fullheight .Footer {
    position: absolute;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2em;
    padding: .2em;
    padding-bottom: 0;
    padding-left: .5em;
    padding-right: .5em;
}

    .Dialog.Fullheight .Footer A {
        font-size: 1.7em;
    }

        .Dialog.Fullheight .Footer A:hover {
            color: white;
        }

.Dialog A.Backbutton {
    display: none;
    width: 2em;
    height: 2em;
    position: absolute;
    top: .2em;
    left: 1.15em;
    opacity: 1;
    fill: white;
    cursor: pointer;
    z-index: 2;
}

    .Dialog A.Backbutton svg {
        width: 100%;
        height: 100%;
        fill: white;
    }

    .Dialog A.Backbutton:hover svg {
        fill: #E93E00;
    }


.Dialog a {
    text-decoration: none;
    color: #666;
    font-weight: normal;
    display: inline-block;
}

    .Dialog a:hover {
        color: navy;
        text-decoration: underline;
    }

.ErrorMessage {
    font-size: .8em;
    padding: 0;
    height: 20px;
    overflow-x: hidden;
    overflow-y: hidden;
    margin-top: 5px;
    margin-bottom: 5px;
    color: red;
    text-align: center;
}


.Dialog fieldset {
    width: 100%;
    border: none;
    background-color: rgba(255,255,255,.3);
    box-shadow: inset 1px 1px 1px rgba(0,0,0,.2), inset -1px -1px 1px rgba(255,255,255,.6);
    padding: 1em;
    margin-bottom: .5em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


.Field {
    margin-bottom: 1em;
}

    .Field.Half {
        display: inline-block;
        width: 48%;
    }

        .Field.Half.Right {
            float: right;
            clear: right;
        }



    .Field label {
        display: inline-block;
        font-size: .9em;
        font-weight: normal;
        margin-bottom: .3em;
        color: #2D0433;
    }


input, textarea, select {
    display: block;
    margin: 0;
    padding: .4em;
    width: 100%;
    border: 1px solid #d0d0d0;
    font-size: 1em;
    color: #606060;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: transparent;
    transition: all .2s;
}

textarea {
    height: 4em;
}


    input.Third, textarea.Third, select.Third {
        display: inline-block;
        width: 33.33333%;
    }


@media screen and (max-width:550px) {
    input.Third, textarea.Third, select.Third {
        display: block;
        width: 100%;
    }
}

input[readonly], textarea[readonly], select[disabled] {
    background-color: rgba(128,128,128,.1);
    border-color: rgba(128, 128, 128, 0.2);
}


input:focus, textarea:focus, select:focus {
    border: 1px solid #3674ac;
    background-color: white;
    outline: none;
}


input[type="submit"], a.FlatButton {
    -webkit-appearance: none;
    border: none;
    display: inline-block;
    width: auto;
    margin-bottom: 1em;
    margin-top: 1em;
    font-size: 1.0em;
    background-color: #ffffff;
    background: linear-gradient(to bottom, #ffffff, #e0e0e0);
    text-align: center;
    color: rgba(0,0,0,.9);
    border: 1px solid rgb(194, 194, 194);
    border-radius: 0;
    padding-top: .7em;
    padding-bottom: .7em;
    padding-left: 2em;
    padding-right: 2em;
    cursor: pointer;
    transition: all .2s;
    box-shadow: none;
    text-decoration: none;
    line-height: 1.1;
    box-sizing: border-box;
    height: 2.7em;
}


    input[type="submit"][disabled], input[type="submit"].Disabled {
        opacity: .4;
        cursor: default;
        pointer-events: none;
    }


    input[type="submit"]:hover, a.FlatButton:hover {
        box-shadow: 0px 0px .3em 0px #999999;
        text-decoration: none;
    }

    input[type="submit"]:active, a.FlatButton:active {
        box-shadow: inset .05em .05em .05em #999999;
    }

    input[type="submit"].Link {
        background-color: transparent;
        border: none;
        color: #3674ac;
        margin-bottom: .3em;
    }

        input[type="submit"].Link:hover {
            background-color: transparent;
            border: none;
            color: #3674ac;
            text-decoration: underline;
        }

.Field span.Error {
    display: block;
    position: relative;
    font-size: .8em;
    margin-bottom: 0;
}

    .Field span.Error .EmailUsed {
        color: black;
        font-size: 1.1em;
        line-height: 1.6em;
    }

        .Field span.Error .EmailUsed a {
            color: #3674ac;
            font-weight: bold;
        }



.SettingsItems {
    font-size: 2vw;
    margin: 0;
    padding-top: 1em;
    padding-bottom: 1em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align: left;
    background-color: white;
}

    .SettingsItems p {
        font-size: .8em;
        color: white;
        text-align: left;
        margin: 0;
        padding: 0;
        margin-bottom: 1em;
        padding-left: 1em;
        padding-right: 1em;
    }

@media screen and (max-width:1000px) {
    .SettingsItems p {
        font-size: 1.1em;
    }
}

@media screen and (max-width:700px) {
    .SettingsItems p {
        font-size: 1.3em;
    }
}


A.SettingsItem {
    display: inline-block;
    left: 0;
    font-weight: 200;
    text-decoration: none;
    width: 23%;
    height: 3em;
    line-height: 3em;
    font-size: 1em;
    position: relative;
    color: black;
    border: 1px solid rgb(194, 194, 194);
    text-align: left;
    vertical-align: middle;
    margin-top: .5em;
    margin-right: 1%;
    opacity: 1;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 1em;
    background-color: #ffffff;
    background: linear-gradient(to bottom, #ffffff, #e0e0e0);
    border-radius: .1em;
    transition: all 200ms;
}

@media screen {
    A.SettingsItem {
        width: 93%;
        font-size: 2.3em;
        left: 4%;
    }
}

@media screen and (min-width:360px) {
    A.SettingsItem {
        width: 47%;
        font-size: 1.4em;
        left: 2%;
    }
}

@media screen and (min-width:640px) {
    A.SettingsItem {
        width: 31%;
        font-size: 1.2em;
        left: 1.5%;
    }
}

@media screen and (min-width:1024px) {
    A.SettingsItem {
        width: 23%;
        font-size: 1em;
        left: 1.5%;
    }
}

@media screen and (min-width:1280px) {
    A.SettingsItem {
        width: 18%;
        font-size: .8em;
        left: 1.5%;
    }
}

A.SettingsItem:hover {
    box-shadow: 0px 0px .3em 0px #999999;
}

A.SettingsItem:active {
    box-shadow: inset .05em .05em .05em #999999;
}


.SettingsItem img {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 1.5em;
    height: 1.5em;
    padding: .25em;
}

.SettingsItem:hover img {
}

.SettingsItem div {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 2em;
    height: 2em;
    padding: .45em;
    padding-left: .6em;
}


    .SettingsItem div svg {
        fill: rgba(0,0,0,.5);
        width: 100%;
        height: 100%;
    }

.SettingsItem:hover div svg {
    fill: rgba(0,0,0,.9);
}

.SettingsItem span {
    font-size: .8em;
    display: inline-block;
    line-height: normal;
    margin-left: 3.9em;
    padding-right: 1em;
    color: rgba(0,0,0,.7);
    font-weight: bold;
}

.SettingsItem:hover span {
    color: black;
}
