html,
body {
    margin: 0px;
    padding: 0px;
    font-family: Arial, Helvetica, sans-serif;
    scroll-behavior: smooth;
    height: 100%;
    min-height: 100%;
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto; 
}

* {
    transition: 0.5s all ease;
}

.hidden{
    visibility: hidden;
    height: 0px;
}

thead {
    display: table-header-group;
}

tfoot {
    display: table-footer-group;
}

p {
    text-align: justify;
}

.center
{
    text-align: center;
}

a,
a:active,
a:hover {
    color: #111;
}

a:hover {
    color: #CC0000;
}

.group {
    border: 1px solid #111;
    border-radius: 10px;
}

.center {
    text-align: center;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.big {
    font-size: 200%;
}

.big {
    font-size: 200%;
}

#cookies {
    display: none;
    position: fixed;
    bottom: 0px;
    padding: 30px;
    background-color: #111;
    color: #EEE;
    opacity: 0;
    width: 100%;
    z-index: 9999999999;
}

img {
    max-width: 100%;
    max-height: 80%;
}

/*************************************************************************************/

.badge {
    background-color: #CC0000;
    color: #EEE;
    border-radius: 5px;
    font-size: .9em;
    padding: 1px 5px;
}

/*************************************************************************************/

.row, .row-header {
    max-width: 1600px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: stretch;
    margin: 0px auto;
}

.row-header {
    font-weight: bold;
    background-color: #dedede;
    position: sticky;
    top: 2px;
}

.box-1 {
    display: inline;
    width: calc(100% / 12 * 1 - 35px);
    padding: 15px;
}

.box-2 {
    display: inline;
    width: calc(100% / 12 * 2 - 35px);
    padding: 15px;
}

.box-3 {
    display: inline; 
    width: calc((100% / 12 * 3) - 35px);
    padding: 15px;
}

.box-4 {
    display: inline;
    width: calc(100% / 12 * 4 - 35px);
    padding: 15px;
}

.box-5 {
    display: inline;
    width: calc(100% / 12 * 5 - 35px);
    padding: 15px;
}

.box-6 {
    display: inline;
    width: calc(100% / 12 * 6 - 35px);
    padding: 15px;
}

.box-7 {
    display: inline;
    width: calc(100% / 12 * 7 - 35px);
    padding: 15px;
}

.box-8 {
    display: inline;
    width: calc(100% / 12 * 8 - 35px);
    padding: 15px;
}

.box-9 {
    display: inline;
    width: calc(100% / 12 * 9 - 35px);
    padding: 15px;
}

.box-10 {
    display: inline;
    width: calc(100% / 12 * 10 - 35px);
    padding: 15px;
}

.box-11 {
    display: inline;
    width: calc(100% / 12 * 11 - 35px);
    padding: 15px;
}

.box-12 {
    display: inline;
    width: calc(100% / 12 * 12 - 35px);
    padding: 15px;
}

@media only screen and (max-width: 1300px) 
{
    .box-1 {width: calc(100% / 12 * 1 - 6px); padding: 2px;}
    .box-2 {width: calc(100% / 12 * 2 - 6px); padding: 2px;}
    .box-3 {width: calc(100% / 12 * 3 - 6px); padding: 2px;}
    .box-4 {width: calc(100% / 12 * 4 - 6px); padding: 2px;}
    .box-5 {width: calc(100% / 12 * 5 - 6px); padding: 2px;}
    .box-6 {width: calc(100% / 12 * 6 - 6px); padding: 2px;}
    .box-7 {width: calc(100% / 12 * 7 - 6px); padding: 2px;}
    .box-8 {width: calc(100% / 12 * 8 - 6px); padding: 2px;}
    .box-9 {width: calc(100% / 12 * 9 - 6px); padding: 2px;}
    .box-10 {width: calc(100% / 12 * 10 - 6px); padding: 2px;}
    .box-11 {width: calc(100% / 12 * 11 - 6px); padding: 2px;}
    .box-12 {width: calc(100% / 12 * 12 - 6px); padding: 2px;}
}

@media only screen and (max-width: 900px) 
{
    .box-1 {width: calc(100% / 12 * 6 - 6px); padding: 2px;}
    .box-2 {width: calc(100% / 12 * 6 - 6px); padding: 2px;}
    .box-3 {width: calc(100% / 12 * 6 - 6px); padding: 2px;}
    .box-4 {width: calc(100% / 12 * 12 - 6px); padding: 2px;}
    .box-5 {width: calc(100% / 12 * 12 - 6px); padding: 2px;}
    .box-6 {width: calc(100% / 12 * 12 - 6px); padding: 2px;}
    .box-7 {width: calc(100% / 12 * 12 - 6px); padding: 2px;}
    .box-8 {width: calc(100% / 12 * 12 - 6px); padding: 2px;}
    .box-9 {width: calc(100% / 12 * 12 - 6px); padding: 2px;}
    .box-10 {width: calc(100% / 12 * 12 - 6px); padding: 2px;}
    .box-11 {width: calc(100% / 12 * 12 - 6px); padding: 2px;}
    .box-12 {width: calc(100% / 12 * 12 - 6px); padding: 2px;}
    .box-s-12  {width: calc(100% / 12 * 12 - 32px);}
}


/*************************************************************************************/

.buttonLight,
.button,
.buttonBig {
    display: inline-block;
    border-radius: 10px;
    padding: 10px 10px;
    min-height: 32px;
    line-height: 32px;
    margin: 0px 5px;
    border: 1px solid #a1a1a1;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}

.buttonBig {
    padding: 30px;
    font-size: 2em;
}

.buttonLigh img {
    
}

.button,
.buttonBig {
    background-color: #0000CC;
    color: #EEE;
}

.button:hover,
.buttonBig:hover {
    background-color: #33afff;
    color: #111;
}

.buttonLight {
    background-color: transparent;
    color: #111;
}

.buttonLight:hover {
    background-color: #d3d3d3;
    color: #111;
}

.buttonActive {
    background-color: #33af33;
}

/*************************************************************************************/

.base {
    border-right: 1px solid #111;
    border-left: 1px solid #111;
    min-height: 100%;
    max-width: 1600px;
    margin: 0px auto;
}

.content,
.footer {
    min-height: 80%;
}

.footer {
    text-align: center;
    border-top: 1px solid #111;
    min-height: 100px;
}

/*************************************************************************************/

.list {
    width: 100%;
}

.list-item {
    list-style-type: none;
    display: block;
    width: calc(100% - 2 * 10px - 2 * 5px);
    line-height: 30px;
    padding: 10px;
    margin: 5px;
    position: relative;
    border: 1px solid #ddd;
}

/*************************************************************************************/

.blink {
    animation: blink 0.3s steps(5, start) infinite;
    animation-iteration-count: 3;
}

@keyframes blink {
    0% {
        background-color: #FF0000;
        color: #FFF;
        /*opacity: 0;*/
    }

    100% {
        background-color: #ffffff;
        color: #FF0000;
        /*opacity: 1;*/
    }
}

.blink-repeate {
    animation: blink 2s steps(20, start) infinite;
    animation-iteration-count: infinite;
}

/*************************************************************************************/

.naviTopRight {
    max-width: 100%;
    margin-left: auto;
}

naviTop {
    max-width: 1600px;
    min-height: 50px;
    border-bottom: 1px solid #111;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: stretch;
    margin: 0px auto;
}

naviTop .brand {
    background-image: url("logo.svg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 90px;
    height: 50px;
    margin: 10px;
}

naviTop ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: stretch;
    margin: 0px;
    padding: 0px;
}

naviTop ul li {
    list-style-type: none;
    display: flex;
    line-height: 50px;
    margin: 0px;
    position: relative;
    text-decoration: underline;
    height: 100%;
}

naviTop ul li a {
    display: block;
    height: calc( 100px - 40px );
    padding: 20px;
    border: 0px none;
    line-height: 50px;
}

naviTop ul li:hover {
    background-color: #AAA;
}

naviTop ul li ul {
    display: block;
}

naviTop ul li ul li {
    display: block;
    margin: 0px;
    padding: 0px;
    line-height: 10px;
    min-width: 320px;
    height: initial;
}

naviTop .naviTop ul li .hidden-child {
    display: block;
    opacity: 0;
    position: absolute;
    left: 0px;
    top: 100px;
    max-height: 0px;
    overflow: hidden;
    background-color: #FFFFFF;
    border-bottom: 1px solid #111;
    border-right: 1px solid #111;
    border-left: 1px solid #111;
    transition: max-height 1.5s ease;
}

naviTop .naviTop ul li:hover .hidden-child {
    z-index: 10;
    opacity: 1;
    max-height: 2000px;
}

naviTop .naviTop ul li .hidden-child a {
    padding: 5px 20px;
}

/*************************************************************************************/

.info, .information {
    color: #111;
    padding: 15px;
    background-color: #00AAFF;
    font-weight: bold;
    margin: 3px 0px;
}

.warning {
    color: #111;
    padding: 15px;
    background-color: #FFAA00;
    font-weight: bold;
    margin: 3px 0px;
}

.error,
.critical {
    color: #eee;
    padding: 15px;
    background-color: #dd0000;
    font-weight: bold;
}

.error a,
.critical a{
    color: #eee;
}

.input label {
    display: block;
    margin: 5px;
}

.input input,
.input select,
.input textarea,
.input button {
    display: block;
    width: calc(100% - 10px);
    margin: 5px;
    padding: 20px 3px;
}

.input input[type="text"], 
.input input[type="password"], 
.input input[type="date"],
.input input[type="number"]{
    width: calc(100% - 20px);
}

.input textarea {
    height: 250px;
    width: calc(100% - 20px);
}

.input input[type="checkbox"] {
    display: none;
}

.input input[type="checkbox"]+label {
    display: inline-block;
    height: 30px;
    position: relative;
    line-height: 30px;
    padding-left: 70px;
    width: calc( 100% - 90px );
}

.input input[type="checkbox"]:disabled+label::after {
    left: 15px;
    background-color: #ccc;
    cursor: not-allowed;
}

.input input[type="checkbox"]:checked+label::after {
    margin-left: 25px;
    background-color: #44CC55;
}

.input input[type="checkbox"]:disabled+label::before {
    background-color: #999999;
    cursor: not-allowed;
}

.input input[type="checkbox"]+label::before {
    content: "";
    width: 54px;
    height: 24px;
    border-radius: 12px/50%;
    border: 1px solid #aaa;
    background-color: #ccc;
    display: inline-block;
    position: absolute;
    top: 4px;
    left: 0px;
    cursor: pointer;
}

.input input[type="checkbox"]+label::after {
    content: "";
    background-color: #111;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #333;
    display: inline-block;
    position: absolute;
    left: 4px;
    top: 6px;
    margin-left: 0px;
    box-shadow: #111 1px 0px 1px;
    cursor: pointer;
}

.input input[type="file"] {
    display: none;
}

.input input[type="file"]+label {
    display: block;
    width: calc(100% - 20px);
    height: 140px;
    text-align: center;
    line-height: 70px;
    border: 1px #111 dotted;
    cursor: pointer;
}

.table {
    width: 100%;
    padding: 0px;
    margin: 0px;
}

.table > .row:nth-child(even), .table table > tr:nth-child(even) {
    background-color: #ffffff;
}

.table > .row:nth-child(odd), .table table > tr:nth-child(even) {
    background-color: #dddddd;
}

.table > .header {
    background-color: #111 !important;
    color: #fff;
    font-weight: bold;
    margin-top: 10px;
    position: sticky;
    top: 2px;
}

.table table {
    width: 100%;
    border-spacing: 0px;
}

.table table tr th {
    position: sticky;
    top: 2px;
    background: #ccc;
    padding: 5px;
}

.table table tr td {
    border-bottom: 1px solid #ccc;
    padding: 3px;
}

.selected {
    background-color: #44CC55;
}

blockquote {
    border-left: 5px solid #ccc;
    padding: 15px;
}

.fixedBrand {
    display: none;
}

.top {
    position: fixed;
    bottom: 20px;
    right: 40px;    

    display: block;
    width: 60px;
    height: 60px;

    opacity: 0.9;

    background: #ff8b24;
    border-radius: 10px;

    text-decoration: none;
    color: #FFF;
    text-align: center;
    font-weight: bold;
    line-height: 60px;

    z-index: 9999;
}

.confirm-background
{
    position: fixed;

    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;

    display: none;
    background-color: #111;
    opacity: 0;
    z-index: 9999999;
}

.confirm
{
    display: none;
    transition: 0.6s all ease;
    top: 20%;
    left: 20%;
    position: fixed;
    padding: 30px;
    background-color: #eee;
    color: #111;
    opacity: 1;
    width: 60%;
    height: 60%;
    z-index: 99999999;
    text-align: center;
    border-radius: 2rem;
}

.confirm-okay
{
    background-color: #44CC55;
}

.confirm-fail
{
    background-color: #CC0000;
}

.confirm-show
{
    display: block !important;
    opacity: 0.9;
}

.confirm-hide
{
    display: block !important;
    opacity: 0;
}

#confirm_text
{
    margin-bottom: 30px;
    font-size: 1.5em;
}

.progress-bar {
    width: 100%;
    background-color: #eee;
    border: 1px solid #111;
    border-radius: 3px;
    height: 20px;
    margin: 0px;
    overflow: hidden;
    position: relative;
}

.progress-bar > div {
    width: 50%;
    height: 100%;
    background-color: #00cc00;    
    z-index: 1;
    box-shadow: 0px 0px 10px #00cc00;
}

.progress-bar > span {
    position: absolute;
    width: 100%;
    height: 100%;
    line-height: 20px;
    display: block;
    text-align: center;
    left: 0px;
    top: 0px;
    z-index: 2;
    font-weight: bold;
}

.exception {
    background-color: #CC0000;
    color: #EEEEEE;
    font-weight: bold;
    padding: 10px;
    border: 1.5px solid #550000;
    border-radius: 10px;
    box-shadow: #111 10px 10px 10px;
}

.exceptionMessage{
    margin-top: 20px;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.overlay-frame {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(200, 200, 200, 0.6);
    z-index: 100000;
    
    display: flex;
    justify-content: center;
}

.overlay-frame iframe {
    width: 90%;
    min-width: 600px;
    height: 70%;
    background-color: #FFF;
    margin: auto auto;
    padding: 20px;
    border: 1px solid #111;
}

/*****************************************************************************/

/* SMARTPHONE VIEW                                                           */

/*****************************************************************************/

@media only screen and (max-width: 600px) {
    naviTop .brand {
        width: 100%;
        height: 150px;
        margin-left: 80px;
        background-position: center;
    }

    .naviTopRight ul li {
        height: 100px;
        border: none; 
    }

    .naviTopRight ul li a {
        padding: 0px 20px 0px 20px;
        line-height: 100px;
    }

    .naviTopMenuButton {
        background-image: url("images/menu.png");
        background-color: rgba(50, 50, 50, 0.95);
        background-size: contain;
        border-radius: 5px;
        display: block;
        position: fixed;
        top: 20px;
        left: 10px;
        width: 60px;
        height: 60px;
        opacity: 0.8;
        cursor: pointer;
        z-index: 999999999;
    }

    naviTop .naviTop {
        background-color: #EEE;
        border: 1px solid #111;
        border-left: 0px none;
        position: fixed;
        display: block;
        top: 100px;
        left: 0px;
        min-width: 150px;
        max-height: calc( 100% - 100px );
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        width: 0px;
        bottom: 10px;
    }

    naviTop .shown {
        visibility: visible;
        opacity: 0.99;
        width: 90%;
        z-index: 9999999999;
    }

    naviTop .naviTop ul {
        display: block;
    }

    naviTop .naviTop ul li {
        text-align: left;
        position: relative;
        display: block;        
        line-height: 50px;
        border-bottom: 1px solid #111;
        overflow: hidden;
    }

    naviTop .naviTop ul li a {
        height: 100%;
        padding: 0px 0px 0px 10px;
    }

    naviTop .naviTop ul li .hidden-child {
        opacity: 1;
        position: relative;
        margin: 1px 0px 0px 30px;
        max-height: 2000px;
        padding: 0px;
        top: 0px;
        left: 0px;
        border: 0px none;
        background: #FFFFFF;
    }

    naviTop .naviTop ul li ul {
        display: block;
        position: relative;
        border: 0px none;
    }

    .fixedBrand {
        position: fixed;
        top: 0px !important;
        right: 0px !important;
        width: 70px !important;
        height: 70px !important;
        visibility: hidden;
        opacity: 0;
    }

    .shownFixedBrand {
        visibility: visible;
        opacity: 1;
    }

    .box-1, .box-2
    {
        width: calc( 50% - 10px );
    }

    .box-3, .box-4, .box-5, .box-6, .box-7, .box-8, .box-9, .box-10, .box-11, .box-12
    {
        width: calc( 100% - 10px );
    }
}

@media print {
    .noprint{
        display: none !important;
    }

    .base{
        border: 0px none;
    }

    .print-box-12 {
        width: calc(100% / 12 * 12 - 32px);
    }
}
