/* ======= Content Area ======= */
.container {
    max-width: 1480px;
 
}


/* ======= HEADER SECTION ======= */
.header {
border-bottom: none;
background: #fff;
}

.header-container  {
  max-width: 1370px;
  padding-left: 10px;
  padding-right: 10px;
}

.header-container img {
  width: 350px;
  display: block;
}

.header-container  .logo {
  font-size: 28px;
  font-weight: 800;
  color: #1a4c9c;
  letter-spacing: -1px;
}

.header-container .logo span {
  color: #f9b000;
  font-weight: 400;
}

/* MASTERPAGE ELEMENTS */
/* This applies to the loading bar at the top of the page */
.ProgressDiv {
  background-color: #ffdd6f;
}

/*BASIC*/
body {
  font-family: 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a4c9c;
  background-color: #fff;
}

body#MainBody {
    background: #fff;
}

* ======= TYPOGRAPHY ======= */
h1, h3, h5, h6 {
  font-weight: 700!important;
  line-height: 1.2!important;
  color: #1a4c9c!important;
  margin-bottom: 10px!important;
  font-size: 50px!important;
}

h1, .h1 {
  font-family: 'Segoe UI', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #1a4c9c;
  margin-bottom: 10px;
  font-size: 50px;
}

.PageTitle {
    font-size: 16px;
	font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    border-bottom: 2px solid #f9b000;
    display: inline-block;
	text-transform: uppercase;
	padding-top: 30px;
}

h4 {
  font-weight: 700;
  color: #1a4c9c;
  font-size: 20px;
}

h2 {
  font-weight: 400;
  line-height: 1.2;
  color: #1a4c9c;
  font-size: 30px;
}

p {
  font-size: 18px;
  color: #1a4c9c;
  margin-bottom: 20px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

blockquote {
  font-style: italic;
  color: #0b3c74;
  font-size: 16px;
  border-left: 5px solid #f1c40f;
  padding-left: 15px;
  margin-bottom: 30px;
}

a, a:visited {
  color: #1a4c9c!important;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/* ======= SHARED COMPONENTS ======= */
.quote-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.quote-author p {
  font-size: 15px;
}

.quote-headshot {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
}

.portfolio-button {
  display: inline-block;
  background-color: #f9b000;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}

.overlay {
  /*position: absolute;*/
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.45);
  z-index: 1;
}



/*titles*/
.TitleBarCaption {
    border-bottom-style: none;
}

/* PRIMARY NAVIGATION */
.nav-primary {
    margin-top: -17px;
}


.RadMenu.RadMenu_Austin .rmRootGroup > .rmItem > .rmLink {
    font-family: 'Segoe UI', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
	background-color: #fff!important;
}

@media (min-width: 768px) {
    .RadMenu.RadMenu_Austin .rmRootGroup > .rmItem {
        float: left;
        clear: none;
        /*padding-left: 19px;*/
    }
}

.RadMenu.RadMenu_Austin .rmSelected > .rmRootLink,
.RadMenu.RadMenu_Austin .rmFocused > .rmRootLink {
  /* root item selected styles */
  color: #1a4c9c;
  background-color: #fff!important;
  border-bottom: 3px solid #1a4c9c;
}


.RadMenu.RadMenu_Austin .rmRootLink.rmSelected {
  color: #1a4c9c;
  background-color: #fff!important;
  border-bottom: 3px solid #1a4c9c;
}

.RadMenu.RadMenu_Austin .rmRootLink:focus,
.RadMenu.RadMenu_Austin .rmExpanded > .rmRootLink  {
  /* root item hover and focus styles */
  background-color: #fff!important;
  color: #1a4c9c;
}

.RadMenu.RadMenu_Austin .rmRootLink:hover {
  /* root item hover and focus styles */
  background-color: #fff!important;
  color: #1a4c9c;
  border-bottom: 3px solid #1a4c9c!important;
}

.RadMenu.RadMenu_Austin .rmGroup {
  background-color: #fff;
}

.RadMenu.RadMenu_Austin .rmLink {
     color: #1a4c9c;
}

/* BUTTONS */
/* default button */
.btn,
.TextButton,
.TextButtonWithImage,
.ruButton,
#masterHeaderActionArea a,
.RadGrid input.TextButton {
  color: #fff;
  background-color: #0B7470;
  border-color: #0B7470;
  position: relative;
  /*-webkit-box-shadow: 0px 5px 0 0 #4da0d6;
  box-shadow: 0px 5px 0 0 #4da0d6;*/
}
    .btn:hover, .btn:focus, .btn:active, .btn:visited,
    .TextButton:hover,
    .TextButton:focus,
    .TextButton:active,
    .TextButton:visited,
    .TextButtonWithImage:hover,
    .TextButtonWithImage:focus,
    .TextButtonWithImage:active,
    .TextButtonWithImage:visited,
    .ruButton:hover,
    .ruButton:focus,
    .ruButton:active,
    .ruButton:visited,
    #masterHeaderActionArea a:hover,
    #masterHeaderActionArea a:focus,
    #masterHeaderActionArea a:active,
    #masterHeaderActionArea a:visited,
    .RadGrid input.TextButton:hover,
    .RadGrid input.TextButton:focus,
    .RadGrid input.TextButton:active,
    .RadGrid input.TextButton:visited {
        color: #FFF;
        background-color: #0B7470;
        border-color: #053a38;
        -webkit-box-shadow: 0px 5px 0 0 #053a38;
        box-shadow: 0px 5px 0 0 #053a38;
    }

/*small screen hamburger menu*/

.navbar-collapse {
    background-color: #5a7063;
}

.navbar-collapse {
    margin-left: -15px;
    margin-right: -15px;
    background-color: #fff!important;
}

.navbar-toggle.collapsed {
    background-color: #000;
}


/* ======= HERO SECTION ======= */

.hero-section {
  background: url('https://www.kybanks.com/kba-files/images/site/hopemw/hero-bg3.png') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  height: 100vh;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}


.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  animation: fadeInUp 1.2s ease-out;
  color: #1a4c9c;
}

.hero-content img {
  width: 40%;
  margin: 0 auto 20px auto;
  display: block;
  animation: scaleIn 1s ease-out 0.3s both;
}

.hero-content h1 {
  font-size: 78px!important;
  color: #1a4c9c;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-content h2 {
  font-style: italic;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-content p {
  font-size: 35px!important;
  font-weight: 200;
  line-height: 30pt;
  animation: fadeInUp 1s ease-out 1s both;
}

/* ======= PROPERTY SLIDER SECTION ======= */
/*imis carousel*/

@media (min-width: 768px) {
.carousel-caption {
    left: 10px;
}
}

.item.property-image {
    background-color: transparent;
    background-position: right;
    background-size: 600px;
}

.item.property-image > .carousel-caption {
    padding: 20px;
    min-height: 500px;
    background-color: transparent;
    color: #1a4c9c;
}

.item.property-image > .carousel-caption h1 {
  font-size: 40px;
  text-align: left;
  color: #1a4c9c;
  margin: 0 0 20px;
}

.item.property-image > .carousel-caption p {
  font-size: 22px;
  margin-bottom: 0;
  max-width: 50%;
  color: #1a4c9c;
  text-align: left;
  text-shadow: none!important;
}


.item.property-image > .carousel-caption h2 {
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1a4c9c;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.item.property-image > .carousel-caption h2.slide-subtitle {
  font-size: 20px!important;
}

.slide-number {
  font-size: 20px;
  font-weight: 700;
  color: #1a4c9c;
}

.carousel-inner.bg-img > .item.property-image {
    background-color: transparent;
    background-position: 100% 50%;
    background-repeat: no-repeat;
    background-size: 50% auto;
}


.property-slider .carousel-control {
    position: absolute;
    top: 534px;
    bottom: 0;
    width: 15%;
    opacity: inhert;
    font-size: 50px;
    color: #000!important;
    text-align: center;
    text-shadow: none;
}

.property-slider .carousel-control .icon-prev {
    margin-left: -15px;
}

.property-slider .carousel-control .icon-next {
    margin-right: -15px;
}


.property-slider .carousel-control.right {
  background-color: rgba(255,255,255,0.9)!important;
  border: 1px solid #ccc !important;
  border-radius: 50%;
  left: 85px;
  width: 55px;
  height: 55px;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.property-slider .carousel-control.left {
  background-color: rgba(255,255,255,0.9)!important;
  border: 1px solid #ccc!important;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  margin-left: 10px;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.property-slider .carousel-control:hover {
  background: #f9b000;
  color: #fff;
  transform: scale(1.05);
}

/* ======= Property Images Slider Responsive ======= */

@media (max-width: 480px){

.property-slider {
    padding-top: 35px;
	padding-bottom: 41px;
}

.item.property-image {
    background-color: transparent;
    background-position: bottom;
}

.item.property-image > .carousel-caption {
    padding: 10px 0px 0px 0px;
    min-height: 500px;
    background-color: transparent;
    color: #1a4c9c;
	position: relative;
	left: 0%;
}

.item.property-image > .carousel-caption h1 {
  font-size: 40px;
  text-align: center;
  color: #1a4c9c;
  margin: 0 0 20px;
}

.item.property-image > .carousel-caption p {
  font-size: 18px;
  max-width: 100%;
  color: #1a4c9c;
  text-align: left;
  text-shadow: none!important;
}


.item.property-image > .carousel-caption h2 {
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1a4c9c;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.item.property-image > .carousel-caption h2.slide-subtitle {
  font-size: 20px!important;
}

.slide-number {
  font-size: 20px;
  font-weight: 700;
  color: #1a4c9c;
}

.carousel-inner.bg-img > .item.property-image {
    background-color: transparent;
    background-position: 100% bottom;
    background-repeat: no-repeat;
    background-size: 100% auto;
	height: 600px!important;
}


.property-slider .carousel-control {
    position: absolute;
    top: 612px;
    bottom: 0;
    width: 15%;
    opacity: inhert;
    font-size: 50px;
    color: #000!important;
    text-align: center;
    text-shadow: none;
}

.property-slider .carousel-control .icon-prev {
    margin-left: -11px;
	padding-top: 19px;
}

.property-slider .carousel-control .icon-next {
    margin-right: -15px;
	padding-top: 19px;
}


.property-slider .carousel-control.right {
  background-color: rgba(255,255,255,0.9)!important;
  border: 1px solid #ccc !important;
  border-radius: 50%;
  left: 250px;
  width: 55px;
  height: 55px;
  font-size: 25px;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.property-slider .carousel-control.left {
  background-color: rgba(255,255,255,0.9)!important;
  border: 1px solid #ccc!important;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  left: 125px;
  font-size: 25px;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.property-slider .carousel-control:hover {
  background: #f9b000;
  color: #fff;
  transform: scale(1.05);
}
}



/* ======= end ======= */


.section-names-wrapper {
  padding: 40px 60px;
}

.section-names {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  justify-content: center;
}

.section-name {
  opacity: 0.4;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

.section-name.active {
  opacity: 1;
  color: #1a4c9c;
  border-color: #f9b000;
}

/* Property Slider Responsive */
@media (max-width: 1024px) {
  .property-slider {
    height: auto;
    min-height: 70vh;
    padding-top: 100px;
  }
  
  .slide {
    padding: 0 40px;
    gap: 30px;
  }
  
  .property-text h1 {
    font-size: 36px;
  }
  
  .property-text p {
    font-size: 17px;
  }
  
  .slider-controls {
    right: 40px;
  }
  
  .section-names-wrapper {
    padding: 30px 40px;
  }
}

@media (max-width: 768px) {
  .property-slider {
    height: auto;
    padding-top: 80px;
  }
  
  .slide {
    flex-direction: column;
    padding: 0 30px 20px;
    gap: 25px;
  }
  
  .property-image {
    height: 280px;
    order: -1;
  }
  
  .property-text {
    text-align: center;
  }
  
  .property-text h1 {
    font-size: 30px;
  }
  
  .property-text p {
    font-size: 16px;
    max-width: none;
  }
  
  .slide-subtitle {
    justify-content: center;
    font-size: 13px;
  }
  
  .slide-number {
    font-size: 18px;
  }
  
  .slider-controls {
    position: static;
    justify-content: center;
    margin: 20px 0;
  }
  
  .slider-controls button {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
  
  .section-names-wrapper {
    padding: 20px 30px;
  }
  
  .section-names {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
  }
}

/* ======= PROJECT OVERVIEW SECTION ======= */
.project-overview {
  /*background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);*/
  padding: 20px 10px 0px 0px;
  position: relative;
  overflow: hidden;
}

.project-overview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  /*background: linear-gradient(90deg, transparent, #1a4c9c, transparent);*/
  opacity: 0.3;
}

.overview-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.overview-header {
  text-align: center;
  margin-bottom: 80px;
}

.overview-header h2 {
  font-size: 48px;
  color: #1a4c9c;
  margin: 0 0 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.overview-header p {
  font-size: 20px;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.stat-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(26, 76, 156, 0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(26, 76, 156, 0.1);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f9b000, #ff8c00);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(26, 76, 156, 0.15);
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  color: #1a4c9c;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.detail-card {
  background: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(26, 76, 156, 0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(26, 76, 156, 0.1);
  position: relative;
}

.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(26, 76, 156, 0.12);
}

.detail-icon {
  font-size: 40px;
  margin-bottom: 24px;
  display: block;
}

.detail-card h3 {
  font-size: 24px;
  color: #1a4c9c;
  margin: 0 0 16px;
  font-weight: 700;
}

.detail-card p {
  font-size: 16px;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

/* Project Overview Responsive */
@media (max-width: 1024px) {
  .overview-container {
    padding: 0 40px;
  }
  
  .overview-header h2 {
    font-size: 42px;
  }
  
  .overview-header p {
    font-size: 19px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .stat-card {
    padding: 35px 25px;
  }
  
  .stat-number {
    font-size: 38px;
  }
  
  .details-grid {
    gap: 30px;
  }
  
  .detail-card {
    padding: 40px 35px;
  }
}

@media (max-width: 768px) {
  .project-overview {
    padding: 60px 0;
  }
  
  .overview-container {
    padding: 0 30px;
  }
  
  .overview-header {
    margin-bottom: 50px;
  }
  
  .overview-header h2 {
    font-size: 32px;
  }
  
  .overview-header p {
    font-size: 17px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 50px;
  }
  
  .stat-card {
    padding: 30px 20px;
  }
  
  .stat-number {
    font-size: 34px;
  }
  
  .stat-label {
    font-size: 13px;
  }
  
  .details-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .detail-card {
    padding: 30px 25px;
  }
  
  .detail-card h3 {
    font-size: 20px;
  }
  
  .detail-card p {
    font-size: 15px;
  }
}

/* ======= NEED SECTION ======= */
.need-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #ffffff;
  padding: 80px 20px;
}

.need-container {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: flex-start;
}

.need-image {
  flex: 1 1 500px;
}

.need-image img {
  width: 100%;
  height: auto;
}

.need-text {
  flex: 1 1 500px;
  max-width: 600px;
  color: #333;
}

/* Need Section Responsive */
@media (max-width: 1800px) {
  .need-container {
    gap: 60px;
    padding: 0 40px;
  }
  
  .need-text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .need-section {
    padding: 50px 40px;
  }
  
  .need-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
    padding: 0;
  }
  
  .need-text {
    max-width: 100%;
    text-align: left;
    width: 100%;
    padding: 0;
  }
  
  .need-text p {
    font-size: 19px;
  }
}

@media (max-width: 480px) {
  .need-image {
    flex: 1 1 300px;
  }
}

/* ======= PORTFOLIO SECTION ======= */
.portfolio-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 80px 20px;
  background: #fbf7ec;
}

.portfolio-container1::before {
    content: "";
    background-color: #fbf7ec;
    position: absolute;
    height: 200%;
    width: 200vw;
    left: -100vw;
    z-index: -1;
}

.portfolio-container {
  display: flex;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 0px 0px;
}

.portfolio-container a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.portfolio-container a:hover {
  color: #1a4c9c !important; 
}

.portfolio-text {
  flex: 1 1 400px;
}


.portfolio-top-mansion {
    background: url('https://www.kybanks.com/kba-files/images/site/hopemw/mansion1.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    height: 60vh;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
 .portfolio-gallery img {
	 height: 400px!important;
	 object-fit: cover;
	 width: 465px!important;
 }
 
 .portfolio-feature-text {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 5% 20%;
    background: #fbf7ec;
	font-size: 18px;

}

.portfolio-text h1 {
   margin-top: 86px;
}


@media {max-width:480px} { 
 .portfolio-text {
  flex: 1 1 200px;
}
}

.portfolio-text h4 {
  font-size: 16px;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 10px;
  border-bottom: 2px solid #f9b000;
  display: inline-block;
}

.portfolio-text h2 {
  margin-bottom: 20px;
}

.portfolio-text p {
  font-size: 18px;
  margin-bottom: 30px;
}

.portfolio-slider {
  flex: 2 1 920px;
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
  background-color: #fbf7ec;
}

.card-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  gap: 20px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.card-track::-webkit-scrollbar {
  display: none;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  height: 450px;
  width: 300px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.portfolio-card a {
  text-decoration: none;
}

.portfolio-card a:hover {
  text-decoration: none;
}

.portfolio-card-image {
  flex-grow: 1;
  position: relative;
  min-height: 0;
}

div.portfolio-container h3 {
    justify-self: center;
}

div.portfolio-container div.card-caption {
    min-height: 80px!important;
}

.portfolio-card-image img {
  height: 100%!important;
  width: 100%;
  object-fit: cover;
  display: block;
}

.card-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

.card-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 40%;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  z-index: 1;
  pointer-events: none;
}

.card-caption {
  padding: 5px;
  min-height: 200px;
  background-color: #f9b000;
  color: #fff;
}

.card-caption h3 {
  font-size: 22px!important;
  margin-bottom: 8px;
  color: #fafafa;
  font-weight: bold;
}

.card-caption p {
  font-size: 16px;
  margin: 0;
  color: #fafafa;
}

/*imis carousel styling for home page slider*/

.portfolio-slider .carousel-caption {
    /*height: 35%;*/
    width: 100%;
    background-color: #f9b000;
    color: #fff;
    text-shadow: none!important;
    justify-content: center;
    align-items: center;
	bottom: 0px!important;
	left: 0px!important;
}


.portfolio-slider .carousel-caption p {
   color: #fff!important;
   padding-left: 15px;
   padding-right: 15px;
   text-shadow: none;
   text-align: center;
   font-size: 20px;   
}


.portfolio-slider .carousel-caption h3 {
	font-size: 24px!important; 
}

.item.portfolio-image {
    background-position: top!important;
    background-size: 100% 80%!important;
}

.carousel-inner.bg-img > .item.portfolio-image {
    background-color: transparent;
    /*background-position: 100% 50%!important;*/
    background-repeat: no-repeat;
    /*background-size: 50% auto!important;*/
}

.portfolio-slider .carousel-control {
    position: absolute;
    top: 25px;
    bottom: 0;
    width: 15%;
    opacity: inhert;
    font-size: 50px;
    color: #000!important;
    text-align: center;
    text-shadow: none;
}

.portfolio-slider .carousel-control .icon-prev {
    margin-left: -15px;
}

.portfolio-slider .carousel-control .icon-next {
    margin-right: -15px;
}

.portfolio-slider .carousel-control.right {
  background-color: rgba(255,255,255,0.9)!important;
  border: 1px solid #ccc !important;
  border-radius: 50%;
  left: 565px;
  width: 55px;
  height: 55px;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
  margin-top: 530px;
}

.portfolio-slider .carousel-control.left {
  background-color: rgba(255,255,255,0.9)!important;
  border: 1px solid #ccc!important;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  margin-left: 10px;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
  margin-top: 530px;
}

/*------slider on homepage reponsive-----*/
@media (max-width: 480px) {
	.portfolio-slider .carousel-control {
    top: 14px;
    font-size: 50px!important;
    color: #000!important;
    text-align: center;
    text-shadow: none;
}

.portfolio-slider .carousel-control.right {
  left: 94px;
}

.portfolio-slider .carousel-control.left {
  margin-left: 24px;
}
		
.portfolio-slider .carousel-caption p {
    font-size: 16px;
}
}
/*-----------------------------------*/

.portfolio-slider .carousel-control:hover {
  background: #f9b000;
  color: #fff;
  transform: scale(1.05);
}

.carousel-caption h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #fafafa;
}

.card-caption p {
  font-size: 16px;
  margin: 0;
  color: #fafafa;
}

.carousel-control {
  position: absolute;
  top: 10px;
  bottom: 350px;
  background: #f9b000;
  color: white!important;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
}

.carousel-inner {
	border-radius: 10px;
	
}

.carousel-control.left { 
    left: 10px;
	background-color: #f9b000!important;
	background-image: none!important;
}

.carousel-control.right { 
	left: 50px;
	background-color: #f9b000!important;
	background-image: none!important;
 }
 
 .carousel-indicators {
	 display: none;
 }

/* Portfolio Section Responsive */
@media (max-width: 480px) {
  .portfolio-container {
    padding: 0 40px;
	margin-bottom: 10px;
  }
  
  .portfolio-text {
    flex: 1 1 200px!important;
  }

 
 section.portfolio-static-grid {
    padding-left: 40px;
    margin-bottom: 90px!important;
}

}


@media (max-width: 1800px) {
  .portfolio-container {
    gap: 30px;
    padding: 0 40px;
  }
  
  .portfolio-text {
    flex: 1 1 350px;
  }
  
  .portfolio-slider {
    flex: 2 1 600px;
  }
}

@media (max-width: 768px) {
  .portfolio-section {
    padding: 30px 20px;
    margin-top: -10px;
  }
  
  .portfolio-container {
    flex-direction: column;
    gap: 30px;
    margin-bottom: -60px;
  }
  
  .portfolio-text h2 {
    font-size: 26px;
  }
  
  .portfolio-text p {
    font-size: 16px;
  }
  
  .card {
    height: 520px;
    width: 364px;
  }
  
  .card-caption {
    min-height: 180px;
    padding: 18px;
  }
  
  .card-caption h3 {
    font-size: 18px;
  }
  
  .card-caption p {
    font-size: 15px;
  }
}

/* ======= HOW SECTION ======= */
.how-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #ffffff;
  padding: 80px 20px;
}

.how-container {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: flex-start;
}

.how-image {
  flex: 1 1 500px;
}

.how-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.how-text {
  flex: 1 1 500px;
  max-width: 600px;
  color: #333;
}

/* How Section Responsive */
@media (max-width: 1800px) {
  .how-container {
    gap: 30px;
    padding: 50px;
  }
  
  .how-text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .how-section {
    padding: 60px 10px;
  }
  
  .how-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 0;
  }
  
  .how-text {
    max-width: 100%;
    text-align: left;
    width: 100%;
    padding: 0;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .how-image {
    flex: 1 1 300px;
  }
}

/* ======= RESULTS SECTION ======= */
.results-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 80px 20px;
  background: #fbf7ec;
  text-align: center;
}

.results-container {
  max-width: 1200px;
  margin: 0 auto;
}

.results-section h2 {
  font-size: 42px;
  color: #1a4c9c;
  margin-bottom: 20px;
}

.results-section p {
  font-size: 18px;
  color: #1a4c9c;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.results-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.stat {
  flex: 1 1 250px;
  max-width: 250px;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease-out;
}

.stat.animate {
  opacity: 1;
  transform: translateY(0);
}

.stat:nth-child(1) { transition-delay: 0.1s; }
.stat:nth-child(2) { transition-delay: 0.2s; }
.stat:nth-child(3) { transition-delay: 0.3s; }
.stat:nth-child(4) { transition-delay: 0.4s; }
.stat:nth-child(5) { transition-delay: 0.5s; }
.stat:nth-child(6) { transition-delay: 0.6s; }

.stat-value {
  font-size: 40px;
  font-weight: bold;
  color: #000;
  margin-bottom: 10px;
}

.stat-underline {
  width: 30px;
  height: 3px;
  background-color: #f9b000;
  margin: 0 auto;
  border-radius: 2px;
}

/* Results Section Responsive */
@media (max-width: 1024px) {
  .results-section h2 {
    font-size: 38px;
  }
  
  .results-section p {
    font-size: 17px;
  }
  
  .results-grid {
    gap: 30px;
  }
  
  .stat {
    flex: 1 1 200px;
    max-width: 200px;
  }
  
  .stat-value {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .results-section {
    padding: 50px 70px;
    margin-top: -50px;
  }
  
  .results-section h2 {
    font-size: 32px;
  }
  
  .results-section p {
    font-size: 16px;
    margin-bottom: 60px;
  }
  
  .results-grid {
    flex-direction: column;
    align-items: center;
    gap: 1px;
  }
  
  .stat {
    max-width: 100%;
    margin:-35px;
  }
  
  .stat-value {
    font-size: 32px;
  }
  
  .stat-label {
    font-size: 15px;
  }
}

/* ======= DEVELOPERS SECTION ======= */
.developers-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #f9f9f9;
  padding: 80px 20px;
}

.developers-container {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: flex-start;
}

.developers-image {
  flex: 1 1 500px;
}

.developers-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.developers-text {
  flex: 1 1 500px;
  max-width: 600px;
}

.developers-text h2 {
  font-size: 36px;
  color: #1a4c9c;
  margin-bottom: 20px;
}

.accordion-item {
  border-top: 1px solid #e0e0e0;
  padding: 16px 0;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease-out;
}

.developers-section .accordion-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.developers-section .accordion-item:nth-child(1) { transition-delay: 0.1s; }
.developers-section .accordion-item:nth-child(2) { transition-delay: 0.2s; }
.developers-section .accordion-item:nth-child(3) { transition-delay: 0.3s; }
.developers-section .accordion-item:nth-child(4) { transition-delay: 0.4s; }

.accordion-header {
  all: unset;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 18px;
  width: 100%;
  padding-right: 10px;
}

.accordion-header .accent-bar {
  display: inline-block;
  width: 4px;
  height: 16px;
  background-color: #f9b000;
  margin-right: 12px;
}

.accordion-header strong {
  flex-grow: 1;
  font-weight: 600;
}

.accordion-header .arrow {
  font-size: 16px;
  color: #333;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.accordion-item.active .arrow {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  margin-top: 12px;
  color: #706a8b;
  font-size: 16px;
  line-height: 1.5;
}

.accordion-item.active .accordion-content {
  display: block;
}

/* Developers Section Responsive */
@media (max-width: 1024px) {
  .developers-container {
    gap: 60px;
    padding: 0 40px;
  }
  
  .developers-text {
    max-width: 500px;
  }
  
  .developers-text h2 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .developers-section {
    padding: 60px 50px;
  }
  
  .developers-container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
    padding: 0;
  }
  
  .developers-text {
    max-width: 100%;
    text-align: left;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  .developers-text h2 {
    font-size: 28px;
  }
  
  .accordion-header {
    font-size: 16px;
  }
  
  .accordion-content {
    font-size: 15px;
  }
}

/* ======= BANKERS SECTION ======= */
.bankers-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #ffffff;
  padding: 80px 20px;
}

.bankers-container {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: flex-start;
}

.bankers-image {
  flex: 1 1 500px;
}

.bankers-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.bankers-text {
  flex: 1 1 500px;
  max-width: 600px;
}

.bankers-text h2 {
  font-size: 36px;
  color: #1a4c9c;
  margin-bottom: 20px;
}

.bankers-links {
  margin-top: 20px;
  font-size: 16px;
  color: #1a4c9c;
}

.bankers-links a {
  color: #1a4c9c;
  font-weight: 500;
  text-decoration: underline;
}

.bankers-section .accordion-item {
  border-top: 1px solid #e0e0e0;
  padding: 16px 0;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease-out;
}

.bankers-section .accordion-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.bankers-section .accordion-item:nth-child(1) { transition-delay: 0.1s; }
.bankers-section .accordion-item:nth-child(2) { transition-delay: 0.2s; }
.bankers-section .accordion-item:nth-child(3) { transition-delay: 0.3s; }
.bankers-section .accordion-item:nth-child(4) { transition-delay: 0.4s; }

/* Bankers Section Responsive */
@media (max-width: 1024px) {
  .bankers-container {
    gap: 60px;
    padding: 0 40px;
  }
  
  .bankers-text {
    max-width: 500px;
  }
  
  .bankers-text h2 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .bankers-section {
    padding: 60px 50px;
  }
  
  .bankers-container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
    padding: 0;
  }
  
  .bankers-text {
    max-width: 100%;
    text-align: left;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  .bankers-text h2 {
    font-size: 28px;
  }
  
  .bankers-image {
    flex: 1;
  }
}

/* ======= PARTNERS SECTION ======= */
.partners-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #fafafa;
  padding: 60px 20px;
  text-align: center;
}

.partners-container {
  max-width: 1100px;
  margin: 0 auto;
}

.partners-section h2 {
  font-size: 32px;
  color: #1a4c9c;
  margin-bottom: 40px;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  align-items: center;
}

.partner-logos img {
  max-width: 200px;
  max-height: 200px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.partner-logos img:hover {
  opacity: 1;
}

/* Partners Section Responsive */
@media (max-width: 1024px) {
  .partners-section h2 {
    font-size: 28px;
  }
  
  .partner-logos {
    gap: 30px;
  }
  
  .partner-logos img {
    max-width: 150px;
    max-height: 150px;
  }
}

@media (max-width: 768px) {
  .partners-section {
    padding: 50px 20px;
  }
  
  .partners-section h2 {
    font-size: 26px;
  }
  
  .partner-logos {
    gap: 20px;
  }
  
  .partner-logos img {
    max-width: 120px;
    max-height: 80px;
  }
}

/* ======= CONTACT SECTION ======= */
.contact-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #f8fafc;
  padding: 80px 20px;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-content {
  text-align: center;
  margin-bottom: 40px;
}

.contact-content h1 {
  font-size: 42px;
  color: #1a4c9c;
  margin-bottom: 16px;
}

.contact-content p {
  font-size: 18px;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto 40px;
}

.contact-form {
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(26, 76, 156, 0.08);
  border: 1px solid rgba(26, 76, 156, 0.1);
}

.form-group {
  margin-bottom: 24px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #1a4c9c;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
  color: #1a4c9c;
  background-color: #ffffff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #f9b000;
  box-shadow: 0 0 0 3px rgba(249, 176, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background-color: #f9b000;
  color: #ffffff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background-color: #e6a500;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 176, 0, 0.3);
}

/* Contact Section Responsive */
@media (max-width: 1024px) {
  .contact-content h1 {
    font-size: 38px;
  }
  
  .contact-content p {
    font-size: 17px;
  }
  
  .contact-form {
    padding: 35px;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 20px;
  }
  
  .contact-container {
    padding: 0 10px;
  }
  
  .contact-content h1 {
    font-size: 32px;
  }
  
  .contact-content p {
    font-size: 16px;
  }
  
  .contact-form {
    padding: 24px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group label {
    font-size: 15px;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 10px 14px;
    font-size: 15px;
  }
  
  .submit-btn {
    padding: 12px 24px;
    font-size: 15px;
  }
}



/* ======= MAP SECTION ======= */
.map-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 80px 20px;
  background-color: #ffffff;
  text-align: center;
}

.map-container {
  max-width: 900px;
  margin: 0 auto;
}

.map-embed img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Map Section Responsive */
@media (max-width: 768px) {
  .map-section {
    padding: 60px 20px;
  }
}

/* ======= MOBILE TYPOGRAPHY ADJUSTMENTS ======= */
@media (max-width: 768px) {
  h1, h3, h5, h6 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  h4 {
    font-size: 18px;
  }
  
  p {
    font-size: 16px;
    line-height: 1.5;
  }
  
  blockquote {
    font-size: 15px;
  }
  
  .stat-label {
    font-size: 16px;
    color: #706a8b;
    margin-bottom: 12px;
    line-height: 1.4;
  }
}

/* ======= SEPARATE PAGES ======= */

/* ===== PROJECT PAGES ===== */
.project-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-hero .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
}

.project-hero .hero-text {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
}

.project-hero h1 {
  font-size: 48px;
  font-weight: 700;
}

.project-section {
  padding: 80px 20px;
  background-color: #fff;
}

.project-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.project-text {
  max-width: 800px;
  margin: 0 auto;
  color: #1a4c9c;
}

.project-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.project-gallery img {
  width: 300px;
  border-radius: 8px;
}

/* Project Pages Responsive */
@media (max-width: 1024px) {
  .project-hero h1 {
    font-size: 42px;
  }
  
  .project-gallery img {
    width: 250px;
  }
}

@media (max-width: 768px) {
  .project-hero h1 {
    font-size: 32px;
  }
  
  .project-section {
    padding: 60px 20px;
  }
  
  .project-gallery {
    flex-direction: column;
    align-items: center;
  }
  
  .project-gallery img {
    width: 100%;
    max-width: 400px;
  }
}

/*Team Page*/
.card-body.team-section img {
    float: left;
    margin-right: 20px;
    border-radius: 50%;
}

.QueryTemplateItem.card {
    height: 100%;
    border-radius: 10px;
    padding: 16px;
    border: none;
}

.hero-image-section {
  max-width: 1200px;
  height: 45vw;
  max-height: 600px;
  margin: 25px auto 0px auto;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-section h1 {
  margin-top: 42px;
  padding-left: 20px;
  border-left: 5px solid #f1c40f;
}

.team-info h2 {
	border-bottom: none;
}

.team-member {
  margin-left: 102px;
  width: 1260px;
}

.team-headshot {
  width: 200px;
  height: auto;
  object-fit: cover;
  border-radius: 150px;
  float: left;
  flex-shrink: 0;
  margin-right: 50px;
  margin-bottom: 15px;
}

.team-bio {
	font-size: 18px;
}

.team-info {
  flex: 1;
}

.team-info a {
  color: #0d1128;
  text-decoration: underline;
  font-weight: 500;
}

/*team-page responsive*/

@media (max-width: 480px){
.card-body.team-section img {
    float: none;
    margin-right: 20px;
    border-radius: 50%;
}

.hero-image {
  width: 100%;
}

.team-section {
	padding: 26px 20px 10px 20px;
}

.team-member {
  margin-left: 28px;
  width: 100%;
}

.team-headshot {

  margin-bottom: 40px;
  width: 175px;
  float: none;
}

}

/*------end--------------/




/* ======= Testimonial Page =======*/

.QueryTemplateItem blockquote {
    margin-bottom: 0px;
}

.QueryTemplateItem div.quote-author {
    margin-bottom: 39px!important;
	padding-left: 33px!important;
}


/* ======= FOOTER SECTION ======= */
.footer-content {
   background-color: #235896;
}


.site-footer {
  background-color: #235896;
  color: #ffffff;
  padding: 60px 40px;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
}

.footer-left {
  flex: 1 1 300px;
  text-align: left;
}

.footer-left hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.3);
  margin-bottom: 16px;
  width: 80%;
}

.footer-left h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.footer-left p {
  font-size: 18px;
  color: #dddddd;
}

.footer-right {
  flex: 1 1 300px;
  text-align: left;
}

.footer-right h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff;
}

.contact-line {
  width: 60px;
  height: 3px;
  background-color: #d99b4d;
  margin-bottom: 24px;
}

.footer-right ul {
  list-style: none;
  padding: 0;
  font-size: 16px;
}

.footer-right li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
  gap: 12px;
  color: #fff;
}

.footer-right .icon {
  color: #d99b4d;
  font-size: 20px;
  line-height: 1;
  margin-top: 2px;
}

.footer-right a {
  color: #fff!important;
  text-decoration: none;
}

.footer-right address {
  font-style: normal;
  color: #ffffff;
}

/* Footer Responsive */
@media (max-width: 1024px) {
  .site-footer {
    padding: 50px 30px;
  }
  
  .footer-container {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 40px 20px;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-left h3 {
    font-size: 20px;
  }
  
  .footer-left p {
    font-size: 16px;
  }
  
  .footer-right h4 {
    font-size: 18px;
  }
  
  .footer-right ul {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .footer-left {
  flex: 1 1 10px;
}
}



/*iMIS-Rise Dynamic Content Items formatting*/
/*IQA Results Grid*/

.RadGrid.RadGrid_MetroTouch .rgMasterTable, .RadGrid.RadGrid_Metro .rgMasterTable {
    border-radius: 8px;
}

.rgMasterTable.rgRow {
  border-radius: 8px;
  background-color: #f0f0f0;
}

.RadGrid .rgMasterTable {

    border-spacing: 15px;
}

.rgMasterTable td {
  border-radius: 8px;
  background-color: #f0f0f0;
}
.RadGrid.RadGrid_MetroTouch .rgActiveRow td, .RadGrid.RadGrid_MetroTouch .rgActiveRow td.rgSorted, .RadGrid.RadGrid_MetroTouch .rgSelectedRow td, .RadGrid.RadGrid_MetroTouch .rgSelectedRow td.rgSorted, .RadGrid.RadGrid_MetroTouch .rgMasterTable .rgActiveCell, .RadGrid.RadGrid_Metro .rgActiveRow td, .RadGrid.RadGrid_Metro .rgActiveRow td.rgSorted, .RadGrid.RadGrid_Metro .rgSelectedRow td, .RadGrid.RadGrid_Metro .rgSelectedRow td.rgSorted, .RadGrid.RadGrid_Metro .rgMasterTable .rgActiveCell {
    border-color: #fff;
}


.RadGrid.RadGrid_MetroTouch .rgHeader, .RadGrid.RadGrid_MetroTouch .rgHeader:first-child, .RadGrid.RadGrid_MetroTouch th.rgResizeCol, .RadGrid.RadGrid_MetroTouch th.rgResizeCol:first-child, .RadGrid.RadGrid_MetroTouch .rgRow td, .RadGrid.RadGrid_MetroTouch .rgRow td:first-child, .RadGrid.RadGrid_MetroTouch .rgAltRow td, .RadGrid.RadGrid_MetroTouch .rgAltRow td:first-child, .RadGrid.RadGrid_MetroTouch .rgEditRow td, .RadGrid.RadGrid_MetroTouch .rgEditRow td:first-child, .RadGrid.RadGrid_MetroTouch .rgFooter td, .RadGrid.RadGrid_MetroTouch .rgFooter td:first-child, .RadGrid.RadGrid_MetroTouch .rgFilterRow td, .RadGrid.RadGrid_MetroTouch .rgFilterRow td:first-child, .RadGrid.RadGrid_MetroTouch .rgNoRecords td, .RadGrid.RadGrid_MetroTouch .rgNoRecords td:first-child, .RadGrid.RadGrid_Metro .rgHeader, .RadGrid.RadGrid_Metro .rgHeader:first-child, .RadGrid.RadGrid_Metro th.rgResizeCol, .RadGrid.RadGrid_Metro th.rgResizeCol:first-child, .RadGrid.RadGrid_Metro .rgRow td, .RadGrid.RadGrid_Metro .rgRow td:first-child, .RadGrid.RadGrid_Metro .rgAltRow td, .RadGrid.RadGrid_Metro .rgAltRow td:first-child, .RadGrid.RadGrid_Metro .rgEditRow td, .RadGrid.RadGrid_Metro .rgEditRow td:first-child, .RadGrid.RadGrid_Metro .rgFooter td, .RadGrid.RadGrid_Metro .rgFooter td:first-child, .RadGrid.RadGrid_Metro .rgFilterRow td, .RadGrid.RadGrid_Metro .rgFilterRow td:first-child, .RadGrid.RadGrid_Metro .rgNoRecords td, .RadGrid.RadGrid_Metro .rgNoRecords td:first-child {
    padding: 0px 0px;
    background-color: #fff!important;
   border-color: #fff!important;
}

.RadGrid_MetroTouch td.rgGroupCol, .RadGrid_MetroTouch td.rgExpandCol {
    border-color: #fff!important;
    background: #fff!important;
}


/*hides color behind the IQA results repeater table*/
.RadGrid_MetroTouch, .RadGrid_MetroTouch .rgMasterTable, .RadGrid_MetroTouch .rgDetailTable, .RadGrid_MetroTouch .rgGroupPanel table, .RadGrid_MetroTouch .rgCommandRow table, .RadGrid_MetroTouch .rgEditForm table, .RadGrid_MetroTouch .rgPager table {
    background: transparent!important;
    border: none!important;
}

/*IQA SQL function calls*/
.IQAfnSQL .RadGrid_Default .rgHeader {
   display: none;
}

.IQAfnSQL .PanelField label {
    display: none;
}

.IQAfnSQL .RadGrid {
   border-radius: 8px;
}

.IQAfnSQL h3 {
   color: #1a4c9c;
   font-size: 25px;
}

.IQAfnSQL .RadGrid a {

   color: #000!important;
}

.IQAfnSQL .RadGrid a.btn {

   color:#fff!important;
}

.IQAfnSQL .RadGrid_Default .rgAltRow {
   background-color: transparent;
}

.IQAfnSQL .RadGrid_Default .rgRow td, .RadGrid_Default .rgAltRow td, .RadGrid_Default .rgEditRow td, .RadGrid_Default .rgFooter td {
   border-style: none;
   border-width: 0 0 0 0!important;
}

.IQAfnSQL .RadGrid .rgAltRow {
   background-color: rgba(0, 0, 0, 0.125);
   /*color: #fff;*/
}

.IQAfnSQL .RadGrid .rgFooter {

   border-width: 0 0 0 0!important;
}

.HidePanelTitle .panel-title
{
    display: none!important;
    }

.IQAfnSQL th.rgHeader
{
    display: none!important;
    }

.IQAfnSQL h1 {
   font-size: 16px;
}

td.rgExpandCol {
    background-color: #fff!important;
}

/* ==========================================================================
   used with jquery on specific pages to hide empty IQA results
   ========================================================================== */

.hide {
    display: none;
}


/*Vendor Contact*/

.VendorContact {
  width: 350px;
}

.VendorContact th.rgHeader {
  display: none!important;
}

.VendorContact .RadGrid_Default .rgAltRow {
  background-color: transparent;
}

.VendorContact .RadGrid_Default .rgRow td,
.RadGrid_Default .rgAltRow td,
.RadGrid_Default .rgEditRow td,
.RadGrid_Default .rgFooter td,
.rgAltRow tr {
  border-style: none;
  border-width: 0 0 0 0!important;
}

.VendorContact .RadGrid .rgFooter .rgAltRow {
  border-width: 0 0 0 0 !important;
}

.VendorContact .RadGrid,
td.rgAltRow {
  border-bottom: 0px;
  border-collapse: collapse;
  border-left: 0px!important;
  border-right: 0px!important;
  border-top: 0px;
}

div.tesmon_quote {
    color: #1a4c9c!important;
}

