/* mcm-bw changes */
body{
  background-color: #dbdbdd4f !important;
}

/*New List css*/
.view-pagination{

  background-color: #8080801c;
  padding-bottom: 12px;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

.grid-actions{
  margin-bottom: 0px;
  border-bottom: 1px solid #eee;
  background-color: #f4f4f4;
}
.view-grid{
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

.pull-right {
  width: 100%;
}

.entitylist-search {
  width: 100%;
}

.entity-grid .view-grid {
  border-radius: 7px;
}
.crmEntityFormView, .entitylist, .modal-content, .popover-content {

  border-radius: 7px;
}

thead{
  background-color: #7b2548 !important;
  height: 46px;
}

th a {
  color: white!important;

}

.pagination>li>a, .pagination>li>span {
  float: none;
  border-radius: 4px;
  margin-bottom: 3px;
}

/*mcm-bw messes with the height of input boxes. So for lookups or searches, the input box is considerably shorter than the button to the right of it*/
.form-control {
	height: auto;
}
/* Hide the caret on select inputs since mcm-bw defines a caret/background-image already and this duplicates the default one*/ 
select {
   -o-appearance: none;
   -ms-appearance: none;
   -webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;
}
.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover {
   background-color: #7A003C!important;
}
.dropdown.action>button{
   border-radius: 24px !important;
}
select.form-control:hover{
   cursor: pointer;
}

.navbar-toggler.tab-toggler, .navbar-toggler.jump-toggler, .navbar-toggler.site-toggler {
   border-color: #5E6A71;
   border-left: none;
   border-right: none !important;
   width: 100%;
   border-radius: 0;
   font-family: 'Roboto Condensed', sans-serif !important;
   font-weight: 300;
   letter-spacing: 0.5px;
   color: black !important;
   font-size: 18px;
   line-height: 18px;
   text-transform: uppercase;
   border-radius: 0;
   padding: 24px 48px;
   /* border-right: 1px solid #dbdbdd; */
   position: relative;
   min-height: 84px;
   transition: all 0.3s ease-out;
   background-color: #dbdbdd;   
   width: 100%;
}
.navbar-toggler:hover,
.site-toggler:hover,
.tab-toggler:hover {
  background-color: #5e6a71 !important;
  border-color: #5e6a71 !important;
  color:white !important;

}
.navbar-toggler.tab-toggler.left-toggler::after {
   background-image: url("data:image/svg+xml;charset=utf8,%3Csvg id='b7ff402d-2e47-497f-ba2c-3db55e7b97ef' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='9' fill='none'/%3E%3Cpath fill='none' stroke='%23000000' stroke-miterlimit='10' d='M11.7 7.7L9 10.4 6.3 7.7'/%3E%3C/svg%3E") !important;
 }
 .navbar-toggler.tab-toggler.left-toggler:hover::after {
   background-image: url("data:image/svg+xml;charset=utf8,%3Csvg id='b7ff402d-2e47-497f-ba2c-3db55e7b97ef' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='9' fill='none'/%3E%3Cpath fill='none' stroke='%23FFFFFF' stroke-miterlimit='10' d='M11.7 7.7L9 10.4 6.3 7.7'/%3E%3C/svg%3E") !important;
 }
 @media (max-width: 1025px){ 
   header#mcmaster-header #mcmaster-header__title {
      clear:both;
   }
}
@media (max-width: 768px){
 div#navLinks {
   width: 210px !important;
 }
 #breadcrumbs-container{
   display: none;
 }
}

/* breadcrumbs padding fix */
.breadcrumb {

  margin-left: 23px;
  padding-left: 0px !important;
}

#side-nav .dropdown-toggle{
   color: #7a003c !important;
   font-weight: bolder !important;
}
#side-nav .dropdown-toggle:hover{
   color: white!important;
}
.entity-pager-next-link{
   font-weight: bold;
   color: #7a003c !important;
}
.entity-pager-prev-link{
   font-weight: bold;
   color: #7a003c !important;
}


/* login page body min height fix */
#content-container{
   min-height: calc(100vh - 503.5px);
 }
 
 /* Layout Fixes for Interaction Pages */
 .heading-container {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 20px;
     height: 48px;
   }
   
   .heading-container h2 {
     margin: 0;
     height: 35px;
   }
   .tableFlexSection{
     display: flex;
     flex-wrap: wrap;
     margin: 0px;
     min-height: auto;
     padding: 8px;
   }
   .tableFlexContainer{
     padding: 0px;
     display: flex;
     flex-wrap: wrap;
     margin: 0;
 }
   .tableFlexLayout {
     display: flex;
     flex-grow: 1; 
     flex-direction: column; 
     min-width: 250px;
     word-break: break-word; 
     margin-top: 0;
     margin-bottom: 60px;
     padding: 16px;
     min-height: calc(89vh - 514px);
   }
  

/*New Card layout css for */

.mcm-page-cardlayout {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mcm-page-cardlayout-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

/* Individual Card Styles */
.ways-to-connect-card {
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* Ensures the arrow stays aligned vertically */
  flex-direction: row;
  background-color: #f3f2f175;
  border-left: 5px solid #FFD700; /* Yellow border */
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 10px 15px; /* Space between cards */
  padding: 20px 25px;
  width: calc(100% - 40px); /* Ensure full width within container */
  max-width: 800px; /* Constrain card width */
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none !important;
  min-height: 150px; /* Set a minimum height for consistency */
}

/* Card Hover Effect */
.ways-to-connect-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

/* Apply hover effect to the arrow when hovering on the entire card */
.ways-to-connect-card:hover .mcm-cardlayout-new-arrow-link {
  background-color: #7b2548; /* Darker background */
  border-color: #7b2548;
  color: #ffffff; /* White arrow */
}

/* Card Content */
.mcm-page-cardlayout-equal-col-height {
  flex-grow: 1;
  padding-right: 15px; /* Space between content and arrow */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center the content vertically */
}

.ways-to-connect-card-header {
  color: #7b2548;
  font-size: 22px;
  font-weight: bold;
  margin: 0;
}

/* Scoped styling for p and h4 elements */
.ways-to-connect-card p {
  width: 95%; /* This only applies to p elements within .ways-to-connect-card */
}

.ways-to-connect-card h4 {
  margin-bottom: 0px; /* This only applies to h4 elements within .ways-to-connect-card */
}

.mcm-pagecardlayout-specific p {
  color: #555555;
  font-size: 16px;
  line-height: 1.5;
  margin: 10px 0 0 0; /* Space between header and text */
}

/* Arrow Container */
.mcm-cardlayout-new-arrow {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Arrow Link */
.mcm-cardlayout-new-arrow-link {
  display: inline-block;
  font-size: 24px; /* Increase font size for a prominent arrow */
  color: #7b2548;
  text-decoration: none;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px; /* Make the button circular */
  padding: 8px; /* Adjust padding for compact appearance */
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

/* Arrow Hover Effect */
.ways-to-connect-card:hover .mcm-cardlayout-new-arrow-link {
  background-color: #7b2548; /* Darken background on hover */
  border-color: #7b2548;
  color: #ffffff; /* Change arrow color to white */
}


/*Hover table CSS added to the table*/
.mcm-page-tablehover tbody tr {
  transition: background-color 0.3s ease; /* Smooth transition for hover effect */
  cursor: pointer; /* Change cursor to pointer to indicate clickability */
}

.mcm-page-tablehover tbody tr:hover {
  background-color: #f0f0f0 !important; /* Change this to your desired hover color */
}

/* Hide the last column */
.mcm-page-tablehover td:last-child, .mcm-page-tablehover th:last-child {
  display: none;
}

/*Navbar changes active*/

@media (min-width: 1200px) {
    #side-nav .navbar-collapse.collapse {
      display: none !important;
  }
  #side-nav .navbar-collapse.collapse.in{
  display: block !important;
}
}

.card .nav-item.active .nav-link, .card .nav-link.active {
  background: #DBDBDD;
  color: #7A003C !important;
  padding: 24px;
  padding-right: 60px;
  cursor: pointer;
}

.dropdown-menu0 a.dropdown-item.active {
  background: #DBDBDD;
  color: #7A003C !important;
}

#side-nav .card .nav-link.active:hover {
    background: #7A003C !important;
    color: white !important;
    cursor: default;
}

/*cardlayout-2 (Knowledge base layout)*/
/* Main container */
.mcm-page-cardlayout {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

/* Service requests title */
.service-requests-title {
  font-size: 2.5rem; /* Slightly larger title */
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
}

/* Card layout */
.mcm-cardlayout-2 {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15); /* Slightly deeper shadow */
  width: 240px; /* Adjusted width for better alignment */
  text-align: center;
  padding: 20px 15px; /* Adjusted padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
  margin: 10px; /* Spacing between cards */
  border-top: 4px solid #7A003C; /* Added top border */
}

/* Anchor tag styling */
.mcm-cardlayout-2-link {
  display: flex; /* Ensure it behaves like a flex container */
  flex-direction: column; /* Stack children vertically */
  align-items: center; /* Center align items */
  text-decoration: none !important; /* Remove underline */
  color: inherit; /* Inherit text color */
  height: 100%; /* Fill the height of the card */
}

/* Hover effect for card */
.mcm-cardlayout-2:hover {
  transform: translateY(-5px);
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2); /* Enhanced hover effect */
}

/* Icon container */
.mcm-cardlayout-2-icon {
  background-color: #7a003c;
  width: 70px; /* Slightly reduced size */
  height: 70px; /* Slightly reduced size */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.1);
}

.mcm-cardlayout-2-icon i {
  font-size: 35px; /* Adjusted icon size */
  color: #ffffff;
}

/* Text elements */
.mcm-cardlayout-2-heading {
  font-size: 1.5rem; /* Increased heading size */
  font-weight: 700; /* Bold font weight for emphasis */
  color: #333;
  margin: 10px 0;
}

.mcm-cardlayout-2-divider {
  width: 40px; /* Slightly wider */
  height: 4px; /* Slightly taller */
  background-color: #7A003C;
  margin: 10px auto;
}

/* Button styling */
.mcm-cardlayout-2-btn {
  background-color: #ffcc66;
  color: #333;
  padding: 10px 25px; /* Increased padding */
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background-color 0.3s;
  margin-top: auto; /* Ensure button is at the bottom */
  font-size: 1rem; /* Increased font size */
}

.mcm-cardlayout-2-btn:hover {
  background-color: #e0b653;
}

.mcm-cardlayout-2-btn i {
  font-size: 1rem;
}

/*****************************Test**************************************/
/* Outer container (using the existing "placeholders" class) */
.placeholders {
  display: flex;
  margin: 0 auto;
}

/* Card styling (using the existing "placeholder" class) */
.placeholder {
  position: relative;

  border-radius: 15px;

  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 0;
}

/* Hover effect for cards */
.placeholder:hover {
  transform: scale(1.05);

}

/* Hero image styling (using the existing "hero-card" class) */
.hero-card {
  width: 100%;
  height: auto;
  border-radius: 15px ;
  object-fit: cover;
}

/* Styling for all anchor tags inside a card */
.placeholder a {
  text-decoration: none;
  color: rgb(47, 95, 239);
}

/* Override for links with the "card-link" class */
.card-link {
  text-decoration: none;
  color: inherit;
}

/* Banner row styling for inner rows within a card */
.placeholder .row {
  width: 90%;
  margin: 10px auto;
  display: flex;
  align-items: center;
}

/* Icon row (existing "icon-row" class) */
.icon-row {
  padding: 0;
}

/* Link column (existing "link-column" class) */
.link-column {
  padding: 0 0 0 10px;
}

/* Title styling (existing "adjustmargin" class) */
.adjustmargin {
  margin: 0;
  font-weight: 600;
}

/* Specific styling for images within the icon-row */
.icon-row img {
  width: 42px;
  height: 42px;
}

/* Progress bar*/
.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
  z-index: 2;
  color: #fff;
  background-color: var(--portalThemeColor4);
  border-color: var(--portalThemeColor4);
}
ol.progress {
  height: auto;
  background-color: white;
  border-radius: 5px;
}

.img-responsive {
  height: 100%;
  width: 100%;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.0) !Important;
}

.table thead tr {
  background-color: #7a003c !important;
}

.view-grid thead th a {
  color: var(--portalThemeColor5) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}

.table>thead>tr>th, .table>thead>tr>td, .table>tbody>tr>th, .table>tbody>tr>td, .table>tfoot>tr>th, .table>tfoot>tr>td {
  padding: 8px;
  line-height: 1.42857;
  vertical-align: top;
  border-top: 1px solid #ddd;
  color: #000000 !important;
}
/********************************************************/

/* Flexbox for card arrangement */
.mcm-page-cardlayout-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* Responsive design */
@media (max-width: 768px) {
  .mcm-page-cardlayout {
    flex-direction: column;
    align-items: center;
  }

  .mcm-cardlayout-2 {
    width: 90%; /* Adjust width for smaller screens */
  }
}
 /************************* Notification CSS ********************************/
 /* .notification {
   color: white;
   text-decoration: none;
   padding: 15px 26px;
   position: relative;
   display: inline-block;
   border-radius: 2px;
 }
 
 .notification:hover {
   background: red;
 }
 
 .notification .badge {
     position: absolute;
     top: 16px;
     right: -14px;
     padding: 5px 10px;
     border-radius: 50%;
     background: red;
     color: white;
 }
 .notification .badge-zero {
     position: absolute;
     top: 16px;
     right: -14px;
     padding: 5px 10px;
     border-radius: 50%;
     background: #9a9292;
     color: white;
 }
 .divider-inbox {
     height: 21px;
     margin: 0 4px;
     margin-top: 14.5px;
     border-right: 1px solid #fff;
     border-left: 1px solid #666;
     margin-left: 20px;
 }
 .btn-message {
     color: #ffffff;
     background-color: #bd2b2b;
     border-color: #6d0705;
 }
 .btn-message:hover {
     color: #5a4645;
     background-color: #dec4c4;
     border-color: #2b2b2d;
 }
 .btn-message:active, .btn-message.active, .open>.btn-message.dropdown-toggle {
     color: #e60707;
     background-color: #e6e6e6;
     border-color: #8a0c0a;
 } */