@import url("base.css");

:root {
    --body-color: #555 !important;
    --body-font-size: 14px !important;

    --cassiopeia-color-primary: #005eab !important;
    --cassiopeia-color-secondary: #005eab !important;
    --cassiopeia-color-link: #11143e !important;
    --cassiopeia-color-hover: #282728 !important;

    --cassiopeia-font-family-body: "Open Sans", sans-serif !important;
    --cassiopeia-font-weight-normal: 300 !important;
    --cassiopeia-font-family-headings: "Open Sans", sans-serif !important;
    --cassiopeia-font-weight-headings: bold !important;
}


/* HTML TAGS/GENERIC CLASSES */

.btn, button.cf-btn {
    text-transform: uppercase !important;
    padding: 4px 20px !important;
}

.btn:hover, button.cf-btn:hover, button:not(.separator):hover {
    background-color: white !important;
    color: var(--cassiopeia-color-primary) !important;
    text-decoration: none !important;
}

.btn.btn-alt:hover, 
.btn.btn-alt:focus {
    background: #ffffff !important;
}

.btn.btn-alt {
    color: #005EAB !important;
    background: #ffea00 !important;
}

h1 {
	font-size: 26px;
	line-height: 28px;
}
h2 {
	font-size: 22px;
	line-height: 24px;
}
h3 {
	font-size: 18px;
	line-height: 20px;
}
h4 {
	font-size: 14px;
	line-height: 16px;
}
h5 {
	font-size: 13px;
	line-height: 15px;
}
h6 {
	font-size: 12px;
	line-height: 14px;
}

.site.error_site.wrapper-static.view-.no-layout.no-task .site-grid {
	margin-top: 0 !important;
}

/* NAVBAR */

header.container-header, header.container-header .container-topbar {
    background-color: transparent !important;
}

header.container-header .container-topbar .moduletable {
	width: 100%;
	padding-right: 10px;
	max-width: 1320px;
	margin: 0 auto;
	box-sizing: border-box;
}

header.container-header .container-topbar .mod-custom {
    color: #005eab;
    font-size: 10px;
    font-style: italic;
    font-weight: bold;
    text-transform: uppercase;
}

header.container-header .container-menuwrap {
    flex-direction: column;
    background: rgba(255, 255, 255, 0.9);
    max-width: 100%;
    margin-top: -25px;
    padding: .5em 0 0 0;
}

header.container-header .container-menuwrap > div:first-child {
    /*margin-left: -180px;*/
}

header.container-header .container-menuwrap .container-nav {
    max-width: 100%;
    width: 100%;
    background: var(--cassiopeia-color-primary);
    border-top: 3px solid #ffea00;
}

header.container-header .container-menuwrap .container-nav .moduletable {
    width: fit-content;
    margin: auto;
}

header.container-header .container-menuwrap .container-nav .navbar {
    margin-top: 0;
}

header.container-header .container-menuwrap .container-nav .item-1121 a {
    width: 120px;
    height: auto;
    position: absolute;
    top: -80px;
    left: -70px;
}

header.container-header .container-menuwrap .container-nav .item-1121 a::after {
    display: none;
}

header.container-header .container-menuwrap .container-nav .item-1121 a img {
    width: 100%;
    height: 100%;
}

header.container-header .container-menuwrap .container-nav li a {
    font-size: 15px;
    text-transform: uppercase;
}

header.container-header .container-menuwrap .container-nav li.active a,
header.container-header .container-menuwrap .container-nav li:hover a {
    color: #ffea00;
}

/* TOP BANNER */

.carousel .carousel-indicators button {
    border-radius: 50% !important;
    height: 5px;
    width: 6px;
    padding: 2px !important;
    background-color: black !important;
    border-color: black !important;
}

/* BODY */

.site-grid {
    margin-top: -184px;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  color: #005eab;
  margin-bottom: 6px;
  margin-top: 6px;
  text-transform: uppercase;
}

.blog-items .blog-item .fields-container {
    display: block !important;
}

.site.com_content.view-category.layout-blog.itemid-159 .blog-items .blog-item div:only-child {
	flex-basis: 100% !important;
}

/* DONATE BOXES */

.repeatfields {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.repeatfields .repeatitem {
  flex-basis: 33%;
  border: 1px solid #d5d5d5;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.repeatfields .repeatitem > div {
  width: 100%;
}

.repeatfields .repeatitem .repeatimage {
  padding-bottom: 70%;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin-bottom: 15px;
}

.repeatfields .repeatitem p {
  padding: 0 10px;
  text-align: center;
}

.repeatfields .repeatitem h3, .donatedetails h2, .donatedetails h3, .field-entry.donate-footer-text h2, .field-entry.donate-footer-text h3 {
  padding: 0;
  margin-top: 0 !important;
  color: #005eab;
  text-transform: uppercase;
  padding: 0 !important;
  margin-bottom: 20px !important;
}

.repeatfields .repeatitem h3 {
  text-align: center;
}

.field-entry .moduletable .custom {
  padding: 0 !important;
  max-width: 100% !important;
}

.field-entry .moduletable .custom .wf-columns {
  gap: 0rem !important;
}

.field-entry .moduletable .custom .wf-columns .wf-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.field-entry .moduletable .custom .wf-columns .wf-column {
  padding: 0 10px 0 10px;
}

.field-entry .moduletable .custom .wf-columns .wf-column:not(:last-child), 
.field-entry .donatedetails .wf-columns .wf-column:not(:last-child) {
  border-right: 1px solid lightgrey;
}

.field-entry .moduletable .donateamounts .wf-columns .wf-column p {
  padding: 0 15px 0 15px;
}

.field-entry .moduletable .custom .wf-columns .wf-column p a {
  min-width: 140px;
  margin-bottom: 5px;
}

.donatedetails {
  border: 1px solid #d5d5d5;
  border-radius: 5px;
  margin-top: 30px;
  padding: 30px 10px;
}

.repeatfields .repeatitem.notchosendonate {
  opacity: 0.5;
}

.repeatfields .repeatitem.chosendonate {
  box-shadow: 0px 0px 1px 1px #005eab;
}

.field-entry.donate-footer-text {
  border: 1px solid #d5d5d5;
  margin-top: 30px;
  border-radius: 4px;
  padding: 20px;
}

/* SIDEBAR */

.container-sidebar-right {
    border-left: 2px solid #005eab;
    padding-left: 15px;
    margin-bottom: 70px;
}

.container-sidebar-right .moduletable {
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset;
  margin-bottom: 20px;
  min-height: 20px;
}

.newsletter-sidebar {
  background-color: #fff;
  border: medium none;
  box-shadow: none;
  padding: 2px;
}

.donate-sidebar {
  background-color: #fff;
  border-radius: 0;
  margin-bottom: 0;
  padding: 0;
}

.container-sidebar-right h3 {
  background-color: #005eab;
  color: #ffea00;
  font-size: 16px;
  padding: 9px;
  text-align: left;
  text-transform: uppercase;
  margin: 0;
}

.donate-sidebar .custom {
  font-size: 14px;
  line-height: 1.5;
  padding: 9px;
  text-align: left;
}

.latest-news-sidebar {
  background-color: #fff;
  padding: 0;
}

.latest-news-sidebar ul {
  margin-left: 20px;
  margin-top: 7px;
  list-style: disc;
  padding: 9px;
}

.latest-news-sidebar ul li {
  text-align: left;
}

.latest-news-sidebar ul li a {
  color: #555;
  font-size: 14px;
}


/* BOTTOM BANNER */



/* FOOTER */

footer.container-footer {
    border-top: 3px solid #ffea00;
}

footer.container-footer .grid-child {
    padding: 1rem .5em;
}

/* RESPONSIVE DESIGN */

@media (max-width: 992px) {
    .container-header .navbar-brand img {
        max-width: 350px;
        width: auto;
    }
    
    header.container-header .container-menuwrap {
        flex-direction: row;
    }
    
    header.container-header .container-menuwrap .container-nav {
        background: none;
        border: none;
    }
    
    header.container-header .container-menuwrap .container-nav .moduletable {
        margin: 0 0 0 auto;
    }
    
    .container-header .navbar-collapse {
        top: 90px;
    }
    
    body > div.site-grid {
        margin-top: 0px;
    }
    
    .container-sidebar-right {
        border: none;
        padding-left: 0;
        margin-bottom: 0;
    }
    
    header.container-header .container-menuwrap {
        border-bottom: 5px solid var(--cassiopeia-color-primary);
    }
    
    header.container-header .container-menuwrap .container-nav .moduletable {
        padding-top: 15px;
    }
}

@media (max-width: 492px) {
    .container-header .navbar-brand img {
        max-width: 300px;
    }
}

@media (max-width: 380px) {
    .container-header .navbar-brand img {
        max-width: 250px;
    }
}