/* Base styles */
body {
    font-size: 16px;
    font-weight: normal;
}

h1,
.h1 {
    font-weight: 300;
    font-size: 60px;
    border-bottom: 2px solid #e64626;
}

h2,
.h2 {
    font-size: 48px;
}

.vertical-center{
    display: flex;
    align-items: center;
}

/* Header styles */
.midbar {
    position: relative;
    box-shadow: 0 3px 6px #00000029;
    margin-bottom: 20px;
}

.main-brand {
    text-align: center;
}

.main-logo {
    display: inline-block;
    width: 70%;
    padding-top: 5px;
}

.main-logo img {
    width: 100%;
}

.main-logo .main-logo-image {
    display: none;
}

.main-logo .main-logo-image-white {
    display: block;
}

@media (min-width: 992px) {
    .main-logo .main-logo-image {
        display: block;
    }

    .main-logo .main-logo-image-white {
        display: none;
    }

    .mobile-only {
        display: none;
    }
}

/* Navigation styles */
.navbar-nav .nav-link {
    font-size: 23px;
    font-weight: normal;
}

.search-archive-button {
    background-color: #000000;
    color: #ffffff;
    font-size: 24px;
    padding: 0.5em 0.5em;
}

.search-archive-button i {
    color: #e64626;
}

a.search-archive-button:hover {
    color: #ffffff;
}

/* Breadcrumb styles */
.breadcrumb,
.breadcrumb a {
    font-size: 24px;
    font-weight: 300;
}

.breadcrumbs__current {
    color: #e64626;
}

/* Button styles */
.btn {
    /*font-size: 24px;*/
    /*font-weight: bold;*/
}

.btn .fa {
    /*margin-right: 0.6em;*/
}

.btn-outline-primary {
    color: #333;
}

.btn-outline-primary .fa {
    color: #e64626;
}

.btn-outline-primary:hover .fa {
    color: #ffffff;
}

.tile-button {
    display: inline-flex;
    align-items: center;
    width: 320px;
    height: 240px;
    border-radius: 0;
    border: none;
    padding: 40px;
    text-align: left;
    font-size: 65px;
    font-weight: bold;
    font-style: italic;
    line-height: 110%;
    color: #ffffff;
    background-color: #f6875f;
    overflow: hidden;
}

.tile-button a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
}

.tile-button a:hover {
    color: #ffffff;
    text-decoration: none;
}

.omaa-tile {
    font-family: Antwerp, Georgia, serif;
}

/* Tab styles */
.nav.nav-tabs {
    border: none;
    gap: 0 3px;
}

.nav.nav-tabs .nav-item .nav-link {
    font-size: 24px;
    color: #707070;
    border: 1px #707070 solid;
    border-bottom: none;
}

.nav.nav-tabs .nav-item .nav-link.active {
    background-color: #e64626;
    color: #ffffff;
    border: 1px #e64626 solid;
    border-bottom: none;
}

.omaa-tab-content {
    margin-bottom: 3em;
}

.omaa-tab-content .tab-pane {
    padding: 2em 3em;
    border: 1px #e64626 solid;
}

.omaa-tab-content .omaa-tab-pane {
    padding: 2em 3em;
    background-color: #faf0d6;
    border: none;
}

.omaa-tab-content .omaa-tab-pane table.table {
    border: none;
}

.omaa-tab-content .omaa-tab-pane table.table tr:nth-child(odd) {
    background-color: #ffffff;
}

.omaa-tab-content .omaa-tab-pane table.table td {
    border-top: none;
    border-bottom: none;
    max-width: 140px;
    word-wrap: break-word;
}

.nav.nav-tabs-small .nav-item .nav-link {
    font-size: 16px;
    color: #707070;
    border: 1px #707070 solid;
    border-bottom: none;
}

/* Control styles */
.custom-control-label:after,
.custom-control-label:before {
    top: 0.35em;
}

/* Post list styles */
.post-list {
    margin-bottom: 1em;
}

.post-list-item {
    margin-bottom: 1em;
}

.post-list-item-head {
    margin-bottom: 1em;
}

.post-list-item-title,
.post-list-item-author {
    display: inline-block;
    font-size: 24px;
}

.post-list-item-author {
    margin-left: 2em;
}

/* Source embed */
.omaa-text-source {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 1em;
}

.omaa-text-source iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.omaa-text-source img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: contain;
}

.omaa-text-source .source-embed-text {
    font-size: 24px;
    font-weight: normal;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 30%;
}

/* File embed */
.omaa-text-files-container .tab-content .tab-pane {
    position: relative;
    padding: 0;
    border: none;
    overflow: hidden;
}

/* Utility styles */
.line-below {
    border-bottom: 2px solid #e64626;
    padding-bottom: 10px;
}

.margin-top-2 {
    margin-top: 2em;
}

.omaaModal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 600px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 20px;
}

.modal-content {
    position: relative;
    border: none !important;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

.custom-control.custom-checkbox .custom-control-label.custom-label-top:before,
.custom-control.custom-checkbox .custom-control-label.custom-label-top:after {
    top: 0.2em !important;
}

.comment-list {
    padding: 1rem;
    border: 2px solid black;
    background-color: white;
}

@media (min-width: 992px) {
    #jsPrimaryMenu .navbar-nav .nav-link {
        border-left: 0;
    }
    #jsPrimaryMenu .navbar-nav > .nav-item > .nav-link {
        border-left: 1px solid #333;
    }
}

.navbar-nav .nav-item {
    position: relative !important;
}

.wp-block-post-title {
    padding-top: 1rem !important;
}

table,
th,
td {
    border: #ced4da 1px solid;
    padding: 10px;
}

th {
    background-color: #c3c3c3;
}

tr:nth-child(odd) {
    background-color: #f2f2f2;
}

table.center {
    margin-left: auto;
    margin-right: auto;
}

#omaa-success-message {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
}