/*  
    Theme: Heritage Media
    Designer/Developer: Saugat Shrestha
    Prefix: belmont
*/

@font-face {
    font-family: 'Kantipur';
    src: url('assets/fonts/Kantipur.woff2') format('woff2'),
        url('assets/fonts/Kantipur.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-family: 'Poppins', sans-serif;
    --body-color: #ffffff;
    --primary-color: #388087;
    --secondary-color: #388087;
    --text-color: #222222;
    --white-color: #ffffff;
}

/*================================================================
GLOBAL STYLES
================================================================*/

body {
    background: var(--body-color);
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.5;
}

.container {
    max-width: 1300px;
    padding: 0 30px;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    text-transform: uppercase;
    font-weight: 700;
}

h1 {
    font-size: 20px;
    font-weight: 600;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

ul {
    margin: 0;
    padding: 0;
}

ul li {
    padding: 0;
    list-style-type: none;
}

p {
    margin: 0;
}

p:not(:last-child) {
    margin-bottom: 15px;
}

figure {
    margin: 0;
}

.container {
    padding: 0 20px;
}

.object-fit {
    object-fit: cover;
}

/*================================================================
HERITAGEPEDIA HEADER STYLES
================================================================*/

.heritagepedia-header {
    background: var(--primary-color);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1;
}

.heritagepedia-header .heritagepedia__district h1 {
    display: flex;
    align-items: center;
    line-height: 1;
}

.heritagepedia-header .heritagepedia__district h1 svg {
    width: 25px;
}

.heritagepedia-header .heritagepedia__district h1 span {
    width: calc(100% - 25px);
    padding-left: 3px;
}

.language-switcher .switch-language svg {
    width: 30px;
}

.switch-language {
    font-weight: 500;
}

.heritagepedia-navigation {
    background: var(--secondary-color);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow: hidden;
    z-index: 9;
}

.heritagepedia-navigation ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
}

.heritagepedia-navigation ul li {
    width: 25%;
}

.heritagepedia-navigation ul li a {
    display: block;
    color: var(--white-color);
    padding: 12px 10px;
    font-size: 15px;
    transition: all 0.3s ease-in-out;
}

.heritagepedia-navigation ul li a img,
.heritagepedia-navigation ul li a svg {
    display: block;
    width: 25px;
    margin: 0 auto 3px; 
}

.heritagepedia-navigation ul li.current-menu-item a {
    background: #499299;
    font-weight: 500;
}


/*================================================================
HERITAGEPEDIA AUDIO STYLES
================================================================*/

.section-heritagepedia-audio {
    background: #ede9dd;
    padding: 20px 0;
}

.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 1;
    display: none;
}

.backdrop.active {
    display: block;
}


/*================================================================
HERITAGEPEDIA ICE STYLES
================================================================*/

.section-heritagepedia-ice {
    padding: 30px 0 115px;
}

.section-ice__block h2 {
    font-size: 18px;
    font-weight: 700    ;
}

.section-ice__block:not(:last-child) {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #f0ecec;
}

.section-ice__block ul {
    margin-left: 20px;
}

.section-ice__block ul li {
    list-style-type: disc;
}

.widget_polylang {
    text-align: right;
}

.widget_polylang .lang-item a {
    color: var(--white-color);
    position: relative;
    padding-left: 35px;
}

.widget_polylang .lang-item a::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 0;
    background: url('assets/images/heritagepedia-lang1@2x.png')no-repeat;
    width: 28px;
    height: 27px;
    background-size: cover;
}

.lang-switcher {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.lang-switcher__thumbnail {
    width: 32px;
    margin-right: 5px;
}

select#lang_choice_polylang-2 {
    height: 32px;
    width: 90px;
    border-radius: 3px;
    border: none;
    padding: 0 5px;
}

footer.copyright-text {
    padding: 12px 0;
    font-size: 14px;
    text-align: center;
    background: #f1e7e7;
}


/*================================================================
SECTION AUDIO STYLES
================================================================*/

.audio-player {
    text-align: center;
}

.player-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.player-controls .column-1 {
    width: 45px;
}

.player-controls .column-2 {
    width: calc(100% - 55px);
    font-size: 14px;
    overflow: hidden;
}

.player-controls .main-player {
    display: flex;
    align-items: center;
}

.player-controls .currentTime {
    margin-right: 5px;
    width: 40px;
}

.player-controls input[type="range"] {
    width: calc(100% - 60px);
}

.player-controls .duration {
    margin-left: 5px;
    width: 40px;
}

audio {
    display: none;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: #ffffff;
    outline: none;
}

&::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #ddd;
    border-radius: 5px;
}

&::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

&:hover::-webkit-slider-thumb {
    background: #2980b9;
}

&:active::-webkit-slider-thumb {
    background: #1f6697;
}

&:focus {
    outline: none;
}

&:focus::-webkit-slider-runnable-track {
    background: #ccc;
}

&:focus::-webkit-slider-thumb {
    background: #3498db;
}

.playPauseBtn {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 100%;
    background: #428187;
    color: #ffffff;
    font-size: 18px;
}

.playPauseBtn .fa-play {
    position: relative;
    left: 1px;
}

.marquee-container {
    display: none;
    margin: 8px 0 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    /* animation: marquee 10s linear infinite; */
}

@keyframes marquee {
    0% { 
        transform: translateX(100%); 
    }
    100% { 
        transform: translateX(-100%); 
    }
}

.marquee-container .audio-title {
    display: inline-block;
}


/*================================================================
HERITAGE SINGLE CONTENT STYLES
================================================================*/

.heritage-single-content {
    padding: 25px 0;
}

.single-featured-thumbnail {
    margin-bottom: 15px;
}

.single-featured-thumbnail .thumbnail-img__featured {
    border-radius: 10px;
    overflow: hidden;
    --bs-aspect-ratio: 61.25%;
}

.single-featured-thumbnail .thumbnail-img__featured::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0) 21%, rgb(41 40 40 / 89%) 80.01%, #000);
}

.single-featured-thumbnail .single-post__title {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 15px 20px;
    font-weight: 600;
    color: #eeeeee;
    width: 100%;
    font-size: 26px;
	line-height: 1.5;
}

.heritage-repeater-content {
    padding: 30px 0;
    background: #ece9e4;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.heritage-repeater-content .repeater-block:last-child {
    border-bottom: 1px solid #cfbaba;
    margin: 0 -20px 25px;
    padding: 0 20px 25px;
}

.heritage-repeater-content .repeater-block h3 {
    margin-bottom: 5px;
    color: #276369;
    font-size: 20px;
	line-height: 1.5;
}

.heritage-repeater-content .repeater-block p {
	text-align: justify;
}

.page-gallery h3 {
    color: #276369;
    margin: 0 0 10px;
    font-size: 20px;
}

.ice-support-fixed  {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 2;
}

.ice-support-fixed .ice-support-btn {
    width: 65px;
    height: 65px;
    background: #388087;
    border-radius: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ice-support-fixed .ice-support-btn svg {
    width: 35px;
}

.ice-support-fixed .ice-support-btn .icon-2 {
    display: none;
}

.ice-support-fixed.active .ice-support-btn .icon-1 {
    display: none;
}

.ice-support-fixed.active .ice-support-btn .icon-2 {
    display: block;
}

.ice-support-content-fixed {
    position: fixed;
    bottom: 80px;
    left: 20px;
    width: calc(100% - 40px);
    z-index: 2;
    background: #fdf5f5;
    padding: 30px 5px;
    border-radius: 10px;
    height: 600px;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.ice-support-content-fixed.active {
    bottom: 100px;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.ice-support-content-fixed .content-area {
    height: 540px;
    overflow-y: auto;
    padding-right: 15px;
}

/*================================================================
HERITAGE SINGLE CONTENT STYLES
================================================================*/

.video-wrapper video {
    height: 100vh;
    object-fit: cover;
}

.single-video-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 22;
    transition: all 0.4s ease;
}

.single-post-content {
    text-align: justify;
}

.heritage-gallery-content {
    padding: 25px 0 100px;
}

.page-title {
    margin-bottom: 20px;
}

.page-title h2 {
    font-size: 24px;
    margin-bottom: 5px;
}

.heritagepedia-header-main {
    display: none;
}

.heritage-repeater-content .row {
    margin: 0 -5px;
}

.heritage-repeater-content .row [class*="col-"] {
    padding: 0 5px;
}

.repeater-block {
    background: #f8f8f7;
    margin: 0 0 10px;
    padding: 20px 20px;
    border-radius: 8px;
}

/*================================================================
HERITAGE GALLERY CONTENT STYLES
================================================================*/

.heritage-gallery-content .row {
    margin: 0 -5px;
}

.heritage-gallery-content .row [class*="col-"] {
    padding: 0 5px;
}

.heritage-gallery-block {
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.heritage-gallery-block > a {
    display: block;
}

.heritage-gallery-block > a img {
    object-fit: cover;
}

.homepage-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: #f4eded;
}

.homepage-content p {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.3;
}

.homepage-content p svg {
    display: block;
    max-width: 80px;
    margin: 0 auto 20px;
}

body.home {
    overflow-y: hidden;
}

.repeater-block .audio-player {
	margin: 20px 0 30px;
	border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 40px;
}

