/**
 * MarsHill 2: global styles (both themes)
 *
 * Buttons, Layout Builder and Bootstrap Styles options, store list, video embeds.
 * Merged from these Asset Injector stylesheets, in their original load order:
 *   - Bootstrap Styles (bootstrap_styles)
 *   - Buttons (buttons)
 *   - custom (custom)
 *   - Layout Builder Styles (layout)
 *   - MarsHill HOPE store list view (marshill_hope_store_list)
 *   - Video (video)
 */

/* ==========================================================================
   Bootstrap Styles (bootstrap_styles)
   ========================================================================== */

/* CSS for layout colors */

/* white background */
.bs-bg-white {background-color: #ffffff !important;}
.bs-bg-white {color: #121c4d; }

/* light blue */
.bs-bg-light-blue {background-color: #e6f0ff !important;}
.bs-bg-light-blue {color: #121c4d;}

/* dark blue */
.bs-bg-dark-blue {background-color: #121c4d !important;}
.bs-bg-dark-blue.field-content {color: #fff;margin-top: 5px;}
.bs-bg-dark-blue .field-content {color: #fff; padding:10px;}

/* orange */
.bs-bg-orange {background-color: #F07D04 !important;}

/* mars hill blue */
.bs-bg-mars-hill {background-color: #506CAB;}
.bs-bg-mars-hill {color: #506CAB;}
.bs-bg-mars-hill layout-builder-block {background-color: #506CAB;}

/* Black Text */
.bs-text-black .bs_tooltip {background-color: #000 !important;}
.bs-text-black h2 {color: #000;}
.bs-text-black h3 {color: #000;}
.bs-text-black h4 {color: #000;}
.bs-text-black h5 {color: #000;}
.bs-text-black h6 {color: #000;}
.bs-text-black p {color: #000;}
.bs-text-black {color: #000;}

/* White Text */
/*.bs-text-white {background-color: #ffffff !important;}*/
.bs-text-white h2 {color: #ffffff; font-size: 3.0em;}
.bs-text-white h3 {color: #fff; font-size: 1.5em;}
.bs-text-white h4 {color: #fff; font-size: 1.5em;}
.bs-text-white h5 {color: #fff;}
.bs-text-white h6 {color: #fff;}
.bs-text-white p {color: #fff;}
.bs-text-white {color: #fff;}
.bs_input-circles .bs-text-white {background-color: #ffffff !important;}
.bs-text-white .bs_tooltip {background-color: #ffffff !important;}
.bs-text-white a {color:#ffffff;}
.bs-text-white a:hover {color: #fff;}

/* Dark Blue Text */
.bs_input-circles .bs-text-blue {background-color: #121c4d !important;}
.bs-text-blue .bs_tooltip {background-color: #121c4d !important;}
.bs-text-blue h2 {color: #121c4d;}
.bs-text-blue h3 {color: #121c4d;}
.bs-text-blue h4 {color: #121c4d;}
.bs-text-blue h5 {color: #121c4d;}
.bs-text-blue h6 {color: #121c4d;}
.bs-text-blue p {color: #121c4d;}
.bs-text-blue {color: #121c4d;}

/* Orange Text */
.bs_input-circles .bs-text-orange {background-color: #f07d04 !important;}
.bs-text-orange .bs_tooltip {background-color: #f07d04 !important;}
.bs-text-orange h2 {color: #f07d04;}
.bs-text-orange h3 {color: #f07d04;}
.bs-text-orange h4 {color: #f07d04;}
.bs-text-orange h5 {color: #f07d04;}
.bs-text-orange h6 {color: #f07d04;}
.bs-text-orange p {color: #f07d04;}
.bs-text-orange {color: #f07d04;}

/* Light Blue Text */
.bs_input-circles .bs-text-light-blue {background-color: #e6f0ff !important;}
.bs-text-light-blue .bs_tooltip {background-color: #e6f0ff !important;}
.bs-text-light-blue h2 {color: #e6f0ff;}
.bs-text-light-blue h3 {color: #e6f0ff;}
.bs-text-light-blue h4 {color: #e6f0ff;}
.bs-text-light-blue h5 {color: #e6f0ff;}
.bs-text-light-blue h6 {color: #e6f0ff;}
.bs-text-light-blue p {color: #e6f0ff;}
.bs-text-light-blue {color: #e6f0ff;}

/* Light Background */
.bs-bg-light {background-color: #f1f1f1 !important;}

/* ckeditor source 100% high*/
.ck-content{ color:#000!important}
.ck-source-editing-area textarea {height: 100%!important;}

.dxpr-theme-footer {margin-bottom: 20px;}
.field--name-field-description  {font-size:1.0em; text-align: left;}

/* ==========================================================================
   Buttons (buttons)
   ========================================================================== */

/* hides the quantity on all commerce forms */
.field--widget-commerce-quantity  {display:none;}

.primarybutton {font-weight: bold;}
a.btn-primary {color: #fff; text-align:center;}
a.btn-primary:hover {color: #fff;text-decoration: none;}
a.btn-primary h3 {color: #fff; padding-top: 10px;}
a.btn-primary .btn-lg {color: #fff;}
a.btn-primary .btn-lg {background: #506CAB;}

/*secondary */
.secondarybutton {font-weight: bold;}
a.btn-secondary {color: #fff; padding-top: 5px;}
a.btn-secondary:hover {color: #fff; text-decoration: none;}
a.btn-secondary h3 {color: #000; padding-top: 10px;}
a.btn-secondary h3:hover {color: #fff;}
.btn-secondary {background: #a8d6e7; border: #a8d6e7;}

/*success */
.successbutton {font-weight: bold;}
a.btn-success {color: #fff;}
a.btn-success:hover {color: #efefef; text-decoration: none;}
a.btn-success h3 {color: #fff; padding-top: 10px;}
a.btn-success h3:hover {color: #fff;}
/*.btn-success {background: #a8d6e7; border: #a8d6e7;}*/

/* warning */

.warningbutton {font-weight: bold;}
a.btn-warning {color: #fff;}
a.btn-warning:hover {color: #000; text-decoration: none;}
a.btn-warning h3 {color: #fff; padding-top: 10px;}
a.btn-warning h3:hover {color: #000;}

/* danger */
.dangerbutton {font-weight: bold;}
a.btn-danger {color: #fff;}
a.btn-danger:hover {color: #fff; text-decoration: none; margin-top: 10px;}
a.btn-danger h3 {color: #fff; padding-top: 10px;}
a.btn-danger h3:hover {color: #fff;}
.btn-danger {background: red; border: red;}

/* info */

.infobutton {font-weight: bold;}
a.btn-info {color: #fff;}
a.btn-info:hover {color: #000; text-decoration: none;}
a.btn-info h3 {color: #fff; padding-top: 10px;}
a.btn-info h3:hover {color: #000;}

/* light */

.lightbutton {font-weight: bold;}
/*a.btn-light {color: #fff;}*/
a.btn-light:hover {color: #000; text-decoration: none;}
a.btn-light h3 {color: #000; padding-top: 10px;}
/*a.btn-light h3:hover {color: #000;}*/

/* dark */

.darkbutton {font-weight: bold;}
a.btn-dark {color: #fff;}
a.btn-dark:hover {color: #fff; text-decoration: none;}
a.btn-dark h3 {color: #fff; padding-top: 10px;}
/*a.btn-light h3:dark {color: #000;}*/

.outlinebtn {
  border: 2px solid black;
  background-color: transparent;
  color: black;
  padding: 14px 28px;
  font-size: 16px;
  cursor: pointer;
   border-radius: 5px;
}

/* Green */
.success {
  border-color: #04AA6D;
  color: green;
}

.success:hover {
  background-color: #04AA6D;
  color: white;
}

/* Blue */
.info {
  border-color: #2196F3;
  color: dodgerblue
}

.info:hover {
  background: #2196F3;
  color: white;
}

/* Orange */
.warning {
  border-color: #ff9800;
  color: orange;
}

.warning:hover {
  background: #ff9800;
  color: white;
}

/* Red */
.danger {
  border-color: #f44336;
  color: red
}

.danger:hover {
  background: #f44336;
  color: white;
}

/* Gray */
.default {
  border-color: #e7e7e7;
  color: black;
}

.default:hover {
  background: #e7e7e7;
}

/* Primary button hover/focus: 10% lighter than the base blue (#506CAB)
   instead of the DXPR secondary green. */
.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary.focus,
.btn.btn-primary:active,
.btn.btn-primary.active,
.btn.btn-primary:has(a:focus-visible) {
  background-color: #7188BD;
  border-color: #7188BD;
  color: #fff;
}

/* ==========================================================================
   custom (custom)
   ========================================================================== */

.block-superfish {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Layout Builder Styles (layout)
   ========================================================================== */

/* LB Fixes */

/* link colors */
a, a hover {color: #C63E44}
.dark a, a hover {color: #fff; margin-top: 10px; font-size: 24px;}
.light a, a hover {color: #121c4d; margin-top: 10px; font-size: 18px;}

/* tall banner */

.tall-banner {height: 500px !important; display: flex; align-items: center; }
.tall-banner h2 {color: #fff; text-align: center; line-height: 1.0em; font-size: 3.0em; text-shadow: 2px 2px 4px #000000;}
.tall-banner h3 {color: #fff; text-align: center; font-size: 2.5em; }
.tall-banner h4 {color: #fff; text-align:center; font-size: 2.0em;}

/* banner */
.block-inline-blocklarge-banner {text-align: center;}
.block-inline-blocklarge-banner h2 {color: #fff; font-size: 4em; text-align:center; padding-top: 30px; line-height: 1.0em; text-shadow: 2px 2px 4px #000000; }
.block-inline-blocklarge-banner p {color: #fff; font-size: 1.5em; text-align:center; line-height: 1.0em;}
.block-inline-blocklarge-banner h4 {color: #fff; font-size: 2.0em; text-align:center; line-height: 1.0em;}
.btn .btn-primary .btn-lg p { text-align:center; }
.block-inline-blocklarge-banner { height: 420px;}

.block-inline-blocklarge-banner-text-on-side  { padding-left: 15%; padding-right: 15%;}
.block-inline-blocklarge-banner-text-on-side  h2 {color: #fff; font-size: 4em; text-align:left; padding-top: 80px; line-height: 1.0em; text-shadow: 2px 2px 4px #000000; }
.block-inline-blocklarge-banner-text-on-side  p {color: #fff; font-size: 1.1em; text-align:left; line-height: 1.1em;}
.block-inline-blocklarge-banner-text-on-side  h4 {color: #fff; font-size: 2.0em; text-align:left; line-height: 1.0em;}
.block-inline-blocklarge-banner-text-on-side { height: 420px;}

/* cards */
 .block-inline-blockcard {border: 1px black solid;}
.block-field-blockblock-contentcardfield-heading {color: #2B4D66; font-weight: 400; font-size: 1.2em; margin-top: 10px; padding-left: 1.5em; padding-right: 1.5em;}
.block-field-blockblock-contentcardfield-heading {   
	letter-spacing: .00125rem;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    padding-bottom: .75rem;
    position: relative;
    transition: color .25s ease-in-out;
    transition-behavior: normal;
    text-transform: uppercase;
  }
.block-field-blockblock-contentcardfield-heading::after {
	   background-color: #d8d8d8;
    bottom: 0;
    content: "";
    display: block;
    height: .125rem;
    left: 1.6em;
    position: absolute;
    width: 2.9375rem;
}
.block-field-blockblock-contentcardbody {padding: 1.2em;}
/*

.block-inline-blockcard {border: 1px solid black;  padding: 20px; }
.block-inline-blockcard a {color: #2B4D66; font-weight: bold;}
.block-inline-blockcard  .block-title {
    letter-spacing: .00125rem;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    padding-bottom: .75rem;
    position: relative;
    transition: color .25s ease-in-out;
    transition-behavior: normal;
  }
 h2.block-title::after {
    background-color: #d8d8d8;
    bottom: 0;
    content: "";
    display: block;
    height: .125rem;
    left: 0;
    position: absolute;
    width: 2.9375rem;
  }
*/
.block-inline-blockcard:hover {
-webkit-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
-moz-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
box-shadow: 5px 40px -10px rgba(0,0,0,0.57);
transition: all 0.4s ease 0s;

}

.cards {height: 300px !important;}
.cards p { font-size: 30px; text-align: center; line-height: 100px;}
.cards h2 {font-size: 50px; text-align: center; line-height: 100px;}

/*.field--name-field-number {font-family: "Bebas Neue", "Bebas Neue"; font-size: 48px; text-align: center; }*/
/*.field--name-field-description {font-family: "Open Sans"; font-size: 30px; text-align: center; }*/

/* big header */
.big-header h2 {font-size: 70px; color:#fff; font-weight: bold;}

.layout-builder__link--rearrange
{
margin-right:10px;
}

/* date in block view - latest posts */
.views-field-field-publication-date {font-size: 0.8em; margin-left:10px; margin-top: -20px;}

.ck-content {color: #000;}

/* images in body */

/* transparent blocks in LB */ 
/*.layout-builder-block {background: rgba(0,0,0,0);}*/

/* removes margin for full image coverage on no gutter sections */
.row > * {margin-bottom: 0;}
.row>* {margin-bottom: 0;}

/* adds 30px padding to sections when class selected */
.verticalpadding {margin-top: 30px; margin-bottom: 30px;}

.media-library-item__remove {position: relative; height: 40px;margin-bottom:30px;}
.media-library-item__remove.button:first-child {position: relative;}

/* files in a card */
.field--name-field-media-document {padding:1.2em;}
.field--name-field-media-image {padding: 0px;}

/* dark overlay bacgrounds */
.dark-overlay {  background: rgba(0,0,0,0.4);}

/* alert styles */
#secondary-header {z-index: 405; padding-top: 5px; padding-bottom: 2px; line-height: 1.2em; background: none; color: none;}

.Information {background: #121C4D; color: #fff; padding-left: 20px;}
.RedAlert {background: red; color: #fff; padding-left: 20px;}
.YellowAlert {background: yellow; color: #000; padding-left:20px;}
.GreenAlert {background: green; color: #fff; padding-left:20px;}

/* VIEW DOWNLOADS BUTTON */
.view-downloads {
  display: none;
}

body.user-logged-in .view-downloads {
  display: inline-block;
}

/* ==========================================================================
   MarsHill HOPE store list view (marshill_hope_store_list)
   ========================================================================== */

/**
 * HOPE store: Thumbnail / List View switch and the list display
 * (views.view.hope_store_page block_2), styled after the D7 store.
 * Text sizes follow the D10 site rather than D7's 13.5px.
 */

/* Switch */
.hope-store-switch {
  margin: 0 0 15px;
}
.hope-store-switch a,
.hope-store-switch a:visited {
  color: #BF1E2D;
  text-decoration: none;
  white-space: nowrap;
}
.hope-store-switch a:hover,
.hope-store-switch a:focus {
  color: #4F2F17;
  text-decoration: underline;
}
.hope-store-switch svg {
  vertical-align: -1px;
}
.hope-store-switch > span {
  margin: 0 4px;
  color: #4F2F17;
}
/* Current view in bold, set by which display is on the page. */
.hope-store-list-view .hope-store-switch__list,
.view-display-id-block_1 .hope-store-switch__grid {
  font-weight: 700;
}

/* List */
.hope-store-list-view table.views-table {
  width: 100%;
  max-width: 700px;
  margin: 0;
  border-collapse: collapse;
  background: transparent;
}
.hope-store-list-view table.views-table caption {
  caption-side: top;
  margin: 10px 0;
  padding: 0;
  font-size: 1.4em;
  line-height: 1.2;
  color: #4F2F17;
  text-align: left;
}
/* Column headers stay for screen readers; D7 showed none. */
.hope-store-list-view table.views-table thead {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.hope-store-list-view table.views-table > tbody > tr,
.hope-store-list-view table.views-table > tbody > tr:nth-of-type(odd),
.hope-store-list-view table.views-table > tbody > tr:nth-of-type(even) {
  background-color: #eee;
  --bs-table-accent-bg: transparent;
  --bs-table-striped-bg: transparent;
}
/* Beats the theme's .table.table-striped > tbody > tr:nth-of-type(odd) > * stripes. */
.hope-store-list-view table.views-table > tbody > tr:nth-child(n) > td {
  padding: 10px;
  border: 0;
  border-bottom: 1px solid #B9B7A8;
  vertical-align: middle;
  background: #eee;
  box-shadow: none;
  color: inherit;
}
.hope-store-list-view table.views-table td.views-field-title a,
.hope-store-list-view table.views-table td.views-field-title a:visited {
  color: #BF1E2D;
  text-decoration: none;
}
.hope-store-list-view table.views-table td.views-field-title a:hover,
.hope-store-list-view table.views-table td.views-field-title a:focus {
  text-decoration: underline;
}
.hope-store-list-view table.views-table td.views-field-view-node {
  text-align: right;
  white-space: nowrap;
  width: 1%;
}
.hope-store-list-view a.list-view-details.btn,
.hope-store-list-view a.list-view-details.btn:visited {
  display: inline-block;
  padding: 2px 12px;
  border: 1px solid #754616;
  border-radius: 4px;
  background: #D5CAB6;
  color: #754616;
  font-size: 0.85em;
  line-height: 1.4;
  text-decoration: none;
  box-shadow: none;
}
.hope-store-list-view a.list-view-details.btn:hover,
.hope-store-list-view a.list-view-details.btn:focus {
  background: #754616;
  border-color: #754616;
  color: #fff;
}

/* Product pages: the format icons (HQ/MQ/LQ MP4, study guide) beside
   each download option are too small to be useful on phones. Hide the
   whole icon column so the name and price get the room. */
@media (max-width: 767.98px) {
  .views-table :is(td, th).views-field-field-icon {
    display: none;
  }
}

/* ==========================================================================
   Video (video)
   ========================================================================== */

.field--name-field-media-oembed-video {
position: relative;
overflow: hidden;
width: 100%;
padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* Then style the iframe to fit in the container div with full height and width */
.media-oembed-content {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
}
#block-claro-content .field--name-field-media-oembed-video {padding-top: 0px;}

/* ==========================================================================
   Views exposed filters: Apply / Reset on the same line as the filters
   ========================================================================== */
/* Every view with exposed filters (Better Exposed Filters "form--inline"):
   filters and buttons share one row and wrap only when there is no room.
   "last baseline" lines the button text up with the text in the search
   box, which centres the buttons on the box. A field's help text
   (e.g. "by language, country, region or continent") stays under its box
   without pushing the buttons down. */
.views-exposed-form .form--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: last baseline;
  gap: 10px 15px;
  margin-bottom: 20px;
}
.views-exposed-form .form--inline::before,
.views-exposed-form .form--inline::after {
  content: none;
}
.views-exposed-form .form--inline > .form-item,
.views-exposed-form .form--inline > .form-actions {
  float: none;
  margin: 0;
}
/* The search box takes whatever room the buttons leave, up to 260px, so
   Apply and Reset still fit beside it on a phone. */
.views-exposed-form .form--inline > .form-item {
  flex: 1 1 160px;
  min-width: 0;
  max-width: 260px;
}
.views-exposed-form .form--inline > .form-item :is(input.form-text, select) {
  width: 100%;
  max-width: 100%;
}
.views-exposed-form .form--inline > .form-item:has(> .description) {
  position: relative;
  margin-bottom: 1.6em;
}
.views-exposed-form .form--inline > .form-item > .description {
  position: absolute;
  top: 100%;
  left: 0;
  white-space: nowrap;
}
.views-exposed-form .form--inline > .form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.views-exposed-form .form--inline > .form-actions :is(.btn, .button) {
  margin: 0;
}

/* ==========================================================================
   Button with text beside it (D7 "btn pull-left" paragraphs)
   ========================================================================== */
/* Prayer & Giving (PRAY, GIVE) and Stay Connected (CONNECT):
   <p class="mh-cta"><a class="btn btn-primary" href="...">PRAY</a>
   <span>If you would like to ... </span></p>
   The button sits on the left and the sentence runs beside it, as on D7.
   The tops line up: the space above the first line of the sentence is
   trimmed (text-box), so its capital letters start level with the top of
   the button. Browsers without text-box show the text a few pixels lower. */
p.mh-cta {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 0 0 20px;
}
p.mh-cta > .btn {
  flex: 0 0 auto;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid #506DAA;
  border-radius: 4px;
  background: #506DAA;
  color: #fff;
  font-family: 'UniversLTStd57Condensed', Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-decoration: none;
}
p.mh-cta > .btn:is(:hover, :focus) {
  border-color: #3D5A99;
  background: #3D5A99;
  color: #fff;
}
p.mh-cta > span {
  flex: 1 1 auto;
  min-width: 0;
  text-box: trim-start cap alphabetic;
}

/* ==========================================================================
   Keep the page from shifting sideways between pages
   ========================================================================== */
/* On Windows (and Macs set to "always show scrollbars") the scrollbar only
   appeared on pages taller than the window. Short pages were ~16px wider,
   so the centred layout, and the blue/tan sidebar with it, jumped
   sideways when moving between short and long pages. Always show the
   scrollbar so every page has the same width. The open mobile menu still
   locks scrolling (DXPR's html.html--dxpr-theme-nav-mobile--open rule is
   more specific). */
html {
  overflow-y: scroll;
}
