/* forms */

.inputbox, input.required, textarea, .form-control {
	padding: 8px;
	margin: 0;
	background-color: #ffffff;
	color:#555555;
	border: 1px solid #cccccc;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	transition: border linear 0.2s, box-shadow linear 0.2s;
	border-radius: 4px;
}

.button, .btn, a.btn, button.btn {
	padding: 8px;
	margin: 0;
	line-height: 1.5;
	color: #333333;
	text-align: center;
	cursor: pointer;
	background-color: #f5f5f5;
	background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
	background-repeat: repeat-x;
	border: 1px solid #cccccc;
	border-color: #e6e6e6 #e6e6e6 #bfbfbf;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	border-bottom-color: #b3b3b3;
	border-radius: 4px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.button:hover, .btn:hover, a.btn:hover, button.btn:hover {
	color: #333333;
	text-decoration: none;
	background-position: 0 -15px;
	transition: background-position 0.1s linear;
	background-color: #e6e6e6;
	border: 1px solid #cccccc;
}

img.img_left, .left.item-image {
	float:left;
	margin:0 30px 30px 0;
}

img.img_right, .right.item-image {
	float:right;
	margin:0 0 30px 30px;
}

/* abovecontent and belowcontent modules */

.abovecontent .flickity-enabled {
	padding-top: 30px;
}

div.belowcontent {
	padding: 30px 0 0 0;
}

body {
	background-size:cover;
}

.item-page blockquote {
	border-left: 0;
}

.logorow {
	background: #fff;
	border-bottom: 1px solid #f8f8f8;
}

.logorow .sparky_menu {
	padding-top: 20px;
}

.logorow ul.menu > li > a {
	text-transform: uppercase;
}

@media(max-width: 979px) {
	.logorow nav:not(.opened) ul.menu {
		display: none;
	}
 	.logorow nav.opened ul.menu ul ul {
		padding: 0 15px;
	}
}

.sparky_container > .mp_logo.sparky_cell {
	padding: 15px;
}

.toprow .sparky_container {
	background: #eef5f6;
	height: 56px;
	max-width: 1110px;
}

.toprow .mp_top-menu {
	padding-top: 10px;
}

.sparky_container > .mp_top1.sparky_cell {
	padding-top: 12px;
}

.telephone {
	font-size: 24px;
	color: #48d3ef;
	background: url(../images/custom/telephone.png) no-repeat;
	padding-left: 28px;
}

.sparky_container > .mp_top2.sparky_cell {
	padding-top: 7px;
	text-align: right;
}

.mp_top2 .form-control {
	border: 0;
	border-radius: 0;
}

.mp_top2 ul {
	text-align: initial;
}

.sparky_container > .mp_header1.sparky_cell {
	padding: 5px 15px 0 15px;
}

/* advertrow */

.advertrow {
	padding: 50px 0 30px;
}

.advertrow .sparky_container {
	display: flex;
}

.advertrow .sparky_cell {
	border-top: 3px solid #48d3ef;
	border-bottom: 1px solid #e4e4e7;
	padding: 12px 10px 10px 70px;
	margin: 0 15px;
}

.advertrow .sparky_cell:hover {
	border-top: 3px solid #4a4a5c;
}

.advertrow .sparky_cell a:hover {
	text-decoration: underline;
}

.advertrow .mp_advert1.sparky_cell {
	background: #eef5f6 url(../images/custom/advert1.png) no-repeat 12px 12px;
}

.advertrow .mp_advert2.sparky_cell {
	background: #eef5f6 url(../images/custom/advert2.png) no-repeat 12px 12px;
}

.advertrow .mp_advert3.sparky_cell {
	background: #eef5f6 url(../images/custom/advert3.png) no-repeat 12px 12px;
}

.advertrow .mp_advert1.sparky_cell:hover {
	background: #eef5f6 url(../images/custom/advert1_hover.png) no-repeat 12px 12px;
}

.advertrow .mp_advert2.sparky_cell:hover {
	background: #eef5f6 url(../images/custom/advert2_hover.png) no-repeat 12px 12px;
}

.advertrow .mp_advert3.sparky_cell:hover {
	background: #eef5f6 url(../images/custom/advert3_hover.png) no-repeat 12px 12px;
}

/* main content */

.contentrow {
	padding: 30px 0;
}

.blog-items.columns-3 .blog-item {
    width: calc(33.33% - 20px);
    background: #fff;
    border: 1px solid #f6f6f7;
    border-bottom: 2px solid #f6f6f7;
    margin-bottom: 30px;
}

.blog-items h2, .blog-items h2 a {
	font-size: 24px;
}

.blog-items .item-content {
	padding: 0 15px;
}

/* userrow */

.userrow .sparky_container {
	display: flex;
}

.userrow .sparky_cell {
	margin: 0 15px;
}

.sparky_container > .mp_user2.sparky_cell {
	background: #eef5f6;
	border: 1px solid #f6f6f7;
	border-bottom: 2px solid #e4e4e7;
	padding: 15px;
}

.mp_user1 h3, .mp_user2 h3 {
	text-transform: uppercase;
}

.sparky_container > .mp_user1.sparky_cell {
	background: #acabab;
	padding: 15px;
}

.sparky_container > .mp_user1.sparky_cell a {
	color: #163bb2;
}

.sparky_container > .mp_user1.sparky_cell .contentheading a, .abovecontent .contentheading a {
	font-size: 18px;
}

.sparky_container > .mp_user1.sparky_cell .contentheading + .small, .abovecontent .contentheading + .small {
	display: none;
}

.sparky_container > .mp_user1.sparky_cell img, .abovecontent img {
	float: left;
	margin-right: 15px;
	max-height: 300px;
}

.sparky_container > .mp_user1.sparky_cell a.readon, .abovecontent a.readon {
	display: inline-block;
	padding: 8px;
	margin: 0;
	color: #333333;
	text-align: center;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
	vertical-align: middle;
	cursor: pointer;
	background-color: #f5f5f5;
	background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
	background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
	background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
	background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
	background-repeat: repeat-x;
	border: 1px solid #cccccc;
	border-color: #e6e6e6 #e6e6e6 #bfbfbf;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	border-bottom-color: #b3b3b3;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.sparky_container > .mp_user1.sparky_cell a.readon:hover, .abovecontent a,readon:hover {
	color: #333333;
	text-decoration: none;
	background-position: 0 -15px;
	-webkit-transition: background-position 0.1s linear;
	-moz-transition: background-position 0.1s linear;
	-o-transition: background-position 0.1s linear;
	transition: background-position 0.1s linear;
	background-color: #e6e6e6;
}

.clinic_graphic {
	float: right;
	margin-left: 25px;
}

.bottomrow {
	background: #4a4a5c url(../images/custom/footer_bg.png) top center;
	padding: 40px 0;
	margin-top: 50px;
	color: #9f9f9f;
}

.bottomrow .sparky_container {
	display: flex;
}

.bottomrow .sparky_cell {
	background: #31313d;
	padding: 15px;
	margin: 0 15px;
}

.bottomrow h3 {
	font-size: 30px;
	text-transform: uppercase;
	color: #9f9f9f;
	font-weight: 300;
	padding: 0 0 10px 0;
	margin: 0;
}

.mp_bottom1 .input-group {
	flex-direction: column;
}

.mp_bottom1 .input-group .btn {
	align-self: flex-end;
	margin-top: 10px;
	border-radius: 0 !important;
}

.footerrow {
	background: #292933;
	padding-top: 15px;
}

.mnu_footermenu > li {
	text-transform: uppercase;
}

.mp_copyright {
	background: url(../images/custom/logo_footer.png) no-repeat top right;
	text-align: right;
	color:#9f9f9f;
}

.sparky_container > .mp_copyright.sparky_cell {
	padding-right: 140px;
	font-size: 14px;
}

.mp_copyright a {
	color:#fff;
}

.bottomrow img.icon {
	float: left;
	margin-right: 15px;
	margin-top: 3px;
}

.bottom_phone {
	font-size: 24px;
	font-weight: 300;
}

.follow {
	display: flex;
	flex-wrap: wrap;
}

.follow > a {
	width: 50%;
	line-height: 30px;
}

.follow i {
	background: #292934;
	width: 30px;
	line-height: 30px;
	text-align: center;
	margin: 0 15px 15px 0;
}

.bottomrow a {
	color:#808080;
}

.bottomrow a:hover {
	color:#fff;
}

/* full carousel */

@media (min-width: 1170px) {
	.hero-carousel article.carousel-article {
  		background-size: contain !important;
	}
}

.hero-carousel article .contents h2 {
	color: #fff;
	text-shadow: 1px 1px 4px #666;
	font-weight: 600;
}

.hero-carousel-nav li.prev {
	background: url(../images/custom/arrow_left.png);
	text-indent: -9999px;
	opacity: .8;
	width: 30px;
	height: 30px;
}

.hero-carousel-nav li.prev:hover, .hero-carousel-nav li.next:hover {
	opacity: 1;
}

.hero-carousel-nav li.prev:hover a {
	background-image: url(../images/custom/arrow_left_hover.png);
}

.hero-carousel-nav li.next {
	background: url(../images/custom/arrow_right.png);
	text-indent: -9999px;
	opacity: .8;
	width: 30px;
	height: 30px;
}

.hero-carousel-nav li.next:hover a {
	background-image: url(../images/custom/arrow_right_hover.png);
}

.hero-carousel article .contents a.btn {
	font-size: 16px;
}

/* hot film tape */

.caroufredsel_wrapper p {
	padding: 10px;
}

.list_carousel.responsive {
	width: 100%;
}

/* rapid contact module */

.hot_simple_contact .form-group {
	margin-bottom: 10px;
}

.hot_simple_contact_submit {
	text-align: right;
}

.hot_simple_contact input.btn {
	width: 130px;
	border-radius: 0;
	background: #4a4a5c;
	border: 0;
	text-shadow: none;
	color:#fff;
	text-transform: uppercase;
	font-family: 'Source Sans Pro', sans-serif;
}

.hot_simple_contact input.btn:hover, .hot_simple_contact input.btn:focus, .hot_simple_contact input.btn:active {
	background: #000;
}

#hot_simple_contact_field_antispam {
	width: 130px;
}

#system-message-container {
    position: fixed;
    z-index: 999;
    bottom: 30px;
    right: 30px;
}

#system-message-container span.info {
    border: 0;
    background: transparent;
    padding: 0;
}

#system-message-container span.info::before {
	float: none;
}

/* pagination */

.page-link {
    color: #ccc;
}

.page-link:hover {
	color: #333;
}

/* read more */

p.readmore a.btn, .mp_bottom1 .input-group .btn {
	color:#fff;
	font-weight: 400;
	text-transform: uppercase;
	background-color: #21b8d6;
	background-image: linear-gradient(to bottom, #47d2ef, #21b8d6);
	background-repeat: repeat-x;
	border: 0;
	padding: 7px 15px;
}

p.readmore a.btn:hover, .mp_bottom1 .input-group .btn:hover {
	background: #4a4a5c;
}


/* responsive behaviour */

@media (max-width: 1169px) {

	.toprow .sparky_container {
	    max-width: 940px;
	}

}

@media (max-width: 991px) {

	.toprow .sparky_container {
	    max-width: 720px;
	}

	.logorow .sparky_menu {
	    padding-top: 13px;
	}

	.blog-items.columns-3 .blog-item {
	    width: 100%;
	}

	img {
		max-width: 100%;
	}

	.mp_user2 {
		width: 496px;
	}

	.hero-carousel article {
		width: 724px;
		height: 302px;
	}

	.hero-carousel article .contents h2 {
		font-size: 32px !important;
	}

	.hero-carousel article .contents {
		font-size: 16px !important;
	}

	.hero-carousel-nav li.prev {
		left: 140px;
	}

	.hero-carousel-nav li {
		right: 140px;
		bottom: 130px;
	}

	.follow i {
		margin-bottom: 0;
	}

	.follow > a {
		margin-bottom: 15px;
	}

	.bottomrow img.icon {
		margin-top: 0;
		margin-bottom: 15px;
		clear: both;
	}

	.belowcontent iframe {
		width: 724px !important;
	}

	img.img_left, img.img_right, .left.item-image, .right.item-image {
		float:none;
		margin:0 0 30px 0;
	}
  
  	input[type="date"] {
      	-webkit-appearance: none;
      	height: 40px;
      	text-align: left;
    }

}

@media (max-width: 767px) {

	.advertrow .sparky_container,
	.userrow .sparky_container,
	.bottomrow .sparky_container {
		display: block;
	}

	.advertrow .sparky_cell,
	.userrow .sparky_cell,
	.bottomrow .sparky_cell {
		margin: 0 0 15px;
	}

	.userrow .sparky_cell:first-child {
		max-width: 100%;
	}

	.sparky_container > .mp_logo.sparky_cell,
	.sparky_container > .mp_mainmenu.sparky_cell,
	.sparky_container > .mp_top1.sparky_cell,
	.sparky_container > .mp_top2.sparky_cell {
		width: 50% !important;
	}

	.sparky_container > .mp_user2.sparky_cell {
		width: 100%;
	}

	.hero-carousel article .contents {
		left: 35% !important;
		width: 40% !important;
		font-size: 13px !important;
	}

	.hero-carousel-nav li.prev {
		left: 46%;
	}

	.hero-carousel-nav li {
		right: 46%;
		bottom: 0px;
	}

	.clinic_graphic {
	    float: none;
	    margin-left: 0;
	}

	ul.mnu_footermenu {
		text-align: center;
		margin-bottom: 5px;
	}

}

@media (max-width: 500px) {

	h1, h1 a {
		font-size: 48px;
	}

	.logorow .sparky_menu {
	    padding-top: 7px;
	}

	.hero-carousel article {
		height: 300px !important;
	}

	.hero-carousel-nav {
	    bottom: 130px !important;
	}

	.telephone {
		font-size: 18px;
		height: 30px;
	}

	.hero-carousel article .contents {
		width: 200px !important;
		top:50px !important;
	}

	.mp_copyright {
		text-align: left;
	}

}

	