/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* OneTrust Cookie Banner */

.ot-sdk-row {
    width: auto !important;
}

ol, ul {
    margin: 0 0 1.5em 20px;
}

.elementor-widget-container figure.wp-block-image {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#onetrust-consent-sdk #onetrust-pc-sdk #hosts-list-container .cookie-name-container a {
    color: green !important;
}

.elementor-message:before {
    content: "\e90e";
    display: inline-block;
    font-family: eicons;
    font-weight: 400;
    font-style: normal;
    vertical-align: middle;
    margin-right: 5px;
}

#filter-btn-handler {
    background-color: #dbdbdb !important;
    border-color: #295F83 !important;
}

ul#menu-primary-secondary-menu {
    float: right;
}

body .site-logo, body .site-branding {
    left: 0;
    transform: none;
    padding-left: 25px;
    margin-left: 0;
}

header .inside-header {
    max-width: 1500px;
    margin: 0 auto;
    position: relative;
}

nav .inside-navigation.grid-container {
    max-width: 1500px;
}

nav#site-navigation {
    max-width: 1500px;
}

.wp-block-media-text .wp-block-media-text__content {
    padding-left: 0;
}

.wp-block-media-text {
    margin-bottom: 1.5em;
}

.navigation-search input[type="search"] {
    width: 70%;
    float: right;
    border-bottom: 2px solid;
}

.menu-item-has-children .dropdown-menu-toggle {
    padding-right: 0;
}

#mobile-header button.menu-toggle {
    order: 4;
    background: #fff;
    margin-right: 10px;
}

.main-navigation .mobile-bar-items .search-item a {
    padding: 0;
    font-size: 16px;
}

.navigation-branding, .site-logo.mobile-header-logo {
    top: 0;
}

#mobile-header .main-nav {
    position: absolute;
    top: 56px;
    width: 100%;
    z-index: 2;
}

.post-block-padding {
    padding: 2.375em;
}

.frc-captcha {
    padding-bottom: 0 !important;
    background-color: inherit !important;
    border: none !important;
    margin-bottom: 25px !important;
    color: inherit !important;
}

.frc-content {
    overflow-x: hidden !important;
}

.frc-captcha span.frc-text {
    font-size: 12px;
    font-family: "Lato", sans-serif;
}

.site-footer .frc-captcha span.frc-text {
    font-size: 12px;
    color: #fff;
    font-family: "Lato", sans-serif;
}

.site-footer .frc-captcha .frc-icon {
    fill: #fff;
    stroke: #fff;
}

.frc-captcha .frc-icon {
    margin: 0 10px 0 0;
}

.site-footer .frc-captcha .frc-banner a, .site-footer .frc-captcha .frc-banner a b {
    color: #fff;
}

.frc-captcha .frc-banner {
    bottom: -20px;
    left: 44px;
}

.frc-captcha .frc-button {
    font-size: 16px;
    background-color: inherit;
    border: none;
    text-align: left;
    padding: 10px 0 0 0;
    color: inherit;
}

.site-footer .frc-captcha .frc-button {
    color: #fff;
}

.frc-captcha .frc-button:hover {
    background-color: inherit;
    text-decoration: underline;
}

@media screen and (max-width: 1200px) {
    .elementor-container.elementor-column-gap-default {
        overflow: hidden;
    }
}

@media screen and (max-width: 768px) {
    .katex-display {
        font-size: 12px;
    }
}

@media screen and (min-width: 735px) {
    #onetrust-pc-sdk.otPcPopup {
        max-width: 500px !important;
        min-width: 500px !important;
    }
}
