/****************************************
* Variables
****************************************/

:root {
  --tt-font-1: 'Assistant';

  --tt-color-1: #465487;
  --tt-color-2: #303030;
  --tt-color-3: #757fa5;
  --tt-color-4: #3e567c;
  --tt-color-5: #f0f1f3;
}

/****************************************
* Typography
****************************************/

h1 {
  font: normal bold 35px/1.2em var(--tt-font-1);
  color: var(--tt-color-2);
}

h1 span {
  display: block;
  font-weight: normal;
}

h2 {
  font: normal bold 26px/1.2em var(--tt-font-1);
}

h3 {
  font: normal bold 20px/1.5em var(--tt-font-1);
}

h4 {
  font: normal bold 26px/1.2em var(--tt-font-1);
  color: #ffffff;
}

p,
a, 
li,
label,
input,
legend,
select,
button,
.btn {
  font: normal normal 16px/1.5em var(--tt-font-1);
}

a {
  color: #000000;
  font-weight: 600;
}

a:hover {
  color: var(--tt-color-1);
  text-decoration: none;
}

hr {
  margin: 1rem 0;
  margin-top: .5rem;
  border: none;
  border-top: 2px solid var(--tt-color-1);
}

hr + *,
hr + [type="submit"] {
  margin-top: 0;
}

select:focus,
input:focus {
  outline: 1px solid var(--tt-color-1);
}

.card + [type="submit"],
.donate-form .card + .card,
.donate + .donate,
.gift-card + .d-grid {
  margin-top: 2rem;
}

h1 + p,
h1 + .d-flex,
h2 + p,
h2 + a,
h2 + .d-flex,
h3 + .btn,
p + p,
p + .video,
img + h1,
img + .card,
.d-grid + label,
.clone + .clone,
.cloneWrapper + .addClone,
.d-grid + .amountWrapper,
.action-card + .action-card {
  margin-top: 1rem;
}

legend + .d-grid {
  margin-top: 4px;
}

img {
  border-radius: 20px;
}

.title h2 {
  color: var(--tt-color-1);
  text-align: left;
}

.title p {
  font-size: 18px;
  color: #000000;
}

[type="radio"] {
  background-color: var(--tt-color-1);
}

/****************************************
* Buttons
****************************************/

.btn {
  border-radius: 20px;
  padding: .75rem 2rem;
}

.btn.btn-primary {
  background-color: var(--tt-color-1);
  color: #ffffff;
}

.btn.btn-secondary {
  background-color: #ffffff;
  color: var(--tt-color-1);
}

.btn.btn-third {
  margin-top: 1rem;
  background-color: #ffffff;
  color: var(--tt-color-1);
}

.btn.btn-primary:hover,
.btn.btn-secondary:hover,
.btn.btn-third:hover {
  background-color: var(--tt-color-3);
  color: #ffffff;
}

.btn.addClone {
  padding: .75rem 1rem;
  font-size: 14px;
}

[type="submit"] {
  display: block;
  margin: 0 0 0 auto;
  width: auto;
  height: auto;
}

/****************************************
* Accents
****************************************/

.accent-1 .d-flex {
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.accent-1 .d-flex + .d-flex {
  margin-top: 2rem;
}

.accent-1 h2,
.accent-1 a {
  color: #000000;
}

.accent-1 p {
  color: var(--tt-color-1);
}

.accent-1 p + p {
  margin-top: .2rem;
}

.accent-1 svg {
  width: 50px;
  height: 50px;
  fill: var(--tt-color-1);
}

.accent-2 {
  background-color: var(--tt-color-1);
  text-align: center;
}

.accent-3 {
  background-color: var(--tt-color-5);
}

.accent-4 {
  margin-bottom: 0;
  background-color: #f0f1f3;
  border-radius: 20px;
  padding: 2rem;
}

.accent-4 h2 {
  color: var(--tt-color-1);
  font-size: 30px;
  text-align: center;
}

.accent-4 h3 {
  color: var(--tt-color-1);
  text-align: center;
}

.accent-4 p {
  color: var(--tt-color-1);
}

.accent-4 hr {
  margin-bottom: 2rem;
}

.accent-5 {
  background: linear-gradient(to bottom, #ffffff, #f0f1f3);
}

/* Defining 100% to prevent "grid blowout" with the flexbox */
.accent-5 .col-md-2 {
  grid-template-columns: 100%;
}

.accent-6 p {
  margin-top: 1rem;
  color: var(--tt-color-1);
}

.accent-7 {
  padding: 1rem;
  background-color: #f0f1f3;
}

/****************************************
* Header
****************************************/

header {
  position: relative;
}

header img {
  max-width: 55px;
}

header .nav-toggle {
  position: absolute;
  top: 2rem;
  right: 1rem;
  transform: translateY(-50%);
  z-index: 101;
}

header .nav-toggle,
header .nav-toggle svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

header.on svg {
  fill: var(--tt-color-1);
}

header > div > .logo {
  position: absolute;
  top: .75rem;
  left: 50%;
  transform: translateX(-50%);
}

/****************************************
* Navigation
****************************************/

nav {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 100;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, .1);
  background-color: #ffffff;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: all .3s ease-in-out;
}

.on nav {
  max-height: calc(100vh - 100px);
}

nav .logo {
  display: block;
  margin: 0;
  padding: 1rem 1rem 0 1rem;
}

nav .logo img {
  display: block;
  margin: auto;
  max-width: 250px;

}

nav ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

nav li {
  position: relative;
  text-align: center;
}

nav a,
nav button {
  display: block;
  margin: 0 auto .5rem auto;
  border-radius: 10px;
  padding: .5rem;
  font-weight: 600;
}

nav button {
  display: flex;
  align-items: center;
  color: #000000;
}

nav button:focus {
  outline: none;
}

nav button svg {
  margin-left: .5rem;
  width: 10px;
  fill: #ffffff;
  transition: all .4s ease;
}

nav .on button svg {
  transform: rotate(180deg);
}

nav .dropdown-menu {
  display: none;
  flex-direction: column;
  position: relative;
  border-radius: 15px;
  background-color: #efefef;
  padding: 1rem;
  text-align: left;
}

nav .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 50%;
  margin-left: -10px;
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent #efefef transparent;
  margin-top: .5rem;
}

nav .dropdown-menu a {
  display: flex;
  align-items: center;
  margin: 0;
  color: var(--tt-color-1);
  white-space: nowrap;
}

nav .dropdown-menu svg {
  margin-right: .5rem;
  margin-left: 0;
  width: 18px;
  height: 18px;
  fill: var(--tt-color-1);
}

nav .menu.on .dropdown-menu {
  display: flex;
}

/****************************************
* Banner
****************************************/

.banner {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: #efefef url('/images/content/home-banner.jpg');
  background-size: cover;
  background-position: 13%;
  height: calc(400px + (600 - 400) * (100vw - 320px) / (1140 - 320));
  /* max-height: 600px; */
}

.banner .wrapper {
  position: absolute;
  top: 50%;
  transform: translateY(-63%);
}

.banner img {
  width: calc(80px + (150 - 80) * (100vw - 320px) / (1140 - 320));
  max-width: 150px;
}

.banner h1 {
  font-size: calc(34px + (50 - 34) * (100vw - 320px) / (1140 - 320));
  color: #ffffff;
}

.page-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #474444;
  background-size: cover;
  background-position: center;
  height:  calc(200px + (400 - 200) * (100vw - 320px) / (1140 - 320));
}

.page-banner h1 {
  border-radius: 10px;
  background-color: rgba(225, 225, 225, .6);
  padding: .5rem 2rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: calc(45px + (60 - 45) * (100vw - 320px) / (1400 - 320));
}

/****************************************
* Inside banner
****************************************/

.inside-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  min-height: 300px;
  height: calc(300px + (400 - 300) * (100vw - 320px) / (768 - 320));
}

.inside-banner h1 {
  color: #ffffff;
}

/****************************************
* Icons
****************************************/

.icon-medium svg,
.icon-medium img {
  width: 50px;
  height: 50px;
}

.icon-small svg,
.icon-small img {
  margin-right: 1rem;
  width: 25px;
  height: 25px;
  fill: var(--tt-color-1);
}

/****************************************
* Card
****************************************/

.card {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  box-shadow: 3px 4px 10px rgba(0, 0, 0, .1);
  border: 1px solid rgba(220, 225, 228, .5);
  background-color: #ffffff;
  width: 100%;
  padding: 2rem;
  text-align: left;
  overflow: hidden;
}

.donate-form .card {
  overflow: unset;
}

a.card:focus,
a.card:hover {
  background-color: #efefef;
}

.card .imageWrapper {
  position: relative;
  z-index: 0;
  padding-top: 52%;
  width: 100%;
  overflow: hidden;
}

.card .imageWrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background-color: rgba(255, 255, 255, .3);
}

.card .imageWrapper > img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  border-radius: 0;
  width: 100%;
  transition: all .5s ease;
}

.card:focus .imageWrapper > img,
.card:hover .imageWrapper > img {
  transform: translate(-50%, -50%) scale(1.1);
}

.card .details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1rem;
}

.card.expect,
.card.ministry {
  margin-bottom: 1rem;
}

.card h2 {
  color: var(--tt-color-1);
}

.card img {
  border-radius: 10px;
  margin-bottom: 1rem;
}

.card svg {
  margin-right: .5rem;
  position: relative;
  top: -.15rem;
  width: 30px;
  height: 30px;
  fill: var(--tt-color-1);
  vertical-align: middle;
}
.card .socials svg {
  margin-right: 1rem;
}

.card .socials svg:hover {
  fill: var(--tt-color-3);
}

.blue-card {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  border-radius: 20px;
  box-shadow: 3px 4px 10px rgba(0, 0, 0, .1);
  border: 1px solid rgba(220, 225, 228, .5);
  background-color: var(--tt-color-1);
  width: 100%;
  padding: 2rem;
  overflow: hidden;
}

.blue-card h2, 
.blue-card p {
  color: #ffffff;
}
 
.blue-card hr {
  border-top: 2px solid #ffffff;
}

.recent-scard {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  border-radius: 10px;
  box-shadow: 3px 4px 10px rgba(0, 0, 0, .1);
  border: 1px solid rgba(220, 225, 228, .5);
  background-color: #f0f1f3;
  width: 100%;
  padding: 2rem;
  overflow: hidden;
}

.gift-card {
  box-shadow: 3px 4px 10px rgba(0, 0, 0, .1);
  border-radius: 30px;
  background: var(--tt-color-1) url('/images/layout/simple-dashed.png');
  border: 1px solid rgba(220, 225, 228, .5);
  width: 100%;
  padding: 2rem;
  color: #ffffff;
  overflow: hidden;
}

.gift-card h2 {
  color: #ffffff;
}

.mission-card {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  border-radius: 10px;
  box-shadow: 3px 4px 10px rgba(0, 0, 0, .1);
  border: 1px solid rgba(220, 225, 228, .5);
  background-color: #ffffff;
  width: 100%;
  padding: 2rem;
  overflow: hidden;
}

.mission-card h2 {
  margin-bottom: 1rem;
  color: var(--tt-color-1);
}

.mission-card .subtitle p {
 margin-bottom: 2rem;
}

.mission-card img {
  border-radius: 10px;
  margin-bottom: 1rem;
}

.mission-card svg {
  display: inline-flex;
  top: .3rem;
  position: relative;
  margin-right: .5rem;
  width: 30px;
  fill: var(--tt-color-1);
}

.service-card {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  border-radius: 20px;
  box-shadow: 3px 4px 10px rgba(0, 0, 0, .1);
  border: 1px solid rgba(220, 225, 228, .5);
  background: var(--tt-color-1) url('/images/layout/simple-dashed.png');
  width: 100%;
  padding: 2rem;
  overflow: hidden;
}

.service-card h2 {
  /* display: flex; */
  align-items: center;
}

.service-card h2,
.service-card p {
  text-align: center;
  color: #ffffff;
}

.service-card hr {
  border-color: rgba(220, 225, 228, .2);
}

.service-card img {
  border-radius: 10px;
  width: 100%;
}

.service-card svg {
  margin-right: .5rem;
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

.service h2,
.service p{
  text-align: center;
}

.extra-card {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  border-radius: 10px;
  box-shadow: 3px 4px 10px rgba(0, 0, 0, .1);
  border: 1px solid rgba(220, 225, 228, .5);
  background-color: #ffffff;
  width: 100%;
  padding: 2rem;
  overflow: hidden;
}

.extra-card h2 {
  margin-bottom: 1rem;
  color: var(--tt-color-1);
}

.extra-card .subtitle p {
 margin-bottom: 2rem;
}

.promote-card {
  position: relative;
  border-radius: 20px;
  box-shadow: 3px 4px 10px rgba(0, 0, 0, .1);
  border: 1px solid rgba(220, 225, 228, .5);
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1.4;
}

.promote-card img,
.promote-card::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.promote-card::before {
  content: '';
  z-index: -1;
  background: rgba(70, 84, 135, .5);
}

.promote-card .details {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  text-align: center;
  color: #fff;
}

.promote-card h2,
.action-card h2 {
  font-size: 30px;
}

.promote-card h3,
.action-card h3 {
  font-weight: 200;
}

.action-card {
  position: relative;
  border-radius: 20px;
  box-shadow: 3px 4px 10px rgba(0, 0, 0, .1);
  border: 1px solid rgba(220, 225, 228, .5);
  overflow: hidden;
  aspect-ratio: 1.46;
}

.action-card img,
.action-card::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.action-card::before {
  content: '';
  z-index: -1;
  background: rgba(70, 84, 135, .5);
}

.action-card .details {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  text-align: center;
  color: #fff;
}

.containers {
  position: relative;
  text-align: center;
  color: white;
}

.bottom-left {
  position: absolute;
  bottom: 8px;
  left: 16px;
}

.live-card {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  background-color: rgb(70, 84, 135, .1);
  width: 100%;
  padding: 2rem;
  text-align: left;
  overflow: hidden;
}

.live-card .btn {
  margin-bottom: 1rem;
  width: 100%;
  text-align: center;
}

.live-card .btn.btn.btn-secondary {
  margin-top: 3rem;
}

/******************************************
* Horizontal Scroll
******************************************/

.scroll-container {
  display: flex;
  position: relative;
  overflow-x: scroll;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.scroll-item {
  display: flex;
  flex: 0 0 300px;
  margin: 0;
  padding: 1rem .5rem;
  scroll-snap-align: start;
}

.controls {
  display: flex;
  justify-content: center;
  gap: .5rem;
  padding: 1rem;
}

.controls > button {
  display: block;
  border: none;
  border-radius: 50%;
  background-color: #d7d7d7;
  width: 10px;
  height: 10px;
}

.controls > button.on {
  background-color: #727272;
}

/*****************************************
* Horizontal Scroll
*****************************************/

.horizontal-scroll {
  display: flex;
  padding: 1rem 0;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
}

.horizontal-scroll > div {
  display: flex;
  margin: 0;
  flex: 0 0 300px;
  scroll-snap-align: start;
  padding: 0 .5rem;
}

.horizontal-scroll > div:last-child {
  margin-right: 10px;
}

/****************************************
* Sections
****************************************/

.ministries-section {
  background: var(--tt-color-1) url('/images/layout/simple-dashed.png');
}

.expect-section {
  background: var(--tt-color-1) url('/images/layout/simple-dashed.png');
}

.expect-title h2 {
  margin-bottom: 2rem;
  color: #ffffff;
  text-align: center;
  font-size: 35px;
}

.schedule-title h2 {
  margin-bottom: 2rem;
  color: var(--tt-color-1);
  text-align: center;
  font-size: 35px;
}

.time-section {
  display: flex;
  justify-content: center;
  align-items: center;
  /* background: var(--tt-color-1) url('/images/svg/service-time-section.svg'); */
  background-size: cover;
  background-position: center;
  width: 100%;
  /* max-height: 700px; */
}

/* .time-section .card {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  border-radius: 10px;
  box-shadow: 3px 4px 10px rgba(0, 0, 0, .1);
  border: 1px solid rgba(220, 225, 228, .5);
  background-color: #ffffff;
  width: 100%;
  padding: 2rem;
  overflow: hidden;
} */

/* .time-section .d-grid div > h2 {
  margin: auto;
  border-radius: 18px;
  background-color: var(--tt-color-1);
  color: #ffffff;
  padding: .75rem 1rem;
} */

.time-section svg {
  margin-right: .5rem;
  position: relative;
  top: -.15rem;
  width: 30px;
  height: 30px;
  fill: #ffffff;
  vertical-align: middle;
}

.service-time {
  margin: auto;
  text-align: center;
}

/****************************************
* New To Temple
****************************************/

.photo-bubble {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 150px;
}

.photo-bubble img {
  margin-bottom: 0;
  margin-right: .5rem;
  border-radius: 50%;
  width: 120px;
  max-width: 120px;
}

/****************************************
* Beliefs Page
****************************************/

.beliefs .card {
  margin-bottom: 0;
}

.beliefs h2 {
  color: var(--tt-color-1);
}

.beliefs hr {
  margin: 1rem 0;
}

.beliefs svg {
  display: inline-flex;
  position: relative;
  margin-right: .8rem;
  width: 25px;
  height: 25px;
  fill: var(--tt-color-1);
}

/****************************************
* Salvation Page
****************************************/

.salvation {
  margin: auto;
  text-align: center;
}

/****************************************
* Missionaries Page
****************************************/

.ministries img {
  margin-bottom: 0;
}

/****************************************
* Events Page
****************************************/

.event.card .details {
  padding: 0;
}

.event.card .date {
  position: relative;
  max-width: 70px;
  margin-bottom: 1.75rem;
}

.event.card .day {
  font-size: 70px;
  font-weight: 700;
  line-height: .7em;
  color: #d2d2d2;
}

.event.card .month {
  position: absolute;
  bottom: -.5rem;
  left: 30%;
  margin: 0;
  font-size: 25px;
  font-weight: 200;
  line-height: .8em;
}

.event.card button {
  border-radius: 20px;
  background-color: var(--tt-color-4);
  color: #ffffff;
}

.event.card .d-flex + .d-flex {
  margin-top: .5rem;
}

.event.card svg {
  flex: 0 0 20px;
  margin-right: .5rem;
  top: 0;
  width: 20px;
  height: 20px;
  fill: var(--tt-color-4);
}

.event.card .time svg {
  width: 18px;
  height: 18px;
}

.event.card hr {
  margin: 1rem 0;
  border-top: 1px solid var(--tt-color-1);
}

/****************************************
* Filters
****************************************/

.filters {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}

.filters .styled-select,
.filters .searchWrapper {
  position: relative;
  border-radius: 3px;
  border: 1px solid #efefef;
  background-color: #ffffff;
  width: 100%;
  max-width: 250px;
}

.filters .styled-select svg,
.filters .searchWrapper svg {
  position: absolute;
  top: 50%;
  left: .5rem;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: var(--tt-color-1);
  pointer-events: none;
}

.filters .styled-select .arrow-down {
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 9px;
  transform: translateY(-50%) rotate(45deg);
  border: solid var(--tt-color-1);
  border-width: 0 3px 3px 0;
  padding: 3px;
  pointer-events: none;
}

.filters .styled-select select,
.filters .searchWrapper input {
  margin: 0;
  border: none;
  border-radius: 3px;
  width: 100%;
  height: 40px;
  padding: .5rem 24px .5rem 32px;
  font-weight: normal;
  font-size: 16px;
  color: #000000;
  appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.filters .searchWrapper input:focus {
  outline: 1px solid #0070ce;
}

/****************************************
* Shorts
****************************************/

.shorts .d-flex {
  overflow: auto;
}

.shorts .d-flex > div {
  flex: 0 0 75%;
  height: auto;
}

.shorts .placeholder {
  border-radius: 20px;
  padding-bottom: 178%;
}

/****************************************
* Sermons
****************************************/

#smallnav_bar {
  background-color: #f0f1f3;
  padding-top: 20px;
  padding-bottom: 20px;
}

#smallnav_bar .nav-item {
  color: #ffffff;
}

@media(min-width: 768px) {
  #smallnav_bar .nav-item {
    margin: 0 10px;
  }
}

#smallnav_bar .active {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

.sermon.card {
  margin-bottom: 0;
}

.sermon.card .speakerIcon {
  position: relative;
  margin: -50px auto 0 auto;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  overflow: hidden;
}

.sermon.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sermon.card h3,
.sermon.card p {
  color: #000000;
  text-align: center;
}

.sermon.card h3 {
  text-align: center;
  color: var(--tt-color-1);
  font-size: 22px;
}

.sermon.card .date {
  font-weight: 200;
  font-size: 14px;
}

.sermon.card .icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 0;
}

.sermon.card svg {
  margin: 0;
  width: 20px;
  height: 20px;
  fill: var(--tt-color-2);
}

.sermonVideo {
  position: relative;
  margin-top: -100px;
}

.sermonInfo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.sermonInfo .speaker {
  font-size: 20px;
  font-weight: 200;
}

/****************************************
* Pagination
****************************************/

.pagination {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 3rem auto 0 auto;
}

.pagination button {
  border: none;
  background-color: #ffffff;
  width: 35px;
  height: 35px;
  padding: 0;
  font-size: 12px;
  outline: none;
  cursor: pointer;
}

.pagination button.active {
  background-color: var(--tt-color-3);
	color: #ffffff;
	font-weight: bold;
}

.pagination button:hover:not(.active) {
	background-color: var(--tt-color-3);
	fill: var(--tt-color-1);
}

.pagination .arrow:first-of-type {
  border-radius: 10px 0 0 10px;
}

.pagination .arrow:last-of-type {
  border-radius: 0 10px 10px 0;
}

.pagination .arrow {
  background-color: var(--tt-color-1);
  width: 45px;
}

.pagination button.arrow:focus,
.pagination button.arrow:hover {
  background-color: var(--tt-color-3);
  color: #ffffff;
}

.pagination .arrow > i {
  display: inline-block;
  border: solid #ffffff;
  border-width: 0 3px 3px 0;
  padding: 3px;
  pointer-events: none;
}

.pagination .arrow .left {
  transform: rotate(135deg);
}

.pagination .arrow .right {
  transform: rotate(-40deg);
}

.pagination .page {
  color: var(--tt-color-2);
}

.pagination .page:hover {
  color: #ffffff;
}

/****************************************
* Form
****************************************/

.contact-form {
  margin: 0 auto;
  border-radius: 30px;
  box-shadow: 3px 4px 10px rgba(0, 0, 0, .1);
  border: 1px solid rgba(220, 225, 228, .5);
  background-color: #ffffff;
  width: 100%;
  padding: 2rem;
  overflow: hidden;
}

.contact-form hr {
  margin: 1.5rem 0;
}

.contact-form h2 {
  color: var(--tt-color-1);
}

.contact-form svg,
.contact-form .d-flex {
  margin-bottom: 0;
}

.contact-form svg {
  margin-right: .25rem;
  width: 15px;
  height: 15px;
}

.contact-form h2 svg {
  display: inline-flex;
  /* top: .3rem; */
  position: relative;
  margin-right: .5rem;
  width: 30px;
  height: 30px;
  fill: var(--tt-color-1);
}

.icon svg {
  display: inline-flex;
  top: .3rem;
  position: relative;
  margin-right: .5rem;
  width: 30px;
  fill: var(--tt-color-1);
}

form svg {
  margin-right: .25rem;
  width: 15px;
  height: 15px;
}

form .d-flex {
  margin-bottom: 4px;
}

form .d-flex > label {
  margin: 0;
}

form .d-flex [type="radio"] + label {
  margin-left: .25rem;
}

/****************************************
* Map
****************************************/

#map {
  min-height: 400px;
  height: 100%;
}

#map canvas {
  left: 0;
}

#map a {
  font-size: 12px;
}

#map svg {
  width: 50px;
  height: 50px;
}

/****************************************
* Missing
****************************************/

.missing {
  display: flex;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/****************************************
* Footer
****************************************/

footer {
  background-color: var(--tt-color-1);
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

footer h2 {
  margin-bottom: 1rem;
}

footer a {
  margin-bottom: 0;
  margin-top: 0;
  color: #ffffff;
}

footer a:hover {
  color: #757fa5;
}

footer svg {
  margin-right: .5rem;
  position: relative;
  top: -.15rem;
  height: 25px;
  width: 25px;
  fill: #ffffff;
  vertical-align: middle;
}

footer img {
  margin-bottom: 1rem;
  width: 100%;
  max-width: 250px;
  border-radius: 0;
}

footer > img {
  margin-left: -2px;
  margin-right: -2px;
  margin-bottom: 0;
  width: calc(100% + 4px);
  max-width: none;
}

footer .socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

footer .socials svg,
footer .socials #logo {
  margin: 0;
  width: 30px;
}

footer .socials svg:hover {
  fill: #757fa5; 
}

footer .service p {
  margin-bottom: .5rem;
}

.affiliation {
  background-color: rgba(0, 0, 0, .2);
  padding: .5rem;
  text-align: center;
}

.affiliation p,
.affiliation a {
  font-size: 12px;
  color: #ffffff;
}

/****************************************
* Social Links
****************************************/

.social svg {
  margin-top: 2rem;
  margin-right: 1rem;
  width: 30px;
}

.social svg:hover {
  fill: var(--tt-color-1); 
}

/****************************************
* Donate
****************************************/

.give {
  background-color: #f0f1f3;
  text-align: center;
}

#creditCard {
  margin-bottom: 1rem;
  background-color: transparent;
  border: 1px solid #efefef;
  border-radius: 3px;
  padding: 6px;
  overflow: hidden;
}

/****************************************
* Give form
****************************************/

.script {
  background-color: #f0f1f3;
  background-color: #f0f1f3;
  padding: 40px;
  text-align: center;
}

.donate {
  border: 1px solid #e4ebf1;
  padding: 1rem;
}

.donate svg {
  display: inline-flex;
  position: relative;
  margin-right: .5rem;
  width: 15px;
  height: 15px;
  fill: #000000;
  vertical-align: middle;
}

.donate-instruction svg {
  display: inline-flex;
  position: relative;
  margin-right: .5rem;
  width: 15px;
  height: 15px;
  fill: #000000;
  vertical-align: middle;
}

.donate-instruction p {
  margin-bottom: 1rem;
}

.donate-type {
  display: flex;
  gap: 5px;
  margin-top: 1rem;
}

.donate-type label {
  margin: 0;
}

.donate-amount {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-bottom: 3rem;
}

.donate-type label,
.donate-amount label {
  margin: 0;
}

.donate-type label {
  margin-bottom: 5px;
}

.donate-type [type="radio"]:checked + label {
  background-color: var(--tt-color-1);
}

.amountWrapper {
  position: relative;
  padding: 1rem;
  background-color: #f9fafb;
}

.amountWrapper.d-grid {
  gap: 0 1rem;
}

.amountWrapper .d-flex {
  margin: 0;
}

.amountWrapper .d-flex::before {
  content: '$';
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 30px;
  border-radius: 5px 0 0 5px;
  background-color: var(--tt-color-1);
  width: 30px;
  height: 42px;
  font: normal 700 16px/1em var(--tt-font-1);
  color: #ffffff;
}

.amountWrapper input {
  margin: 0;
  border-radius: 0 5px 5px 0;
}

.amountWrapper input:focus {
  outline: none;
}

.amountWrapper.on,
.amountWrapper:hover {
  background-color: #e4ebf1;
}

.amountWrapper .popup {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  position: absolute;
  top: calc(100% - 1rem);
  left: calc(1rem + 30px);
  z-index: 1;
  border: 1px solid #efefef;
  border-radius: 0 0 5px 5px;
  box-shadow: 2px 3px 3px rgba(0, 0, 0, .1);
  background-color: #ffffff;
  padding: 5px;
}

.amountWrapper .popup button {
  border-radius: 4px;
  background-color: #efefef;
  height: 40px;
  padding: .5rem .75rem;
  font-size: 15px;
  font-weight: 600;
  color: #6c6c6c;
  transition: all 300ms linear;
}

.amountWrapper .popup button:hover {
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.2);
}

.donate-form [type="radio"] {
  width: auto;
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.donate-form [type="radio"]:checked,
.donate-form [type="radio"]:not(:checked) {
  left: -9999px;
}

.donate-form [type="radio"]:checked + label,
.donate-form [type="radio"]:not(:checked) + label {
  position: relative;
  display: inline-block;
  border-radius: 4px;
  width: 100%;
  height: 40px;
  padding: .5rem;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  overflow: hidden;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 300ms linear;
}

.donate-form [type="radio"]:not(:checked) + label {
  background-color: #efefef;
  color: #6c6c6c;
}

.donate-form [type="radio"]:checked + label {
  background-color: var(--tt-color-1);
  color: #ffffff;
}

.donate-form [type="radio"]:not(:checked) + label:hover {
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.2);
}

.donate-form [type="radio"]:checked + label::before,
.donate-form [type="radio"]:not(:checked) + label::before {
  z-index: -1;
}

/****************************************
* Dollar amount
****************************************/

.amountStyle {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

.amountStyle:last-of-type {
  margin-bottom: 2rem;
}

.amountStyle .symbol {
  font-size: 25px;
  color: #C6C6C6;
}

.amountStyle .amount {
  display: flex;
  align-items: center;
  margin: 0;
  font-size: 35px;
  font-weight: 600;
  line-height: 1.2em;
  color: var(--tt-color-3);
}

.amountStyle .amount span {
  font-size: 25px;
}
