/*
Theme Name: Farmers Guide
Theme URI: http://unity.online
Description: Custom theme for built for Farmers Guide, Started August 2020
Author: Unity Dev Team
Author URI:  mailto:development@unity.online
Version: 1.1
*/
@import "https://www.farmersguide.co.uk/wp-content/themes/farmers-guide/includes/css/editor.css";


body {
    margin: 0;
    padding-top: 195px;
}

.error_404 {
    text-align: center;
    padding: 200px 0;
}

.wp_content > :first-child {
    margin-top: 0;
}

.wp_content > :last-child {
    margin-bottom: 0;
}

.default_padding {
    padding: 60px;
}

.padding_1600 {
    padding-left: calc(50% - 800px);
    padding-right: calc(50% - 800px);
}

.padding_1500 {
    padding-left: calc(50% - 750px);
    padding-right: calc(50% - 750px);
}

.padding_1400 {
    padding-left: calc(50% - 700px);
    padding-right: calc(50% - 700px);
}

.padding_1200 {
    padding-left: calc(50% - 600px);
    padding-right: calc(50% - 600px);
}

.padding_1000 {
    padding-left: calc(50% - 500px);
    padding-right: calc(50% - 500px);
}

.padding_900 {
    padding-left: calc(50% - 450px);
    padding-right: calc(50% - 450px);
}

.padding_600 {
    padding-left: calc(50% - 300px);
    padding-right: calc(50% - 300px);
}


.bg_light_grey {
    background: #F2F2F2;
}

.bg_light_blue {
    background: #EBF1F7;
}

.bg_blue {
    background: #DDE6EF;
}

.bg_yellow {
    background: #FFE074;
}

.bg_yellow > *, .bg_yellow a {
    color: #014F99;
}

.bg_dark_blue {
    background: #014F99;
}

.bg_dark_blue * {
    color: #fff;
}

.bg_dark_blue.fa_ctas * {
    color: inherit;
}

.fixed_header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    transition: 0.3s;
    z-index: 4;
}

body.scrolling .fixed_header {
    top: -125px;
}


.header {
    display: flex;
    align-items: center;
    background: left center / 333px 148px no-repeat url("data:image/svg+xml,%3Csvg width='333' height='148' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cmask id='a' maskUnits='userSpaceOnUse' x='0' y='0' width='333' height='148'%3E%3Cpath fill='%23014F99' d='M0 0h333v148H0z'/%3E%3C/mask%3E%3Cg mask='url(%23a)'%3E%3Cg opacity='.2'%3E%3Cpath d='M287 117c-12 22-38 21-78 4l-25-2c42 22 74 32 91 20l-7 8c-18 7-47-4-86-24l11 47-9-1-18-62c55 9 107 11 137-51l-2 10a87 87 0 01-56 51c22 4 38-2 47-18l-5 18z' fill='%23fff'/%3E%3Cpath d='M209 121c40 17 66 18 78-4l-12 22c-17 12-49 2-91-20l25 2zM204 73c33-12 67-25 98-61 8-10 17-11 9 0-22 31-52 49-78 60l-29 1zM63 50C7 28-52 14-100 52c7-12 15-23 23-31C-23 3 39 27 94 54l-31-4zM93 108c-26 19-41 54-40 112l-11-13c0-46 10-77 27-97l24-2z' fill='%23C91619'/%3E%3Cpath d='M157 76L123-39c5 1 7-20 12-18l32 121c61-14 125-51 181-105 0 0 28-17 32-21-10 21-48 53-63 68-36 37-83 57-113 67l29-1c33-15 61-32 87-87l-1 5c-23 48-45 64-72 80 26-6 50-22 67-56l-3 11c-33 67-92 63-154 51zM129 101l27 66c-3 0-3 5-6 5l-26-57c-27 13-44 35-50 74-7 8-15 18-21 31-1-58 14-93 41-112l-25 2c-17 20-27 51-27 97l-6-6c0-40 8-68 21-88-22 6-41 21-55 51l-10-11c30-63 81-61 137-52zM116 68C54 57-5 53-39 120l-10-11c17-34 41-50 68-56-36-7-71-5-102 19l-17-19v-1C-52 14 7 28 63 50l31 4C39 27-23 3-77 21l12-10C-13 2 44 25 95 50L72-2c5 1 5-20 10-19l34 89z' fill='%23fff'/%3E%3Cpath d='M166 107l18 62-28-2-27-66C74 92 22 90-8 153l-31-33c34-68 93-64 155-52L82-21c17 4 21-38 37-34l38 131c61 11 120 16 154-52l-8 31c-30 63-82 61-137 52z' fill='%23C91619'/%3E%3C/g%3E%3Cpath fill='url(%23paint0_linear)' d='M80-4h257v163H80z'/%3E%3C/g%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear' x1='337' y1='73' x2='80' y2='72.4' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23014F99'/%3E%3Cstop offset='1' stop-color='%23014F99' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E") #014F99;
    height: 125px;
    position: relative;
    z-index: 1;
}

.logo {
    width: 360px;
    height: 100px;
    background: center / 360px no-repeat url("https://www.farmersguide.co.uk/wp-content/themes/farmers-guide/includes/img/FG_plus_tagline_white.png");
    overflow: hidden;
    text-indent: -999px;
    margin: 0 auto 0 0;
}

@media (max-width: 1250px) {
    .logo {
        margin-right: 15px;
    }
}

.weather-header {
    text-align: center;
    width: 120px;
    color: #B3CAE0;
    font-size: 13px;
    text-transform: uppercase;
    margin: 0 25px;
}

.weather-header p {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.weather-header a {
    color: #fff;
}

.weather-header p strong {
    font-size: 14px;
    color: #fff;
}

.weather-header p span {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 8px;
}

.weather-header .icon {
    display: block;
    width: 120px;
    height: 60px;
    background: center / 70px 57px no-repeat url("data:image/svg+xml,%3Csvg width='70' height='57' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M45 35.2l.3 1.2.4 3.6c0 1-.2 2-.4 3l-.6 3c-.2.8-1 1.3-1.8 1.2l-.3-.1a1.6 1.6 0 01-1.2-2v-.2c.3-.8.5-1.6.5-2.5.2-.8.3-1.6.3-2.5a18 18 0 00-1-5.4l-.1-.3c-1.2-3.1-3.3-5.8-6-7.5A16 16 0 0014.5 28C11.7 31 10 34.8 9.6 39l-.2 1.7H7.9c-2.2 0-4.2.9-5.6 2.5A7.3 7.3 0 000 48.6c0 2 .9 4 2.3 5.6A7.9 7.9 0 008 56.4c16 0 33.2-.6 49.2 0 1.4 0 2.7-.5 3.6-1.6 1-1 1.6-2.2 1.5-3.6 0-1.4-.5-2.7-1.5-3.7a6 6 0 00-3.7-1.5h-1.5l-.1-1.5a11 11 0 00-3.6-6.7c-2-1.6-4.4-2.5-6.9-2.6z' fill='%23fff'/%3E%3Cpath d='M66 37.3c.6.5.8 1.5.3 2.2-.5.6-1.3.8-2 .4l-2.1-1.1a1.5 1.5 0 01-.5-2.1c.4-.8 1.3-1.1 2-.7l2.2 1.3zm-44.4-22c-.8-.4-1-1.4-.7-2.2.5-.7 1.4-1 2.2-.5l2.3 1.3a1.5 1.5 0 01-1.6 2.6l-2.2-1.1zM30 5.8a1.5 1.5 0 012.6-1.6L34 6.2c.6.7.5 1.7-.2 2.3a1.6 1.6 0 01-2.5-.6L30 5.7zm12.1-4c0-.9.5-1.6 1.4-1.7 1 0 1.6.6 1.7 1.4v2.7c0 1-.7 1.6-1.6 1.6-.9 0-1.5-.8-1.5-1.6V1.6zM54.8 4c.5-.6 1.5-.7 2.2-.2.5.5.7 1.2.4 1.8L56.3 8c-.5.7-1.5 1-2.3.6-.8-.5-1-1.5-.5-2.3l1.3-2zm9.5 8.5c.7-.4 1.6-.2 2 .5h.1a1.6 1.6 0 01-.5 2.3l-2.1 1.2c-.7.4-1.6.2-2-.4l-.1-.1c-.5-.6-.4-1.5.2-2l.3-.1 2-1.4zm4 12.2c1-.1 1.6.5 1.7 1.4v.2c0 .8-.7 1.4-1.5 1.4h-2.6c-.9 0-1.6-.6-1.7-1.4 0-1 .8-1.7 1.7-1.7h2.5zM28.8 20.5a20 20 0 0115 11.4l1.1-.2c3.4 0 6.7 1.3 9.2 3.6 1 .8 1.6 1.2 2 1.8.6-.5 1-1.2 1.3-2a15.9 15.9 0 00.1-16.3 16.3 16.3 0 00-9.8-7.5c-4-1.1-8.5-.5-12.1 1.7a14.6 14.6 0 00-6.8 7.5z' fill='%23FFE074'/%3E%3C/svg%3E");
    background-size: 120px 90px;
}

@media (max-width: 1250px) {
    .weather-header {
        margin: 0 0 0 15px;
    }
}

.social_links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.social_links a {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: center / 8px 19px no-repeat url("data:image/svg+xml,%3Csvg width='8' height='19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1.7 19H5V9.5h2.5l.5-3H5V4.4C5 3.7 5.4 3 6 3h1.8V0H5.7c-3.3.1-4 2.1-4 4.2v2.3H0v3h1.7V19z' fill='%23fff'/%3E%3C/svg%3E") rgba(255, 255, 255, 0.1);
    overflow: hidden;
    text-indent: -999px;
    display: block;
    margin-right: 10px;
}

.header .social_links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.header .social_links {
    margin: 0;
}

.social_links li:last-child a {
    margin: 0;
}

.social_links a.instagram {
    background: center / 20px 20px no-repeat url("data:image/svg+xml,%3Csvg width='90' height='90' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M25 0h40c14 0 25 11 25 25v40c0 14-11 25-25 25H25C11 90 0 79 0 65V25C0 11 11 0 25 0zm40 82c9 0 17-8 17-17V25c0-9-8-17-17-17H25C16 8 8 16 8 25v40c0 9 8 17 17 17h40z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M22 45a23 23 0 1146 0 23 23 0 01-46 0zm8 0a15 15 0 1030 0 15 15 0 00-30 0z' fill='%23fff'/%3E%3Cpath d='M69 15a6 6 0 00-6 6 6 6 0 006 6l4-2a6 6 0 000-8l-4-2z' fill='%23fff'/%3E%3C/svg%3E") rgba(255, 255, 255, 0.1);
}

.social_links a.twiiter {
    background: center / 18px 18px no-repeat url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none'%3e%3cpath fill='white' d='M10.6 7.3 16.9 0h-1.5L9.9 6.3 5.5.1h-5L7 9.5.4 17.1H2l5.8-6.6 4.7 6.6h5l-6.8-9.8ZM8.5 9.6l-6-8.4h2.3L15.4 16H13L8.5 9.6Z'/%3e%3c/svg%3e") rgba(255, 255, 255, 0.1);
}

.social_links a.your_tube {
    background: center / 20px 16px no-repeat url("data:image/svg+xml,%3Csvg width='90' height='72' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M88 11c-1-4-4-8-8-9-7-2-35-2-35-2S17 0 10 2c-4 1-7 5-8 9-2 8-2 25-2 25s0 17 2 25c1 4 4 8 8 9 7 2 35 2 35 2s28 0 35-2c4-1 7-5 8-9 2-8 2-25 2-25s0-17-2-25zM36 51V21l23 15-23 15z' fill='%23fff'/%3E%3C/svg%3E") rgba(255, 255, 255, 0.1);
}

.social_links a.your_tube {
    background: center / 20px 16px no-repeat url("data:image/svg+xml,%3Csvg width='90' height='72' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M88 11c-1-4-4-8-8-9-7-2-35-2-35-2S17 0 10 2c-4 1-7 5-8 9-2 8-2 25-2 25s0 17 2 25c1 4 4 8 8 9 7 2 35 2 35 2s28 0 35-2c4-1 7-5 8-9 2-8 2-25 2-25s0-17-2-25zM36 51V21l23 15-23 15z' fill='%23fff'/%3E%3C/svg%3E") rgba(255, 255, 255, 0.1);
}

.fixed_header .social_links a.linkedin {
    background: no-repeat center / 40px url("data:image/svg+xml,%3Csvg height='60' width='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M21.9 43.8V25.5h-5.7v18.3H22zm0-24.8c0-1.6-1.1-2.8-3-2.8-1.7 0-2.8 1.2-2.8 2.8 0 1.6 1 3 2.8 3 1.9 0 3-1.4 3-3zM31 43.8V33.4c0-.6 0-1.1.2-1.5.5-1.1 1.5-2.3 3.2-2.3 2.2 0 3.7 1.3 3.7 3.8v10.4h5.6V33.1c0-5.7-3-8.4-7.1-8.4a6.2 6.2 0 00-5.6 3.2v-2.5h-5.7v18.4h5.7z' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E") rgba(255, 255, 255, 0.1);
}
.social_links a.tiktok {
    background: center / 20px 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23fff' d='M448 209.91a210.06 210.06 0 0 1-122.77-39.25v178.72A162.55 162.55 0 1 1 185 188.31v89.89a74.62 74.62 0 1 0 52.23 71.18V0h88a121.18 121.18 0 0 0 1.86 22.17A122.18 122.18 0 0 0 381 102.39a121.43 121.43 0 0 0 67 20.14Z'/%3E%3C/svg%3E") rgba(255, 255, 255, 0.1);
}


.social_links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.search_form {
    margin: 0;
    background: rgba(255, 255, 255, 0.1);
    width: 340px;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
}

.search_form input[type="text"] {
    background: rgba(0, 0, 0, 0);
    border: none;
    height: 36px;
    margin: 2px;
    width: calc(100% - 54px);
    box-sizing: border-box;
    color: #fff;
    padding: 0 0 0 10px;
}

.search_form input[type="text"]:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.03);
}

.search_form input[type="text"]::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.search_form input[type="submit"] {
    border: none;
    overflow: hidden;
    text-indent: -999px;
    width: 50px;
    height: 36px;
    margin: 2px;
    border-radius: 3px;
    box-sizing: border-box;
    background: center / 17px 17px no-repeat url("data:image/svg+xml,%3Csvg width='90' height='91' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 37A36 36 0 0156 7a36 36 0 019 49 2 2 0 001 2l22 22a6 6 0 01-1 9 6 6 0 01-7-1L65 73l-7-7a2 2 0 00-3 0c-5 3-12 5-19 5A36 36 0 010 37zM36 8A28 28 0 008 41a27 27 0 0022 22 28 28 0 0033-27A27 27 0 0036 8z' fill='%23fff'/%3E%3C/svg%3E") rgba(255, 255, 255, 0.15);
}

.signup_group {
    display: flex;
    margin-left: 40px;
    flex-direction: column;
    align-items: center;
}

.signup_group__buttons {
    display: flex;
    gap: 10px;
}

@media (max-width: 1250px) {
    .signup_group {
        margin-left: 15px;
    }
}

.sign_up_header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: max-content;
}



.signup_group .sign_up_header:hover {
    text-decoration: none;
    background: rgba(0, 0, 0, 0.2);
}

.signup_group .button:hover {

}

.signup_group .button {
    margin-right: 0;
}

.signup_group .button {
    padding: 12px;
}

.signup_group .button.outline {
    padding: 10px;
}

.signup_group p {
    margin: 0 0 2px 0;
    font-size: 16px;
    color: #FFF;
    text-transform: uppercase;
}

.signup_group p strong {
    color: #FFE074;
}

.signup_group .button.outline.white {
    border-color: rgba(255, 255, 255, 0.5);
}

.main_menu {
    background: #fff;
    height: 70px;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.main_menu > li > ul {
    display: none;
}

.main_menu > li {
    position: relative;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main_menu > li:nth-child(2), .main_menu > li:nth-child(3) {
    border: none;
}

.main_menu > li:first-child {
    border: none;
}

.main_menu > li:hover > ul {
    display: block;
}

.main_menu > li > ul {
    position: absolute;
    list-style: none;
    width: 200px;
    background-color: #fff;
    border-top: 5px solid #7DCBED;
    border-bottom: 5px solid #7DCBED;
    padding: 10px 0;
    margin-top: 51px;
}

.main_menu > li > ul > li > a {
    padding: 10px;
    display: block;
    text-align: center;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 21px;
    text-align: center;
    color: #000000;
}

.main_menu > li > a {
    padding: 6px 20px;
    display: block;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 21px;
    text-align: center;
    color: #000000;

}

.main_menu > li.render_as_search {
    display: none;
}

.main_menu > li > a:after, .main_menu > li > a:before {
    display: none;
}

.main_menu > li > a:before {
    position: absolute;
    width: 100%;
    height: 30px;
    content: '';
    left: 0;
    bottom: -30px;
}

.main_menu > li.menu-item-has-children:hover > a:before, .render_as_mega_menu:hover > a:before {
    display: block;;
}

.main_menu > li.menu-item-has-children:hover > a:after, .render_as_mega_menu:hover > a:after {
    display: block;
}

.main_menu > li > a:after {
    width: 1px;
    height: 1px;
    content: '';
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #7DCBED;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: -18px;
}

.main_menu > li > a:hover, .main_menu > li > ul > li > a:hover,
.main_menu > li.current-menu-item > a, .main_menu > li > ul > li.current-menu-item > a,
.main_menu > li.current-page-ancestor > a {
    text-decoration: none;
    color: #7DCBED;
}

.main_menu > li.render_as_home {
    position: absolute;
    top: 0;
    left: -300px;
    transition: .3s;
}

.main_menu > li.render_as_mega_menu {
    position: static;
}

.main_menu > li.render_as_mega_menu > ul {
    width: 100%;
    left: 0;
    padding-left: calc(50% - 750px);
    padding-right: calc(50% - 750px);
    box-sizing: border-box;
}

.main_menu > li.render_as_mega_menu:hover > ul {
    display: flex;
}


.main_menu > li.render_as_mega_menu .post_list a .image {
    max-height: 200px;
}

.render_as_mega_menu a {
    position: relative;
}

li.render_as_mega_menu .post_list a {
    flex: calc(25% - 50px);
    margin: 0 50px 0px 0;

}

li.render_as_mega_menu .post_list {
    flex-wrap: nowrap;
}

li.render_as_mega_menu .post_list a:last-child {
    margin-right: 0;
}

.main_menu > li.render_as_mega_menu > ul.mega_ul {
    padding-top: 40px;
    padding-bottom: 40px;
    background: #F7F7F7;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
}

.mega_ul ul {
    list-style: none;
    padding: 0;
}

.mega_ul .cat_products {
    flex-basis: 14%;
    margin-right: 100px;
}

.mega_ul .cat_news {
    flex-basis: calc(100% - 14% - 100px);
}

.mega_ul .cat_title {
    font-weight: bold;
    font-size: 24px;
    line-height: 28px;
    display: flex;
    align-items: center;
    color: #014F99;
    padding-bottom: 20px;
}

.scrolling .main_menu > li.render_as_home {
    left: 0;

}

.cat_products ul li a {
    font-weight: normal;
    font-size: 18px;
    color: #333333;
    padding: 10px 0;
    display: block;
    border-bottom: 1px solid #014F99;
    transition: .3s;
}

.cat_products ul li:first-child a {
    padding-top: 0;
}

.cat_products ul li:last-child a {
    border-bottom: none;
}

.cat_products ul li:hover a {
    color: #014F99;
    text-decoration: none;
}

.cat_news .post_list a h3 {
    font-size: 18px;
}

.main_menu > li.render_as_home a {
    width: 230px;
    height: 84px;
    overflow: hidden;
    text-indent: -999px;
    background: left -1px / 230px 84px no-repeat url("data:image/svg+xml,%3Csvg width='990' height='361' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 278V1h917l-40 50-35 38-97 89-142 100-144 66h-83L0 278z' fill='%23014F99'/%3E%3Cg opacity='.1'%3E%3Cpath d='M451 287c95-26 197-51 292-142 26-25 50-24 26 3a517 517 0 01-235 145c-27 0-55-2-83-6zM0 131c49 22 97 48 143 75-30-8-58-14-87-19L0 161v-30z' fill='%23C91619'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M326 1l12 70 30 170C544 218 736 135 908 0c0 0 70 9 82 0-21 34-68 58-112 81-27 13-52 26-69 40l-47 35c-55 65-109 94-170 122 78-10 148-47 206-135l-11 28C675 346 508 319 337 272l-34-163L280 1h46zm418 166c-62 64-123 89-190 114-27 0-54-2-83-7 72-15 175-46 273-107z' fill='%23fff'/%3E%3Cpath d='M129 1l36 124c13 48 27 95 37 126-70-19-138-35-202-35v-55l56 26c29 5 58 11 87 19-46-27-94-53-143-75v-15c50 24 100 51 147 79L102 75 73 1h56z' fill='%23fff'/%3E%3C/g%3E%3Cpath d='M155 1h132l18 89v1l37 183C504 319 790 166 916 1 816 164 552 408 342 350S78 297 0 322V207c72-5 149 13 227 35L177 74l-1-1-21-72z' fill='%23014F99'/%3E%3Cpath d='M265 279V78h94v50h-57v31h57v48h-57v72h-37zM492 177v62c-4 14-11 25-20 32-9 8-20 12-33 12-19 0-34-9-45-28-11-18-17-43-17-73 0-35 6-61 17-80 12-19 28-28 48-28a51 51 0 0145 25v56c-6-10-12-18-17-22-6-5-13-7-21-7-11 0-20 5-26 15s-10 24-10 42 3 31 8 42c5 10 12 15 20 15l8-2 6-5v-56h37z' fill='%23F7F7F7'/%3E%3C/svg%3E");
}

.main_menu > li.render_as_sign_up_link {
    transition: 0.3s;
    position: absolute;
    border-left: none;
    background: #FFE074;
    top: -200px;
    height: 100%;
    display: flex;
    align-items: center;
    right: 0;
}

.main_menu > li.render_as_sign_up_link:not(.revalidate_link){
    right: 130px;
}

.main_menu > li.render_as_sign_up_link a {
    font-size: 18px;
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #014F99;
}

.main_menu > li.revalidate_link {
    background:#014F99 ;

}


.main_menu > li.revalidate_link a {
    color: #fff;
}

.scrolling .main_menu > li.render_as_sign_up_link {
    top: 0;
    animation: grow 0.8s 0.1s;
}

.scrolling .main_menu > li > a {
    font-size: 17px;
    padding: 6px 15px;
}

@keyframes grow {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

/* pagination */
#pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 0 90px;
}

#pagination a, #pagination > span {
    display: inline-block;
    padding: 10px 20px;
    font-size: 20px;
    color: #014F99;
    transition: .3s;
    margin: 0 5px 5px 5px;
    text-decoration: none;
    font-weight: 400;
}

#pagination > span, #pagination a:hover {
    background: #014F99;
    color: #fff;
}

/* gallery layout */
.gallery {
    column-count: 4;
    column-gap: 20px;
}

.gallery .gallery-item {
    display: inline;
    margin: 0;
}

.gallery .gallery-item img {
    display: block;
    margin: 0 0 20px 0;
}

.gallery-caption {
    display: none;
}

/*gravity forms */
.gfield_description.validation_message {
    position: absolute;
    right: -5px;
    top: -14px;
    background-color: red;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    text-align: center;
    border-radius: 2px;
}

.validation_message::after {
    content: '';
    display: block;
    position: absolute;
    border: 5px solid rgba(0, 0, 0, 0);
    border-top-color: red;
    width: 0;
    height: 0;
    bottom: -10px;
    left: 10px;
}

.validation_error {
    margin-bottom: 20px;
    border: 1px solid red;
    padding: 10px 20px;
    font-size: 15px;
    color: red;
}


.gform_confirmation_message {
    color: #1ba21b;
}

.gform_body ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.gform_body > ul, .gform_page_fields > ul {
    margin: 20px 0 0 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.gform_body > ul > li, .gform_page_fields > ul > li {
    position: relative;
}

.gform_body > ul > li, .gform_page_fields > ul > li {
    width: 100%;
    margin-bottom: 20px;
}

.gform_body > ul > li.medium_field, .gform_page_fields > ul > li.medium_field {
    width: calc(50% - 10px);
}

.gform_body > ul > li.small_field, .gform_page_fields > ul > li.small_field {
    width: calc(33.33% - 13px);
}

.gform_body > ul > li.large_field, .gform_page_fields > ul > li.large_field {
    width: 100%;
}

.gfield_visibility_hidden {
    display: none;
}

.gform_body > ul > li.captcha_field, .gform_page_fields > ul > li.captcha_field {
    margin: 0;
}

.gform_body > ul > li.captcha_field > .gfield_label, .gform_page_fields > ul > li.captcha_field > .gfield_label {
    display: none;
}

.ginput_container_fileupload .validation_message::after {
    display: none;
}

.gform_body > ul > li.red_border, .gform_page_fields > ul > li.red_border {
    padding: 20px;
    border: 2px solid rgba(216, 0, 0, 38%);
}

#gform_page_3_2 .gform_page_fields > ul > li.small_field {
    width: calc(25% - 20px);
    margin-right: 20px;
}

#gform_page_3_2 .gform_page_fields > ul {
    justify-content: flex-start;
}


.gform_page_fields > ul > li.spacer {
    width: 100%;
    padding: 10px;
}

.ginput_container_address > span {
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: 10px;
    width: calc(50% - 10px);
}

.ginput_container_address > span label {
    font-size: 14px;
}

.ginput_container_address {
    padding-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.ginput_container_address > span.address_zip {
    width: 100%;
}

.gform_body .hidden_label > label {
    display: none;
}

label {
    display: block;
    padding-bottom: 5px;
}

.gfield_checkbox label, .ginput_container_consent label {
    display: inline;
}

.gform_body input[type=text], .gform_body input[type=email], .gform_body textarea, .gform_body select {
    height: 50px;
    color: #404040;
    padding-left: 15px;
    width: 100%;
    border: 1px solid rgba(229, 229, 229, 0.75);
    box-sizing: border-box;
}

input[type=search] {
    -webkit-appearance: none;
}

.gform_body select {
    appearance: none;
    -webkit-appearance: none;
    background: #fff calc(100% - 20px) center no-repeat url("data:image/svg+xml,%3Csvg width='12' height='7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath opacity='.5' fill-rule='evenodd' clip-rule='evenodd' d='M12 1.6L10.2 0 6 4 1.7 0 0 1.6 6 7l6-5.4z' fill='%237C7C76'/%3E%3C/svg%3E");
    padding-right: 70px;
}

.ginput_container_date > span {
    display: none;
}

div#ui-datepicker-div {
    background-color: #fff;
    padding: 10px;
}

.ui-datepicker-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.ui-datepicker-title {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.ui-datepicker-title > * {
    flex-basis: calc(50% - 5px);
}

table.ui-datepicker-calendar {
    margin: 0;
    width: 100%;
}

table.ui-datepicker-calendar td {
    text-align: center;
}

table.ui-datepicker-calendar td, table.ui-datepicker-calendar th {
    padding: 5px;
    font-size: 14px;
}

div#ui-datepicker-div * {
    font-size: 16px;
}

button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.gform_body select::-ms-expand {
    display: none;
}

.gform_body textarea {
    height: 140px;
    padding-top: 20px;
}

.gfield_visibility_ {
    display: none;
}

.gform_validation_container,
.gform_wrapper .gform_validation_container,
body .gform_wrapper .gform_body ul.gform_fields li.gfield.gform_validation_container,
body .gform_wrapper li.gform_validation_container,
body .gform_wrapper ul.gform_fields li.gfield.gform_validation_container {
    display: none !important;
    position: absolute !important;
    left: -9000px;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #818181;
}

::-moz-placeholder { /* Firefox 19+ */
    color: #818181;
}

:-ms-input-placeholder { /* IE 10+ */
    color: #818181;
}

:-moz-placeholder { /* Firefox 18- */
    color: #818181;
}

.main_container {
    padding-top: 60px;
    padding-bottom: 60px;
    display: flex;
}

.main_container main {
    flex: 1 0 calc(100% - 490px);
    max-width: 100%;
}

.single-post main {
    max-width: 910px;
}

.main_container aside {
    flex: 0 0 350px;
    margin-left: 140px;
}

.top_advert {
    padding-top: 30px;
    text-align: center;
}

.default_advert, .fc_advert {
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}

.top_advert + .main_container {
    padding-top: 30px;
}

.default_advert:empty, .fc_advert:empty {
    display: none;
}

.remove_padding_bottom + .fc_advert:empty {
    padding: 20px;
}

.bottom_advert {
    margin-top: -30px;
    padding-bottom: 30px;
}

.image-switch, .image {
    background: no-repeat center / cover;
}

.page_banner {
    height: 50vw;
    max-height: 300px;
    min-width: 200px;
    display: flex;
    align-items: flex-end;
    border-bottom: 7px solid #014F99;
}

.page_banner .banner_title {
    background: rgba(1, 79, 153, 0.7);
    margin-bottom: -1px;
}

.page_banner .banner_title * {
    color: #fff;
    margin: 0;
    font-size: 36px;
    text-transform: uppercase;
    padding: 35px 75px;
    font-weight: 700;
    line-height: 1.4em;
}

.sidebar_blocks .side_block {
    margin-bottom: 30px;
    position: relative;
    display: flex;
}

.sidebar_blocks .side_block.block-0 {
    overflow: hidden;
}

.sidebar_blocks .side_block.block-0 .image {
    position: absolute;
    right: -69.96%;
    top: -122.5%;
    opacity: 0.2;
    width: 840px;
    height: 724px;
}

.sidebar_blocks .side_block .button + .button {
    margin-right: 0;
}

.sidebar_blocks .side_block.block-0:before {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    content: '';
    background: #014F99;
}

.sidebar_blocks .side_block.block-0 .wp_content {
    position: relative;
}

.sidebar_blocks .side_block .wp_content > * {
    margin: 7px 0;
    font-weight: 300;
}

.sidebar_blocks .side_block .wp_content .button {
    margin-top: 10px;
    padding: 10px 20px;
}

.sidebar_blocks .side_block .wp_content .button.outline {
    padding: 8px 20px;
}

.sidebar_blocks .side_block.block-0 .wp_content .button:hover {
    background: rgba(0, 0, 0, 0.2);
}

.sidebar_blocks .side_block.block-0 {
    padding: 25px 20px;
    text-align: center;
    justify-content: center;
}

.sidebar_blocks .side_block.block-0 .title_large {
    font-size: 62px;
}

.sidebar_blocks .side_block.block-1 .title_small {
    font-size: 22px;
}

.sidebar_blocks .side_block.block-1 .image {
    height: 200px;
}

.sidebar_blocks .side_block.block-1 {
    flex-direction: column;
}

.sidebar_blocks .side_block.block-1 .wp_content {
    background: #E3ECF5;
    padding: 30px 30px 20px;
}

.sidebar_blocks .side_block.block-2 .wp_content > * {
    color: #fff;
}

.sidebar_blocks .side_block.block-2 {
    flex-direction: column-reverse;
}

.sidebar_blocks .side_block.block-2 .wp_content {
    padding: 25px 25px 0;
}

.sidebar_blocks .side_block.block-2 {
    background: #014F99;
}

.sidebar_blocks .side_block.block-2 .image {
    height: 161px;
}

.sidebar_blocks .advert.default_advert.top_advert {
    padding: 0;
    margin-bottom: 30px;
}

.title-line {
    display: flex;
    position: relative;
    padding: 0 20px;
    margin-bottom: 25px;
    justify-content: space-between;
    color: #333;
}

a.title-line:hover {
    color: #333;
    text-decoration: none;
    opacity: 0.6;
}

.title-line * {
    position: relative;
    background-color: #fff;
    padding: 0 20px;
    margin: 0;
}

.bg_light_grey .title-line * {
    background: #F2F2F2;
}

.title-line a {
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 0.05em;
    color: #333333;
    transition: .3s;
}

.title-line a:hover {
    text-decoration: none;
    color: #014F99;
}

.title-line h5 {
    text-transform: uppercase;
}

.title-line h1.h5 {
    font-size: 22px;
    color: #333;
    text-transform: uppercase;
}

.title-line span {
    width: 100%;
    height: 6px;
    position: absolute;
    top: 0;
    bottom: 0;
    background: #014F99;
    margin: auto;
    padding: 0;
    left: 0;
}

.news-item-small {
    margin-bottom: 30px;
    display: flex;
}

.news-item-small .image {
    flex-basis: 35%;
}

.news-item-small .wp_content {
    flex: 1 0 65%;
    padding: 10px 20px;
    box-sizing: border-box;
}

.news-item-small .wp_content p {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #333333;
}

.post_datetime {
    font-size: 14px;
    line-height: 16px;
    color: #6A6A6A;
    font-weight: 300;
    padding-left: 25px;
    background: no-repeat left center / 17px url("data:image/svg+xml,%3Csvg width='19' height='17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.2 0C4.2 0 0 3.8 0 8.5S4.1 17 9.2 17c5 0 9.2-3.8 9.2-8.5S14.3 0 9.2 0zm0 15.5c-4.2 0-7.5-3.2-7.5-7s3.3-7 7.5-7 7.5 3.2 7.5 7-3.3 7-7.5 7z' fill='%23D2D1D1'/%3E%3Cpath d='M10 8.2V3.9c0-.5-.3-.8-.8-.8s-.8.3-.8.8V8.8l.1.1.1.1 2.4 2.2c.3.3.8.3 1.2 0 .3-.3.3-.8 0-1l-2.2-2z' fill='%23D2D1D1'/%3E%3C/svg%3E");
}

.news-item-small:hover {
    text-decoration: none;
    opacity: .7;
}

aside .news-item-small {
    margin-bottom: 10px;
    background: #F5F5F5;
}

p.post_cat {
    display: inline-block;
    font-weight: bold;
    font-size: 12px;
    line-height: 14px;
    align-items: center;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    padding: 10px;
    text-transform: uppercase;
    background: #014F99;
}

p.post_cat + h1 {
    margin-top: 0;
}

.post_date {
    display: flex;
}

.post_date p:nth-child(2) {
    color: #4881B5;
    border-left: 2px solid #6A6A6A;
    padding-left: 10px;
    margin-left: 10px;
}

.post_date p {
    font-size: 16px;
    line-height: 15px;
    margin-top: 0;
}

.the_excerpt p {
    font-size: 16px;
    line-height: 19px;
    color: #666666;
    font-weight: normal;
    margin-bottom: 0;
}

.single .the_excerpt p {
    font-weight: 600;
    font-size: 18px;
    line-height: 21px;
    color: #333;
}

.social_links.sharers a {
    background-color: #014F99;
}

.social_links a.linkedin {
    background: #014F99 no-repeat center / 40px url("data:image/svg+xml,%3Csvg height='60' width='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M21.9 43.8V25.5h-5.7v18.3H22zm0-24.8c0-1.6-1.1-2.8-3-2.8-1.7 0-2.8 1.2-2.8 2.8 0 1.6 1 3 2.8 3 1.9 0 3-1.4 3-3zM31 43.8V33.4c0-.6 0-1.1.2-1.5.5-1.1 1.5-2.3 3.2-2.3 2.2 0 3.7 1.3 3.7 3.8v10.4h5.6V33.1c0-5.7-3-8.4-7.1-8.4a6.2 6.2 0 00-5.6 3.2v-2.5h-5.7v18.4h5.7z' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E");
}

.social_links a.pinterest {
    background: #014F99 no-repeat center / 35px url("data:image/svg+xml,%3Csvg viewBox='0 0 124 124' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath class='st0' d='M67.8 83.8c-5.5-.4-7.8-3.1-12.1-5.7a60.5 60.5 0 01-9.5 26.3c-1.6 1.9-4.7 1-4.8-1.5-.8-16 4.7-28.7 7.4-42-5.1-8.7.6-26.1 11.5-21.8 13.4 5.3-11.6 32.2 5.2 35.6C83 78.1 90.2 44.3 79.3 33.3c-15.7-15.9-45.6-.4-41.9 22.4.7 4.3 4.3 6.3 3.9 10.6-.3 2.7-3 4.2-5.4 3.1-6.9-3.2-9.1-10.3-8.8-19.4.6-17.2 15.5-29.3 30.4-31 18.9-2.1 36.6 6.9 39 24.7 2.8 19.9-8.5 41.6-28.7 40.1z' fill='%23fff'/%3E%3C/svg%3E");
}

.social_links a.email-share {
    background: #014F99 no-repeat center / 20px url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23fff' d='M0 4v10h16V4L8 9z'/%3E%3Cpath d='M0 3l8 5 8-5V2H0z' fill='%23fff' /%3E%3C/svg%3E");
}

.social_links.sharers a:hover {
    background-color: rgb(68 115 173);
}

.social_links.sharers {
    padding: 20px 0 40px;
}

.footer_banner {
    display: flex;
    background: #80A7CC;
    align-items: center;
    justify-content: space-between;
    padding-top: 35px;
    padding-bottom: 15px;
    flex-wrap: wrap;
}

.footer_banner .button {
    margin: 0 30px 20px 0;
}

.footer_banner .button:last-child {
    margin-right: 20px;
}

.footer_banner p {
    color: #fff;
    margin: 0 0 20px;
}

.popup_advert {
    position: fixed;
    bottom: 10px;
    right: 10px;
}

.popup_advert.hide {
    display: none;
}

.closepopup {
    color: #fff;
    background: #39499B no-repeat center / 20px url("data:image/svg+xml,%3Csvg height='24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22.2 4c.4.3.4.8 0 1.2L16 11.4c-.3.3-.3.8 0 1.2l6.2 6.2c.4.3.4.9 0 1.2L20 22.3c-.4.3-.9.3-1.2 0L12.5 16a.8.8 0 00-1.1 0l-6.3 6.2c-.3.4-.8.4-1.1 0L1.7 20a.8.8 0 010-1.2L8 12.6c.3-.4.3-.9 0-1.2L1.7 5.1a.8.8 0 010-1L4 1.6c.3-.3.8-.3 1.1 0L11.4 8c.3.3.8.3 1.1 0l6.3-6.3c.3-.3.8-.3 1.2 0L22.2 4z' fill='%23fff' /%3E%3C/svg%3E");
    width: 40px;
    height: 40px;
    border-radius: 100%;
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 35px;
    line-height: 1;
    border: none;
    padding: 0;
    cursor: pointer;
}

#footer {
    display: flex;
    justify-content: space-between;
    background: #014F99;
}

#footer *:not(.button) {
    color: #fff;
}

#footer .title_small {
    font-weight: bold;
    font-size: 18px;
    line-height: 21px;
    color: #FFE074;
}

#footer a:not(.button) {
    color: #fff;
}

#footer ul {
    list-style: none;
    padding: 0;
}

#footer ul a {
    display: block;
    font-weight: 300;
    margin-bottom: 10px;
}

#footer a[href^='tel:'] {
    font-size: 20px;
    font-weight: bold;
    padding-left: 20px;
    background: no-repeat left center / 14px url("data:image/svg+xml,%3Csvg width='14' height='14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.1 11.1v.7l-.3.6c-.1.3-.5.7-1.1 1a3.6 3.6 0 01-2.2.4H9a7.3 7.3 0 01-1-.4l-.5-.2-1.6-.7c-.8-.5-1.6-1.2-2.4-2-.8-.9-1.5-1.7-2-2.5a8.4 8.4 0 01-1-2 45.6 45.6 0 01-.4-2c0-.6.2-1.2.5-1.8.3-.6.6-1 1-1.1A3.7 3.7 0 013 .8l.5.7a27.2 27.2 0 011 1.8l.3.4v.2c0 .2 0 .3-.2.5l-.6.5-.6.5-.2.4V6a2 2 0 00.3.6A9.8 9.8 0 008 10.7H8l.4-.2.5-.5.5-.6c.2-.2.3-.3.5-.3h.2l.4.3a14.4 14.4 0 01.7.4A48.2 48.2 0 0013 11v.2z' fill='%23FFE074'/%3E%3C/svg%3E");
}

#footer a[href^='mailto:'] {
    font-weight: 300;
}

#footer ul {
    padding: 0;
}

#footer .social_links {
    display: none;
}

#footer > div {
    padding: 80px 20px;
}

#footer > div:nth-child(1) {
    padding-left: 0;
    max-width: 600px;
}

#footer > div:last-child {
    padding-right: 0;
}

.end_of_page {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    background: #014484;
    padding-bottom: 20px;
}

.end_of_page * {
    color: #fff;
}

.end_of_page > p:nth-child(2) {
    margin-left: 20px;
}

.end_of_page a {
    font-weight: 400;
}

.end_of_page a:hover {
    color: #fff;
}

.end_of_page > p:nth-child(1) a:after {
    content: '|';
    margin-left: 6px;
}

.end_of_page > p:nth-child(1) a:last-child:after {
    display: none;
}

.simple_content {
    padding-top: 50px;
    padding-bottom: 50px;
}

.simple_content + .top_advert {
    padding-top: 0;
}

.post_list {
    display: flex;
    flex-wrap: wrap;
}

.post_list a .image {
    height: 40vw;
    margin-bottom: 20px;
    transition: .3s;
    display: flex;
    align-items: flex-end;
}

.the_post_tags {
    display: flex;
    flex-wrap: wrap;
}

.the_post_tags p {
    margin-right: 10px;
}

.the_post_tags p.post-tag {
    display: flex;
    align-items: center;
}

.post-tag {
    font-weight: bold;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FFFFFF;
    position: relative;
    background: #014F99;
    padding: 5px 5px 5px 30px;
}

.post-tag:before {
    content: '';
    position: absolute;
    left: 0;
    width: 20px;
    top: 0;
    bottom: 0;
    background: #0565C1 no-repeat center / 12px url("data:image/svg+xml,%3Csvg width='12' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='.5' fill='%23fff'%3E%3Cpath d='M0 10.8V.2h5v2.6H2v1.7h3V7H2v3.8H0zM12 5.4v3.3c-.2.7-.6 1.3-1 1.7-.6.4-1.1.6-1.8.6-1 0-1.8-.5-2.4-1.4-.6-1-.9-2.3-.9-4 0-1.7.3-3.1 1-4.1C7.3.5 8.2 0 9.3 0a2.7 2.7 0 012.3 1.3v3c-.3-.6-.6-1-.9-1.2-.3-.2-.7-.4-1-.4-.7 0-1.1.3-1.5.8-.3.5-.5 1.3-.5 2.2 0 1 .2 1.7.4 2.2.3.6.7.8 1.1.8h.4l.3-.3v-3h2z'/%3E%3C/g%3E%3C/svg%3E");
}

.column_3 a {
    flex-basis: calc(33.3% - 33.5px);
    margin: 0 50px 50px 0;
    display: flex;
    flex-direction: column;
}


.column_3 a h3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.column_3 a .image {
    max-height: 250px;
    min-height: 150px;
}

.column_3 a:nth-child(3n+3) {
    margin-right: 0;
}

.column_5, .column_3 {
    margin-bottom: -50px;
}

.column_5 a {
    flex-basis: calc(20% - 40px);
    margin: 0 50px 50px 0;
}

.column_5 a .image {
    max-height: 200px;
    min-height: 120px;
}

.column_5 a:nth-child(5n+5) {
    margin-right: 0;
}

.column_5 a h3, .type_small .post_list a h3 {
    font-size: 18px;
}

.split_news .column_3, .news_column .column_3 {
    margin-bottom: 0;
}

.post_list a h3 {
    margin-bottom: 20px;
    color: #333333;
    line-height: 1.2em;
}

.post_list a .post_date p {
    margin-bottom: 0;
}

.post_list a .the_excerpt p {
    color: #333333;
}

.post_list a:hover {
    text-decoration: none;
}

.post_list a:hover .image {
    opacity: 0.8;
}

.type_small a {
    display: flex;
    align-items: center;
    flex-direction: row;
}

.column_4 a, .type_featured_medium .featured_large a, .type_featured_small .featured_large a {
    flex: calc(25% - 8px);
    margin: 0 8px 8px 0;
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 50vw;
    max-height: 410px;
    min-height: 250px;
    background: no-repeat center / cover;
}

.column_4 a:nth-child(4n) {
    margin-right: 0;
}

.column_4 a::before, .type_featured_medium .featured_large a:before, .type_featured_small .featured_large a:before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 6.26%, #000000 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
}

.column_4 a div, .type_featured_medium .featured_large a div, .type_featured_small .featured_large a div {
    position: relative;
    text-align: center;
    padding: 0 20px;
}

.fc_columned_news .column_3 .the_post_terms {
    padding-bottom: 1em;
}

.fc_columned_news .column_3 .the_post_terms .post-tag {
    margin: 0;
}

.column_3 .post_term,
.column_4 .post_term, .type_featured_medium .featured_large .post_term {
    background: #014F99;
    display: inline-block;
    font-weight: bold;
    font-size: 12px;
    line-height: 14px;
    align-items: center;
    text-align: center;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    text-transform: uppercase;
    padding: 5px 10px;
}

.column_4 h4, .type_featured_medium .featured_large h4, .type_featured_small .featured_large h4 {
    color: #fff;
    line-height: 1.3em;
}

.column_2 a {
    flex-basis: calc(50% - 25px);
    margin: 0 50px 30px 0;
}

.column_2 a:nth-child(2n) {
    margin-right: 0;
}

.column_2 a:nth-last-child(2), .column_2 a:last-child {
    margin-bottom: 0;
}

.featured_small {
    flex-basis: 32%;
    margin-right: 30px;
    display: flex;
}

.type_featured_small .featured_large.featured_small a {
    margin: 0;
    height: auto;
    max-height: unset;
}

.type_featured_small .column_2 {
    flex-basis: calc(68% - 30px);
}

.split_news {
    display: flex;
}

.type_featured_medium .featured_large {
    flex-basis: 37%;
    margin-right: 50px;
    display: flex;
}

.type_featured_medium .featured_large a:hover, .type_featured_small .featured_large a:hover {
    text-decoration: none;
    transition: .3s;
}

.type_featured_medium .featured_large a:hover, .column_4 a:hover, .type_featured_small .featured_large a:hover {
    opacity: 0.7;
}

.type_featured_medium .featured_large a {
    max-height: 500px;
    height: auto;
    margin-right: 0;
    margin-bottom: 0;
}

.type_featured_medium .column_3 {
    flex-basis: calc(63% - 50px);
}

.type_small .post_list a .image {
    flex-basis: 30%;
    margin-right: 20px;
    max-height: 105px;
    min-height: 60px;
    margin-bottom: 0;
}

.type_small .post_list a .wp_content {
    flex-basis: calc(100% - 30% - 20px);
}

.type_featured_medium .featured_large a > div, .type_featured_small .featured_large a > div {
    text-align: left;
    padding: 0 30px 10px;
}

.type_featured_medium .featured_large .post_date {
    padding-left: 0;
}

.type_featured_medium .featured_large .post_date *, .type_featured_small .featured_large .post_date * {
    color: #fff;
}

.featured_large a div .post_date {
    padding: 0;
}

.type_featured_medium .column_3 h3 {
    font-size: 18px;
}

.column_4 a div.the_post_terms, .type_featured_medium .featured_large a div.the_post_terms, .type_featured_small .featured_large a div.the_post_terms {
    padding: 0;
}


.type_featured_medium .column_3 .image {
    max-height: 200px;
}

.type_featured_medium .column_3 a {
    margin-bottom: 0;
}

.fc_columned_news {
    display: flex;
    flex-wrap: wrap;
}

.news_column {
    flex-basis: calc(33.3% - 33px);
    margin: 0 50px 0 0;
    display: flex;
    flex-direction: column;
}

.news_column:last-child {
    margin-right: 0;
}

.news_column .type_small {
    margin-top: auto;
}

.news_column a {
    flex-basis: 100%;
    margin-right: 0;
}

.news_column a.title-line {
    flex-basis: auto;
}

.news_column .column_3 a {
    margin-bottom: 30px;
}

.news_column a .the_excerpt p {
    font-weight: 400;
    color: #666;
}

.news_column .column_1 a {
    margin-bottom: 15px;
}

.news_column .column_1 a:last-child {
    margin-bottom: 0;
}

.fc_featured_news {
    display: flex;
    justify-content: space-between;
}

.fc_featured_news.type_featured_medium > div {
    margin: 0;
    flex-basis: calc(50% - 4px);
    height: 80vw;
    max-height: 590px;
    min-height: 300px;

}

.fc_featured_news.type_featured_medium > div:nth-child(1) > a {
    width: 100%;
    height: 100%;
    max-height: 0;
    flex-basis: 100%;
    max-height: unset;
}

.featured_right {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.fc_featured_news.type_featured_medium .featured_right > a {
    height: calc(50% - 4px);
    flex-basis: calc(19% - 119px);
    min-height: unset;
    max-width: calc(50% - 4px);
}

.fc_featured_news.type_featured_medium .featured_right > a:nth-child(1) {
    flex-basis: 100%;
    max-width: 100%;
    margin-bottom: 8px;
}

.the_jobs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: clamp(20px, 3vw, 40px);
}

.the_jobs a {
    flex-basis: calc(50% - 10px);
    margin: 0 0 20px 0;
    background: #E3ECF5;
    display: flex;
    padding: 10px;
    box-sizing: border-box;
}

.the_jobs a .image {
    min-width: 130px;
    height: 130px;
    background: #fff no-repeat center / contain;
    margin-right: 35px;
}

.the_jobs a .wp_content {
    display: flex;
    flex-direction: column;
}

.the_jobs a .wp_content h6 {
    margin-bottom: 0;
    color: #014F99;
    text-transform: uppercase;
}

.the_jobs a .wp_content {
    flex: 1 0 calc(100% - 165px);
}

.the_jobs a .wp_content h6 + p {
    margin-top: 10px;
    color: #80A7CC;
}

.job_meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: auto;
}

.job_meta p {
    font-size: 16px;
    color: #333333;
    font-weight: 300;
    margin: 0 10px 10px 0;
    padding-left: 25px;
    background: no-repeat center left / 17px url("data:image/svg+xml,%3Csvg width='17' height='17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.5 0A8.5 8.5 0 000 8.5a8.5 8.5 0 1017 0C17 3.8 13 0 8.4 0zm0 15.5a7 7 0 01-7-7 7 7 0 017-7 7 7 0 016.9 7 7 7 0 01-7 7z' fill='%23333'/%3E%3Cpath d='M9.2 8.2V3.9c0-.5-.3-.8-.7-.8-.5 0-.8.3-.8.8V8.8l.1.1.1.1 2.2 2.2c.3.3.8.3 1 0 .4-.3.4-.8 0-1l-1.9-2z' fill='%23333'/%3E%3C/svg%3E");
}

.job_meta .button {

    transition: .3s;
    margin: 0 0 10px;
}

.the_jobs a:hover {
    text-decoration: none;
}

.the_jobs a:hover .button {
    color: #7DCBED;
    border-color: #7DCBED;
}

.tribe-events-c-view-selector {
    display: none;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
    max-width: unset;
    padding: 0;
}

.tribe-common .padding_1000 {
    padding-left: calc(50% - 500px);
    padding-right: calc(50% - 500px);
}

.tribe-common .simple_content {
    padding-top: 50px;
    padding-bottom: 50px;
    background: #F7F7F7;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-header {
    padding-top: 150px;
    padding-left: calc(50% - 750px);
    padding-right: calc(50% - 750px);
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month {
    padding-left: calc(50% - 750px);
    padding-right: calc(50% - 750px);
    margin-bottom: 100px;
}

body.archive .tribe-events-header a.tribe-events-c-top-bar__today-button {
    display: none !important;
}

.tribe-events-calendar-month__header-row {
    background: #014F99;
    color: #fff;
}

.tribe-events .tribe-events-calendar-month__header-column-title, .tribe-common--breakpoint-medium.tribe-common .tribe-common-b3 {
    font-weight: bold;
    font-size: 18px;
    line-height: 21px;
    display: flex;
    align-items: center;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    color: #FFFFFF;
    text-align: center;

}

.tribe-common .tribe-common-h7, .tribe-common .tribe-common-h8 {
    font-family: 'Roboto', sans-serif;
}

.tribe-events .tribe-events-calendar-month__header-column {
    text-align: center;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__header-column-title-desktop {
    text-align: center;
    width: 100%;
}

.tribe-events .tribe-events-calendar-month__header-column {
    padding: 10px;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day-date {
    background: #ADABAB;
    color: #fff;
}

.tribe-common--breakpoint-medium.tribe-common .tribe-common-h4 {
    font-size: 18px;
}

.tribe-events-calendar-month__day-date-link {
    color: #fff !important;
}

.tribe-events .tribe-events-calendar-month__multiday-event-bar-title {
    background: transparent;
    white-space: initial;
    font-size: 16px;
}

.tribe-events-calendar-month__multiday-event-wrapper {
    padding: 0 10px;
}

.tribe-events .tribe-events-calendar-month__multiday-event-bar-inner {
    background: transparent;
    padding-bottom: 10px;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__multiday-event-wrapper {
    height: auto;
}

.tribe-events-calendar-month__multiday-event-wrapper article {
    overflow: hidden;
}

.tribe-events .tribe-events-calendar-month__multiday-event--past .tribe-events-calendar-month__multiday-event-bar-inner {
    background: transparent;
}

.tribe-events .tribe-events-calendar-month__more-events {
    border: none;
}

h3.tribe-events-calendar-month__multiday-event-hidden-title.tribe-common-h8 {

    display: block;
    border-bottom: 1px solid #ccc;
    line-height: 1em;
    white-space: initial;
    padding-bottom: 10px;
    color: #333333;
    font-weight: 300;
}

.tribe-events-calendar-month__multiday-event-hidden a {
    padding: 10px;
    display: block;
}

.tribe-events .tribe-events-calendar-month__multiday-event-hidden {
    position: relative;
    height: auto;
    opacity: 2;
}

.tribe-common .tribe-events-calendar-month__body .tribe-common-a11y-visual-hide, .tribe-common .tribe-events-calendar-month__body .tribe-common-a11y-visual-show {
    clip: unset;
    height: auto;
    margin: 0;
    position: relative;
    width: 100%;
}

.tribe-events-calendar-month__day-date.tribe-common-h4 > span {
    display: none;
}

.tribe-events-calendar-month__multiday-event-bar {
    display: none;
}

.tribe-events-calendar-month__multiday-event-hidden > time {
    display: none;
}

.tribe-events-calendar-month__day.tribe-events-calendar-month__day--current {
    background: rgba(128, 167, 204, 0.2);
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day.tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date {
    background: #014F99;
}

.tribe-events-calendar-month__day.tribe-events-calendar-month__day--current h3.tribe-events-calendar-month__multiday-event-hidden-title.tribe-common-h8 {
    color: #014F99;
}

.tribe-events-c-ical.tribe-common-b2.tribe-common-b3--min-medium {
    display: none;
}

#tribe-events-pg-template, .tribe-events-pg-template {
    max-width: 100%;
}

.tribe-events-before-html {
    padding: 20px 0 20px;
}

.single-job h1 + .title_medium {
    margin-top: -20px;
}

#tribe-bar-form {
    background: #DDE6EF;
}

#tribe-bar-form label {
    font-size: 16px;
    font-weight: 300;
}

#tribe-bar-form input[type=text], #tribe-bar-form input[type=text]:focus {
    height: 50px;
    background: #FFFFFF;
    border: 1px solid #B0B0B0;
    box-sizing: border-box;
    padding-left: 10px;
    outline: none;
    width: 100%;
    max-width: 330px;
}

.tribe-bar-search-filter, .tribe-bar-date-filter {
    padding: 0;
}

#tribe-bar-form .tribe-bar-filters {
    padding: 30px 50px;
}

.tribe-bar-filters-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.tribe-bar-filters-inner:before, .tribe-bar-filters-inner:after {
    display: none;
}

.tribe-bar-date-filter {
    margin-right: 30px;
}

.tribe-bar-date-filter, .tribe-bar-search-filter, .tribe-bar-submit {
    width: auto;
    flex: 1 0 auto;
    max-width: 330px;
}

.search-intro {
    text-align: center;
}

.filter-left {
    display: flex;
    margin-right: 10px;
    flex: 1 0 auto;
}

.filter-right {
    min-width: 140px;
}

.tribe-bar-submit {
    padding: 0;
    margin: 0;
}

.tribe-bar-submit .button {
    margin: 0;
    height: 50px;
    box-sizing: border-box;
    margin-top: 20px;
}

#tribe-events-content-wrapper * {
    font-family: 'Roboto', sans-serif;
}

#tribe-events-bar {
    margin-bottom: 60px;
}

.tribe-events-calendar thead th, #tribe-events .tribe-events-button, #tribe-events .tribe-events-button:hover, #tribe_events_filters_wrapper input[type=submit], .tribe-events-button, .tribe-events-button.tribe-active:hover, .tribe-events-button.tribe-inactive, .tribe-events-button:hover, .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-], .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-] > a {
    background: #014F99;
}

.tribe-events-calendar td.tribe-events-past div[id*=tribe-events-daynum-], .tribe-events-calendar td.tribe-events-past div[id*=tribe-events-daynum-] > a {
    color: #fff;
    background: rgba(187, 187, 187, 0.6);
}

h3.entry-title.summary {
    font-size: 18px;
    margin-top: 0;
}

div#tribe-events-tooltip-118524-2020-09-16 {
}

.recurring-info-tooltip, .tribe-events-calendar .tribe-events-tooltip, .tribe-events-shortcode.view-week .tribe-events-tooltip, .tribe-events-week .tribe-events-tooltip {
    padding: 20px;
}

a.tribe-events-ical.tribe-events-button {
    display: none !important;
}

.the_post_terms {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tiled .the_post_terms {
    justify-content: center;
}

.the_post_terms .post-tag {
    position: relative;
    margin: 0 0 0 20px;
}

.post_list .wp_content .the_excerpt p:after {
    content: '...';
}

.tribe-events-before-html h1 {
    margin-top: 0 !important;
}

.tribe-events-before-html {
    padding-top: 0;
}

#tribe-events-pg-template .top_advert {
    padding-top: 0;
    padding-bottom: 30px;
}

.single iframe {
    width: 100%;
    height: 40vw;
    max-height: 600px;
    min-height: 300px;
}

#tribe-events-pg-template .bottom_advert {
    padding-bottom: 0;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-events-bar__search-container {
    padding: clamp(15px, 3vw, 30px) clamp(15px, 3vw, 50px);
    background: #DDE6EF;
}

.tribe-events .tribe-events-c-events-bar .tribe-common-form-control-text__input {
    height: 50px;
    background: #FFFFFF;
    border: 1px solid #B0B0B0;
    box-sizing: border-box;
    outline: none;
    width: 100%;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search {
    gap: 20px;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-common-c-btn.tribe-events-c-search__button {
    border: 2px solid #014F99;
    background: none;
    color: #014F99;
    padding: 10px 22px;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-common-c-btn.tribe-events-c-search__button:hover {
    color: #7DCBED;
    border-color: #7DCBED;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown__container, .tribe-events .tribe-events-c-subscribe-dropdown__container {
    display: none;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-header {
    padding-top: clamp(30px, 3vw, 50px);
}

@media (max-width: 1750px) {

    .scrolling .main_menu {
        justify-content: flex-start;
    }
    .scrolling .main_menu > li.render_as_home {
        display: none;
    }
}

@media (max-width: 1650px) {


    .scrolling .main_menu > li.render_as_sign_up_link {
        position: relative;
    }
    .main_menu > li.render_as_sign_up_link:not(.revalidate_link){
        right: 0;
    }

    .padding_1600 {
        padding-left: 40px;
        padding-right: 40px;
    }


}

@media (max-width: 1550px) {


    .padding_1500 {
        padding-left: 40px;
        padding-right: 40px;
    }

    .main_menu > li.render_as_mega_menu > ul {
        padding-right: 20px;
        padding-left: 20px;
    }

    .mega_ul .cat_products {
        margin-right: 40px;
    }

    .mega_ul .cat_news {
        flex-basis: calc(100% - 14% - 40px);
    }
}

@media (max-width: 1450px) {


    .padding_1400 {
        padding-left: 40px;
        padding-right: 40px;
    }

    .type_small .post_date p:nth-child(2) {
        display: none;
    }

    .header {
        padding-right: 20px;
        padding-left: 20px;
    }

    .scrolling .main_menu > li > a {
        padding: 6px 12px;
    }

    li.render_as_mega_menu .post_list a {
        flex-basis: calc(25% - 20px);
        margin-right: 20px;
    }
    .scrolling .main_menu > li.render_as_sign_up_link {
        display: none;
    }
    .scrolling .main_menu {
        justify-content: center;
    }
}


@media (max-width: 1250px) {
    .type_featured_medium .featured_large {
        margin-right: 20px;
    }

    .type_featured_medium .column_3 {
        flex-basis: calc(63% - 20px);
    }

    .type_featured_medium .column_3 a {
        flex-basis: calc(33.3% - 14px);
        margin: 0 20px 0 0;
    }

    .type_featured_medium .column_3 a:last-child {
        margin-right: 0;
    }

    .padding_1200 {
        padding-left: 40px;
        padding-right: 40px;
    }

    .main_container aside {
        margin-left: 80px;
    }

    .the_jobs a .image {
        display: none;
    }

    .column_5 a {
        flex-basis: calc(33.3% - 33.5px);
        margin: 0 50px 50px 0;
    }

    .column_5 a:nth-child(1), .column_5 a:nth-child(2) {
        flex-basis: calc(50% - 25px);
    }

    .column_5 a:nth-child(2) {
        margin-right: 0;
    }

    #footer .social_links {
        display: flex;
    }

    .header .social_links {
        display: none;
    }

    .scrolling .main_menu > li > a {
        padding: 6px 10px;
    }

    .main_menu > li.render_as_sign_up_link a {
        font-size: 14px;
        padding: 6px 8px;
    }

    .news_column {
        flex-basis: calc(33.3% - 13.5px);
        margin: 0 20px 0 0;
    }

    .title-line h5 {
        font-size: 20px;
    }

    .title-line h1.h5 {
        font-size: 20px;
    }
}

@media (max-width: 1250px) and (min-width: 1024px) {
    .main_menu > li > a {
        padding: 6px 15px;
        font-size: 16px;
    }

    .main_menu > li:nth-child(2) > a {
        padding-left: 0;
    }

    .the_jobs a {
        flex-basis: 100%;
    }


}

@media (max-width: 1050px) {


    .padding_1000 {
        padding-left: 40px;
        padding-right: 40px;
    }

}

@media (max-width: 1024px) {

    .scrolling .main_menu > li.render_as_sign_up_link {
        display: block;
    }
    .tiled {
        margin-bottom: -4px;
    }


    body.scrolling .fixed_header {
        top: 0;
    }

    .weather-header {
        display: none;
    }

    .header {
        flex-wrap: wrap;
        height: 105px;
        background-position: top left;
        padding: 20px;
        box-sizing: border-box;
        background-size: 385px auto;
        justify-content: space-between;
        position: relative;
    }

    .search_form {
        display: none;
    }

    .sign_up_header {
        display: none;
    }

    .column_3 a:nth-child(n) {
        flex-basis: calc(50% - 10px);
        margin: 0 20px 20px 0;
    }

    .column_3 a:nth-child(2n), .column_5 a:last-child {
        margin-right: 0;
    }

    .column_4 a:nth-child(n) {
        flex-basis: calc(50% - 4px);
        margin: 0 8px 8px 0;
    }

    .column_4 a:nth-child(2n) {
        margin-right: 0;
    }

    .type_featured_medium .column_3 a .the_excerpt {
        display: none;
    }

    .type_featured_medium .column_3 {
        display: block;
    }

    .type_featured_medium .column_3 a {
        display: flex;
        margin: 0 0 20px;
    }

    .type_featured_medium .column_3 a:last-child {
        margin-bottom: 0;
    }

    .type_featured_medium .column_3 .image {
        flex-basis: 25%;
        min-height: 100px;
        max-height: unset;
        height: auto;
        margin-right: 20px;
        margin-bottom: 0;
    }

    .type_featured_medium .column_3 .wp_content {
        flex-basis: calc(75% - 20px);

    }

    .signup_group{
        display: none;
    }

    .type_featured_medium .featured_large {
        flex-basis: 65%;
    }

    .news_column:nth-child(n) {
        flex-basis: 100%;
        margin-bottom: 30px;
        margin-right: 0;
    }

    .news_column:last-child {
        margin-bottom: 0;
    }

    .news_column .column_3 a:nth-child(n) {
        flex-basis: 100%;
        margin-right: 0;
    }

    .news_column:nth-child(1) .column_1 a:nth-child(2n) {
        margin-right: 0;
    }

    .fc_featured_news {
        display: block;
    }

    .fc_featured_news > div:nth-child(1) {
        margin-bottom: 8px;
        max-height: 450px;
        height: 60vw;
    }

    .fc_featured_news > div:nth-child(2) {
        max-height: 800px;
    }

    #footer {
        flex-wrap: wrap;
    }

    .footer_banner {
        justify-content: center;
        text-align: center;
    }

    .footer_banner .button:nth-child(n) {
        margin: 0 10px 20px;
        box-sizing: border-box;
    }

    .split_news.type_small {
        display: block;
    }

    .featured_large.featured_small {
        margin: 0 0 30px;
    }

    .type_featured_small .featured_large.featured_small a {
        height: 40vw;
        max-height: 500px;
        min-height: 300px;
    }

    aside {
        display: none;
    }

    .single-post main {
        max-width: 100%;
    }

    #footer > div:nth-child(1) {
        display: none;
    }

    #close_menu {
        background-color: rgba(0, 0, 0, 0.01);
        position: fixed;
        top: 0;
        right: 0;
        z-index: 10;
        width: 0;
        height: 100vh;
        display: block;
        transition: background-color 0.3s ease, right 0.3s ease;
        -webkit-transition: background-color 0.3s ease, right 0.3s ease;
    }

    body.menu_open {
        overflow: hidden;
    }

    body.menu_open #close_menu {
        display: block;
        background: rgba(0, 0, 0, 0.5);
        right: 300px;
        width: 100%;
    }

    body.menu_open.show_menu_close #close_menu {
        background-color: rgba(0, 0, 0, 0.01);
        width: 100%;
        right: 0;
    }

    #wrap {
        position: relative;
        width: auto;
        min-width: 320px;
        overflow: hidden;
    }

    #shifter {
        position: relative;
        width: 100%;
        left: 0px;
        transition: left 0.3s ease;
        -webkit-transition: left 0.3s ease;
        background: #fff;
    }

    body {
        background: #d8d8d8;
        padding-top: 105px;
        padding-top: 105px;
    }

    body.menu_open #shifter, body.menu_open .fixed_header {
        left: -300px;
    }

    body.menu_open.show_menu_close #shifter, body.menu_open.show_menu_close .fixed_header {
        left: 0;
    }

    .main_menu > li.render_as_home {
        left: 0;
    }

    .main_menu > li.render_as_home {
        display: none;
    }

    #mobile_menu_button {
        width: 40px;
        display: block;
    }

    #mobile_menu_button > div {
        width: 100%;
        height: 7px;
        background-color: #fff;
        margin-bottom: 5px;

    }

    #mobile_menu_button > div:last-child {
        margin: 0;
    }

    #main_menu {
        display: block;
        top: 0px;
        left: 100%;
        width: 330px;
        z-index: 11;
        position: fixed;
        overflow-x: hidden;
        overflow-y: scroll;
        max-height: 100vh;
        -webkit-transition: left 0.3s ease;
    }

    body.menu_open #main_menu {
        left: calc(100% - 300px);
    }

    body.menu_open.show_menu_close #main_menu {
        left: 100%;
    }

    .main_menu, .main_menu ul {
        padding: 0;
        margin: 0;
        list-style: none;
        background: #014F99;
    }

    .main_menu ul {
        max-height: 0;
        transition: max-height 0.3s;
        overflow: hidden;
    }

    .main_menu li.clicked ul {
        max-height: 500px;
    }

    .main_menu a {
        display: block;
        color: #fff;
        padding: 20px;
        font-size: 20px;
        font-weight: 400;
        text-decoration: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .main_menu ul a {
        font-size: 16px;
        padding: 15px 25px;
        background: rgba(255, 255, 255, 0.05);
    }

    .main_menu li {
        position: relative;
    }

    .main_menu li.menu-item-has-children > a:after,
    .main_menu li.render_as_mega_menu > a:after {
        content: '';
        display: block;
        width: 15px;
        height: 15px;
        position: absolute;
        right: 54px;
        top: 22px;
        border-bottom: 2px solid #fff;
        border-right: 2px solid #fff;
        transform: rotate(45deg);
        transition: transform 0.3s;
        transform-origin: 14px 14px;
        border-left: none;
        left: auto;
        bottom: auto;
    }

    .main_menu > li > a {
        position: relative;
    }

    .main_menu > li:last-child {
        margin-bottom: 100px;
    }

    .main_menu > li.clicked ul.cat_news {
        display: none;
    }


    .main_menu {
        display: block;
        height: auto;
    }

    .main_menu li.menu-item-has-children.clicked > a:after {
        transform: rotate(-45deg);
    }

    body .main_menu > li.render_as_home, .scrolling .main_menu > li.render_as_home,
    .main_menu > li.render_as_search {
        display: block;
        position: relative;
    }

    .main_menu > li {
        display: block;
    }

    .main_menu > li.render_as_home a {
        height: 54px;
        width: 100%;
        background-size: 278px;
    }

    .main_menu > li > a, .scrolling .main_menu > li > a, .main_menu > li.render_as_sign_up_link a {
        color: #fff;
        font-size: 22px;
        text-align: left;
        padding: 22px 10px;
        display: block;

    }

    .main_menu li, .main_menu a {
        outline: none;
    }

    .main_menu > li {
        border: none;
    }

    .mega_ul .cat_title {
        display: none;
    }

    .cat_products ul li a {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .fc_advert {
        text-align: center;
    }

    .main_menu > li.clicked ul, .main_menu > li.render_as_mega_menu > ul.mega_ul {
        display: block;
        position: relative;
        margin-top: 0;
        width: auto;
        background-color: rgba(255, 255, 255, 0.1);
        border: none;
        padding: 0;
    }

    .main_menu > li.render_as_mega_menu > ul.mega_ul, .mega_ul .cat_products {
        margin: 0;
        width: 100%;
    }

    .main_menu > li.clicked ul a {
        padding: 15px 30px;
        font-size: 20px;
        text-align: left;
        color: #fff;
    }

    .main_menu > li > a:hover, .main_menu > li > ul > li > a:hover, .main_menu > li.current-menu-item > a, .main_menu > li > ul > li.current-menu-item > a, .main_menu > li.current-page-ancestor > a {
        color: #fff;
    }

    .main_menu > li.render_as_search a {
        display: none;
    }

    .main_menu > li.render_as_search .search_form {
        display: flex;
        width: 280px;
    }

    .main_menu > li.render_as_search {
        padding: 12px 10px 6px 10px;
    }

    .main_menu > li.render_as_sign_up_link {
        position: relative;
        top: auto;
        display: block;
    }

    .main_menu > li.render_as_sign_up_link a {
        color: #014F99;
        padding: 26px 10px;
        font-size: 26px;
    }

    .main_menu > li.render_as_sign_up_link.revalidate_link a {
        background: #fff;
    }

    .gallery {
        column-count: 3;
        column-gap: 10px;
    }

    .gallery .gallery-item img {
        margin-bottom: 10px;
    }


    .default_padding {
        padding: 40px;
    }

    div.padding_900 {
        padding-left: 40px;
        padding-right: 40px;
    }


    #tribe-bar-collapse-toggle {
        background: #014F99;
    }

    #tribe-bar-collapse-toggle * {
        color: #fff;
    }

    .padding_600, .padding_900, .padding_1200, .padding_1600, .padding_1400, .padding_1500, .padding_1000 {
        padding-left: 20px;
        padding-right: 20px;
    }

    .bottom_advert {
        margin-top: -10px;
    }

    .top_advert + .main_container {
        padding-top: 10px;
    }

    .header a.logo {
        width: 290px;
        height: 80px;
        background-size: 290px;
    }
}


@media (max-width: 768px) {

    #gform_page_3_2 .gform_page_fields > ul > li.small_field {
        width: calc(33.3% - 20px);
        margin-right: 20px;
    }

    .tribe-events-before-html {
        padding: 10px 0 20px;
    }

    .column_5 a:nth-child(n) {
        flex-basis: calc(50% - 11px);
        margin: 0 20px 20px 0;
    }

    .column_5 a:nth-child(3n), .column_5 a:last-child {
        margin-right: 0;
    }

    .column_5 a:first-child {
        flex-basis: 100%;
        margin-right: 0;
    }

    .tribe-events-sub-nav li a {
        color: #fff;
    }

    .tribe-events-single .tribe-events-sub-nav {
        padding: 0;
    }

    nav.tribe-events-nav-pagination ul {
        padding: 0;
    }

    .tribe-events-single .tribe-events-sub-nav .tribe-events-nav-next {
        text-align: right;
    }

    #tribe-bar-form.tribe-bar-collapse .tribe-bar-filters {
        padding: 30px;
        background: #DDE6EF;
        box-shadow: none;
    }

    .main_container {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    #pagination {
        margin-bottom: 45px;
    }

    .the_jobs {
        padding-top: 20px;
    }

    #footer > div {
        padding: 20px 10px;
    }

    #footer > div:nth-child(2) {
        padding-left: 0;
    }

    #footer {
        padding: 20px;
    }

    .end_of_page > p:nth-child(2) {
        margin-left: 0;
    }

    .end_of_page {
        display: block;
        text-align: center;
    }


    h1, h2, h3, h4, .title_large, .title_medium, .title_small, body .tribe-events-before-html h1 {
        font-size: 32px;
        margin: 0.5em 0;
    }

    h2 {
        font-size: 28px;
    }

    h3, .title_medium {
        font-size: 24px;
    }

    h4, .title_small {
        font-size: 20px;
    }

    h5, .title-line h5 {
        font-size: 18px;
    }

    .title-line h1.h5 {
        font-size: 18px;
    }

    h6 {
        font-size: 18px;
    }

    .split_news {
        display: block;
    }

    .type_featured_medium .featured_large {
        margin: 0 0 20px;
    }

    .type_featured_medium .featured_large a {
        height: 50vw;
    }

    .news_column:nth-child(n) {
        flex-basis: 100%;
        margin-bottom: 30px;
        margin-right: 0;
    }

    .news_column a.title-line {
        flex-basis: auto;
    }

    .news_column:last-child {
        margin-bottom: 0;
    }

    .news_column:nth-child(1) .column_1 a {
        flex-basis: 100%;
        margin: 0 0 15px;
    }

    .news_column:nth-child(1) .column_1 a:last-child {
        margin-bottom: 0;
    }

    .post-tag {
        display: none;
    }

    .tribe-events .tribe-events-calendar-month__day-cell--selected,
    .tribe-events .tribe-events-calendar-month__day-cell--selected:focus, .tribe-events .tribe-events-calendar-month__day-cell--selected:hover,
    .tribe-events .tribe-events-c-search__button {
        background: #014F99;
    }


    .tribe-events-before-html {
    }

    header.tribe-events-header.tribe-events-header--has-event-search {
        padding-top: 20px;
    }
}


@media (max-width: 640px) {

    #gform_page_3_2 .gform_page_fields > ul > li.small_field {
        width: calc(50% - 20px);
        margin-right: 20px;
    }

    .the_jobs a {
        flex-basis: 100%;
    }

    #footer > div:last-child {
        width: 100%;
        padding: 20px 0;
        text-align: center;
    }

    #footer > div:nth-child(3), #footer > div:nth-child(2) {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .end_of_page > p:nth-child(1) a {
        margin: 0 5px;
        padding: 5px 0;
        display: inline-block;
    }

    .end_of_page > p:nth-child(1) a:after {
        display: none;
    }

    .gallery {
        column-count: 2;
    }

    .header-right {
        display: flex;
        justify-content: space-between;
    }

    .page_banner .banner_title * {
        padding: 15px 25px;
        font-size: 24px;
    }

    .column_3 a:nth-child(n) {
        flex-basis: 100%;
        margin: 0 0 20px;
    }

    .filter-left {
        display: block;
    }

    .tribe-bar-search-filter, .tribe-bar-date-filter {
        float: none;
        min-width: 100%;
    }

    .tribe-bar-search-filter *, .tribe-bar-date-filter * {
        min-width: 100%;
    }

    .tribe-bar-date-filter {
        margin-bottom: 20px;
    }

    .gform_body > ul > li:nth-child(n), .gform_page_fields > ul > li:nth-child(n) {
        width: 100%;
    }

    .ginput_container_address > span {
        width: 100%;
    }

    .column_2 a:nth-child(n) {
        flex-basis: 100%;
        margin: 0 0 20px;
    }

    .column_2 a:last-child {
        margin-bottom: 0;
    }

    .popup_advert img {
        max-width: 150px;
    }

}

@media (max-width: 480px) {
    .column_5, .column_3 {
        margin-bottom: 0;
    }

    .column_5 a:nth-child(n) {
        flex-basis: 100%;
        margin: 0 0 20px;
    }

    .button {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        margin: 0 0 5px 0;
    }

    .footer_banner .button:nth-child(n) {
        margin: 0 0 20px;
    }

    .title-line {
        display: block;
        text-align: center;
    }

    .upcoming_wrapper .full_title {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .upcoming_wrapper .full_title p {
        padding: 10px 20px;
    }

    .title-line h5 {
        display: inline-block;
    }

    .title-line h1.h5 {
        display: inline-block;
    }

    .title-line p:nth-child(3) {
        display: none;
    }

    .title-line span {
        top: 10px;
        bottom: auto;

    }

    .title-line a {
        margin-top: 20px;
        border: 1px solid #333;
        padding: 10px 20px;
    }

    .column_4 a:nth-child(n) {
        flex-basis: 100%;
        margin: 0 0 8px;
    }

    .fc_featured_news > div:nth-child(2) {
        height: auto;
        min-height: unset;
        max-height: unset;
        display: block;
    }

    .fc_featured_news.type_featured_medium .featured_right a {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        max-height: 250px;
        min-height: 180px;
        height: 40vw;
    }

    .fc_featured_news > div:nth-child(2) a:nth-child(2) {
        margin-bottom: 8px;

    }

    #gform_page_3_2 .gform_page_fields > ul > li.small_field {
        width: 100%;
        margin-right: 0;
    }
}

@media (max-width: 400px) {
    .type_featured_medium .featured_large .post_date p:last-child {
        display: none;
    }

    .type_featured_medium .featured_large a div {
        padding: 10px 15px;
    }

    body .header a.logo {
        width: 220px;
        height: 48px;
        background-size: 220px;
    }

    .header.padding_1600 {
        height: 85px;
    }

    body {
        padding-top: 85px;
    }

    .fa_ctas br {
        display: none;
    }
}


/* lightbox*/

/*!
 * baguetteBox.js
 * @author  feimosi
 * @version %%INJECT_VERSION%%
 * @url https://github.com/feimosi/baguetteBox.js
 */
#baguetteBox-overlay {
    display: none;
    opacity: 0;
    position: fixed;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000000;
    background-color: #222;
    background-color: rgba(0, 0, 0, 0.8);
    transition: opacity 0.5s ease;
}

#baguetteBox-overlay.visible {
    opacity: 1;
}

#baguetteBox-overlay .full-image {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
}

#baguetteBox-overlay .full-image figure {
    display: inline;
    margin: 0;
    height: 100%;
}

#baguetteBox-overlay .full-image img {
    display: inline-block;
    width: auto;
    height: auto;
    max-height: 100%;
    max-width: 100%;
    vertical-align: middle;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

#baguetteBox-overlay .full-image figcaption {
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    line-height: 1.8;
    white-space: normal;
    color: #ccc;
    background-color: #000;
    background-color: rgba(0, 0, 0, 0.6);
    font-family: sans-serif;
}

#baguetteBox-overlay .full-image:before {
    content: "";
    display: inline-block;
    height: 50%;
    width: 1px;
    margin-right: -1px;
}

#baguetteBox-slider {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    white-space: nowrap;
    transition: left 0.4s ease, transform 0.4s ease;
}

#baguetteBox-slider.bounce-from-right {
    animation: bounceFromRight 0.4s ease-out;
}

#baguetteBox-slider.bounce-from-left {
    animation: bounceFromLeft 0.4s ease-out;
}

@keyframes bounceFromRight {
    0% {
        margin-left: 0;
    }
    50% {
        margin-left: -30px;
    }
    100% {
        margin-left: 0;
    }
}

@keyframes bounceFromLeft {
    0% {
        margin-left: 0;
    }
    50% {
        margin-left: 30px;
    }
    100% {
        margin-left: 0;
    }
}

.baguetteBox-button#previous-button, .baguetteBox-button#next-button {
    top: 50%;
    top: calc(50% - 30px);
    width: 44px;
    height: 60px;
}

.baguetteBox-button {
    position: absolute;
    cursor: pointer;
    outline: none;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 15%;
    background-color: #323232;
    background-color: rgba(50, 50, 50, 0.5);
    color: #ddd;
    font: 1.6em sans-serif;
    transition: background-color 0.4s ease;
}

.baguetteBox-button:focus, .baguetteBox-button:hover {
    background-color: rgba(50, 50, 50, 0.9);
}

.baguetteBox-button#next-button {
    right: 2%;
}

.baguetteBox-button#previous-button {
    left: 2%;
}

.baguetteBox-button#close-button {
    top: 20px;
    right: 2%;
    right: calc(2% + 6px);
    width: 30px;
    height: 30px;
}

.baguetteBox-button svg {
    position: absolute;
    left: 0;
    top: 0;
}

/*
	Preloader
	Borrowed from http://tobiasahlin.com/spinkit/
*/
.baguetteBox-spinner {
    width: 40px;
    height: 40px;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -20px;
    margin-left: -20px;
}

.baguetteBox-double-bounce1,
.baguetteBox-double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    animation: bounce 2s infinite ease-in-out;
}

.baguetteBox-double-bounce2 {
    animation-delay: -1s;
}

@keyframes bounce {
    0%, 100% {
        transform: scale(0);
    }
    50% {
        transform: scale(1);
    }
}

/* Weather
-------------------------------------------------- */
.weather-page .forecast-summary-row {
    padding: 0 6px 20px 6px;
    margin-top: -30px;
}

@media (min-width: 768px) {
    .weather-page .forecast-summary-row {
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        align-items: center;
    }
}

.weather-page .forecast-summary-row .forecast-postcode {
    display: inline-block;
    width: 20%;
}

@media (max-width: 767px) {
    .weather-page .forecast-summary-row .forecast-postcode {
        width: 100%;
        padding: 20px 0;
    }
}

.weather-page .forecast-summary-row .forecast-postcode form.invalid-postcode label {
    color: red;
}

.weather-page .forecast-summary-row .forecast-postcode form label {
    text-transform: uppercase;
    font-size: 13px;
    font-family: 'Roboto Condensed', sans-serif;
}

@media (min-width: 768px) {
    .weather-page .forecast-summary-row .forecast-postcode form label, .weather-page .forecast-summary-row .forecast-postcode form input, .weather-page .forecast-summary-row .forecast-postcode form button {
        display: block;
        width: 100%;
    }

    .weather-page .forecast-summary-row .forecast-postcode form label#postcode, .weather-page .forecast-summary-row .forecast-postcode form input#postcode, .weather-page .forecast-summary-row .forecast-postcode form button#postcode {
        padding: 5px 10px;
        margin-bottom: 5px;
    }
}

@media (max-width: 767px) {
    .weather-page .forecast-summary-row .forecast-postcode form label {
        display: block;
    }

    .weather-page .forecast-summary-row .forecast-postcode form input, .weather-page .forecast-summary-row .forecast-postcode form button {
        display: inline-block;
        width: 49%;
    }

    .weather-page .forecast-summary-row .forecast-postcode form input#postcode, .weather-page .forecast-summary-row .forecast-postcode form button#postcode {
        padding: 5px 10px;
        margin-bottom: 5px;
        position: relative;
        top: 1px;
        border-radius: 0px;
    }
}

.weather-page .forecast-summary-row .forecast-summary {
    width: 42%;
    display: inline-block;
    text-align: left;
    padding: 0px 5% 0 5%;
}

@media (max-width: 767px) {
    .weather-page .forecast-summary-row .forecast-summary {
        width: 100%;
        padding-bottom: 40px;
    }
}

.weather-page .forecast-summary-row .forecast-summary h2 {
    color: #474747;
    margin: 0px;
    font-size: 30px;
    line-height: 1.1;
    position: relative;
    top: 15px;
}

.weather-page .forecast-summary-row .forecast-summary h3 {
    color: #BDB9B9;
    margin: 0px;
    font-size: 13px;
    position: relative;
    top: 15px;
}

.weather-page .forecast-summary-row .forecast-icon {
    width: 21%;
    display: inline-block;
    text-align: center;
}

.weather-page .forecast-summary-row .forecast-icon img {
    width: 150px;
    height: auto;
}

@media (max-width: 767px) {
    .weather-page .forecast-summary-row .forecast-icon {
        width: 49%;
        text-align: left;
    }

    .weather-page .forecast-summary-row .forecast-icon img {
        position: relative;
        top: -10px;
    }
}

.weather-page .forecast-summary-row .forecast-temperature {
    text-align: right;
    width: 20%;
    display: inline-block;
}

.weather-page .forecast-summary-row .forecast-temperature .temp-color {
    font-size: 36px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    padding: 10px 13px;
}

@media (max-width: 767px) {
    .weather-page .forecast-summary-row .forecast-temperature {
        width: 49%;
        text-align: center;
    }
}

.weather-page th {
    background: #808080;
    color: #fff;
    font-family: 'Roboto Condensed', sans-serif;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

.weather-page td {
    text-align: center;
    vertical-align: middle !important;
    border-color: #fff !important;
}

@media (max-width: 1199px) {
    .weather-page td {
        font-size: 90%;
    }
}

.weather-page tr:nth-child(odd) td {
    background-color: #F6FAFD;
}

.weather-page tr:nth-child(even) td {
    background-color: #F7F7F7;
}

.weather-page .weathericon {
    width: 35px;
    height: 35px;
    margin-bottom: 0px;
}

.weather-page .temp-color {
    color: #333;
    font-weight: normal;
    padding: 6px 8px;
    font-size: 16px;
}

.weather-page .temp-color.hot {
    background-color: #FDCF6E;
}

.weather-page .temp-color.warm {
    background-color: #FDE970;
}

.weather-page .temp-color.cold {
    background-color: #B9E4EF;
}

.weather-page .temp-color.freezing {
    background-color: #7CB5DF;
}

.weather-page .weather-date {
    font-weight: bold;
}

.weather-page .wind-arrow-inline {
    display: inline-block;
    font-family: 'icomoon';
    width: 20px;
    height: 20px;
    -webkit-transform-origin: 10px 10px;
    transform-origin: 10px 10px;
    font-style: normal;
    vertical-align: middle;
}

.weather-page .forecast-blocks .forecast-block {
    cursor: pointer;
    position: relative;
    font-size: 0px;
    margin-bottom: 4px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.weather-page .forecast-blocks .forecast-block div {
    display: inline-block;
    font-size: 16px;
    width: 25%;
    padding: 10px;
}

.weather-page .forecast-blocks .forecast-block:nth-child(odd) {
    background-color: #F6FAFD;
}

.weather-page .forecast-blocks .forecast-block:nth-child(odd) > :nth-child(1) {
    background: #EDF5FB;
}

.weather-page .forecast-blocks .forecast-block:nth-child(even) {
    background-color: #F7F7F7;
}

.weather-page .forecast-blocks .forecast-block:nth-child(even) > :nth-child(1) {
    background: #F3F3F3;
}

.weather-page .forecast-blocks .forecast-block .blocklabel {
    display: block;
    color: #717070;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    font-size: 13px;
}

.weather-page .forecast-blocks .forecast-block .weather-icon {
    position: relative;
    min-height: 68px;
}

.weather-page .forecast-blocks .forecast-block .weather-icon img {
    position: absolute;
    height: 90%;
    top: 4px;
    left: 0px;
    right: 0px;
    width: auto;
}

.weather-page .forecast-blocks .forecast-block .weather-temp .label {
    display: block;
    text-align: left;
    position: relative;
    left: -10px;
}

.weather-page .forecast-blocks .forecast-block .weather-windspeed .content .wind-arrow-wrapper {
    display: inline-block;
    width: 0px;
    font-size: 10px;
    position: relative;
    top: -5px;
    vertical-align: bottom;
}

.weather-page .forecast-blocks .forecast-block .weather-windspeed .content .wind-arrow-wrapper i {
    width: 10px;
    height: 10px;
    font-size: 14px;
}

.weather-page .forecast-blocks .forecast-block:after {
    display: inline-block;
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 18px;
    height: 18px;
    font-size: 11px;
    content: '';
    background: #4598CF no-repeat center / 10px url("data:image/svg+xml,%3Csvg width='17' height='10' viewBox='0 0 17 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath opacity='1' d='M1 2L8.42857 8L15.8571 2' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E%0A");
    color: #fff;
    padding: 2px 2px 2px 4px;
}

.weather-page .forecast-blocks .forecast-block > div:nth-child(n+5) {
    display: none;
}

.weather-page .forecast-blocks .forecast-block.active:after {
    background-image: url("data:image/svg+xml,%3Csvg width='17' height='10' viewBox='0 0 17 10' fill='none' xmlns='http://www.w3.org/2000/svg' style='transform:rotate(180deg)'%3E%3Cpath opacity='1' d='M1 2L8.42857 8L15.8571 2' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E%0A");
}

.weather-page .forecast-blocks .forecast-block.active > div:nth-child(n+5) {
    display: block;
}

.visible-xs {
    display: none;
}

.forecast-table {
    width: 100%;
}

.forecast-postcode form button {
    padding: 10px;
    box-sizing: border-box;
    margin-right: 0;
}

.forecast-postcode form input {
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .visible-xs {
        display: block;
    }

    .hidden-xs {
        display: none;
    }
}

@media (max-width: 480px) {
    .weather-page .forecast-summary-row .forecast-postcode form input, .weather-page .forecast-summary-row .forecast-postcode form button {
        width: 100%;
    }

    .popup_advert {
        max-width: 250px;
    }
}


/* Unity Cookie Overlay */
#unity_cookie_overlay , #unity_cookie_view_settings {
    width: 350px;
    background: #fff;
    border: 1px solid #bfbfbf;
    border-left: 4px solid #666;
    padding: 25px;
    position: fixed;
    bottom: 50px;
    left: 50px;
    z-index: 2147483648;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .2);
    opacity: 1;
    transition: .3s;
}
#unity_cookie_view_settings {
    width: 500px;
    z-index: 2147483646;
}
.unity_cookie_setting_link {
    color: #999;
    display: inline-block;
    padding: 10px;
    cursor: pointer;
}
.unity_cookie_setting_link:hover {
    color: #777;
}
#unity_cookie_view_settings > .wp_content::-webkit-scrollbar {
    width: 16px;
}
#unity_cookie_view_settings > .wp_content::-webkit-scrollbar-thumb {
    border-left: 12px solid rgba(0, 0, 0, 0);
    background-clip: padding-box;
    background-color: #AAAAAA;
}

#unity_cookie_overlay.unity_cookie_hide , #unity_cookie_view_settings.unity_cookie_hide {
    opacity: 0;
    right: -555px;
    z-index: -1;
}


#unity_cookie_view_settings > .wp_content {
    margin-bottom: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.unity_cookie_info {
    border: 1px solid #c2c2c2;
    border-radius: 3px;
    margin: 20px 0;
}
.unity_cookie_info > div:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    cursor: pointer;
}
.unity_cookie_info > div:first-child strong:before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 9px;
    background: center / 15px 9px url("data:image/svg+xml,%3Csvg width='15' height='9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 5.7 1.5 0 0 1.4l7 7 7.1-7L12.7 0 7.1 5.7Z' fill='%23C4C4C4'/%3E%3C/svg%3E") no-repeat;
    margin: 0 10px 2px 0;
}
.unity_cookie_info > div:first-child span {
    color: #999;
}

.unity_cookie_info .wp_content {
    border-top: 1px solid #e3e3e3;
    padding: 15px 5px 15px 30px;
    display: none;
}
.unity_cookie_info.unity_cookie_info_view .wp_content {
    display: block;
}
.unity_cookie_text_small {
    font-size: 0.8em;
}

body.menu_open #unity_cookie_overlay , body.menu_open #unity_cookie_view_settings {
    right: min(90vw, 480px);
}
body.menu_open.show_menu_close #unity_cookie_overlay , body.menu_open.show_menu_close #unity_cookie_view_settings {
    right: 50px;
}

.image, .image-switch {
    background: no-repeat center / cover
}

@media(max-width:600px) {

    body.menu_open #unity_cookie_overlay , body.menu_open #unity_cookie_view_settings {
        right: min(90vw, 480px);
    }
    body.menu_open.show_menu_close #unity_cookie_overlay , body.menu_open.show_menu_close #unity_cookie_view_settings {
        right: 0px;
    }
    #unity_cookie_overlay, #unity_cookie_view_settings {
        width: 100%;
        box-sizing: border-box;
        right: 0;
        border-right: none;
        border-left: none;
    }

}

@media(max-width:450px) {

    #unity_cookie_overlay , #unity_cookie_view_settings {
        padding: 20px;
    }
    #unity_cookie_overlay .button , #unity_cookie_view_settings .button {
        margin: 0;
    }
    .unity_cookie_setting_link {
        display: block;
        text-align: center;
    }

}

.cookie_overlay_strong #unity_cookie_overlay {
    inset: 30% auto auto 50%;
    transform: translate(-195px,0);
    padding: 35px;
    border: none;
    z-index: 2147483646;
}
.cookie_overlay_strong #unity_cookie_no_click {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    transition: .3s;
    z-index: 2147483646;
}
.cookie_overlay_strong #unity_cookie_no_click.unity_cookie_hide {
    opacity: 0;
}
@media(max-width:600px) {
    .cookie_overlay_strong #unity_cookie_overlay {
        inset: auto 0 0 0;
        transform: translate(0,0);
        width: auto;
    }
}