/*
Theme Name: AHDB Child
Template: enfold
Author: Child Theme Configurator
Version: 5.7.1.1725098099
Updated: 2024-08-31 10:54:59

*/

/* Carousel Acc Fix */
.psac-slider-and-carousel .owl-dots .owl-dot {
	width:44px!important;
	height:44px!important;
	margin-top:50px;
	margin-right:10px;
	margin-left:10px;
}

/* Page Headings Weight */
h1 {
	font-weight:strong!important;
}

/* Links Underline */
p a {
	text-decoration:underline!important;
}

/* Popup Adjusts */
.brave_popup .brave_element.brave_element--form .brave_element__form_inner {
    padding: 15px;
    position: relative;
    overflow: visible!important;
}

#brave_popup_6617__step__0 #brave_element--OK0kGa94UtdR-GRyGkH .brave_form_field {
    margin: 1.5px 0px!important;
    line-height: 18px;
}

/* Padding Fix */
.first-icon.av_one_fifth {
	width:15%!important;
}

/* Accessibility Fix */
@media only screen and (min-width: 769px) {
#pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a {
  width: 50px;
  height: 50px;
	border:solid;
	border-color:white;
	}}

@media only screen and (max-width: 768px) {
#pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a{
  width: 60px;
  height: 60px;
	border:solid;
	border-color:white;
	padding-left:20px!important;
	padding-top:20px;
	}}

@media only screen and (max-width: 768px) {
#pojo-a11y-toolbar .pojo-a11y-toolbar-toggle svg{
  transform: scale(3)!important;
	}}

/* Icon fix */
.beef-icons p, .lamb-icons p {
	margin-top:17px!important;
}

.iconlist_icon {
	font-size:50px!important;
}

.redT-icons {width:200px;}

.redT-icons-2 {width:110px;}

.redT-icons-3 {width:115px;}

.redT-icons-4 {width:80px;}

/* Mobile Adjustments */
@media only screen and (max-width: 1100px) {
    .icon-column, .av_three_fifth, .exportPhoto .container img, 
    #av_section_2, #av_section_7, #av_section_9, #av_section_13, 
    #av_section_14, #av_section_15, .container {
        padding-right: 5px !important;
        padding-left: 5px !important;
    }

    .responsive .logo img, 
    .responsive .logo svg {
        height: auto !important;
        width: auto;
        max-width: 100%;
        display: block;
        max-height: 120px;
        padding: 20px 0;
	}}

/* Remove header border */
#top #header_main {
    border: none;
}

/* Mission Section Styling */
.mission .av-section-color-overlay {
    height: 100% !important;
    top: 0;
}

.mission .av-section-cont-open {
    padding: 100px 0;
}

/* Section Borders */
.latest-posts,
.exportPhoto,
.mission {
    border-top: 6px solid red !important;
}

.mission {
    border-bottom: 6px solid red !important;
}

/* Hero Section */
.hero-title {
    padding-top: 50px !important;
}

/* Cell Width Override */
@media only screen and (min-width: 768px) {
    .av_one_fifth {
        width: 10% !important;
    }

    .av_three_fifth {
        width: 79% !important;
        margin-left: 0 !important;
    }
}

/* Logo Padding */
.av-logo-container img {
    padding-top: 40px;
}

/* Burger Menu Activation */
@media only screen and (max-width: 1100px) {
    #top #header .av-main-nav > li.menu-item {
        display: none !important;
    }

    #top #header .av-burger-menu-main {
        cursor: pointer;
        display: block !important;
    }
}

/* Headings Styling */
h1, h2, h3, h4 {
    text-transform: none !important;
}

/* Homepage Menu Font */
@media only screen and (min-width: 1100px) {
.home .avia-menu-text,
.page-id-6053 .avia-menu-text {
    color: #ffffff !important;
	}}

@media only screen and (min-width: 1100px) {
.home #menu-item-search a,
.page-id-6053 #menu-item-search a {
    color: #ffffff !important;
	}}

/* Homepage Hero Overlay */
.hero .av-section-color-overlay-wrap {
    background: linear-gradient(90deg, rgba(4, 4, 63, 0.8) 0%, rgba(4, 4, 64, 0) 50%);
}

.hero .av-section-color-overlay {
    background: linear-gradient(180deg, rgb(30, 80, 160) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.6 !important;
}

/* Export Tables */
.export-table h3 {
    font-size: 20px;
}

/* Export Section Padding */
@media only screen and (min-width: 768px) {
    .exportPhoto .container {
        padding: 0 50px !important;
    }
}

/* Mobile font sizes */
@media only screen and (max-width: 768px) {
    h1 {
        font-size:35px !important;
    }
}

@media only screen and (max-width: 768px) {
    h2 {
        font-size:25px !important;
    }
}

@media only screen and (max-width: 768px) {
    p, li, a {
        font-size:16px !important;
    }
}

/* Red Line Page Hero */
.top-right,
.bottom-left {
    background-size: 100% 100%;
}

/* Mouseover Effect */
.diagonal-container img.avia_image:hover {
    filter: brightness(125%);
    cursor: pointer;
}

/* Header Right */
.header-right {
    background-size: contain !important;
    background-position: right;
    z-index: 999 !important;
    background-color: #04043F;
}

/* Menu Underline */
.avia-menu-fx {
    bottom: 60px !important;
    width: 70%;
    left: 15%;
    height: 5px;
}

/* Front Page Blog */
.blog-hp .av-masonry-image-container {
    background-size: contain;
    background-position: top !important;
}

.blog-hp .av-masonry-entry-title {
    min-height: 60px;
}

.blog-hp .av-inner-masonry-content {
    background-color: #ffffff !important;
    color: #000000;
}

.blog-hp .av-masonry-date {
    color: #000000;
}

.blog-hp .slide-image img {
    max-height: 250px;
    object-fit: contain !important;
}

.blog-hp .slide-entry-title {
    min-height: 92px;
}

.blog-hp .read-more-link a {
    color: #EB0000;
}

/* Blog Page Image */
.blog-page .slide-image img {
    max-height: 240px;
    object-fit: contain !important;
}

/* Remove Lightbox on Latest Posts */
.image-overlay {
    visibility: hidden;
}

/* Front Page Grid */
.frontpage-grid .avia_image {
    border-radius: 0;
}

/* Front Page Events */
.events-hp .psac-post-short-content,
.events-hp .psac-post-meta {
    color: #000000;
}

.events-hp .psac-post-slides {
    flex-direction: row-reverse !important;
}

.psac-post-slider.psac-design-2 .psac-post-left {
    padding-right: 0px;
}

/* Events Section */
.events-code .psac-post-title,
.blog-hp .slide-entry-title {
    color: #04043f;
}

/* Footer Socials */
.av-share-box-list .av-social-link-facebook {
    padding-right: 20px !important;
}

.av-social-sharing-box.av-social-sharing-box-same-width .av-share-box ul li a {
    width: 65px;
    height: 65px;
}

/* Footer Logo Size */
.footer-logo img {
    width: 50% !important;
    margin-top: 20px;
}

/* Contact Form */
#top .avia_ajax_form input[type=checkbox] {
    float: left;
    margin-right: 8px;
    top: 8px;
    position: relative;
}

#top label {
    font-weight: normal;
    font-size: 0.92em;
}