/* Theme Name: Oldbridge */

* {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
    text-decoration: none;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}
body {
    line-height: 1;
}
a {
    color: inherit;
    background-color: transparent;
}
img {
    max-width: 100%;
    height: auto;
    opacity: 1;
    border-style: none;
}
ol,
ul {
    list-style: none;
}
blockquote,
q {
    quotes: none;
}
blockquote:after,
blockquote:before,
q:after,
q:before {
    content: "";
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1;
    margin: 0;
}
pre {
    white-space: pre;
    white-space: pre-wrap;
    white-space: pre-line;
    word-wrap: break-word;
}
body,
li,
p {
    font-size: 18px;
    line-height: 1.4;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
li,
p {
    font-family: Apercu, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Helvetica, Arial, sans-serif, Apple Color Emoji;
}
strong {
    font-weight: 700;
}
em {
    font-style: italic;
}
strike {
    text-decoration: line-through;
}
html {
    background-color: #242b3b;
}
body,
html {
    height: 100%;
}
body {
    width: 100%;
    -webkit-font-smoothing: antialiased;
    font-family: Apercu, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Helvetica, Arial, sans-serif, Apple Color Emoji;
    background-color: #fff;
    color: #fff;
    font-variant-numeric: oldstyle-nums;
}
body.lock {
    overflow: hidden;
}
.page-content {
    margin: 20px 0;
    max-width: 650px;
}
.page-content p {
    line-height: 1.5;
    margin-bottom: 1em;
}
.document-holder {
    padding: 20px;
    background-color: #e8eef2;
    max-width: 890px;
    display: block;
}
.document-holder table {
    width: 100%;
}
.document-holder table tr {
    border-bottom: 1px solid #b7c7d3;
}
.document-holder table tr td {
    padding: 10px 5px;
}
.document-holder table tr td:first-child {
    padding-left: 10px;
    width: 40px;
}
.document-holder table tr td a {
    color: #0e114f;
}
.document-holder table tr td a:hover {
    text-decoration: underline;
}
main {
    display: block;
    height: calc(100% - 260px);
    position: relative;
    background-color: #fff;
    color: #0e114f;
}
main .wrapper {
    max-width: 1240px;
    width: 100%;
    padding-top: 20px;
    margin: 0 auto;
}
main .wrapper h1 {
    font-size: 36px;
    font-weight: 700;
}
.wrapper {
    max-width: calc(100% - 60px);
    margin: 0 auto;
    position: relative;
    max-width: calc(100% - 30px);
}
.page-content a:hover {
    text-decoration: underline;
}
@media (min-width: 680px) {
    .wrapper {
        max-width: calc(100% - 30px - (3000vw - 20400px) / 1240);
    }
}
@media (min-width: 1920px) {
    .wrapper {
        max-width: calc(100% - 60px);
    }
}
.button-small {
    display: inline-block;
    position: relative;
    color: #fff;
    font-size: 12px;
    background-color: #f83c3a;
    padding: 8px 10px 7px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
    margin-top: 10px;
}
@media screen and (min-width: 680px) {
    .button-small {
        margin-top: calc(1.6129vw - 0.96774px);
    }
}
@media screen and (min-width: 1920px) {
    .button-small {
        margin-top: 30px;
    }
}
@media (max-width: 680px) {
    .button-small {
        padding: 8px 18px 7px;
    }
}
.button {
    display: inline-block;
    position: relative;
    color: #fff;
    font-size: 15px;
    background-color: #f83c3a;
    border: 1px solid #f83c3a;
    padding: 10px 25px 9px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 20px;
    font-weight: 800;
    margin-bottom: 20px;
}
.button:hover {
    background-color: #fff;
    color: #f83c3a;
}
.nav-wrapper {
    background-color: #fff;
    border-top: 10px solid #160f76;
}
nav {
    display: block;
    top: 0;
    width: 100%;
    z-index: 10;
}
nav .inside-nav-wrapper {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
}
nav h1 {
    color: #0e114f;
    font-size: 52px;
    font-weight: 900;
    max-width: 1240px;
    padding-top: 20px;
    margin: 0 auto 20px;
}
nav h1 a:hover {
    text-decoration: underline;
}
nav h1 > span {
    text-transform: none;
    font-weight: 300;
    font-size: 24px;
    display: block;
}
nav h1 > span:first-of-type {
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}
nav > ul {
    background-color: #160f76;
}
nav ul {
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
}
nav ul li {
    position: relative;
    display: inline-block;
}
nav ul li a {
    padding: 10px 20px 9px;
    background-color: #160f76;
    display: block;
    color: #e8eef2;
    font-weight: 400;
    border-right: 1px solid #3e3891;
}
nav ul li a:hover {
    background-color: #1c32bf;
}
nav ul li ul {
    display: none;
    z-index: 1;
    position: absolute;
    top: 45px;
    width: 100%;
    min-width:245px;
    color: #0e114f;
    font-weight: 300;
}
nav ul li ul:first-of-type li {
    width: 100%;
}
nav ul li ul:nth-of-type(2) {
    border-right: 1px solid red;
}
nav ul li ul li {
    width: 180px;
}
nav ul li ul li:hover ul {
    display: block;
}
nav ul li ul li a {
    background-color: #e8eef2;
    border: 0 solid transparent !important;
    color: #0e114f;
}
nav ul li ul li a:hover {
    background-color: #b7c7d3;
    border: 0 solid transparent !important;
}
nav ul li ul li ul {
    width: 250px;
    position: absolute;
    left: 100%;
    top: 0;
    display: none;
}
nav ul li ul li ul li {
    width: 250px;
}
nav ul li:hover > ul {
    display: block;
}

nav ul li:first-child a {
    border-left: 1px solid #3e3891;
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #242b3b;
    display: none;
}
.modal.visible {
    display: block;
    z-index: 1;
}
.modal .center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}
.modal .center.search-form {
    max-width: calc(100% - 40px);
    margin: 0 auto;
    width: 500px;
}
.modal .close {
    color: #fff;
    position: absolute;
    top: 30px;
    right: 20px;
    line-height: 0;
    font-size: 32px;
    cursor: pointer;
}
footer {
    background-color: #0e114f;
    font-weight: 700;
    color: #e8eef2;
    font-size: 14px;
}
footer .wrapper {
    max-width: 1240px;
    padding: 10px;
    width: 100%;
    margin: 0 auto;
}
main {
    height: auto;
}
