﻿@font-face {
    font-family: robotoregular;
    src: url('../ttf/roboto-regular.ttf');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: robotomedium;
    src: url('../ttf/roboto-medium.ttf');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: robotoregular;
    background-color: #fff;
    color: #204A3C;
    margin: 0px;
    padding: 40px;
}

#container {
    display: grid;
    grid-template-columns: 300px 700px 300px; /* nav | main | aside */
    margin: 0;
}

nav {
}

main {
    padding: 0 15px 0 15px;
}

aside {
}


a {
    color: #204A3C;
}

.navbar {
    padding: 0;
    margin: 0;
    width: 246px;
}

.nav-item {
    width: 100%;
    height: 43px;
    margin-bottom: 10px;
    list-style: none;
}

.nav-link {
    text-align: left;
    font-size: 14px;
    padding-left: 43px;
    cursor: pointer;
    font-family: robotoregular;
    color: #204a3c;
    background-color: #FCF9F6;
    line-height: 43px;
    border-radius: 8px;
    border: none;
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

    .nav-link.news {
        background: url("../svg/opterlogo.svg") left no-repeat;
        background-position: 9px center;
        background-color: #EFEBE7;
    }
    .nav-link.contact {
        background: url("../svg/contact.svg") left no-repeat;
        background-position: 9px center;
        background-color: #EFEBE7;
    }

    .nav-link.qr {
        background: url("../svg/qr.svg") left no-repeat;
        background-position: 9px center;
        background-color: #EFEBE7;
    }

    .nav-link.help {
        background: url("../svg/help.svg") left no-repeat;
        background-position: 9px center;
        background-color: #EFEBE7;
    }

    .nav-link:hover {
        background-color: #E8E5E2;
    }

    
    .nav-link.active {
        font-family: robotomedium;
        font-weight: 400;
        background-color: #c8c6c4;
        color: #204a3c;
    }


.opter-btn {
    background: #7ecaab;
    font-family: robotomedium;
    font-weight: 400;
    color: #204a3c;
    border-radius: 15px;
    height: 30px;
    padding: 7px 18px;
    border: none;
    cursor: pointer;
}

    .opter-btn:hover {
        background: #6CC09E;
    }

.hide {
    display: none;
}

h2 {
    font-size: 32px;
    line-height: 35px;
    letter-spacing: -2%;
    margin-top: 0px;
    margin-bottom: 20px;
    font-weight: 400;
}

h3 {
    font-family: robotomedium;
    font-weight: 400;
    font-size: 18px;
    margin: 0px;
}

p.date {
    font-family: robotomedium;
    font-weight: 400;
    font-size: 14px;
    color: #787470;
}

div.content,
p.content {
    font-size: 16px;
    line-height: 22px;
}

hr {
    border: none;
    height: 0.05rem;
    width: 100%;
    background-color: #787470;
    margin-top: 30px;
    margin-bottom: 30px;
}

img {
    margin-bottom: 30px;
}

    img.qr {
        margin-top: 30px;
    }

.sticky {
    position: sticky;
    top: 40px;
}

.post {
    margin-bottom: min(35px, 5%);
}

.title {
    margin-bottom: min(6px, 5%);
}

.wp-block-image {
    max-width: 100%;
    margin: 0;
}

    .wp-block-image img {
        width: 100%; /* or fixed width like width: 300px; */
        height: auto;
        display: block;
        margin-bottom: 5px;
    }

.opter-card {
    border-bottom: 1px solid #000;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

    .opter-card:not(:first-child){
        margin-top: 25px;
    }

.feature-link-container, .installation-link-container {
    padding-top: 1em;
    display: inline-block;
}

.feature-link, .installation-link {
    text-decoration: none;
    font-size: 16px;
    line-height: 22px;
    display: inline-block;
}

.feature-name{
    color: #000;
    font-weight: bold;
}

.status-container {
    display: flex;
    flex-direction: column;
}

.status-header {
    background-color: #204a3c;
    border-radius: 8px;
    color: #fff;
    margin-bottom:4px;
    padding: 3px;
}

.status-header, .status-row {
    display: flex;
    flex-direction: row;
    flex: 1;
}

.status-row {
    padding: 2px 0 2px 0;
}

.cell {
    flex: 1;
    padding: 2px;
    font-size: 12px;
    margin: 1px 0 1px 0;
    border-radius: 4px;
}

    .cell.row-header {
        font-weight: bold;
        background-color: #EFEBE7;
        border-radius: 8px;
    }

    .cell.name {
        flex: 2.4;
    }

    .cell.target-date {
        flex: 1;
    }

    .cell.comment {
        flex: 1.8;
    }

    .cell.status {
        flex: 1.7;
    }

        .cell.status.complete {
            background-color: #00E898;
        }

        .cell.status.started {
            background-color: #FCFEAE;
        }

        .cell.status.started-required {
            background-color: #FEB64B;
        }

        .cell.status.remaining-required {
            background-color: #f17742
        }



    