/********** Template CSS **********/
:root {
    --primary: #06A3DA;
    --secondary: #F57E57;
    --light: #EEF9FF;
    --dark: #091E3E;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: math;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    /* font-family: 'Jost', sans-serif; */
    font-family: math;
    padding: 35px 15px;
    font-size: 17px;
    color: var(--light);
    outline: none;
    transition: .5s;
}

.dropdown-item {
    font-family: math;
    font-size: 17px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary);
}

.navbar-light .navbar-nav .show>.nav-link {
    color: var(--secondary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(9, 30, 62, .5); */
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: 20px;
        z-index: 1;
    }
}

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}

.twentytwenty-wrapper {
    height: 100%;
}

.hero-header {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.bg-appointment {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.appointment-form {
    background: rgba(6, 163, 218, .7);
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius:100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
}

.bg-offer {
    background:url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.offer-text {
    background: rgba(6, 163, 218, .85);
}

.price-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 45px);
    height: 45px;
    top: calc(50% - 22.5px);
    left: -22.5px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.price-carousel:hover .owl-nav {
    opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.bg-testimonial {
    background: url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    background: rgba(6, 163, 218, .85);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}

.navbar-light .navbar-toggler {
    color: rgba(255,255,255,0.55);
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.5);
}
#header-carousel .carousel-item img {
   /*  height: 100vh; */
    height: 70vh;
}
.navbar-brand h1 img {
    max-width: 250px;
}
@media(max-width: 575px) {
.navbar-brand h1 img {
    max-width: 220px;
}
#header-carousel .carousel-item img {
    /* height: 65vh; */
    height: 25vh;
}
}
.counts {
    background: var(--dark);
    padding: 60px 0;
}
.counts .count-box h4 {
    color: var(--light);
}
.counts .count-box i {
    font-size: 30px;
    color: var(--light);
}
.counts .count-box p {
    font-size: 45px;
    color: var(--light);
    font-weight: bold;
}
.event-box .event-inner {
    padding: 20px;
}
.event-box .event-inner .time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.event-box .event-inner .time .icon {
    display: flex;
    align-items: center;
}
.event-box .event-inner .time .icon i {
    margin-right: 5px;
}
.event-box .event-inner .time .icon p {
    margin-bottom: 0;
}
/* blog start */
.blog-hero {
	padding-top: 215px;
	padding-bottom: 170px;
	margin-top: -50px;
}

.blog-hero {
	text-align: center;
}

.blog-hero h2 {
	font-size: 44px;
	color: #ffffff;
	margin-bottom: 6px;
}
.classes__pagination.blog__pagination {
	text-align: left;
	padding-top: 0;
}
.blog__item {
	margin-bottom: 60px;
}

.blog__item__pic {
	margin-bottom: 26px;
}

.blog__item__pic img {
	min-width: 100%;
}

.blog__item__text ul {
	margin-bottom: 26px;
	padding-left:0;
}

.blog__item__text ul li {
	font-size: 16px;
	color: #091E3E;
	margin-right: 15px;
	display: inline-block;
}

.blog__item__text ul li:last-child {
	margin-right: 0;
}

.blog__item__text ul li i {
	margin-right: 5px;
}

.blog__item__text h5 {
	margin-bottom: 15px;
}

.blog__item__text h5 a {
	font-size: 20px;
	color: #091E3E;
	-webkit-transition: all, 0.3s;
	-moz-transition: all, 0.3s;
	-ms-transition: all, 0.3s;
	-o-transition: all, 0.3s;
	transition: all, 0.3s;
}

.blog__item__text h5 a:hover {
	color: #06A3DA;
}

.blog__item__text p {
	color: #000;
	margin-bottom: 35px;
}

.blog__item__text .blog_read_more {
	font-size: 14px;
	padding: 18px 25px 15px;
	border-radius: 50px;
	text-transform: uppercase;
	border: 1px solid rgba(155, 158, 163, 0.3);
	display: inline-block;
}

.blog__item__text .blog_read_more span {
	font-size: 16px;
	position: relative;
	top: 2px;
	margin-left: 6px;
}

/*---------------------
  Blog Sidebar
-----------------------*/

.blog__sidebar {
	padding-right: 50px;
}

.blog__sidebar__search {
	margin-bottom: 50px;
}

.blog__sidebar__search form {
	position: relative;
}

.blog__sidebar__search form input {
	width: 100%;
	height: 46px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 20px;
	font-size: 16px;
	color: #9B9EA3;
	padding-left: 25px;
}

.blog__sidebar__search form input::placeholder {
	color: #9B9EA3;
}

.blog__sidebar__search form button {
	position: absolute;
	right: 0;
	top: 0;
	font-size: 16px;
	color: #9B9EA3;
	height: 100%;
	padding: 0 15px;
	background: transparent;
	border: none;
}

.blog__sidebar__categories {
	margin-bottom: 30px;
}

.blog__sidebar__categories h4 {
	color: #091E3E;
	margin-bottom: 10px;
}

.blog__sidebar__categories ul li {
	list-style: none;
}

.blog__sidebar__categories ul li a {
	font-size: 16px;
	color: #9B9EA3;
	line-height: 48px;
	-webkit-transition: all, 0.3s;
	-moz-transition: all, 0.3s;
	-ms-transition: all, 0.3s;
	-o-transition: all, 0.3s;
	transition: all, 0.3s;
}

.blog__sidebar__categories ul li a:hover {
	color: #5768AD;
}

.blog__sidebar__recent {
	margin-bottom: 50px;
}

.blog__sidebar__recent h4 {
	color: #1C1C1C;
	margin-bottom: 25px;
}

.blog__recent__item {
	margin-bottom: 20px;
	overflow: hidden;
}

.blog__recent__item:last-child {
	margin-bottom: 0;
}

.blog__recent__item__pic {
	float: left;
	margin-right: 20px;
	max-width:100px;
}

.blog__recent__item__text {
	overflow: hidden;
}

.blog__recent__item__text h6 {
	color: #263246;
	font-weight: 700;
	line-height: 20px;
	margin-bottom: 5px;
}

.blog__recent__item__text span {
	font-size: 12px;
	color: #9B9EA3;
	text-transform: uppercase;
}

.blog__sidebar__tags {
	margin-bottom: 40px;
}

.blog__sidebar__tags h4 {
	color: #1C1C1C;
	margin-bottom: 25px;
}

.blog__sidebar__tags a {
	font-size: 16px;
	background: #f5f5f5;
	color: #091E3E;
	display: inline-block;
	padding: 7px 15px 3px;
	margin-right: 6px;
	margin-bottom: 10px;
}

.blog__sidebar__comment h4 {
	color: #1C1C1C;
	margin-bottom: 25px;
}

/*---------------------
  Blog Details Hero
-----------------------*/

.blog__hero__text ul li {
	list-style: none;
	display: inline-block;
	font-size: 16px;
	color: #ffffff;
	margin-right: 35px;
	position: relative;
}

.blog__hero__text ul li:after {
	position: absolute;
	right: -23px;
	top: -1px;
	content: "|";
}

.blog__hero__text ul li:last-child {
	margin-right: 0;
}

.blog__hero__text ul li:last-child:after {
	display: none;
}

.blog__hero__text ul li span {
	font-weight: 700;
}

/*---------------------
  Blog Details
-----------------------*/

.blog__details__large {
	position: relative;
	margin-bottom: 40px;
}

.blog__details__large span {
	font-size: 14px;
	font-weight: 700;
	color: #ffffff;
	display: inline-block;
	padding: 5px 30px 4px 20px;
	background: #091E3E;
	position: absolute;
	left: 0;
	top: 10px;
}

.blog__details__text {
	margin-bottom: 30px;
}

.blog__details__text p {
	line-height: 28px;
}

.blog__details__quote {
	position: relative;
	padding-left: 30px;
	margin-bottom: 60px;
}

.blog__details__quote:before {
	position: absolute;
	left: 0;
	top: 0;
	height: 56px;
	width: 2px;
	background: #5768AD;
	content: "";
}

.blog__details__quote p {
	line-height: 28px;
	color: #263246;
}

.blog__details__pic {
	margin-bottom: 30px;
}

.blog__details__pic img {
	margin-bottom: 20px;
	min-width: 100%;
}

.blog__details__desc {
	margin-bottom: 40px;
}

.blog__details__desc h4 {
	color: #263246;
	font-weight: 700;
	margin-bottom: 10px;
}

.blog__details__desc p {
	line-height: 28px;
}

.blog__details__tags__share {
	overflow: hidden;
	margin-bottom: 25px;
}

.blog__details__tags__share p {
	color: #9B9EA3;
	float: left;
}

.blog__details__tags__share p span {
	color: #263246;
	font-weight: 700;
}

.blog__details__tags__share .blog__details__share {
	float: right;
}

.blog__details__tags__share .blog__details__share a {
	display: inline-block;
	font-size: 18px;
	color: #263246;
	margin-right: 24px;
}

.blog__details__tags__share .blog__details__share a:last-child {
	margin-right: 0;
}

.blog__details__author {
	background: #f5f6fa;
	border-radius: 2px;
	padding: 35px 40px 35px 20px;
	margin-bottom: 50px;
}

.blog__details__author__pic {
	float: left;
	margin-right: 20px;
}

.blog__details__author__pic img {
	height: 90px;
	width: 90px;
	border-radius: 50%;
}

.blog__details__author__text {
	overflow: hidden;
}

.blog__details__author__text h4 {
	color: #263246;
	font-weight: 700;
	margin-bottom: 5px;
}

.blog__details__author__text p {
	color: #9B9EA3;
	line-height: 28px;
	margin-bottom: 0;
}

.blog__previous__btn,
.blog__next__btn {
	display: block;
	position: relative;
	padding-left: 30px;
}

.blog__previous__btn i,
.blog__next__btn i {
	font-size: 25px;
	color: #9B9EA3;
	position: absolute;
	left: 0;
	top: 0;
}

.blog__previous__btn h6,
.blog__next__btn h6 {
	color: #263246;
	font-weight: 700;
	margin-bottom: 5px;
}

.blog__previous__btn span,
.blog__next__btn span {
	font-size: 12px;
	color: #9B9EA3;
}

.blog__next__btn {
	text-align: right;
	padding-left: 0;
	padding-right: 30px;
}

.blog__next__btn i {
	right: 0;
	top: 0;
}
/*comments*/
.comment-form {
	background: #ffffff;
	padding-bottom: 100px;
}

.comment-form form input {
	margin-bottom: 30px;
}

.comment-form form textarea {
	margin-bottom: 34px;
}
.classes__sidebar__comment {
	border-bottom: 1px solid rgba(37, 37, 37, 0.1);
	padding-bottom: 30px;
	margin-bottom: 40px;
	overflow: hidden;
}

.classes__sidebar__comment:last-child {
	padding-bottom: 0;
	border-bottom: none;
	margin-bottom: 0;
}

.classes__sidebar__comment__pic {
	text-align: center;
	float: left;
	margin-right: 30px;
}

.classes__sidebar__comment__pic img {
	height: 70px;
	width: 70px;
	border-radius: 50%;
	margin: 0 auto;
	margin-bottom: 10px;
}

.classes__sidebar__comment__pic .classes__sidebar__comment__rating i {
	font-size: 12px;
	color: #F5C136;
	margin-right: -4px;
}

.classes__sidebar__comment__text {
	overflow: hidden;
}

.classes__sidebar__comment__text span {
	font-size: 14px;
	color: #9B9EA3;
	display: block;
}

.classes__sidebar__comment__text h6 {
	color: #5768AD;
	font-weight: 700;
	margin-top: 6px;
	margin-bottom: 5px;
}

.classes__sidebar__comment__text p {
	line-height: 28px;
	margin-bottom: 0;
}
/*---------------------
  Leave Comment
-----------------------*/

.leave-comment {
	background: #f5f6fa;
	padding-bottom: 70px;
	padding-top: 80px;
}

.leave__comment__text h2 {
	font-size: 44px;
	color: #263246;
	text-align: center;
	margin-bottom: 35px;
}

.leave__comment__text form input {
	width: 100%;
	font-size: 16px;
	color: #6E7580;
	padding-left: 30px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	background: #ffffff;
	border-radius: 2px;
	height: 50px;
	margin-bottom: 20px;
}

.leave__comment__text form input::placeholder {
	color: #6E7580;
}

.leave__comment__text form .leave__comment__rating {
	margin-bottom: 20px;
}

.leave__comment__text form .leave__comment__rating h5 {
	font-size: 20px;
	color: #263246;
	display: inline-block;
	font-weight: 700;
	margin-right: 12px;
}

.leave__comment__text form .leave__comment__rating i {
	font-size: 16px;
	color: #F5C136;
	margin-right: -4px;
}

.leave__comment__text form .leave__comment__rating i:last-child {
	color: #9B9EA3;
}

.leave__comment__text form textarea {
	width: 100%;
	font-size: 16px;
	color: #6E7580;
	padding-left: 30px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	background: #ffffff;
	border-radius: 2px;
	height: 132px;
	margin-bottom: 35px;
	resize: none;
	padding-top: 14px;
}

.leave__comment__text form textarea::placeholder {
	color: #6E7580;
}
.site-btn {
    font-size: 14px;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    padding: 14px 50px;
    border: none;
    letter-spacing: 2px;
    border-radius: 2px;
}
/* blog end */
.sticky-top {
    position: fixed;
    left: 0;
    right: 0;
    background-color: #091E3E !important;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}
.register-form {
    max-width: 700px;
    display: block;
    margin: auto;
    padding: 40px;
    background: #091E3E;
}
#eventModal {
    background:rgba(0,0,0,0.5);
    overflow:auto;
}
@media (min-width: 576px) {
#eventModal .modal-dialog {
    /*max-width: 1200px;*/
}
}
.team-item img {
    max-height:280px;
}