/*
Theme Name: BetterFinance
Author: CF
Version: 1.0.0
Description: Custom Wordpress theme for BetterFinance
License: ''
License URI: ''
Template: financepress
*/

@import url(../financepress/style.css?ver=4.9.9.1);
@import url(css/mega_menu.css?ver=4.9.9.1);
@import url(css/accordion.css?ver=4.9.9.1);


@font-face {
    font-family: rotis_regular;
    src: url('fonts/Rotis_SemiSerif_55.ttf');
}

@font-face {
    font-family: 'courier-bf';
    src: url('fonts/courier-bf/CourierBF-Medium.ttf');
    src: url('fonts/courier-bf/CourierBF-Medium.woff');
    src: url('fonts/courier-bf/CourierBF-Medium.woff2');
}

@font-face {
    font-family: 'courier-rock';
    font-weight: 100 400;
    src: url('fonts/courier-rock/CourierRock_regular.ttf');
    src: url('fonts/courier-rock/CourierRock_regular.woff');
}

@font-face {
    font-family: 'courier-rock';
    font-weight: 500 800;
    src: url('fonts/courier-rock/CourierRock_bold.ttf');
    src: url('fonts/courier-rock/CourierRock_bold.woff');
}

.hidden {
    display: none;
}

h1, h2, h3, h4, h5 {
    font-family: rotis_regular !important;
}

h1 {
    color: black;
}

article ul:not([class]), .wpb_content_element ul:not([class]) {
    list-style-type: disc;
    padding: 15px;
}

article ul:not([class]) li, .wpb_content_element ul:not([class]) li {
    display: list-item;
}

a {
    color: #1A99EC;
}

#page-title {
    margin-top: 10px;
    color: #01416b;
    font-weight: bold;
    font-size: 30px;
}

.top_header .container, .bottom_header .container, .breadcrumb_sec .container, .main_content .container {
	padding-left:15px;
    padding-right:15px;
}

.main_content {
    margin-top: 10px;
    margin-bottom: 40px;
}

.main_content h2 {
    color: #555;
    margin-bottom: 30px ;
}

.main_content .container .row p {
    text-align: justify;
}

.main_content .container .row .text-column p {
    text-align: left !important;
}

@media (max-width: 600px) {
    /* under low resolution, adapt image that are insire WP bakery layouts*/
    .main_content .wpb_column .wpb_wrapper img {
        object-fit: contain;
        object-position: left;
        width: 100%;
    }
}

/*=====================*/
.main_content.home h4 {
    font-weight: 700;
    font-size: 30px;
    color: #262626;
    margin-bottom: 9px;
}
.main_content.home h4:after {
    display: block;
    margin-top: 10px;
    content: "";
    width: 103px;
    height: 14px;
    background: transparent url('/wp-content/themes/betterfinance/images/decor-title.png') no-repeat;
}

.main_content.home > .container > .row > .vc_row {
    padding-left: 15px !important;
    padding-right: 15px !important;
}


.top_header  .btn-sq-xs {
  width: 25px !important;
  height: 25px !important;
  padding:2px;
  overflow: hidden;
  background-color: #e6e6e6;
  color: #333333 !important;
  font-size: 10px;
  line-height: 19px;
  display: inline-block !important;
  margin-right: 8px;
}

.top_header .header-link {
    display: inline-block;
    margin-right: 10px;
    text-decoration: none;
}

.top_header .header-link:hover {
    text-decoration: underline;
}

/*========= bottom header ========*/
.bottom_header {
	padding-bottom:10px;
}

.bottom_header .featured_holder {
    margin-top: 5px;
}
.bottom_header h3 {
    color: black;
    font-size: 26px;
    font-weight: 500;
    line-height: 35px;
    margin-top: 20px;
    margin-bottom: 10px;
    white-space: nowrap;
}

.bottom_header p {
    color: black;
    font-family: rotis_regular;
    font-size: 12px;
    line-height: 17px;
    margin-bottom: 0;
}

.bottom_header .logo_holder img {
    display: none;
}
.bottom_header .logo_holder a {
    display: block;
    height: 100px !important;
    background: url(/wp-content/themes/betterfinance/images/BF_logo_slogan.png) no-repeat;
    background-size: contain;
}

@media (min-width: 300px) {
    .bottom_header .logo_holder a {
        background: url(/wp-content/themes/betterfinance/images/BF_logo_slogan.png) no-repeat center;
        background-size: contain;
    }

}

.bottom_header .greencorner_wrapper-small {
    display: none;
    align-items: center;
    flex: 0 1 50%;
    max-width: 320px;
    min-height: 46px;
}

.bottom_header .greencorner_wrapper-small .greencorner_icon {
    display: block;
    width: 80px;
    height: var(--menuheight);
    background: #259A52 no-repeat center center;
    border-left: solid 2px white;
    margin-left: 4px;
    border-right: solid 2px white;
}

.bottom_header .greencorner_wrapper-small .greencorner_link {
    display: flex;
    background-color: #259A52;
    flex: 1;
    font-family: rotis_regular;
    font-size: 23px;
    align-items: center;
    background: #259A52 url(/wp-content/themes/betterfinance/images/click_icon_small.png) left center no-repeat;
    padding-left: 20px;
    min-height: 46px;
}

.bottom_header .greencorner_wrapper-small .greencorner_link div {
    text-align: center;
    width: 100%;
    color: white;
}

@media (max-width: 640px) {
    .bottom_header .greencorner_wrapper-small .greencorner_link {
        font-size: 17px;
        background: #259A52;
        padding-left: 0;
        text-transform: uppercase;
    }
}

@media (max-width: 400px) {
    .bottom_header .greencorner_wrapper-small .greencorner_link {
        font-size: 15px;
    }
}

@media (max-width: 359px) {
    .bottom_header .greencorner_wrapper-small .greencorner_link {
        font-size: 12px;
    }
}



/* header < 992px */
@media (max-width: 991px) {
    .main_menu .greencorner_wrapper {
        display: none;
    }
    .bottom_header .greencorner_wrapper-small {
        display: flex !important;
    }
    #search_form {
        margin-left: auto;
    }
    #search_form .search_icon.search_click {
        right: 15px;
    }
    .bottom_header .eurogreen-logo {
        display: none;
    }
}

.bottom_header .logo_holder {
    padding-top: 0;
}

footer .bottom_header .logo_holder {
    padding-top: 12px;
}

.bottom_header .eurogreen-logo {
    border-left: solid 2px #259A52;
    width: 100px;
    height: 70px;
    position: absolute;
    top: 10px;
}

.bottom_header .take_action-button {
    display: flex;
    cursor: pointer;
    user-select: none;
    align-items: center;
    margin-top: 12px;
    height: 36px;
    background-color: #ffc20d;
    line-height: 30px;
    padding: 5px 10px;
    box-sizing: content-box;
    transition: background-color 0.5s ease;
    margin-left: auto;
}

@media (max-width:991px) {
    .bottom_header .take_action-button {
        margin-top: 0;
        margin-left: 0;
    }
}


.bottom_header .take_action-button:hover {
    background-color: #01416b;
}

.bottom_header .take_action-button span {
    position: relative;
    display: block;
    text-transform: uppercase;
    font-family: 'courier-bf', monospace;
    font-size: 18px;
    color: #01416b;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: color 0.5s ease;
}

.bottom_header .take_action-button:hover span {
    color: #ffc20d;
}

.bottom_header .take_action-button .chevron {
    margin-left: 10px;
    height: 30px; /*height should be double border*/
    width: 30px;
}

.bottom_header .take_action-button .chevron::before,
.bottom_header .take_action-button .chevron::after {
    position: absolute;
    display: block;
    content: "";
    border: 12px solid transparent; /*adjust size*/
    transition: border-color 0.5s ease;
}


.bottom_header .take_action-button .chevron::before {
    top: 9px;
    border-top-color: #01416b; /*Chevron Color*/
    border-radius: 4px;
}

.bottom_header .take_action-button:hover .chevron::before {
    top: 9px;
    border-top-color: #ffc20d; /*Chevron Color*/
}

.bottom_header .take_action-button .chevron::after {
    top: 5px; /*adjust thickness*/
    border-top-color: #ffc20d;
}

.bottom_header .take_action-button:hover .chevron::after {
    border-top-color: #01416b;
}


/*========== Breadcrumb ==================*/
.breadcrumb_sec {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
    display: inline !important;

}
.faq_sec {
    padding-top: 0;
}

/*=========== homepage anchors ===========*/
#shareholders:before, #euroinvestors:before, #eurofinuse:before {
    display: block;
    content:'';
    height: 130px;
    margin-top: -130px;
}
/*=========== tab navigation ============*/
a[data-toggle] {
    color: black;
}

/*===========Search Bar =================*/
.main_menu #search {
	background: #003150;
    position: absolute;
    width: 100%;
    height: var(--menuheight);
    right: unset;
    left: 0;
    top: 0;
}

#search_form.active > div:first-of-type {
    position: absolute;
    width: 100%;
    height: var(--menuheight);
    left: 0;
}

.main_menu #search input {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    font-weight: 300;
    font-size: 28px;
    color: #fff;
    padding-left: 30px;
}

.main_menu .search_icon {
	background-color: #003150;
}

.main_menu .search_icon.search_click {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
}


/*=========== News Aside ================*/
.news_aside {
    border: 0;
}
.aside_item {
    border: 0;
}
.news_aside h3 {
    color: #016EB5;
}
.aside_item span {
    color: #9b9b9b;
}
.aside_item.current_page_item a,
.aside_item.current_page_item h3,
.aside_item:hover a {
    color: white;
}
.aside_item.current_page_item,
.aside_item:hover {
	background: url(images/aside-bg.jpg) no-repeat center;
    background-size: cover;
}

/*=========== Related Content Aside ================*/
.sidebar-border-top {
    border-top: solid;
    padding-bottom: 10px;
}

.related-publication {
    border-bottom: 1px dotted #2f2f2f;
    margin-bottom: 5px;
    overflow: hidden;
    padding-bottom: 5px;
    width: 100%;
}

.related-publication {
font-size: 13px;
line-height: 1.6;
}

.related-publication h5 {
font-size: 14px;
font-weight: 700;
line-height: 18px;
}

/*============= pictures gallery =====================*/
.bwg_title_spun2_0  {
    font-family: rotis_regular !important;
    font-size: 18px !important;
    text-shadow: 1px 1px 5px #000, 0 0 15px #000 !important;
    color: white !important;
    font-weight: normal !important;
}

.bwg-album-thumbnails .bwg-title2 {
    -webkit-text-stroke: 1px #555;
    font-size: 24px !important;
    text-shadow: 0px 0px 0px #000000 !important;
}

/*============== highlights slider ===================*/
#highlights {
	padding-top: 0;
}

#highlights .owl-wrapper-outer {
    max-height: 380px;
}

#highlights .owl-item .item {
	padding-right: 15px;
	margin-left:15px;
    height: 380px;
}

#highlights .owl_slider .single_highlight_item {
    display: block;
    margin-top: 0;
    border: 0;
    flex: 0 0 25%;
    height: 380px;
    overflow: hidden;
}

#highlights .owl_slider .owl-item .single_highlight_item .service_icon {
    display: block;
	height: 250px;
}

#highlights .owl_slider .owl-item .single_highlight_item .service_text {
    display: block;
    padding: 16px 2px 13px 4px;
}

@media (max-width: 767px) {
    #highlights .owl-wrapper-outer {
        height: 400px !important;
    }

    #highlights .owl_slider .owl-item {
        height: 400px !important;
    }

    #highlights .owl-item .item {
        height: 400px !important;
    }

    #highlights .owl_slider .single_highlight_item {
        height: 400px !important;
    }
    #highlights .owl_slider .single_highlight_item .service_text p {
        margin: 0 !important;
    }

    #highlights .owl_slider .single_highlight_item .service_text h5 {
        margin-bottom: 5px !important;
    }
}

@media (max-width: 992px) {
    #highlights .owl_slider .owl-item .single_highlight_item  .service_icon {
        flex: 0 0 100% !important;
    }
    #highlights .owl_slider .owl-item .single_highlight_item .service_text {
        /*display: none;*/
    }

    #highlights .owl-wrapper-outer {
        height: 400px !important;
    }
}

@media (min-width: 1024px) {
    #highlights .owl_slider .owl-item .single_highlight_item .service_icon {
        flex: 1 1 80% !important;
    }
    #highlights .owl_slider .owl-item .single_highlight_item .service_text {
        flex: 1 1 20% !important;
    }
}

@media (min-width: 1200px) {
    #highlights .owl_slider .owl-item .single_highlight_item .service_icon {
        flex: 1 1 75% !important;
    }
    #highlights .owl_slider .owl-item .single_highlight_item .service_text {
        flex: 1 1 25% !important;
    }
}

#highlights .owl_slider {
    position: relative;
}
#highlights .owl_slider .customNavigation {
    position: absolute;
    right: 15px;
    top: -53px;
}
#highlights .owl_slider .customNavigation a i {
	color:#9b9b9b;
    font-size: 36px;
    margin-left:12px;
    transition: all .3s ease;
}
#highlights .owl_slider .customNavigation a i:hover {
	cursor: pointer;
    color: #1a8bb3;
}




#highlights .owl_slider .single_highlight_item  .service_text h5 {
    text-align: center;
	font-weight: normal;
	font-size: 24px;
	text-transform: capitalize;
	color:#262626;
	margin-bottom: 19px;
}
#highlights .owl_slider .single_highlight_item  .service_text p {
    text-align: center;
	line-height: 21px;
    font-size: 13.5px;
}
#highlights .owl_slider .single_highlight_item :hover .service_icon,
#highlights .owl_slider .single_highlight_item :focus .service_icon,
#highlights .owl_slider .single_highlight_item :active .service_icon {
	background: url(images/home/arrow-bg.png) no-repeat 50% 101%;
	background-color: #1a8bb3;
	cursor: pointer;
}
#highlights .owl_slider .single_highlight_item :hover .icon_border,
#highlights .owl_slider .single_highlight_item :focus .icon_border,
#highlights .owl_slider .single_highlight_item :active .icon_border {
	border:1px solid #fff;
}
#highlights .owl_slider .single_highlight_item :hover .icon_border span,
#highlights .owl_slider .single_highlight_item :focus .icon_border span,
#highlights .owl_slider .single_highlight_item :active .icon_border span {
	color:#fff;
}


/*============== Smashballoon Twitter feeds ==============*/

#ctf {
    height: 380px;
    min-height: 380px !important;
    overflow-y: scroll;
}

#ctf::-webkit-scrollbar {
    width: 10px;
}

#ctf::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#ctf::-webkit-scrollbar-thumb {
    background: #01416b;
}

#ctf .ctf-header {
    display: none;
}

#ctf .ctf-context {
    display: none;
}

#ctf .ctf-corner-logo {
    top: 0px !important;
}

/*============== flow-flow social feeds ==============*/
/* #deprecated : abandonned as from 2023-05-30 after twitter API update */
.ff-stream {
    background: none !important;
    padding-top: 0 !important;
    overflow: hidden;
}
.ff-stream .ff-stream-wrapper {
	margin-top: 0 !important;
}
.ff-stream .ff-header {
/*	display: none !important; */
}
.ff-upic-round .picture-item__inner {
    border: solid 1px lightgrey;
}
.ff-stream h4 {
    font-size: 15px !important;
    line-height: 20px !important;
    margin-top: 10px !important;
    margin-bottom: 0px !important;
}
.ff-stream h4:after {
    display: none !important;
}
.ff-item.ff-facebook .ff-content {
    display: none !important;
}
.ff-item .ff-content {
    margin-top: 15px !important;
    margin-bottom: 10px !important;
}
.ff-item .ff-item-meta {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

/*============== header ==============================*/
.top_header {
    background: #0495f4;
    padding-top: 5px;
    padding-bottom: 5px;
}

.top_header .top_header_left p {
    display: inline-block;
    margin-right: 5px;
    padding-top: 0;
}

.top_header .top_header_left span.icon {
    padding-right: 3px;
}

.top_header .top_header_left span.icon:before{
    font-size: 15px !important;
    margin-top: -3px;
}

.top_header .social-icons li a {
    width: 25px;
    height: 25px;
    line-height: 25px;
    padding: 0px;
    display: inline-block;
    overflow: hidden;
    text-align: center;
    color: #333333;
    font-size: 10px;
    border-radius: 4px;
    background: #e6e6e6;
    margin-left: 5px;
}
.top_header .social-icons li {
    display: inline-block;
    padding-left: 0;
}
.top_header .social-icons ul {
    margin: 0;
}



.button-main {
    background: #016EB5;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    color: #ffc20d;
    background: none;
}

.navbar-default .navbar-nav {
    padding-top: 0 !important;
}



footer {
    background: white;
    padding-top: 21px;
}


footer .main_footer {
    position: relative;
    padding-bottom: 40px;
}

footer .main_footer #text-5 {
    position: relative;
    width: 100%;
}

footer .main_footer #text-5 .textwidget {
    display: flex;
    align-items: center;
    padding-left: 18px;
}

footer .main_footer #text-5 .textwidget a {
    margin-left: 12px;
}

footer .main_footer #bunch_about_us-2 .button-main {
    display: none;
}

footer .main_footer #bunch_about_us-2 p {
    margin: 0;
}

footer .main_footer #bunch_contact_info-2 {
    width: 100%;
}

footer .main_footer #bunch_contact_info-2 ul {
    display: flex;
}

@media (min-width: 1200px) {
    footer .main_footer #bunch_contact_info-2 {
        width: 50%;
    }
    footer .main_footer #text-5 {
        position: absolute;
        width: 50%;
        bottom: 20px;
        right: 0;
    }
    footer .contact_us ul li {
        padding-left: 30px !important;
        margin-right: 24px !important;
    }
}

@media (max-width: 767px) {
    footer .main_footer #text-5 {
        bottom: 10px;
        padding: 0;
        width: 100%;
        white-space: nowrap;
    }
    footer .main_footer #bunch_contact_info-2 ul {
        display: block;
    }

}


footer .container-wrapper {
    width: 100%;
}

footer .container-wrapper.blue {
    background: #01416b;
}

footer .bottom_footer {
    padding: 0;
    margin: 0;
    border: 0;
    height: 50px;
    line-height: 50px;
}


footer .footer_logo img {
    height: 80px;
    margin-right: 15px;
    float: left;
}

footer .subscribe_us span:before {
    background: white;
}
footer .subscribe_us ul li a {
	background: #016EB5;
	border: 3px solid rgba(26, 139, 179, 0.2);
	color:#fff;
}

footer .subscribe_us button {
    background: #016EB5;
}

footer .subscribe_us ul li a:hover,
footer .subscribe_us ul li a:focus {
    /* border:3px solid rgba(43,43,43,0.9);  */
	color:#9b9b9b;
	background: #2b2b2b;
}

footer .useful_links {
    padding-left: 15px;
}

footer .links ul {
    list-style-type: disc;
    color: white;
}

footer .links ul li a:hover {
    color: #1A99EC;
}

footer .banner_up-to-date {
    display: flex;
    align-items: center;
}

footer .banner_up-to-date .banner_up-to-date_title {
    margin-right: 12px;
}

footer .banner_up-to-date .banner_up-to-date_icons {
    display: flex;
    align-items: center;
}

footer .contact_us ul li:nth-child(2):before {
	top:0px !important;
}

footer .contact_us ul li:nth-child(3):before {
    top: 0px !important;
}

footer .contact_us ul li:nth-child(2) {
    display: none;
}

/*============== customviews ==============*/

/* hide thumbnails in collapsible lists */
.pt-cv-view .panel-body .pt-cv-href-thumbnail {
    display: none;
}

.pt-cv-view .pt-cv-ifield img.pt-cv-thumbnail {
    display: none;
}

.pt-cv-view .pt-cv-ifield a.pt-cv-href-thumbnail {
    background-size: contain;
}

.pt-cv-view .pt-cv-ifield .pt-cv-title {
    margin-bottom: 0px !important;
}

.pt-cv-view .pt-cv-ifield .pt-cv-content {
    font-family: Alegreya, serif;
}

.pt-cv-view .pt-cv-meta-fields {
    font-family: rotis_regular;
}
.pt-cv-view .pt-cv-meta-fields .entry-date time {
    color: black !important;
}

.pt-cv-view .pt-cv-meta-fields a {
    color: #1A99EC !important;
}

.pt-cv-view .pt-cv-meta-fields a:hover {
    color: #01416b !important;
}

/*=========== specific views customisations ================*/

/* latest articles */
#pt-cv-view-c136587bn3.pt-cv-view h5.pt-cv-title, .pt-cv-view h5.pt-cv-title a.cvplbd {
    text-align: justify;
    max-height: 35px;
    overflow: hidden;
}

#pt-cv-view-c136587bn3.pt-cv-view .pt-cv-ifield a.pt-cv-href-thumbnail {
    background-size: contain;
    border-radius: 5px;
}

/* latest publications */
#pt-cv-view-9e017cf8hd.pt-cv-view h5.pt-cv-title, .pt-cv-view h5.pt-cv-title a.cvplbd {
    text-align: justify;
    max-height: 35px;
    overflow: hidden;
}

/*============= tribe Events tickets ==================*/
.tribe_events h2.tribe-events-tickets-title {
    display: none;
}
.tribe_events form.cart:nth-of-type(1)::before {
    display: block;
    content:'Register for the event';
    font-size: 20px;
    font-family: rotis_regular;
}
.tribe_events table.tribe-events-tickets {
    width: 100% !important;
}
.tribe_events table.tribe-events-tickets td.tickets_name {
    width: 20%;
}
.tribe_events table.tribe-events-tickets td.tickets_price {
    width: 15%;
}
.tribe-button {
    color: black;
}
.tribe_events .tribe-events-single-event-description {
    margin-bottom: 30px;
}

td.tribe-events-thismonth > div > a, td.tribe-events-past > div > a, td.tribe-events-future > div > a {
    padding: 0;
}

/*=========== Bootstrap customisations =====================*/
.form-group button[type="submit"] {
    background: #016EB5 !important;
}

.form-group button[type="submit"]:hover {
    background: #01416b !important;
}
/*=========== WordPress Backery editor customizations=======*/
/* set v align to top in inner-tables */
.wpb_row .wpb_column table td {
    vertical-align: top !important;
}


/*=========== Responsive adjustments =======================*/
.pull-right-sm {
    float: right;
}

@media (min-width: 768px) and (max-width : 1200px) {
    /* hide home link under 1200px width*/
    li.mega-menu-item-home {
        display: none !important;
    }
}
@media (max-width : 992px) {

    footer .bottom_footer .left_space_fix {
        padding-left: 0 !important;
    }
    footer .bottom_footer .left_space_fix .pull-right {
        float: none !important;
    }
}
@media (max-width: 767px) {
    li.mega-menu-column {
        width: 100% !important;
    }
    .pull-right-sm {
      float: none !important;
    }
    footer .useful_links, footer .subscribe_us, footer .contact_us {
        padding-top: 0 !important;
    }
    footer .useful_links {
        padding-left: 0;
    }
    footer h4 {
        padding-top: 25px !important;
    }
    footer .links ul li {
        line-height: 36px;
        font-size: 120%;
        display: inline-block;
        margin-left: 0;
        margin-right: 20px;
    }
}
@media (max-width : 600px) {
    span.mega-menu-description {
        display: none !important;
    }
    #mega-menu-wrap-main_menu #mega-menu-main_menu > li > a.mega-menu-link .mega-description-group::after {
	    display: none;
    }
    #mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item-has-children > a.mega-menu-link:after {
        margin-top: 5px !important;
    }
    #mega-menu-wrap-main_menu ul.mega-sub-menu a.mega-menu-link {
        margin-left: 12px !important;
    }
    .bottom_header .featured_holder div:first-of-type > a > h3:first-of-type {
        margin-top: 0;
    }
}

#mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-flyout ul.mega-sub-menu {
    width: 100% !important;
}

/* MOBILE menu (main) */
@media (max-width : 767px) {
    #mega-menu-wrap-main_menu, #mega-menu-wrap-greencorner_menu{
        height: calc(100vh - 70px);
    }
    #mega-menu-main_menu, #mega-menu-greencorner_menu {
        height: 100% !important;
        overflow-y: scroll !important;
    }

    #mega-menu-main_menu::-webkit-scrollbar {
        width: 10px;
    }

    #mega-menu-main_menu::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    #mega-menu-main_menu::-webkit-scrollbar-thumb {
        background: #01416b;
    }

    .main_menu li.mega-menu-item a.mega-menu-link .mega-description-group .mega-menu-title {
        max-width: 100%;
    }

    .main_menu li.mega-menu-item a.mega-menu-link .mega-indicator {
        display: none !important;
    }

    /* force displaying sub menu whatever toggle state */
    #mega-menu-main_menu ul.mega-sub-menu {
        display: block !important;
    }

    body.menu-opened .top_header {
        display: none;
    }
    body.menu-opened .bottom_header {
        display: none;
    }
    body.menu-opened .main_content {
        display: none;
    }
    body.menu-opened footer {
        display: none;
    }
    body.menu-opened > .page-wrapper {
        height: 100vh;
    }

}

.multiselect-container {
    max-height: 250px;
    overflow-y: scroll;
    width: 100%;
}

.multiselect-container.dropdown-menu > li  {
    padding-left: 10px;
}

.multiselect-container.dropdown-menu > .active > a, .multiselect-container.dropdown-menu > .active > a:hover, .multiselect-container.dropdown-menu > .active > a:focus {
    color: #333;
    background-color: white;
}
.datepicker.datepicker-dropdown {
    /* margin-top: 40px; */
}
.red {
    color: red;
}

table.dash-details {
    min-width: 500px;
    margin: auto;
    border: solid 1px black;
    font-size: 18px;
}
table.dash-details th {
    padding: 20px;
    text-align: center;
}
table.dash-details td {
    text-align: center;
    font-size: 14px;
}

table.dash-details tr:nth-child(even) {
  background-color: #f2f2f2;
}

tr.row-country td.cell-type {
    vertical-align: middle !important;
    max-width: 250px;
}
th.dash-col-title {
    color: #337ab7;
    font-size: 16px;
}

th.col-y {
    text-align: left;
}

.dash-link-country {
    display: inline-block;
    margin-top: 13px;
}
.dash-btn {
    float: right;
    margin-right: 10px;
}

.dash-type {
    display: inline-block;
}

.post-password-form input[type="submit"] {
    background-color: #01416b;
}

button.multiselect.dropdown-toggle {
    overflow: hidden;
}

ul.initiative_groups {
    list-style-type: none;
    padding: 0;
    margin: 0
}

ul.initiative_groups li {
    display: inline;
    margin-right: 10px;
}
ul.initiative_groups li a {
    cursor: default !important;
}



.tribe_events-template-default.single-tribe_events .tribe-events-single img,
.article-template-default.single-article article img,
.page-template-page-organisation.page-template .wpb_content_element img,
.publication-template-default.single-publication article img {
  max-width: 90vw;
  object-fit: contain;
  height: 100%;
}

/* greencorner */

body.page-template-page-greencorner a[name] {
	padding-top: 180px;
}

body.page-template-page-greencorner .glossary_index {
    margin-top: 20px;
    font-size: calc(2vw + 1vh);
}

.main_content.greencorner .vc_row {
    padding-right: 15px !important;
    padding-left: 15px !important;
}

@media (min-width: 1200px) {
    .main_menu.greencorner .container {
        width: 1140px;
    }
}

.main_content.greencorner {
    color: #000000;
}

.main_content.greencorner .page-title {
    color: #ffc20d;
    font-family: 'rotis_regular';
    font-weight: bold;
    font-size: 20px;
}

.main_content.greencorner h2 {
    color: #259A52;
    margin-top: 10px;
}

.main_content.greencorner > .container {
    position: relative;
}

.main_content.greencorner .greencorner-glossary_wrapper {
    position: absolute;
    width: 50px;
    height: 200px;
    z-index: 3;
    right: -50px;
    top: calc(100vh - 530px);
}

.main_content.greencorner.has-fixed .greencorner-glossary_wrapper {
    top: calc(100vh - 450px);
}

@media (max-width: 767px) {
    .main_content.greencorner .greencorner-glossary_wrapper {
        top: 95px !important;
        right: 0px;
    }
}

@media (max-width: 767px) {
    .main_content.greencorner .greencorner-glossary_wrapper {
        top: calc(100vh - 487px) !important;
        height: 52px !important;
        overflow: hidden;
    }
    .main_content.greencorner.has-fixed .greencorner-glossary_wrapper {
        top: calc(100vh - 417px) !important;
    }
    .main_content.greencorner .greencorner-glossary_wrapper .glossary_box {
        box-shadow: none !important;
        height: 52px !important;
        overflow: hidden;
    }
}

.main_content.greencorner .greencorner-glossary_wrapper .glossary_box {
    position: fixed;
    cursor: pointer;
    background-color: #259A52;
    width: 50px;
    height: 190px;
    box-shadow: -10px 10px 20px -10px rgb(0 0 0);
}

.main_content.greencorner .greencorner-glossary_wrapper .glossary_box::before {
    display: block;
    content: '';
    background-image: url(images/glossary_thumb.png);
    height: 50px;
    width: 50px;
}

.main_content.greencorner .greencorner-glossary_wrapper .glossary_box p {
    display: block;
    padding: 0;
    margin: 0;
    transform: rotate(90deg);
    font-family: 'rotis_regular';
    letter-spacing: 2px;
    color: white;
    font-size: 25px;
    text-transform: uppercase;
    margin-top: 20px;
}

.main_content.greencorner .quicklinks .wpb_content_element {
    margin-bottom: 20px;
}

.main_content.greencorner .quicklinks .title-column .vc_column-inner .wpb_wrapper {
    display: flex;
    align-items: center;
}

.main_content.greencorner .quicklinks .title-column p {
    font-size: 22px;
    font-family: 'rotis_regular';
    color: #259A52;
    margin-left: 15px;
}

.main_content.greencorner .quicklinks .title-column p a {
    color: #259A52;
}

.main_content.greencorner .quicklinks .title-column p a:hover {
    color: #104122;
}

.main_content.greencorner .quicklinks .text-column p {
    text-align: left;
}

.main_content.greencorner .knowledgelinks .wpb_row {
    display: flex;
    margin: 0;
}

.main_content.greencorner .financial-initiatives .select-column > .vc_column-inner {
    padding-right: 0;
    margin-right: 0;
}

.main_content.greencorner .financial-initiatives .select-column div.select-choice {
	display: flex;
    margin-top: 10px;
    font-family: 'rotis_regular';
    font-size: 16px;
}

.main_content.greencorner .financial-initiatives .select-column div.select-choice input {
    display: block;
    width: 20px;
    margin-right: 10px;
}

.main_content.greencorner .knowledgelinks .wpb_row .image-column img {
    height: 250px !important;
    width: auto;
    object-fit: contain;
    object-position: top;
}

.main_content.greencorner .knowledgelinks .wpb_row .text-column .title-cell p {
    font-family: 'rotis_regular';
    font-size: 25px;
    text-align: left !important;
}

.main_content.greencorner .knowledgelinks .wpb_row .text-column .title-cell a {
    font-weight: bold;
    color: #259A52;
}

.main_content.greencorner .knowledgelinks .wpb_row .text-column .title-cell a:hover {
    color: #104122;
}


.main_content.greencorner .tribe-mini-calendar-wrapper {
    max-width: 300px;
    margin: auto;
}

.main_content.greencorner .calendar-summary .select-column div.select-choice {
	display: flex;
    margin-top: 10px;
    font-family: 'rotis_regular';
    font-size: 16px;
}

.main_content.greencorner .calendar-summary .select-column div.select-choice input {
    display: block;
    width: 20px;
    margin-right: 10px;
}

.main_content.greencorner .engage-wrapper {
    display: block;
    width: 100%;
}

.main_content.greencorner .engage-wrapper .engage-inner {
    width: 120px;
    height: 140px;
    float: left;
    margin-right: 25px;
    overflow: hidden;
}

.main_content.greencorner .engage-wrapper .engage-inner .engage_img img {
    width: 100%;
    vertical-align: top;
    object-position: top;
}

.main_content.greencorner .engage-wrapper .engage-inner .engage_title {
    display: block;
    width: 100%;
    text-align: center;
}

/*description of the posts in the knowledge hub*/
/*paragraph in the page is displayed by default in the block*/
/*when hovering over a post, display short description of the content*/
/*made with bf_greencorner_resources in the betterfinance.php and my-script.js*/

.item-content-container {
    width: 100%;
    padding: 25px;
    height: 130px;
    display: block;
    margin-bottom: 25px;
    outline: 1px solid green;
    overflow: hidden;
}

@media (max-width: 1200px) {
    .item-content-container {
        height: 150px;
    }
}
@media (max-width: 992px) {
    .item-content-container {
        height: 185px;
    }
}
@media (max-width: 667px) {
    .item-content-container {
        height: 270px;
    }
}

.content-div {
  display: none;
  position: absolute;
  top: 275;
  left: 30;
  text-align: justify;
  margin-right: 35px;
  overflow: hidden;
}

.paragraph-hidden-wpbakery {
    display: none;
}

#knowledge-hub-text-example {
    display: block;
    text-align: justify;
}

#section-description {
    display: none;
}

.inner-div {
  cursor: pointer;
}

.main_content.greencorner .external_res-wrapper.full {
    position: relative;
    display: inline-block;
    padding-right: 15px;
    padding-left: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    min-width: calc(50% - 30px);
    max-width: calc(50% - 30px);
}

@media (max-width: 767px) {
    .main_content.greencorner .external_res-wrapper.full .res_excerpt-overlay {
        display: none !important;
    }
    .main_content.greencorner .external_res-wrapper.full {
        min-width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 991px) {
    .main_content.greencorner .external_res-wrapper.full {
        position: relative;
        max-width: 100% !important;
        min-width: 100%;
    }
}

.main_content.greencorner .external_res-wrapper.full .res_excerpt-overlay {
    position: absolute;
    display: block;
    cursor: pointer;
    height: 372px;
    width: calc(100% - 28px);
    top: -1px;
    left: 14px;
    outline: 1px solid grey;
    overflow: hidden;
    z-index: 4;
    box-shadow: -10px 10px 20px -10px rgb(0 0 0);
    opacity: 0;
    transition: opacity 0.9s;
    background-size: contain;
}

.main_content.greencorner .external_res-wrapper.full:hover .res_excerpt-overlay {
    opacity: 1;
}

.main_content.greencorner .external_res-wrapper.full .res_excerpt {
    display: block;
    background-color: rgba(255,255,255,0.9);
    height: 100%;
    width: 100%;
    padding: 15px;
    font-family: 'rotis_regular';
    font-size: 17px;
}

.main_content.greencorner .external_res-wrapper.full .res_excerpt a, .main_content.greencorner .external_res-wrapper.full .res_excerpt a:hover {
    color: #01416b;
}

.main_content.greencorner .external_res-wrapper.full .res_img {
    display: block;
    outline: solid 2px #259A52;
    max-height: 370px;
    min-height: 370px;
    height: 370px;
}

.main_content.greencorner .external_res-wrapper.full .res_img img {
    width: 100%;
    object-fit: cover;
    height: 370px;
    object-position: top;
}

.main_content.greencorner .external_res-wrapper.full .res_title {
    display: flex;
    margin-top: 15px;
    font-size: 20px;
    font-family: 'rotis_regular';
    color: #259A52;
    font-weight: bold;
    text-align: center;
    height: 50px;
}

.main_content.greencorner .external_res-wrapper.full .res_title span {
    display: block;
    width: 100%;
}

.main_content.greencorner .external_res-wrapper.full .res_title .res_title-details {
    margin-left: 20px;
    font-size: 15px;
    text-align: left;
    color: black;
}

/* template variation `.default` */
.main_content.greencorner .external_res-wrapper.default {
    position: relative;
    display: inline-flex;
    padding-right: 15px;
    padding-left: 15px;
    margin-bottom: 45px;
    margin-top: 20px;
    cursor: pointer;
    width: 100%;
    height: 65px;
    align-items: center;
    box-sizing: content-box;
    padding-bottom: 20px;
    padding-top: 20px;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .main_content.greencorner .external_res-wrapper.default {
        width: calc(50% - 40px);
    }
}

@media (min-width: 1024px) {
    .main_content.greencorner .external_res-wrapper.default {
        width: calc(25% - 40px);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .main_content.greencorner .external_res-wrapper.default .res_title span {
        font-size: 13px;
    }
}

/*
.main_content.greencorner .external_res-wrapper.default .res_excerpt-overlay {
    position: absolute;
    display: none;
    cursor: pointer;
    height: 240px;
    width: calc(100% + 20px);
    top: -1px;
    left: -10px;
    outline: 1px solid green;
    overflow: hidden;
    z-index: 4;
    opacity: 0;
    transition: opacity 0.9s;
    background-size: contain;
}
*/

.main_content.greencorner .external_res-wrapper.default:hover {
    outline: solid 1px #259A52;
}

.main_content.greencorner .external_res-wrapper.default:hover .res_excerpt-overlay {
    display: block;
    opacity: 1;
}


.main_content.greencorner .external_res-wrapper.default .res_excerpt {
    display: block;
    background-color: rgba(255,255,255,0.9);
    overflow-y: auto;
    height: calc(100% - 65px);
    width: 100%;
    font-family: 'rotis_regular';
    font-size: 15px;
    background-color: white;
    margin-top: 65px;
    padding: 10px;
}

.main_content.greencorner .external_res-wrapper.default .res_excerpt::-webkit-scrollbar {
    width: 10px;
}

.main_content.greencorner .external_res-wrapper.default .res_excerpt::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.main_content.greencorner .external_res-wrapper.default .res_excerpt::-webkit-scrollbar-thumb {
    background: #01416b;
}

.main_content.greencorner .external_res-wrapper.default .res_excerpt a, .main_content.greencorner .external_res-wrapper.default .res_excerpt a:hover {
    color: #01416b;
}

.main_content.greencorner .external_res-wrapper.default .res_img {
    display: block;
    max-height: 90px;
    min-height: 90px;
    height: 90px;
    flex: 0 0 90px;
    margin: 8px;
}

.main_content.greencorner .external_res-wrapper.default .res_img.bigger-logo {
    display: block;
    max-height: 120px;
    min-height: 120px;
    height: 120px;
    flex: 0 0 120px;
    margin: 0px;
}

.main_content.greencorner .external_res-wrapper.default .res_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
}

.main_content.greencorner .external_res-wrapper.default .res_title {
    display: flex;
    font-size: 16.5px;
    font-family: 'rotis_regular';
    color: #259A52;
    font-weight: bold;
    text-align: center;
    width: 100%;
    overflow: hidden;
}

.main_content.greencorner .external_res-wrapper.default .res_title span {
    display: inline-block;
    width: 100%;
    max-height: 95px;
    overflow: hidden;
}

.main_content.greencorner .external_res-wrapper.default .res_title .res_title-details {
    margin-left: 20px;
    font-size: 15px;
    text-align: left;
    color: black;
}


/* PT VIEW CUSTOM */

.pt-cv-pagination-wrapper .pagination a {
    font-size: 20px !important;
    font-family: 'rotis_regular' !important;
}

/* bootstrap pagination */
ul.bootpag {
    display: flex;
    justify-content: center;
}

ul.bootpag li.disabled a {
	font-weight: bold;
    background: white;
}

/* social warefare customizations */

/* bottom banner has been de-activated but still shows up as a white border */
.nc_wrapper.bottom {
    display: none !important;
}

/* PDF.js customizations */

/* never show fullscreen link (above iframe) */
.pdfjs-fullscreen {
    display: none;
}

.pdfjs-custom-fullscreen {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.pdfjs-custom-fullscreen:hover {
    background: rgba(0,0,0,0.1);
}

.pdfjs-custom-fullscreen i {
    display: block;
}

.pdfjs-custom-iframe-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}


/* Osano customizations */

@media only screen and (min-width: 500px) {
    .osano-cm-dialog {
        min-width: 450px;
    }
}

.osano-cm-dialog {
    border: solid 1px black;
    background-color: white;
    top: 33%;
}
.osano-cm-button {
    background-color: #01416b;
}

.osano-cm-button.osano-cm-accept-all  {
    background-color: #1f781b;
}
.osano-cm-button.osano-cm-save {
    opacity: 0.5;
}
.osano-cm-close {
    overflow: visible;
}
.osano-cm-widget{
    display:none;
}
.a-osano{
    cursor: pointer;
    text-decoration: underline;
}
.osano-cm-close {
    overflow: visible;
}
.osano-cm-close:focus {
    background-color: transparent;
    border-color: transparent;
    stroke: black;
}