/* 
Theme Name: Dext
Theme URI: https://github.com/elementor/hello-theme/
Description: Dext is a child theme of Hello Elementor, created by Instadesign
Author: Elementor Team
Author URI: https://instadesign.co.uk
Template: hello-elementor
Version: 1.0.1
Text Domain: york-associates
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

*::selection {
	background-color: var(--e-global-color-primary);
	color: var(--e-global-color-secondary);
}

h1, h2, h3, h4, h5, h6, .balance {
    text-wrap: balance;
}

.wp-block-gallery {
	margin-bottom: 2em;
}

.sup {
	vertical-align: super;
   	font-size: 50%;
	font-weight: 600;
}

.red {
	color: var( --e-global-color-primary );
}

.red a {
	color: var(--e-global-color-secondary);
}

.e-hotspot__button {
	box-shadow: none !important;
	background-color: transparent !important;
	background-image: url("https://dext.ams3.digitaloceanspaces.com/wp-content/uploads/2021/12/07162817/hexagon-red.svg");
	height: 33.283px;
	width: 37.844px;
}

.dexagon-social-icons a {
	background-repeat: no-repeat;
	background-color: transparent !important;
}

a.elementor-icon {
	background-color: transparent !important;
	height: auto !important;
	max-width: 36px;
	max-height: 36px;
}

.elementor-social-icon svg, .elementor-social-icon svg *, .language-switcher svg * {
	fill:var(--e-global-color-primary) !important ;
}

.white ul {
	padding-inline-start: 1em;
}

.white ul li {
	list-style: none;
}

.white ul li:before	{
	content:"";
	background-image: url("https://dext.ams3.digitaloceanspaces.com/wp-content/uploads/2022/04/07162758/grey-light-hexagon.svg");
	height: 16.6415px;
	width: 18.922px;
	background-size: contain;
  display: inline-block;
	background-repeat:no-repeat;
    width: 0.5em;
    height: 1em;
    position: relative;
    top: 0.5rem;
    margin-left: -1em;
    margin-right: 0.5em;
}

/**************************************************************************
 TEAM
 **************************************************************************/
.team-member-linkedin-link img {display: none}
.team-member-linkedin-link a img {display:inline-block;}


/**************************************************************************
 FORMS
 **************************************************************************/

	.gform_required_legend, .gform_confirmation_message {
		color:#ffffff !important;
	}

/**************************************************************************
TRANSLATEPRESS
**************************************************************************/

.trp-language-switcher {
	height: 33px !important;
}

.trp-language-switcher > div {
	background-image: none;
}

.trp-language-switcher > div > a {
	color: white;
	font-family: var( --e-global-typography-text-font-family ), Sans-serif;
    font-size: var( --e-global-typography-text-font-size );
    font-weight: var( --e-global-typography-text-font-weight );
}

.trp-ls-shortcode-current-language a *{
	display: none;
}

.trp-ls-shortcode-current-language {
	background-color: transparent !important;
	border:none !important;
}

.elementor-229 .elementor-element.language-switcher {
	min-height: 28px;
	max-height: 34.5px !important;
}

.trp-ls-shortcode-current-language a::before {
	display: inline-block;
	position: absolute;
	content: url(https://dext.ams3.digitaloceanspaces.com/wp-content/uploads/2022/11/07162720/dexagon-globe.svg) !important;
	width: 26px;
	height: 26px;
	left: -20px;
}

.trp-ls-shortcode-language a {
	z-index: 99999;
	color: var(--e-global-color-b39393a) !important;
}

	.trp-ls-language-name {
		display: none;
	}


	.trp-language-switcher-container a { 
		padding: 0px 8px !important;
	}

/**************************************************************************
CARBON BADGE
**************************************************************************/

#wcb.carbonbadge {
	--b1: var(--e-global-color-423a3292) !important;
--b2: var(--e-global-color-423a3292) !important;
}

#wcb.carbonbadge {
	color: var( --e-global-color-text ) !important;
}

/**************************************************************************
FIXES
**************************************************************************/

	.e-hotspot__tooltip * {
	    white-space: pre-line;
	}

/**************************************************************************
MEDIA QUERIES
**************************************************************************/

@media screen and (min-width: 1025px) {

	#wcb.carbonbadge {
		text-align: left !important;
	}
}

@media screen and (max-width: 736px) {
	.hero {
		background-image: none !important;
	}

	/*SIMPLIFY POST NAVIGATION ON SMALL SCREENS */

	.post-navigation__prev--title, .post-navigation__next--title {
		display: none;
	}
}