input[type="range"].form-control-range {
    -webkit-appearance: none;  
    appearance: none;
    width: 100%;
    height: 20px;  
    background: #e9e9ea;  
    border-radius: 2px;  
    outline: none;
    transition: background 0.3s ease;  
}
input[type="range"].form-control-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 28px;
    background: #154472cf;
    border-radius: 2px;  
    cursor: pointer;
    transition: background 0.3s ease;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
input[type="range"].form-control-range::-moz-range-thumb {
    width: 20px;
    height: 0px;
    background: white;
    border: 5px solid red;
    border-radius: 50%;
    cursor: pointer;
}
input[type="range"].form-control-range::-ms-thumb {
    width: 20px;
    height: 20px;
    background: white;
    border: 5px solid red;
    border-radius: 50%;
    cursor: pointer;
}
.random-text-format {
    font-size: larger;
    background-color: #e9e9ea;
    padding: 10px;
    border-radius: 34%;
}

.callout-border-radius-left {
    border-bottom-left-radius: 34px;
}
.callout-border-radius-right {
    border-bottom-right-radius: 34px;
}


/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .callout-top-margin {
        margin-top: -63px;
    }
    /* .callout-border-radius-left {
        border-bottom-left-radius: 0px;
    }
    .callout-border-radius-right {
        border-bottom-right-radius: 0px;
    } */
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .callout-top-margin {
        margin-top: 0px;
    }
    .callout-border-radius-left {
        border-bottom-left-radius: 44px;
    }
    .callout-border-radius-right {
        border-bottom-right-radius: 44px;
    }
 }

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) { ... }

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .callout-top-margin {
        margin-top: -200px;
    }
    .callout-border-radius-left {
        border-bottom-left-radius: 44px;
    }
    .callout-border-radius-right {
        border-bottom-right-radius: 44px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .callout-top-margin {
        margin-top: -200px;
    }
    .callout-border-radius-left {
        border-bottom-left-radius: 44px;
    }
    .callout-border-radius-right {
        border-bottom-right-radius: 44px;
    }
 }


 p {
    font-size:0.95rem;
    font-weight: 400;
    line-height: 1.5;
}

.post {
    float: left;
    margin-top: 30px;
}
.comment_box {
    float: left;
    width: 85px;
    text-align: center;
    margin-right: 25px;
}
.post_content {
    float: right;
    width: 520px;
    padding-bottom: 25px;
    border-bottom: 1px solid #E0E0E0;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    /* transform: translate3d(-100%, 0, 0); */
    transform: translate3d(-20px, 0, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@-webkit-keyframes zoomIn {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9);
  }

  50% {
    opacity: 1;
  }
}

.box_header:after
{
	content: "";
	display: block;
	bottom: 0;
	width: 50px;
	height: 2px;
	/* background: #42B3E5; */
	background: #c1a783;
	margin-top: 10px;
	visibility: hidden;
}
.box_header.slide:after
{
	animation-name: slide;
	-webkit-animation-name: slide;
	animation-timing-function: cubic-bezier(.75, 0, .25, 1);
	-webkit-animation-timing-function: cubic-bezier(.75, 0, .25, 1);
	animation-duration: 0.6s;
	-webkit-animation-duration: 0.6s;
	visibility: visible;
}
@keyframes slide
{
	0%
	{
		width: 0;
	}
	100%
	{
		width: 50px;
	}
}
@-webkit-keyframes slide
{
	0%
	{
		width: 0;
	}
	100%
	{
		width: 50px;
	}
}

.post_content a.post_image
{
	display: block;
	margin-bottom: 27px;
}
.post_content a.post_image img
{
	display: block;
	width: 570px;
	height: auto;
	min-height: 15px;
	background: url('preloader.gif') no-repeat center center;
}
img {
    background: url('preloader.gif') no-repeat center center;
}
.viewMore[aria-expanded="false"]:before{
    content:" View More ";
}

.viewMore[aria-expanded="true"]:before{
    content:" View Less ";
}
.ugmc-compact {
    line-height: 1.4em;
}

.top_hint {
    position: relative;
    float: right;
    color: #FFF;
    background-color: #42B3E5;
    padding: 9px 10px;
    margin-top: -70px;
}

.ugmc-position-slider-text {
    padding-top: 150px;
    padding-left: 300px;
}

.home_box.darker_blue
{
	/* background-color: #030244; */
	background-color: rgba(3, 2, 68, 0.9098039215686274);;
}
.home_box.ug_blue
{
	/* background-color: #003478; */
	background-color: #006eff;
}
.home_box.dark_blue_light {
    background-color: #006eff;
}
.text-gold {
    color: #b49a64;
}

span.nav-link-inner--text.active {
    color: #1b488a;
    font-weight: 600;
}
/* .footer-format {
    background-color: #001c42;
    color: white;
} */
ul.list-unstyled.white-list a {
    color: white
}
ul.list-group.list-group-flush .list-group-item{
    background: none;
    border: none;
    border-bottom: 1px solid #f5f5f538;

}
ul.list-group.list-group-flush .list-group-item a{
    color: white;
}
.navbar-brand img {
    height: 40px;
}
label {
    font-size: 0.76rem;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.8;
}
span.nav-link-inner--text {
    font-weight: 500;
    color: #05244c;
}
.headroom--not-top
{
    padding-top: .5rem;
    padding-bottom: .5rem;
    background-color: #ffffff !important;
    box-shadow: 0 1px 10px rgba(130, 130, 134, .1);
}
.btn-primary {
    color: #fff;
    border: none;
    border-color: none;
    background-color: #154472cf;
    box-shadow: none;
}
/* Hexagon */
.hexagon {
    top: 30vh;
    left: 40%;
    position: absolute;
    margin: 0 auto;
    background-color: dodgerblue;
    border-radius: 10px;
    width: 100px;
    height: 63px;
    box-sizing: border-box;
    transition: all 1s;
    border: 0.4vh solid transparent;
}

/* Creating pseudo-class */
.hexagon:before, .hexagon:after {
    content: "";
    border: inherit;
    position: absolute;
    top: -0.5vh;
    left: -0.5vh;
    background-color: dodgerblue;
    border-radius: inherit;
    height: 100%;
    width: 100%;
}

/* Align them in such a way
that they form a hexagon */
.hexagon:before {
    transform: rotate(60deg);
}
.hexagon:after {
    transform: rotate(-60deg);
}


.hex {
    margin-top: 30px;
    width: 104px;
    height: 60px;
    background-color: blueviolet;
    border-color: blueviolet;
    position: relative;
    display: inline-block;
}
.hex:before {
    content: " ";
    width: 0; height: 0;
    border-bottom: 30px solid;
    border-color: inherit;
    border-left: 52px solid transparent;
    border-right: 52px solid transparent;
    position: absolute;
    top: -30px;
}
.hex:after {
    content: "";
    width: 0;
    position: absolute;
    bottom: -30px;
    border-top: 30px solid;
    border-color: inherit;
    border-left: 52px solid transparent;
    border-right: 52px solid transparent;
}
/* End Hexagon */

.navbar-transparent .navbar-toggler-icon
{
    background-image: url('data:image/svg+xml,%3csvg viewBox=\'0 0 30 30\' xmlns=\'http://www.w3.org/2000/svg\'%3e%3cpath stroke=\'rgba(38, 24, 51, 0.95)\' stroke-width=\'2\' stroke-linecap=\'round\' stroke-miterlimit=\'10\' d=\'M4 7h22M4 15h22M4 23h22\'/%3e%3c/svg%3e');
}

figure a img {
    /* border-top: 3rem solid rgba(255, 0, 0, 0); */
    height: 360px !important;
    width: 100% !important;
    object-fit: cover;
    object-position: center 15%;
}

figcaption {
    display: none;
    border-top: 1rem solid rgba(255, 0, 0, 0);
    border-bottom: 3rem solid rgba(255, 0, 0, 0);
}
.attachment__caption{
    text-align: center;
    border-bottom: none;
}
.attachment__size{
    display: none;
}



/* START--- Class Styling for Scrollbars ------------------------------------------------------------------------------- */
.scrollbar-custom::-webkit-scrollbar {
    width: 4px;
    height: 5px;
  }

  .scrollbar-custom::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    border-radius: 10px;
  }

  .scrollbar-custom::-webkit-scrollbar-thumb {
    background-color: #dddee7;
    border-radius: 10px;
  }

  .scrollbar-custom::-webkit-scrollbar-thumb:hover {
    background-color: #b2b5c2;
  }

  /* Hide scrollbar for Chrome, Safari, and Opera */
.scrollbar-custom::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge, and Firefox */
.scrollbar-custom {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}


  .border-top-dashed {
    margin-top: 2rem;
    margin-bottom: 2rem;
    border: 0;
    border-top: 0.0625rem dashed rgba(0, 0, 0, .1);
  }

  .fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px; /* Height of the gradient overlay */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none; /* Ensures that overlay doesn't block interactions */
    z-index: 1;
  }

  .partner-icons img{
    height: clamp(40px, 3.5vw, 60px);
    width: auto;
  }

  .bottom-image{
    height: 400px;
    background-size: cover;
    background-position: 50% 25%;
  }

  /* ------------------------------------------------------------------------------------------------------------- */

  /* START--- Responsive Styles for the Custom Card Components --------------------------------------------------- */
  .custom-card.card-vertical {
    /* background-color: #fff; */
    width: 90%;
    max-width: 360px;
    min-width: 230px;
    /* width: clamp(360px, 90%, 360px); */
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    /* background-color: inherit; */
}

.custom-card.card-fluid {
    flex: 1 1 calc(33.333% - 16px);
    /* background-color: #fff; */
    max-width: 100%;
    min-width: 230px;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    box-sizing: border-box;
    border-radius: clamp(.5rem, 1rem, 1.2rem);
    padding: .5rem 1rem;
    margin-bottom: .5rem;
    transition: transform 0.3s ease;
}

.card-vertical .card-image-container {
    position: relative;
    height: 200px;
    width: 100%;
    border: 2px solid rgba(234, 238, 241, 0.2);
    /* border-radius: 10px; */
    overflow: hidden;
}

.card-vertical .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-vertical .card-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    /* background-color: rgba(37, 100, 235, 0.536); */
    /* background-color: #006eff; */
    color: white;
    padding: .3rem .7rem;
    border-radius: 40px;
    font-size: 55%;
    text-transform: uppercase;
}

.card-vertical .card-content {
    padding: 1rem 0rem;
}

.card-vertical .card-title {
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    line-height: 1.4;
    margin: 0 0 0.5rem 0;
}

.card-vertical a .card-title{
    color: #525f7f !important;
}

.card-vertical .card-title-sm{
    font-size: clamp(.8rem, 3.5vw, .95rem);
    line-height: 1.2;
}
.card-vertical .card-details {
    font-size: clamp(.8rem, 3.2vw, .95rem);
    color: #555;
    margin: 0;
}

.card-vertical .card-details-sm{
    font-size: clamp(.7rem, 3.2vw, .75rem);
    line-height: 1.4;
}

.card-vertical .card-info{
    font-size: .75rem;
    /* font-weight: 500; */
}

.scrollsnap-row {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.scroll-snap-container {
    scroll-snap-type: x mandatory;
    gap: 1rem;
}

.scrollsnap-item-start{
    scroll-snap-align: start;
}

.list-item-underline{
    display: flex;
    padding: 15px 10px;
    /* margin-bottom: 10px; */
    /* background: rgba(156, 163, 175, 0.25); */
    border-bottom: 1px solid rgba(156, 163, 175, 0.25);
    font-size: 0.8em;
    color: black;
}
.list-item-underline:last-child{
    border-bottom: none;
}

.list-item-underline:hover{
    background: rgba(156, 163, 175, 0.04);
    cursor: pointer;
}

.custom-cards-container.flow-vertical{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    gap: .5rem 1rem;
    margin-top: 1.5rem;
}

.custom-card.card-horizontal{
    width: 100%;
    /* max-width: 500px; */
    max-width: calc(33.3% - 1rem);
    display: flex;
    align-items: center;
    padding: .5rem .2rem;
    padding-bottom: 0;
    gap: .8rem;
}

.card-horizontal .card-image-container{
    width: 80px;
    max-width: 80px;
    min-width: 80px;
    height: 80px;
    flex-grow: 0;
    border-radius: 15px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.card-horizontal .card-content{
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding-bottom: .7rem;
    /* border-bottom: 1px solid #e5e5e5; */
}

.card-horizontal .card-title{
    font-size: clamp(0.8rem, 3vw, 0.85rem);
    line-height: 1.4;
}

.card-horizontal .card-details{
    font-size: clamp(0.7rem, 3vw, 0.7rem);
    line-height: 1.3;
}

.card-horizontal .card-title,
.card-horizontal .card-details{
    margin: 0;
}

.card-horizontal .card-info{
    font-size: .65rem;
}

.card-horizontal .arrow{
    padding: 0.1rem 1rem;
    background-color: #ebf6ff;
    border-radius: 15px;
    font-size: clamp(0.85rem, 3.5vw, 0.85rem );
    align-self: center;
    margin-left: auto;
}

.event-card{
    width: 100%;
    /* min-width: 28    0px; */
    min-height: 90px;
    /* background-color: #9ca3af; */
    background-color: white;
    /* border-radius: .5rem;
    overflow: hidden; */
}

.event-card .card-date{
    width: 80px;
    min-width: 80px;
    height: auto;
    max-height: 80px;
    /* border-left: 4px solid #d1d5db; */
    border-left: 4px solid #525f7f;
    border-radius: .3rem 0 0 .3rem;
    overflow: hidden;
    background-color: rgba(89, 149, 240, 0.1);
    /* background-color: #f9fafb; */
    /* background-color: #F3F4F6; */
    text-align: center;
}

.card-date .date-day{
    font-weight: 600;
    font-size: 3rem;
    line-height: 1;
}

.card-date .date-month-year{
    font-size: .6rem;
}

.event-card .card-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .5rem;
    padding: .5rem .8rem;
}

.event-card .card-title{
    font-size: .7rem;
    line-height:  1.2;
    margin: 0;
}

.event-card .card-details{
    font-size: .6rem;
    line-height: 1.2;
    font-weight: 300;
    color: white;
}

.icon-card{
    width: 100%;
    /* max-width: 500px; */
    max-width: 100%;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    background: white !important;
    padding: 1rem .5rem;
    border-radius: .7rem;
}
.icon-card .card-icon{
    width: 80px;
    height: 80px;
    flex: 0 0 80px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background-color: rgba(89, 149, 240, 0.1);
    border-radius: 100%;
}
.icon-card .card-image{
    width: 90px;
    height: 90px;
    flex: 0 0 90px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 100%;
}

.icon-card .card-title p{
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.5;
}

.icon-card .card-details{
    font-size: .7rem;
    text-transform: uppercase;
    margin-bottom: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
}

.offset-down{
    transform: translateY(20px) !important;
}

.text-truncate-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-truncate-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-truncate-5 {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-truncate-6 {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Basic styles for the grid container */
.grid-layout-main {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr; /* First and third columns are the same width, middle is wider */
    grid-template-areas:
        "grid-item--first grid-item--middle grid-item--last";
    gap: 2rem 1rem; /* Gap between columns */
}

/* Styles for grid items */
.grid-item {
    padding: 1rem; /* Padding inside each grid item */
}

.grid-table {
    display: grid;
    grid-template-columns: minmax(auto, 300px) 80px 100px auto;
    width: 100%;
}

.grid-table .grid-header {
    display: contents;
    font-weight: bold;
    background-color: #f0f0f0;
}

.grid-table .grid-body {
    display: contents;
}

.grid-table .grid-row {
    display: contents;
}

.grid-body .grid-cell,
.grid-header .grid-cell{
    padding: 10px;
}

.grid-header .grid-cell{
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: rgb(242, 242, 246);
}

.grid-body .grid-row:nth-child(even) .grid-cell{
    background-color: rgb(247, 247, 250);
}

.page-title-section.large{
    /* padding-top: clamp(9rem, 15vh, 10rem); */
    /* background-color: #001c42; */
}
.page-title-section.medium{
    padding-top: 6rem;
}
.custom-section{
    position: relative;
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.mt-overlap{
    margin-top: -130px
}
.text-slide{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 55.5vh;
    gap: 1rem;
}
.text-slide .icon-image{
    width: 120px;
}
.text-slide .caption{
    font-size: 3rem;
}

.grid-item--first {
    grid-area: grid-item--first;
}
.grid-item--middle {
    grid-area: grid-item--middle;
}
.grid-item--last {
    grid-area: grid-item--last;
}



/* Tablet styles (768px to 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
    .custom-card.card-horizontal{
        max-width: 47%;
    }
    .grid-layout-main {
        grid-template-columns: 1fr 1fr; /* Single column layout */
        grid-template-rows: auto auto; /* Three rows for stacking */
        grid-template-areas:
            "grid-item--middle grid-item--middle"
            "grid-item--first grid-item--last";
    }
    .text-slide{
        height:37.8vh;
    }
    .text-slide .icon-image{
        width: 120px;
    }
    .text-slide .caption{
        font-size: 2.5rem;
    }
    .mt-overlap{
        margin-top: -125px
    }
    .page-title-section.medium{
        padding-top: 8rem;
    }
}


/* Responsive layout for small devices (max-width: 768px) */
@media (max-width: 768px) {
    .grid-layout-main {
        grid-template-columns: 1fr; /* Single column layout */
        grid-template-rows: auto auto auto; /* Three rows for stacking */
        grid-template-areas:
            "grid-item--middle"
            "grid-item--first"
            "grid-item--last";
    }

    .bg-color-md-none{
        background-color: transparent !important;
    }
}


/* Mobile styles (below 768px) */
@media (max-width: 767px) {
    /* .custom-card.card-vertical{
        min-width: 95%;
        max-width: 95%;
    } */

    .custom-card.card-fluid {
        flex: 1 1 calc(100% - 16px);
    }
    .custom-cards-container.flow-vertical{
        gap: 0;
    }
    .custom-card.card-horizontal{
        max-width: 100%;
        padding-bottom: 0;
    }
    .custom-card.card-horizontal:last-child .card-content{
        border: none;
    }
    .custom-card.card-horizontal:last-child{
        padding-bottom: .5rem;
        border-bottom: 1px solid #e5e5e5;
    }
    .icon-card{
        padding: 1rem;
    }
    .icon-card .card-icon{
        width: 70px;
        height: 70px;
        flex: 0 0 70px;
    }
    .icon-card .card-title p{
        font-size: .9rem;
    }
    .custom-search{
        flex-direction: column;
        align-items: center;
        margin-bottom: 1rem !important;
    }
    .custom-search input{
        width: 90%;
    }
    .section-pt-0{
        padding-top: 0;
    }
    .text-slide{
        height:21.5vh;
        gap: .5rem;
    }
    .text-slide .icon-image{
        width: 100px;
    }
    .text-slide .caption{
        font-size: 1.5rem;
    }
    .custom-section{
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    .mt-overlap{
        margin-top: -20px
    }
    .page-title-section.large{
        padding-bottom: 1rem;
    }
    .page-title-section.medium{
        padding-top: 9rem;
    }
    .bottom-image{
        background-position: 60% 50%;
    }
    .offset-down{
        transform: translateY(0px);
    }

}

/* Very small screens (360px and below) */
@media (max-width: 360px) {
/* ... */
}

  /* ------------------------------------------------------------------------------------------------ */
