/* CSS VARIABLES */
:root {
    
}

@font-face {
    font-family: 'FSElliotPro';
    src: url('/assets/fonts/FS Elliot Pro Web Fonts/FSElliotWeb/Latin/Regular/FSElliotWeb-Regular.woff') format('woff');
    font-weight: 400; 
    font-style: normal; 
}
@font-face {
    font-family: 'FSElliotPro';
    src: url('/assets/fonts/FS Elliot Pro Web Fonts/FSElliotWeb/Latin/Light/FSElliotWeb-Light.woff') format('woff');
    font-weight: 300; 
    font-style: normal; 
}
@font-face {
    font-family: 'FSElliotPro';
    src: url('/assets/fonts/FS Elliot Pro Web Fonts/FSElliotWeb/Latin/Bold/FSElliotWeb-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal; 
}
@font-face {
    font-family: 'FSElliotPro';
    src: url('/assets/fonts/FS Elliot Pro Web Fonts/FSElliotWeb/Latin/Heavy/FSElliotWeb-Heavy.woff') format('woff');
    font-weight: 900;
    font-style: normal; 
}

/* MAIN OVERALL */
html{
    scroll-behavior:smooth;
}

body {
    margin: 0;
    font-family: FSElliotPro, Helvetica, Verdana, Tahoma, sans-serif;
    min-width: 250px;
}

/* Prevent the footer from having white space below */
main {
    min-height: calc(100vh - 204px);
}

a {
    text-decoration: none;
    color: #5F5F5F;
}

a:hover {
    color: #E4610F;
    transition: 0.3s
}

img{
    /* width: 100px; */
}

h1{
    color: #E4610F;
    text-align: center;
    padding: 40px 0 40px 0;
    margin: 0;
    font-size: 2rem;
}

h2{

}

/* TEXT */
.centered {
    text-align: center;
}

/* OTHER */
.justify-content-center{
    justify-content: center;
}

/* BREADCRUMBS */
ul.breadcrumbs {
    padding: 10px 20px;
    list-style: none;
    margin: 10 0;
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    font-weight: 600;
}
  
/* li side by side */
ul.breadcrumbs li {
    display: inline;
    white-space: nowrap;
}
  
/* Add a vertical line before each li */
ul.breadcrumbs li+li:before {
    padding: 20px;
    color: black;
    content: "\007C";
}

#breadcrumbs-container {
    scrollbar-width: none;
    overflow-x: scroll;
}

/* Works on Chrome, Edge, and Safari */
#breadcrumbs-container::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

#breadcrumbs-container::-webkit-scrollbar-track {
    background: var(--scroll-bar-bg-color);
}

#breadcrumbs-container::-webkit-scrollbar-thumb {
    background-color: var(--scroll-bar-color);
    border-radius: 20px;
    border: 3px solid var(--scroll-bar-bg-color);
}

/* CONTACT FORM */
#contact-popup-form{
    z-index: 20;
    width: 85vw;
    height: 85vh;
    margin: 75px;
    background-color: white;
    /* position: fixed; */
    top: 0;
    left: 0;
    border: none;
    display: none;
}
#contact-popup-form.show{
    display: block;
}

/* IMAGE BOXES */
.image-box-parent-container{
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 50px;
}

.image-box {
    position: relative;
    overflow: hidden;
    margin: 5px;
    transition: transform .2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-box:hover {
    transform: scale(1.01);
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.image-box-caption{
    position: absolute;
    bottom: 0;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    background-color: #00000085;
    font-size: 1rem;
    color: white;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

/* SG SEARCH RESULT BOXES */
.result-box-parent-container{
    display: flex;
    margin: 1%;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.result-box{
    position: relative;
    overflow: hidden;
    margin: 5px;
    transition: transform .2s;
}

.result-box img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.result-box-name{
    padding: 5 0 0 0;
    width: 100%;
    box-sizing: border-box;
    font-size: 1.2rem;
    font-weight: 700;
}

.result-box-caption{
    padding: 0 0 10 0;
    width: 100%;
    box-sizing: border-box;
    font-size: 1rem;
}


/******** RANDOM / MISC *******/

.clickable {
    cursor: pointer;
    color: #5F5F5F; 
}

.clickable:hover {
    color: #E4610F;
    transition: 0.3s;
}

.text-arrow-link{
    color:#E4610F;
    font-weight:300;
    text-decoration: none;
}

.limit-width-med {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    position: relative;
}

.not-found-p{
    text-align: center;
    padding: 100 20 100 20;
    font-size: 2rem;
}

/* Tip message (project view when opening image) */
#tip-message{
    position: fixed;
    width: 100vw;
    /* height: 100vh; */
    /* margin: auto; */
    justify-content: center;
    display: none;
    align-items: center;
    bottom: 0;
    left: 0;
    z-index: 60;
    opacity: 0;
    /* transition: all 1s; */
}

#tip-message.show{
    display: flex;
    opacity: 1;
    /* transition: opacity .25s ease-in-out; */
    /* -moz-transition: opacity .25s ease-in-out; */
    /* -webkit-transition: opacity .25s ease-in-out; */
    animation: fadeIn 2s;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

#tip-message > div{
    padding: 10px;
    background-color: #fff;
    box-shadow: #b9b9c18c 0px 0px 2px 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 5px 5px 0 0;
}

#tip-message img{
    height: 25px;
}

#tip-message p{
    margin: 0;
}

@media only screen and (max-width: 550px) {
    #tip-message.show{
        display: none;
        opacity: 0;
    }
}

/* BUTTON */
.button {
    padding: 15px;
    border-radius: 4px;
    background-color: #E4610F;
    text-align: center;
    width: fit-content;
    margin: auto;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button:hover {
    background-color: #c65108;
}

/* LOADING ICON */
.loading-icon {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
  .loading-icon div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #fff;
    border-radius: 50%;
    animation: loading-icon 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #E4610F transparent transparent transparent;
}
  .loading-icon div:nth-child(1) {
    animation-delay: -0.45s;
}
  .loading-icon div:nth-child(2) {
    animation-delay: -0.3s;
}
  .loading-icon div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes loading-icon {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
}

/* Commonly Used Sliders */
.other-entity-parent-container{
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    display: flex;  
    flex-direction: column;
}
.other-entity-header{
    margin-top: 25px;
    font-weight: 700;
    /* font-size: 1.3rem; */
    text-align: center; 
}

/* Other Entity - Testimonial Slides */
.swiper-wrapper > .swiper-slide.testimonial {
    aspect-ratio: auto;
    color: #5F5F5F;
    width: 50vw;
}

.testimonial-headline{
    font-weight: 700;
}

.testimonial-quote{
    font-style: italic;
}

.testimonial-author{

}

.fa-quote-left{
    margin: auto;
    background: #E4610F;
    padding: 10px;
    border-radius: 79px;
    font-size: 1.3rem;
    color: white;
}

/* Other Entity - News Article Slides */
.newsArticleSwiper .news-article{
    height: 100%;
}

.news-article-container{
    width: 100%;
    height: 100%;
    background: antiquewhite;
    border-radius: 6px;
    overflow: hidden;
    /* padding-bottom: 10px; */
    cursor: pointer;
}

.swiper-wrapper > .swiper-slide.news-article {
    aspect-ratio: auto;
    /* background: antiquewhite; */
    /* border-radius: 6px; */
    justify-content: flex-start;
    height: auto !important;
}

.news-headline{
    font-weight: 700;
}

.news-description{

}

.swiper .swiper-slide .news-img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: none !important;
}