* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    background: #f5f5f5;
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a.adres {
    color: #cc6600;
    font-weight: bold;
}

a.end {
    color: #fff;
    font-size: 11px;
}

a.end:hover {
    color: #ffcc00;
}

.menu {
    background: #2c3e50;
    padding: 0;
}

.menu_logowanie {
    background: #34495e;
    color: #fff;
    padding: 10px;
    font-size: 12px;
}

.menu_logowanie form {
    margin: 0;
}

.menu_logowanie td {
    color: #fff;
    padding: 3px;
}

.menu_linki {
    background: #3498db;
    text-align: center;
    padding: 8px 0;
    border-bottom: 1px solid #2980b9;
}

.menu_linki a {
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    display: block;
    padding: 5px 15px;
}

.menu_linki a:hover {
    background: #2980b9;
    text-decoration: none;
}

.menu_kurs {
    background: #e8f4f8;
    border: 1px solid #b8d4e3;
    padding: 15px;
    text-align: center;
    font-size: 12px;
    color: #2c3e50;
}

.menu_kurs b {
    color: #e74c3c;
}

.okno {
    background: #fff;
    padding: 15px;
    vertical-align: top;
}

.gra, .gra2, .gra3 {
    text-align: center;
    padding: 5px;
    vertical-align: middle;
}

.gra {
    background: #f8f9fa;
}

.gra2 {
    background: #e9ecef;
    font-weight: bold;
    color: #495057;
    font-size: 12px;
}

.gra3 {
    background: #dee2e6;
}

.top_end {
    background: #2c3e50;
    text-align: center;
    padding: 10px 0;
}

strong, b {
    color: #e74c3c;
}

form input[type="text"],
form input[type="password"] {
    border: 1px solid #bdc3c7;
    padding: 4px 6px;
    font-size: 12px;
    width: 90px;
}

form input[type="submit"] {
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 5px 15px;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
}

form input[type="submit"]:hover {
    background: #c0392b;
}

img {
    border: 0;
    max-width: 100%;
}

br {
    line-height: 1.2;
}

body > table {
    margin: 0 auto;
}

body > br {
    display: none;
}

body > strong {
    display: inline;
}

td[width="19"] {
    width: 19px;
}

td[width="70"] {
    width: 70px;
}

td[width="100"] {
    width: 100px;
}

td[width="120"] {
    width: 120px;
}

td[width="140"] {
    width: 140px;
}

td[width="208"] {
    width: 208px;
}

td[width="523"] {
    width: 523px;
}

td[height="10"] {
    height: 10px;
}

td[height="25"] {
    height: 25px;
}

td[height="32"] {
    height: 32px;
}

td[height="50"] {
    height: 50px;
}

td[height="54"] {
    height: 54px;
}

td[height="160"] {
    height: 160px;
}

td[height="386"] {
    height: 386px;
}

body > table[width="750"] {
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

body > table[width="760"] {
    background: #2c3e50;
}

body > table[background="../img/menu_end2.gif"] {
    background: #2c3e50 !important;
}

body > br + strong,
body > br + b,
body > strong,
body > b {
    color: #2c3e50;
}

body > br + strong + b,
body > strong + b {
    color: #e74c3c;
}

body > br:last-of-type,
body > br:nth-last-of-type(2),
body > br:nth-last-of-type(3) {
    display: block;
}

body > b:last-of-type,
body > strong:last-of-type {
    color: #2c3e50;
}

body > br + b + br + br + br {
    color: #666;
    font-size: 11px;
}

body > br + br + br + b {
    color: #2c3e50;
}