*
{
   margin: 0;
   padding: 0;
}
/*------Navigation----*/
#nav-bar
{
   position:sticky;
   top: 0;
   z-index: 10;
}
.navbar-brand img
{
	height: 60px;
	padding-left: 30px;
}
.navbar-nav li
{
	padding: 0 10px;
}
.navbar-nav li a
{
	float: left;
	text-align: left;
}
#nav-bar ul li a:hover
{
	color: #007bff!important;
}
.navbar
{
	background: #003399;
}
.navbar-toggler
{
	border: none!important;
}
.nav-link
{
	color: #fff!important;
	font-weight: 600;
	font-size: 16px;
}
#nav-bar .fa
{
	margin-right: 8px
}
#nav-bar ul li span
{
	transition: transform 0.4s;
}
#nav-bar ul li:hover span
{
	transform: translateY(-15%) rotate(-180deg);
}
.sub-menu-1
{
	display: none;
}
#nav-bar ul li:hover .sub-menu-1
{
  display: block;
  position: absolute;
  background-color: #003399;
  margin-top: 40px;
  margin-left: -15px;
}

#nav-bar ul li:hover .sub-menu-1 ul
{
	display: block;
	list-style: none;
	padding: 0;
	
}
#nav-bar ul li:hover .sub-menu-1 ul li
{
	padding: 15px 20px 35px;
	border-bottom: 1px dotted #fff;
}
#nav-bar ul li:hover .sub-menu-1 ul li:last-child
{
  border-bottom: none;
}
#nav-bar ul li:hover .sub-menu-1 ul li a
{
	text-decoration: none;
    color: #fff;
}
.sub-menu-2
{
  display: none;
}
.sub-menu-1 ul li:hover .sub-menu-2
{
	position: absolute;
    display: block;
    margin-top: -15px;
    margin-left: 160px;
	width: 200px;
    background-color: #003399;
}
/*------Slider----*/
#slider
{
	width: 100%;
}
.carousel-caption
{
	top: 50%;
	transform: translateY(-50%);
	bottom: initial!important;
}
.carousel-caption h5
{
	text-align: left;
	color: #003399;
	font-size: 30px;
}
.carousel-caption h4
{
	text-align: right;
	color: #003399;
	font-size: 30px;
}
.carousel-caption h3
{
	text-align: right;
	color: #003399;
	padding-top: -100px;
	font-size: 30px;
}
/*-----Our Mission-----*/
#mission
{
	background-image: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.4)),url("https://barriedentist.ca/wp-content/uploads/2021/01/modern-dentistry-main-featured-e1611088128752-optimized.png");
	background-size: cover;
	background-position: center;
	color: #fff;
	background-attachment: fixed;/*----remove to make image movable----*/
	
}
#mission h1
{
	text-align: left;
	padding: 125px;
	font-family: sans-serif;
	font-size: 40px;
}
#mission h1::after
{
	content: '';
	background: #efefef;
	display: block;
	height: 3px;
	width: 170px;
	margin-left: 20px;
	margin-top: 10px;
}
#mission ul li
{
	text-align: left;
	padding: 8px 8px 8px;
	font-family: sans-serif;
	font-size: 20px;
}

/*-----About Us------*/
#about
{
	padding-top: 80px;
	padding-bottom: 80px;
}
#about h3
{
	text-align: left;
}
.profile
{
	padding: 40px 100px 40px;
	background-color: #efefef;
}
.user
{
	width: 250px;
	height: 250px;
	border-radius: 50%;
}
.profile img
{
	/*-----filter: grayscale(1);------*/
	left: calc(50% - 60px);
	border: 10px solid #fff;
}
#about h1
{
	text-align: center;
	padding: 50px 20px 10px;
}
#about h1::after
{
	content: '';
	background: #003399;
	display: block;
	height: 3px;
	width: 100px;
	margin: 10px auto 5px;
}
.profile img:hover
{
	filter: grayscale(0);
	cursor: pointer;
}
.profile h3
{
	font-size: 20px;
	margin-left: 10px;
	color: #007bff;
}
.profile p
{
	margin-top: 25px;
}
#about span
{
	font-size: 15px;
	color: #333;
}
.profile:hover
{
	box-shadow: 0 0 15px 5px rgba(0,0,0,0.2);
	cursor: pointer;
	transition: 0.5s;
}

/*----Treatments--*/
#treatments
{
    padding: 100px 0;
}
#treatments h1
{
    text-align: center;
}
#treatments h1::after
{
	content: '';
	background: #003399;
	display: block;
	height: 3px;
	width: 120px;
	margin: 10px auto 5px;
}
#treatments .single-treatment
{
    margin: 30px 10px;
	display: inline;
	float: left;/*----columns align vertical---*/
	width: 100%
	background-color: #fff;
	transition: 0.5s;
}
#treatments .single-treatment:hover
{
	box-shadow: 0 2px 20px #333;
}
#treatments .img-box
{
    display: inline;
	float: left;
	position: relative;
	width: 100%;
}
#treatments .text-box h3
{
    color: #2196f3;
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 5px;
	text-align: center;
	padding: 5px;
}
#treatments .treatment-button
{
	display: inline;
	float: left;
	padding: 10px 10px 30px;
	text-align: center;
	
}
#treatments .read-btn
{
    background-color: #2196f3;
	border-radius: 3px;
	display: inline-block;
	font-size: 18px;
	padding: 10px 50px;
	transition: 0.5s;
}
#treatments .read-btn:hover
{
    border-color: 1px solid #fff;
	background-color: #3f51b5;
}
#treatments a
{
	text-decoration: none!important;
	color: #fff!important;;
}

/*-----Dental Fees----*/
#fees
{
	padding: 40px 0;
	background: #efefef;
}
#fees
{
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  padding: 25px 25px 25px;
  text-align: center;
  background-color: #f1f1f1;
}
#fees h1
{
    text-align: center;
	padding: 70px 20px 10px;
}
#fees h1::after
{
	content: '';
	background: #003399;
	display: block;
	height: 3px;
	width: 120px;
	margin: 10px auto 5px;
}
table 
{
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  border: 1px solid #ddd;
}
th 
{
  background-color: #003399;
  color:#ffffff;
  text-align: center;
  padding: 16px;
}
td 
{
  text-align: center;
  padding: 16px;
}
tr:nth-child(even) 
{
  background-color: #e6ecff;
}
table:hover
{
	box-shadow: 0 2px 20px #333;
}
/*-----Reach Us-----*/
#contact
{
	background: #efefef;
	padding-top: 40px;
	padding-bottom: 40px;
	color: #777;
}
#contact h1
{
    text-align: left;
	padding: 70px 20px 10px;
}
#contact h1::after
{
	content: '';
	background: #003399;
	display: block;
	height: 3px;
	width: 170px;
	margin-left: 1px;
	margin-top: 10px;
}
.follow
{
	background: #fff;
	padding: 10px;
	margin: 15px;
}
#contact .fa
{
	margin: 10px;
	font-weight: bold;
}

/*----Appointment Request----*/
#appointment
{
    background-image: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.4)),url("https://www.smallbizdaily.com/wp-content/uploads/2018/06/shutterstock_275642144-min.jpg");
	background-size: cover;
	background-position: center;
	color: #fff;
	
}
#appointment h1
{
	text-align: left;
	padding: 90px 20px 10px;
}
#appointment h1::after
{
	content: '';
	background: #efefef;
	display: block;
	height: 3px;
	width: 200px;
	margin-left: 100px;
	margin-top: 10px;
}
.contact-form
{
	padding: 8px;
}
.form-control
{
	border-radius: 0!important;
	border: none!important;
}
::placeholder
{
	color: #999!important;
}
#appointment .submit-btn
{
    background-color: #003399;
	border-radius: 3px;
	display: inline-block;
	font-size: 18px;
	padding: 10px 20px 10px 20px;
	margin-bottom: 50px;
	margin-left: 20%;
}
#appointment .submit-btn:hover
{
    border-color: 1px solid #fff;
	background-color: #2196f3;
}
#appointment a
{
	text-decoration: none!important;
	color: #fff!important;;
}
/*----footer---*/
#footer
{
	background: blue; 
    background: linear-gradient(to right, #ff5e7c, #c272d4);
    background: -webkit-linear-gradient(left, #ff5e7c, #c272d4);
    color: #fff;
	padding: 12px;
}
#footer p
{
	font-size: 12px;
}
#footer .content ul 
{
	list-style: none;
}
#footer .content ul li a
{
	color: #fff;
}
#footer .content ul li a:hover
{
	color: #003399;
}
#footer .fa
{
	font-size: 20px;
	margin: 5px;
	color: #efefef;
	font-weight: bold;
}
/*-----
#footer .content .social a
{
	padding: 0 2px;
}
#footer .content .social a span
{
	height: 40px;
	width: 40px;
	background: #fff;
	line-height: 40px;
	text-align: center;
	font-size: 20px;
	border-radius: 5px;
	transition: 0.3s;
}
#footer .content .social a span:hover
{
	background: #ffcc00;
}-----*/