/*
Theme Name:     Jupiter Child Theme
Theme URI: 		http://themeforest.net/user/artbees
Description:    Child theme for the Jupiter theme 
Author:         mightyMINNOW
Theme URI: 		http://themeforest.net/user/artbees
Template:       jupiter
Version:        1.0
*/

/**
 * Main Navigation
 */
@media( min-width: 1201px ) {
	.mk-header-nav-container{
		width: auto;
	}
	#menu-item-11820{
		margin-left: calc( (100vw - 1201px) / 2 );
	}	
}

/* Fancy title coloring */
.mk-fancy-title p {
    color: inherit !important;
}

/* Page content spacing */
.theme-content h2:not(:first-of-type),
.theme-content h3:not(:first-of-type) {
	margin-top: 2em;
}

h3 {
	margin-top: 20px;
	margin-bottom: 20px;

}

.theme-content h2 a,
.theme-content h3 a {
	color: inherit;
}

.theme-content p a,
.theme-content ul a,
.theme-content ol a {
	text-decoration: underline;
}

body.archive article .the-excerpt img,
body.search article img {
	display: none;
}

.cd-timeline-content ul li {
	text-align: left;
	float: left;
}

/* Site logo */
.mk-desktop-logo {
	max-width: 220px;
}

/* Icon Box */

.mk-box-icon.boxed-style .icon-box-boxed .mk-main-ico svg {
	top: 2px;
}

.mk-box-icon.boxed-style .icon-box-boxed .mk-main-ico svg[data-name=mk-moon-hand] {
	left: 2px;
}

/* buttons */
.mk-imagebox-item .item-button a{
	letter-spacing: 0;
}
.letter-spacing-2, .jupiter-donut-letter-spacing-2 {
    letter-spacing: 0px;
}

.mk-button {
	font-size: 17px !important;
}

/* Employees */
.mk-employee-item .team-member-name {
	text-decoration: none;
}

.mk-employee-item .team-member-position {
	color: #585858;
}

/* Accordions */
h4.vc_tta-panel-title {
	font-size: 24px;
	text-transform: none;
}

h4.vc_tta-panel-title > a {
	color: #000 !important;
}

.mk-image .mk-image-inner:hover .mk-image-overlay {
	opacity: 0;
}

.mk-image-holder .mk-svg-icon {
	fill: #000;
}

.mk-image.lightbox-enabled .mk-image-inner:hover img {
	-webkit-filter: grayscale(0%);
    filter: grayscale(0%);
    filter: transparent;
    -webkit-filter: grayscale(0);
}

/* testimonials */
.mk-testimonial.avantgarde-style .mk-testimonial-author{
	font-size: 17px;
}
.mk-testimonial.avantgarde-style .mk-testimonial-company{
	font-size: 15px; 
	font-style: normal;
}

/* skill meter */
.mk-skill-meter .mk-skill-meter-title{
	letter-spacing: 0;
	line-height: 1.3;
}

/* tabs */
.vc_tta-panels .vc_tta-title-text {
	text-transform: none;
	font-size: 22px;
}

.vc_tta-panels i.vc_tta-controls-icon.vc_tta-controls-icon-chevron:before {
	border-color: #ff6633 !important;
}

/* Newsletter Signup Sidebar */
.vr-submit input[type=submit] {
	border: 2px solid #ff6633;
	border-radius: 3px;
	color: #ff6633!important;
	background-color: transparent;
	padding: 13px 18px;
	font-size: 17px !important;
	font-family: 'Open Sans';
	font-weight: 700;
}

/* Forms */
.gform_wrapper ul.gfield_radio li input[type=radio] {
	margin-top: 0px !important;
}

/* Programs */
.extened-day-program .mk-half-layout {
	background-position: top;
}

/* Footer */
#mk-footer .widget{
	margin-bottom: -9px !important;
}
#mk-footer .widget_nav_menu ul li a {
	padding-top: 2px;
	padding-bottom: 2px;
	line-height: 1.5;
	text-indent: -12px;
	margin-left: 12px;
}

#mk-footer .footer-newsletter-button {
	text-align: left;
}

#mk-footer .footer-newsletter-button a {
	padding: 20px 18px;
}

.mk-footer-copyright {
    font-size: 12px;
    letter-spacing: 0;
    font-weight: 600;
}

/* Jobs Page */
.theme-content h2.title a{
	font-size: 24px;
    color: #ff6633;
    font-weight: 500;
    text-transform: none;
}

@media( max-width: 768px ) {
	#black-studio-tinymce-2 .mk-button-container {
		text-align: left;
	}

	body h2 {
		font-size: 30px;
	}
	
	body h2 {
		font-size: 26px;
	}

	div.mk-list-styles {
		margin-bottom: 0 !important;
	}

	.mk-employee-item .team-info-wrapper {
		padding-left: 0px !important;
	}

	.mk-flipbox {
		margin-bottom: 24%;
	}

	#mk-footer .mk-button {
		padding: 13px 18px;
		font-size: 14px !important;
	}

	#mk-footer .widget_text {
		clear: both;
	}
}

.footer-text-en,
.footer-text-es{
	display: none;
}

.lang-en .footer-text-en{
	display: block;
}

.lang-es .footer-text-es{
	display: block;
}

@media( min-width: 1141px ) {
.mk-main-navigation .main-navigation-ul > li.menu-item.wpml-ls-item > a.menu-item-link {
	display: flex;
	justify-content: center;
	align-items: center;
}

.mk-main-navigation .main-navigation-ul > li.menu-item.wpml-ls-item > a.menu-item-link span::before{
	margin-right: 10px;
	content: "\f024";
	font-weight: 400;
	font-size: 1.2em;
	line-height: 1;
	font-family: "Font Awesome 5 Free";
}
	
}

/** Donate Button */
@media( min-width: 1141px ) {
	#menu-item-11820,
	#menu-item-8161,
	#menu-item-9155{
		display: flex;
		justify-content: center;
		align-items: center;
		height: 100px;
	}
	#menu-item-11820 > a{
		display: block !important;
		margin: 0 10px 0 0;
		padding: 8px 12px !important;
		height: auto;
		line-height: 1.5;
		color: #F57F2D;
		border: 1px solid #F57F2D;
		border-radius: 6px;
	}
	#menu-item-8161 > a,
	#menu-item-9155 > a{
		display: block !important;
		margin: 0;
		padding: 8px 12px !important;
		height: auto;
		line-height: 1.5;
		color: #FFF !important;
		background: #F57F2D;
		border-radius: 6px;
	}
		:not(.a-sticky) #menu-item-8161 > a,
	:not(.a-sticky) #menu-item-9155 > a{
				margin-top: 26px;
	}
	.a-sticky #menu-item-8161 > a,
	.a-sticky #menu-item-9155 > a{
				margin-top: -5px;
	}
	
	.donate-nav {
		background: #0E83C6
	}
	#menu-item-11820 > a:hover,
	#menu-item-11820 > a:focus{
		color: #FFF !important;
		background: #F57F2D;
	}	
	#menu-item-8161 > a:hover,
	#menu-item-8161 > a:focus,
	#menu-item-9155 > a:hover,
	#menu-item-9155 > a:focus{
		color: #FFF !important;
		background: #000;		
	}
	
	/** On sticky header */
	.mk-header.a-sticky #menu-item-11820,
	.mk-header.a-sticky #menu-item-8161,
	.mk-header.a-sticky #menu-item-9155{
		height: 57px;
	}
	.mk-header.a-sticky #menu-item-11820 > a,
	.mk-header.a-sticky #menu-item-8161 > a,
	.mk-header.a-sticky #menu-item-9155 > a{
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		line-height: 40px !important;
		height: 40px !important;
	}
}

/** Make donate iframe responsive */
#fr-placed-form-container-16606{
	margin: 0 -30px;
}
.fr_funraise{
	min-width: 0 !important;
	width: 100%;
	max-width: 420px;
}

@media( min-width: 461px ) {
	#fr-placed-form-container-16606{
		margin: 0;
	}	
}

/**
 * Mobile Translate
 */
#mobile-translate{
	padding: 15px;
	background: #F5F5F5;
	border-top: 1px solid #EDEDED;
}
#mobile-translate-container{
	z-index: 1;
	position: relative;
	margin: auto;
	max-width: 220px;
	background: #fff;
	border: 1px solid #E3E3E3;
}
#mobile-translate-container::before{
	z-index: 2;
	content: "\f0d7";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	font: 18px/1 FontAwesome;
	text-align: center;
	background: #FDFDFD;
	border-left: 1px solid #E3E3E3;
}
#mobile-translate select{
	z-index: 3;
	position: relative;
	display: block;
	padding: 0 12px;
	width: 100%;
	height: 40px;
	font-weight: 700;
	font-size: 14px;
	line-height: 40px;
	background: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -ms-appearance: none; /* get rid of default appearance for IE8, 9 and 10*/
}

@media( min-width: 1201px ) {
	#mobile-translate{
		display: none;
	}
}

/**
 * GTranslate
 */
.mk-responsive-wrap .gtranslate{
	margin: 15px 10px;
	width: calc( 100vw - 20px );
}
.gtranslate{
	position: relative;
	margin: 0 0 0 15px;
	width: 180px;
	background: #eee;
	border: 1px solid #e2e0e0;
	border-radius: 5px;
}
.gtranslate:hover,
.gtranslate:focus-within{
	background: #ccc;
}
.gtranslate::before{
	z-index: 1;
	content: "\f0d7";
	position: absolute;
	top: 50%;
	right: 15px;
	font: 18px/1 FontAwesome;
	color: #222;
	transform: translate( 0, -50% );
}
.gtranslate select{
	z-index: 2;
	position: relative;
	padding: 0 10px;
	width: 100%;
	height: 40px;
	font: 700 16px/40px "Open Sans";
	color: #222;
	background: none;
	border: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-ms-appearance: none; /* get rid of default appearance for IE8, 9 and 10*/
}

#mk-header-1 .mk-header-nav-container{
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 800px;
}

figcaption.vc_figure-caption {
    font-size: 11px !important;
    font-weight: 600;
}
.fiftieth-supporters ul{
	margin-bottom: 0;
}
/*
#mk-header-1 .mk-main-navigation{
	margin: 0;
}
#mk-header-1 .single-language{
	display: flex;
	align-items: center;
	margin: 0 15px 0 20px;
	height: 100px;
	font: 700 16px/1 "Open Sans";
	color: #000;
}
#mk-header-1 .single-language:hover{
	color: #f63;
}
*/
#mk-header-1 .single-language{
	display: none;
}

/** Fix Header spacing when translated */
@media( min-width: 1201px ) {
	.header-logo img{
		width: 140px;
		object-fit: contain;
	}
	#mk-header-1 .mk-header-nav-container{
		width: 1030px;
	}
	#mk-header-1 .mk-main-navigation{
		margin: 0 10px 0 0 !important;
	}
	#mk-header-1 .main-navigation-ul > li.menu-item > a.menu-item-link{
		padding-left: 10px !important;
		padding-right: 10px !important;
		font-size: 14px;
	}
	.gtranslate{
		margin: 0 10px;
	}
}

@media( min-width: 1366px ) {
	.header-logo img{
		width: 220px;
	}
	#mk-header-1 .mk-header-nav-container{
		width: 1110px;
	}
	#mk-header-1 .main-navigation-ul > li.menu-item > a.menu-item-link{
		font-size: 16px;
	}
}

/**
 * Homepage
 */

/**
 * Blog
 */

/* Fix Equal Height Columns when there's a left-aligned image on the excerpt. */
.home .mk-blog-newspaper-item .the-excerpt p{
	overflow: hidden;
}
