/*
Theme Name: UHRP
Theme URI: https://uhrp.org
Version: 1.0
Description: A custom theme for UHRP
Author: The Snowberry Team
Author URI: https://snowberrymedia.com
template: bb-theme
*/

/************************************************************
 * GENERAL
 ***********************************************************/
.uabb-creative-menu.uabb-menu-default .menu > li:last-child a {
	border: none !important;
}

.uabb-creative-menu.uabb-menu-default .menu > li a {
	position: relative;
}

i.fas.fa-money-bill-wave {
    transform: translateX(-7px);
}

.uabb-creative-menu.uabb-menu-default .menu > li a:before {
	width: 0px;
	height: 2px; 
	position: absolute;
	bottom: -2px;
	left: 10px;
	display: block;
	background-color: #2f6796;
	content: '';
	transition: .4s;
}
 .arabic {
    text-align: right;
    direction: rtl;
}

#header-search input.uabb-search-text {
    max-width: 600px;
	border-radius: 0;
}

footer .uabb-creative-menu.uabb-menu-default .menu > li a:before {
	width: 0px;
	height: 2px; 
	position: absolute;
	bottom: 1px;
	left: 10px;
	display: block;
	background-color: #fff !important;
	content: '';
	transition: .4s;
}
footer .uabb-creative-menu.uabb-menu-default .menu > li a {
	width: fit-content;
	position: relative;
}

footer .uabb-creative-menu.uabb-menu-default .menu > li a:hover:before {
width: calc(100% - 20px);
}

.uabb-creative-menu.uabb-menu-default .menu > li.current-menu-item a:before {
	width: calc(100% - 20px);
}

.uabb-creative-menu.uabb-menu-default .menu > li a:hover:before  {
	width: calc(100% - 20px);
}
.uabb-creative-menu.uabb-menu-default .menu > li a:hover {
	color: #2f6796;
}
.uabb-module-content .uabb-text-editor a,
body .uabb-module-content .uabb-text-editor p a {
    color: #053356;
    font-weight: 500 !important;
}

@media (min-width:1250px) {
    .skew-layout--left .fl-row-content {
        margin-left: calc((100vw - 1220px)/2);
    }
    .skew-layout--right .fl-row-content {
        margin-right: calc((100vw - 1220px)/2);
    }
    .col-padded--left .fl-col-content {
        padding-left: calc((100vw - 1220px)/2);
    }
    .col-padded--right .fl-col-content {
        padding-right: calc((100vw - 1220px)/2);
    }
	
	.home-hero .fl-row-content-wrap,
	.home-hero.fl-row {
		max-height: 670px !important;
	}
}

.modern-footnotes-footnote a::before {
    content: "[";
}

.modern-footnotes-footnote a::after {
    content: "]";
}

.modern-footnotes-footnote__note--tooltip {
	box-shadow: 0 4px 6px 0px rgb(0 0 0 / 30%);
	border-color: rgb(0 0 0 / 20%);
	border-radius: 0;
}

blockquote {
	color: #2f6796;
	text-align: center;
}

sub,
sup,
figcaption {
	font-size: 75% !important;
}

figcaption {
    background: #f7f7f7 !important;
    padding: .5rem !important;
}

/************************************************************
 * HEADER
 ***********************************************************/

#menu-topbar-nav > li:last-child > a,
#menu-topbar-nav > li:last-child > .uabb-has-submenu-container > a {
	border-right: none;
}

#menu-topbar-nav > li > a .fas {
	color: #0d4c6b;
	font-size: 120%;
}

#menu-topbar-nav > li > a .fa-search {
	margin-right: 5px;
}

#menu-topbar-nav > li > a .fa-angle-down {
	margin-left: 5px;
	font-size: 150%;
	transform: translateY(2px);
}

/************************************************************
 * HOME
 ***********************************************************/

.home-hero .fl-slide-foreground {
	display: flex;
	flex: 1 0 auto;
	align-items: flex-start;
	justify-content: space-between;
}

.home-hero .fl-slide .fl-slide-photo {
	margin-top: 60px;
}

.home-hero .fl-slide .fl-slide-photo-wrap {
	margin-right: 1px;
}

.home-hero .fl-content-slider-navigation {
	top: auto;
	bottom: 110px;
	width: 110px;
	left: 40%;
	margin-left: -85px;
}

.home-hero .fl-content-slider-navigation svg {
	display: none;
}

.home-hero .fl-content-slider-navigation .slider-prev,
.home-hero .fl-content-slider-navigation .slider-next {
	opacity: 1;
}

.home-hero .fl-content-slider-navigation .slider-prev .fl-content-slider-svg-container,
.home-hero .fl-content-slider-navigation .slider-next .fl-content-slider-svg-container {
	line-height: 40px;
	text-align: center;
}

.home-hero .fl-content-slider-navigation .slider-prev .fl-content-slider-svg-container::before,
.home-hero .fl-content-slider-navigation .slider-next .fl-content-slider-svg-container::before {
	content: '\f060';
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
}

.home-hero .fl-content-slider-navigation .slider-next .fl-content-slider-svg-container::before {
	content: '\f061';
}

.home-hero .fl-content-slider-navigation .slider-prev .fl-content-slider-svg-container {
	background: rgba(255,255,255,0.2);
	color: #ffffff;
}

.home-hero .fl-module-post-slider .bx-controls {
    left: 0;
    z-index: 10;
}

.home-hero .bx-wrapper .bx-pager {
    bottom: 80px;
    text-align: left;
}

.home-hero .bx-wrapper .bx-pager.bx-default-pager a {
    background: rgba(255,255,255,0.2);
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.home-hero .bx-wrapper .bx-pager.bx-default-pager a.active,
.home-hero .bx-wrapper .bx-pager.bx-default-pager a:focus,
.home-hero .bx-wrapper .bx-pager.bx-default-pager a:hover {
    background: #ffffff;
}

.home-hero .bx-wrapper .bx-pager-item {
    vertical-align: middle
}

.overlapping-content-block .fl-row-content > .fl-col-group {
    position: relative;
}

.overlapping-content-card {
    position: relative;
    z-index: 2;
    bottom: 0;
}


@media only screen and (max-width: 640px) {
.media {
    display: -ms-flexbox;
    display: flex;
   flex-wrap: wrap;
}

.report-image img {
    width: 100% !important;
    height: auto !important;
}

.report-card .report-image {
	padding-bottom: 15px;
	}
		
		
.uabb-slide-content {
    padding: 20px;

}

.uabb-slide-content-wrapper {

height: auto !important;
}

}
.fl-rich-text p a {

  text-decoration: underline !important;
}
