html {

}

body {
    align-items: stretch;
    background: #F8FAFF;
    display: flex;
    flex-direction: column;
    font-family: "Poppins", Sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background: white;
    padding: 27px;
}

main {
    padding: 56px;
}

@media (max-width: 768px) {
  main {
    padding: 36px;
  }
}

@media (max-width: 393px) {
  main {
    padding: 20px;
  }
}

#breadcrumbs {
    display: flex;
    flex-direction: row;
    margin-bottom: 44px;
}

#breadcrumbs a {
    align-items: center;
    background: white;
    border-radius: 999px;
    box-shadow: 12px 12px 40px 0px rgba(14, 47, 126, 0.05);
    color: black;
    display: flex;
    flex-direction: row;
    margin-right: 8px;
    padding: 12px 16px;
    text-decoration: none;
}

#breadcrumbs a::after {
    content: url('/holiday_assets/caret-right.svg');
    height: 16px;
    margin-left: 8px;
}

#breadcrumbs a:last-child::after {
    content: none;
}

#breadcrumbs a:last-child {
    background: #0E2F7E;
    box-shadow: none;
    color: white;
    margin-right: 0;
}

h1 {
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: 39px;
    margin: 12px 0;
    text-align: center;
}

h1 span {
    color: #293FCC;
}

#opening-paragraph {
    color: #3A3F4B;
    font-size: 15px;
    font-weight: 300;
    line-height: 24px;
    margin: 0 auto 48px auto;
    max-width: 720px;
    text-align: center;
}

#paginator {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 36px;
}

#paginator a {
    align-items: center;
    background: #D4D9F5;
    border-radius: 999px;
    color: black;
    display: flex;
    flex-direction: row;
    padding: 12px 24px;
    text-decoration: none;
}

#paginator a:first-child::before {
    content: url('/holiday_assets/caret-right.svg');
    height: 16px;
    margin-right: 8px;
    transform: rotate(180deg);
    width: 16px;
}

#paginator a:last-child::after {
    content: url('/holiday_assets/caret-right.svg');
    height: 16px;
    margin-left: 8px;
    width: 16px;
}

#search {
    align-items: stretch;
    background: url('/holiday_assets/search_bg.png');
    background-size: cover;
    border: 1px solid #B1B9E6;
    border-radius: 16px;
    box-shadow: 12px 12px 40px 0px rgba(14, 47, 126, 0.05);
    display: flex;
    flex-direction: column;
    margin: auto;
    margin-bottom: 50px;
    max-width: 800px;
}

#search form {
    display: flex;
    flex-direction: column;
    padding: 16px;
}

#search form label {
    margin-bottom: 8px;
}

#search-field-container {
    align-items: center;
    border-radius: 16px;
    border: 1px solid #D4D9F5;
    background: #FFF;
    display: flex;
    flex-direction: row;
    padding: 0 12px;
}

#search form input[type="text"] {
    background: #FFF;
    border: none;
    color: #62758E;
    flex: 1;
    font-family: "Poppins", Sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 20px;
    min-width: 0;
    padding: 12px;
}

#search form input[type="text"]:focus {
    outline: none;
    box-shadow: none;
}

.index {
    display: flex;
    flex-direction: column;
    margin: 0 12px;
    margin-bottom: 56px;
}

.index a {
    align-items: center;
    background: white;
    border-radius: 16px;
    box-shadow: 12px 12px 40px 0px rgba(14, 47, 126, 0.05);
    color: black;
    display: flex;
    justify-content: space-between;
    line-height: 26px;
    margin: 12px 0;
    padding: 20px;
    text-decoration: none;
}

.index a span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    text-wrap: nowrap;
}

.index a::after {
    align-items: center;
    background: #F4F5FC;
    border-radius: 16px;
    content: url('/holiday_assets/caret-right.svg');
    display: flex;
    height: 32px;
    justify-content: center;
    line-height: 16px;
    width: 32px;
}

.subindex {
    background: white;
    border-radius: 16px;
    box-shadow: 12px 12px 40px 0px rgba(14, 47, 126, 0.05);
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 56px;
    padding: 24px;
}

@media (min-width: 600px) {
  .subindex {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* >= 900px: 3 columns */
@media (min-width: 900px) {
  .subindex {
    grid-template-columns: repeat(3, 1fr);
  }
}

.subindex a {
    align-items: center;
    color: #406CC1;
    display: flex;
    flex-direction: row;
    font-weight: 300;
    padding: 16px;
    overflow: hidden;
    text-decoration: none;
    text-overflow: ellipsis;
}

.subindex a::before {
    content: url('/holiday_assets/arrow-right.svg');
    margin-right: 8px;
}

#holidays,
#holidays-np-table {
    border-collapse: collapse;
    margin-bottom: 88px;
    width: 100%;
}

#holidays thead,
#holidays-np-table thead {
    background: white;
    box-shadow: 12px 12px 40px 0px rgba(14, 47, 126, 0.05);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

#holidays thead td,
#holidays-np-table thead td {
    text-align: center;
    padding: 16px 8px;
}

#holidays thead td:first-child,
#holidays-np-table thead td:first-child {
    border-bottom-left-radius: 16px;
    border-top-left-radius: 16px;
}

#holidays thead td:last-child,
#holidays-np-table thead td:last-child {
    border-bottom-right-radius: 16px;
    border-top-right-radius: 16px;
    text-align: left;
}

#holidays tbody td,
#holidays-np-table tbody td {
    border-bottom: 1px solid #EAECFA;
    font-weight: 300;
    text-align: center;
    padding: 10px;
}

#holidays tbody tr:last-child td,
#holidays-np-table tbody tr:last-child td {
    border-bottom: none;
}

#holidays tbody td:first-child,
#holidays-np-table tbody td:first-child {
    font-weight: 600;
}

#holidays tbody td:last-child,
#holidays-np-table tbody td:last-child {
    text-align: left;
}

#non-permanent-title {
    color: #3A3F4B;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
}

#cta {
    align-items: center;
    background: url('/holiday_assets/cta_bg.png');
    background-size: cover;
    border-radius: 16px;
    box-shadow: 12px 12px 40px 0px rgba(14, 47, 126, 0.05);
    display: flex;
    flex-direction: column;
    padding: 64px 73px;
}

#cta h2 {
    color: #0F1115;
    display: flex;
    flex-direction: column;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    line-height: 31px;
}

#cta h2 span {
    color: #293FCC;
}

#cta p {
    color: #0F1115;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    margin: 12px 0 36px 0;
    text-align: center;
}

#cta a {
    background: #0E2F7E;
    border-radius: 9999px;
    color: white;
    display: flex;
    font-size: 16px;
    padding: 24px;
    text-decoration: none;
}

@media (max-width: 450px) {
    #cta {
        padding: 46px 24px;
    }
}