.btn-outline-primary.toggle-pill-btn {
    background: #fff;
    color: #473729;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 8px 28px;
    border-radius: 2em;
    transition: background 0.3s, color 0.3s;
    outline: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.btn-outline-primary.toggle-pill-btn.active {
    background: #473729;
    color: #fff;
    box-shadow: 0 2px 8px rgba(71,55,41,0.08);
}
.btn-outline-primary.toggle-pill-btn:not(.active):hover {
    background: #f5f5f5;
}
/* Toggle pill for subscription length */
.toggle-pill-group {
    display: inline-flex;
    background: #fff;
    border-radius: 2em;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.toggle-pill {
    border: none;
    background: transparent;
    color: #473729;
    font-weight: 700;
    font-size: 1rem;
    padding: 8px 28px;
    border-radius: 2em;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    outline: none;
}
.toggle-pill.active, .toggle-pill:checked {
    background: #473729;
    color: #fff;
    box-shadow: 0 2px 8px rgba(71,55,41,0.08);
}
.toggle-pill:not(.active):hover {
    background: #f5f5f5;
}
:root {
    --bs-font-sans-serif: open-sans, sans-serif;
    --bs-heading-color: #473729;    
    --bs-link-color-rgb:71, 55, 41;
    --bs-link-hover-color-rgb: 90, 67, 46;
    --bs-btn-active-bg: #443527;
    --bs-btn-active-border-color: #443527;
}



* {
    box-sizing: border-box;
}

body {
    font-family: open-sans, sans-serif;
    margin: 0;
    padding: 0;
    color: #473729;
}

h1, h2, h3, h4 {
    font-family: berthold-baskerville-pro, sans-serif;
    margin: 0;
    padding: 0;
    color: #473729;
    font-weight: 400;
}

h5, h6 {
    font-family: open-sans, sans-serif;
    font-weight: 700;
}

h1 {
    font-size: 3.875rem;
    letter-spacing: -0.0125rem;
    margin-bottom: 10px;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01rem;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.725rem;
    letter-spacing: -0.01rem;
    margin-bottom: 15px;
}

h5 {
    font-size: 1rem;
    letter-spacing: -0.005rem;
    margin-bottom: 0px;
}

.btn,
.hs-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #E6E6E6;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: 700;
}

.btn-primary,
.hs-button.primary,
.hero .navbar .btn-primary {
    background-color: #473729;
    color: white;
    border-color: transparent
}

.btn-primary:hover,
.hs-button.primary:hover {
    background-color: #5a432e;
    color: white;
    border-color: transparent
}

.btn-primary:active,
.hs-button.primary:active {
    background-color: #3a2e24 !important;
    border-color: #3a2e24 !important;
    color: white;
}

.btn-primary-outline {
    background-color: transparent;
    color: #473729;
    border: 2px solid rgb(71, 55, 41);
    padding: 9px 18px;
}

.btn-primary-outline:hover {
    border-color: rgba(71, 55, 41, 0.75);
}   

.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 8px;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;
}

header {
    background-color: #F5F5F5;
    padding: 10px;
    text-align: center;
    margin: 0 20px;
    top: 20px !important;
    width: calc(100% - 40px);
    position: absolute;
    border-radius: 16px;
    z-index: 100;
}

.logo {
    background: url('../images/portals-of-prayer-logo.svg') no-repeat center center;
    background-size: contain;
    width: 170px;
    height: 36px;
    display: inline-block;
    text-indent: -9999px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li a {
    padding: 0 16px;
    vertical-align: -webkit-baseline-middle;
    color: #473729;
    text-decoration: none;
    font-weight: 700;
}

/* nav a.btn {
    margin-left: 16px;
} */

.hero {
    padding: 235px 0;
    text-align: center;
    position: relative;
}

.hero h1, .hero p {
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.hero .btn-primary {
    background-color: #E6E6E6;
    color: #473729;
    border-color: transparent;
    margin-right: 6px;
}

.hero .btn-primary-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.hero-content .row {
    min-height: 35vh;
    z-index: 10;
    position: relative;
}

.hero-gradient {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgb(48 45 42 / 91%) 30%, rgb(48 45 42 / 0%) 70%);
    z-index: -2;
}

.hero-image {
   object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left:50%;
    transform: translate(-50%, 0%);
    z-index: -10;
}
.about {
    background-color: #EFEBE3;
    padding: 60px 0;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.about img {
    max-width: 475px;
    width: 100%;
    height: auto;
    margin: auto;
}

.subscribe {
    background-color: #fff;
    padding: 100px 0;
    text-align: center;
}

.app-badges img {
    width: auto;
    height: 40px;
    vertical-align: middle;
    object-fit: contain;
}

.hero-subscribe {
    background:  rgba(239, 235, 227, 1.0);
    background-size: cover;
    background-position: top;
    padding: 130px 0 60px;
    text-align: center;
}

.subscribe-form {
    background:  rgba(239, 235, 227, 1.0);
    padding-bottom: 130px;
}

.form-container {
    max-width: 600px;
    margin: auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

footer {
    padding: 40px 0;
}

.subscription-options {
    background: #e0dedd url('../images/subscription-options-bg.jpg') repeat center center;
    background-size: 60%;
    padding: 60px 0;
    /* min-height: 85vh; */
    /* text-align: center; */
}

.table-trasparent-bg {
    background: transparent !important;
    --bs-table-bg: transparent !important;
}

.cover {
    padding: 10px;
    height: 160px;
    position: relative;
    width: 120px;
    margin: auto;
    transition: background 0.5s cubic-bezier(.4,0,.2,1), box-shadow 0.5s cubic-bezier(.4,0,.2,1);
}

.cover.plus-digital {
    /* Remove direct background, use pseudo-element for fade effect */
    position: relative;
}

.cover.plus-digital::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url(https://www1.cph.org/Portals/images/pop-ipad.png);
    background-size: 120px;
    background-repeat: no-repeat;
    background-position: left center;
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(.4,0,.2,1);
    z-index: 1;
    pointer-events: none;
}
.cover:not(.plus-digital)::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(.4,0,.2,1);
    z-index: 1;
    pointer-events: none;
}
.cover img {
    -webkit-box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0%);
    transition: box-shadow 0.5s cubic-bezier(.4,0,.2,1), transform 0.5s cubic-bezier(.4,0,.2,1);
    z-index: 2;
    
}

.cover.plus-digital img {
    -webkit-box-shadow: 0px 0px 14px -2px rgba(79, 89, 92, 1);
    -moz-box-shadow: 0px 0px 14px -2px rgba(79, 89, 92, 1);
    box-shadow: 0px 0px 14px -2px rgba(79, 89, 92, 1);
    position: absolute;
    bottom: 0;
    transform: translate(0%, 0%);
    transition: box-shadow 0.5s cubic-bezier(.4,0,.2,1), transform 0.5s cubic-bezier(.4,0,.2,1);
    transition: color 0.4s, background 0.4s, opacity 0.4s, font-size 0.4s;
    
}



.hidden {
    display: none !important;
}

.pricing-sheet {
    background: #e9e3d8;
    border: 1px solid #ddd5c5;
    box-shadow: inset 0px 2px 10px rgba(0, 0, 0, 0.125);
}

.free-sample-form.modal-body {
    max-width: 100% !important;
    padding: 32px;
}

.free-sample-form .form-columns-2,
.free-sample-form .form-columns-1 {
    margin-bottom: 16px;
}

.free-sample-form .inputs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.free-sample-form .inputs-list label {
    line-height: 0.8;
}

.free-sample-form .hs-fieldtype-text label {
    font-size: 14px;
    margin-bottom: 6px;;
}

.free-sample-form .hs-fieldtype-text input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.hero-sign-in {
    position: relative;
}

.sign-in {
    /* min-height: 95vh; */
    background:
    linear-gradient(
      rgba(0, 0, 0, 0.65),
      rgba(0, 0, 0, 0.65)
    ), url(../images/portals-cover-bg.png);
  background-size: cover;
    margin-top: -25px;
}

.form-wrapper {
	max-width: 550px;
	margin: auto;
	background: white;
	box-shadow: 0px 3px 8px rgba(0,0,0,.2);
	padding: 30px;
	color: black;
	border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group label span {
    display: block;
    float: right;
    font-weight: 400;
}

.subpage {
    background: rgba(239, 235, 227, 1.0);
    padding: 160px 0 60px;
}

.subpage h1 {
    color: #473729;
    text-shadow: none;
    text-align: center;

}

.write-for-portals {
    background-color: #fff;
    padding: 60px 0;
}

.bd-callout {
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #eee;
    border-left-width: 0.25rem;
    border-radius: 0.25rem;
}

.bd-callout-info {
    border-left-color: #0dcaf0;
    background-color: #cff4fc;
}