﻿/* Copyright (c) Microsoft Corporation. All rights reserved.
   Licensed under the MIT license. See LICENSE file in the project root for full license information.
*/


html, 
body {
    color: #444;
    font-family: 'Century Gothic', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    box-sizing: border-box;
}


input {
    outline:none;
    line-height: 25px;
    height: 42px;
    padding: 5px;
    font-size: 14px;
}

h1 {
    font-size: 42px;
    font-weight: normal;
}

a {
    text-decoration: none;
    color: #333;
    cursor: pointer;
}

a:hover {
    color:#0077ce;
}

a:focus {
    outline-style: dashed;
    outline-width: 2px;
    outline-offset: -2px;
    outline-color: #000;
    text-decoration: underline;
}

button:focus {
    outline-style: dashed;
    outline-width: 2px;
    outline-offset: -2px;
    outline-color: #000;
    text-decoration: underline;
}

.btn:focus {
    outline-style: dashed;
    outline-width: 2px;
    outline-offset: -2px;
    outline-color: #000;
    text-decoration: underline;
}


.disabled * {
    cursor: default;
    pointer-events: none;
}

.disabled a {
    color: #ccc !important;
}

.middle {
    padding: 0;
    width: 100%;
    background-color: #fff;
    display: block;
    overflow: hidden;
}

.middle > div {
    position: relative;
    border-right:none;
    padding: 5px;
    width: 60%;
    margin-left: 20%;
    display:inline-block;
}

.hidden {
    display: none;
}

@media only screen and (max-width: 799px) {
    .middle > div {
        margin-left:0;
        width: 100%;
    }
}

.nav-panel {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    margin: 0;
    padding: 0;
    padding-left: 10px;
    width: 100%;
    background: #fff;
    line-height: 50px;
    background-color: #0077ce;
    color: #fff;
    overflow: hidden;
    z-index: 100;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nav-panel .brand {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    float: left;
    text-overflow:ellipsis;
    white-space:nowrap;
    
}

@media only screen and (max-width: 620px) {
    .nav-panel .brand {
        display: none;
    }
}

.nav-panel a {
    color: #fff;
    height: 100%;
    display: inline-block;
}

.nav-panel .menu {
    display: inline-block;
    float: right;
    margin-right: 20px;
}

.nav-panel .menu ul {
    height:100%;
    padding:0;
    margin:0;
}

.nav-panel .menu li a {
    text-transform: uppercase;
    font-size: 14px;
    padding: 10px;
    display: inline-block;
    color: #fff;
    line-height:100%;
}

.tkn .nav-panel li.tkn a,
.explorer .nav-panel li.explorer a {
    font-weight: bold;
}

.connect .nav-panel li.connect {
    display: none;
}

.content {
    padding: 5px;
    padding-top: 60px;
}

ul {
    line-height: 0;
    display: inline-block;
}

li {
    list-style: none;
    display: inline-block;
}

fieldset {
    border:none;
    margin:0;
    padding:0;
}

.small {
    font-size:small;
}

.left {
    float: left;
}

.right {
    float: right;
}

.red {
    color:red;
}

.green {
    color:green;
}

.orange {
    color: darkorange;
}


.note {
    background-color: #ffc;
}

.btn {
    background: none;
    border: 1px solid #0077ce;
    cursor: pointer;
    font-family: 'Century Gothic', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 35px;
    padding: 8px;
    outline: none;
    font-size: 16px;
}

.btn-default,
.btn:hover {
    background: #0077ce;
    color: #fff;
}

.border,
input[type="text"] {
    border: 1px solid #0077ce;
    padding: 8px;
}

.radio-row {
    line-height: 0;
    display: inline-block;
    margin: 0;
    padding:0;
}

.radio-row li.selected,
.radio-row li:hover {
    background: #0077ce;
    color: #fff;
    cursor: pointer;
}

.radio-row li:focus {
    outline-style: dashed;
    outline-width: 2px;
    outline-offset: -2px;
    outline-color: #000;
    text-decoration: underline;
}

/*
    Checkbox and Radio
*/
input[type=checkbox]:not(old),
input[type=radio]:not(old){
  width     : 2em;
  margin    : 0;
  padding   : 0;
  font-size : 1em;
  opacity   : 0;
}

input[type=checkbox]:not(old) + label,
input[type=radio]:not(old) + label {
  display      : inline-block;
  margin-left  : -2em;
  line-height  : 1.5em;
}

input[type=checkbox]:not(old) + label > span,
input[type=radio]:not(old) + label > span {
    display          : inline-block;
    width            : 1.3em;
    height           : 1.3em;
    margin-right     : 0.3em;
    border           : 0.0625em solid #0077ce;
    vertical-align   : bottom;
}


input[type=checkbox]:not(old):checked + label > span:before {
    content     : '✓';
    display     : block;
    width       : 1em;
    color       : #0077ce;
    font-size   : 1.2em;
    line-height : 1em;
    text-align  : center;
    font-weight : bold;
}

input[type=checkbox]:not(old):focus + label {
    outline-style: dashed;
    outline-width: 2px;
    outline-offset: -2px;
    outline-color: #000;
    text-decoration: underline;
}

input[type=radio]:not(old):checked + label > span > span {
    display: block;
    width: 0.85em;
    height: 0.85em;
    margin: 0.17em;
    border: 0.0625em solid #0077ce;
    background-color: #0077ce;
}


/*
    Modal
*/

.modal-wrapper {
    width:100%;
    height:100%; 
    background-color: rgba(0, 0, 0, 0.7);
    top:0;
    left:0;
    position:fixed;
    z-index: 1;
}

.modal-form {
    position:absolute;
    width: 50%;
    margin-left: 25%;
    top: 50%;
    margin-top:-100px;
    padding: 10px;
    border: 1px solid #ccc;
    background: #fff;
    box-sizing: border-box;
}

.modal-form label {
    line-height:40px;
    font-weight:bold;
    display: inline-block;
}

.modal-form p {
    box-sizing: border-box;
}

.modal-form input {
    box-sizing:border-box;
    margin:0;
}

@media only screen and (max-width: 799px) {
    .modal-form {
        margin-left: 0;
        width: 100%;
    }
}