/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
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
*/

body .e-con>.e-con-inner>.elementor-widget>.elementor-widget-container, 
body .e-con>.elementor-widget>.elementor-widget-container {
	height: auto;
}

body {
	overflow-x: hidden !important;
}

html,body {
	text-size-adjust: none;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
}

body img,
body svg {
	image-rendering: -webkit-optimize-contrast !important;
}

/* remove the below if you don't want smooth scrolling */
html,
body {
  scroll-behavior: smooth;
}

p:last-child {
	margin-bottom: 0;
}

.magellan-expander.elementor-element {
	flex: 1 !important;
}

.elementor-widget-button .elementor-button-icon {
	display: flex;
}

.mgl-header.show {
	box-shadow: 0px 1px 15px 0px rgb(8 15 52 / 6%);
	backdrop-filter: blur(5px) !important;
	/*background-color: #2222224D !important;*/
}

.mgl-header.show .e-con-inner {
	padding: 20px 0 !important;
	transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s !important;
}

/*body.single-join-us .mgl-header.e-con {
	background-color: #222222 !important;
}

body:not(.home) .mgl-header .e-con-inner {
	padding: 20px 0 !important;
	transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s !important;
}
	
body:not(.home):not(.single-join-us) .mgl-header.e-con {
	box-shadow: 0px 1px 15px 0px rgb(8 15 52 / 6%);
	backdrop-filter: blur(1px) !important;
	background-color: #2222224D !important;
}

body:not(.home) .mgl-header.e-con.show {
	backdrop-filter: blur(5px) !important;
}*/

#btn-book .elementor-button-icon {
    display: flex;
    flex-direction: column-reverse;
    align-self: center;
}

#btn-book .elementor-button-icon svg {
    width: 9px;
}

.mgl-services .elementor-image-box-img img {
    filter: brightness(0) invert(0) !important;
}

.mgl-services:hover .elementor-image-box-img img {
    filter: brightness(0) invert(1) !important;
}

.mgl-services:hover .elementor-image-box-title {
    color: #FFF !important;
}

.mgl-services:hover .elementor-image-box-description {
    color: #FFF !important;
}

.mgl-services:hover #mgl-button__service {
    color: #C98804 !important;
}

.mgl-services:hover .elementor-button-icon {
    fill: #C98804 !important;
}

.elementor-field-subgroup {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
}

.mgl-posts H2 {
    font-size: 30px;
}

.mgl-posts H3 {
    font-size: 27px;
}

.mgl-posts H4 {
    font-size: 25px;
}

.mgl-about__mission .elementor-image-box-title {
    margin-top: 0;
}

.mgl-news__img {
    aspect-ratio: 16/9;
}

.mgl-news__img2 {
	aspect-ratio: 1/1;
}

.mgl-wrapper .mgl-services {
    height: 120px;
}

.mgl-wrapper .mgl-services .elementor-image-box-title {
	margin-top: 0;
}

.mgl-wrapper .mgl-services .elementor-image-box-wrapper {
	align-items: center !important;
}

/* Home */
.magellan-law-testimony .magellan-law-testimony__wrapper {
	overflow: hidden;
}

.magellan-law-testimony .magellan-law-testimony__images {
	padding: 0 150px;
}

.magellan-law-testimony .magellan-law-testimony__images .slick-track {
	display: flex;
	align-items: center;
	padding: 32px 0;
}

.magellan-law-testimony .magellan-law-testimony__images .slick-slide {
	margin: 0 34.5px;
}

.magellan-law-testimony .magellan-law-testimony__images .slick-list {
	margin: 0 -34.5px;
	overflow: hidden;
}

.magellan-law-testimony .magellan-law-testimony__images .slick-arrow {
	border: 0px solid transparent;
	padding: 0;
	display: flex;
	position: absolute;
	z-index: 3;
	top: 50%;
	transform: translateY(-50%);
	outline: none;
}

.magellan-law-testimony .magellan-law-testimony__images .slick-arrow:is(:hover,:focus) {
	background-color: transparent;
}

.magellan-law-testimony .magellan-law-testimony__images .slick-arrow.slick-prev {
	left: 0;
}

.magellan-law-testimony .magellan-law-testimony__images .slick-arrow.slick-next {
	right: 0;
}

.magellan-law-testimony .magellan-law-testimony__images .slick-arrow img {
	width: 29.5px;
}

.magellan-law-testimony .magellan-law-testimony__image {
	display: flex !important;
	justify-content: center;
}

.magellan-law-testimony .magellan-law-testimony__image img {
	height: 100%;
	width: 100%;
	aspect-ratio: 1;
	/*object-fit: cover;*/
	border-radius: 50%;
}

.magellan-law-testimony .magellan-law-testimony__image {
	transition: all ease-out .2s;
	transform: scale(1);
	border: 1px solid transparent;
	border-radius: 50%;
	padding: 4px;
}

.magellan-law-testimony .magellan-law-testimony__image.slick-current {
	transform: scale(1.5);
	padding: 4px;
	border: 1px solid #111111;
}

.magellan-law-testimony .magellan-law-testimony__contents {
	margin-top: 56px;
	padding: 0 150px;
}

.magellan-law-testimony .magellan-law-testimony__content {
	display: flex !important;
    flex-direction: column;
    align-items: center;
}

.magellan-law-testimony__content .magellan-law-testimony__title {
	font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
    font-size: var(--e-global-typography-secondary-font-size);
	font-weight: 400;
	line-height: 71.28px;
	text-align: center;
	display: flex;
	font-style: italic;
	color: #111111;
}

.magellan-law-testimony__content .magellan-law-testimony__occupation {
	font-family: 'Marcellus';
	font-size: 32px;
	font-weight: 400;
	line-height: 40.13px;
	text-align: center;
	display: flex;
	margin-bottom: 24px;
	color: #111111;
}

.magellan-law-testimony__content .magellan-law-testimony__comment {
	font-family: 'DM Sans';
	font-size: var( --e-global-typography-text-font-size );
	font-weight: 400;
	line-height: var( --e-global-typography-text-line-height );
	text-align: center;
	color: #667085;
	display: flex;
	margin-bottom: 32px;
}

.magellan-law-testimony__content .magellan-law-testimony__rating {
	display: flex;
	justify-content: center;
}

.mgl-news H2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 83px;
}

.menu-item .elementor-sub-item {
    text-transform: uppercase;
}

.elementor-item {
    place-content: space-between;
}

.mgl-testi .elementor-testimonial__name {
    font-size: 24px !important;
}

/* Join Us */
.ml-job__detail strong {
    font-size: 18px;
}

.ml-job__detail ul {
    margin-bottom: 20px;
}

.ml-job__detail li {
    margin: 7px 0;
}

.ml-job__detail p {
    line-height: 1.5em;
    text-align: justify;
}

.career-search-filter .jet-search-filter__input-wrapper:before {
	content: url(https://dev.we-interactive.com/magellan/wp-content/uploads/2024/07/Magnifer.svg);
	display: flex;
	margin-right: 8px;
}

.career-search-filter .jet-search-filter__input-wrapper {
	padding: 8px 16px;
	border: 1px solid #E2E8F0;
	border-radius: 16px;
	display: flex;
	align-items: center;
}

.career-search-filter .jet-search-filter__input-wrapper input {
	outline: none;
}

.ml-career--detail .elementor-icon-list-items > li:not(:last-child):after {
	content: '\00B7';
	margin: 0 11px;
	color: #888;
	display: block;
	right: unset !important;
	border: 0px solid transparent !important;
	height: auto !important;
}

#ml-button__global .elementor-button-icon svg {
	width: 24px;
}


.ml-featured-news H2 {
    display: -webkit-box;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: unset;
}

.ml-about__team ul {
    margin: 20px 0;
}

.ml-about__team li {
    margin: 5px 0;
}

.ml-about__team strong {
    color: #111;
}

.ml-about__team H2 {
    font-size: 22px;
}

.ml-team__img img {
    aspect-ratio: 3/4;
    object-fit: cover;
    background-position: center;
}

.mgl-text__expertise li {
    margin: 15px 0;
}

.mgl-text__expertise ul {
	padding-left: 20px;
}

.mgl-accordion__join .e-n-accordion-item-title-text {
    display: flex;
    gap: 16px;
}

.mgl-accordion__join.elementor-widget-n-accordion .e-n-accordion-item {
	border-bottom: 1px solid #EEEEEE;
	padding-bottom: 16px;
	margin-bottom: 32px;
}

/* Default Page */
.page-template-default ul {
	margin-bottom: 25px;
	font-size: 20px;
	line-height: 1.5em;
}

.page-template-default H2 {
	font-size: 32px;
	letter-spacing: 0;
	margin-top: 55px;
}

.page-template-default li {
	margin: 10px 0;
}

.page-template-default p {
	font-size: 20px;
	line-height: 1.5em;
}

.mgl-copyrigth .elementor-icon-list-item:nth-child(2) {
    border-left: 1px solid #FFFFFF99;
    padding-left: 15px !important;
}

@media only screen and (max-width: 767px) {
	.mgl-header.show .e-con-inner {
		padding: 20px 0 !important;
		transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s !important;
	}
	
	body:not(.home) .mgl-header .e-con-inner {
		padding: 20px 0 !important;
		transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s !important;
	}
	
	body:not(.home) .mgl-header.e-flex.e-con-boxed.e-con.e-parent.elementor-sticky {
		box-shadow: 0px 1px 15px 0px rgb(8 15 52 / 6%) !important;
		backdrop-filter: blur(1px) !important;
		background-color: #2222224D !important;
	}
	
	.mgl-logo img {
		width: 175px !important;
	}
	
	.mgl-posts H2 {
		font-size: 25px;
	}
	
	.mgl-posts H3 {
		font-size: 23px;
	}
	
	.mgl-news__img {
		aspect-ratio: 1/1;
	}
	
	
	.magellan-law-testimony .magellan-law-testimony__images {
		padding: 0 64px;
	}

	.magellan-law-testimony .magellan-law-testimony__images .slick-track {
		display: flex;
		align-items: center;
		padding: 32px 0;
	}

	.magellan-law-testimony .magellan-law-testimony__images .slick-slide {
		margin: 0 16px;
	}

	.magellan-law-testimony .magellan-law-testimony__images .slick-list {
		margin: 0 -16px;
		overflow: hidden;
	}
	
	.magellan-law-testimony .magellan-law-testimony__image.slick-current {
		transform: scale(1.4);
	}
	
	.magellan-law-testimony .magellan-law-testimony__images .slick-arrow.slick-prev {
		left: 20px;
	}
	
	.magellan-law-testimony .magellan-law-testimony__images .slick-arrow.slick-next {
		right: 20px;
	}
	
	.magellan-law-testimony .magellan-law-testimony__images .slick-arrow img {
		width: 10px;
	}
	.magellan-law-testimony .magellan-law-testimony__contents {
		margin-top: 40px;
		padding: 0 20px;
	}
	.mgl-news H2 {
		display: -webkit-box;
		-webkit-line-clamp: unset !important;
		-webkit-box-orient: vertical;
		overflow: hidden;
		height: unset !important;
	}
	
	.elementor-field-subgroup {
		grid-template-columns: repeat(1, 1fr) !important;
	}
	
	.page-template-default ul {
		padding-left: 20px;
	}
	
	.page-template-default H2 {
		margin-top: 0;
		font-size: 28px;
	}
	
	.page-template-default ul {
		font-size: 18px;
	}
	
	.page-template-default p {
		font-size: 18px;
	}
	
	.mgl-testi .elementor-testimonial__name {
		font-size: 18px !important;
	}
}