/*MyMAJ Updates*/
#myPage .tab-content a {color: #437894;}

/* Remove duplicate arrow from upcoming events and get in touch boxes on interior pages */
div.upcoming-event-block.mb30 > a > span, div.in-touch-block.mb30 > a > span {display: none;}

/* Make all footer links hover gold */
.footerTop .row-fluid .social-list a:hover, .footCol4 a:hover {color: #eaab22 !important;}
.footCol4 a {color: #ffffff;}

/* Staff Page Layout */
.staffLayout {text-align: center; font-family: Montserrat, sans-serif;}
.staffLayout .row-fluid {margin-bottom: 30px;}
.staffLayout p {margin-bottom: 0;}
.staffLayout img {margin: auto; display: block; margin-bottom: 20px; padding: 0 15px; }
@media (min-width: 1100px) {.staffLayout img {max-width: 311px;}}
.staffLayout p:nth-child(2) {font-size: 11px; text-transform: uppercase; letter-spacing: 1.4px; font-weight: 500;}
.staffLayout p:nth-child(3) {font-size: 18px; font-weight: 700; color: #50aec4;}
.staffLayout p:nth-child(4) {font-size: 12px; margin-bottom: 20px;}
.staffLayout p:nth-child(4) a {color: #414042;}
.staffLayout p:nth-child(4) a:hover {text-decoration: underline; color: #50aec4;}

/* add space after right column on short pages */
.adv-block {margin-bottom: 40px;}

/* prevent contributions span12s from exceeding width of main content */

#zoneMain .span12 {max-width: 100%;}

/* Event area of homepage */
.events-sec .eventscol-right img {max-height: none;}

/* Menu overlapping 2nd box right column */

.in-touch-block { z-index: 1;}

/* Sponsor Carousel */
.sponsors-list .owl-stage {display: flex;}
.sponsors-sec .newscol-right {padding-top: 20px;}
.sponsors-sec {padding-top: 65px; padding-bottom: 65px;}
@media (max-width: 964px) {.sponsors-sec h2 {text-align: center !important;}}

/* Increase Blog Title Font Size */
h3.MCBlogEntryTitle {
    font-size: 36px!important;
}

/* Navigation Increase */
  @media (min-width: 1200px)
.span10 {
  width: 1100px;
}

.radio input[type="radio"], .checkbox input[type="checkbox"] {
  margin-top: -5px;
}

#Main238299 .radio input[type="radio"], #Main238299 .checkbox input[type="checkbox"] {
  margin-top: 0;
}

/* Change Header Colors */
h1, h2, h3, h4, h5, h6 {
    color: #004D5D;
}

/* Left Side Events Block Overlay Color */
.upcoming-event-block {
    background: #F5B13C;
}

/* Left Side News Block Overlay Color */
.in-touch-block {
    background: #29A8C5;
}

/* Change Main Zone Background Color */
.lefttop-overblock {
    background: #F4F5F7;
    margin-bottom: 40px;
}

/* Target the event container by its common class and force the background */
div.catev[style*="padding: 5px"] {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* Ensure the well styling doesn't add an inner shadow or grey border */
.well.well-small.catev {
    background: #ffffff !important;
    border-color: #e3e3e3 !important;
}

/* Target the event row containers specifically */
.catev.well {
    background-color: #ffffff !important;
    border: 1px solid #e3e3e3; /* Optional: keeps the light border for definition */
}

/* Target the date box inside the row if you want that white as well */
.catev .event-date.well {
    background-color: #ffffff !important;
}

/* Event Calendar Background */
#Main238299 {background: #fff}

/* ListViewer Background */
#Main237323 {background: #fff}

/* Store Background */
#Main237248 {background: #fff}

/* Form Builder Color Changes */
.sf-wrapper .sf-btn-account-lookup {
    background: #004D5D !important;
}

.sf-wrapper .sf-header {
    padding-top: 36px !important;
}

.sf-wrapper .sf-btn-account-lookup:hover {
    background: #004D5D !important;
}

/* Decrease Homepage Carousel Line Height */
.banner-content p {
    margin: 20px 0 0px 0 !important;
}

/* Increase Homepage Carousel Font Bold */
.HomepageHeader .banner-content-in h2 {
    font-weight: 400;
}

/* Align Homepage Carousel Text For desktop screens (1200px and wider) */
.HomepageHeader .banner-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    left: max(15px, calc((100% - 1290px) / 2 + 15px)); 
    right: 15px;
    width: auto;
}

/* For tablet screens (Between 992px and 1199px) */
@media (max-width: 1199px) {
    .HomepageHeader .banner-content {
        left: max(15px, calc((100% - 980px) / 2 + 15px));
    }
}

/* For small tablets / mobile devices (991px and smaller) */
@media (max-width: 991px) {
    .HomepageHeader .banner-content {
        left: 15px; /* Matches the 15px padding of your grid layout */
    }
}

.owl-carousel .owl-dots.disabled, .owl-carousel .owl-nav.disabled {
    display: none !important;
}
