/*
Theme Name:   PAN Emami Cosmed
Description:  Frontend theme for PAN Emami Cosmed Limited. Visual design replicates the
              Emami-group "enclave" theme used on diwakarfinvest.in, rebuilt on Bootstrap 5.3.
              Loaded after bootstrap.min.css.
Version:      1.0.0

Table of contents
  01. Design tokens
  02. Base & typography
  03. Utilities
  04. Header – desktop
  05. Header – main menu & dropdown
  06. Header – mobile
  07. Page banner & breadcrumbs
  08. Sections & section heading
  09. Home – hero, intro, announcement box
  10. Document cards (reports, downloads, disclosures)
  11. Profile accordion (board, management)
  12. Content blocks (core values, contact, policies, tables, articles)
  13. Footer & back-to-top
*/

/* ==========================================================================
   01. Design tokens
   ========================================================================== */
:root {
	--pe-primary: #00387a;        /* brand blue: header, footer, cards, accordions */
	--pe-primary-dark: #002c60;   /* footer bar */
	--pe-accent: #f26522;         /* orange: hover, active, dropdown border */
	--pe-accent-soft: #f8b29c;
	--pe-accent-bright: #ff8c42;  /* brighter orange for text on the blue announcement box */
	--pe-tint: #e5eef6;           /* pale blue panels */
	--pe-light: #f8f9fa;          /* home intro background */
	--pe-green: #00a651;          /* panel headings */
	--pe-text: #252525;
	--pe-heading: #000;
	--pe-muted: #737373;
	--pe-header-muted: #b3c4d7;
	--pe-border: #eee;
	--pe-font-body: "Open Sans", sans-serif;
	--pe-font-heading: "Montserrat", sans-serif;
	--pe-transition: all 0.3s linear;
}

/* ==========================================================================
   02. Base & typography
   ========================================================================== */
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--pe-text);
	font-family: var(--pe-font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 28px;
	word-wrap: break-word;
}

body {
	background: #fff;
}

/* Sticky footer: on short pages the footer sits at the bottom of the viewport;
   on long pages it follows the content as normal. */
.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}

.site > .site-content {
	flex: 1 0 auto;
}

.site > .site-header,
.site > .site-footer {
	flex-shrink: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--pe-font-heading);
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 20px;
	color: var(--pe-heading);
}

h1 { font-size: 50px; }
h2 { font-size: 40px; }
h3 { font-size: 30px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

p {
	margin: 0 0 20px;
}

ul,
ol {
	margin: 0 0 20px;
	padding-left: 18px;
}

img {
	height: auto;
	max-width: 100%;
}

a {
	color: var(--pe-primary);
	text-decoration: none;
	transition: var(--pe-transition);
}

a:visited {
	color: var(--pe-primary);
}

a:hover,
a:focus,
a:active {
	color: var(--pe-accent);
	text-decoration: none;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}

table,
th,
td {
	border: 1px solid var(--pe-border);
}

th,
td {
	padding: 0.4375em;
	text-align: left;
}

th {
	font-weight: 700;
}

/* ==========================================================================
   03. Utilities
   ========================================================================== */
.text-blue { color: var(--pe-primary) !important; }
.text-green { color: var(--pe-green); }
.spacer-30 { height: 30px; }
.spacer-60 { height: 60px; }

.bg-tint { background-color: var(--pe-tint); }

/* ==========================================================================
   04. Header – desktop
   ========================================================================== */
.site-header {
	background: var(--pe-primary);
	position: relative;
	z-index: 99;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.header-desktop {
	display: none;
}

@media (min-width: 992px) {
	.header-desktop {
		display: block;
	}
}

.header-top__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.site-logo {
	padding: 15px 0;
}

.site-logo__link {
	display: inline-block;
	width: 236px;
}

.site-logo__link img {
	display: block;
	width: 100%;
	height: auto;
}

.header-info {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.header-info__item {
	display: flex;
	align-items: center;
	height: 100px;
	padding: 0 50px;
	border-left: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--pe-header-muted);
	font-size: 14px;
}

.header-info__item:first-child {
	padding-left: 0;
	border-left: none;
}

.header-info__item:last-child {
	padding-right: 0;
}

.header-info__item span {
	display: inline-block;
	line-height: 22px;
}

.header-info__item strong {
	font-weight: 600;
	color: #fff;
}

.header-info__item a,
.header-info__item a:visited {
	color: #fff;
}

.header-info__phone {
	font-size: 18px;
	font-weight: 800 !important;
}

.header-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.header-bottom__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.header-cin {
	padding: 13px 0 13px 23px;
	color: var(--pe-header-muted);
	font-size: 14px;
	line-height: 28px;
	white-space: nowrap;
}

.header-cin span {
	display: inline-block;
	line-height: 22px;
}

/* ==========================================================================
   05. Header – main menu & dropdown
   ========================================================================== */
.main-menu {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: "Montserrat", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: 700;
}

.main-menu > li {
	position: relative;
}

.main-menu > li > a {
	display: inline-block;
	position: relative;
	padding: 7px 20px;
	line-height: 35px;
	text-align: center;
	text-transform: uppercase;
	color: #fff;
	transition: all 0.3s ease-out 0s;
}

.main-menu > li:first-child > a {
	padding-left: 0;
}

.main-menu > li.menu-item-has-children > a {
	padding-right: 32px;
}

/* caret (FontAwesome 4: fa-caret-down) */
.main-menu > li.menu-item-has-children > a::after {
	content: "\f0d7";
	position: absolute;
	width: 9px;
	height: 14px;
	right: 18px;
	top: 50%;
	margin-top: -8px;
	font-family: "FontAwesome";
	font-weight: 900;
	font-size: 14px;
	line-height: 14px;
}

.main-menu > li:hover > a,
.main-menu > li > a:focus,
.main-menu > li.current-menu-item > a,
.main-menu > li.current-menu-ancestor > a {
	color: var(--pe-accent);
}

.main-menu .sub-menu {
	position: absolute;
	top: 140%;
	left: 0;
	z-index: 10;
	width: 260px;
	margin: 0;
	padding: 0;
	list-style: none;
	background-color: #fff;
	border-top: 3px solid var(--pe-accent);
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
	visibility: hidden;
	opacity: 0;
	transition: all 400ms ease;
}

.main-menu > li:hover > .sub-menu,
.main-menu > li:focus-within > .sub-menu {
	top: 100%;
	visibility: visible;
	opacity: 1;
}

.main-menu .sub-menu li {
	display: block;
	position: relative;
}

.main-menu .sub-menu a {
	display: block;
	position: relative;
	padding: 15px 18px;
	font-size: 12px;
	line-height: 20px;
	font-weight: 600;
	color: #363636;
	text-align: left;
	text-transform: none;
	border-bottom: 1px solid #ebebeb;
	transition: all 400ms ease;
}

.main-menu .sub-menu li:last-child > a {
	border-bottom: none;
}

.main-menu .sub-menu a:hover,
.main-menu .sub-menu a:focus,
.main-menu .sub-menu li.current-menu-item > a {
	color: #fff;
	background-color: var(--pe-accent);
}

/* ==========================================================================
   06. Header – mobile
   ========================================================================== */
@media (min-width: 992px) {
	.header-mobile {
		display: none;
	}
}

.header-mobile__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 22px 35px;
	background-color: var(--pe-primary);
}

.header-mobile__logo img {
	display: block;
	width: 231px;
	max-width: 100%;
	height: auto;
}

/* hamburger */
.mobile-menu-toggle {
	position: relative;
	flex: 0 0 26px;
	width: 26px;
	height: 20px;
	margin-left: 20px;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
}

.mobile-menu-toggle__bar,
.mobile-menu-toggle__bar::before,
.mobile-menu-toggle__bar::after {
	position: absolute;
	left: 0;
	width: 26px;
	height: 4px;
	background: #fff;
	border-radius: 2px;
	transition: all 0.3s ease;
}

.mobile-menu-toggle__bar {
	top: 50%;
	margin-top: -2px;
}

.mobile-menu-toggle__bar::before,
.mobile-menu-toggle__bar::after {
	content: "";
	transform-origin: 1.5px center;
}

.mobile-menu-toggle__bar::before { top: -8px; }
.mobile-menu-toggle__bar::after { bottom: -8px; }

.mobile-menu-toggle:not(.collapsed) .mobile-menu-toggle__bar {
	background: none;
}

.mobile-menu-toggle:not(.collapsed) .mobile-menu-toggle__bar::before {
	top: 0;
	transform: rotate(-45deg);
	transform-origin: 50% 50%;
}

.mobile-menu-toggle:not(.collapsed) .mobile-menu-toggle__bar::after {
	bottom: 0;
	transform: rotate(45deg);
	transform-origin: 50% 50%;
}

.mobile-nav {
	background-color: var(--pe-primary);
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu,
.mobile-menu .sub-menu {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-menu li {
	position: relative;
}

.mobile-menu li a {
	display: block;
	padding: 11px 36px 11px 44px;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* submenus slide open: JS sets max-height to the content height */
.mobile-menu .sub-menu {
	max-height: 0;
	overflow: hidden;
	visibility: hidden;
	transition: max-height 0.35s ease, visibility 0s linear 0.35s;
}

.mobile-menu .sub-menu.is-open {
	visibility: visible;
	transition: max-height 0.35s ease, visibility 0s;
}

@media (prefers-reduced-motion: reduce) {
	.mobile-menu .sub-menu,
	.mobile-menu .sub-menu.is-open {
		transition: none;
	}
}

.mobile-menu .sub-menu li a {
	padding-left: 53px;
}

.mobile-menu .sub-menu li a::before {
	content: "-";
	margin-right: 4px;
}

.mobile-menu > li > a:hover,
.mobile-menu li li a:hover,
.mobile-menu > li.current-menu-item > a,
.mobile-menu > li.current-menu-ancestor > a,
.mobile-menu li li.current-menu-item > a {
	color: var(--pe-accent);
}

/* "+" submenu toggle */
.submenu-toggle {
	position: absolute;
	top: 0;
	right: 18px;
	display: block;
	width: 71px;
	height: 44px;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	transition: all 0.3s ease;
}

.submenu-toggle.is-active {
	transform: rotate(45deg);
}

.submenu-toggle i {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 11px;
	height: 11px;
	transform: translate(-50%, -50%);
}

.submenu-toggle i::before,
.submenu-toggle i::after {
	content: "";
	position: absolute;
	background: #fff;
	border-radius: 1px;
}

.submenu-toggle i::before { left: 0; top: 4px; width: 11px; height: 3px; }
.submenu-toggle i::after { left: 4px; top: 0; width: 3px; height: 11px; }

@media (max-width: 767px) {
	.header-mobile__bar {
		padding: 22px 15px;
	}

	.mobile-menu li a {
		padding: 11px 15px;
	}

	.mobile-menu .sub-menu li a {
		padding-left: 24px;
	}

	.submenu-toggle {
		right: 14px;
		width: 41px;
	}
}

@media (max-width: 320px) {
	.header-mobile__logo img {
		max-width: 230px;
		max-height: 47px;
	}
}

/* ==========================================================================
   07. Page banner & breadcrumbs
   ========================================================================== */
.page-banner {
	position: relative;
	z-index: 1;
	background-repeat: no-repeat;
	background-position: center top;
	/* edge colours sampled from banner-inner.jpg */
	--banner-edge-l: #e4edf2;
	--banner-edge-r: #253c68;
	background-color: var(--banner-edge-l);
}

/* Wide screens (> 1920px, the banner image width): fill the side gutters with
   colours sampled from the image edges and fade them softly into the image,
   so no white gap shows. The layer is 0px wide at 1920px and below. */
.page-banner::before,
.home-banner::before {
	content: none;
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(to right,
		var(--banner-edge-l) 0,
		var(--banner-edge-l) calc(50% - 960px),
		transparent calc(50% - 820px),
		transparent calc(50% + 820px),
		var(--banner-edge-r) calc(50% + 960px),
		var(--banner-edge-r) 100%);
}

@media (min-width: 1921px) {
	.page-banner::before,
	.home-banner::before {
		content: "";
	}
}

.page-banner::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-color: rgba(0, 0, 0, 0.6);
}

.page-banner__box {
	color: var(--pe-accent);
	font-family: var(--pe-font-heading);
	font-weight: 600;
	font-size: 12px;
	margin-bottom: 0;
}

.page-banner__title {
	font-size: 30px;
	color: #fff;
	margin-bottom: 0;
}

.breadcrumbs {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.breadcrumbs li {
	display: inline-block;
	text-transform: capitalize;
}

.breadcrumbs li::before {
	content: "\f105";
	font-family: "FontAwesome";
	color: #fff;
	margin: 0 8px;
}

.breadcrumbs li:first-child::before {
	display: none;
}

.breadcrumbs li a,
.breadcrumbs li a:visited {
	color: #fff;
}

.breadcrumbs li a:hover {
	color: var(--pe-accent);
}

@media (min-width: 992px) {
	.page-banner__box .row {
		display: flex !important;
		align-items: center !important;
		min-height: 160px; /* was 200px: banner height reduced ~20% */
	}
}

@media (max-width: 991px) {
	.page-banner__box {
		display: flex !important;
		align-items: center !important;
		min-height: 160px; /* was 200px */
	}

	.page-banner__box .row {
		display: block;
		flex: 1 1 100%;
		min-height: 0 !important;
	}

	.page-banner__box .row > * {
		width: 100%;
	}

	.page-banner__title {
		margin-bottom: 10px;
	}
}

/* ==========================================================================
   08. Sections & section heading
   ========================================================================== */
/* Section spacing: one value per breakpoint; inner blocks never add their own gap at the top/bottom */
.section-padd {
	padding: 60px 0;
}

@media (max-width: 991px) {
	.section-padd {
		padding: 50px 0;
	}
}

@media (max-width: 767px) {
	.section-padd {
		padding: 40px 0;
	}
}

/* last block in a section (and the last element inside it) adds no extra bottom gap */
.section-padd > .container > :last-child,
.section-padd > .container > :last-child:not(.doc-grid) > :last-child,
.section-padd .entry-content > :last-child,
.panel-tint > :last-child,
.group-company:last-child > :last-child {
	margin-bottom: 0;
}

/* gap between consecutive content blocks (e.g. Vision → Mission) */
.content-text + .section-head {
	margin-top: 40px;
}

/* card grids: cancel the bottom margin of the last row of cards */
.doc-grid {
	margin-bottom: -30px !important;
}

.section-head h6 {
	font-size: 12px;
	margin-bottom: 7px;
	text-transform: uppercase;
	color: var(--pe-muted);
	letter-spacing: 1px;
}

.section-title {
	font-size: 40px;
}

.content-text p {
	line-height: 24px;
}

.content-text > :last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   09. Home – hero, intro, announcement box
   ========================================================================== */
.home-banner {
	position: relative;
	isolation: isolate; /* keeps the ::before edge fill behind the content */
	background-repeat: no-repeat;
	background-position: center top;
	/* edge colours sampled from banner-home.jpg (fill for wide screens, see section 07) */
	--banner-edge-l: #d3cecd;
	--banner-edge-r: #7a6f70;
	background-color: var(--banner-edge-l);
}

.home-banner__inner {
	min-height: 240px; /* was 300px: banner height reduced ~20% */
}

.home-intro {
	background-color: var(--pe-light);
}

/* sticky footer: space stretched below the intro keeps the intro's colour */
.page-home .site-content {
	background-color: var(--pe-light);
}

.home-intro__inner {
	padding: 0 12px;
}

.home-intro .section-head,
.home-intro .content-text {
	padding: 0 45px;
}

.home-intro .section-head h6 {
	color: #000;
}

.home-intro .content-text p {
	color: #000;
}

@media (max-width: 767px) {
	.announcement-box {
		margin-bottom: 30px;
	}
}

.announcement-box {
	padding: 10px;
	background: var(--pe-primary);
	color: #fff;
}

.announcement-box * {
	color: #fff;
}

/* Announcement & Quick Link items: bold white, brighter orange on hover */
.announcement-box li,
.announcement-box a,
.announcement-box a:visited {
	color: #fff;
	font-weight: 700;
}

.announcement-box a:hover,
.announcement-box a:focus {
	color: var(--pe-accent-bright);
}

.announcement-box__title {
	font-size: 20px;
	color: #fff;
}

/* replaces the legacy <marquee direction="down"> with a CSS ticker */
.ticker {
	position: relative;
	height: 92px;
	margin-bottom: 20px;
	overflow: hidden;
}

.ticker__list {
	margin-bottom: 0;
	animation: ticker-down 6s linear infinite;
}

@keyframes ticker-down {
	from { transform: translateY(-100%); }
	to { transform: translateY(92px); }
}

@media (prefers-reduced-motion: reduce) {
	.ticker {
		height: auto;
	}

	.ticker__list {
		animation: none;
	}
}

@media (max-width: 479px) {
	.home-intro .section-head,
	.home-intro .content-text {
		padding: 0 25px;
	}
}

/* ==========================================================================
   10. Document cards (reports, downloads, disclosures)
   ========================================================================== */
.doc-col {
	margin-bottom: 30px;
}

.doc-card {
	position: relative;
	overflow: hidden;
	padding: 25px 30px 28px;
	background: #fff;
	border-radius: 2px;
	text-align: center;
	transition: var(--pe-transition);
}

.doc-card__link,
.doc-card__link:visited {
	display: inline-block;
	font-family: var(--pe-font-heading);
	font-weight: 700;
	font-size: 12px;
	line-height: 1.1;
	color: var(--pe-muted);
	border-bottom: 2px solid #c1c1c1;
}

.doc-card__link:hover {
	color: var(--pe-accent);
	border-color: var(--pe-accent);
}

.doc-card:hover {
	background: var(--pe-primary);
	color: #fff;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.doc-card:hover .doc-card__title {
	color: #fff;
}

.doc-card:hover .doc-card__link,
.doc-card:hover .doc-card__link:visited {
	color: var(--pe-accent);
	border-color: var(--pe-accent);
}

.doc-card:hover .doc-card__link:hover {
	color: #fff;
	border-color: #fff;
}

.doc-group-title {
	font-size: 40px;
}

/* ==========================================================================
   11. Profile accordion (board, management)
   ========================================================================== */
.profile-list {
	list-style: none;
	margin-bottom: 0;
	padding-left: 0;
}

.profile-toggle {
	position: relative;
	display: block;
	width: 100%;
	margin-bottom: 1px;
	padding: 10px;
	border: none;
	border-radius: 5px;
	outline: none;
	background-color: var(--pe-primary);
	text-align: left;
	font-size: 15px;
	cursor: pointer;
	transition: 0.4s;
}

.profile-toggle::after {
	content: "\002B";
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	color: #fff;
	font-weight: bold;
}

.profile-toggle.is-active::after {
	content: "\2212";
}

.profile-toggle:focus-visible {
	box-shadow: 0 0 0 3px var(--pe-accent-soft);
}

.profile-toggle__name {
	display: block;
	margin: 0;
	padding-left: 20px;
	padding-right: 20px;
	font-family: var(--pe-font-heading);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
	color: #fff;
}

.profile-toggle__role {
	font-size: 12px;
	font-weight: 400;
}

.profile-panel {
	max-height: 0;
	overflow: hidden;
	padding: 0 18px;
	background: var(--pe-tint);
	transition: max-height 0.2s ease-out;
}

.profile-panel p:first-child {
	margin-top: 20px;
}

/* ==========================================================================
   12. Content blocks (core values, contact, policies, tables, articles)
   ========================================================================== */
.panel-tint {
	padding: 30px;
	background: var(--pe-tint);
}

.image-col {
	padding-top: 100px;
	padding-bottom: 135px;
	background-repeat: no-repeat;
	background-position: left top;
	background-size: cover;
}

.contact-panel {
	margin-left: 0;
	margin-right: 0;
}

.contact-panel p {
	line-height: 24px;
}

/* matches the reference: column content shrinks to fit and is centred within its column */
@media (min-width: 768px) {
	.contact-panel__col {
		display: flex;
		justify-content: center;
	}
}

.policy-list {
	column-count: 3;
	column-gap: 20px;
}

@media (max-width: 767px) {
	.policy-list { column-count: 2; }
}

@media (max-width: 479px) {
	.policy-list { column-count: 1; }
	.panel-tint { padding: 30px 12px; }
}

/* Group Companies: space above each financial-year heading after the first */
.group-company + .group-year {
	margin-top: 40px;
}

.group-company + .group-company {
	margin-top: 20px;
}

.data-table {
	margin-bottom: 0;
}

.data-table,
.data-table th,
.data-table td {
	border-color: #c4c4c4;
}

.complain-image {
	display: block;
	margin: 0 auto;
}

/* core values: space between the stacked text panel and image on phones */
@media (max-width: 575px) {
	.image-col {
		padding-top: 80px;
		padding-bottom: 110px;
	}
}

.data-table th,
.data-table td {
	text-align: center;
}

.table-responsive-theme {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

@media (max-width: 767px) {
	.page-article .section-title {
		font-size: 28px !important;
	}

	.page-article h2,
	.page-article h3 {
		font-size: 22px !important;
	}
}

/* ==========================================================================
   13. Footer & back-to-top
   ========================================================================== */
.site-footer {
	background: var(--pe-primary);
	color: #fff;
}

.footer-bottom {
	padding: 18px 0;
	background: var(--pe-primary-dark);
	color: rgba(255, 255, 255, 0.6);
	font-size: 13px;
}

.footer-bottom a,
.footer-bottom a:visited {
	color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
	color: #fff;
}

.footer-menu {
	list-style: none;
	margin-bottom: 0;
	padding-left: 0;
}

.footer-menu li {
	display: inline-block;
	margin-left: 35px;
}

@media (max-width: 991px) {
	.footer-bottom {
		text-align: center;
	}

	.footer-menu {
		margin-top: 10px;
	}

	.footer-menu li {
		margin: 0 10px;
	}
}

@media (max-width: 767px) {
	.footer-menu li {
		margin: 0 12px;
	}
}

.back-to-top {
	position: fixed;
	right: 40px;
	bottom: 40px;
	z-index: 1000;
	width: 42px;
	height: 42px;
	line-height: 40px;
	text-align: center;
	border-radius: 2px;
	background: var(--pe-accent);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease-out 0s, visibility 0.2s;
}

.back-to-top.show {
	opacity: 1;
	visibility: visible;
}

.back-to-top:hover {
	background: #000;
}

.back-to-top::before {
	content: "\f106";
	position: relative;
	margin: 5px;
	color: #fff;
	font-family: "FontAwesome";
	font-size: 22px;
}

@media (max-width: 767px) {
	.back-to-top {
		right: 16px;
		bottom: 16px;
	}
}
