/*
Theme Name: SPMCH-New Theme
Theme URI: www.taoinfotech.com
Description: St. Peters Medical College Hospital
Author: TAO
Author URI: www.taoinfotech.com
Version: 1.0
*/

body {
	font-family: Mulish, Arial, Helvetica, sans-serif;
	padding: 0px;
	margin:0px;
	font-size: 0.9 rem;
}
#banner {
	width: 100%;
	/*margin-top: -4.5rem;*/
}

#banner .carousel-indicators {
	bottom: 13vw;
}

.banner-head{
	padding: 1em 2em 1em 2em;
}
.head-text-yellow{
	background-color: #159bd7;
	color: #fff;
	opacity:0.8;
}
.head-text-yellow a{
	color: #ffffff;
}
.head-text{
	font-size: 0.8em;
}
.call-us{
	color: #035EA5;
	font-weight: bold;
	font-size:0.8rem;
	text-align: right;
}

.call-us a {
	color: inherit;
}

.nav-link {
  background-color: #039f9f;
  color: #ffffff !important;
  font-size: 0.7rem;
  font-weight: 400;
  padding: 0.5rem 1rem !important;
  padding-bottom: calc( 0.5rem - 4px ) !important;
  text-transform: uppercase;
  border-bottom: 4px solid #039f9f;
}
#about{
			
}
.grey-container{
	background-color: #F0F2F3;		
}
#about-text{
	text-align:center;
}
#about-text h3{
	color: #04A6A1;
	font-weight: bold;
	
}
#hospital-college img{
	width:100%
}
#hospital-college h6{
	color: #035EA5;
	margin-top:1em;
	text-align:center;
}
#footer{
	background-color: #002B50;
	color:#ffffff;
	padding: 2em 5em 1em 5em;
}
.box-container{
	max-width:850px;
}
.box-container{
	
    margin-right: auto; 
    margin-left: auto;
}
.about-white-box{
	background-color: #ffffff;
	border-radius: 25px;
	padding:2em 5em 1em 5em;
	position: relative;
	margin-top: -13vw;
}
#quick-enquiry{
	position: absolute;
	top:7em;
	z-index:1;
	text-align:right;
	color: #ffffff;
}
#quick-enquiry a{
	color: #ffffff;
}
.round-box{
	
}
.spmch-cyan{
	color: #04A6A1;
}
#footer .address-line2{
	color: #9AA0AF;
	font-size:0.8em;
}
.address-line2 a{
	color: #9AA0AF;
}
.copyright{
	color: #9AA0AF;
	font-size:0.7em;
}
.facility-icons{
	text-align:center;
	margin-top:1em;
}
#facility-icon{
	width:100%
}
#facility, #news{
	
	margin-right: 2rem; 
    margin-left: 2rem;
	margin-top:2em;
	
}

figure {
	width: 100%;
}

.facility-icon img{
	width: 100%;
	padding: 15px;
}

.spmch-blue{
	color: #035EA5;
}
.section-head{
	font-weight: bold;
	font-size:1.2em;
	margin-bottom: 1em;
}
.facility-img{
	width:100%;
	border-radius: 10px;
	margin-bottom:1em;
}
.news-img{
	
	
}
.news-padding{
	
}
#news, #events{
	margin-bottom: 5em;
}
#events{
	/*border-radius: 25px;*/
	padding:0em 0em 2em 0em;
	background-color: #F0F2F3;
	margin-top: 6rem;
	margin-bottom: -6rem;
}
.events-white-box{
	background-color: #ffffff;
	border-bottom-left-radius: 25px;
	border-bottom-right-radius: 25px;
	padding:2em 5em 1em 5em;
	position: relative;
	top: -6rem;
}

.events-button{
	background-color: #04A6A1;
	color: #ffffff;
	width:50%;
	text-align:center;
}
.spmch-navbar{
	background-color:#039f9f; 
	/*text-align:center;*/
	margin-right: auto;
    margin-left: auto;
	justify-content: center;
	z-index: 1;
}
.dropdown-item{
	
}
.navbar {
 
}
.dropdown{
	
}
/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-menu {
	display: block;
    margin-top: 0;
	//height:100em;
	/*max-height:130em;*/
}
.navbar a:hover, .dropdown-menu:hover .dropdown-menu,  .navbar a:hover .nav-link{
	color: #ea084a !important; 
	font-weight:bold;

}
.depts-dropdown {
	left: -20em;
	//width: 60em;
	width:73em;

}
.dropdown-menu{
	font-size: 0.8rem;
	//height:0;
	
  //transition: .9s ease;
	/*max-height:0;
   overflow:hidden;
   position:absolute;
   -webkit-transition:max-height .8s ease-in-out .8s;
   -moz-transition:max-height .8s ease-in-out .8s;
   -o-transition:max-height .8s ease-in-out .8s;
   -ms-transition:max-height .8s ease-in-out .8s;
   transition:max-height .8s ease-in-out .8s;*/
	
}
.dept-term{
	color: #1976BC;
	font-weight:bold;
}
#depts-menu a{
	color: #000000;
}
#depts-menu ul {
  list-style:none;
  margin-left: 0;
  padding-left: 0;
}

#depts-menu li:before {
  content: "-";
  color: #1976BC;
  font-weight:bold;
  padding-right: 5px;
}
#depts-menu a:active  ,#depts-menu a:hover{
  background-color: #D0EAF7;
}

#dept .card {
  /* Add shadows to create the "card" effect */
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
}

/* On mouse-over, add a deeper shadow */
#dept .card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

/* Add some padding inside the card container */
#dept .dept-card-container {
  padding: 2em 16px;
  padding-top: 1.5 em;
}
.content-title{
	color: #025FA4;
	font-weight:bold;
}
#dept{
	padding-bottom:2em;
}
#dept-content{
	padding-left:3em;
}
#dept-content ul {list-style: none}
#dept-content ul li::before {
  content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
  color: #1976BC; /* Change the color */
  font-weight: bold; /* If you want it to be bold */
  display: inline-block; /* Needed to add space between the bullet and the text */
  width: 1em; /* Also needed for space (tweak if needed) */
  margin-left: -1em; /* Also needed for space (tweak if needed) */
}

.msr {
	padding: .375rem .75rem;
	text-align: right;
}

@media (max-width: 768px) {
	.banner-head > .row > .col-md-3 {
		text-align: center!important;
	}
	
	.spmch-navbar {
		justify-content: space-between;
	}
	
	.call-us {
		text-align: left;
		margin-bottom: -20px;
		padding-top: 15px;
	}
	
	.msr {
		text-align: left;
		padding: 15px;
	}
}
.about_link{
	color: black;
	font-size: .9em;
}

#about_links ul {
  list-style: none; /* Remove default bullets */
}

#about_links ul li::before {
  content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
  color: grey; /* Change the color */
  font-weight: bold; /* If you want it to be bold */
  display: inline-block; /* Needed to add space between the bullet and the text */
  width: .9em; /* Also needed for space (tweak if needed) */
  margin-left: -1em; /* Also needed for space (tweak if needed) */
}
.about-title{
	/*color: #035EA5;*/
}
#desig-box{
	color: #035EA5;
}
.spmch-blue{
	color: #035EA4;
}
#about_links a:link {
	color: black;
	text-decoration: none;  
}

#about_links a:hover {
	color: #035EA4;
	text-decoration: none;  
}

#about_links a:active {
	color: #035EA4;
	text-decoration: none;   
}

/* Style the tab */
.tab {
  float: left;
 // border: 1px solid #ccc;
  //background-color: #f1f1f1;
  //width: 30%;
  height: 200px;
}
/* Style the buttons inside the tab */
.tab button {
  display: block;
  background-color: inherit;
  color: black;
  padding: .5em .5em;
  width: 100%;
  border: none;
  outline: none;
  text-align: left;
  cursor: pointer;
  transition: 0.3s;
  font-size: 17px;
  
}

/* Change background color of buttons on hover */
.tab button:hover {
  color: #035EA4;
}

/* Create an active/current "tab button" class */
.tab button.active {
  color: #035EA4; !important;
}
.tab button.active + .dot{
	background-color: #035EA4;
}
.dot {
  height: 5px;
  width: 5px;
  background-color: #bbb;
  border-radius: 90%;
  display: inline-block;
  margin-right: .5em;
}
/* Button used to open the contact form - fixed at the bottom of the page */
.open-button {
  background-color: #159bd7;
  color: white;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  position: fixed;
  margin-top:150px;
  right: -43px;
  top: 120px;
  z-index:8;
  transform:rotate(90deg);
}

/* The popup form - hidden by default */
.form-popup {
  display: none;
  position: fixed;
  top: 150px;
  right: -1px;
  border: 3px solid #f1f1f1;
  z-index: 10;
}

/* Add styles to the form container */
.form-container {
  max-width: 300px;
  padding: 10px;
  background-color: white;
}

/* Full-width input fields */
.form-container input[type=text], .form-container input[type=email] {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  border: none;
  background: #f1f1f1;
}

/* When the inputs get focus, do something */
.form-container input[type=text]:focus, .form-container input[type=email]:focus {
  
  outline: none;
}

/* Set a style for the submit/login button */
.form-container .btn {
  background-color: #28a745;
  color: white;
  padding: 5px 15px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-bottom:10px;
  opacity: 0.8;
}

/* Add a red background color to the cancel button */
.form-container .cancel {
  background-color: #28a745;
}

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
  opacity: 1;
}
.dept-image-gallery{
	border-radius: 15px;
}
.xy ul{
	list-style-type:none;
}
/*Style for scroll text */
.spmch-scroll {
 height: 25px;  
 overflow: hidden;
 position: relative;
}
.spmch-scroll h6{
 
 position: absolute;
 width: 100rem;
 height: 100%;
 margin: 0;
 line-height: 25px;
 text-align: center;
 /* Starting position */
 -moz-transform:translateX(100%);
 -webkit-transform:translateX(100%);  
 transform:translateX(100%);
 /* Apply animation to this element */  
 -moz-animation: spmch-scroll 10s linear infinite;
 -webkit-animation: spmch-scroll 10s linear infinite;
 animation: spmch-scroll 20s linear infinite;
}
/* Move it (define the animation) */
@-moz-keyframes spmch-scroll {
 0%   { -moz-transform: translateX(100%); }
 100% { -moz-transform: translateX(-100%); }
}
@-webkit-keyframes spmch-scroll {
 0%   { -webkit-transform: translateX(100%); }
 100% { -webkit-transform: translateX(-100%); }
}
@keyframes spmch-scroll {
 0%   { 
 -moz-transform: translateX(100%); /* Firefox bug fix */
 -webkit-transform: translateX(100%); /* Firefox bug fix */
 transform: translateX(100%);     
 }
 100% { 
 -moz-transform: translateX(-100%); /* Firefox bug fix */
 -webkit-transform: translateX(-100%); /* Firefox bug fix */
 transform: translateX(-100%); 
 }
}
#cboxOverlay {
   background:#000; 
   opacity: 0.9; 
   filter: alpha(opacity = 90); 
   cursor: zoom-out !important; /* ADDED */
}
.blocks-gallery-item img:hover{
	opacity: 0.8;
	transition: all .3s ease-in-out;
}
.blocks-gallery-item img{
	height: inherit;
}
#image-gallery-home{
	padding-bottom:2em;
	padding: 2em 5em 1em 5em;
}
.gallery-container {
  position: relative;
  max-width: 800px; /* Maximum width */
  margin: 0 auto; /* Center it */
}

.gallery-container .content {
  position: absolute; /* Position the background text */
  bottom: 0; /* At the bottom. Use top:0 to append it to the top */
  background: rgb(0, 0, 0); /* Fallback color */
  background: rgba(0, 0, 0, 0.5); /* Black background with 0.5 opacity */
  color: #f1f1f1; /* Grey text */
  width: initial; /* Full width */
  padding: 20px; /* Some padding */
}
.nmc-info a{
	color: #000000;!important;
	
}
.accordion .btn-link{
	color: #000000;
	text-decoration:none;
}
/*CSS for Department page */
.dept-page {
	background-color: #fff;
	margin: 1rem;
	padding: 1rem;
}

.dept-tabs {
  /*width: 90%;*/
  min-width: 360px;
  margin: 0 -1rem;
}

.dept-tabs > ul {
  text-align: center;
  font-weight: 500;
  margin: 25px 0 0;
  padding: 0;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.dept-tabs > ul > li {
  display: inline-block;
  background: var(--inner-page-bg);
	background-color: #fff;
  padding: 0.6em 0;
  position: relative;
  min-width: 15%;
  margin: 0 0 0 4px;
	background: linear-gradient(0deg, #fff, #fff0);
}
.dept-tabs > ul > li:before, .dept-tabs > ul > li:after {
  opacity: 0;
  transition: 0.3s ease;
}
.dept-tabs > ul > li.ui-tabs-active:before, .dept-tabs > ul > li.ui-tabs-active:after, .dept-tabs > ul > li.ui-state-hover:before, .dept-tabs > ul > li.ui-state-hover:after, .dept-tabs > ul > li.ui-state-focus:before, .dept-tabs > ul > li.ui-state-focus:after {
  opacity: 1;
}
.dept-tabs > ul > li:before, .dept-tabs > ul > li.ui-state-active.ui-state-hover:before, .dept-tabs > ul > li.ui-state-active.ui-state-focus:before {
  content: "";
  position: absolute;
  z-index: -1;
  box-shadow: 0 2px 3px rgba(22, 195, 255, 0.5);
  top: 50%;
  bottom: 0px;
  left: 5px;
  right: 5px;
  border-radius: 100px / 10px;
}
.dept-tabs > ul > li:after, .dept-tabs > ul > li.ui-state-active.ui-state-hover:after, .dept-tabs > ul > li.ui-state-active.ui-state-focus:after {
  content: "";
  background: var(--inner-page-bg);
  position: absolute;
  width: 12px;
  height: 12px;
  left: 50%;
  bottom: -6px;
  margin-left: -6px;
  transform: rotate(45deg);
  box-shadow: inset 3px 3px 3px rgba(22, 195, 255, 0.5), inset 1px 1px 1px rgba(0, 0, 0, 0.3);
}
.dept-tabs > ul > li.ui-state-hover:before, .dept-tabs > ul > li.ui-state-focus:before {
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}
.dept-tabs > ul > li.ui-state-hover:after, .dept-tabs > ul > li.ui-state-focus:after {
  box-shadow: inset 3px 3px 3px rgba(0, 0, 0, 0.2), inset 1px 1px 1px rgba(0, 0, 0, 0.3);
}
.dept-tabs > ul > li.ui-state-focus a {
  text-decoration: underline;
}
.dept-tabs > ul > li:focus {
  outline: none;
}
.dept-tabs > ul > li a {
  color: #444;
  text-decoration: none;
}
.dept-tabs > ul > li a:focus {
  outline: none;
}
.dept-tabs > ul > li a span {
  position: relative;
  top: -0.5em;
}
.dept-tabs .contents {
  padding: 2rem;
  min-height: 200px;
	background: var(--inner-page-bg);
	border-radius: 0.1rem;
	text-align: justify;
}
.committee-link a{
	color: #035EA5;
	text-decoration:none;
}
