/*
Theme Name:     Jupiter Child Theme
Theme URI: 		http://themeforest.net/user/artbees
Description:    Child theme for the Jupiter theme 
Author:         Your name here
Theme URI: 		http://themeforest.net/user/artbees
Template:       jupiter
Version:        5.2
*/



/*
Sample : remove the comment and start adding your own custom CSS rules.

body {
	background-color:#fff;
}

*/

.adGraphic {
	display: block;
	text-align: center;
}

.tribe-list-widget {
	margin-left: 0;
}

h4.tribe-event-title {
	font-size: 14px !important;
	margin-bottom: 0;
}

.tribe-events-list-widget-events.type-tribe_events {
	margin-bottom: 15px;
}

#mk-sidebar .widgettitle {
	font-size: 16px !important;
}

#custom-top-menu ul li {
    margin: 8px;
}

#custom-top-menu ul {
	margin-left: 0;
}

#custom-top-menu ul li {
    display: inline-block;
}

#custom-top-menu ul li a.current {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

#custom-top-menu ul li a {
    background-color: #969696;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

#custom-top-menu ul li a:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

#custom-top-menu ul li a {
    padding: 14px 16px;
    line-height: 13px;
    font-size: 13px;
    color: #333333;
    color: #323232;
    display: block;
    letter-spacing: 1px;
}

#custom-side-menu .current {
	color: black !important;
	font-weight: bold;
} 

#mk-breadcrumbs .mk-breadcrumbs-inner.light-skin a.noHover:hover {
	color: #afafaf;
}

.ecf-body {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

.blueButton {
	background-color: #006699;
    color: #fff;
    margin-bottom: 1rem;
}

.blueButton:hover {
    color: #fff;
    background-color: #005f8e;
}

body.page-template-our-history #mk-page-introduce {
    display: none;
}

body.page-template-our-history .theme-page-wrapper.mk-main-wrapper.mk-grid.full-layout {
	max-width: 100%;
	margin: 0 !important;
}

body.page-template-our-history #theme-page .theme-page-wrapper .theme-content {
	padding: 0;
}

body.page-template-our-history .mk-header {
	border: none;
}

.mk-button.contact-form-button {
    background-color: #9f9f9f !important;
    color: #3d4045 !important;
}

.main-navigation-ul li.no-mega-menu ul.sub-menu ul.sub-menu {
	border-top: 2px solid #eac035;
}

.main-navigation-ul .has-mega-menu > ul.sub-menu > li.menu-item {
	max-height: 80vh;
	max-height: calc(100vh - 200px);
	overflow-y: auto;
}

.main-navigation-ul .has-mega-menu > ul.sub-menu > li.menu-item::-webkit-scrollbar {
	width: 4px;
	background-color: rgba(0, 0, 0, 0.8);
}

.main-navigation-ul .has-mega-menu > ul.sub-menu > li.menu-item::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 2px;
}

#menu-item-9471 .sub-menu.mega_col_5 {
	display: none;
}

.dropdownJavascript li#menu-item-9471.dropdownOpen>ul.sub-menu {
    display: none !important;
}

.main-navigation-ul li#menu-item-9471.with-menu>a:before {
	content: inherit;
	display: none;
}

#mk-page-id-9460 {
	display: none;
}

/*
@media only screen and (min-width: 961px) {
	.page-id-9460 #custom-top-menu .pos-relative {
		position: relative;
		min-height: 3rem;
	}

	.page-id-9460 #custom-top-menu  .pos-relative ul {
		left: 50% !important;
		transform: translate(-50%,0) !important;
		-ms-transform: translate(-50%,0) !important;
		-webkit-transform: translate(-50%,0) !important;
		position: absolute;
	}
}
*/

.page-id-9460 #custom-top-menu ul li {
    margin: 1%;
}

.page-id-9460 #custom-top-menu  .pos-relative ul {
	width: 80%;
	margin: 0 auto;
}

.page-id-9460 #custom-top-menu ul li {
	display: inline-block;
	width: 23%;
	text-align: center;
}	

.mk-clients .client-logo:hover {
    opacity: .8 !important;
}

.hideTopAndBottomWhiteSpace .mk-main-wrapper-holder:first-child,
.hideTopAndBottomWhiteSpace .mk-main-wrapper-holder:last-child {
    display: none;
}

.hideTopWhiteSpace .mk-main-wrapper-holder:first-child {
    display: none;
}

.BBRecurrenceFieldContainer #bboxdonation_recurrence_ddFrequency {
	float: none !important;
	display: inline-block;
}
.BBRecurrenceFieldContainer #bboxdonation_recurrence_ddFrequencyDate {
	max-width: none !important;
	padding-right: 80px;
	float: none !important;
	display: inline-block;
}



@media only screen and (max-width: 890px) {
	.page-id-9460 #custom-top-menu  .pos-relative ul {
	    width: 90%;
	}
}

@media only screen and (max-width: 800px) {
	.page-id-9460 #custom-top-menu  .pos-relative ul {
	    width: 100%;
	}
}

@media only screen and (max-width: 730px) {
	.page-id-9460 #custom-top-menu ul li {
		width: 48%;
	}	
}

@media only screen and (max-width: 630px) {
	.page-id-9460 #custom-top-menu ul li {
		display: block;
		width: 80%;
		text-align: center;
		margin: 0 auto;
		margin-top: 1rem;
	}
}