/* static/css/base.css */
/* This is the sites css settings */

main {position: relative;} /* to place scrollbar */
section {height: 300vh;} /* so we can scroll */
footer {height: 5rem;} /* a typical footer height */

a:hover, a:active {
    text-decoration: underline;
    color: black;
}

body {
    background-color: #FAFDFF;
}

.bottom-row {
    background-color: #e3f2fd;
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    font-weight: bold;
}

.button {
  color: #2A47BB !important;
  font-size: 18px;
}

.camping-card {
    border-top: 6px solid #2a9d8f;
}

.card {
    padding: 2rem;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 25px rgba(0,0,0,.1);
    transition: transform .2s, box-shadow .2s;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card-header, .card-footer {
    background-color: #e3f2fd;
    color: #2A47BB !important;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.card-link {
    color: #2440b3 !important;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}

.card-text {
    color: #0f5008 !important;
    font-size: 17px;
    text-decoration: none;
}

.card-title {
    color: #0f5008 !important;
    font-size: 16px;
}

.dropdown-item {
    background-color: #FAFDFF;
    color: #2A47BB !important;
    border: 1px solid #D3D3D3;
}

.ellipsis {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

h1, h2, h3, h4, h5, th {
    color: #0f5008;
}

.header-color {
    color: white;
}

.imgsize {
    height: 325px;
    width: auto;
}

.img1 {
  height: 150px;
  width: auto;
}

.landing-container {
    text-align: center;
    padding: 4rem 1rem;
}

.line-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

map {
    height: 400px;
    width: 100%;
}

.navbar-brand {
    color: #2A47BB !important;
}

.nav-link {
    color: #064428 !important;
    font-size: 20px;
}

.nav-link-black {
    color: #5d5f61;
    font-size: 17px;
}

.nav-link-card{
    color: #2A47BB !important;
    font-size: 17px;
    text-decoration: none;
}

.navbar-toggler-icon .navbar-toggler{
    color: #2A47BB !important ;
}

.navbar-toggle span{
  color: #2A47BB !important ;
}

.p-notes {
    font-family: Arial;
    font-size: 17px;
    color: #2A47BB;
}

p {
    font-family: Arial;
    font-size: 22px;
    color: #0f5008;
}

.p-small {
    font-family: Arial;
    font-size: 18px;
    color: #0f5008;
}

.race-card {
    border-top: 6px solid #e63946;
 }

.site-link {
    color: #2A47BB !important;
    font-size: 20px;
}


.top-row {
    background-color: #e3f2fd;
}

td {
    color: #2A47BB;
}

tr {
  border-bottom: 1px solid #ddd;
}

tr:hover {
  background-color: #e3f0fa;
}

/* ==================== Sortable */
.sortable th:hover::after {
  color: inherit;
  font-size: 1.2em;
  content: '\00a0\025B8';
}

.sortable th::after {
  font-size: 1.2em;
  color: transparent;
  content: '\00a0\025B8';
}

.sortable th.dir-d::after {
  color: inherit;
  content: '\00a0\025BE';
}

.sortable th.dir-u::after {
  color: inherit;
  content: '\00a0\025B4';
}

th.no-sort {
  pointer-events: none;
}

th.no-sort::after {
  content: none;
}
/* ==================== End Sortable */

/* ==================== Calendar */
.calendar {
  width: 90%;
  margin: auto;
  font-size: 12px;
}

.calendar tr, .calendar td {
  border: 1px solid #D3D3D3;
}

.calendar th {
  padding: 5px;
  text-align: center;
  font-size: 15px;
}

.calendar td {
  width: 100px;
  height: 100px;
  padding: 18px 0px 0px 5px;
}

.month {
  font-size: 25px;
}

.date {
  font-size: 15px;
}

.left {
  float: left;
}

.right {
  float: right;
}

.center {
    margin: auto;
}

.center-text {
    margin: auto;
    text-align: center;
}
/* ==================== End Calendar */

ul {
  height: 100%;
  padding: 0px 5px 0px 20px;
}

.scroll-top {
  position: absolute;
  top: 120vh;
  bottom: 2rem;
  right: 1rem;
}

.scroll-top__link {
  position: -webkit-sticky;
  position: sticky;
  top: 85vh;
  text-decoration:none;
  border-radius: .25rem;
  background-color: #63b084;
  padding:1rem;
  color: white;
  font-weight:700;
  opacity:.7;
}

.scroll-top__link:hover {
  opacity: initial;
  color: white;

}