/**
 * @file
 * Subtheme specific CSS.
 * 
 * 
 * Colors in Palette

Primary Blue	#3d9fd1	Main theme color
Light Blue	#78c6eb	Accents, highlights
Dark Blue	#1f5f85	Backgrounds, contrast
Soft Cyan	#d2f1ff	Light backgrounds, UI elements
Deep Navy	#0d2b3e	Text on light backgrounds
White	#ffffff	Text on dark backgrounds

 * 
 * 
 */




#main-wrapper a {
    color: #d17f3d; /* Warm copper link color */
}

#main-wrapper a.btn-secondary {
    color: #fff;
}

.navbar-brand img {
    max-width: 300px;
    padding-left: 10px;
}

@media (max-width: 480px) {
    .navbar-brand img {
        max-width: 200px;
    }
}

@media (max-width: 576px) {
    #main-wrapper,
    .site-footer {
        padding: 0 20px;
    }
    
    .site-footer .row {
        margin-bottom: 30px;
    }
}

#navbar-top {
    background-color: #2a3b3c !important; /* Dark teal navbar */
    overflow: hidden;
}

#navbar-main {
    background-color: #ffffff!important;
    border-bottom: 1px solid #09180f;
}

.btn-primary,
div.button a {
    background-color: #003c2c !important;
    border: 0;
    text-decoration: none;
}

.featured-bottom div.button a,
.featured-bottom div.views-field-view-node a,
#main-wrapper div.button a,
#main-wrapper div.views-field-view-node a {
    margin: 10px 0 30px 0;
    border-radius: 10px;
    display: inline-block;
    padding: 6px 10px;
    color: #fff;
}

#main-wrapper div.views-field-view-node a {
    background-color: #824221;
    text-decoration: none;
}

#main-wrapper .flag a {
    background-color: #9198A2;
    border: 1px solid #999;
    text-decoration: none;
    margin: 10px 0 30px 0;
    border-radius: 10px;
    display: inline-block;
    padding: 6px 10px;
    color: #fff;
}

#main-wrapper .flag.action-unflag a {
    background-color: #A75E35; 
}

.navbar-expand-lg .navbar-nav .nav-link {
    color: #003c2c;
}

.navbar-expand-lg .navbar-nav .nav-link:hover {
    background: #333;
    color: #fff;
}

@media (min-width: 900px) {
    .navbar-nav {
        padding-right: 30px;
    }
    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 32px 15px;
    }
}

.navbar-expand-lg .navbar-nav .nav-link.is-active {
    color: #fff;
    background: #3d9fd1;
}

.navbar-toggler {
    color: #fff;
    border-color: #fff;
    margin: 0 10px 0 0;
    background: #fff;
}

@media (max-width: 767px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-left: 10px;
    }
}

.block-search {
    margin: 0;
}

.block-search .mb-3 {
    margin-bottom: 0!important;
}

.main-content {
    padding: 30px 0;
}

.node .field--type-image {
    float: none;
} 

@media (min-width: 800px) {
    .taxonomy-term .field--type-image,
    .node .field--name-field-image,
    .node .field--type-image {
        float: right;
        width: 40%;
        margin: 0 0px 20px 30px;
    }
}

.main-content iframe {
    width: 100%;
    height: auto;
    min-height: 300px;
}

.field--name-body img,
.field--type-image img,
.views-field-field-image img,
.views-field-field-media img,
.views-field-field-event-image img,
.views-field-body img {
    width: 100%;
    height: auto;
    border: 1px solid #333;
}

#main-wrapper .view-footer a.button {
    border-radius: 5px;
    padding: 10px;
    background: #333;
    color: #fff;
    text-decoration: none;
}

.inline__links {
    padding: 10px;
    margin-top: 30px;
    background: #333;
}

@media (min-width: 800px) {
    .site-footer__top .region {
        width: 23%;
        padding: 0;
        margin: 0 2% 0 0;
    }
}

.site-footer .block {
    margin: 0 0 30px 0;
    border: 0;
    padding: 0;
}

main .block {
    margin-bottom: 30px;
}

.sponsors .content {
    padding: 20px 0;
}

.view-sponsors img {
    margin-bottom: 20px;
}

.sponsors .content > .views-row {
    display: flex;
    align-items: center;
    text-align: center;
}

.sponsors .col-md-4 {
    display: flex;
    align-items: center;
}

h1, h2, h3, h4 {
    color: #001f3f; /* Deep navy */
    overflow: hidden;
}

.field {
    margin-bottom: 20px;
}

.field__label {
    font-weight: bold;
}

.form-checkboxes .mb-3 {
    margin-bottom: 2px!important;
}

.views-row {
    margin-bottom: 20px;
}

.col-md-3.views-row,
.col-md-4.views-row {
    border-bottom: 1px solid #999;
}

.sidebar .views-row,
.site-footer .views-row {
    margin-bottom: 10px;
}

.view-tag-list .views-row {
    margin-bottom: 5px;
}

.views-view-responsive-grid__item-inner {
    border: 1px solid #e3e3e3;
    padding: 10px;
}

nav.action-links li {
    display: inline-block;
    margin-right: 10px;
}

table tr th {
    color: #333;
}

.calendar-calendar .day-view #single-day-container {
    height: 500px!important;
}

/* 2025 Calendar - Mobile Fix Start */



@media screen and (max-width: 768px) {
  .calendar-calendar .month-view table {
    width: 100%;
    border-collapse: collapse;
  }

  /* Hide weekday headings */
  .calendar-calendar .month-view thead,
  .calendar-calendar .month.day {
    display: none;
  }

  /* Stack each pair of rows (date-box + single-day) vertically */
  .calendar-calendar .month-view tr.date-box,
  .calendar-calendar .month-view tr.single-day {
    display: block;
    width: 100%;
    height: auto!important;
    max-height: 200px!important;
  }

  .calendar-calendar .month-view td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ccc;
    padding: 8px;
    position: relative;
    max-height: 200px!important;
    height: auto!important;
  }

  .calendar-calendar .month-view tr.date-box td::before {
    content: attr(headers);
    display: block;
    font-weight: bold;
    background-color: #666;
    color: white;
    padding: 4px;
    margin-bottom: 6px;
    text-align: center;
  }

  /* Don't hide .empty or .no-entry — show the grid for layout */
  /* If you still want to hide them later, use JavaScript conditionally */

  .calendar-calendar .month-view td.today {
    background-color: #eef7ff;
    border-left: 4px solid #0074ab;
  }

  .calendar-calendar .month-view .month.day {
    font-weight: bold;
    margin-bottom: 4px;
    font-size: 1.2em;
  }

  .calendar-calendar .month-view .inner {
    padding: 0;
    min-height: 30px;
  }

  /* Optional: better spacing between weeks */
  .calendar-calendar .month-view tr.single-day {
    margin-bottom: 1rem;
  }
}




/* 2025 Calendar - Mobile Fix End */







.taxonomy-term .field {
    margin-bottom: 10px;
}

.taxonomy-term .field .field__label {
    background: none; /* Removed background */
    min-width: 70px;
    padding-left: 3px;
}

legend {
    font-size: 1.0rem;
    padding-top: 10px;
    border-top: 1px solid #999;
}




fieldset legend {
	border: 0;
	padding-top: 0;
}

main .view-filters .js-form-item,
main .fieldgroup {
	margin-right: 20px;
}

main .bef-checkboxes .checkbox {
	display: inline-block;
	margin-right: 10px;
}


.block-ad {
	margin: 10px 0;
	text-align: center;
}

.block-ad img {
	max-width: 300px;
}

.block-adleaderboard img {
	max-width: 728px
}



#edit-actions {
    clear: both;
}

.bef-exposed-form details {
	flex: 1 1 100%;  /* Ensures items take up full width and stack */
 	padding: 10px;
 	margin-bottom: 10px;
}


.cards {
    padding: 15px;
    margin-bottom: 20px;
    background: #fff;
}

.cards h3,
.cards h3 a {
    text-decoration: none;
    font-size: 18px;
}

.cards a {
}

.cards .views-field-field-image,
.cards .field--type-image,
.cards .views-field-field-logo,
.cards .views-field-field-event-image,
.cards .views-field-field-mun-logo,
.cards .views-field-field-dir-image {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f0f0f0;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid #333;
}

.cards .views-field-field-image img,
.cards .field--type-image img,
.cards .views-field-field-logo img,
.cards .views-field-field-event-image img,
.cards .views-field-field-mun-logo img,
.cards .views-field-field-dir-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    background: #f0f0f0;
}
