/* ------ Page Banner ------- */


main{
    padding-bottom: 50px;
}

.page-banner{
    height: 206px; 
    border-bottom: 14px solid #F0B03F; 
    background-color: #1E8000; 
    margin-bottom: 50px;
}

.page-sub-main-header {
    margin-top: 60px;
}

.page-main-header {
    filter: drop-shadow(0px 3px 3px rgba(0,0,0,0.16 ));

    font-family: "Lato-Black", Arial, Helvetica, sans-serif;
    font-size: 33px;
    font-weight: normal;
    line-height: 31.20000457763672px;
    font-style: normal;
    text-align: center;
    color: #ffffff;
}

.page-sub-header {
    font-family: "Lato-Black", Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: normal;
    /* line-height: 31.20000457763672px; */
    font-style: normal;
    text-align: center;
    color: #F0B03F;
    margin-top: 15px;
}

.page-header-section{
    padding-top: 90px;
}
.page-header-section,
.page-header-section .title,
.page-header-section .nav-link_extra,
.page-header-section .nav-link_extra a{
    color: #fff;
    text-align: center;
}

.page-header-section .title{
    margin-bottom: 10px;
    font-size: 1.81em;
}

.page-header-section .nav-link_extra{
    font-size: 1.1em;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 12px;
}

.page-header-section .nav-link_extra span {
    font-size: 0.7em;
    line-height: 29px;
}

/* ------ Page Style ------- */

.page_social_links {
    display: grid;
    align-content: space-evenly;
    gap: 12px;
    justify-items: center;
}

.page_social_links a{
    display: inline-block;
    border: 1px solid #ADDDF6;
    border-radius: 30px;
    width: 45px;
    height: 45px;
    padding: 8px;
    text-align: center;
}
.button-links{
    border: 0;
    /* box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.14); */
    border-radius: 20px;
    max-width: 190px;
    display: flex;
    gap: 0;
    flex-wrap: nowrap;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
}
.button-links a:first-child{
    border-right: 1px solid #008001;
}
.button-links a{
    color: #008001;
    font-size: 0.9375em;
    padding: 0 10px;
    text-decoration: none;
}
.button-links a:hover{
    color: #008001;
}

.section-body table,
.section-body-page table{
    width: 98%;
    border: 1px solid #EBE8E8;
    border-radius: 10px;
    margin: 30px 5px;
    box-shadow: 0 0 13px -4px #ccc;
    overflow: hidden;
}

.section-body table td,
.section-body-page table td {
    border: 1px solid #CCCCCC;
    padding: 10px;
}
.section-body table th,
.section-body-page table th {
    border: 1px solid #CCCCCC;
    padding: 10px;
    background-color: #F5F5F5;
    color: #666;
    text-align: center;
    font-weight: bold;
}

.section-body table tr > td:first-child,
.section-body-page table tr > td:first-child{
    text-align: center;
    padding: 10px 0;
}

.section-body table tr:hover,
.section-body-page table tr:hover{
    background-color: #ADDDF6;
}

.section-body .file-size,
.section-body-page .file-size{
    font-size: 0.9375em;
    color: #707070;
    text-align: center;
}
.pdf-file{
    vertical-align: middle;
    width: 30px;
    float: left;
    position: relative;
    margin-left: -42px;
    margin-bottom: -8px;
    margin-top: -4px;
}

.pdf-file::before{
    content: "";
}

.section-header .title{
    font-size: 2.25em!important;
}

.expand-limit{
    border-top: 1px solid #CCCCCC;
    margin-top: 39px;
    margin-bottom: -45px;
}
.expand-limit .expand-btn{
    background-color: #fff;
    max-width: 215px;
    margin-left: auto;
    margin-right: auto;
    margin-top: -26px;
    padding: 10px;
}

.expand-limit .view-full-page .icon{
    background-image: url('../images/chevron-arrow-down-double-blue.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 18px;
    height: 17px;
    margin-top: 4px;
}

.expand-limit .view-full-page:hover{
    color: #08538f;
}

.expand-limit .view-full-page{
    font-size: 1em;
    color: #0072BB;
    max-height: 33px;
    border: 1px solid #0578C1;
    border-radius: 10px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 7px;
    padding: 5px;
    padding-top: 4px;
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.14);
    cursor: pointer;
}

.page-body {
    max-height: 700px;
    overflow: hidden;
    transition: max-height 0.3s ease; /* Smooth animation for height changes */
}
.icon {
    transition: transform 0.3s ease; /* Smooth animation for rotation */
    width: 38px;
}

.rotated {
    transform: rotate(180deg);
}

/* --------- Board Members -------- */

.board-top-section,
.board-members-section{
    display: flex;
    flex-wrap: wrap;
    height: auto;
    justify-content: center;
    flex-direction: row;
    min-height: 345px;
    gap: 20px;
}

.board-members-section{
    margin-top: 40px;
}

.board-profile-card{
    margin: 10px;
    height: auto;
    padding-bottom: 15px;
}

.board-profile-card .thumbnail {
    height: 339px;
    background-color: #BEBEBE;
}

.board-profile-card .info .fullname {
    border-radius: 24px;
    line-height: 23px;
}

/* --------- News Center -------- */

.news-list-panel{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    flex-direction: row;
    gap: 30px;
}

.news-list-panel .news-card{
    margin: auto;
    max-width: 310px;
    width: 100%;
}

.featured-news-card{
    display: flex;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    margin-bottom: 40px;
}

.featured-news-card .cover {
    height: 412px;
    max-width: 700px;
}

.featured-news-card .info {
    max-width: 325px;
    padding: 34px 34px;
    margin: 0;
}

.featured-news-card .info .summary {
    font-family: arial;
    font-size: 1em;
    color: #a8a8a8;
    text-decoration: none;
}

.featured-news-card .info .read-more-btn{
    background-color: #0578C1;
    color: #fff;
}

.featured-news-card .info .read-more-btn {
    background-color: #0578C1;
    color: #fff;
    display: inline-block;
    padding: 5px 28px;
    margin-top: 20px;
    border-radius: 10px;
    font-size: 0.95em;
}

.featured-news-card .info .title {
    margin-bottom: 15px;
}

.featured-news-card .info .top {
    margin-bottom: 21px;
}

/* ----------- Photo Gallery ----------  */

.thumbnail-list {
    display: flex;
    justify-content: flex-start;
    /* justify-items: stretch; */
    flex-wrap: wrap;
    align-content: stretch;
    flex-direction: row;
    align-items: stretch;
    gap: 20px;
    max-width: 1038px;
    margin-left: 9px;
}

.thumbnail-list a.thumbnail-preview span,
.thumbnail-list a.thumbnail-preview img {
    border: 1px solid #E2E2E2;
    background-color: #E2E2E2;
    background-size: cover;
    display: block;
    width: 178px;
    height: 133px;
    border-radius: 10px;
    overflow: hidden;
}


/* Album */
/* Album Detail */
.album .title {
    font-size: 1.875em !important; 
    color: #707070;
}
.album .photo-preview {
    background-size: cover;
    width: 100%;
    /* height: 400px;  */
    animation-duration: 10s; /* Adjust duration for slower effect */
    animation-timing-function: ease; /* Use ease timing function for smoothness */
    animation-iteration-count: infinite; /* Make the animation loop indefinitely */
}

.related-album-list {
    /* display: flex; */
    /* gap: 28px; */
    /* justify-content: center; */
    /* align-items: flex-start; */
    /* max-width: 1185px; */
    margin-left: auto;
    margin-right: auto;
}

.album-list {
    margin: 40px 0;
}

/* Album Card */
a.album-link, 
a.album-link:hover{
    text-decoration: none;
}

.album-card {
    display: block;
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.14);
    background-color: rgb(255, 255, 255);
    /* max-width: 335px; */
    width: 100%;
    height: 320px;
    overflow: hidden;
    margin: 20px 0;
    transition: box-shadow 0.3s ease; /* Add transition */
}

.album-card:hover {
    box-shadow: 0px 0px 9px 0px rgb(6 120 193 / 0.54);
}

.album-card .cover{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    background-color: #333;
    background-size: cover;
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.6s ease 0s;
    transition: all 0.6s ease 0s;
}

.album-card:hover .cover{
    -webkit-transform: scale(1.1, 1.1);
    -ms-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
}

.album-card .info-top {
    padding: 20px;
}

.album-card .info-top span {
    float: left;
}

.album-card .info-bottom {
    /* background-color: #fff; */
    background: linear-gradient(180deg, rgb(2 0 36 / 0%) 0%, rgba(0, 0, 0, 1) 130%);
    padding: 16px 30px;
}

.album-card .info-bottom .top .disc {
    width: 5px;
    height: 5px;
    border-radius: 20px;
    background-color: #cecccc;
    display: inline-block;
    margin-top: 4px;
}

.album-card .title {
    font-size: 0.95em!important;
    color: #fff;
    font-weight: bold;
    line-height: 1.2;
    /* height: 44px; */
    overflow: hidden;
    margin-bottom: 10px;
}

.album-card .info-bottom .top .album-date {
    color: #fff;
}

.album-card .info-bottom .top .album-location {
    color: #FFD800;
    text-transform: uppercase;
}


.album-card .info-bottom .top {
    font-size: 0.75em;
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 8px;
}

/* Define keyframes for fade animation */
@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Define keyframes for slide animation */
@keyframes slide {
    from {
        transform: translateY(-20px); /* Start a bit above the final position */
    }
    to {
        transform: translateY(0);
    }
}

/* Define keyframes for zoom animation */
@keyframes zoom {
    from {
        transform: scale(0.8); /* Start a bit smaller */
    }
    to {
        transform: scale(1);
    }
}

/* Define keyframes for Ken Burns effect */
@keyframes ken-burns {
    0% {
        transform: scale(1) translate(0, 0); /* Start at normal size and position */
    }
    50% {
        transform: scale(1.2) translate(5%, 5%); /* Zoom in slightly and pan right and down */
    }
    100% {
        transform: scale(1) translate(0, 0); /* Return to normal size and position */
    }
}

/* ----------- FAQ ----------  */

.faq p {
    color: #666666;
}
.faq .accordion {
    border: 1px solid #EBE8E8;
    border-radius: 10px;
    background-color: #EBE8E8;
    overflow: hidden;
    margin-top: 30px
}

.faq .accordion .accordion-header, 
.faq .accordion .accordion-button {
    background-color: #f5f5f5de;
    font-size: 0.98em;
}

.faq .accordion .accordion-button strong {
    padding: 0px 18px;
    color: #666666;
}

.faq .accordion-button:not(.collapsed) {
    background-color: #0072bb14;
}

.faq .accordion .accordion-body {
    font-size: 0.935em;
    color: #666666;
    padding: 20px 45px;
    line-height: 23px;
}

.faq .accordion-button::after{
    content: none;
}

/* ----------- News ----------  */

.news-date-panel {
    text-align: center;
    border: 2px solid #D3D3D3;
    border-radius: 5px;
    padding: 15px 0;
    margin-bottom: 30px;
    display: grid;
    align-content: center;
    justify-items: center;
    width: 115px;
    margin-left: -13px;
    margin-right: 20px;
}

.news-date-panel .month {
    text-transform: uppercase;
    font-size: 0.9375em;
}

.news-date-panel .day {
    font-size: 3.4375em;
    line-height: normal;
}

.news-date-panel .year {
    border-top: 2px solid;
    padding-top: 4px;
    padding-left: 5px;
    padding-right: 5px;
}

.news-header,
.news-body{
    padding-left: 50px;    
}

.news-header .title {
    margin-bottom: 10px;
}

.news-info {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.9345em;
}

.news-info .news-category {
    color: #187D28;
}

.news-info .news-location {
    color: #999999;
}
.news-info span {
    width: 5px;
    height: 5px;
    background-color: #666;
    border-radius: 30px;
}

.news-pic{
    margin: 9px;
    margin-bottom: 35px;
    background-color: #E2E2E2;
    height: 542px;
    border-radius: 10px;
    box-shadow: 0 0 9px rgb(0 0 0 / 14%);
    background-repeat: no-repeat;
    background-size: cover;
}

.related-news-list {
    display: flex;
    /* gap: 28px; */
    justify-content: center;
    align-items: flex-start;
}

.document-container{
    margin: 9px;
    margin-top: 35px;
    margin-bottom: 35px;
    background-color: #fff;
    height: 1359px;
    width: 100%;
    max-width: 963px ;
    border-radius: 10px;
    box-shadow: 0 0 9px rgb(0 0 0 / 14%);
}

.documents-links {
    border-radius: 10px;
    box-shadow: 0 0 9px rgb(0 0 0 / 14%);
    max-width: 400px;
    line-height: 31px;
    border-radius: 21px;
    margin-left: 26%;
    margin-right: 29%;
}

/* Rita branch Office */

.search-bg {
    
}

/* ---- particles.js container ---- */ 
canvas{ 
    display: block; 
    vertical-align: bottom; 
    margin-top: -150px;
} 
#particles-js{ 
    /* position:absolute;  */
    width: 100%; 
    height: 206px; 
    /* background-color: #202020;  */
    background-image: url(""); 
    background-repeat: no-repeat; 
    background-size: cover; 
    background-position: 50% 50%; 
    overflow: hidden;
} 

/* ---- Social Media ---- */ 
.icon-container .icon {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 10px #00000026;
    border-radius: 5px;
    padding: 10px;
    opacity: 1;
}

.icon-container .btn{
    padding: 6px;
}

.section-header-social-page {
    max-width: 314px;
    /* float: right; */
    margin-top: -28px;
    background-color: #fff;
    margin-top: 20px;
}

.section-header-social-page .btn {
    width: 50px;
}

/* ---- Certificates ---- */ 

.certificates {
    border: 1px solid #E8E8E8;
    border-radius: 10px;
    padding: 35px;
    margin: 30px 0;
}

.certificates legend {
    float: none;
    text-align: center;
    display: inline-block;
    width: auto;
    padding: 0 20px;
    font-size: 20px;
    text-transform: uppercase;
    color: #008001;
    font-weight: bold;

}

.certificates ul.document-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.certificates ul.document-list li {
    list-style: none;
    display: inline-block;
    font-size: 20px;
    /* font-weight: bold; */
    text-align: center;
}

.certificates ul.document-list li img {
    height: 170px;
    margin: 5px;
    border-radius: 5px;
}

/* --------- Board Members -------- */

.board-profile-card{
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.14);
    max-width: 312px;
    width: 100%;
    height: 410px;
    overflow: hidden;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
}

.board-profile-card .thumbnail{
    height: 316px;
    background-color: #333;
    background-size: cover;
    background-repeat: no-repeat;
}

.board-profile-card .info {
    font-size: 1em;
}
.board-profile-card .info .fullname{
    border-radius: 10px;
    background-color: #1f8013;
    color: #fff;
    margin-left: 30px;
    margin-right: 30px;
    margin-top: -17px;
    margin-bottom: 10px;
    padding: 6px 20px;
    text-align: center;
    position: relative;
    line-height: 30px;
    z-index: 1;
}

.ag-profile-card .info .jobtitle,
.board-profile-card .info .jobtitle{
    color: rgb(102, 102, 102);
    line-height: 1.2;
    text-align: center;  
    margin: 0 10px;
}

.board-top-section,
.board-members-section{
    display: flex;
    flex-wrap: wrap;
    height: auto;
    justify-content: center;
    flex-direction: row;
    min-height: 345px;
    gap: 20px;
}

.board-members-section{
    margin-top: 40px;
}

.board-profile-card{
    margin: 10px;
    height: auto;
    padding-bottom: 15px;
}

.board-profile-card .thumbnail {
    height: 339px;
    background-color: #BEBEBE;
}

.board-profile-card .info .fullname {
    border-radius: 24px;
    line-height: 23px;
}

/* --------- Services -------- */

.services-section.services-page .nav-link.active,
.services-section.services-page .nav-link:hover {
    color: #fff;
    background-color: #008013;
}

.services-section.services-page .service-categories-list .panel-item,
.services-section.services-page .body-work-list .panel-item,
.services-section.services-page .maintenance-list .panel-item,
.services-section.services-page .repair-list .panel-item,
.services-section.services-page .diagnosis-list .panel-item {
    border: 1px solid #E8E8E8;
}

.services-section.services-page .body-work-list,
.services-section.services-page .maintenance-list,
.services-section.services-page .repair-list,
.services-section.services-page .diagnosis-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
}

.services-section.services-page .service-categories-list .panel-item, 
.services-section.services-page .body-work-list .panel-item, 
.services-section.services-page .maintenance-list .panel-item, 
.services-section.services-page .repair-list .panel-item, 
.services-section.services-page .diagnosis-list .panel-item {
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    background-color: #fff;
    width: 300px;
    overflow: hidden;
}

/* ----------- FAQ ----------  */

.faq p {
    color: #666666;
}
.faq .accordion {
    border: 1px solid #EBE8E8;
    border-radius: 10px;
    background-color: #EBE8E8;
    overflow: hidden;
    margin-top: 30px
}

.faq .accordion .accordion-header, 
.faq .accordion .accordion-button {
    background-color: #f5f5f5de;
    font-size: 0.98em;
}

.faq .accordion .accordion-button strong {
    padding: 0px 18px;
    color: #666666;
}

.faq .accordion-button:not(.collapsed) {
    background-color: #0072bb14;
}

.faq .accordion .accordion-body {
    font-size: 0.935em;
    color: #666666;
    padding: 20px 45px;
    line-height: 23px;
}

.faq .accordion-button::after{
    content: none;
}