﻿* {
    font: inherit;
    box-sizing: border-box;
}

:root {
    --bs-border-radius: 3px;
    --bs-border-radius-lg: 5px;
    --bs-border-color: #dedede;
    --nav-bar-height: 40px;
}

/*Common properties*/
body {
    color: #333;
    font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.btn {
    min-width: 118px;
    height: 30px;
    font: inherit;
    line-height: 0.1em !important;
}

h1 {
    font-size: 32px;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 18px;
}

input[type=text], input[type=password] {
    height: 26px;
    padding: 0 5px;
    border-radius: 3px;
    font: inherit;
    border: solid 1px #dedede;
}

/*Elements view setup*/
html {
    height: 100%;
}

body {
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

label {
    font-weight: normal;
    white-space: nowrap;
    color: #666871;
}

form {
    width: 100%;
}

.header {
    font-size: 55px;
    margin-top: 38px;
    margin-bottom: 16px;
    line-height: 73px;
}

.logo {
    font-family: 'PolicyOneIcons';
    height: 46px;
    width: 46px;
    font-size: 46px;
    vertical-align: middle;
    margin-left: 24px;
    margin-top: 4px;
}

.policy {
    font-weight: 600;
    margin-left: -3px;
    margin-bottom: 16px;
}

.one {
    font-weight: 200
}

input[type="submit"] {
    width: 120px;
}

input[type="button"] {
    width: 140px;
}

.validation-summary-errors, .field-validation-error {
    color: #d04437;
    font-weight: normal;
    padding-top: 5px;
    word-break: break-word;
    overflow: hidden;
}

.validation-summary-errors ul {
    display: inline;
    list-style-type: none;
    padding: 0;
}

/* primary button color */
.btn.btn-primary {
    background-color: #3572b0;
    color: #fff;
    border: #3572b0 solid 1px;
}

.btn.btn-primary:hover {
    background-color: #2A67A5;
    border-color: #2A67A5;
}

.btn.btn-primary:disabled {
    background-color: rgb(81, 115, 148);
    border-color: rgb(81, 115, 148);
}

.btn.btn-primary:not(:disabled):active {
    background-color: rgb(42, 91, 141);
    border-color: rgb(42, 91, 141);
}

.form-check-input:disabled ~ .form-check-label {
    opacity: 0.7;
}

.form-check-input:disabled {
    background-color: #dedede;
    opacity: initial;
}

/* Broker Message */
div#brokermessage {
    z-index: 20000;
    position: fixed;
    bottom: 70px;
    left: 50px;
    width: 350px;
    margin: 20px;
    background: #ffffea;
    padding: 5px 10px 10px 10px;
    text-align: right;
    border: 1px solid gray;
    border-radius: 15px;
    box-shadow: 3px 5px 5px 0 rgba(21, 31, 87, 0.18);
}

div#brokermessage div#brokermessage-container {
    max-height: 500px;
    overflow-y: auto;
    word-wrap: break-word;
    text-align: left;
}

div#brokermessage button#brokermessage-close {
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
    -webkit-appearance: none;
    font-family: 'Helvetica Neue', Tahoma, Arial, sans-serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.2;
    filter: alpha(opacity=20);
}

.hidden {
    display: none !important;
}

input.otc-input {
    font-size: 25px;
    height: auto;
    letter-spacing: 10px;
    font-family: monospace;
}
