﻿/*Form Main*/

.Page
{
    padding: 20px; margin: 10px;
}

.Form {
    width: 100%; 
    outline: none; 
    background-color: transparent; 
    border: none; 
    display: inline-block; 
    width: auto; 
    text-align: left;
}

.Form .Form_InnerDiv {
    display: flex; 
    flex-direction: column;
    gap: 5px;
    /*position: relative;*/ 
    background-image: radial-gradient(circle at center,  white 0, #f5f5f5 70%, #f1f1f1 100%); 
    padding: 20px 20px 20px 20px; 
    box-sizing: border-box; 
    box-shadow: 1px 1px 2px 2px #f1f1f1;
    width: 100%;
    height: 100%;
}

.Form .Form_Title {
    padding: 10px; 
    font-weight: bold;
    background-color: #98765470; 
    color: white;
}

.Form .Form_Content{
    display: flex; 
    flex-direction: column; 
    /*position: relative;*/
}

/*FormColumn*/

.Form_Column{
    display: flex; 
    flex-direction: column;
    border: 1px solid white; 
    background-color: #FFFFFF20;
}

.Form_Column .Form_Column_Title{
    padding: 10px; 
    font-weight: bold;
    background-color: #98765470; 
    color: white;
}

.Form_Column .Form_Column_Content{
    display: flex; 
    flex-direction: column; 
    padding: 10px;
}

.Form_Column_SubTitle{
    width: 100%; 
    font-weight: bold; 
    font-size: 0.9em;
    margin-top: 5px;
    margin-bottom: -5px;
}
.Form_Column_SubTitle_HR{
    background: linear-gradient(to right, gray, transparent); 
    height: 1px; 
    margin-top: 0; 
    border: 0;
}

/* FormRow */

.Form_Row{
    background-image: linear-gradient(to top right, transparent, white);
    /*position: relative;*/
    width: 100%; 
    display: inline-block;
}
.Form_Row .Form_Row_Content {
    width: 100%; 
    display: flex;
}
.Form_Row .Form_Row_ExpandButton{
    margin-left: 5px;
    width: 30px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
    color: white;
    background: radial-gradient(circle at center, gray 0, transparent 50%)
}
.Form_Row .Form_Row_Expansion{
    margin-top: 5px;
    padding: 5px;
    border: 1px solid white;
    background-image: linear-gradient(to bottom left, transparent, white);
}


.Form_Button_Row{
    width: 100%;
    display: flex; 
    flex-wrap: wrap;
    justify-content: space-evenly; 
    padding: 10px 0 0 0;
}


/** POPUP / MODAL **/

.XFPopContent{
    position: relative;
    display: inline-block;
    width: auto;
}
    .XFPopContent:after{
        position: absolute;
        content: '';
        border-left: 1px solid;
        border-image: linear-gradient(180deg, rgb(240, 220, 220), white) 1;
        top: 0px;
        height: 100%;
        left: -2px;
        width: auto;
    }

.XFPopTitle{
    margin-top: -10px;
    margin-bottom: 10px;
    font-size: larger;
    width: 100%;
    text-align: center;
    background-color: white;
}

.modal {
    display: block;
    text-align: center;
    position: absolute;
    z-index:1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}
.modalloading {
    display: block;
    text-align: center;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    user-select: none;
    background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.modal-content {
    background-color: #fefefe;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border: 1px solid #888;
    border-radius: 14px; 
    max-width: 90% !important;
    max-height: 90% !important;
    text-align: left;
    overflow-y: auto;
}

.fade-in {
    animation: fadeIn ease 0.4s;
    -webkit-animation: fadeIn ease 0.4s;
    -moz-animation: fadeIn ease 0.4s;
    -o-animation: fadeIn ease 0.4s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.fade-out {
    animation: fadeOut ease 0.4s forwards;
    -webkit-animation: fadeOut ease 0.4s forwards;
    -moz-animation: fadeOut ease 0.4s forwards;
    -o-animation: fadeOut ease 0.4s forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-moz-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-webkit-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-o-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}