.contact-card-wrapper {
    border: 1px solid #002855!important;
    border-bottom: 12px solid #002855!important;
}

.tio-button {
        text-decoration: none!important;
        }

.tio-body li a {
	font-weight: 400;
}

.tio-card-list {
	list-style: none;
}

.tio-card {
	border-bottom: 12px solid var(--genesys-darkblue) !important;
	padding: 1rem;
	margin-bottom: 1rem;
	margin-right: 0.5rem;
	text-align: center;
	list-style: none;
}

.tio-img {
	border-radius: 50%;
	margin-top: 1rem;
	width: 100%;
	max-width: 125px;
}

.tio-name {
	font-weight: 600;
	font-size: 1.2rem;
	/* white-space: nowrap; */
}

.tio-title {
	font-weight: 400;
	font-size: 1rem;
	/* white-space: nowrap; */
}

.tio-contact-list {
	display: flex;
	padding: 0;
	margin: 0;
	list-style: none;
	margin-top: 2em;
	margin-bottom: 1em;
	align-items: center;
	justify-content: center;
}

.tio-contact-icons {
	display: flex;
	width: 50px;
	height: 0px;
	border-radius: 50%;
	text-align: center;
	margin-right: 5px;
	padding-right: 5px;
	padding-top: 6px;
	padding-left: 0px;
	padding-bottom: 0.4em;
	font-size: 1.4rem;
	align-items: center;
}

.tio-vcard-button, .tio-email-button, .tio-linkedin-button, .tio-tel-button, .tio-support-email-button, .tio-support-tel-button {
	height: 45px;
	width: 45px;
	border-radius: 50%;
	padding-top: 10px !important;
	padding-right: 0px;
	display: inline-block;
}

.tio-social {
	color: white;
}

.tio-social:hover {
	color: black;
}

.tio-support-email-button, .tio-support-tel-button {
	padding-top: 8px;
	padding-left: 13px;
}

.tio-vcard-button, .tio-email-button, .tio-linkedin-button, .tio-tel-button  {
	color: #FFFFFF;
}

.tio-vcard-button {
	background: #A865B5;
}

.tio-email-button {
	background: #05ac05;
}

.tio-linkedin-button {
	background: #0077B5;
}

.tio-tel-button {
	background: #e3660e;
}

.tio-vcard-button :hover, .tio-email-button :hover, .tio-linkedin-button :hover, .tio-tel-button :hover {
    color: black !important;
}

.px-90 {
   padding-left: 5%;
   padding-right: 5%;
}

/* TIO: CSS Styles hotfix start */
/* team starts - 20250507 */
#our-team-list h3 span {
    border-bottom: 1px solid #191919;
    padding-bottom: 0.2em;
}

.team-contact-list {
	list-style: none;
	display: flex;
	padding: 0;
	margin: 0;
	margin-top: 6px;
	/*margin-bottom: 1em; */
	align-items: center;
	justify-content: start;
}
/* team ends -- 20250507 */

/* tio starts - 20250424 */
.tio-toronto-button .fa-stack-1x,  .team-button .fa-stack-2x {
	color: #FFFFFF;
}

.tio-toronto-button .fa-circle, .team-button .fa-circle {
	color: #0056B3;
}

.tio-toronto-button:hover .fa-stack-1x, .team-button:hover .fa-stack-1x {
	color: #000;
}

.tio-toronto-button:hover .fa-circle, .team-button:hover .fa-circle {
	color: #5AB2FF;
}

.tio-contact-card-wrapper {
	border: 1px solid #002855!important;
	border-bottom: 12px solid #002855!important;
	width:100%;
	padding: 30px;
}

ul.tio-contact-list a:hover {
	color: black;
}

ul.tio-contact-list li:not(:last-child), ul.team-contact-list li:not(:last-child) { /* add right margin except last bullet */
	margin-right: 10px;
}
/* tio ends - 20250424 */
/* tio starts - sl - 20250321 */
/* move this to button reset styles */
.tio-button .btn-primary {
	background-color: #0e0e0e;
	font-weight: 400;
}
.tio-button .btn-primary:hover, .tio-button .btn-primary:focus {
	background-color: #333;
	/*color: #050505 !important;*/
}
@media screen and (max-width: 768px) {
	.tio-button {
		justify-content: start !important;
	}
	.tio-button button {
		width: 100% !important;
	}
}
/* tio ends - sl - 20250321 */
/* TIO: CSS Styles hotfix end*/


@media screen and (max-width: 480px) {
	.tio-assist {
		padding-left: 0px !important;
	}

	.tio-card-list {
		list-style: none;
		margin-left: 5px;
		margin-bottom: 1rem;
	}
}

@media screen and (min-width: 481px) and (max-width: 768px) {
     .tio-card {
          margin-left: 5px;
		  margin-bottom: 1rem;
          }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .contact-card-wrapper {
        min-height: 140px!important;
    }
}

@media screen and (min-width: 992px) {
    .contact-card-wrapper {
        min-height: 380px!important;
    }

	li.col-lg-4 .tio-card .col-md-4, li.col-lg-4 .tio-card .col-md-8 {
		max-width: 100% !important;
		flex: 0 0 100% !important;
		-ms-flex: 0 0 100% !important;
	}

.tio-img-col {
	max-width: 33.3%;
	float: left;
	}

.tio-name-col {
	display: inline-flex;
	vertical-align: top;
	text-align: center!important;
	flex-wrap: wrap;
	flex-direction: column;
	}

.tio-card-list {
	list-style: none;
	padding-left: 0px;
	}

.contact-card-wrapper {
    border-style: solid;
    border-color: #002855!important;
  	border-width: 1px 1px 12px 1px;
   	}
}

 li.tio-contact-icons a.tio-linkedin-button .fa-linkedin:hover {
    color: #000000 !important;
  }
  .tio-linkedin-button .fa-linkedin:hover::before {
    color: #000000 !important;
  }

  .tio-card {
    text-align: center;
    float: none;
  }

.page-our-international-team .tio-btn {
    color: #fff;
    padding: 16px;
    font-size: 16px;
    border: none;
    outline: none;
}

.page-our-international-team .tio-cta {
    background-color: #1b1b1b;
    border-radius: 6px;
    padding: 2em;
    text-align: center;
    color: white;
}
	
.tio-cta {
    background-color: #1b1b1b;
    border-radius: 6px;
    padding: 2em;
    text-align: center;
    color: white;
}
 .page-our-team-in-ontario .tio-fa-stack {
    height: 2.2em;
    width: 2em;
}
  
 .page-our-team-in-ontario .tio-fa-2x {
    font-size: 0.9em;
  }
  .page-our-team-in-ontario .tio-fa-stack {
      height: 2.2em;
      width: 2em;
  }
  
  .page-our-team-in-ontario .tio-fa-2x {
      font-size: 0.9em;
  }
  
#TIOlist {
    padding-top: 0;
}
#TIOlist h3 {
    font-weight: 600;
    font-size: 170%}
#TIOlist a {
    word-break: break-word!important;
    overflow-wrap: break-word!important;
    font-weight: 400;
}
#TIOlist a[href^="mailto:"] {
    font-size: 1.1rem;
}
#TIOlist strong {
    font-size: 1.3em;
    font-weight: 400;
    line-height: 2.6em;
    border-bottom: 1px solid #000;
    padding-bottom: .4em;
}
 #TIOlist h4 a {
    font-size: 1.3em;
    font-weight: 400;
    line-height: 2.6em;
    border-bottom: 1px solid #000;
    padding-bottom: .4em;
}



/* Hotfix for TIO expansion */
/****** 20260126 - STARTS add the following style to adjust the distance between each icon on Team page  ******/
ul.team-contact-list li:not(:last-child) {
    margin-right: 25px;
}
/****** 20260126 - ENDS add the following style to adjust the distance between each icon on Team page  ******/

/****** 20260106- STARTS new CSS for tio-offices refresh ******/
/* Remove all temporary styles */
/* Alignment issue fix */
[class*="page-trade-and-investment-office-"] .hero-content {
	/*max-width: 58rem;*/
}
[class*="page-trade-and-investment-office-"] .text-max {
	max-width: 65.5rem;
}
[class*="page-trade-and-investment-office-"] .card-img-top {
	background-image: none !important;
	/* add a max-width/height to control total size of image */
	height: 200px;
	padding: 0rem !important; 
}
[class*="page-trade-and-investment-office-"] .card {
	/*box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;*/
	border-radius: 0;
	/* padding: 20px; */
	border: thin solid #939393;
}

/* Card layout */
[class*="page-trade-and-investment-office-"] .card-column {
	padding-left: 0 !important;
	padding-right: 0 !important;
	flex: 1;
	width: calc(50% - 15px);
}
[class*="page-trade-and-investment-office-"] .card-gap {
	gap: 20px;
	display: flex;
	justify-content: space-between;
}
[class*="page-trade-and-investment-office-"] article.card {
	display: flex;
	flex-direction: column;
	height: 100% !important;
}
[class*="page-trade-and-investment-office-"] .card1 {
	border: none;
	border-radius: 0;
	/* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
	height: 50%;
	transition: transform 0.3s ease;
	width: 100%;
	background-color: #fff;
}
[class*="page-trade-and-investment-office-"] li.swiper-slide {
	border: 2px solid #eee;
	border-radius: 2px;
}

/* Remove duplicates */
[class*="page-trade-and-investment-office-"] .card-body {
	padding: 1rem;
}
[class*="page-trade-and-investment-office-"] .card-img-container {
	position: relative;
	flex-shrink: 0;
}
[class*="page-trade-and-investment-office-"] .card-logo {
	position: absolute;
	top: 12px;
	left: 12px;
	max-height: 33px;
	z-index: 2;
	background-color: rgba(255, 255, 255, 1.0);
	padding: 1px;
}
[class*="page-trade-and-investment-office-"] .card-2 {
	max-height: 75px;
}
[class*="page-trade-and-investment-office-"] .calendar-icon {
	margin-right: 0.5rem;
	color: #000000;
	position: relative;
	top: -0.11rem;
}

[class*="page-trade-and-investment-office-"] .card-meta {
	font-size: 1.25rem;
	margin-bottom: 0rem;
}
[class*="page-trade-and-investment-office-"] .home-card-2.card-image {
	background-position-x: 64% !important;
}
/* Swiper Card CTA */
[class*="page-trade-and-investment-office-"]  .card {
	transition: transform 0.2s ease-in-out;
	min-height: 100%;
}
[class*="page-trade-and-investment-office-"] .caradial {
	background: linear-gradient(135deg, #191919 0%, #2c2c2c 100%);
	color: white;
	border-radius: 0 !important;
}
[class*="page-trade-and-investment-office-"] .card-icon img {
	width: 54px; 
	height: 50px; 
	border: 1px solid #FFF; 
	padding: 1px 2px; 
	margin-bottom: 20px; 
	border-radius: 2px;
}
[class*="page-trade-and-investment-office-"] .card-title {
	font-size: 1.5rem;
	font-weight: 400;
	margin-bottom: 20px;
	line-height: 1.3;
}
[class*="page-trade-and-investment-office-"] .swiper-align {
	display: flex !important;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}
[class*="page-trade-and-investment-office-"] .calendar-icon {
	margin-right: 0.5rem;
	color: #000000;
	position: relative;
	top: -0.11rem;
}
[class*="page-trade-and-investment-office-"] .t-block::before {
	background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 25%) !important;
}

/* bi to fa inside component specificity */
[class*="page-trade-and-investment-office-"] .whoweare-cards .contact-social i {
	font-size: 30px;
	color: #0099A8;
	line-height: 1;
}
[class*="page-trade-and-investment-office-"] .whoweare-cards .contact-social a:hover i {
	cursor: pointer;
	color: #000;
}
[class*="page-trade-and-investment-office-"] .whoweare-cards .contact-social {
	margin-bottom: 24px;
}
[class*="page-trade-and-investment-office-"] .whoweare-cards .card {
	border-radius: 0;
	border: thin solid #939393;
	overflow: hidden;
	transition: all 0.3s ease-in-out;
 }
[class*="page-trade-and-investment-office-"] .whoweare-cards .card-img-top {
	width: 100%;
	height: auto;
	object-fit: cover;
    border-radius: 0 !important;
}

/* -------- Horizontal card layout for ≥992px -------- */
@media (min-width: 992px) {
	[class*="page-trade-and-investment-office-"] .whoweare-cards .card {
		display: flex;
		flex-direction: row; /* image left, text right */
		align-items: stretch;
	}
	[class*="page-trade-and-investment-office-"] .whoweare-cards .card-img-top {
		width: 40%;
		height: 100%;
		object-fit: cover;
    border-radius: 0 !important;
	}
	[class*="page-trade-and-investment-office-"] .whoweare-cards .card-bottom {
		width: 60%;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		text-align: left;
	}
	[class*="page-trade-and-investment-office-"] .whoweare-cards .card-body {
		padding: 3rem 1.5rem;
	}
}

@media (min-width: 1200px) {
	[class*="page-trade-and-investment-office-"] .card-bottom h3.card-title {
		font-size: 1.75rem !important;
	}
	[class*="page-trade-and-investment-office-"] .card-bottom p {
		font-size: 115% !important;
	}
	[class*="page-trade-and-investment-office-"] .card-bottom{
		margin-top: 28px;
		margin-bottom: 14px;
	}
}

@media (min-width: 1200px) {
	[class*="page-trade-and-investment-office-"] .card-bottom {
		display: flex;
		flex-direction: column;
	}
	[class*="page-trade-and-investment-office-"] .card-bottom .card-body {
		flex: 1;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
	[class*="page-trade-and-investment-office-"] .whoweare-cards .card-body {
		padding: 0; 
	}
}
/****** 20260106 - ENDS new CSS for tio-offices refresh ******/

/* Commented out by Oliver S. at Demuth's request 
.page-services-and-resources .card-img-top {
    height: auto;
    padding: 0;
}
*/

.test-css {
   display: block;
}
section p a, .contact-details a, .ext-link {
    font-weight: 700;
}

/* Global SFOR style alignment */
@media screen and (max-width: 768px) {
    .container.w-80 {
        width: 95% !important;
    }
}
/* ******* Do not transfer this style to styles SMACSS */
[class*="page-trade-and-investment-office-"] p.intro {
    font-weight: 400;
}
@media screen and (max-width: 768px) {
  [class*="page-trade-and-investment-office-"] .container.w-80,
  [class*="page-trade-and-investment-office-"] .container.w-70 {
        width: 95% !important;
    }
   [class*="page-trade-and-investment-office-"]  .whoweare-cards {
        width: 80% !important; 
    margin-left: auto;
    margin-right: auto;
    }

.home-card-1, .home-card-2 {
min-height: 20rem;
   padding: 10%;
}