﻿#view-more {
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    display: block;
}
#view-more[hidden] {
    display: none;
}
form.article-search {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 55px;
}
form.article-search button[type="submit"] {
    background: #002235;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    padding: 9px 16px;
    border-radius: 4px;
    border: none;
    transform: none;
    transition: transform 0.3s;
    cursor: pointer;
    margin: 0;
}
form.article-search button[type="submit"]:hover {
    transform: scale(110%);
    transition: transform 0.3s;
}
.text-input > button {
    cursor: pointer;
}
input, button {
    font-size: 14px;
}
.text-input input {
    margin: 0;
    padding: 1em;
    border-radius: 4px 0 0 4px;
    border: solid 2px grey;
    border-right: none;
}
    .text-input input, .text-input input:focus-visible {
        outline: none;
    }

.text-input {
    display: flex;
    flex-direction: row;
}
.text-input > button {
    margin: 0;
    padding: 1em;
    border: none;
    border-radius: 0 4px 4px 0;
    border: solid 2px grey;
    border-left: none;
    background: white;
}
.calendar {
    display: flex; 
    flex-direction: column;
    position: absolute;
    width: 350px;
    z-index: 1;
}

.selector-dropdown .selector-dropdown--placeholder {
    font-weight: 400;
    color: grey;
}

.calendar > header > button {
    cursor: pointer;
    border-radius: 0;
    border: none;
    background: none;
    color: #fff;
    padding: 10px;
    font-weight: 600;
}
.calendar > header > button:hover {
    background: #44bbdd;
}
.calendar header {
    display: flex;
    flex-direction: row;
    background: #002235;
    color: #fff;
    text-transform: uppercase;
}
.calendar > header > h2 {
    flex-grow: 1;
    margin: 0;
    text-align: center;
    vertical-align: middle;
    padding: 10px;
    color: #fff;
}
.calendar > .months {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border: 2px solid grey;
    border-top: none;
    background: #fff;
}
.calendar > .months > .month {
    border-radius: 0;
    border: none;
    background: #fff;
    cursor: pointer;
    padding: 10px 5px;
    font-family: Montserrat,sans-serif;
    font-size: 14px;
    height: 50px;
}
.calendar > .months > .month:hover {
    border: 2px solid #44bbdd;
}
.calendar > header > button.disabled, .calendar > .months > .month.disabled {
    color: grey;
    cursor: not-allowed;
}
button[type="button"].previous-year, button[type="button"].next-year {
    padding-left: 25px;
    padding-right: 25px;
}
.month-picker > .text-input input::placeholder, .month-picker > .text-input > label > span {
    color: grey;
}
.month-picker > .text-input > label {
    position: relative;
}
.month-picker > .text-input > label > span {
    position: absolute;
    left: 1em;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.month-picker > .text-input > label:focus-within > span, .month-picker > .text-input > label > input:not(:placeholder-shown) ~ span {
    color: transparent;
}

.month-picker > .text-input > label:not(:focus-within) > input::placeholder {
    color: transparent;
}
