/* Site-wide theme overrides shared by every page. Previously repeated inline in each page <head>. */

/* Theme: header logo size (desktop) */
@media screen and (min-width: 992px) {
    header.main-header .header-logo img {
        max-height: 110px;
    }
}

.post-entry-meta {
    display: none;
}

.event-author, .event-comment, .event-view {
    display: none;
}

.entry-post-meta-wrap ul.entry-meta .entry-meta-author, 
.entry-post-meta-wrap ul.entry-meta .entry-meta-comment,
.entry-post-meta-wrap ul.entry-meta .entry-meta-view {
    display: none;
}

.page-title-wrap {
    background-color: transparent;
}

.entry-thumbnail a.entry-thumbnail-overlay:before, .tribe-events-calendar-list__month-separator,
.ourteacher-avatar a:before{
    display: none !important;
}

/* Custom background colour */
body.custom-background { background-color: #000000; }

/* Site custom CSS (was Customizer "Additional CSS") */
@media (max-width: 767px){
.primary-sidebar.sidebar.right-sidebar.col-md-3.hidden-sm.hidden-xs.sidebar-small {
    display: block !important;
}
}
.ourteacher-info a, .ourteacher-avatar a {cursor: default; pointer-events: none; text-decoration: none;}
.main-footer-wrapper {background-color:#ffe2a8;}
.main-footer-wrapper .main-footer {color:#000;}
.main-footer-wrapper .main-footer a, .main-footer-wrapper .main-footer a:hover, .tribe-events-content a:hover {color:#337ab7;}
.main-footer-wrapper .main-footer a:hover {color:#dd3333;}
ul.breadcrumbs i, ul.breadcrumbs li a, ul.breadcrumbs li span, ul.breadcrumbs li + li::before {color:#000;}
.primary-sidebar.sidebar.right-sidebar a, .tribe-events-content a {color:#337ab7;}
.primary-sidebar.sidebar.right-sidebar a:hover {color:#dd3333;}
.g5plus__single-event-wrap .tribe-events-single-event-description p {margin:0 0 30px;}
.tribe-events-content a {border-bottom:none;}
.page-title-wrap-bg, .page-title-parallax {z-index:0;}

/* Page background and footer colours */
body{background-repeat:no-repeat;background-size:cover;background-attachment:fixed;background-position:center center;}.site-loading{background-color:#ffffff;}body{font-family:Roboto;line-height:24px;font-weight:400;font-style:normal;font-size:13px;}h1{font-family:Oswald;line-height:48px;font-weight:700;font-style:normal;font-size:36px;}h2{font-family:Oswald;line-height:39px;font-weight:700;font-style:normal;font-size:29px;}h3{font-family:Oswald;line-height:29px;font-weight:400;font-style:normal;font-size:22px;}h4{font-family:Oswald;line-height:23px;font-weight:400;font-style:normal;font-size:17px;}h5{font-family:Oswald;line-height:17px;font-weight:400;font-style:normal;font-size:13px;}h6{font-family:Oswald;line-height:15px;font-weight:400;font-style:normal;font-size:11px;}{font-family:Oswald;}{font-family:Roboto;}{font-family:Oswald;}

/* WPBakery: button spacing */
.vc_do_btn{margin-bottom:22px;}

/* Site-wide additions on top of the Academia theme: News layout + responsive safeguards. */

/* ---- Responsive safeguards ---- */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
main img, main video, main embed, main object { max-width: 100%; height: auto; }
main iframe { max-width: 100%; }
main a, main p, main li { overflow-wrap: anywhere; }
main iframe[src*="youtube"], main iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
main iframe[src*="calendar.google.com"] { width: 100%; height: 600px; }
main table { max-width: 100%; }
.header-mobile-nav a, .nav-menu-mobile a { min-height: 44px; }

@media (max-width: 767px) {
  main table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  main [style*="width: 310px"], main [style*="width:310px"] { width: 100% !important; max-width: 310px; }
  .page-title-inner .m-title h2, .archive-title-inner .m-title h2 { font-size: 28px; line-height: 1.2; }
  .footer-sidebar { margin-bottom: 20px; }
  .footer-sidebar .widget_text > .textwidget > div > div { float: none !important; display: inline-block; margin: 0 12px 8px 0 !important; }
  main iframe[src*="calendar.google.com"] { height: 480px; }
}

/* ---- News (year archive) ---- */
.news-years ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.news-years a { display: inline-block; padding: 8px 14px; border: 1px solid #ccc; border-radius: 4px; color: inherit; text-decoration: none; line-height: 1.2; }
.news-years a span { opacity: .6; font-size: .85em; }
.news-years a:hover, .news-years a.current { background: #333; border-color: #333; color: #fff; }
.news-year-heading { margin: 0 0 16px; }
.news-item { padding: 16px 0; border-top: 1px solid #e5e5e5; }
.news-item .entry-post-title { margin: 0 0 6px; }
.news-meta { font-size: .9em; opacity: .75; margin-bottom: 8px; }
.news-meta .news-author { margin-left: 12px; }
.news-excerpt { margin: 0; }

/* ---- Sidebar links (Popular Links) are blue on every page, left or right sidebar ---- */
.primary-sidebar.sidebar .widget a { color: #337ab7; }
.primary-sidebar.sidebar .widget a:hover { color: #dd3333; }

/* ---- Global footer: breathing room above the content ---- */
.main-footer-wrapper { padding-top: 20px; }
