﻿/*
    https://meyerweb.com/eric/tools/css/reset/
    https://www.w3schools.com/cssref/css_default_values.asp
*/

/* Body */
html, body, form, div, span, object, iframe,
label, strong, center, big,
h1, h2, h3, h4, h5, h6,
dl, dt, dd, ol, ul, li,
table, tr, th, td,
p, b, u, i, a,
img {
    margin: 0;
    border: 0;
    padding: 0;
    vertical-align: baseline;
}

h1, h2, h3, h4, h5, h6,
dl, dt, dd, ol, ul, li,
table, tr, th, td,
p, a, body {
    text-align: left;
    font-weight: normal;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

@media (min-width: 0px) and (max-width: 800px) {
    h1, h2, h3, h4, h5, h6,
    dl, dt, dd, ol, ul, li,
    table, tr, th, td,
    p, a, body {
        font-size: 11px;
    }
}

@media (min-width: 801px) and (max-width: 1024px) {
    h1, h2, h3, h4, h5, h6,
    dl, dt, dd, ol, ul, li,
    table, tr, th, td,
    p, a, body {
        font-size: 12px;
    }
}

@media (min-width: 1025px) {
    h1, h2, h3, h4, h5, h6,
    dl, dt, dd, ol, ul, li,
    table, tr, th, td,
    p, a, body {
        font-size: 14px;
    }
}

body {
    width: 100%;
    color: #333;
    overflow: hidden;
    line-height: 1;
    background-color: #fff;
}

/* Basic */
img {
    border-style: none;
}

a, a:hover {
    color: #3a5f7a;
    text-decoration: none;
}

p.Standard {
    line-height: 1.4;
}

hr {
    width: 100%;
    color: #bbb;
}

ol, ul {
    list-style: none;
}

    ol.Standard {
        margin: 10px 0;
        padding: 0 0 0 25px;
        line-height: 1.2;
        list-style-type: decimal;
    }

    ul.Standard {
        margin: 10px 0;
        padding: 0 0 0 25px;
        line-height: 1.2;
        list-style-type: disc;
    }

h1 {
    color: #3a5f7a;
    padding: 10px 0;
    font-size: 24px;
    font-weight: bold;
}

h2 {
    color: #3a5f7a;
    padding: 10px 0;
    font-size: 20px;
    font-weight: bold;
}

h3 {
    color: #3a5f7a;
    padding: 10px 0;
    font-size: 16px;
    font-weight: bold;
}

/* Flex Boxes */
.FlexBoxContainer {
    display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box; /* OLD - Firefox 19- (doesn't work very well) */
    display: -webkit-flex; /* NEW - Chrome */
    display: -ms-flexbox; /* TWEENER - IE 10 */
    display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    width: 100%;
}

    .FlexBoxContainer::after {
        clear: both;
        content: "";
        display: table;
    }

    .FlexBoxContainer .FlexBox {
        -webkit-box-flex: 1; /* OLD - iOS 6-, Safari 3.1-6 */
        -moz-box-flex: 1; /* OLD - Firefox 19- */
        -webkit-flex: 1 0 auto; /* Chrome */
        -ms-flex: 1 0 auto; /* IE 10 */
        flex: 1 0 auto; /* NEW, Spec - Opera 12.1, Firefox 20+ */
        padding: 0 0 10px 0;
        display: block;
    }

    .FlexBoxContainer .FlexBoxSpace {
        width: 10px;
        display: block;
    }

/* Tables */
table {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
}

/* DIV Tables */
.bTable {
    width: 100%;
    display: table;
    border-collapse: collapse;
    /* border: 1px blue solid; */
}

.bTableRow, .bTableTextRow, .bTableCaptionRow, .bTableOKRow, .bTableWarningRow, .bTableErrorRow {
    clear: both;
    display: table-row; /* The height of the DIV is solely determined by the height of the table-cell elements in it (CSS 2.1 standard) */
}

.bTableTextRow {
    line-height: 1.4;
}

.bTableWarningRow {
    background-color: #FFD54F;
}

.bTableErrorRow {
    background-color: #E57373;
}

.bTableOKRow {
    background-color: #AED581;
}

.bTableKeyCell, .bTableWinKeyCell, .bTableValueCell, .bTableValueBoldCell, .bTableDuplicitCell, .bTableDuplicitBoldCell,
.bTableTextCell, .bTableText10Cell, .bTableText25Cell, .bTableText33Cell, .bTableText50Cell,
.bTableTextBoldCell, .bTableTextCenterCell, .bTableTextRightCell, .bTableHeaderCell,
.bTableInfoCell, .bTableImageCell, .bTableIconCell, .bTableButtonCell, bTableCaptionCell,
.bTableCell, .bTable10Cell, .bTable25Cell, .bTable33Cell, .bTable50Cell,
.bTableCenterCell, .bTableRightCell, .bTableMiddleCell, .bTableBottomCell {
    border: none;
    display: table-cell;
    /* border: 1px solid red; */
}

.bTableKeyCell, .bTableWinKeyCell, .bTableValueCell, .bTableValueBoldCell, .bTableDuplicitCell, .bTableDuplicitBoldCell {
    padding: 4px 0;
    vertical-align: middle;
}

.bTableTextCell, .bTableText10Cell, .bTableText25Cell, .bTableText33Cell, .bTableText50Cell,
.bTableTextBoldCell, .bTableTextCenterCell, .bTableTextRightCell {
    padding: 4px 0;
    vertical-align: top;
}

.bTableInfoCell, .bTableImageCell, .bTableIconCell, .bTableButtonCell, .bTableMiddleCell {
    vertical-align: middle;
}

.bTableBottomCell {
    vertical-align: bottom;
}

.bTableImageCell, .bTableIconCell, .bTableButtonCell, .bTableCenterCell, .bTableTextCenterCell {
    text-align: center;
}

.bTableRightCell, .bTableTextRightCell {
    text-align: right;
}

.bTableTextBoldCell, .bTableValueBoldCell, .bTableDuplicitBoldCell {
    font-weight: bold;
}

.bTableDuplicitCell, .bTableDuplicitBoldCell {
    width: calc(100vw - 880px);
}

.bTable10Cell, .bTableText10Cell {
    width: 10%;
}

.bTable25Cell, .bTableText25Cell {
    width: 25%;
}

.bTable33Cell, .bTableText33Cell {
    width: 33.3%;
}

.bTable50Cell, .bTableText50Cell {
    width: 50%;
}

.bTableHeaderCell {
    width: 200px;
    line-height: 1.2;
    text-align: center;
    vertical-align: middle;
}

.bTableInfoCell {
    width: 30px;
}

.bTableKeyCell {
    width: 200px;
}

.bTableWinKeyCell {
    width: 100px;
}

.bTableIconCell {
    width: 35px;
}

.bTableImageCell {
    width: 65px;
}

.bTableButtonCell {
    width: 125px;
}

/* First Page */
.mPageHeader {
    color: #bbb;
    width: 100%;
    height: 60px;
    overflow: hidden;
    text-align: center;
    background: #3a5f7a;
    line-height: 55px; /* vertical alignment*/
}

.mPageMain {
    width: 100%;
    height: calc(100vh - 60px - 60px);
    background-color: #f5f9fc;
}

.mPageFooter {
    width: 100%;
    height: 60px;
    font-size: 12px;
    overflow: hidden;
    text-align: center;
    background-color: #92aec3;
    line-height: 55px; /* vertical alignment*/
}

/* Standard Page */
.sPageHeader {
    top: 0;
    left: 0;
    color: #aaa;
    width: 100%;
    height: 60px;
    z-index: 10;
    position: fixed;
    overflow: hidden;
    background: #3a5f7a url("Default/Logos/Komoris.png") calc(200px / 2 - 161px / 2) center no-repeat;
}

.sPageContentHeader, .sPageContentHeaderHidden {
    top: 60px;
    left: 200px;
    height: 45px; /* + 5px padding*/
    z-index: 5;
    margin: 0 0 0 10px;
    padding: 3px 0 2px 0;
    position: fixed;
    overflow: hidden;
    transition: left .5s;
    border-bottom: 1px solid #bbb;
}

.sPageContentHeader {
    left: 200px;
    width: calc(100vw - 225px); /* - 15px margin */
}

.sPageContentHeaderHidden {
    left: 61px;
    width: calc(100vw - 86px); /* - 15px margin */
}

.sPageContentMenu, .sPageContentMenuHidden {
    top: 0;
    left: 0;
    color: #bbb;
    height: 100%;
    z-index: 5;
    padding: 60px 0;
    position: fixed;
    transition: 0.5s;
    overflow-y: auto;
    overflow-x: hidden;
}

.sPageContentMenu {
    width: 200px;
    background: #3a5f7a url("Default/Logos/SATTURN_white.png") center calc(100vh - 60px) no-repeat;
}

.sPageContentMenuHidden {
    width: 61px;
    background-color: #3a5f7a;
}

.sPageContentText, .sPageContentTextHidden {
    height: calc(100vh - 110px); /* TopMenu + Header */
    overflow: auto;
    margin-top: 110px; /* TopMenu + Header */
    transition: margin-left .5s;
}

.sPageContentText {
    margin-left: 200px;
    width: calc(100vw - 200px); /* LeftMenu */
}

.sPageContentTextHidden {
    margin-left: 61px;
    width: calc(100vw - 61px); /* LeftMenu */
}

.sPageContentTextContent {
    padding: 5px 10px;
}

.sPageContentTextFooter {
    padding: 10px;
}

/* Others */
.bold {
    font-weight: bold;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}

.top {
    vertical-align: top;
}

.bottom {
    vertical-align: bottom;
}

.middle {
    vertical-align: middle;
}

.italic {
    font-style: italic;
}

.underline {
    text-decoration: underline;
}

.nonvisible {
    display: none;
}

.smallbold {
    font-size: 11px;
    font-weight: bold;
}
