﻿html {
    font-size: 62.5%;
}

    html body {
        font-size: 1.1rem;
    }

/* css layout for a div table */
.layout-table {
    display: table;
    height: 100%;
    width: 100%;
}

.layout-table-row {
    display: table-row;
}

.layout-table-cell {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.layout-table-cell-alignment {
    display: inline-block;
}
/* end css layout for a div table */


.trustPage {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #f2f2f2;
    font-family: "Open-Sans", "Segoe UI Regular", Helvetica, Arial, sans-serif;
}

    .trustPage .fullWidth {
        width: 100%;
    }

    .trustPage .mediumWidth {
        width: 60%;
    }

    .trustPage .mediumHeight {
        height: 60%;
    }

    .trustPage .brokenComputerSvg {
        width: 28%;
    }

    .trustPage .lockedComputerSvg {
        width: 28%;
    }

    .trustPage .mainLogo {
        top: 0px;
        position: absolute;
        margin-left: -35px;
        left: 50%;
        z-index: 3000;
        background-repeat: no-repeat;
    }

    .trustPage .mainHeader {
        flex-shrink: 0;
        height: 34px;
        background-color: #36474f;
    }

    .trustPage .mainContent {
        flex: 1;
        overflow: auto;
        position: relative;
    }

    .trustPage .footer {
        flex-shrink: 0;
        background-color: #e2e5e5;
        height: 34px;
        text-align: center;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

        .trustPage .footer .PageHelpLink {
            padding-left: 10px;
            padding-right: 10px;
        }

            .trustPage .footer .PageHelpLink > a {
                font-size: 1.4rem;
                display: block;
                color: #2196f3;
                text-decoration: none;
                padding-left: 10px;
                padding-right: 10px;
            }

                .trustPage .footer .PageHelpLink > a:hover {
                    color: #29b6f6;
                }

                .trustPage .footer .PageHelpLink > a:focus {
                    border-color: #2196f3;
                }

/*#region Normal screen size (Less than 1650px)*/
@media only screen and (max-resolution: 1.5dppx) and (max-width: 1650px), (max-resolution: 144dpi) and (max-width: 1650px), (-webkit-max-device-pixel-ratio: 1.5) and (max-width: 1650px), (-o-max-device-pixel-ratio: 3/2) and (max-width: 1650px) {
    .trustPage .mainLogo {
        margin-left: -35px;
        background-repeat: no-repeat;
        width: 70px;
        height: 70px;
        background-size: 70px 70px;
        background-image: url("../images/icons/K2LogoTrust70.png");
    }

    html.designer .trustPage .mainLogo {
        margin-left: -35px;
        margin-top: 0px;
        width: 70px;
        height: 91px;
        background-size: 70px 91px;
        background-image: url("../images/icons/K2LogoDesigner70.png");
    }

    html.management .trustPage .mainLogo {
        margin-left: -50px;
        margin-top: 0px;
        width: 99px;
        height: 91px;
        background-size: 99px 91px;
        background-image: url("../images/icons/K2LogoManagement70.png");
    }

    html.workspace .trustPage .mainLogo {
        margin-left: -44px;
        margin-top: 0px;
        width: 88px;
        height: 91px;
        background-size: 88px 91px;
        background-image: url("../images/icons/K2LogoWorkspace70.png");
    }
}

/*Images@2x - hi-dpi*/
@media only screen and (min-resolution: 1.5dppx) and (max-width: 1650px), (min-resolution: 144dpi) and (max-width: 1650px), (-webkit-min-device-pixel-ratio: 1.5) and (max-width: 1650px), (-o-min-device-pixel-ratio: 3/2) and (max-width: 1650px) {
    .trustPage .mainLogo {
        margin-left: -35px;
        background-repeat: no-repeat;
        width: 70px;
        height: 70px;
        background-size: 70px 70px;
        background-image: url("../images/icons/K2LogoTrust70@2x.png");
    }

    html.designer .trustPage .mainLogo {
        margin-left: -35px;
        margin-top: 0px;
        width: 70px;
        height: 91px;
        background-size: 70px 91px;
        background-image: url("../images/icons/K2LogoDesigner70@2x.png");
    }

    html.management .trustPage .mainLogo {
        margin-left: -50px;
        margin-top: 0px;
        width: 99px;
        height: 91px;
        background-size: 99px 91px;
        background-image: url("../images/icons/K2LogoManagement70@2x.png");
    }

    html.workspace .trustPage .mainLogo {
        margin-left: -44px;
        margin-top: 0px;
        width: 88px;
        height: 91px;
        background-size: 88px 91px;
        background-image: url("../images/icons/K2LogoWorkspace70@2x.png");
    }
}

/*#region Large screen size (Greater than 1650px)*/
@media only screen and (max-resolution: 1.5dppx) and (min-width: 1650px), (max-resolution: 144dpi) and (min-width: 1650px), (-webkit-max-device-pixel-ratio: 1.5) and (min-width: 1650px), (-o-max-device-pixel-ratio: 3/2) and (min-width: 1650px) {
    .trustPage .mainHeader {
        /* Bigger top bar on login page */
        line-height: 50px;
        height: 50px;
    }

    .trustPage .mainLogo {
        margin-left: -50px;
        background-repeat: no-repeat;
        width: 100px;
        height: 100px;
        background-size: 100px 100px;
        background-image: url("../images/icons/K2LogoTrust100.png");
    }

    html.designer .trustPage .mainLogo {
        margin-left: -50px;
        margin-top: 0px;
        width: 100px;
        height: 130px;
        background-size: 100px 130px;
        background-image: url("../images/icons/K2LogoDesigner100.png");
    }

    html.management .trustPage .mainLogo {
        margin-left: -70px;
        margin-top: 0px;
        width: 140px;
        height: 130px;
        background-size: 140px 130px;
        background-image: url("../images/icons/K2LogoManagement100.png");
    }

    html.workspace .trustPage .mainLogo {
        margin-left: -63px;
        margin-top: 0px;
        width: 126px;
        height: 130px;
        background-size: 126px 130px;
        background-image: url("../images/icons/K2LogoWorkspace100.png");
    }

    .trustPage .footer {
        height: 68px;
    }

        .trustPage .footer .PageHelpLink > a {
            font-size: 2rem;
            height: 46px;
            line-height: 44px;
        }
}

/*Images@2x - hi-dpi*/
@media only screen and (min-resolution: 1.5dppx) and (min-width: 1650px), (min-resolution: 144dpi) and (min-width: 1650px), (-webkit-min-device-pixel-ratio: 1.5) and (min-width: 1650px), (-o-min-device-pixel-ratio: 3/2) and (min-width: 1650px) {
    .trustPage .mainHeader {
        /* Bigger top bar on login page */
        line-height: 50px;
        height: 50px;
    }

    .trustPage .mainLogo {
        margin-left: -50px;
        background-repeat: no-repeat;
        width: 100px;
        height: 100px;
        background-size: 100px 100px;
        background-image: url("../images/icons/K2LogoTrust100@2x.png");
    }

    html.designer .trustPage .mainLogo {
        margin-left: -50px;
        margin-top: 0px;
        width: 100px;
        height: 130px;
        background-size: 100px 130px;
        background-image: url("../images/icons/K2LogoDesigner100@2x.png");
    }

    html.management .trustPage .mainLogo {
        margin-left: -70px;
        margin-top: 0px;
        width: 140px;
        height: 130px;
        background-size: 140px 130px;
        background-image: url("../images/icons/K2LogoManagement100@2x.png");
    }

    html.workspace .trustPage .mainLogo {
        margin-left: -63px;
        margin-top: 0px;
        width: 126px;
        height: 130px;
        background-size: 126px 130px;
        background-image: url("../images/icons/K2LogoWorkspace100@2x.png");
    }

    .trustPage .footer {
        height: 68px;
    }

        .trustPage .footer .PageHelpLink > a {
            font-size: 2rem;
            height: 46px;
            line-height: 44px;
        }
}
