@font-face {
    font-family: 'FoundrySterlingBook';
    src: url('../fonts/FoundrySterling-Book.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FoundrySterlingHeadLight';
    src: url('../fonts/FoundrySterling-Light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FoundrySterlingHeadBold';
    src: url('../fonts/FoundrySterling-ExtraBold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
    font-family: 'FoundrySterlingBook', Arial, sans-serif;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #4B87E0;
}

.form-check-input:checked {
    background-color: #0A34A1;
    border-color: #0A34A1;
}

body {
    margin-bottom: 60px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'FoundrySterlingHeadBold', sans-serif;
}

a {
    color:#0A34A1;
}
    a:hover, a:active, a:focus {
        color: #0A34A1;
    }

.btn {
    background-color: #0A34A1;
    border-color: #0A34A1;
}

    .btn:focus, .btn:hover {
        background-color: #4B87E0;
        border-color: #4B87E0;
    }

.btn-secondary {
    background-color: #2F3135;
    border-color: #2F3135;
}
    .btn-secondary:focus, .btn-secondary:hover {
        background-color: #646768;
        border-color: #646768;
    }

.btn-primary.disabled, .btn-primary:disabled {
    background: #83878D;
    border-color: #83878D;
}

.logo-img {
    width: 100px;
}

.servicemessages-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

    .servicemessages-list li {
        margin-bottom: 40px;
        padding-bottom: 40px;
        border-bottom: 1px solid gray;
        position: relative;
    }

.servicemessage-header {
    margin: 0 0 5px 0;
}

.servicemessage-published {
    margin: 0 0 20px 0;
    font-size: 0.9rem;
}

.servicemessage-text {
    white-space: pre-line;
    margin: 0 0 30px 0;
}

.servicemessage-publisher {
    font-size: 0.9rem;
}

.sevicemessage-edit-button {
    position: absolute;
    right: 0;
    bottom: 20px;
}

.servicemessage-add-container {
    margin-bottom: 40px;
}

.servicemessages-related-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

    .servicemessages-related-list li {
        margin-bottom: 5px;
    }

.servicemessages-addloading {
    margin: 10px 0;
    text-align: right;
    color: green;
}

.servicemessage-edit-container {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
}

.servicemessage-edit-inner-container {
    position: fixed;
    top: 100px;
    width: 600px;
    left: calc(50% - 250px);
    background: white;
    padding: 20px;
    box-shadow: 0 0 30px 4px #dedede;
}

.servicemessag-edit-close {
    font-size: 30px;
    position: absolute;
    top: 5px;
    right: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.servicemessages-filter-container {
    margin: 0 0 40px 0;
    padding: 20px 0 0 0;
    border-bottom: 1px solid #dedede;
    border-top: 1px solid #dedede;
}

.servicemessages-filter-button {
    margin-bottom: 20px;
}

.alert-warning {
    background:#FFE68B;
    color:#2F3135;
}