﻿/*About Image and on hover show text*/
.custom-card {
position: relative;
overflow: hidden;
text-align: center;
}

.custom-card img {
width: 100%;
height: auto;
border-radius:4px;
}

.custom-card .content {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
/*background-color: #0c233c;*/
background-color: rgba(12, 35, 60, 0.9); /* Slightly transparent background */
color: white;
opacity: 0;
transition: opacity 0.3s;
border-radius: 2px;
padding: 10px;
text-align: left;
}

.custom-card .content p {
margin-bottom: 0px !important;
}

.custom-card:hover .content {
opacity: 1;
animation: AboutZoomInOut 1.2s forwards;

}

@keyframes AboutZoomInOut {
    0%

{
    transform: scale(1);
}

50% {
    transform: scale(1.05); /* Slight zoom in */
}

100% {
    transform: scale(1); /* Zoom out to original size */
}

}

.sitemaplist a{
color:#000 !important;
}


/*About Image and on hover show text */
/*Start Event page tab 
.eventcfotab .nav-tabs {
border-bottom: 2px solid #ddd;
}*/
.eventcfotab .nav-tabs .nav-link {
    color: #000;
    border: 1px solid #00aea7;
    border-radius: 5px 5px 0 0;
    margin-right: 5px;
    display: flex;
    align-items: center;
}

.eventcfotab .nav-tabs .nav-link.active {
background-image: linear-gradient(to right top, #0c233c, #073650, #004a63, #005f74, #097581); /* Active tab color */
color: #fff;
border-color: #ddd #ddd #fff;
font-weight: 600;
}

.eventcfotab .nav-tabs .nav-link:hover {
background-color: #097581;
color: #fff;
}

.eventcfotab .tab-content {
border: 1px solid #ddd;
border-radius: 0 5px 5px 5px;
padding: 15px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.eventcfotab .nav-link .fa {
margin-right: 10px;
color: #0c233c;
}

.cfo-project {
    position: relative;
    overflow: hidden;
    max-height: 345px;
    height: 332px !important;
}

/*.cfo-project {
position: relative;
overflow: hidden;*/
/*height: 285px;*/
/*height: 345px;
}*/

.cfo-project img {
width: 100%;
height: auto !important;
max-height: 285px;
object-fit: cover;
}

.cfo-project .title {
background-color: #0c233c;
color: white;
text-align: center;
padding: 10px;
height: 60px; /* Fixed height */
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}

.cfo-project .hover-content {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
/*background-color: #0c233c;*/
background-color: rgba(12, 35, 60, 0.9); /* Slightly transparent background */
color: white;
padding: 20px 20px 20px 20px;
opacity: 0;
transition: opacity 0.3s;
overflow-y: auto;
}


.cfo-project:hover .hover-content {
opacity: 1;
animation: EventZoomInOut  1.2s forwards;
}

@keyframes EventZoomInOut {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05); /* Slight zoom in */
    }

    100% {
        transform: scale(1); /* Zoom out to original size */
    }
}

.ytubelogo {
width: 20px !important;
}


.tab-content .card .btn-outline-info {
padding: 5px 10px;
margin-top: 5px;
border: 1px solid #0c233c;
border-radius: 5px;
text-decoration: none;
transition: background-color 0.3s, color 0.3s;
color: #fff;
background-color: #00AEA7;
border: 0px;
/* padding: 2px 10px 4px 10px;*/
}

.tab-content .card .btn-outline-info:hover {
background-color: #047480;
color: #fff;
}

.tab-content .card a .btn-outline-info {
padding: 5px 10px;
margin-top: 5px;
border: 1px solid #0c233c;
border-radius: 5px;
text-decoration: none;
transition: background-color 0.3s, color 0.3s;
color: #fff;
background-color: #00AEA7;
border: 0px;
/* padding: 2px 10px 4px 10px;*/
}

.tab-content .card a .btn-outline-info:hover {
background-color: #047480;
color: #fff;
}

.h1, h1 {
    font-size: 1.5rem !important;
}

h1:before {
content: '' !important;
position: absolute !important;
bottom: 0px !important;
left: 0 !important;
width: 70px !important;
height: 3px !important;
background: #12a89d !important;
top: 30px !important;
}

/*Publication tab design*/
.cfopublicationtab .nav-tabs .nav-link {
color: #000;
border: 1px solid #00aea7;
border-radius: 5px 5px 0 0;
margin-right: 5px;
display: flex;
align-items: center;
}

.cfopublicationtab .nav-tabs .nav-link.active {
background-image: linear-gradient(to right top, #0c233c, #073650, #004a63, #005f74, #097581); /* Active tab color */
color: #fff;
border-color: #ddd #ddd #fff;
font-weight: 600;
}

.cfopublicationtab .nav-tabs .nav-link:hover {
background-color: #097581;
color: #fff;
}

.cfopublicationtab .tab-content {
border: 1px solid #ddd;
border-radius: 0 5px 5px 5px;
padding: 15px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cfopublicationtab .nav-link .fa {
margin-right: 10px;
color: #0c233c;
}

.cfopublicationtab .publication-card {
position: relative;
overflow: hidden;
height: 290px;
}

.cfopublicationtab .publication-card img {
width: 100%;
height: auto !important;
max-height: 325px;
object-fit: cover;
}

.cfopublicationtab .publication-card .title {
background-color: #0c233c;
color: white;
text-align: center;
padding: 10px;
height: 60px; /* Fixed height */
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}

.cfopublicationtab .publication-card .hover-content {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(12, 35, 60, 0.9); /* Slightly transparent background */
color: white;
padding: 20px;
opacity: 0;
transition: opacity 0.3s;
overflow-y: auto;
}

.cfopublicationtab .publication-card:hover .hover-content {
opacity: 1;
animation: PublicationZoomInOut 1.2s forwards;
}

@keyframes PublicationZoomInOut {
    0%

{
    transform: scale(1);
}

50% {
    transform: scale(1.05); /* Slight zoom in */
}

100% {
    transform: scale(1); /* Zoom out to original size */
}

}
/*End Publication tab design*/








/*End Event page tab*/
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
    border-radius: 50px;
}

::-webkit-scrollbar {
    width: 6px;
    background-color: #00000000;
}

::-webkit-scrollbar-thumb {
    border-radius: 50px;
    background-color: #F5F5F5;
    background-image: -webkit-gradient(linear, 40% 0%, 75% 84%, from(#008b8b), to(#008b8b), color-stop(.6,#54DE5D))
}

a {
    text-decoration: none;
}

.navbar-fixed-top {
    position: fixed;
    top: 0px;
    width: 100%;
    height: auto;
    z-index: 9999 !important;
}

.topnavbanner {
    background-image: url(https://localhost:44389/assets/img/logo/top-header_banner_3.png);
    width: 100%;
    Background-size: contain;
    background-repeat: no-repeat;
    /*Justify-content: center;*/
    background-position: center;
}
/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
/* Carousel base class */
.carousel {
    margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    bottom: 3rem;
    z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
    height: 29.5rem;
}

    .carousel-item > img {
        position: absolute;
        top: 60px;
        left: 0;
        min-width: 100%;
        height: auto;
        width: 100%
    }


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.marketing h2 {
    font-weight: 400;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
    margin-right: .75rem;
    margin-left: .75rem;
}
/* rtl:end:ignore */


/* Featurettes
------------------------- */

.featurette-divider {
    margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.05rem;
}

footer {
    background-color: #0c233c;
    color: #f8f9fa !important;
    z-index: 99999999999999999999;
    position: relative;
}


.sponsors img {
    height: 160px;
    width: 100%;
}

#quicklinks label, #livefeed label {
    color: #000 !important;
    font-size: 18px;
}

.btn-primary {
    background: #047480 !important
}

.inNews a {
    color: #008b8b;
    text-decoration: none;
    font-style: italic !important;
    background: #FFF;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    border: 1px solid #008b8b;
}

    .inNews a:hover {
        color: #FFF;
        background: #047480;
    }

.inNews p {
    line-height: normal;
}

.load {
    display: none;
}

.load-more {
    background-color: #ccc;
    font-style: italic
}

    .load-more:hover {
        background-color: #047480;
        text-decoration: none;
        color: #fff;
    }

.loadpublications {
    display: none;
}

.publications a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
}

    .publications a:hover {
        color: #008b8b;
    }

.publications .btn {
    font-weight: normal !important;
    color: #fff !important;
    padding: 2px 10px 4px 10px;
    font-size: 14px;
    border: 0px;
    border-radius: 0px 10px;
}

    .publications .btn:hover {
        background: #000;
        border-radius: 10px 0px;
    }

.publications .btn-info:active {
    background-color: #000;
}

.publications-more {
    background-color: #ccc;
    font-style: italic
}

    .publications-more:hover {
        background-color: #047480;
        text-decoration: none;
        color: #fff;
    }

.noContent:hover {
    cursor: not-allowed;
    color: #000;
    background-color: #eee;
}

.noContent {
    color: #000;
    background-color: #eee;
    outline: none;
    box-shadow: none;
}

.bg-light4 {
    background-color: #fff0f0;
}

.news .card {
    background-color: #f4f4f4 !important;
    border-radius: 0px !important;
    border: 0;
}

.news .card-title a {
    color: #047480;
    font-size: 16px;
}
.news .card-title a:hover {
        color: #000;
}

.news p a {
    color: #000;
    font-style: italic;
}

.news p a:hover {
/* color: #047480;*/
font-style: italic;
}

.news p {
font-size: 14px;
text-align: justify;
}

.news .card .btn-cfo {
color: #fff;
float: right;
font-style: normal;
}

.news .card .btn-cfo:hover {
background: #047480;
color: #fff;
    }

.publications .card {
    background-color: #FFF !important;
    border-radius: 0px !important;
    border: 0;
}

.height90 {
    height: 90px;
}

.custom-select {
    display: inline-block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: 0.375rem 1.75rem 0.375rem 0.75rem;
    line-height: 1.5;
    color: #495057;
    vertical-align: middle;
    background: #fff url("data:image/svg+xml;charset=utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>") no-repeat right;
    background-size: 10px;
    border: 1px solid #e8e8e8;
    border-radius: 0.25rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-right: 12px solid #e8e8e8;
}

.noEventsImg {
    width: 220px;
}

.intheNews {
    height: 300px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.eventsHeadings {
    background: #e4ebeb;
    padding: 10px 10px 15px 15px;
    margin-bottom: 10px;
}

.eventsHeadings h5 {
margin-bottom: 0px;
}

.modal {
    z-index: 9999999
}

.newsMdl:hover {
color: #008b8b;
cursor: pointer
}

.newsMdl a {
color: #008b8b;
}

.splide__pagination {
bottom: -15px !important;
}

.boardMembers figure {
text-align: center
}

.boardMembers figure img {
width: 11rem;
height: 12rem;
}

.boardMembers figcaption {
font-size: 1.25rem;
font-weight: 600;
text-align: center;
color: #047480 !important
}

.boardMembers figure img:hover {
    border: 1px #047480 solid;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}

.not-found {
display: flex;
justify-content: center;
align-items: center;
/*height: 100vh;*/
text-align: center;
color: #6c757d;
margin-top: 20px;
}

.not-found .icon {
font-size: 4rem;
margin-bottom: 1rem;
}

.not-found p {
font-size: 1.5rem;
}

.splide__arrow {
    top: 38% !important;
}

.colImg {
    height: 90px;
}

.retreats a {
    color: #047480
}

.heightScroll {
    height: 340px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.webinarsSpeakers ul li {
    font-size: 14px
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.logo-size-set {
    width: 60px;
    height: auto;
}

.text-x-twitter {
    color: #000;
}

.text-twitter {
    color: #1DA1F2;
}

.text-linkedin {
    color: #0e76a8;
}

.text-facebook {
    color: #3b5998;
}

.text-youtube {
    color: #c4302b;
}

.navlink-active {
    font-weight: bold;
    /*background-color: #0C233C;*/
    /*box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;*/
    border-radius: 1px;
    background-image: linear-gradient(to right top, #0c233c, #073650, #004a63, #005f74, #097581);
    padding: 1.2rem !important;
}

.link-light:focus, .link-light:hover {
    text-decoration-color: RGBA(249, 250, 251, var(--bs-link-underline-opacity, 1)) !important;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px !important;
    border-radius: 1px !important;
    background-image: linear-gradient(to right top, #0c233c, #073650, #004a63, #005f74, #097581) !important;
    padding: 1.2rem !important;
}

.bg-info {
    background-color: #00AEA7 !important;
    /*background-color: #047480 !important;*/
}

.text-info {
    color: #047480 !important;
}

.btn-outline-info {
    color: #00AEA7;
    border-color: #00AEA7;
    border-radius: 10px;
}

    .btn-outline-info:hover {
        color: #fff;
        background-color: #047480;
        border-color: #047480;
    }

.btn-info {
    color: #fff;
    background-color: #047480;
    border-color: #047480;
}

.bg-light {
    background-color: #eeeeee !important;
}

.thumbnail-size-set {
    width: 11rem;
    height: 14rem;
}

.btn-cfo {
    color: #fff;
    background-image: linear-gradient(to right top, #0c233c, #073650, #004a63, #005f74, #097581) !important;
    border: none;
}

    .btn-cfo:hover {
        color: #fff;
    }

.cfo-txt {
  color:  #00aea7;
}

img.img-thumbnail.thumbnail-size-set:hover {
    border: 1px #047480 solid;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}

.gallery-img-width-set {
    width: 15rem;
}

.custom-img a img {
    object-fit: cover;
    object-position: center;
}

/*.zoom-hover:hover{
    zoom:1.1;
}*/

/*Hide Right side nav*/

.sticky-top {
    display: none !important;
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .featurette-heading {
        font-size: 50px;
    }
}

@media (min-width: 62em) {
    .featurette-heading {
        margin-top: 7rem;
    }
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    .gallryFrmSet {
        z-index: -9999999 !important;
    }
    .navbar-fixed-top {
        position: fixed;
        top: 0px; /*top: 92px;*/
        width: 100%;
        height: auto;
        z-index: 9999 !important;
    }

    svg.bd-placeholder-img.rounded-circle {
        width: 112px;
        height: 112px;
    }

    .carousel-item {
        height: 13rem;
    }

    .gallery-img-width-set {
        width: 19.5rem !important;
    }

    .cfopublicationtab .adj-height .publication-card {   
        height: unset !important;
    }
}

@media screen and (min-width:992px) {
    .right-scroller {
        /*height: calc(100vh - 204px);*/
        overflow-y: auto;
        overflow-x: hidden;
        position: fixed;
        width: 20%
    }
    .twfeed {
        width: 100%;
    }
}


@media only screen and (max-width: 768px) {
    .carousel {
        margin-top: 122px;
    }
}


.spacegap {
    margin-top: 230px; /* Default for mobile or small screens */
}

@media (min-width: 768px) {
    .spacegap {
        margin-top: 95px; /* For desktop or large screens */
    }
}


/* For small screens (mobile) */
@media (max-width: 767px) {
    .cfo-project {
        max-height: 237px;
    }
}
