/*

Theme Name:   MediCenter Child
Description:  MediCenter Child Theme
Template:     medicenter
Version:      1.0
Text Domain:  medicenter

*/

.header-top-sidebar-container {
	background: #f6f6f6;
	border-bottom: 5px solid #1d7cb1;
}

.header-img {
	position: relative;
}

.header-img:before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	top: -30px;
}

.max-onhead {
	display: block;
	max-width: 100%;
}

.partner-footer {
	width: 60%;
	margin-bottom: 30px;
	margin-top: -10px;
	float: left;
}

	.partner-footer img {
		display: block;
		width: 100%;
	}

li.menu-item-language ul,
li.menu-item-language ul li {
	width: auto;
}

.footer-banner-box-container .footer-banner-box:nth-child(3n+1) { background: #f4970c; }
.footer-banner-box-container .footer-banner-box:nth-child(3n+2) { background: #93bf31; }
.footer-banner-box-container .footer-banner-box:nth-child(3n+3) { background: #792986; }

.home-blocks-main a {
	color: #fff;
}

.home-blocks-main a:hover {
	text-decoration: none;
	color: rgba(255, 255, 255, 0.7);
}

.home-exceptions.wpb_row *,
.home-exceptions.wpb_row *::before,
.home-exceptions.wpb_row *::after {
	box-sizing: content-box;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
}

.home-exceptions.wpb_row .wpb_widgetised_column .wpb_wrapper>ul>li:after,
.home-exceptions.wpb_row .wpb_widgetised_column .wpb_wrapper>ul>li:before {
	display: block !important;
}

.announcements-at-home .announcement h1 {
	color: #2583c5;
}

.sf-menu li:hover a, .sf-menu li.selected a, .sf-menu li.current-menu-item a, .sf-menu li.current-menu-ancestor a {
	color: inherit !important;
	background: inherit !important;
}

.sf-menu>li.menu-item-has-children.current-menu-item>a::after, .sf-menu>li.menu-item-has-children.current-menu-ancestor>a::after {
	color: inherit !important;
}

@media (max-width: 768px) {
	.partner-footer {
		width: 100%;
	}
	.rev_slider h2,
	.rev_slider p {
		display: none;
	}
	.mobile-menu-switch {
		top: -8px;
	}
	.home-lilist li {
		left: -20px !important;
	}
}