/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/* Quick close out button */
.sticky-button {
    position: absolute;
    display: flex;
    flex-direction: column;
    z-index: 9999;
    transform: translateY(100%);
    bottom: -2.5rem;
	top: auto;
    right: 0;
    background: #b00303;
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

	#header-secondary-outer, #header-outer #header-secondary-outer {
		background-color: transparent;
		z-index: -1;
	}

.sticky-button span {
    font-weight: 600;
	letter-spacing: 1px;
    font-size: 20px;
    line-height: .9;
}

@media (min-width: 500px) {
	    .sticky-button {
        bottom: 0;
    }
}


@media (min-width: 1000px) {
	.small-nav .sticky-button {
		transform: translateY(60%);
	}
	
	    .sticky-button {
        top: 0;
        bottom: auto;
        transform: none;
    }
}

/* Quick Close Disclaimer Modal */

.disclaimer-modal {
z-index: 9998;
    display: none;
    position: absolute;
    justify-content: center;
    align-items: center;
    top: 200px;
    left: 0;
    width: 100%;
    height: fit-content;
}

@media (min-width: 501px) {
	.disclaimer-modal {
		position: fixed;
		justify-content: end;
	}
}

@media (min-width: 690px) {
	.disclaimer-modal {
		top: 220px;
	}
}

.disclaimer-modal__bg {
	background: #0a3b59; 
	padding: 20px;
	margin: 20px;
	border-radius: 4px;
	max-width: 700px;
}

@media (min-width: 501px) {
	.disclaimer-modal__bg {
		margin: 0;
		padding: 40px;
		border-radius: 0;
		border-top-left-radius: 4px;
		border-bottom-left-radius: 4px;
	}
}

.disclaimer-modal__bg h2 {
	font-size: 32px;
    line-height: 1.5;
	color: #fff;
}

.disclaimer-modal__bg p {
	color: #fff;
}

.disclaimer-modal__bg a {
	color: #fff;
	font-weight: 600;
	text-decoration: underline;
}

.disclaimer-modal__btn {
	padding: 15px 20px;
	background: #fff;
	color: #0a3b59;
	font-weight: 600;
	font-size: 18px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

/* Floating footer */

.floating-footer{
	display:flex;
	align-items:center;
	position:fixed;
	bottom:0;
	left:0;
	width:100%;
	z-index:100;
	background-color:#267783;
	padding:20px;
}

@media only screen and (min-width: 1px) and (max-width: 600px) {
	.floating-footer {
		padding: 15px;
	}
}

.floating-footer .container{
	align-items: center;
  display: flex;
	justify-content: center;
}

@media only screen and (min-width: 1px) and (max-width: 600px) {
	.floating-footer .container {
	display: block;
	max-width: 100%;
	font-size: 16px;
	}
}

.floating-footer a{
	color:white;
}
.floating-footer p{
	color:white;
	padding:0;
}

@media only screen and (min-width: 1px) and (max-width: 600px) {
	.floating-footer p {
	line-height: 1.4;
	}
}

.floating-footer .fa-phone{
	margin-top:5px;
}
.footer-links{
	margin-left:20px;
}

@media only screen and (min-width: 1px) and (max-width: 600px) {
	.footer-links{
	margin-left:0px;
	margin-top: 10px;
}
}


.floating-footer .underlined{
	text-decoration: underline;
}

.floating-footer i{
	margin-right:10px;
}

body:not([data-header-format="left-header"]) #header-outer nav > ul > .megamenu > ul > li:hover > a, body:not([data-header-format="left-header"]) #header-outer #top nav > ul > .megamenu > ul > li:hover > a, body:not([data-header-format="left-header"]) #header-outer #header-secondary-outer nav > ul > .megamenu > ul > li:hover > a, #header-outer:not([data-format="left-header"]) nav > ul > .megamenu > ul > .current-menu-ancestor.menu-item-has-children > a, body:not([data-header-format="left-header"]) #header-outer nav > ul > .megamenu > ul > .current-menu-item > a, body:not([data-header-format="left-header"]) #header-outer nav > ul > .megamenu > ul > li > ul > .has-ul:hover > a, body:not([data-header-format="left-header"]) #header-outer nav > ul > .megamenu > ul > li > ul > .has-ul > a:focus, #header-outer:not([data-format="left-header"]) nav > ul > .megamenu ul ul .current-menu-item.has-ul > a, #header-outer:not([data-format="left-header"]) nav > ul > .megamenu ul ul .current-menu-ancestor.has-ul > a,
body #header-outer #top nav .sf-menu ul .sfHover > a .item_desc, body #header-outer #top nav .sf-menu ul li:hover > a .item_desc, body #header-outer #top nav .sf-menu ul .current-menu-item > a .item_desc, body #header-outer #top nav .sf-menu ul .current_page_item > a .item_desc, body #header-outer #top nav .sf-menu ul .current_page_ancestor > a .item_desc, body #header-outer nav > ul > .megamenu > ul ul li a:focus .item_desc{
	color:white !important;
	background-color: #267783 !important;
}

.align-buttons .wpb_wrapper{
	display: flex;
	flex-direction:column;
	height:100%;
	align-items:flex-start;
}

.align-buttons .wpb_wrapper .nectar-button{
	margin-top:auto;
	margin-bottom:0;
}

/* To Top button */

.body[data-button-style*="rounded"] #to-top:hover i.fa-angle-up.top-icon, body[data-button-style*="rounded"] #to-top:hover i.fa-angle-up, body[data-button-style*="rounded"] #to-top.hovered i.fa-angle-up.top-icon, body[data-button-style*="rounded"] #to-top.hovered i.fa-angle-up{
	transform: translate(0, -100%) !important;
}
#to-top i{
	width:60px;
	height:60px;
	line-height: 53px;
	font-size: 35px;
}

#to-top{
	bottom:-10px;
	width:60px;
	height:60px;
}


/* Resources dropdown */

body[data-button-style*=slightly_rounded] .nectar-post-grid-filters h4 {
    display: none !important;
}

.nectar-post-grid-filters div {
    display: none;
    visibility: hidden;
}

.nectar-post-grid-filters.animated-in select {
    width: max-content;
    color: #000;
    font-size: 16px;
}

/* Resource Card Buttons */

.resource-items .load-more {
	background: #0a3b59;
	color: #fff;
}

.resource-items.nectar-post-grid-wrap[data-style=content_under_image] .nectar-post-grid[data-card=yes] .nectar-post-grid-item .content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.resource-items.nectar-post-grid-wrap:not([data-style=content_overlaid]) .content .item-main {
    display: flex;
    flex-direction: column;
    height: inherit;
}

.resource-items.nectar-post-grid-wrap:not([data-style=content_overlaid]) .nectar-post-grid-item .inner {
	height: 100%;
}


.resource-items .nectar-post-grid .nectar-post-grid-item .inner .content .item-main .nectar-post-grid-item__excerpt-wrap {
	margin-bottom: 30px;
}

.resource-items .nectar-post-grid .nectar-post-grid-item .inner .content .item-main .nectar-cta span {
display: none;
}

span.nectar-post-grid-item__read-more.nectar-cta.nectar-inherit-label {
display: flex;
    color: #0a3b59 !important;
    width: fit-content;
    padding: 5px 15px 5px 25px;
    background: #fff !important;
    border-radius: 4px;
    margin-top: auto;
	margin-bottom: 0;
    border: 2px solid #0a3b59;
}

.resource-items .nectar-post-grid .nectar-post-grid-item .inner .content .item-main .nectar-cta::before {
    content: 'Visit website';
    font-size: 12px;
    margin-right: 20px;
    font-weight: 600;
}

.resource-items .nectar-post-grid .nectar-post-grid-item .inner .content .item-main .nectar-cta::after {
    content: "\f08e";
	font-family: "FontAwesome";
	font-size: 16px;
}

/* Carousel Button */

.nectar-carousel-flickity-fixed-content .nectar-carousel-fixed-content div .nectar-button .icon-button-arrow:before {
	content: "\f054";
	font-family: "FontAwesome";
	font-size: 16px;
}

/* Submenu underline items */

body .page-submenu li {
	margin-bottom: 20px;
	border-bottom: 2px solid transparent;
}

body .page-submenu li a {
	padding-bottom: 0;
}

.page-submenu li a:hover, .page-submenu.stuck .current-menu-item {
	border-bottom-color: #267783;
}

/* Align submenu left */

@media only screen and (min-width: 1px) and (max-width: 999px) {
	.page-submenu[data-alignment=left] {
		text-align: left;
	}
	.page-submenu .mobile-menu-link{
		font-weight:bold;
		font-size:22px;
		display: flex;
		align-items:center;
	}
	.page-submenu .mobile-menu-link i{
		font-size:22px;
	}
	.page-submenu ul{
		font-weight:bold;
	}
}

/* Toggle component */

@media only screen and (min-width: 1px) and (max-width: 999px) {
body .toggles--minimal-shadow .toggle {
	padding: 0 20px;
}
}

/* Select dropdown */

select {
	background-color: #fff;
	border: 2px solid #257681;
}


select:focus,
select:focus-within {
	box-shadow: none;
}

body.material select:focus-visible {
	box-shadow: 0 2px 3px #267783;
}

/* mobile menu */

#slide-out-widget-area-bg.fullscreen.dark,
#slide-out-widget-area.fullscreen .inner .off-canvas-menu-container li a {
    opacity: 1 !important;
}

#slide-out-widget-area .menuwrapper li small {
	text-transform: none !important;
	letter-spacing: 0 !important;
	top: 0 !important;
}

#slide-out-widget-area .inner .off-canvas-menu-container li a .item_desc {
    display: block;
    font-size: 16px !important;
    line-height: 20px !important;
    margin-top: 10px !important;
}

#footer-outer #copyright{
	padding-bottom:110px;
}