
.view-container {
    margin-bottom: 30px;
}

.dropdown-el {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 10px;
    z-index: 1;
    border-radius: 0.375rem;
}

.dropdown-el:hover .dropdown-content {
    display: block;
}

.filter-container {
    position: relative;
    display: inline-block;
}

.filter-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 15px;
    padding-bottom: 0px;
    z-index: 1;
    right: 0;
    border-radius: 0.375rem;
}

.display-block {
    display: block;
}

.filter-container:hover .filter-content {
    display: block;
}

.i-button {
    width: 325px;
    background-color: var(--color2);
    color: var(--color1);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
}

.sort-by-button-color:hover,
.sort-by-button-color.active {
    background-color: var(--color2);
    color: var(--color1);
    filter: brightness(var(--hover-brightness));
}

textarea {
    resize: none;
    background-color: var(--color8);
    color: var(--color6);
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    width: 665px;
    height: 58px;
    text-align: center;
}

.chosen-report {
    height: 78px;
}

input[type="text"] {
    background-color: var(--color10);
    width: 295px;
    height: 38px;
}

.report-list-size {
    width: 665px;
    height: 225px;
    border-radius: 5px;
}

.report-list-height {
    height: 242px;
}

.report,
.sort,
.sort-type {
    width: calc(100% - 10px);
    height: auto;
    margin: 5px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
}

.report-on-list {
    text-align: left;
    padding: 0px 5px;
}

.sort,
.sort-type {
    width: 140px;
}

.sort-button {
    margin-top: 70px;
    margin-left: -150px;
    margin-right: 5px;
    margin-bottom: 5px;
    width: 295px;
}

.button-half-content {
    width: 140px;
}

.content-button {
    width: 295px;
}

#sorts_type {
    margin-left: 5px;
    margin-top: 62px;
}

.show-sorts {
    display: flex;
}

.no-reports-margin {
    margin-left: 173px;
}

.no-reports-margin2 {
    margin-bottom: 15px;
}

.no-reports-margin3 {
    margin-right: 0;
}

h6 {
    margin-bottom: 10px;
}

@media screen and (max-width: 700px) {

    input[type="text"] {
        margin-bottom: 10px;
    }

    #sorts {
        width: 50%;
    }

    #sorts_type {
        width: 50%;
    }

    .sort,
    .sort-type {
        width: auto;
    }

    .report-list-size {
        width: 93%;
    }

    .i-button {
        width: 100%;
    }

    .dropdown-el,
    .filter-container {
        width: 90%;
    }

    .dropdown-content {
        width: 100%;
        transform: translateX(8%);
    }

    .margin-left {
        margin-left: 8%;
    }

    .margin-left2 {
        margin-left: 3.5%;
    }

    input[type="text"] {
        width: 100%;
    }

    .view-container {
        margin-bottom: 30px;
    }

    .center-container {
        margin-bottom: 15px;
    }

    .transform-right {
        transform: translateX(3.5%);
    }

    .filter-content {
        width: 100%;
    }

    .content-button {
        width: 100%;
    }

    .label-gap5 {
        margin-left: 0;
    }

    textarea {
        width: 93%;
    }

    .center-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .label-gap {
        margin-right: 0;
        margin-left: 3.5%;
        margin-bottom: 10px;
    }

    form {
        width: 100%;
    }

    #sort_form,
    #filter_form {
        width: 90%;
    }

    .sort-button {
        margin-left: -100%;
        width: 196%;
    }
}

@media screen and (max-width: 600px) {

    .show-sorts {
        display: block;
    }

    #sorts,
    #sorts_type {
        width: 100%;
    }

    #sorts_type {
        margin-top: 15px;
        margin-left: 0px;
    }

    .sort-button {
        margin: 0%;
        margin-top: 10px;
        margin-bottom: 5px;
        width: 100%;
    }

    .sort,
    .sort-type {
        width: 100%;
        padding-left: 5px;
        padding-right: 5px;
        margin-left: 0;
    }
}
