/* ==========================================================================
   XLM Resources — Front-end Styles
   Extracted from tppweb-xlm-shortcodes custom-style.css resource sections.
   ========================================================================== */


/* ============================================================
   RESOURCES: Card Grid
   Used by: [category-details], [plm-resource-grid], category-details.php,
   plm-resource-grid.php, resource-card.php
   NOTE: .card-desc and .download-block are generic Bootstrap class names
   scoped here under .resources-block — when moving to resources plugin,
   grab all .resources-block rules and its child rules.
   ============================================================ */
.resources-block {
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  -webkt-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.resources-block .card-desc{
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.resources-block .card-img-top {
  position: relative;
}

.download_icon {
  width: 52px;
  height: 52px;
  line-height: 47px;
  text-align: center;
  background-color: #fff;
  position: absolute;
  right: 0;
  bottom: 3px;
  box-shadow: 0px 3px 6px #00000029;
  border-radius: 6px 0px 0px 6px;
}

.download_icon img {
  width: 32px;
  height: 32px;
}

.resources-block h4 {
  /* font-size: 1.25rem; */
  padding-bottom: 15px;
  margin: 0;
  text-transform: capitalize;
}

.resources-block p {
  /* font-size: 0.875rem; */
  margin: 0;
  padding-bottom: 0;
  color: #5A5A5A;
}

.resources-block .card-block {
  /* position: relative; */
  overflow: hidden;
  border-top: 1px solid #eee;
}

.resources-block .download-block {
  background-color: #00345B;
  border: 1px solid #D5D5D5;
  border-radius: 0px 0px 6px 6px;
  position: absolute;
  right: 0;
  bottom: 0;
  opacity: 0;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  transition: max-height 0.5s ease-in-out;
}

.resources-block:hover .download-block {
  max-height: 5.5rem;
  opacity: 1;
}

.resources-block .download-block a {
  color: #fff;
  text-transform: uppercase;
  /* font-size: 1.125rem; */
}

.download-block a img {
  height: 20px;
  margin-right: 4px;
}


/* ============================================================
   RESOURCES: Archive Tab Navigation
   Used by: [plm-resource-tabs] shortcode (plm-resource-tabs.php)

   Ported from tppweb-xlm-shortcodes/public/css/custom-style.css
   (2026-07 front-end audit) — this plugin's own copy of this
   section, targeting .plm_resources / nav-link img / nth-child(3n),
   never matched the actual markup output by plm-resource-tabs.php
   (.nav-header.plm-resource-tabs-nav, plain text tabs, no images).
   It was leftover from an earlier image-card tab design and has
   been replaced with the block that actually matches current markup.
   ============================================================ */
.nav-header .nav-link {
  letter-spacing: 1px;
  padding: 1rem;
  line-height: 1;
  font-weight: 700;
  color: #00345B;
  border: 0 none;
  cursor: pointer;
  -webkit-box-flex: unset;
  -ms-flex: unset;
  flex: unset;
  text-transform: uppercase;
}

.nav-header .nav-tabs .nav-item.show .nav-link,
.nav-header .nav-tabs .nav-link.active {
  background-color: #00345B;
  color: #fff;
  border-radius: 0;
}

/* Fix (updated): card images were using w-100/h-100 (forces height:100%
   of a 215px-tall box), which either stretched the soft-cropped
   xlm-resource-card thumbnail (often shorter than 215px, e.g. 328x172)
   to fill it — causing blur — or, with object-fit:contain, letterboxed
   it with visible gaps above/below the image and before the card-block
   border. Removing the fixed min-height and forcing height back to auto
   lets the container shrink-wrap to the image's real (sharp) size, so
   the image sits flush against the card's rounded top corners with no
   gap, matching the live site. Cards are shorter as a result. */
.resources-block .card-img-top {
  line-height: 0;
}

.resources-block .card-img-top img.img-fluid {
  width: 100% !important;
  height: auto !important;
  object-fit: contain;
}

.plm-resource-block .resources-block .card-img-top>img {
  height: 140px;
  width: 100%;
  object-fit: cover;
}

.plm-resource-block .resources-block .download-block {
  background-color: #fff;
}

.plm-resource-block .resources-block .download-block a {
  /* font-size: 0.75rem; */
  color: #00345b;
  text-transform: capitalize;
}

.plm-resource-block .download-block a img {
  height: 10px;
}

.total-download {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.total-download a {
  margin-right: 15px;
}

.total-download a img {
  height: 15px;
  line-height: 1;
}

.view-more-div .resources-block {
  min-height: 200px;
}

.view-more-div .resources-block #view-more {
  text-align: center;
  margin: auto;
  text-decoration: initial;
}


/* ============================================================
   RESOURCES: Download Modal & Library
   Used by: #libraryDownloadModal, libary-download shortcode context
   ============================================================ */
.libary-download .contact-form input[type="submit"],
#libraryDownloadModal .contact-form input[type="submit"] {
  width: auto;
  border-radius: .25rem;
  float: right;
  border: none;
}

.modal-header {
  height: 0px;
  padding: 0;
  border: 0 none;
}

.modal-header .close {
  padding: 0.4rem 0.6rem;
  margin: 0;
  position: absolute;
  top: -15px;
  right: -15px;
  border-radius: 50%;
  background-color: #fff;
  border: 0 none;
  z-index: 1;
  opacity: 1;
}

.single-page-img {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.event-date {
    color: #BE2C37;
}
.event-day, .event-month, .event-item p {
    color: #5A5A5A;
}
.widget_categories {
  margin-top: 3rem;
}

.cat-name {
  color: #939393;
}




/**********event**************/
.event-heading,
.event-title a {
  color: #00345B;
}

.start-date,.start-end-date {
  color: #BE2C37;
}

.start-day, .start-end-day,
.start-month, .start-end-month,
.event-item p {
  color: #5A5A5A;
}

.download-calender img {
  max-height: 33px;
  max-width: 33px;
  cursor: pointer;
}

.event-item {
  border-bottom: 1px solid #D1D0D0;
}

.event-items:last-child .event-item {
  border-bottom: 0px solid #D1D0D0;
}

.event-extra-details li {
  display: inline-block;
  width: 32.3%;
  vertical-align: top;
  color: #7B7B7B;
}


/* ============================================================
   RESOURCES: Single Post Page
   Used by: [resource-download-form], [resource-meta] shortcodes
   (resource-download-form.php, resource-meta.php)
   ============================================================ */
/**================================Resouces Single Page download 31-01-2021===================== */
.single-page-download{
	margin-top: 50px;
}
.single-page-download .single-page-dwn-head{
	border-bottom: 1px solid #dedede;
	margin-bottom: 20px;
	padding-bottom: 5px;
}
.single-page-download .btn{
	width: auto !important;
	float: right;
}
/**================================END========================================================== */
/* Download form: ensure CF7 response message clears the floated submit button */
.single-page-download .wpcf7-response-output {
    clear: both;
    margin-top: 1.5rem !important;
    display: block;
}

/* Removed: old theme Priority+ nav CSS — conflicts with Porto menu system. */

@media (max-width: 892px) {
  .mobileHidden {
    display: none !important;
  }
	#footer-contact{
		margin: 0 auto;
	}
}


.vc_custom_1612349003707{
    border: 1px solid #cccccc !important;
    border-radius: 5px !important;
}
.vc_custom_1612349003707 .vc_column_container .vc_column-inner {
    padding: 35px 35px 0 35px !important;
}
.ml-30{
	margin-left: 30px;
}
ul.ml-30 ul{
	margin-left: 30px;
}
/* --- xlm-card-excerpt: Porto-safe replacement for card-desc line-clamp --- */
.resources-block .xlm-card-excerpt {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* --- h6 card title styles (mirrors .resources-block h4) --- */
.resources-block h6 {
  padding-bottom: 15px;
  margin: 0;
  text-transform: capitalize;
}

/* --- Resource card border-radius (scoped to resources-block cards only) --- */
.card.resources-block {
  border-radius: 8px !important;
}


/* ============================================================
   RESOURCES: Archive Banner
   Used by: [plm-resource-banner] shortcode (plm-resource-banner.php)
   ============================================================ */
/* --- PLM Resource Archive: Banner --- */
.plm-resource-banner {
    min-height: 370px;
    position: relative;
    background-color: #00395a;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}
.plm-resource-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
}
.plm-resource-banner-content {
    position: relative;
    z-index: 1;
    padding-top: 50px;
    padding-bottom: 50px;
}
.plm-resource-banner .slider-title {
    color: #fff;
}
/* ============================================================
   RESOURCES: Utility Rules
   ============================================================ */
.view-more,.view-less{
  background-color: #00345B;
  text-transform: uppercase;
}
.resource-single-block .download-block a{
  background-color: #00345B;
  border: 1px solid #D5D5D5;
  border-radius: 6px;
  color:#fff;
  
}
.downloadPage.card-img-top {
  position: relative;
}

.downloadPage .download_icon {
  width: 52px;
  height: 52px;
  line-height: 47px;
  text-align: center;
  background-color: #fff;
  position: absolute;
  right: 0;
  bottom: 3px;
  box-shadow: 0px 3px 6px #00000029;
  border-radius: 6px 0px 0px 6px;
}

.downloadPage .download_icon img {
  width: 32px;
  height: 32px;
}
/***********30/01 end************ */


.resource-page-meta .download_icon{
  position: relative;
  box-shadow: none;
  border-radius: 0;
  
}
.resource-page-meta .download-btn,.resource-page-meta .download-btn-anchor,.resource-page-meta .share-btn{
  color:#908F8F;
}
#lazy-loader {
  height: 100px;
  background-color: rgb(230 239 255 / 80%);
  position: relative;
}
.loader {
  border: 8px solid #fcfcfc;
  border-radius: 50%;
  border-top: 8px solid #00395a;
  border-bottom: 8px solid #00395a;
  width: 60px;
  height: 60px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
  position: absolute;
  margin: auto;
  top:0;
  bottom: 0;
  left: 0;
  right: 0;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#goTop {
  position: fixed;
  bottom: 10px;
  left: 10px;
  height: 60px;
  width: 60px;
  background-color: #13345b;
  color: #fff;
  text-align: center;
  font-size: 2.3rem;
  border-radius: 50%;
  display: none;
  cursor: pointer;
}