/*
 * Custom CSS
 */

/* ------------------------
   Global Styles
   ------------------------ */
* {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

a {
	text-decoration: none !important;
}

img {
	max-width: 100%;
}

#scrolltoTop {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 30px;
	z-index: 99;
	border: none;
	outline: none;
	background-color: rgba(255, 0, 0, .19);
	color: white;
	cursor: pointer;
	padding: 15px;
	border-radius: 10px;
}

#scrolltoTop:hover {
	background-color: rgba(255, 0, 0, .65);
}

/* ------------------------
   Layouts
   ------------------------ */
.section-content {
	padding: 4rem 0;
}

/* Clinic Box */
.clinic-box {
	position: relative;
}
.box-icon {
	position: absolute;
	width: 30%;
	bottom: 0;
	right: 0;
	opacity: 0.3;
    filter: alpha(opacity=30); /* For IE8 and earlier */
}

.box-bg, .box-item {
	position: relative;
	border:1px solid #ddd;
	transition: 0.5s;
}

.box-bg:hover,
.box-item:hover {
	box-shadow: 0 0 8px rgba(0, 0, 0, .18), 0 8px 16px rgba(0, 0, 0, .36);
}

#map {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 500px;
	overflow: hidden;
	display: block;
}

.address-info {
	position: absolute;
	height: auto;
	background-color: rgba(255, 255, 255, .75);
	z-index: 3;
}

/* Footer */
#footer {
	background-color: #222;
}

#socket {
	background-color: #333;
}


/* Intro page */
#howtoContact {
	background: url(assets/img/mic.jpg) no-repeat;
	background-size: cover;
}

.contactbox {
	background: rgba(0, 0, 0, .4);
}

/* Clinic Page */
.cover-bg {
	position: relative;
}

.cover-bg:after {
	display: block;
	position: relative;
	background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0, #000 100%);
	margin-top: -150px;
	height: 150px;
	width: 100%;
	content: '';
}

.cover-txt {
	position: absolute;
	bottom: 40px;
	left: 60px;
}

/* Blog */
#jumbotron {
	margin-top: -1.5rem;
	padding-top: 6rem;
	padding-bottom: 6rem;
	background-color: #fff;
}

#jumbotron .container {
	max-width: 40rem;
	background: rgba(255, 255, 255, .3);
	padding: 2rem;
}

#jumbotron p {
	text-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

article.post-aside,
article.post-link,
article.post-status {
	font-size: 125%;
	padding: 1.25rem;
	border-radius: 0.25rem;
}

article.post-link a {
	color: white;
}

/* Post Styles */
.page-header {
	border-bottom: 1px solid #eee;
}

.breadcrumb {
	background-color: transparent !important;
}

.post-meta {
	clear: both;
	overflow: hidden;
	margin: 20px 0;
	padding: 5px 0;
	border-top: 1px solid #e7e6e6;
	border-bottom: 1px solid #e7e6e6;
}

/* Social Icons */
.badge.social {
	background: #ccc;
	font-size: 24px;
	height: 40px;
	width: 40px;
	text-align: center;
	line-height: 42px;
	margin: 0 5px 20px 0;
	padding: 0;
	border-radius: 50px;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	color: white;
}

.badge.social.twitter:hover {
	background: #55acee;
}

.badge.social.facebook:hover {
	background: #3b5998;
}

.badge.social.gplus:hover {
	background: #db4b39;
}

.badge.social.pinterest:hover {
	background: #bd081b;
}

.badge.social.instagram:hover {
	background: #bf35e2;
}

/* Post sidebar */
.text-box {
	box-shadow: 0 0 8px rgba(0, 0, 0, .18), 0 8px 16px rgba(0, 0, 0, .36);
}

.tab-pane .single-post {
	min-height: 5rem;
	border-bottom: 1px solid #e0e0e0;
	margin-bottom: 1rem;
}

.tab-pane .single-post:last-of-type {
	border-bottom: none;
}

/* Login Style */
section#login,
section#signup {
	margin-top: -1.5rem;
}

/* ------------------------
   Media Query
   ------------------------ */

@media only screen and (max-width: 575px) {
	.box-bg {
		background-repeat: no-repeat;
		background-position: 120px bottom;
	}

	.author-img {
		width: 200px;
		margin: 2rem auto;
	}

	.cover-txt {
		position: absolute;
		bottom: 10px;
		left: 60px;
	}

	.cover-txt h1 {
		font-size: 1.5rem;
	}

	.cover-txt h2 {
		font-size: 1rem;
	}

	.card {
		margin: 2rem 1.5rem !important;
	}
}

@media (min-width: 576px) and (max-width: 767px) {
	.cover-txt{
		position: absolute;
		bottom: 20px;
		left: 60px;
	}

	.cover-txt h2{
		font-size: 1.5rem;
	}

	.cover-txt h1 {
		font-size: 2rem;
	}
}












