div[SSEAL] {
    position: absolute;
    right: 0.5em;
    bottom: 0.5em;
}
div[SSEAL] img {
    border-radius: 13px 13px;
    height: 44px;
}
div[EMP_DISCLAIMER] {
    display: none;
    position: fixed;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color:rgba(255, 255, 255, 0.5);
    z-index: 10;
}
div[EMP_DISCLAIMER_INNER] {
    height: 400px;
    width: 800px;
    position: fixed;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 10;
    box-shadow: 0 0 20px 0 rgb(0, 0, 0, 0.2), 0 5px 5px 0 rgb(0, 0, 0, 0.24);
}
div[EMP_DISCLAIMER] [row] {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
}
div[EMP_DISCLAIMER] [row=title] {
    background-color: #3f99cd;
    color: white;
}
div[EMP_DISCLAIMER] [row=title] h2 {    
    font-size: 2em;
    margin: 0px;
    padding: 8px;
}
div[EMP_DISCLAIMER] [row=dialog] {
    justify-content: center;
}
div[EMP_DISCLAIMER] [row=dialog] [cell] {
    flex: 1;
}
div[EMP_DISCLAIMER] [row=dialog] [cell] textarea {
    margin:0px;
    padding: 0.5em;
    font-size: 1.4em;
    font-weight: bold;
    text-transform: uppercase;
    text-align: left;
    height: 270px;
    resize: none;
    border: 0px solid !important;
}
div[EMP_DISCLAIMER] [row=button] {
    justify-content: center;    
}
div[EMP_DISCLAIMER] [row=button] [cell] {    
    padding: 0.3em;
}
.text-wrapper {
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    white-space: pre-wrap;
    overflow-x: hidden;
}
html {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
body {
    background: #50beff;
    margin:0px;
    overflow-x: hidden;
}
.hide {
    display: none !important;
}
#container  {
    width:400px;
    margin:0 auto;
    margin-top:10%;
}
#container form {
    width:100%;
    margin-bottom: 13px;
    padding: 30px;
    border: 1px solid #f1f1f1;
    background: #fff;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}
#container h1   {
    width: 38%;
    margin: 0 auto;
    padding-bottom: 10px;
}
div[row=headButton] {
    /* text-align: right;
    position: sticky;
    top: 0;
    z-index: 2; */
    position: sticky;
    top: 0;
    z-index: 2;
    width: fit-content;
    margin-left: auto;
}
a[button] {
    text-align: right;
    border: solid 1px #245876;
    background: #50beff;
    margin: 5px 0px;
    padding: 10px 10px;
    display: inline-block;
    color: #245876;
    text-decoration: none;
}
input[type=text],
input[type=number],
input[type=password], 
input[type=date], 
input[type=datetime-local], 
select, textarea, label[cell]  {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc !important;
    box-sizing: border-box;
    font-weight: bold;
}
label[cell] {
    place-items:center;
    height: -webkit-fill-available;
    display: inline-grid;
    text-align: left;
    padding: 0px;
    background: #cccccc;
    color: #666666;
    border-color: #959494 !important;
}
input[type=submit]  {
    background-color: #50beff;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: 1px solid #50beff;
    cursor: pointer;
    width: 100%;                
    text-transform: uppercase;
    font-weight: bold;
}
input[type=submit]:hover    {
    background-color: white;
    color: #50beff;
    border: 1px solid #50beff;
    font-weight: bold;
}
a,a:visited {
    color: #3784b2;
    font-weight: bold;
}
a:hover {
    color: #245876;
}

.top-menu {
    position: sticky;
    top: 0;
    z-index: 1;
    margin : 0;
    background-color: #50beff;
    overflow: hidden;
    /* box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24); */
    box-shadow: 0 0 20px 0 rgb(0, 0, 0, 0.2), 0 5px 5px 0 rgb(0, 0, 0, 0.24);
    border-bottom: 1px solid rgb(0, 0, 0, 0.33);
}
.top-menu a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}
.top-menu a.right {
    float: right;
}
.top-menu a:hover {
    color: black;
}
.top-menu a.active {
    background-color: #245876;
    color: white;
}
.top-menu a i {
    margin: 0 4px;
}
.top-menu input[list] {   
    float: left; 
    padding: 12px 20px;
    top: 5px;
    position: absolute;
    border: 1px solid #ccc !important;
    box-sizing: border-box;
    font-weight: bold;
}
.top-menu a.fiscal {
    padding: 12px 10px;
    background-color: #0e94e4;
    color: #0c4566;
    font-size: 20px;
}

#corps  {
    margin:11px;
    padding: 30px;
    border: 1px solid #f1f1f1;
    background: #fff;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}
#corps .Group.closed h1,
#corps .Group:not([open]):hover summary {
    color:#888787;
}
#corps .Group.closed:hover,
#corps .Group:not(.closed)
{ 
    border: 2px solid #959494;    
}
#corps .Group.closed:hover h1 {
    color:#666666;
}
#corps .Group {
    background: #b1b1b1;
    border: 2px solid #b1b1b1;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}
#corps .Group[Locked] .SubGroup {
    display: none;
}
.Group summary {
    width: -webkit-fill-available;
    padding: 13px !important;
    font-size: 1.5em;
    font-weight: bold;
}
#corps .Group[open]:hover,
#corps .Group:not([open])
{ 
    border: 2px solid #959494;    
}
#corps .Group h1, #corps .Group summary {
    display:inline-block;
    padding: 0px 13px;
    color:#666666;
}
#corps .Group h1, #corps .Group summary i {
    font-size: 0.6em;
    display: block;
}
#corps .Group summary label.switch {
    float: right;
}
#corps .Group .SubGroup label.switch {
    margin: 15px 20px 0px 0px;
}
#corps .Group.closed .SubGroup {
    display: none;
}
#corps .Group .SubGroup {
    background: #efefef;
    padding: 20px;
}
#corps .Group .SubGroup div[row=label] {
    border: none;
    margin-bottom: -18px;
}
#corps .Group .SubGroup div[row=label-bottom] {
    border: none;
    margin-top: -18px;
}
#corps .Group .SubGroup div[row] i {
    position: absolute;
    margin: 20px 10px;
}
#corps .Group .SubGroup div[row] input,
#corps .Group .SubGroup div[row] select {
    padding: 13px 33px;
}
#corps .Group .SubGroup div[row] input[type=date] {
    padding: 0px 6px;
    height: 43px;
}
#corps .Group .SubGroup div[row] textarea {
    background-color: #eaeaea;
    padding: 6px 33px;
    border: 1px solid #8c8b8b;
    min-height: 44px;
    resize: vertical;
}
#corps .Group .SubGroup div[row] textarea.fullscreen {
    /* height: 300px; */
    position: absolute;
    height: 11em;
    width: 22em;
    z-index:1;
    margin-left: -3em;
    margin-top: -2em;
    padding: 5px;
}

.Group .SubGroup input,
.Group .SubGroup select,
.Group .SubGroup textarea {
    width: -webkit-fill-available;
}

form div[row]:first-child {
    /* border-top: solid 1px; */
    border-bottom: solid 1px #b1b1b1;
}
form div[row]:nth-child(odd) {
    border-bottom: solid 1px #b1b1b1;
}
form div[row]:nth-child(even) {
    border-bottom: solid 1px #b1b1b1;
}
form div[row]:last-child {
    border-bottom : none !important;
}
form div[row] {
    display: flex;
}
form div[row] input {
    margin: 8px 0;
}
form div[row] div {
    flex: 1 1 0;
    width: 0;
    padding: 0.1em;
}
form div[row] div[cell=button] input {
    cursor: pointer;
    border: 1px solid #8c8b8b;
    background: #b1b1b1;
    font-weight: bold;
}
form div[row] div[Tiny][cell=button] {
    width: 33px;
    flex: 0 auto;
}
form div[row] div[Tiny][cell=button] input {
    padding-left: 0px !important;
    padding-right: 0px !important;
}
form div[row] .itemHeader {
    flex: 10 1 auto;
}
form div[row] div[required][cell=file] .custom-file-upload {
    background: #b1b1b1;
    border: 1px solid #8c8b8b;
}
form div[row] div[error][cell=file] .custom-file-upload {
    background: #f55960 !important;
    border: 1px solid #6c0000 !important;
}
.isRequired {
    background:red !important;
}
/*div[cell=file] label.custom-file-upload*/
[hover] {
    border: dashed 3px #666666;
}
div[tiny][cell=file] {
    flex: 0 auto !important;
    width: fit-content !important;
}
div[tiny][cell=file] .custom-file-upload {
    width: 33px;
    padding: 12px 0px 13px 0px;
}
.custom-file-upload {
    border: 1px solid #cccccc;
    padding: 10px 33px;
    margin: 8px 0;
    cursor: pointer;
    display: block;
    color: #666666;
    font-weight: bold;
    background: #eaeaea;
    text-align: center;
}
.fa.custom-file-upload:before {
    content: "\f574";
    color: black;
}
.custom-file-upload input[type=file] {display: none;}
div[files] {
    /* background: #e3e3e3; */
    background: #cdcdcd;
    border-top: solid 2px #b9b9b9 !important;
    border-bottom: solid 3px #b9b9b9 !important;
}
div[cell=button] {cursor: pointer;}
div[cell=button][Del] input,
div[cell=button][DelFile] input,
div[cell=button][DelBank] input {
    background: #f55960 !important;
    padding: 12px 0px 13px 0px !important;
    border: solid 1px #6c0000 !important;
    font-size: 1em;
    color:#6c0000;
}
div[cell=button][Save] input,
div[cell=button][SaveBank] input {
    background: #66e580 !important;
    padding: 12px 0px 13px 0px !important;
    border: solid 1px #025613 !important;
    font-size: 1em;
    color: #025613;
}

div[cell=button][Manage] input,
div[cell=button][OpenFile] input {
    background: #50beff !important;
    border: solid 1px #00273e !important;
    color: #00273e;
    padding: 12px 0px 13px 0px !important;
    font-size: 0.9em;
}
div[cell=button][OpenFile] input {
    font-size: 1em;
}
div[cell=button][saveFamily],
div[cell=button][savePersonalDetails] {
    display: none;
}

input[shadow][readonly] {
    background: #cccccc;
}
div[row=BANK] input {
    padding: 13px 5px !important;
}
select[CustomList] {
    padding: 13px 0px !important;
    text-align: center;
}



.switch {
position: relative;
display: inline-block;
width: 60px;
height: 34px;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #959494;
-webkit-transition: .4s;
transition: .4s;
}
.slider:before {
position: absolute;
content: "";
height: 26px;
width: 26px;
left: 4px;
bottom: 4px;
background-color: #e5e5e5;
-webkit-transition: .4s;
transition: .4s;
}

input:checked + .slider {
background-color: #5a5a5a;
}
input:focus + .slider {
box-shadow: 0 0 1px #5a5a5a;
}
input:checked + .slider:before {
-webkit-transform: translateX(26px);
-ms-transform: translateX(26px);
transform: translateX(26px);
}
.slider.round {
border-radius: 34px;
}
.slider.round:before {
border-radius: 50%;
}
input:checked + .slider.customColorB {background-color: #50beff !important;}
input:checked + .slider.customColorB:before {background-color: #245876;}

[WARNING] {
    background:#F9CC9D !important;
    border:solid 1px #f78105 !important;
    color:#9b5307 !important;
}
[ALERT] {
    background:#f55960 !important;
    border:solid 1px #f78105 !important;
    color:#6c0000 !important;
}
div[cell=button][Manage][required] input[value="0"] {
    background-color: #f55960 !important;
}
[EMP_INFO_ADDRESS_REQUIRED_FILES],[EMP_INFO_ARRIVAL_IN_FISCAL_YEAR_REQUIRED_FILES], [EMP_INFO_CHILDREN_NEW_BORN_REQUIRED_FILE], [EMP_INCOME_PARTNER_AMOUNT_REQUIRED_FILES] {flex-wrap: wrap;border: dashed 2px #f55960 !important;padding: 0px 4px;}
[FullWidth] {flex:0 0 100% !important;}

.flash {
    animation: flashing 0.5s infinite;
}
@keyframes flashing {
    0% { background-color: initial; }
    50% { background-color: #f55960; }
    100% { background-color: initial; }
}
@media print {
    @page { margin: 0 !important; }
    * { border: none !important; box-shadow: none !important;}
    body {background-color: white !important;}
    div#corps {padding: 0px !important;margin:0px !important}
    .top-menu,div[row=headButton],div[row=head],div[cell=button][del], div[cell=button][delbank],div[cell=file] { display: none !important; }
    details {box-shadow: none !important; border: none !important;}
    .SubGroup {padding:0px !important}
}