body { margin: 0; padding: 0; font-family: "Titillium Web",sans-serif }

.container {
    padding-right: 0px;
    padding-left: 0px;
    margin-right: auto;
    margin-left: auto;
    padding-top: 1em;
  }

.column-optional-1{
    display: none;
}
  @media (min-width: 640px) {
    .container {
      max-width: 640px;
    }

    .column-optional-1{
        display: none;
    }
  }

  @media (min-width: 768px) {
    .container {
      max-width: 768px;
      padding-left: 15px;
      padding-right: 15px;
    }
    .column-optional-1{
        display : table-cell;
    }
  }
  
  @media (min-width: 1024px) {
    .container {
      max-width: 1024px;
    }
  }
  
  @media (min-width: 1280px) {
    .container {
      max-width: 1280px;
    }
  }

  @media (min-width: 1536px) {
    .container {
      max-width: 1536px;
    }
  }

.row-section-header {
    display: flex;
    justify-content: center;
    padding: 16px;
    background-color: #e8e8e8;
    color: #3c3c3c;
    margin: auto;
    margin-bottom: auto;
    margin-bottom: 3px;
    font-weight: bold;
    font-size: normal;
    font-weight:bold;
    padding-left:16px;
}

.row-section-header-first {
    margin-top: 0!important;
}

.row-section {
    background-color: #ffffff;
    color: rgb(15, 15, 15);
    margin: auto;
    margin-bottom: 2rem;
    overflow-x:auto;
}

.row-section .row-section-ul {
    list-style-type: none;
    display:flex;
    flex-direction:column;
    padding: 0;
    margin: 0;
    width:100%;
}

.row-section .row-section-ul li {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    font-weight: bold;
    font-size: smaller;
}

.row-section-footnote{
    margin-bottom : 0.5rem;
    font-size: 0.8rem;
    color:gray;
    text-align: right;
    font-style: italic;
}
.row-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #ffdb6e;
    color: rgb(0, 0, 0);
    max-width: 660px;
    margin: auto;
    margin-bottom:20px;
    text-decoration: none;
    width: 80%;
    text-transform: uppercase;
}

.row-left-small-button {
    margin-left: 10px;
}

.row-section-table {
    width:100%;
    font-size: small;
    border-collapse:collapse;
    border-bottom: 1px solid #9c9c9c;
    text-align: left;
}

/*
.row-section-table-date {
    width: 15%;
}
*/

.row-section-table td, th {
    padding: 10px;
    border-bottom: 1px solid #9c9c9c;
}

/*
.row-section-table tr:nth-child(even) {
    background-color: #edf5ff;
}
*/
/*
.row-section-table tr:hover {
    background-color: #ffdb6e;
}
*/

.row-section-table-more {
    font-size : small
}

.row-big-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.row-big-logo img {
    width: 60%;
    max-width: 300px;
    height: auto;
}

.row-big-logo-small {
    width: 15%!important;
    min-width: 100px;
    height: auto!important;
}

.p-note {
    font-style: italic;
    font-size: small;
    text-align: center;
}

.event-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.event-item {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: auto;
    justify-content: space-between; 
    background-color: white;
    color: black;
    text-align: center;
    width: 100%;
}

.event-month-label {
    font-size: small;
    font-weight: bold;  
    color: #535353;
    background-color: #e8e8e8;
    padding: 10px;
    padding-left: 16px;
}

.event-link {
    display: flex;
    width: 100%; 
    height: 100%;
    text-decoration: none;
    color: inherit;
    padding:20px;
}

.event-link:hover, .event-link:focus {
    background-color: #f0f0f0; 
}

.event-icon {
    font-weight: bold;
    background-color: #f0f0f0; 
    padding: 10px;
    margin-right: 20px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    flex-basis: 100%;
    max-width: 30px;
    justify-content: center;
    align-items: center;
}

.event-icon-gig {
    color: #b70000;
}

.event-icon-rehearsal {
    color: #1a58b9;
}

.event-icon-other {
    color: #51a200;
}

.event-details {
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.event-date {
    font-size: 0.9rem;
    color: #666;
}

.event-name strong {
    color: #333;
}

.event-info {
    font-size: 0.8rem;
}

.event-hashtags {
    color: #bbb;
    font-size: 0.8rem;
    margin-top: 5px;
}
.event-note {
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.5rem;;
}

@media (max-width: 768px) {
    .event-item {
        width: 100%;
    }
}

/* Membership screen */
.month-checkbox {
    display: inline-block;
  }

.month-checkbox-group{
    padding:8px;;
    display: flex;
    margin: 5px;
    align-items: center;
    text-align: center;
    margin: 3px;
    width: 22%;
    justify-content: space-between;
}
  
.month-checkbox-label {
    display: inline-block;
    cursor: pointer;
  }

.month-number{
    width: calc(10ch + 16px);
  box-sizing: border-box;
  margin-left:10px;
  padding: 6px;
  border: 1px solid #ddd;
 }

 .month-subscription-covered {
    background-color: #eaf2e7;
 }

 .month-subscription-uncovered {
    background-color:#ffffff;
 }

 .month-subscription-partial {
    background-color:#cdd6ff;
 }

#active-membership-container {
    display: flex;
    justify-content: space-between;
    align-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

#active-membership-container .button-container{
    margin-top: 0.5rem;
    width: 100%
}
@media (max-width: 768px) {
    #active-membership-container {
        display: flex;
        flex-direction: column;
    }
    .month-checkbox-group{
        width: auto;
    }
}


/* Event detail screen */
.editable-form {
    max-width: 600px;
    margin: auto;
    padding: 20px;
}

.form-header h2 {
    margin-bottom: 20px;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-size: 0.8rem;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="password"],
.form-group textarea {
    width: 96%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-group input[type="number"] {
    height: 1.5rem;
    padding: 5px;
    border: 1px solid #d7d7d7;
    border-radius: 5px;
    font-size: 0.9rem;
}

.form-group select {
    background: none;
    border: 1px solid #d7d7d7;
    padding: 10px;
    min-width: 13rem;  
}

.form-group textarea {
    resize: vertical;
}

.form-group-attendees {
    margin-top : 2rem;
}

.form-check-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

}
button[type="submit"], input[type="submit"] {
    background-color: #b70000;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #300000;
}

.submit-grey {
    background-color: #686868!important;
}

.button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.people-list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.people-list li {
    border-top: 1px solid #d3d3d3
}

.people-list li:first-child {
    border-top: none;
}

.people-list li:hover {
    background-color: #e8f4ff;
}

.people-list label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding-bottom: 15px;
    padding-top: 15px;
}

.people-list input[type="checkbox"] {
    margin-right: 5px;
}

.people-list li a {
    text-decoration: none;
    color: #333;
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
}

.login-form {
    margin: auto;
    padding: 20px;
}

.login-form table {
    display: inline-block;
    vertical-align: middle;
}

.login-msg {
    text-align: center;
    color: red;
    font-style: italic;
}

/* Terms and conditions screen */
.p-subheading{
    font-size: 0.8rem;
    font-style: italic;
    margin-top: -1rem;
    color: grey;
}

.terms-label{
    display: inline-block;
    margin-bottom: 0px!important;
    margin-left: 5px;
}

.terms_link {
    font-size: 0.8rem;
}

.row-section-table-cursor-hover {
    cursor: pointer;

}

.row-section-table-cursor-hover:hover {
    background-color: #f0f0f0!important;
}

.alert {
    color: red;
}