*
{
    margin:0;
    padding:0;
    box-sizing: border-box;
}

body 
{
    max-width: 100%;
    overflow-x: hidden;
}   

.panel-hero
{
    width:100%;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding:80px 10px;
    background-image: url('../img/panel-background.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


.panel-hero__image
{
    border-radius: 100%;
    margin:0 0 20px 0;
    width:100px;
    padding:10px;
    background:rgb(255, 255, 255);
    -webkit-box-shadow: 0px 0px 14px -4px rgba(66, 68, 90, 1);
-moz-box-shadow: 0px 0px 14px -4px rgba(66, 68, 90, 1);
box-shadow: 0px 0px 14px -4px rgba(66, 68, 90, 1);
}


.panel-hero__user 
{
    font-size: 20px;
    color:black;
    font-weight: 500;
    margin:0 0 20px 0;
}

.panel-hero__text
{
    font-size: 12px;
    padding:0 0 2px 0;
    border-bottom: 1px solid black;
    color:black;
    font-weight: 500;
}

.panel-hero__buttons
{
    display:flex;
    flex-direction: row;
    gap:20px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin:20px 0 0 0;
}


.panel-hero__button
{
    background:#E02D33;
    color:white;
    padding:8px 16px;
    border-radius: 5px;
    font-size:16px;
    font-weight: 500;
    text-decoration: none;
    outline:none;
    border:2px solid #E02D33;
    transition:0.4s;
}

.panel-hero__button:hover 
{
    transition:0.4s;
    cursor: pointer;
    background:transparent;
    color:#E02D33;
}

.panel 
{
    width:100%;
    max-width: 100%;
    display:flex;
    flex-direction: column;
    align-items: safe center;
    justify-content: safe center;
    padding:20px 10px;
}


.panel-table
{
    
    max-width: 96%;
    display:block;
    overflow-x:auto;
    border:1px solid #e02d337a;
}
@media only screen and (max-width: 900px)
{
    .panel-table 
    {
        width:100%;
        max-width: 100%;
    }
}

.panel-table thead 
{
    width:100%;
}

.panel-table tr
{
    width:100%;
}
.panel-table thead th
{
    white-space:nowrap;
    font-size:16px;
    
    font-weight: 500;
    color:white;
    background:#E02D33;
    padding:8px 10px;
    text-align: center;
}

.panel-table tr td 
{
    padding:8px 10px;
    text-align: center;
    font-size:15px;
    font-weight: 400;
    border:1px solid #e02d337a;
}


.panel-table tr td a 
{
    padding:3px 8px;
    border:1px solid #E02D33;
    transition:0.4s;
    font-weight: 500;
    border-radius: 3px;
    white-space: nowrap;
    
}

.panel-table tr td a:hover 
{
    color:white;
    background:#E02D33;
    transition:0.4s;
}

.panel-h1 
{
    margin:10px 0 30px 0;
    padding:0 10px;
    width: 100%;
    text-align: center;
    color:#E02D33;
    font-size:26px;
    font-weight: 500;
    letter-spacing: 2px;
}

.panel-formWrapper 
{
    margin:0 0 10px 0;
    width:80%;
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

@media only screen and (max-width: 1600px)
{
    .panel-formWrapper 
    {
        width:96%;
    }
}

@media only screen and (max-width: 780px) 
{
    .panel-formWrapper  
    {
        flex-direction: column;
        gap:10px;
        align-items: flex-start;
        justify-content: flex-start;
    }
}

.panel-searchForm 
{
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin:0 auto 0 0;
    gap:15px;
}

.panel-filterForm 
{
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap:15px;
}


.panel-searchForm input 
{
    font-size:16px;
    color:black;
    outline:none;
    border:1px solid #E02D33;
    margin:0;
    padding:5px 10px;
    background:white;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}

.panel-filterForm select 
{
    font-size:16px;
    color:black;
    outline:none;
    border:1px solid #E02D33;
    background:white;
    margin:0;
    padding:5px 10px;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}


.panel-filterForm .submit, .panel-searchForm .submit
{
    background:#E02D33;
    color:white;
    padding:5px 10px;
    border-radius: 5px;
    font-size:14px;
    font-weight: 500;
    text-decoration: none;
    outline:none;
    border:2px solid #E02D33;
    transition:0.4s;
    font-family: 'Montserrat', sans-serif;
}



.panel-filterForm .submit:hover, .panel-searchForm .submit:hover 
{
    transition:0.4s;
    cursor: pointer;
    background:transparent;
    color:#E02D33;
}


.edit-post 
{
    max-width: 100%;
    display:flex;
    flex-direction: column;
}

.edit-post  #id_text_area_content 
{
    width:100%;
}

.edit-post label
{
    color:black;
    font-weight: 400;
    font-size:15px;
    margin:0 0 5px 0;

}

.edit-post input[type=text]
{
    outline:none;
    background:white;
    border:1px solid #E02D33;
    border-radius: 5px;
    padding:6px 12px;
    font-size:17px;
    color:black;
    max-width: 100%;
    font-weight: 500;
}

.fieldBox 
{
    border:1px solid #E02D33;
    border-radius: 5px;
    overflow: hidden;
}

.edit-post-wrapper 
{
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin:10px 0;
    padding:0 10px;
    width: 100%;
    gap:20px;
}

.edit-post-submit 
{
    width: fit-content;
    background:#E02D33 !important;
    color:white;
    padding:5px 10px;
    border-radius: 5px;
    margin:10px auto !important;
    font-size:14px;
    font-weight: 500;
    text-decoration: none;
    outline:none;
    border:2px solid #E02D33 !important;
    transition:0.4s;
    font-family: 'Montserrat', sans-serif;
}

.edit-post-submit:hover 
{
    transition:0.4s;
    cursor: pointer;
    background:transparent !important;
    color:#E02D33;
}

.edit-post-wrapper label 
{
    color:#000000;
    font-size:16px;
    font-weight: 400;
}

.edit-post-wrapper select 
{
    font-size:16px;
    color:black;
    outline:none;
    border:1px solid #E02D33;
    background:white;
    margin:0;
    padding:5px 10px;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}


.edit-post-wrapper input[type=checkbox] 
{
    background:#E02D33;
    color:#E02D33;
}

#id_text_area_content 
{
    outline:none;
    border:1px solid #E02D33;
    border-radius: 5px;
    overflow: hidden;
    background:white;
    height:300px;
}




.author-forms 
{
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width:100%;
    padding:0 10px;
    max-width: 1000px;
    gap:30px;
}


.author-forms__container
{
    display:grid;
    width:100%;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap:20px;
}


@media only screen and (max-width: 750px)
{
    .author-forms__container
    {
        grid-template-columns: 1fr 1fr;
    }
}


@media only screen and (max-width: 400px)
{
    .author-forms__container
    {
        grid-template-columns: 1fr;
    }
}

.author-forms__element 
{
    width:100%;
    display:flex;
    flex-direction:column;
}


.author-forms__element input 
{
    width:100%;
    outline: none;
    background: white;
    border: 1px solid #E02D33;
    border-radius: 5px;
    padding: 6px 12px;
    font-size: 17px;
    color: black;
    max-width: 100%;
    font-weight: 500;
}

.author-forms__element label 
{
    margin:0 0 5px 0;
    font-weight: 500;
}


.author-forms__element .errorlist
{
    list-style: none;
    padding:0;
}

.author-forms__element .errorlist li
{
    background:#cc0033;
    margin:0 0 8px 0;
    font-size:14px;
    font-weight: 800;
    color:white;
    width: fit-content;
    padding:4px 8px;
    border-radius: 5px;

}

.author-forms__textarea 
{
    width:100%;
    display:flex;
    flex-direction: column;
}

.author-forms__textarea label 
{
    margin:0 0 5px 0;
    font-weight: 500;
}
.author-forms__textarea textarea 
{
    width:100%;
    outline: none;
    background: white;
    border: 1px solid #E02D33;
    border-radius: 5px;
    padding: 6px 12px;
    height:200px;
    font-size: 17px;
    color: black;
    max-width: 100%;
    font-weight: 500;
}



.author-forms__textarea .errorlist
{
    list-style: none;
    padding:0;
}

.author-forms__textarea .errorlist li
{
    background:#cc0033;
    margin:0 0 8px 0;
    font-size:14px;
    font-weight: 800;
    color:white;
    width: fit-content;
    padding:4px 8px;
    border-radius: 5px;

}