0% found this document useful (0 votes)
106 views

phpMyAdmin SQL Dump

Uploaded by

tahin2808
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
106 views

phpMyAdmin SQL Dump

Uploaded by

tahin2808
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 53

-- phpMyAdmin SQL Dump

-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jan 30, 2022 at 03:04 PM
-- Server version: 10.4.11-MariaDB
-- PHP Version: 7.2.29

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";


START TRANSACTION;
SET time_zone = "+00:00";

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;


/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `covid`
--

DELIMITER $$
--
-- Procedures
--
CREATE DEFINER=`root`@`localhost` PROCEDURE `getPatientDetails` (IN `inp`
VARCHAR(50)) NO SQL
SELECT pname,pphone,srfid,bedtype,paddress FROM bookingpatient WHERE
hcode=inp$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `getUsers` () NO SQL


SELECT * FROM user$$

DELIMITER ;

-- --------------------------------------------------------

--
-- Table structure for table `bookingpatient`
--

CREATE TABLE `bookingpatient` (


`id` int(11) NOT NULL,
`srfid` varchar(50) NOT NULL,
`bedtype` varchar(50) NOT NULL,
`hcode` varchar(50) NOT NULL,
`spo2` int(11) NOT NULL,
`pname` varchar(50) NOT NULL,
`pphone` varchar(12) NOT NULL,
`paddress` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `hospitaldata`
--

CREATE TABLE `hospitaldata` (


`id` int(11) NOT NULL,
`hcode` varchar(200) NOT NULL,
`hname` varchar(200) NOT NULL,
`normalbed` int(11) NOT NULL,
`hicubed` int(11) NOT NULL,
`icubed` int(11) NOT NULL,
`vbed` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Triggers `hospitaldata`
--
DELIMITER $$
CREATE TRIGGER `Insert` AFTER INSERT ON `hospitaldata` FOR EACH ROW INSERT
INTO trig
VALUES(null,NEW.hcode,NEW.normalbed,NEW.hicubed,NEW.icubed,NEW.vbed,'
INSERTED',NOW())
$$
DELIMITER ;
DELIMITER $$
CREATE TRIGGER `Update` AFTER UPDATE ON `hospitaldata` FOR EACH ROW INSERT
INTO trig
VALUES(null,NEW.hcode,NEW.normalbed,NEW.hicubed,NEW.icubed,NEW.vbed,'
UPDATED',NOW())
$$
DELIMITER ;
DELIMITER $$
CREATE TRIGGER `delet` BEFORE DELETE ON `hospitaldata` FOR EACH ROW INSERT
INTO trig
VALUES(null,OLD.hcode,OLD.normalbed,OLD.hicubed,OLD.icubed,OLD.vbed,'
DELETED',NOW())
$$
DELIMITER ;

-- --------------------------------------------------------
--
-- Table structure for table `hospitaluser`
--

CREATE TABLE `hospitaluser` (


`id` int(11) NOT NULL,
`hcode` varchar(20) NOT NULL,
`email` varchar(100) NOT NULL,
`password` varchar(1000) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- --------------------------------------------------------

--
-- Table structure for table `test`
--

CREATE TABLE `test` (


`id` int(11) NOT NULL,
`name` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `test`
--

INSERT INTO `test` (`id`, `name`) VALUES


(1, 'anees'),
(2, 'rehman');

-- --------------------------------------------------------

--
-- Table structure for table `trig`
--

CREATE TABLE `trig` (


`id` int(11) NOT NULL,
`hcode` varchar(50) NOT NULL,
`normalbed` int(11) NOT NULL,
`hicubed` int(11) NOT NULL,
`icubed` int(11) NOT NULL,
`vbed` int(11) NOT NULL,
`querys` varchar(50) NOT NULL,
`date` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `trig`
--

INSERT INTO `trig` (`id`, `hcode`, `normalbed`, `hicubed`, `icubed`, `vbed`,


`querys`, `date`) VALUES
(1, 'BBH01', 50, 9, 2, 1, ' UPDATED', '2021-11-26'),
(2, 'BBH01', 50, 9, 2, 1, ' DELETED', '2021-11-26'),
(3, 'AA1100', 15, 5, 4, 2, ' INSERTED', '2021-11-26'),
(4, 'AA1100', 15, 10, 8, 2, ' UPDATED', '2021-11-26'),
(5, 'AA1100', 15, 10, 7, 2, ' UPDATED', '2021-11-26'),
(6, 'ARK123 ', 12, 55, 22, 22, ' INSERTED', '2022-01-12'),
(7, 'ARK123', 12, 50, 22, 22, ' UPDATED', '2022-01-12'),
(8, 'ABCD123 ', 11, 15, 4, 20, ' INSERTED', '2022-01-12'),
(9, 'ABCD123', 11, 11, 4, 20, ' UPDATED', '2022-01-12'),
(10, 'ARK123', 12, 50, 21, 22, ' UPDATED', '2022-01-12'),
(11, 'MAT123', 40, 4, 4, 1, ' DELETED', '2022-01-30'),
(12, 'AA1100', 15, 10, 7, 2, ' DELETED', '2022-01-30'),
(13, 'ARK123', 12, 50, 21, 22, ' DELETED', '2022-01-30'),
(14, 'ABCD123', 11, 11, 4, 20, ' DELETED', '2022-01-30');

-- --------------------------------------------------------

--
-- Table structure for table `user`
--

CREATE TABLE `user` (


`id` int(11) NOT NULL,
`srfid` varchar(20) NOT NULL,
`email` varchar(100) NOT NULL,
`dob` varchar(1000) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `bookingpatient`
--
ALTER TABLE `bookingpatient`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `srfid` (`srfid`(20));

--
-- Indexes for table `hospitaldata`
--
ALTER TABLE `hospitaldata`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `hcode` (`hcode`);

--
-- Indexes for table `hospitaluser`
--
ALTER TABLE `hospitaluser`
ADD PRIMARY KEY (`id`);

--
-- Indexes for table `test`
--
ALTER TABLE `test`
ADD PRIMARY KEY (`id`);

--
-- Indexes for table `trig`
--
ALTER TABLE `trig`
ADD PRIMARY KEY (`id`);

--
-- Indexes for table `user`
--
ALTER TABLE `user`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `srfid` (`srfid`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `bookingpatient`
--
ALTER TABLE `bookingpatient`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `hospitaldata`
--
ALTER TABLE `hospitaldata`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `hospitaluser`
--
ALTER TABLE `hospitaluser`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- AUTO_INCREMENT for table `test`
--
ALTER TABLE `test`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `trig`
--
ALTER TABLE `trig`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- AUTO_INCREMENT for table `user`
--
ALTER TABLE `user`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;


/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

This is my Sql . I made the project based on this . This is the most important.
from flask import Flask, json,redirect,render_template,flash,request

from flask.globals import request, session


from flask.helpers import url_for
from flask_sqlalchemy import SQLAlchemy
from flask_login import UserMixin
from werkzeug.security import generate_password_hash,check_password_hash

from flask_login import


login_required,logout_user,login_user,login_manager,LoginManager,current_user

# from flask_mail import Mail


import json

# mydatabase connection
local_server=True
app=Flask(__name__)
app.secret_key="aneesrehmankhan"

with open('config.json','r') as c:
params=json.load(c)["params"]

app.config.update(
MAIL_SERVER='smtp.gmail.com',
MAIL_PORT='465',
MAIL_USE_SSL=True,
MAIL_USERNAME='gmail account',
MAIL_PASSWORD='gmail account password'
)
mail = Mail(app)

# this is for getting the unique user access


login_manager=LoginManager(app)
login_manager.login_view='login'

# app.config['SQLALCHEMY_DATABASE_URI']='mysql://username:password@localhost/
databsename'
app.config['SQLALCHEMY_DATABASE_URI']='mysql://root:@localhost/covid'
db=SQLAlchemy(app)

@login_manager.user_loader
def load_user(user_id):
return User.query.get(int(user_id)) or
Hospitaluser.query.get(int(user_id))

class Test(db.Model):
id=db.Column(db.Integer,primary_key=True)
name=db.Column(db.String(50))

class User(UserMixin,db.Model):
id=db.Column(db.Integer,primary_key=True)
srfid=db.Column(db.String(20),unique=True)
email=db.Column(db.String(50))
dob=db.Column(db.String(1000))

class Hospitaluser(UserMixin,db.Model):
id=db.Column(db.Integer,primary_key=True)
hcode=db.Column(db.String(20))
email=db.Column(db.String(50))
password=db.Column(db.String(1000))
class Hospitaldata(db.Model):
id=db.Column(db.Integer,primary_key=True)
hcode=db.Column(db.String(20),unique=True)
hname=db.Column(db.String(100))
normalbed=db.Column(db.Integer)
hicubed=db.Column(db.Integer)
icubed=db.Column(db.Integer)
vbed=db.Column(db.Integer)

class Trig(db.Model):
id=db.Column(db.Integer,primary_key=True)
hcode=db.Column(db.String(20))
normalbed=db.Column(db.Integer)
hicubed=db.Column(db.Integer)
icubed=db.Column(db.Integer)
vbed=db.Column(db.Integer)
querys=db.Column(db.String(50))
date=db.Column(db.String(50))

class Bookingpatient(db.Model):
id=db.Column(db.Integer,primary_key=True)
srfid=db.Column(db.String(20),unique=True)
bedtype=db.Column(db.String(100))
hcode=db.Column(db.String(20))
spo2=db.Column(db.Integer)
pname=db.Column(db.String(100))
pphone=db.Column(db.String(100))
paddress=db.Column(db.String(100))

@app.route("/")
def home():

return render_template("index.html")

@app.route("/trigers")
def trigers():
query=Trig.query.all()
return render_template("trigers.html",query=query)

@app.route('/signup',methods=['POST','GET'])
def signup():
if request.method=="POST":
srfid=request.form.get('srf')
email=request.form.get('email')
dob=request.form.get('dob')
# print(srfid,email,dob)
#encpassword=generate_password_hash(dob)
user=User.query.filter_by(srfid=srfid).first()
emailUser=User.query.filter_by(email=email).first()
if user or emailUser:
flash("Email or srif is already taken","warning")
return render_template("usersignup.html")
# new_user=db.engine.execute(f"INSERT INTO `user`
(`srfid`,`email`,`dob`) VALUES ('{srfid}','{email}','{dob}') ")
new_user=User(srfid=srfid,email=email,dob=dob)
db.session.add(new_user)
db.session.commit()

flash("SignUp Success Please Login","success")


return render_template("userlogin.html")

return render_template("usersignup.html")

@app.route('/login',methods=['POST','GET'])
def login():
if request.method=="POST":
srfid=request.form.get('srf')
dob=request.form.get('dob')
user=User.query.filter_by(srfid=srfid).first()
if user and user.dob==dob:
login_user(user)
flash("Login Success","info")
return render_template("index.html")
else:
flash("Invalid Credentials","danger")
return render_template("userlogin.html")

return render_template("userlogin.html")

@app.route('/hospitallogin',methods=['POST','GET'])
def hospitallogin():
if request.method=="POST":
email=request.form.get('email')
password=request.form.get('password')
user=Hospitaluser.query.filter_by(email=email).first()
#if user and check_password_hash(user.password,password):
if user and user.password==password:
login_user(user)
flash("Login Success","info")
return render_template("index.html")
else:
flash("Invalid Credentials","danger")
return render_template("hospitallogin.html")

return render_template("hospitallogin.html")

@app.route('/admin',methods=['POST','GET'])
def admin():

if request.method=="POST":
username=request.form.get('username')
password=request.form.get('password')
if(username=="admin" and password=="admin"):
session['user']=username
flash("login success","info")
return render_template("addHosUser.html")
else:
flash("Invalid Credentials","danger")

return render_template("admin.html")

@app.route('/logout')
@login_required
def logout():
logout_user()
flash("Logout SuccessFul","warning")
return redirect(url_for('login'))

@app.route('/addHospitalUser',methods=['POST','GET'])
def hospitalUser():

if('user' in session and session['user']=="admin"):

if request.method=="POST":
hcode=request.form.get('hcode')
email=request.form.get('email')
password=request.form.get('password')
#encpassword=generate_password_hash(password)
hcode=hcode.upper()
emailUser=Hospitaluser.query.filter_by(email=email).first()
if emailUser:
flash("Email or srif is already taken","warning")

# db.engine.execute(f"INSERT INTO `hospitaluser`


(`hcode`,`email`,`password`) VALUES ('{hcode}','{email}','{encpassword}') ")
query=Hospitaluser(hcode=hcode,email=email,password=password)
db.session.add(query)
db.session.commit()
# my mail starts from here if you not need to send mail comment
the below line

# mail.send_message('COVID CARE CENTER',sender=params['gmail-


user'],recipients=[email],body=f"Welcome thanks for choosing us\nYour Login
Credentials Are:\n Email Address: {email}\nPassword: {password}\n\nHospital
Code {hcode}\n\n Do not share your password\n\n\nThank You..." )

flash("Data Sent and Inserted Successfully","warning")


return render_template("addHosUser.html")

else:
flash("Login and try Again","warning")
return render_template("addHosUser.html")

# testing wheather db is connected or not


@app.route("/test")
def test():
try:
a=Test.query.all()
print(a)
return f'MY DATABASE IS CONNECTED'
except Exception as e:
print(e)
return f'MY DATABASE IS NOT CONNECTED {e}'

@app.route("/logoutadmin")
def logoutadmin():
session.pop('user')
flash("You are logout admin", "primary")

return redirect('/admin')

def updatess(code):
postsdata=Hospitaldata.query.filter_by(hcode=code).first()
return render_template("hospitaldata.html",postsdata=postsdata)

@app.route("/addhospitalinfo",methods=['POST','GET'])
def addhospitalinfo():
email=current_user.email
posts=Hospitaluser.query.filter_by(email=email).first()
code=posts.hcode
postsdata=Hospitaldata.query.filter_by(hcode=code).first()

if request.method=="POST":
hcode=request.form.get('hcode')
hname=request.form.get('hname')
nbed=request.form.get('normalbed')
hbed=request.form.get('hicubeds')
ibed=request.form.get('icubeds')
vbed=request.form.get('ventbeds')
hcode=hcode.upper()
huser=Hospitaluser.query.filter_by(hcode=hcode).first()
hduser=Hospitaldata.query.filter_by(hcode=hcode).first()
if hduser:
flash("Data is already Present you can update it..","primary")
return render_template("hospitaldata.html")
if huser:
# db.engine.execute(f"INSERT INTO `hospitaldata`
(`hcode`,`hname`,`normalbed`,`hicubed`,`icubed`,`vbed`) VALUES
('{hcode}','{hname}','{nbed}','{hbed}','{ibed}','{vbed}')")

query=Hospitaldata(hcode=hcode,hname=hname,normalbed=nbed,hicubed=hbed,icubed=
ibed,vbed=vbed)
db.session.add(query)
db.session.commit()
flash("Data Is Added","primary")
return redirect('/addhospitalinfo')

else:
flash("Hospital Code not Exist","warning")
return redirect('/addhospitalinfo')

return render_template("hospitaldata.html",postsdata=postsdata)

@app.route("/hedit/<string:id>",methods=['POST','GET'])
@login_required
def hedit(id):
posts=Hospitaldata.query.filter_by(id=id).first()

if request.method=="POST":
hcode=request.form.get('hcode')
hname=request.form.get('hname')
nbed=request.form.get('normalbed')
hbed=request.form.get('hicubeds')
ibed=request.form.get('icubeds')
vbed=request.form.get('ventbeds')
hcode=hcode.upper()
# db.engine.execute(f"UPDATE `hospitaldata` SET `hcode`
='{hcode}',`hname`='{hname}',`normalbed`='{nbed}',`hicubed`='{hbed}',`icubed`=
'{ibed}',`vbed`='{vbed}' WHERE `hospitaldata`.`id`={id}")
post=Hospitaldata.query.filter_by(id=id).first()
post.hcode=hcode
post.hname=hname
post.normalbed=nbed
post.hicubed=hbed
post.icubed=ibed
post.vbed=vbed
db.session.commit()
flash("Slot Updated","info")
return redirect("/addhospitalinfo")

# posts=Hospitaldata.query.filter_by(id=id).first()
return render_template("hedit.html",posts=posts)

@app.route("/hdelete/<string:id>",methods=['POST','GET'])
@login_required
def hdelete(id):
# db.engine.execute(f"DELETE FROM `hospitaldata` WHERE
`hospitaldata`.`id`={id}")
post=Hospitaldata.query.filter_by(id=id).first()
db.session.delete(post)
db.session.commit()
flash("Date Deleted","danger")
return redirect("/addhospitalinfo")

@app.route("/pdetails",methods=['GET'])
@login_required
def pdetails():
code=current_user.srfid
print(code)
data=Bookingpatient.query.filter_by(srfid=code).first()
return render_template("detials.html",data=data)

@app.route("/slotbooking",methods=['POST','GET'])
@login_required
def slotbooking():
# query1=db.engine.execute(f"SELECT * FROM `hospitaldata` ")
# query=db.engine.execute(f"SELECT * FROM `hospitaldata` ")
query1=Hospitaldata.query.all()
query=Hospitaldata.query.all()
if request.method=="POST":

srfid=request.form.get('srfid')
bedtype=request.form.get('bedtype')
hcode=request.form.get('hcode')
spo2=request.form.get('spo2')
pname=request.form.get('pname')
pphone=request.form.get('pphone')
paddress=request.form.get('paddress')
check2=Hospitaldata.query.filter_by(hcode=hcode).first()
checkpatient=Bookingpatient.query.filter_by(srfid=srfid).first()
if checkpatient:
flash("already srd id is registered ","warning")
return render_template("booking.html",query=query,query1=query1)

if not check2:
flash("Hospital Code not exist","warning")
return render_template("booking.html",query=query,query1=query1)

code=hcode
# dbb=db.engine.execute(f"SELECT * FROM `hospitaldata` WHERE
`hospitaldata`.`hcode`='{code}' ")
dbb=Hospitaldata.query.filter_by(hcode=hcode).first()
bedtype=bedtype
if bedtype=="NormalBed":
for d in dbb:
seat=d.normalbed
print(seat)
ar=Hospitaldata.query.filter_by(hcode=code).first()
ar.normalbed=seat-1
db.session.commit()

elif bedtype=="HICUBed":
for d in dbb:
seat=d.hicubed
print(seat)
ar=Hospitaldata.query.filter_by(hcode=code).first()
ar.hicubed=seat-1
db.session.commit()

elif bedtype=="ICUBed":
for d in dbb:
seat=d.icubed
print(seat)
ar=Hospitaldata.query.filter_by(hcode=code).first()
ar.icubed=seat-1
db.session.commit()

elif bedtype=="VENTILATORBed":
for d in dbb:
seat=d.vbed
ar=Hospitaldata.query.filter_by(hcode=code).first()
ar.vbed=seat-1
db.session.commit()
else:
pass

check=Hospitaldata.query.filter_by(hcode=hcode).first()
if check!=None:
if(seat>0 and check):

res=Bookingpatient(srfid=srfid,bedtype=bedtype,hcode=hcode,spo2=spo2,pname=pna
me,pphone=pphone,paddress=paddress)
db.session.add(res)
db.session.commit()
flash("Slot is Booked kindly Visit Hospital for Further
Procedure","success")
return
render_template("booking.html",query=query,query1=query1)
else:
flash("Something Went Wrong","danger")
return
render_template("booking.html",query=query,query1=query1)
else:
flash("Give the proper hospital Code","info")
return render_template("booking.html",query=query,query1=query1)

return render_template("booking.html",query=query,query1=query1)

app.run(debug=True)

This is my pythom code for program. I give this for help you to make project.
/**

* Template Name: Medicio - v4.7.0


* Template URL: https://bootstrapmade.com/medicio-free-bootstrap-theme/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
font-family: "Open Sans", sans-serif;
color: #444444;
}

a {
color: #3fbbc0;
text-decoration: none;
}

a:hover {
color: #65c9cd;
text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {


font-family: "Roboto", sans-serif;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 9999;
overflow: hidden;
background: #fff;
}

#preloader:before {
content: "";
position: fixed;
top: calc(50% - 30px);
left: calc(50% - 30px);
border: 6px solid #3fbbc0;
border-top-color: #ecf8f9;
border-radius: 50%;
width: 60px;
height: 60px;
-webkit-animation: animate-preloader 1s linear infinite;
animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}

@keyframes animate-preloader {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
position: fixed;
visibility: hidden;
opacity: 0;
right: 15px;
bottom: 15px;
z-index: 996;
background: #3fbbc0;
width: 40px;
height: 40px;
border-radius: 4px;
transition: all 0.4s;
}
.back-to-top i {
font-size: 28px;
color: #fff;
line-height: 0;
}
.back-to-top:hover {
background: #5ec6ca;
color: #fff;
}
.back-to-top.active {
visibility: visible;
opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
[data-aos-delay] {
transition-delay: 0 !important;
}
}
/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
background: #3fbbc0;
color: #fff;
height: 40px;
font-size: 16px;
font-weight: 600;
z-index: 996;
transition: all 0.5s;
}
#topbar.topbar-scrolled {
top: -40px;
}
#topbar i {
padding-right: 6px;
line-height: 0;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
background: #fff;
transition: all 0.5s;
z-index: 997;
padding: 20px 0;
top: 40px;
box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}
@media (max-width: 992px) {
#header {
padding: 15px 0;
}
}
#header.header-scrolled {
top: 0;
}
#header .logo {
font-size: 28px;
margin: 0;
padding: 0;
line-height: 1;
font-weight: 600;
letter-spacing: 0.5px;
text-transform: uppercase;
}
#header .logo a {
color: #555555;
}
#header .logo img {
max-height: 40px;
}

/**
* Appointment Button
*/
.appointment-btn {
margin-left: 25px;
background: #3fbbc0;
color: #fff;
border-radius: 4px;
padding: 8px 25px;
white-space: nowrap;
transition: 0.3s;
font-size: 14px;
display: inline-block;
}
.appointment-btn:hover {
background: #65c9cd;
color: #fff;
}
@media (max-width: 768px) {
.appointment-btn {
margin: 0 15px 0 0;
padding: 6px 15px;
}
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation
*/
.navbar {
padding: 0;
}
.navbar ul {
margin: 0;
padding: 0;
display: flex;
list-style: none;
align-items: center;
}
.navbar li {
position: relative;
}
.navbar a, .navbar a:focus {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 0 10px 30px;
font-family: "Roboto", sans-serif;
font-size: 13px;
color: #626262;
white-space: nowrap;
transition: 0.3s;
text-transform: uppercase;
font-weight: 500;
}
.navbar a i, .navbar a:focus i {
font-size: 12px;
line-height: 0;
margin-left: 5px;
}
.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a
{
color: #3fbbc0;
}
.navbar .dropdown ul {
display: block;
position: absolute;
left: 14px;
top: calc(100% + 30px);
margin: 0;
padding: 10px 0;
z-index: 99;
opacity: 0;
visibility: hidden;
background: #fff;
box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
transition: 0.3s;
border-radius: 4px;
}
.navbar .dropdown ul li {
min-width: 200px;
}
.navbar .dropdown ul a {
padding: 10px 20px;
text-transform: none;
}
.navbar .dropdown ul a i {
font-size: 12px;
}
.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar
.dropdown ul li:hover > a {
color: #3fbbc0;
}
.navbar .dropdown:hover > ul {
opacity: 1;
top: 100%;
visibility: visible;
}
.navbar .dropdown .dropdown ul {
top: 0;
left: calc(100% - 30px);
visibility: hidden;
}
.navbar .dropdown .dropdown:hover > ul {
opacity: 1;
top: 0;
left: 100%;
visibility: visible;
}
@media (max-width: 1366px) {
.navbar .dropdown .dropdown ul {
left: -90%;
}
.navbar .dropdown .dropdown:hover > ul {
left: -100%;
}
}

/**
* Mobile Navigation
*/
.mobile-nav-toggle {
color: #555555;
font-size: 28px;
cursor: pointer;
display: none;
line-height: 0;
transition: 0.5s;
}
.mobile-nav-toggle.bi-x {
color: #fff;
}

@media (max-width: 991px) {


.mobile-nav-toggle {
display: block;
}

.navbar ul {
display: none;
}
}
.navbar-mobile {
position: fixed;
overflow: hidden;
top: 0;
right: 0;
left: 0;
bottom: 0;
background: rgba(60, 60, 60, 0.9);
transition: 0.3s;
z-index: 999;
}
.navbar-mobile .mobile-nav-toggle {
position: absolute;
top: 15px;
right: 15px;
}
.navbar-mobile ul {
display: block;
position: absolute;
top: 55px;
right: 15px;
bottom: 15px;
left: 15px;
padding: 10px 0;
border-radius: 8px;
background-color: #fff;
overflow-y: auto;
transition: 0.3s;
}
.navbar-mobile a, .navbar-mobile a:focus {
padding: 10px 20px;
font-size: 15px;
color: #555555;
}
.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
color: #3fbbc0;
}
.navbar-mobile .dropdown ul {
position: static;
display: none;
margin: 10px 20px;
padding: 10px 0;
z-index: 99;
opacity: 1;
visibility: visible;
background: #fff;
box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}
.navbar-mobile .dropdown ul li {
min-width: 200px;
}
.navbar-mobile .dropdown ul a {
padding: 10px 20px;
}
.navbar-mobile .dropdown ul a i {
font-size: 12px;
}
.navbar-mobile .dropdown ul a:hover, .navbar-mobile .dropdown ul
.active:hover, .navbar-mobile .dropdown ul li:hover > a {
color: #3fbbc0;
}
.navbar-mobile .dropdown > .dropdown-active {
display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
width: 100%;
height: 100vh;
background-color: rgba(60, 60, 60, 0.8);
overflow: hidden;
position: relative;
}
#hero .carousel, #hero .carousel-inner, #hero .carousel-item, #hero .carousel-
item::before {
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: 0;
}
#hero .carousel-item {
background-size: cover;
background-position: center;
background-repeat: no-repeat;
display: flex;
justify-content: center;
align-items: flex-end;
}
#hero .container {
text-align: center;
background: rgba(255, 255, 255, 0.9);
padding-top: 30px;
padding-bottom: 30px;
margin-bottom: 50px;
border-top: 4px solid #3fbbc0;
}
@media (max-width: 1200px) {
#hero .container {
margin-left: 50px;
margin-right: 50px;
}
}
#hero h2 {
color: #2f2f2f;
margin-bottom: 20px;
font-size: 36px;
font-weight: 700;
}
#hero p {
margin: 0 auto 30px auto;
color: #555555;
}
#hero .carousel-inner .carousel-item {
transition-property: opacity;
background-position: center top;
}
#hero .carousel-inner .carousel-item,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
opacity: 0;
}
#hero .carousel-inner .active,
#hero .carousel-inner .carousel-item-next.carousel-item-start,
#hero .carousel-inner .carousel-item-prev.carousel-item-end {
opacity: 1;
transition: 0.5s;
}
#hero .carousel-inner .carousel-item-next,
#hero .carousel-inner .carousel-item-prev,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
left: 0;
transform: translate3d(0, 0, 0);
}
#hero .carousel-control-next-icon, #hero .carousel-control-prev-icon {
background: none;
font-size: 30px;
line-height: 0;
width: auto;
height: auto;
background: rgba(63, 187, 192, 0.8);
border-radius: 50px;
transition: 0.3s;
color: rgba(255, 255, 255, 0.5);
width: 54px;
height: 54px;
display: flex;
align-items: center;
justify-content: center;
}
#hero .carousel-control-next-icon:hover, #hero .carousel-control-prev-
icon:hover {
background: #3fbbc0;
color: rgba(255, 255, 255, 0.8);
}
#hero .carousel-indicators li {
cursor: pointer;
background: #fff;
overflow: hidden;
border: 0;
width: 12px;
height: 12px;
border-radius: 50px;
opacity: 0.6;
transition: 0.3s;
}
#hero .carousel-indicators li.active {
opacity: 1;
background: #3fbbc0;
}
#hero .btn-get-started {
font-family: "Roboto", sans-serif;
font-weight: 500;
font-size: 14px;
letter-spacing: 1px;
display: inline-block;
padding: 14px 32px;
border-radius: 4px;
transition: 0.5s;
line-height: 1;
color: #fff;
background: #3fbbc0;
}
#hero .btn-get-started:hover {
background: #65c9cd;
}
@media (max-width: 992px) {
#hero {
height: 100vh;
}
#hero .container {
margin-top: 100px;
}
}
@media (max-width: 768px) {
#hero h2 {
font-size: 28px;
}
}
@media (min-width: 1024px) {
#hero .carousel-control-prev, #hero .carousel-control-next {
width: 5%;
}
}
@media (max-height: 500px) {
#hero {
height: 160vh;
}
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
padding: 60px 0;
overflow: hidden;
}

.section-bg {
background-color: #f7fcfc;
}

.section-title {
text-align: center;
padding-bottom: 30px;
}
.section-title h2 {
font-size: 32px;
font-weight: bold;
text-transform: uppercase;
margin-bottom: 20px;
padding-bottom: 20px;
position: relative;
}
.section-title h2::after {
content: "";
position: absolute;
display: block;
width: 50px;
height: 3px;
background: #3fbbc0;
bottom: 0;
left: calc(50% - 25px);
}
.section-title p {
margin-bottom: 0;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
padding: 20px 0;
background-color: #ecf8f9;
min-height: 40px;
margin-top: 120px;
}
@media (max-width: 992px) {
.breadcrumbs {
margin-top: 70px;
}
}
.breadcrumbs h2 {
font-size: 24px;
font-weight: 300;
margin: 0;
}
@media (max-width: 992px) {
.breadcrumbs h2 {
margin: 0 0 10px 0;
}
}
.breadcrumbs ol {
display: flex;
flex-wrap: wrap;
list-style: none;
padding: 0;
margin: 0;
font-size: 14px;
}
.breadcrumbs ol li + li {
padding-left: 10px;
}
.breadcrumbs ol li + li::before {
display: inline-block;
padding-right: 10px;
color: #6c757d;
content: "/";
}
@media (max-width: 768px) {
.breadcrumbs .d-flex {
display: block !important;
}
.breadcrumbs ol {
display: block;
}
.breadcrumbs ol li {
display: inline-block;
}
}

/*--------------------------------------------------------------
# Featured Services
--------------------------------------------------------------*/
.featured-services .icon-box {
padding: 30px;
position: relative;
overflow: hidden;
background: #fff;
box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.12);
transition: all 0.3s ease-in-out;
border-radius: 8px;
z-index: 1;
}
.featured-services .icon-box::before {
content: "";
position: absolute;
background: #d9f1f2;
right: 0;
left: 0;
bottom: 0;
top: 100%;
transition: all 0.3s;
z-index: -1;
}
.featured-services .icon-box:hover::before {
background: #3fbbc0;
top: 0;
border-radius: 0px;
}
.featured-services .icon {
margin-bottom: 15px;
}
.featured-services .icon i {
font-size: 48px;
line-height: 1;
color: #3fbbc0;
transition: all 0.3s ease-in-out;
}
.featured-services .title {
font-weight: 700;
margin-bottom: 15px;
font-size: 18px;
}
.featured-services .title a {
color: #111;
}
.featured-services .description {
font-size: 15px;
line-height: 28px;
margin-bottom: 0;
}
.featured-services .icon-box:hover .title a, .featured-services .icon-
box:hover .description {
color: #fff;
}
.featured-services .icon-box:hover .icon i {
color: #fff;
}

/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
background: #3fbbc0;
color: #fff;
background-size: cover;
padding: 60px 0;
}
.cta h3 {
font-size: 28px;
font-weight: 700;
}
.cta .cta-btn {
font-family: "Roboto", sans-serif;
font-weight: 500;
font-size: 16px;
letter-spacing: 1px;
display: inline-block;
padding: 10px 35px;
border-radius: 25px;
transition: 0.5s;
margin-top: 10px;
border: 2px solid #fff;
color: #fff;
}
.cta .cta-btn:hover {
background: #fff;
color: #3fbbc0;
}

/*--------------------------------------------------------------
# About Us
--------------------------------------------------------------*/
.about .content h3 {
font-weight: 600;
font-size: 26px;
}
.about .content ul {
list-style: none;
padding: 0;
}
.about .content ul li {
padding-bottom: 10px;
}
.about .content ul i {
font-size: 20px;
padding-right: 4px;
color: #3fbbc0;
}
.about .content p:last-child {
margin-bottom: 0;
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
padding-bottom: 30px;
}
.counts .count-box {
box-shadow: -10px -5px 40px 0 rgba(0, 0, 0, 0.1);
padding: 30px;
width: 100%;
}
.counts .count-box i {
display: block;
font-size: 30px;
color: #3fbbc0;
float: left;
}
.counts .count-box span {
font-size: 42px;
line-height: 24px;
display: block;
font-weight: 700;
color: #555555;
margin-left: 50px;
}
.counts .count-box p {
padding: 30px 0 0 0;
margin: 0;
font-family: "Roboto", sans-serif;
font-size: 14px;
}
.counts .count-box a {
font-weight: 600;
display: block;
margin-top: 20px;
color: #7b7b7b;
font-size: 15px;
font-family: "Poppins", sans-serif;
transition: ease-in-out 0.3s;
}
.counts .count-box a:hover {
color: #3fbbc0;
}

/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.features .icon-box h4 {
font-size: 20px;
font-weight: 700;
margin: 5px 0 10px 60px;
}
.features .icon-box i {
font-size: 48px;
float: left;
color: #3fbbc0;
}
.features .icon-box p {
font-size: 15px;
color: #848484;
margin-left: 60px;
}
.features .image {
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
min-height: 400px;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
margin-bottom: 20px;
text-align: center;
}
.services .icon {
display: inline-flex;
justify-content: center;
align-items: center;
width: 80px;
height: 80px;
margin-bottom: 20px;
background: #fff;
border-radius: 50%;
transition: 0.5s;
color: #3fbbc0;
overflow: hidden;
box-shadow: 0px 0 25px rgba(0, 0, 0, 0.15);
}
.services .icon i {
font-size: 36px;
line-height: 0;
}
.services .icon-box:hover .icon {
box-shadow: 0px 0 25px rgba(63, 187, 192, 0.3);
}
.services .title {
font-weight: 600;
margin-bottom: 15px;
font-size: 18px;
position: relative;
padding-bottom: 15px;
}
.services .title a {
color: #444444;
transition: 0.3s;
}
.services .title a:hover {
color: #3fbbc0;
}
.services .title::after {
content: "";
position: absolute;
display: block;
width: 50px;
height: 2px;
background: #3fbbc0;
bottom: 0;
left: calc(50% - 25px);
}
.services .description {
line-height: 24px;
font-size: 14px;
}

/*--------------------------------------------------------------
# Appointments
--------------------------------------------------------------*/
.appointment .php-email-form {
width: 100%;
}
.appointment .php-email-form .form-group {
padding-bottom: 8px;
}
.appointment .php-email-form .validate {
display: none;
color: red;
margin: 0 0 15px 0;
font-weight: 400;
font-size: 13px;
}
.appointment .php-email-form .error-message {
display: none;
color: #fff;
background: #ed3c0d;
text-align: left;
padding: 15px;
font-weight: 600;
}
.appointment .php-email-form .error-message br + br {
margin-top: 25px;
}
.appointment .php-email-form .sent-message {
display: none;
color: #fff;
background: #18d26e;
text-align: center;
padding: 15px;
font-weight: 600;
}
.appointment .php-email-form .loading {
display: none;
background: #fff;
text-align: center;
padding: 15px;
}
.appointment .php-email-form .loading:before {
content: "";
display: inline-block;
border-radius: 50%;
width: 24px;
height: 24px;
margin: 0 10px -6px 0;
border: 3px solid #18d26e;
border-top-color: #eee;
-webkit-animation: animate-loading 1s linear infinite;
animation: animate-loading 1s linear infinite;
}
.appointment .php-email-form input, .appointment .php-email-form textarea,
.appointment .php-email-form select {
border-radius: 0;
box-shadow: none;
font-size: 14px;
padding: 10px !important;
}
.appointment .php-email-form input:focus, .appointment .php-email-form
textarea:focus, .appointment .php-email-form select:focus {
border-color: #3fbbc0;
}
.appointment .php-email-form input, .appointment .php-email-form select {
height: 44px;
}
.appointment .php-email-form textarea {
padding: 10px 12px;
}
.appointment .php-email-form button[type=submit] {
background: #3fbbc0;
border: 0;
padding: 10px 35px;
color: #fff;
transition: 0.4s;
border-radius: 50px;
}
.appointment .php-email-form button[type=submit]:hover {
background: #52c2c6;
}

/*--------------------------------------------------------------
# Departments
--------------------------------------------------------------*/
.departments .nav-tabs {
border: 0;
}
.departments .nav-link {
border: 0;
padding: 20px;
color: #555555;
border-radius: 0;
border-left: 5px solid #fff;
cursor: pointer;
}
.departments .nav-link h4 {
font-size: 18px;
font-weight: 600;
transition: 0.3s;
}
.departments .nav-link p {
font-size: 14px;
margin-bottom: 0;
}
.departments .nav-link:hover h4 {
color: #3fbbc0;
}
.departments .nav-link.active {
background: #f7fcfc;
border-color: #3fbbc0;
}
.departments .nav-link.active h4 {
color: #3fbbc0;
}
.departments .tab-pane.active {
-webkit-animation: slide-down 0.5s ease-out;
animation: slide-down 0.5s ease-out;
}
.departments .tab-pane img {
float: left;
max-width: 300px;
padding: 0 15px 15px 0;
}
@media (max-width: 768px) {
.departments .tab-pane img {
float: none;
padding: 0 0 15px 0;
max-width: 100%;
}
}
.departments .tab-pane h3 {
font-size: 26px;
font-weight: 600;
margin-bottom: 20px;
color: #3fbbc0;
}
.departments .tab-pane p {
color: #777777;
}
.departments .tab-pane p:last-child {
margin-bottom: 0;
}
@-webkit-keyframes slide-down {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes slide-down {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonials-carousel, .testimonials .testimonials-slider {
overflow: hidden;
}
.testimonials .testimonial-item {
box-sizing: content-box;
min-height: 320px;
}
.testimonials .testimonial-item .testimonial-img {
width: 90px;
border-radius: 50%;
margin: -40px 0 0 40px;
position: relative;
z-index: 2;
border: 6px solid #fff;
}
.testimonials .testimonial-item h3 {
font-size: 18px;
font-weight: bold;
margin: 10px 0 5px 45px;
color: #111;
}
.testimonials .testimonial-item h4 {
font-size: 14px;
color: #999;
margin: 0 0 0 45px;
}
.testimonials .testimonial-item .quote-icon-left, .testimonials .testimonial-
item .quote-icon-right {
color: #b2e4e6;
font-size: 26px;
}
.testimonials .testimonial-item .quote-icon-left {
display: inline-block;
left: -5px;
position: relative;
}
.testimonials .testimonial-item .quote-icon-right {
display: inline-block;
right: -5px;
position: relative;
top: 10px;
}
.testimonials .testimonial-item p {
font-style: italic;
margin: 0 15px 0 15px;
padding: 20px 20px 60px 20px;
background: #f0fafa;
position: relative;
border-radius: 6px;
position: relative;
z-index: 1;
}
.testimonials .swiper-pagination {
margin-top: 20px;
position: relative;
}
.testimonials .swiper-pagination .swiper-pagination-bullet {
width: 12px;
height: 12px;
background-color: #fff;
opacity: 1;
border: 1px solid #3fbbc0;
}
.testimonials .swiper-pagination .swiper-pagination-bullet-active {
background-color: #3fbbc0;
}

/*--------------------------------------------------------------
# Doctors
--------------------------------------------------------------*/
.doctors .member {
margin-bottom: 20px;
overflow: hidden;
text-align: center;
border-radius: 4px;
background: #fff;
box-shadow: 0px 2px 15px rgba(63, 187, 192, 0.1);
}
.doctors .member .member-img {
position: relative;
overflow: hidden;
}
.doctors .member .social {
position: absolute;
left: 0;
bottom: 0;
right: 0;
height: 40px;
opacity: 0;
transition: ease-in-out 0.3s;
background: rgba(255, 255, 255, 0.85);
display: flex;
align-items: center;
justify-content: center;
}
.doctors .member .social a {
transition: color 0.3s;
color: #555555;
margin: 0 10px;
display: inline-flex;
align-items: center;
justify-content: center;
}
.doctors .member .social a i {
line-height: 0;
}
.doctors .member .social a:hover {
color: #3fbbc0;
}
.doctors .member .social i {
font-size: 18px;
margin: 0 2px;
}
.doctors .member .member-info {
padding: 25px 15px;
}
.doctors .member .member-info h4 {
font-weight: 700;
margin-bottom: 5px;
font-size: 18px;
color: #555555;
}
.doctors .member .member-info span {
display: block;
font-size: 13px;
font-weight: 400;
color: #aaaaaa;
}
.doctors .member .member-info p {
font-style: italic;
font-size: 14px;
line-height: 26px;
color: #777777;
}
.doctors .member:hover .social {
opacity: 1;
}

/*--------------------------------------------------------------
# Gallery
--------------------------------------------------------------*/
.gallery {
overflow: hidden;
}
.gallery .swiper-pagination {
margin-top: 20px;
position: relative;
}
.gallery .swiper-pagination .swiper-pagination-bullet {
width: 12px;
height: 12px;
background-color: #fff;
opacity: 1;
border: 1px solid #3fbbc0;
}
.gallery .swiper-pagination .swiper-pagination-bullet-active {
background-color: #3fbbc0;
}
.gallery .swiper-slide-active {
text-align: center;
}
@media (min-width: 992px) {
.gallery .swiper-wrapper {
padding: 40px 0;
}
.gallery .swiper-slide-active {
border: 6px solid #3fbbc0;
padding: 4px;
background: #fff;
z-index: 1;
transform: scale(1.2);
margin-top: 10px;
}
}

/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
.pricing .box {
padding: 20px;
background: #fff;
text-align: center;
box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.12);
border-radius: 4px;
position: relative;
overflow: hidden;
}
.pricing h3 {
font-weight: 400;
margin: -20px -20px 20px -20px;
padding: 20px 15px;
font-size: 16px;
font-weight: 600;
color: #777777;
background: #f8f8f8;
}
.pricing h4 {
font-size: 36px;
color: #3fbbc0;
font-weight: 600;
font-family: "Poppins", sans-serif;
margin-bottom: 20px;
}
.pricing h4 sup {
font-size: 20px;
top: -15px;
left: -3px;
}
.pricing h4 span {
color: #bababa;
font-size: 16px;
font-weight: 300;
}
.pricing ul {
padding: 0;
list-style: none;
color: #444444;
text-align: center;
line-height: 20px;
font-size: 14px;
}
.pricing ul li {
padding-bottom: 16px;
}
.pricing ul i {
color: #3fbbc0;
font-size: 18px;
padding-right: 4px;
}
.pricing ul .na {
color: #ccc;
text-decoration: line-through;
}
.pricing .btn-wrap {
margin: 20px -20px -20px -20px;
padding: 20px 15px;
background: #f8f8f8;
text-align: center;
}
.pricing .btn-buy {
background: #3fbbc0;
display: inline-block;
padding: 8px 35px 10px 35px;
border-radius: 4px;
color: #fff;
transition: none;
font-size: 14px;
font-weight: 400;
font-family: "Roboto", sans-serif;
font-weight: 600;
transition: 0.3s;
}
.pricing .btn-buy:hover {
background: #65c9cd;
}
.pricing .featured h3 {
color: #fff;
background: #3fbbc0;
}
.pricing .advanced {
width: 200px;
position: absolute;
top: 18px;
right: -68px;
transform: rotate(45deg);
z-index: 1;
font-size: 14px;
padding: 1px 0 3px 0;
background: #3fbbc0;
color: #fff;
}

/*--------------------------------------------------------------
# Frequently Asked Questioins
--------------------------------------------------------------*/
.faq {
padding: 60px 0;
}
.faq .faq-list {
padding: 0;
list-style: none;
}
.faq .faq-list li {
border-bottom: 1px solid #d9f1f2;
margin-bottom: 20px;
padding-bottom: 20px;
}
.faq .faq-list .question {
display: block;
position: relative;
font-family: #3fbbc0;
font-size: 18px;
line-height: 24px;
font-weight: 400;
padding-left: 25px;
cursor: pointer;
color: #32969a;
transition: 0.3s;
}
.faq .faq-list i {
font-size: 16px;
position: absolute;
left: 0;
top: -2px;
}
.faq .faq-list p {
margin-bottom: 0;
padding: 10px 0 0 25px;
}
.faq .faq-list .icon-show {
display: none;
}
.faq .faq-list .collapsed {
color: black;
}
.faq .faq-list .collapsed:hover {
color: #3fbbc0;
}
.faq .faq-list .collapsed .icon-show {
display: inline-block;
transition: 0.6s;
}
.faq .faq-list .collapsed .icon-close {
display: none;
transition: 0.6s;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
color: #444444;
text-align: center;
box-shadow: 0 0 20px rgba(214, 215, 216, 0.5);
padding: 20px 0 30px 0;
}
.contact .info-box i {
font-size: 32px;
color: #3fbbc0;
border-radius: 50%;
padding: 8px;
border: 2px dotted #c5ebec;
}
.contact .info-box h3 {
font-size: 20px;
color: #777777;
font-weight: 700;
margin: 10px 0;
}
.contact .info-box p {
padding: 0;
line-height: 24px;
font-size: 14px;
margin-bottom: 0;
}
.contact .php-email-form {
box-shadow: 0 0 20px rgba(214, 215, 216, 0.5);
padding: 30px;
}
.contact .php-email-form .error-message {
display: none;
color: #fff;
background: #ed3c0d;
text-align: left;
padding: 15px;
font-weight: 600;
}
.contact .php-email-form .error-message br + br {
margin-top: 25px;
}
.contact .php-email-form .sent-message {
display: none;
color: #fff;
background: #18d26e;
text-align: center;
padding: 15px;
font-weight: 600;
}
.contact .php-email-form .loading {
display: none;
background: #fff;
text-align: center;
padding: 15px;
}
.contact .php-email-form .loading:before {
content: "";
display: inline-block;
border-radius: 50%;
width: 24px;
height: 24px;
margin: 0 10px -6px 0;
border: 3px solid #18d26e;
border-top-color: #eee;
-webkit-animation: animate-loading 1s linear infinite;
animation: animate-loading 1s linear infinite;
}
.contact .php-email-form input, .contact .php-email-form textarea {
border-radius: 4px;
box-shadow: none;
font-size: 14px;
}
.contact .php-email-form input:focus, .contact .php-email-form textarea:focus
{
border-color: #3fbbc0;
}
.contact .php-email-form input {
padding: 10px 15px;
}
.contact .php-email-form textarea {
padding: 12px 15px;
}
.contact .php-email-form button[type=submit] {
background: #3fbbc0;
border: 0;
padding: 10px 30px;
color: #fff;
transition: 0.4s;
border-radius: 4px;
}
.contact .php-email-form button[type=submit]:hover {
background: #65c9cd;
}
@-webkit-keyframes animate-loading {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
@keyframes animate-loading {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
background: #eeeeee;
padding: 0 0 30px 0;
color: #555555;
font-size: 14px;
}
#footer .footer-top {
background: #f6f6f6;
padding: 60px 0 30px 0;
}
#footer .footer-top .footer-info {
margin-bottom: 30px;
}
#footer .footer-top .footer-info h3 {
font-size: 24px;
margin: 0 0 20px 0;
padding: 2px 0 2px 0;
line-height: 1;
font-weight: 700;
}
#footer .footer-top .footer-info p {
font-size: 14px;
line-height: 24px;
margin-bottom: 0;
font-family: "Roboto", sans-serif;
}
#footer .footer-top .social-links a {
font-size: 18px;
display: inline-block;
background: #3fbbc0;
color: #fff;
line-height: 1;
padding: 8px 0;
margin-right: 4px;
border-radius: 4px;
text-align: center;
width: 36px;
height: 36px;
transition: 0.3s;
}
#footer .footer-top .social-links a:hover {
background: #65c9cd;
text-decoration: none;
}
#footer .footer-top h4 {
font-size: 16px;
font-weight: 600;
position: relative;
padding-bottom: 12px;
}
#footer .footer-top .footer-links {
margin-bottom: 30px;
}
#footer .footer-top .footer-links ul {
list-style: none;
padding: 0;
margin: 0;
}
#footer .footer-top .footer-links ul i {
padding-right: 2px;
color: #3fbbc0;
font-size: 18px;
line-height: 1;
}
#footer .footer-top .footer-links ul li {
padding: 10px 0;
display: flex;
align-items: center;
}
#footer .footer-top .footer-links ul li:first-child {
padding-top: 0;
}
#footer .footer-top .footer-links ul a {
color: #555555;
transition: 0.3s;
display: inline-block;
line-height: 1;
}
#footer .footer-top .footer-links ul a:hover {
color: #3fbbc0;
}
#footer .footer-top .footer-newsletter form {
margin-top: 30px;
background: #fff;
padding: 6px 10px;
position: relative;
border: 1px solid #d5d5d5;
border-radius: 4px;
}
#footer .footer-top .footer-newsletter form input[type=email] {
border: 0;
padding: 4px;
width: calc(100% - 110px);
}
#footer .footer-top .footer-newsletter form input[type=submit] {
position: absolute;
top: -1px;
right: -1px;
bottom: -1px;
border: 0;
background: none;
font-size: 16px;
padding: 0 20px;
background: #3fbbc0;
color: #fff;
transition: 0.3s;
border-radius: 0 4px 4px 0;
}
#footer .footer-top .footer-newsletter form input[type=submit]:hover {
background: #65c9cd;
}
#footer .copyright {
text-align: center;
padding-top: 30px;
}
#footer .credits {
padding-top: 10px;
text-align: center;
font-size: 13px;
}
This is my css code . This one is also not important

<!DOCTYPE html>

<html lang="en">

<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">

<title>{% block title %}{% endblock title %}</title>


<meta content="" name="description">
<meta content="" name="keywords">

<!-- Favicons -->


<link href="static/assets/img/favicon.png" rel="icon">
<link href="static/assets/img/apple-touch-icon.png" rel="apple-touch-icon">

<!-- Google Fonts -->


<link href="https://fonts.googleapis.com/css?
family=Open+Sans:300,300i,400,400i,600,600i,700,700i|
Roboto:300,300i,400,400i,500,500i,600,600i,700,700i|
Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">

<!-- Vendor CSS Files -->


<link href="static/assets/vendor/fontawesome-free/css/all.min.css"
rel="stylesheet">
<link href="static/assets/vendor/animate.css/animate.min.css"
rel="stylesheet">
<link href="static/assets/vendor/aos/aos.css" rel="stylesheet">
<link href="static/assets/vendor/bootstrap/css/bootstrap.min.css"
rel="stylesheet">
<link href="static/assets/vendor/bootstrap-icons/bootstrap-icons.css"
rel="stylesheet">
<link href="static/assets/vendor/boxicons/css/boxicons.min.css"
rel="stylesheet">
<link href="static/assets/vendor/glightbox/css/glightbox.min.css"
rel="stylesheet">
<link href="static/assets/vendor/swiper/swiper-bundle.min.css"
rel="stylesheet">

<!-- Template Main CSS File -->


<link href="static/assets/css/style.css" rel="stylesheet">

</head>

<body>

<!-- ======= Top Bar ======= -->


<div id="topbar" class="d-flex align-items-center fixed-top">
<div class="container d-flex align-items-center justify-content-center
justify-content-md-between">
<div class="align-items-center d-none d-md-flex">
<i class="bi bi-clock"></i> 24*7 Available
</div>
<div class="d-flex align-items-center">
<i class="bi bi-phone"></i> Call us now +13773588751
</div>
</div>
</div>

<!-- ======= Header ======= -->


<header id="header" class="fixed-top">
<div class="container d-flex align-items-center">
<a href="/" class="logo me-auto"><img src="static/assets/img/logo.png"
alt=""></a>
<!-- Uncomment below if you prefer to use an image logo -->
<!-- <h1 class="logo me-auto"><a href="index.html">Medicio</a></h1> -->

<nav id="navbar" class="navbar order-last order-lg-0">


<ul>
<li><a class="nav-link scrollto " href="/">Home</a></li>

<li><a class="nav-link scrollto" href="/pdetails">Patients


Details</a></li>
<li><a class="nav-link scrollto" href="/slotbooking">Available
Beds</a></li>
<li><a class="nav-link scrollto" href="/trigers">Operations</a></li>

{% if current_user.is_authenticated and current_user.hcode %}

<li class="dropdown"><a href="/login"><span>Welcome


{{current_user.email}}</span> <i class="bi bi-chevron-down"></i></a>
<ul>

<li><a href="/addhospitalinfo">Add Hospital Data</a></li>


<li><a href="/logout">Logout</a></li>

</ul>
</li>
{% elif current_user.is_authenticated and current_user.srfid %}
<li class="dropdown"><a href="/login"><span>Welcome
{{current_user.email}}</span> <i class="bi bi-chevron-down"></i></a>
<ul>

<li><a href="/slotbooking">Book Slot</a></li>


<li><a href="/logout">Logout</a></li>

</ul>
</li>
{% else %}
<li class="dropdown"><a href="/login"><span>Sign In</span> <i
class="bi bi-chevron-down"></i></a>
<ul>
<li><a href="/login">User Login</a></li>
<li><a href="/hospitallogin">Hospital Login</a></li>
<li><a href="/admin">Admin Login</a></li>

</ul>
</li>

{% endif %}
<li><a class="nav-link scrollto" href="#contact">Contact</a></li>
</ul>
<i class="bi bi-list mobile-nav-toggle"></i>
</nav><!-- .navbar -->

<a href="/slotbooking" class="appointment-btn scrollto"><span class="d-


none d-md-inline">Bed Booking Slot</span> Book Now</a>

</div>
</header><!-- End Header -->

<!-- ======= Hero Section ======= -->


<section id="hero">
<div id="heroCarousel" data-bs-interval="5000" class="carousel slide
carousel-fade" data-bs-ride="carousel">

<ol class="carousel-indicators" id="hero-carousel-indicators"></ol>

<div class="carousel-inner" role="listbox">

<!-- Slide 1 -->


<div class="carousel-item active" style="background-image:
url(static/assets/img/slide/slide-1.jpg)">
<div class="container">
<h2>Welcome to <span>Covid center</span></h2>
<p>Yangzhou bed booking system <p>
<a href="#about" class="btn-get-started scrollto">Read More</a>
</div>
</div>

<!-- Slide 2 -->


<div class="carousel-item" style="background-image:
url(static/assets/img/slide/slide-2.jpg)">
<div class="container">
<h2>CHINA</h2>
<p>Yangzhou bed booking system</p>
<a href="#about" class="btn-get-started scrollto">Read More</a>
</div>
</div>

</div>
<a class="carousel-control-prev" href="#heroCarousel" role="button"
data-bs-slide="prev">
<span class="carousel-control-prev-icon bi bi-chevron-left" aria-
hidden="true"></span>
</a>

<a class="carousel-control-next" href="#heroCarousel" role="button"


data-bs-slide="next">
<span class="carousel-control-next-icon bi bi-chevron-right" aria-
hidden="true"></span>
</a>

</div>
</section><!-- End Hero -->

<main id="main">

{% block body %}

{% endblock body %}

<footer>
<div class="container">
<div class="copyright">
&copy; Copyright <strong><span>Arkprocoder</span></strong>. All Rights
Reserved
</div>
<div class="credits">

Designed by <a href="https://arprocoder.tech/">arkprocoder</a>


</div>
</div>
</footer><!-- End Footer -->

<div id="preloader"></div>
<a href="#" class="back-to-top d-flex align-items-center justify-content-
center"><i class="bi bi-arrow-up-short"></i></a>

<!-- Vendor JS Files -->


<script src="static/assets/vendor/purecounter/purecounter.js"></script>
<script src="static/assets/vendor/aos/aos.js"></script>
<script src="static/assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></
script>
<script src="static/assets/vendor/glightbox/js/glightbox.min.js"></script>
<script src="static/assets/vendor/swiper/swiper-bundle.min.js"></script>
<script src="static/assets/vendor/php-email-form/validate.js"></script>
<!-- Template Main JS File -->
<script src="static/assets/js/main.js"></script>

</body>

</html>

This is the html code

You might also like