﻿.form_background
{
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #606060;
    opacity: 0;
    z-index: -1;
}
.form-container
{
    top: -700px;
    position: fixed;
    display: none;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 600px;
    z-index: 1111;
    transition: all .7s ease;
}
.form-container .card
{
    padding: 20px;
    border-radius: 4px;
    transition: all .5 ease;
    overflow-x: hidden;
    overflow-y: scroll;
    max-height: 90vh;
}
.form-container .card::-webkit-scrollbar
{
    display: none;
}
.form-container .card .header .circle.open
{
    cursor: pointer;
}/* Hide scrollbar for IE, Edge and Firefox */
.form-container .card
{
    -ms-overflow-style: none;/* IE and Edge */
    scrollbar-width: none;/* Firefox */
}
.form-container .card .row .header
{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 10px;
}
.form-container .card .row .header img
{
    padding: 5px;
    border-radius: 50%;
    margin-left: 10px;
}
.form-container .card .row .header img:hover
{
    cursor: pointer;
    background: #f5f5f5;
}
.form-container .card .margin-row
{
    margin: 0 20px;
}
.form-container .card .row-left-items
{
    justify-content: flex-end;
    display: flex;
    margin: 5px 20px;
}
.form-container .card .row .save
{
    padding: 20px 10px;
    display: flex;
    align-items: center;/* border-radius: 32px;
    background: #EFEFEF !important;
    border: none; */
    transition: all .2s ease;
}
.form-container .card .row .save span
{
    padding-right: 20px;
    margin-left: 10px;
}
.active-form-container
{
    top: 50px;
}
.active-form
{
    opacity: .7;
    z-index: 1000;
}
.form-container .card .row .error
{
    display: none;
}
.form-container .card .row .error .error-header
{
    height: 30px;
    border-radius: 16px 16px 0 0;
    background-color: #b90e0a;
    width: 100%;
}
.form-container .card .row .error .error-content
{
    border: 2px solid #b90e0a;
    border-radius: 0 0 16px 16px;
}
.form-container .card .row .error .error-content ul
{
    padding: 10px 15px;
}
.form-container .card .row .error .error-content ul li
{
    list-style-type: disc;
    margin: 0 20px;
    padding: 5px 0;
    border-bottom: 1px dashed #b90e0a;
    transition: all .8s ease;
}
.form-container .card .row .error .error-content ul li:last-child
{
    border: none;
}
[type="radio"]:checked+span:after, [type="radio"].with-gap:checked+span:after
{
    background-color: #ff9800!important;
}
[type="radio"]:checked+span:after, [type="radio"].with-gap:checked+span:before, [type="radio"].with-gap:checked+span:after
{
    border: 2px solid #ff9800!important;
}
@media only screen and (max-width: 610px)
{
    .form-container
    {
        width: 100%;
    }
    .form-container.active-form-container
    {
        top: 0;
    }
    .form-container .card
    {
        border-radius: 0!important;
        margin: 0!important;
    }
    .form-container .card
    {
        max-height: 100vh!important;
    }
    .form-container.active-form-container .card
    {
        height: 100vh!important;
        margin: 0!important;
    }
}
@media only screen and (max-width: 510px)
{
    .form-container .card .row .header
    {
        margin: 0;
        margin-bottom: 10px;
    }
}