/**
* GLOBAL SEARCH FORM STYLING
*/
#searchform {
	position: fixed;
    width: 100%;
    top: -92px;
    left: 0;
    z-index: 1499;
    text-align: center;
    padding: 10px 0;
    background-color: rgba(0, 0, 0, 0.5);
	transition: all 0.5s ease-in-out;
}

#searchform.active {
	top: 89px;
}
#searchform a{
    position: absolute;
    right: 20px;
    top: 17px;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
}
@media only screen and (max-width: 767px){
    #searchform a{
        right: 10px;
        top: 23px;
    }
}
#searchform input[type="text"]
{
	width: 70%;
    padding: 5px;
    font-size: 16px;
    color: #000000;
}

#searchform input[type="submit"]
{
	font-size: 13px;
    padding: 9px;
    border: none;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0;
    background-color: #23a762;
    color: #ffffff;
}

#searchform .screen-reader-text {
	display: none;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 160px;
    background: #0171c0;
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Show when active */
.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}
@media (max-width: 768px){
    #searchform.active {
	    top: 62px;
        padding: 15px 30px;
    }

}
/*
**
* LET'S CONNECT FORM STYLING
*/
/* Floating Phone Button - FW CSS*/
.lc-open-btn {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: #0171c0;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: all 0.3s ease;
}
.lc-open-btn:hover {
    transform: scale(1.1);
}

.letsconnect-wrapper {
	/*position: absolute;
    top: 90px;
    right: -300px;
    z-index: 999;*/
    /*FW CSS*/
     position: fixed;
    bottom: 152px;
    right: 2px;
    display: none;
    z-index: 9999;
	transition: all 0.3s ease-in-out;
}
#lc-close.active {
    /* You can style the close button when active */
}

.letsconnect-wrapper.open {
	/*right: 0;*/ /*FW css*/
    display: block;
}

.lcform-wrapper {
	width: 360px;
	padding: 20px;
	background-color: #014c82;
	border: none;
    max-height: calc(100dvh - 180px); /* prevents top cut */
    overflow-y: auto;  
}

.lcform-wrapper h2 {
	color: #ffffff;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin-bottom: 0px;
    text-transform: inherit;
    font-family: Gotham !important;
}
.lcform-wrapper p{
	color: #ffffff;
    font-size: 14px;
}
.lcform-wrapper .wpcf7-form-control-wrap {
    position: relative;
    display: block;
    margin: 10px 0;
    padding: 0;
}

.lcform-wrapper input {
	width: 100%;
    padding: 8px 20px;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
}
.xdsoft_datetimepicker {
    box-shadow: 0 5px 15px -5px rgba(0,0,0,0.506);
    background: #fff;
    border-bottom: 1px solid #bbb;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-top: 1px solid #ccc;
    color: #333;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    padding: 8px;
    padding-left: 0;
    padding-top: 2px;
    position: absolute;
    z-index: 9999;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: none;
    /*top: 361.6px !important;*/
}

.lcform-wrapper textarea {
	width: 100%;
	max-height:70px;
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
}

.lcform-wrapper input::placeholder,
.lcform-wrapper textarea::placeholder {
	font-size: 16px;
	color: #ffffff;
}

.lcform-wrapper .wpcf7-checkbox {
	display: flex;
	margin-top: 20px;
}

.lcform-wrapper .wpcf7-checkbox .wpcf7-list-item {
	display: flex !important;
	margin: 0;
	padding: 0;
}
.lcform-wrapper .wpcf7-radio, .lcform-wrapper  .wpcf7-radio .wpcf7-list-item{
    display: flex !important;
}
.lcform-wrapper  .wpcf7-radio .wpcf7-list-item:first-child{
    margin-left: 0px !important;
}
.lcform-wrapper  .wpcf7-radio  .wpcf7-list-item-label{
    margin-left: 5px !important;
}
.lcform-wrapper  .wpcf7-radio .wpcf7-list-item input{
    width: 20px !important;
    padding: 0;
    margin: 0;
}
.lcform-wrapper  .wpcf7-radio .wpcf7-list-item-label{
    color: #fff !important;
    font-size: 14px !important;
}
.lcform-wrapper .wpcf7-checkbox .wpcf7-list-item:first-child {
	margin-right: 20px;
}

.lcform-wrapper .wpcf7-checkbox .wpcf7-list-item input[type='checkbox']
{
	width: 20px;
    border: 1px solid #fff;
	margin: 0;
}

.lcform-wrapper .wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label {
	color: #ffffff;
	font-size: 12px;
}

.lcform-wrapper .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
	font-size: 12px;
    color: #ff9d5a;
    margin: 5px 0 0;
    display: block;
}

.letsconnect-wrapper .lc-close {
    text-align: center;
   position: static;
    right: 16px;
    top: 0px;
    border: none;
    background: transparent;
    font-size: 24px;
}
.letsconnect-wrapper .btn-wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 20px;
}
.letsconnect-wrapper .lc-close svg {
	color: #ffffff;
	transition: all 0.5s ease-in-out;
}

.letsconnect-wrapper .lc-close.active svg {
	transform: rotate(180deg);
}

.lcform-wrapper .wpcf7-response-output {
	position: absolute;
    bottom: 0;
    font-size: 12px;
    left: 0;
    right: 0;
    text-align: center;
    color: #ffffff;
    border: none !important;
}
@media (max-width: 768px) {
    .letsconnect-wrapper {
        bottom: 0;
        right: -100%;
        width: 100%;
        height: 100dvh;
    }
    .letsconnect-wrapper.open {
        right: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.8);
    }
    .lcform-wrapper {
       height: auto;
        max-height: 100dvh;
        padding-bottom: 80px;
        width: 60%;
    }
    body.lc-no-scroll {
        overflow: hidden;
        height: 100vh;
        touch-action: none; /* stops mobile swipe scroll */
    }
}
@media (max-width: 576px) {
    .lcform-wrapper {
        max-height: 90dvh;
        padding-bottom: 20px;
        width: 90%;
    }

}

/**/
input:not([type="checkbox"]):not([type="radio"]),
textarea,
select {
  font-size: 16px !important;
}

.walcf7-datepicker-main {
    position: relative;
}

.blue-btn{
    font-size: 14px;
    display: block;
    background-color: #064f9e;
    text-decoration: none;
    padding: 15px 40px 15px;
    border-radius: 50px;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
    width: fit-content;
    margin-top: 30px;
}

.page-404 {
    display: flex;
    align-items: center;
    text-align: center;
}
.page-404 h1 {
    font-size: 120px;
    margin-bottom: 0;
}
.page-404 h2 {
    font-size: 32px;
    margin-bottom: 15px;
}
.search-title .archive-header-inner{
    padding-bottom: 50px;
}
.search-title h1{
    font-size: 50px;
    line-height: 1.5;
    font-weight: 500;
}
.search-title h1 .color-accent{
    color: #064f9e;
}
.search-title .archive-subtitle strong{
    font-weight: 500;
}
.search-blocks .blogitem{
    background-color: #f3f3f3;
    margin-bottom: 30px;
    border: 1px solid #f3f3f3;
}
.search-blocks .blogitem-text{
    padding: 30px;
}
.search-blocks .blogitem-foot{
    padding: 0 30px 30px;
}
.search-blocks a{
    text-decoration: none !important;
}
.search-blocks .description{
    line-height: 1.2;       /* your line height */
    max-height: 6em;          /* 1.5em * 4 lines */
    overflow: hidden;
    position: relative;
    color: #212529 !important;
}

.search-blocks .description::after {
    content: '...';
    position: absolute;
    bottom: 0;
    right: 0;
    padding-left: 10px;
    background: #f3f3f3; /* match your container bg */
}
.search-blocks .readmore-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px; /* space between text and arrow */
    font-weight: 600;
    color: #064f9e; /* adjust as needed */
    text-decoration: none;
    transition: all 0.3s ease;
}

.search-blocks .readmore-cta::after {
    content: '›'; /* right chevron */
    font-size: 16px; /* adjust size */
    display: inline-block;
    transition: transform 0.3s ease;
}
.search-blocks .blogitem{
    transition: all 0.3s ease;
}

.search-blocks .blogitem:hover .readmore-cta::after {
    transform: translateX(5px);
}
.search-blocks .blogitem:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); /* shadow on hover */
    transform: translateY(-3px); /* optional slight lift */
}

/* Image zoom on hover */
.search-blocks .blogitem .item-head{
    overflow: hidden;
}
.search-blocks .blogitem .item-head img {
    transition: transform 0.3s ease;
}

.search-blocks .blogitem:hover .item-head img {
    transform: scale(1.05);
}
.search-pagination .page-numbers{
    border-radius: 5px !important;
    width: 45px;
    height: 45px;
    line-height: 45px;
}
.custom-container{
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 30px;
}
.search-pagination .page-numbers.current{
    background-color: #064f9e;
    color: #fff;
}
@media only screen and (max-width: 768px){
    .search-title h1{
        font-size: 40px;
        line-height: 1.3;
        font-weight: 500;
    }
}

/**/
/* Hide previous & next month days */
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    opacity: 0;
    visibility: hidden;
    font-size: 0;
    line-height: 0;
    height: 0 !important;
    margin: 0;
    padding: 0;
    border: none;
}

/* Optional: maintain clean grid spacing */
.flatpickr-rContainer {
    overflow: hidden;
}
