@font-face 
{
    font-family: "Roboto";
    src: url('roboto.ttf');
}

body 
{
  font-size: 12pt;
  font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;
}

@media (max-width: 768px) {
    body
    {
        font-size: 14pt;
    }
}

/* -- General Bootstrap Overrides -- */

.btn
{
    transition: background-color ease 0.5s, border-color ease 0.5s, color ease 0.5s;
}

.text-bg-primary {
  background-color: #d62027 !important;
}

.bg-primary {
  background-color: #d62027 !important;
}

.text-primary {
  color: #d62027 !important;
}

.border-primary {
  border-color: #d62027 !important;
}

.btn-primary {
  background-color: #d62027 !important;
  border-color: #d62027 !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #e64a19 !important;
  border-color: #e64a19 !important;
}

.btn-outline-primary {
  color :#d62027;
  border-color: #d62027 !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: #e64a19 !important;
  border-color: #e64a19 !important;
}

/* Background color overrides */
.bg-dark {
  background-color: #434343 !important;
}

.navbar-dark {
  background-color: #434343 !important;
}

/* If using text color utilities with .bg-dark */
.bg-dark.text-light,
.bg-dark .text-light {
  color: #f8f9fa !important;
}

/* Navbar links and toggler in dark navbars */
.navbar-dark .navbar-nav .nav-link {
  color: #f8f9fa !important;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: #ffffff !important;
}

.navbar-dark .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.1);

}

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28 255, 255, 255, 0.5 %29)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  width: 100%;
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
  margin-right: auto;
  margin-left: auto;
}

/* Max widths at breakpoints */

@media (min-width: 576px) {
  .container,
  .container-sm {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container,
  .container-sm,
  .container-md {
    max-width: 700px;
  }
}

@media (min-width: 992px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg {
    max-width: 900px;
  }
}

@media (min-width: 1200px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl {
    max-width: 1000px;
  }
}

@media (min-width: 1400px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    max-width: 1200px;
  }
}

h2 { font-size: 1.5em; }

/* -- */

.navbar-brand img
{
    max-height: 30px;
    width:      auto;
}

/* -- */

a
{
    color: #434343;
    transition: color ease 0.5s;
}

a:hover
{
    color: #d62027;
}


/* -- Restyle Navbar -- */

#main-menu .dropdown-menu 
{
    top: 100%;
    margin-top: 8px;

    background-color: #434343 !important;
    color: #f0f0f0;
}

#main-menu .dropdown-menu  .dropdown-item
{
    background-color: #434343 !important;
    color: #f0f0f0;
}

#main-menu .dropdown-menu  .dropdown-item
{
    transition: background-color ease 0.5s;
}

#main-menu .dropdown-menu  .dropdown-item:hover
{
    background-color: #d62027;
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

.navbar-dark .navbar-toggler {
  border-color: #d62027;
}

#wrapper-navbar
{
  margin-bottom: 4em;
}

/* -- Some generic utilities -- */
.bg-cover
{
    background-position: center;
    background-size: cover;
}

.bg-darken
{
    background-color: rgba(0, 0, 0, 0.8);
}

.bg-darkenish
{
    background-color: rgba(0, 0, 0, 0.5);
}

/* -- Homepage Tweaks -- */
#main article.type-post
{
    margin-bottom: 3em;
}

#main .local-in-post,
#main .aap-in-post
{
    margin-bottom: 3em;
}

/* @media (max-width: 992px) {
    #main article .entry-header
    {
        margin-top: 1em;
    }
} */

.entry-meta,
.entry-meta a
{
    font-style: oblique;
    color: #6d6d6d;
}

/* -- Post Tweaks -- */

.entry-content
{
    margin: 1.5em 0em;
}

.entry-content p
{
    margin-bottom: 1.5em;
}

/* Advert tweaking */
.pubti-content-1
{
    margin-bottom: 1.5em;
}

/* .post-hero-image
{
    height: 50vh;
    overflow: hidden;
}

.post-hero-image img
{
    height: 100%;
} */

@media (max-width: 992px) {
    figure.alignright
    {
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
    }

    figure.alignright img
    {
        width: 100% !important;
    }
}

.navigation.post-navigation
{
    margin-top: 3em;
    margin-bottom: 3em;
}

/* -- Placement Tweaks -- */

.local-highlight-wrapper img
{
    width: 100% !important;
    max-width: none;
}

/* -- Sidebar Tweaks -- */
#right-sidebar aside.widget
{
    margin-bottom: 2em;
}

#right-sidebar aside.widget.widget_mc4wp_form_widget
{
    border: solid 1px #d62027;
    padding: 1em;
    background-color: #f1e6e7;
}

/* -- Footer Tweaks -- */
.pubti-after-content
{
    margin-top: 2em;
}

.entry-footer
{
    margin-top: 2em;
    margin-bottom: 2em;
}

footer#site-footer
{
    padding-top: 5em;
    padding-bottom: 5em;

    background-color: #434343;
    color: #f0f0f0;
}

/* -- Load More Button Tweaks -- */
@media (max-width: 768px) {
    #load-more
    {
        margin-bottom: 3em;
    }
}



/* Advertisement Tweaks */

.homepage-before-posts-wrapper > div > div 
{
    height: 300px;
    width:  auto;
}



/* Pagination */

:root {
    --bs-pagination-focus-color: #d62027;
    --bs-pagination-active-bg: #d62027;
    --bs-pagination-active-border-color: #d62027;
    --bs-pagination-hover-color: #d62027;
    --bs-pagination-color: #d62027;
    --bs-link-hover-color: #d62027;
    --bs-link-color: #d62027;
}

