﻿:root, html, body, form {
    overflow: hidden;
    width: 100%;
    min-width: 340px;
    width: calc(var(--vw, 1vw) * 100) !important;
    height: calc(var(--vh, 1vh) * 100) !important;
} body {
    --vh: 1vh;
    --vw: 1vw;
}

.Navi {
    padding: 0px; margin: 0;
    white-space: nowrap;
    background-color: #fff;
    height: 40px; z-index:1;
    user-select: none;
} .Navi div {
    position:relative;
    font-weight: bold;
    font-size: 1.1em;
    height: 34px;
    line-height: 32px; vertical-align: middle;
    margin-right: -4px !important;
    text-align: center;
    display: inline-block;
    width: calc(33.33% - 6px);
    cursor: pointer;
    color: #fff;
    background-color: #666;
    border: groove 3px #aaa;
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.8);
    opacity: 0.8;
    background: linear-gradient(#666, #000);
} .Navi div:hover {
    opacity: 0.9;
} .Selected {
    opacity: 1 !important;
} .Navi div::before, .Selected::before { /* GLOSS EFFECT */
    display: inline-block;
    content: '';
    position: absolute;
    z-index: 1;
    top: 2px;
    left: 3px;
    width: calc(100% - 5px);
    height: 55%;
    border-radius: 4px 4px 4px 4px;
    background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.2));
    opacity: 0.7;
} .Navi div:hover::before {
    opacity: 0.9;
} .Selected:hover::before {
    opacity: 1;
}
.SocialMediaButton {
    float: right;
    display: inline-block;
    height: 30px;
    width: auto;
    vertical-align: middle;
    padding: 3px;
    padding-left: 6px;
    padding-right: 6px;
    background: linear-gradient(#666, #666 49%, #555 51%, #555);
    box-shadow: 0px 0px 10px #000;
    white-space: nowrap;
    margin-left: 6px;
    margin-right: 6px;
    cursor: pointer;
}

.Facebook {
    background: linear-gradient(#4B69A8, #4B69A8 49%, #2B4988 51%, #2B4988); opacity: 0.8;
}
.LinkedIn {
    background: linear-gradient(#008bc5, #008bc5 49%, #006ba5 51%, #006ba5); opacity: 0.8;
}
.Facebook:hover, .Facebook:active, .LinkedIn:hover, .LinkedIn:active {
    opacity: 1;
}
.Facebook:before, .LinkedIn:before {
    content: " Share";
} .SocialMediaButton img {
    display: inline-block;
    float: left;
    width: 26px;
    height: 26px;
    margin-right: 6px;
}

.Copyright {
    float: left;
    width: auto;
    padding-left: 8px;
} .Copyright:before {
    content: "© 2020 Marko Paakkunainen";
}

iframe {
    padding: 0px;
    margin: 0px;
    height: calc((var(--vh, 1vh) * 100) - 72px);
    width: 100%;
    border: solid 0px #000;
}

.Footer {
    text-align: center;
    background-color: #666;
    vertical-align: middle;
    color: #fff;
    position: fixed;
    height: 32px;
    max-height: 32px;
    line-height: 30px;
    overflow: hidden;
    min-width: 340px;
    box-shadow: 0px -1px 1px #000;
    top: calc((var(--vh, 1vh) * 100) - 32px);
}

@media screen and (max-width:710px) { /* Mobile */
    .Facebook:before, .LinkedIn:before {
        content: "Share";
    }
    .Copyright:before {
        content: "© 2020 Marko Paakkunainen";
    }
}

@media screen and (min-width:711px) { /* Large enough */
    .Facebook:before {
        content: "Share on Facebook";
    }
    .LinkedIn:before {
        content: "Share on LinkedIn";
    }
    .Copyright:before {
        content: "© 2020 Marko Paakkunainen";
    }
}