.CELAbtn {     
    background-color: #4976B4 !important;
    color: #ffffff;
    text-transform: uppercase;
    border: none;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 100%;
    font-weight: normal !important;
    padding: 6px 14px;
    cursor: pointer;
    display: inline-block;
    border-radius: 0;
    line-height: 1.3em !important;
}

.CELAbtn:hover {color: #ffffff; text-decoration: underline;}
.CELAbtn:visited {color: #ffffff;}

table.mc-subTable {width:100%;}

/* Homepage Carousel Text and Button Alignment Fix */
@media only screen and (min-width:1000px) {
.banner-content p,.bannerItem > div:first-child > div:last-child p { margin-left: 45px }
}

/* Resize Primary Navigation Font-size and Padding */

@media (min-width: 1049px){
.header .navbar .nav li a {
    font-size: 20px;
}

@media only screen and (min-width: 979px)
.navbar .nav > li {
    padding: 0 9px;
}

#Main1372575 .iframe {
    overflow: scroll;
    width: 1349px;
    height: 100%;
    border: 1px solid black;
}

/* CELA MarketPlace Increase Box Sizes */
@media (min-width: 768px) and (max-width: 979px){
#Main2899097 .span3.letterBox {
    height: 600px !important;
}
}

/* CELA MarketPlace Increase Box Sizes */
@media (min-width: 979px) and (max-width: 1200px){
#Main2899097 .span3.letterBox {
    height: 475px !important;
}
}

/* Reduce Marketplace Directory Badge Size in Mobile View */
@media (max-width: 979px) {
#Main2738380 img {
Max-width: 50%
}}

/* Publication Article Pages */
#MCPublicationBodyWrapper {padding-top: 20px; color: #515151}
#MCPublicationBodyWrapper h1 a  {color: #515151; font-size: 30px; font-family: Raleway, Roboto, sans-serif; font-weight: light; }

/* MyCela Info Box Link Recolor */
#myPage > div.row-fluid.profileWrap > div.span5.myInfo a {color: #0046a1 !important;}

/* MyCela Info Box li padding */
#myPage .myInfo li {padding-top: 1px !important;}


/* CELAButton style */

.CELAButton    {
    background-color: #4976B4;
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    line-height: 2em;
    text-align: center;
    text-transform: uppercase;
    padding: 12px 25px;
    white-space: nowrap;
    min-width: 114px; }
   
.CELAButton:hover {
    text-decoration: underline;
    color: #ffffff;

}

/*JOIN FORM HEADING COLOR */
div.CPSection div.CPSectionTitle {
color:#fff!important;    
background: #4976B4!important;
}

 /* NEW EVENT CSS */

 /* Speakers grid */
.spk-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
 gap: 30px;
 margin-top: 30px;
 text-align: center;
}

/* Individual speaker card */
.eventspk {
 display: flex;
 flex-direction: column;
 align-items: center;
}

/* Circular image */
.eventspk img{
  /* 1. Use a percentage so it scales with the 'speaker' container */
  width: 80%; 
  /* 2. Set a maximum size so it doesn't look huge on desktops */
  max-width: 140px; 
  /* 3. Maintain the circle shape */
  height: auto;
  aspect-ratio: 1 / 1; 
  
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #4976B4;
  margin-bottom: 12px;
}

/* Speaker name */
.eventspk-name {
 font-weight: bold;
 font-size: 16px;
}

/* Law firm */
.eventspk-firm {
 font-size: 14px;
 color: #555;
}
