/* I2P TunnelManager theme: "Camo". Aka "dark". As in ops. */
/* Author: dr|z3d */

body {
     margin: 3px 0 12px;
     padding: 0;
     text-align: center;
     font-family: "Droid Sans", "Noto Sans", Ubuntu, "Segoe UI", "Bitstream Vera Sans", "DejaVu Sans", Verdana, "Lucida Grande", Helvetica, sans-serif;
     background: #1F1A24;
     color: #e6e6e7;
     font-size: 9pt;
}

body.iframed {
     margin: 0;
     padding: 0;
}

input::selection {
     background: #433e47 !important;
}

input::-moz-selection {
     background: #433e47 !important;
}

.displayText::selection {
     background: #433e47 !important;
}

.displayText::-moz-selection {
     background: #433e47 !important;
}


::selection {
     color: white;
}

::-moz-selection {
     color: white;
}

* {
     outline: none;
}

div {
     -moz-box-sizing: border-box;
     box-sizing: border-box;
}

a {
     text-decoration: none;
     font-weight: bold;
}

a:link {
     color: #e6e6e7;
     outline: none;
}

a:visited {
     color: #7b7;
}

a:hover, a:focus {
     color: #f60;
}

a:active {
     color: #f90;
}

.accesskey {
     display: none !important;
     text-decoration: underline;
}

form {
     margin: 0;
}

br {
     clear: left;
}

div.statusNotRunning {
     height: 16px;
     overflow: hidden;
     color: #d00;
     background: url(/themes/console/dark/images/console_status_stopped.png) center center no-repeat;
}

div.statusRunning {
     height: 16px;
     overflow: hidden;
     color: #0b0;
     background: url(/themes/console/dark/images/console_status_running.png) center center no-repeat;
}

div.statusStarting {
     height: 16px;
     overflow: hidden;
     color: #393;
     background: url(/themes/console/dark/images/console_status_starting.png) center center no-repeat;
}

div[class^="status"] {
     font-size: 0 !important;
     background-position: center center;
     text-align: center;
     margin: 0;
     padding: 0;
     width: 100%;
     background-size: auto 16px;
}

hr {
     display: none;
}

#clientHost {
     width: 300px;
}

#clientPort {
     width: 100px;
}

.panel {
     margin: 8px auto;
     padding: 5px 3px 5px 1px !important;
     width: calc(100% - 14px);
     min-width: 700px;
     overflow: hidden;
     text-align: left;
     color: #e6e6e7;
     background: none;
}

.panel:first-child {
     margin-top: 0;
}

.panel:last-child {
     margin-bottom: 5px;
}

.panel#clients {
     margin-top: -23px !important;
}

.iframed .panel#clients {
     margin-top: -20px !important;
}

.iframed .panel.iframed {
     margin: 0 auto -8px auto !important;
}

.iframed .panel {
     margin: 16px auto -8px auto !important;
     width: 100%;
}

#globalTunnelControl {
     margin: -13px auto -13px;
}

.iframed #globalTunnelControl {
     margin: 6px auto -26px !important;
}

#serverTunnels {
     margin: -1px 0 10px;
}

h2, h3 {
     margin: 10px 0 -1px;
     padding: 8px 10px 8px 34px;
     border: 1px solid #292929;
     font-size: 11pt;
     color: #e6e6e7;

     letter-spacing: 0.08em;
     word-spacing: 0.1em;
     text-shadow: 0 1px 1px #000;
     box-shadow: inset 0 0 0 1px #000;
}

/* title images */

#messages h2 {
     background: url(/themes/console/images/info/logs.png) left 8px center no-repeat !important;
     background: url(/themes/console/images/info/logs.png) left 8px center no-repeat !important;
     background-size: 20px auto, 100% 100%, 100% 100%, 175px 175px, 100% 100%, 100% 100% !important;
     background-blend-mode: normal, normal, normal, exclusion, normal, normal;
}

#globalTunnelControl h2 {
     background: url(/themes/console/images/info/control.png) left 8px center no-repeat!important;
     background: url(/themes/console/images/info/control.png) left 8px center no-repeat !important;
     background-size: 20px auto, 100% 100%, 100% 100%, 175px 175px, 100% 100%, 100% 100% !important;
     background-blend-mode: normal, normal, normal, exclusion, normal, normal;
}

#servers h2 {
     background: url(/themes/console/images/info/server.png) left 8px center no-repeat !important;
     background: url(/themes/console/images/info/server.png) left 8px center no-repeat !important;
     background-size: 20px auto, 100% 100%, 100% 100%, 175px 175px, 100% 100%, 100% 100% !important;
     background-blend-mode: normal, normal, normal, exclusion, normal, normal;
}

#clients h2 {
     background: url(/themes/console/images/info/client.png) left 8px center no-repeat !important;
     background: url(/themes/console/images/info/client.png) left 8px center no-repeat !important;
     background-size: 20px auto, 100% 100%, 100% 100%, 175px 175px, 100% 100%, 100% 100% !important;
     background-blend-mode: normal, normal, normal, exclusion, normal, normal;
}

#tunnelEditPage h2, #tunnelEditPage h3, #registration h2, #registration h3 {
     background: url(/themes/console/images/info/configure.png) left 8px center no-repeat !important;
     background: url(/themes/console/images/info/configure.png) left 8px center no-repeat !important;
     background-size: 20px auto, 100% 100%, 100% 100%, 175px 175px, 100% 100%, 100% 100% !important;
     background-blend-mode: normal, normal, normal, exclusion, normal, normal;
}

#wizardPanel h2 {
     background: url(/themes/console/images/info/wizard.png) left 8px center no-repeat, #1F1A24 !important;
     background-size: 20px auto, 100% 100%, 100% 100%, 175px 175px, 100% 100%, 100% 100% !important;
     background-blend-mode: normal, normal, normal, exclusion, normal, normal;
}

/* end title images */

.iframed h2 {
     margin: 14px 0 -1px;
}

h3 {
     border-radius: 0;
     margin-top: 14px;
}

.iframed #globalTunnelControl h2 {
     margin-top: 6px;
}

.panel table {
     width: 100%;
     border-collapse: collapse;
     border: 1px solid #292929;
     margin: 0;
}

.panel .tunnelConfig {
    margin-top: 15px;
}

th.tableTop {
    font-size: 115%;
}

th {
     padding: 7px 5px;
     border-top: 1px solid #7778bf;
     border-bottom: 1px solid #7778bf;
     font-size: 9pt;
     color: #e6e6e7;
     text-align: left;
     letter-spacing: 0.08em;
     word-spacing: 0.1em;
}

th:first-child {
     padding-left: 10px;
}

td {
     border-top: 1px solid #494;
     vertical-align: middle;
     padding: 5px;
     font-size: 9pt;
}

td > input {
     margin-left: 0;
}

td > b {
     margin-right: 5px;
     display: inline-block;
     min-width: 30px;
}

td.infohelp {
     background: url(/themes/console/dark/images/infohelp.png) 10px center no-repeat;
     background-size: 20px 20px;
     padding: 10px 10px 10px 38px !important;
}

.tunnelConfig td {
     width: 50%;
}

.tunnelConfig th:first-child, .tunnelConfig td:first-child {
     border-left: 1px solid #433e47;
}

.tunnelConfig th:last-child, .tunnelConfig td:last-child {
     border-right: 1px solid #433e47;
}

html body#tunnelEditPage form div.panel table#serverTunnelEdit.tunnelConfig tbody tr th{
    background: url(/themes/console/dark/images/dropdown.png) #433e47;
    background-repeat: no-repeat !important;
    background-position: 1%, 15% !important;
    padding-left: 30px;
}

html body#tunnelEditPage form div.panel table#serverTunnelEdit.tunnelConfig tbody tr th:hover {
    background: url(/themes/console/dark/images/dropdown_hover.png) #433e47;
    background-repeat: no-repeat !important;
    background-position: 1%, 15% !important;
    padding-left: 30px;
}

table.tunnelConfig th,
html body#tunnelEditPage form div.panel table#serverTunnelEdit.tunnelConfig tbody tr th[colspan='2'],
html body#tunnelEditPage form div.panel table#serverTunnelEdit.tunnelConfig tbody tr th[colspan='2'] {
    background: url(/themes/console/dark/images/dropdown.png) #433e47;
    background-repeat: no-repeat !important;
    background-position: .5%, 15% !important;
    padding-left: 30px;
}

table.tunnelConfig th:hover,
html body#tunnelEditPage form div.panel table#clientTunnelEdit.tunnelConfig tbody tr th[colspan='2']:hover,
html body#tunnelEditPage form div.panel table#serverTunnelEdit.tunnelConfig tbody tr th[colspan='2']:hover {
    background: url(/themes/console/dark/images/dropdown_hover.png) #433e47;
    background-repeat: no-repeat !important;
    background-position: .5%, 15% !important;
    padding-left: 30px;
}

.tunnelConfigExpanded {
    background: url(/themes/console/dark/images/dropdown_active.png) #433e47 !important;
    padding-left: 30px;
}

.tunnelConfigContracted {
    background: url(/themes/console/dark/images/dropdown.png) #433e47 !important;
    padding-left: 30px;
}

.excludeBackgroundImage {
    background-image: none !important;
    padding-left: 0px !important;
}

.tunnelNameLabel {
    padding-left: 30px !important;
}

#clientTunnels tr, #serverTunnels tr, .tunnelConfig tr {
     background: #1F1A24;
}

#advancedServerTunnelOptions tr, #advancedServerTunnelOptions tr {
    background: #332940;
}

.tunnelProperties {
     /*background: #332940 !important;*/
     overflow: hidden;
     text-align: left;
     /*border: 1px solid #494;
     border-bottom: 1px inset #010 !important;*/
}

#serverTunnels {
     margin: -1px 0 10px;
}

.tunnelProperties:hover {
     background: #7778bf !important;
}

.newTunnel {
     text-align: right;
     border-top: 1px solid #494 !important;
     padding: 5px !important;
     /*background: #fff;*/
}

.newTunnel select, .newTunnel input, .newTunnel .control {
     margin: 2px !important;
}

.newtunnel form {
     width: 100%;
     text-align: right;
}

.tunnelName, .tunnelDescription {
     width: 25%;
     min-width: 150px;
}

.tunnelName a {
     background: url(/themes/console/images/buttons/configure.png) left center no-repeat;
     padding: 3px 3px 3px 20px !important;
}

.tunnelName a:hover {
     filter: drop-shadow(0 0 1px #730);
}

.tunnelName a {
     font-weight: bold;
}

.tunnelType {
     width: 25%;
}

.tunnelPreview {
     text-align: left;
}

.tunnelPreview, .tunnelPort {
     /*width: 15%;*/
     text-align: center;
}

.tunnelPreviewHostname {
    width: 100%;
    height: 1.5em;
    overflow: hidden;
    background: #332940;
}

.tunnelLocation, .tunnelInterface {
     width: 20%;
}

.tunnelLocation font[color="red"] {
     margin-left: 3px;
}

.tunnelStatus {
     text-align: center;
     width: 10%;
     min-width: 48px;
}

.tunnelControl {
     width: 5%;
     text-align: right;
     white-space: nowrap;
}

th.tunnelControl {
     text-align: center;
}

textarea {
     border: 1px solid #433e47;
     background: #000;
     margin-left: 4px;
     margin-right: 4px;
     font: 9pt "Droid Sans Mono", "Noto Mono", "Lucida Console", "DejaVu Sans Mono", monospace;
     resize: none;
     box-sizing: border-box;
     border-radius: 2px;
}

textarea:focus {
     color: #e6e6e7;
     background: #000 !important;
     filter: drop-shadow(0 0 1px #880);
     transition: ease filter 0.3s 0s;
     box-shadow: inset 0 0 1px #880;
     outline: none;
}

textarea#statusMessages, textarea#statusMessages:active, textarea#statusMessages:focus {
     background: #000;
     background: linear-gradient(to bottom, #000 0%, #010 100%) !important;
     box-shadow: inset 0 0 3px 3px #000 !important;
     margin: 0;
     border: 0;
     box-shadow: none;
     height: 80px;
     width: 100%;
     border-radius: 0;
     padding: 2px 4px;
     color: #69f;
     font-family: "Droid Sans Mono", "Noto Mono", Consolas, "Lucida Console", "DejaVu Sans Mono", monospace;
     font-size: 8.5pt;
}

_:-ms-lang(x), textarea#statusMessages, textarea#statusMessages:active, textarea#statusMessages:focus {
     box-shadow: none !important;
}

.freetext {
     width: 150px;
     border: 1px solid #433e47;
     padding: 4px;
     font: 8.5pt "Droid Sans Mono", "Noto Mono", "Lucida Console", "DejaVu Sans Mono", monospace;
     color: #333;
     border-radius: 2px;
     box-shadow: inset 2px 2px 1px #ccc;
}

.freetext:focus {
     box-shadow: 0 0 1px #f60;
     color: #111;
     outline: none;
}

.freetext[readonly], .freetext[readonly]:focus {
     background: #000 !important;
     box-shadow: inset 2px 2px 1px #000;
     color: #885;
     cursor: default;
     border: 1px solid #373 !important;
     opacity: 0.8;
}

input[type="hidden"], input.default {
     display: none;
}

input, select, button, a {
     font-family: "Droid Sans", "Noto Sans", Ubuntu, "Segoe UI", "Bitstream Vera Sans", "DejaVu Sans", Verdana, "Lucida Grande", Helvetica, sans-serif;
     -moz-box-sizing: border-box;
     box-sizing: border-box;
     font-size: 9pt;
     border-radius: 2px;
     color: #e6e6e7;
     resize: none;
     cursor: pointer;
}

input {
     background-color: #1f1a24;
     color: #e6e6e7;
     margin: 0 2px 0 2px;
     font-family: "Droid Sans", "Noto Sans", Ubuntu, "Segoe UI", "Bitstream Vera Sans", "DejaVu Sans", Verdana, "Lucida Grande", Helvetica, sans-serif;
     border: 1px solid #433e47;
     text-decoration: none;
}

input[type="submit"]::-moz-focus-inner, input[type="reset"]::-moz-focus-inner, button::-moz-focus-inner {
     border: none;
     outline: none;
}

input[type="file"] {
     background: none;
     border: none;
}

input[type="checkbox"], input[type="radio"] {
     vertical-align: sub;
     min-width: 16px;
     min-height: 16px;
     margin: 0;
     background: none;
     filter: invert(100%) sepia(100%);
}

input[type="checkbox"]:hover, input[type="radio"]:hover,
input[type="checkbox"]:focus, input[type="radio"]:focus  {
     outline: none;
     filter: invert(100%) sepia(100%);
}

label {
     cursor: pointer;
}

input[type="password"] {
     cursor: text;
}

input[type="text"], input[type="password"], textarea, textarea[readonly="readonly"]:focus  {
     box-shadow: inset 0 0 3px 3px #000;
     filter: none;
     color: #e6e6e7;
}

textarea[readonly="readonly"]:focus {
     box-shadow: inset 0 0 0 1px #880;
}

input[type="text"]:focus, input[type="password"]:focus {
     color: #e6e6e7;
     filter: drop-shadow(0 0 1px #880);
     transition: ease filter 0.3s 0s;
}

input[readonly="readonly"]:focus {
     filter: none;
}

a.control, input.control {
     white-space: nowrap;
     vertical-align: middle;
     filter: drop-shadow(0 0 1px #000);
}

.control {
     margin: 2px 0 0 2px !important;
     overflow: hidden;
     min-width: 78px;
     font-size: 8pt;
     font-weight: bold;
     background: #1F1A24;
     color: #494 !important;
     border: 1px solid #8b8;
     border-bottom: 1px solid #171;
     border-right: 1px solid #171;
     text-align: center;
     white-space: nowrap;
     border-radius: 2px;
     vertical-align: middle;
     text-decoration: none;
     padding: 5px 8px !important;
     -moz-box-sizing: border-box;
     box-sizing: border-box;
     display: inline-block;
}

.control:link {
     color: #e6e6e7 !important;
}

.control:hover {
     border: 1px solid #f60;
     background: #332940;
     color: #f60 !important;
     text-decoration: none;
     box-shadow: inset 0 1px 1px 0 #eff;
}

.control:visited {
     color: #494 !important;
     text-decoration: none;
}

.control, .control:link, .control:visited {
     overflow: hidden;
     margin: 2px !important;
     text-align: center;
     white-space: nowrap;
     text-decoration: none;
     font-style: normal;
     border-radius: 12px;
     box-shadow: inset 0 0 0 1px #000;
     box-sizing: border-box;
     min-width: 70px !important;
     border: 1px groove #332940;
}

.control:hover, .control:focus {
     text-decoration: none;
     color: #da736b !important;
     border: 1px solid #da736b !important;
     box-shadow: inset 0 1px 1px 0 #eff;
}

.control:active {
     background: #f60 !important;
     color: #e6e6e7 !important;
     text-decoration: none;
     box-shadow: inset 0 0 0 1px #000 !important;
     box-shadow: inset 0 0 0 1px #000, inset 3px 3px 3px #000 !important;
}

a.control {
     display: inline-block;
}

select {
     color: #e6e6e7;
     font-family: "Droid Sans", "Noto Sans", Ubuntu, "Segoe UI", "Bitstream Vera Sans", "DejaVu Sans", Verdana, "Lucida Grande", Helvetica, sans-serif;
     font-weight: bold;
     font-size: 8pt !important;
     padding: 3px 16px 3px 4px !important;
     -moz-appearance: none;
     -webkit-appearance: none;
     appearance: none;
     background: #332940 url(/themes/console/dark/images/dropdown.png) right center no-repeat !important;
     border-radius: 2px;
     cursor: pointer;
     filter: drop-shadow(0 0 1px #000);
     border: 1px solid #1F1A24;
     border-bottom: 1px solid #332940;
     border-right: 1px solid #332940;
     min-width: 120px;
}

select option { /* dropdown menu reverts to normal font-weight */
     font-weight: normal;
     font-size: 9.5pt;
}

select option:hover, select option:checked {
     box-shadow: inset 0 0 20px 20px #f60;
}

select:focus, select:hover {
     color: #e6e6e7;
     border: 1px solid #da736b;
}

select:hover {
     box-shadow: inset 0 1px 1px 0 #e6e6e7;
}

select:hover, select:focus, select:active {
     background: #332940 url(/themes/console/dark/images/dropdown_hover.png) right center no-repeat !important;
}

select::-ms-expand {
     display: none;
}

input, select, button {
     font-size: 9pt;
     vertical-align: middle;
}

button, input[type="submit"], input[type="reset"], a.control, select {
     line-height: 120%;
     font-family: "Droid Sans", "Noto Sans", Ubuntu, "Segoe UI", "Bitstream Vera Sans", "DejaVu Sans", Verdana, "Lucida Grande", Helvetica, sans-serif;
     font-weight: bold;
     filter: drop-shadow(0 0 1px #131);
}

.buttons, .newTunnel {
     text-align: right !important;
     padding: 7px 5px !important;
     background: #1F1A24;
     /*background: linear-gradient(to bottom, #010, #000);
     background: linear-gradient(-135deg, #000, rgba(0,0,0,0) 40%), repeating-linear-gradient(to right, rgba(0,0,0,0.5) 1px, rgba(0,0,0,0.5) 2px, rgba(0,16,0,0.5) 2px, rgba(0,16,0,0.5) 4px), linear-gradient(to bottom, #020, #000 75%);*/
     border-top: 1px solid #7778bf !important;
}

.tunnelDescriptionLabel, .tunnelDestinationLabel {
     text-align: right;
     min-width: 150px;
     display: inline-block;
     margin-right: 3px;
     white-space: nowrap;
}

input {
     float: none;
     vertical-align: middle;
}

#hostField, #leasesetKey, #userAgents {
     width: 90% !important;
     margin: 0 !important;
     text-align: left !important;
}

#tunnelDepth, #tunnelVariance, #tunnelQuantity, #tunnelBackupQuantity,
#tunnelDepthOut, #tunnelVarianceOut, #tunnelQuantityOut, #tunnelBackupQuantityOut {
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
     -o-text-overflow: ellipsis;
}

#tunnelDepth, #tunnelVariance, #tunnelQuantity, #tunnelBackupQuantity,
#tunnelDepthOut, #tunnelVarianceOut, #tunnelQuantityOut, #tunnelBackupQuantityOut,
#localDestination, #customOptions, #leasesetKey, #name, #description, textarea[name="accessList"] {
     width: 100% !important;
     margin: 0 !important;
     text-align: left !important;
}

#oldName, #targetDestination, select#profile, select#connectionProfile {
     min-width: 280px;
     width: 30%;
}

select#profile, select#connectionProfile {
     margin: 5px !important;
}

select#connectionProfile {
     width: calc(100% - 10px);
}

td[colspan="2"] > select#profile {
     width: calc(50% - 15px);
}

#customOptions, #userAgents {
     width: calc(100% - 10px) !important;
     width: 100% !important;
}

#localDestination, textarea[name="accessList"], #hostField {
     width: calc(100% - 5px) !important;
     width: 100% !important;
     margin: 3px 0 !important;
}

textarea[name="accessList"] {
     margin: 0 !important;
     height: 80px !important;
}

#localDestination {
     height: 34px !important;
     margin: 0 !important;
}

#leasesetKey {
     height: 24px !important;
     padding: 3px;
}

.multiOption {
     display: inline-block;
     margin: 5px 10px 5px 0;
}

.multiOption input {
     vertical-align: sub;
}

.multiOption#isServer {
     background: url(/themes/console/images/server.png) left center no-repeat;
     padding-left: 20px;
}

.multiOption#isClient {
     background: url(/themes/console/images/client.png) left center no-repeat;
     padding-left: 21px;
}

td#throttle {
     padding: 0;
}

#throttler {
     border: none !important;
}

#throttler th {
     padding-left: 20px;
}

#throttler td {
     width: 20%;
}

#throttler td:first-child {
     text-align: right;
     width: 20%;
     white-space: nowrap;
}

#throttler th:first-child, #throttler td:first-child {
     border-left: none !important;
}

#throttler th:last-child, #throttler td:last-child {
     border-right: none !important;
}


#throttler tr:first-child th {
     border-top: none;
}

td.blankColumn {
     width: 20% !important;
}

#throttler tr:nth-child(odd) {
     /*background: rgba(0,16,0,0.7);*/
     background: #332940;
}

#throttler tr:nth-child(even) {
     /*background: rgba(0,8,0,0.7);*/
     background: #332940;
}

#serverTunnelEdit tr:nth-child(even) {
     background: #332940;
}

#throttler input[type="text"] {
     width: 80px;
}

#tunnelMessages {
     padding: 0;
}

input.tunnelName, input.tunnelDescriptionText, #userAgents {
     width: 80%;
     min-width: 280px;
     text-overflow: ellipsis;
}

#websiteName, #privKeyFile, #targetHost, .host {
     width: 30%;
     min-width: 250px;
}

.port, .quantity, .period {
     width: 80px;
}

.port[readonly] {
     width: 120px;
}

.username, .password {
     width: 200px;
     padding-left: 22px !important;
}

.username {
     background: #1f1a24 url(/themes/console/images/buttons/user.png) 3px center no-repeat !important;
     /*, linear-gradient(to bottom, #000 0%, #010 100%) !important;*/
}

.password {
     background: #1f1a24 url(/themes/console/images/buttons/password.png) 3px center no-repeat !important;
     /* linear-gradient(to bottom, #000 0%, #010 100%) !important;*/
}

.username:focus {
     background: url(/themes/console/images/buttons/user.png) 3px center no-repeat !important;
}

.password:focus {
     background: url(/themes/console/images/buttons/password.png) 3px center no-repeat !important;
}

.proxyList {
     width: 40%;
     min-width: 280px;
}

#notReady {
     border: 1px solid #900;
     padding: 30px;
     background: #020;
     margin: 30px auto;
     width: 400px;
     text-align: center;
     border-radius: 2px;
     box-shadow: inset 0 0 0 1px #000;
     font-size: 11pt;
     font-weight: bold;
}

/* wizard specifics */

#wizardPanel {
    font-size: 10pt;
}

#wizardTable {
     padding: 0;
}

#wizardTunnelTypes td:first-child, #wizardSummary td:first-child {
     font-weight: bold;
     width: 10%;
     min-width: 150px;
     text-align: right;
     white-space: nowrap;
}

#wizardTunnelTypes td:last-child {
     text-align: justify;
     padding: 10px 15px 10px 10px;
}

#wizardTunnelTypes select {
     margin-left: 0 !important;
}

#wizardTunnelTypes, #wizardSummary {
     border: none;
     margin-top: -1px;
}

#wizardTunnelTypes tr:nth-child(even), #wizardSummary tr:nth-child(even) {
     background: #332940;
}

#wizardTunnelTypes tr:nth-child(odd), #wizardSummary tr:nth-child(odd) {
     background: #1F1A24;
}

#wizardTunnelTypes tr:last-child {
     background: #1F1A24;
}

#wizardPanel #name, #wizardPanel #description {
     width: 300px !important;
}

#wizardPanel p {
     padding: 5px;
     margin: 0;
     text-align: justify;
}

#wizardPanel p, #wizardPanel td {
     line-height: 140%;
}

#wizardPanel .options {
     padding: 10px;
}

#wizardPanel .tag {
     width: 10%;
     min-width: 150px;
     white-space: nowrap;
     display: inline-block;
     font-weight: bold;
     text-align: right;
     margin-right: 3px;
}

#wizardPanel select {
     min-width: 160px;
     margin: 5px 0 !important;
}

#wizardPanel .infohelp p { /* wizard complete - advanced options info */
     margin: 0;
     padding: 0;
}

/* more space */

.tunnelConfig td, td {
     border-top: 1px inset #433e47;
     padding: 8px 5px;
}

.tunnelConfig tr:nth-child(even) {
     border-top: 1px inset #433e47;
     padding: 8px 5px;
     background: #332940;
}

input[type="checkbox"], input[type="radio"] {
     margin: 5px 3px 5px 5px;
}

.freetext, .tunnelConfig textarea, #customOptions, #userAgents, #hostField  {
     margin-top: 15px !important;
     cursor: text;
}

.multiOption {
     margin: 5px 10px 5px 0;
}

#tunnelDepth, #tunnelVariance, #tunnelQuantity, #tunnelBackupQuantity,
#tunnelDepthOut, #tunnelVarianceOut, #tunnelQuantityOut, #tunnelBackupQuantityOut,
#leasesetKey {
     margin: 5px !important;
     width: calc(100% - 10px) !important;
}

.tunnelConfig select, select#profile select#connectionProfile {
     margin: 5px !important;
}

textarea[name="accessList"], #hostField, #localDestination, .authentication {
     width: calc(100% - 10px) !important;
     margin: 5px !important;
}

#userAgents, #leasesetKey {
     width: calc(100% - 10px) !important;
}

.tunnelConfig td > b {
     min-width: 30px;
     display: inline-block;
     margin-left: 5px;
}

.tunnelDestination {
     padding-bottom: 1px !important;
     border-bottom: 1px solid transparent !important;
}

_:-ms-lang(x), .tunnelDestination {
     border-bottom: none !important;
}

_:-ms-lang(x), .tunnelDescription {
     border-top: none !important;
}

_:-ms-lang(x), .tunnelProperties {
     border-bottom: 1px solid #010 !important;
}

.tunnelDescription {
     padding-top: 1px !important;
}

.tunnelDestination b, .tunnelDescription b {
     color: #bb7;
}

td.tunnelDestination, td.tunnelDescription {
     background: #332940; /*linear-gradient(to right, #000 50%, #010);*/
}

/* end more space */

/* responsive layout */

@media screen and (max-width: 800px) {
.statusNotRunning, .statusRunning, .statusStarting {
     background-size: auto 14px;
}

#leasesetKey {
     height: 38px !important;
}

.port, .quantity, .period {
     width: 60px;
}

#clientHost, .host {
     width: 200px;
     min-width: 210px;
}
}

@media screen and (max-width: 1400px) {
h2, h3 {
     font-size: 11.5pt;
}
}

@media screen and (min-width: 1400px) {

body, td, a, button, input, .control, select, .freetext, textarea {
     font-size: 10pt !important;
}

h2, h3 {
     font-size: 12pt;
}

textarea#statusMessages, textarea#statusMessages:active, textarea#statusMessages:focus {
     font-size: 9pt;
}
}

/* end responsive layout */

/* TO DO: merge with main classes */

@media screen and (-webkit-min-device-pixel-ratio:0) { /* fixes chrome/blinkoverflow issue */
select {
     white-space: normal !important;
}
}

label {
     vertical-align: sub;
}

input[type="text"] + label {
     white-space: nowrap;
     vertical-align: unset;
}

#targetPort {
     margin-right: 10px !important;
}

#privKeyFile {
     min-width: 200px;
     width: 200px;
     width: calc(100% - 20px);
}

.displayText, .displayText:empty:hover, .displayText:empty:focus {
     font-family: "Droid Sans Mono", "Noto Mono", "Lucida Console", "DejaVu Sans Mono", monospace;
     width: calc(100% - 10px);
     width: 290px;
     overflow: hidden;
     text-overflow: ellipsis;
     white-space: nowrap;
     word-break: break-all;
     margin: 5px;
     padding: 4px;
     -moz-user-select: all;
     -webkit-user-select: all;
     -ms-user-select: all;
     user-select: all;
     border: 1px solid #494;
     border-radius: 2px;
     box-shadow: inset 0 0 3px 3px #000;
}

.displayText:hover, .displayText:focus {
     overflow: auto;
     text-overflow: clip;
     margin: 0.5px 5px;
     padding: 2px 4px;
     box-shadow: 0 0 1px #494;
     background: #000;
     color: #ff0;
     outline: none;
}

.displayText:empty, .displayText:empty:hover, .displayText:empty:focus {
     background: #000;
     box-shadow: inset 0 0 0 1px #000;
     color: #885;
     opacity: 0.8;
}

.displayText:empty::before {
     content: "";
     display: inline-block;
     min-height: 11px;
}

#registration .displayText {
     width: 500px;
}

#registration .infohelp {
     padding-top: 15px !important;
     padding-bottom: 15px !important;
}

#registration input[type="file"] {
     margin-top: 5px;
     margin-bottom: 5px;
}

#registration td {
     padding: 8px;
}

#oldName, #altPrivKeyFile {
     width: 45% !important;
}

@media screen and (max-width: 800px) {
.displayText, .displayText:empty:hover, .displayText:empty:focus {
     width: 260px;
     font-size: 8pt;
}
}

@media screen and (min-width: 1000px) {
.displayText, .displayText:empty:hover, .displayText:empty:focus {
     width: 386px;
}

#registration .displayText {
     width: 600px;
}
}

@media screen and (min-width: 1500px) {
.displayText, .displayText:empty:hover, .displayText:empty:focus {
     width: 552px;
}

#registration .displayText {
     width: 800px;
}
}

