#pnHeadWrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-image: linear-gradient(to bottom, #ccc, #999);
}

#pnHeadWrap > h1 {
    margin: 0.33rem auto 0.33rem 7.5%;
    padding: 0.33rem 32px; 
    max-width: 85%;
    min-width: 200px;
    background-color: #102a58;
    color: white;
    border-radius: 4px;
    font-weight: normal;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 24px;
    text-align: center;
}

#printAddr {
    display: none;
}

#pn_info_messages {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pn_info_msg {
    padding: 16px 0;
    margin: 0px 0px 8px;
    border-left: none;
    border-right: none;
    width: 100%;
    text-align: center;
}

.pn_info_msg > a {
    text-decoration: none;
}

#pn_info_topper {
    width: 85%;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin: 24px auto;
    flex-wrap: wrap;
    row-gap: 1rem;
}

#prod-cad {
    width: calc(55% - 42px);
    height: 600px;
    display: flex;
    padding: 5px 20px 20px;
    border: 1px solid black;
    border-radius: 4px;
    flex-direction: column;
}

#cad-frame {
    border: 1px solid black;
    width: calc(100% - 10px);
    height: calc(100% - 86px);
    border-radius: 4px;
    padding: 4px;
}

#cad-frame > div {
    height: 100%;
    width: 100%;
}

#pnInfo_imgWrap {
    border: 1px solid gray;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55%;
    min-height: 325px;
}

#pnInfo_imgWrap > img {
    max-width: 100%;
    max-height: 100%;
}

#specsWrap {
    width: 40%;
    min-width: 320px;
    margin: 0 0 0 auto;
}

#pnInfoSpecs {
    border: 1px solid gray;
    border-radius: 4px;
    background-color: rgb(240, 240, 240);
    padding: 12px;
}

#pnInfoSpecs > h2 {
    font-weight: normal;
    margin: 0 auto 1rem auto;
    font-size: 30px;
}

#specRowWrap {
    display: grid;
    grid-template-columns:  1fr;
    grid-auto-rows: 1fr;
    gap: 10px;
}

.specRow {
    display: flex;
    column-gap: 5px;
    align-items: center;
}

.specRow > p {
    margin: 0;
}

.specRow > p.specLabel {
    font-weight: bold;
}

#specButtons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    align-items: flex-end;
    justify-content: space-between;
}

.specBtn {
    border: 1px solid gray;
    border-bottom-width: 3px;
    border-radius: 8px;
    padding: 12px;
    font-size: 12px;
    background-color: #102a58;
    color: white;
    user-select: none;
    -webkit-user-select: none;
    text-align: center;
}

.specBtn:hover {
    cursor: pointer;
    background-color: #18438b;
}

.specBtn:active {
    border-bottom-width: 2px;
    margin-top: 1px;
    background-color: #0b1c3a;
}

#print-col-1 {
    width: 85%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: space-between;
}

#print-col-2 {
    width: 85%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: space-between;
}

.pnInfoSect.half {
    width: calc(50% - 14px);
}

.pnInfoSect.full {
    width: 100%;
}

.pnInfoHead {
    border: 1px solid black;
    border-radius: 4px 4px 0px 0px;
    margin: 0;
    display: inline-block;
    padding: 10px;
    font-size: 20px;
    color: white;
    background-color: #102a58;
}

.pnInfoBody {
    border: 1px solid black;
    border-radius: 0px 4px 4px 4px;
}

.pnInfoBody > ul {
    margin: 16px;
    list-style-type: none;
    padding: 0;
}

.pnInfoBody > ul > li {
    display: flex;
    align-items: center;
}

.pnInfoBody > ul > li::before {
    content: "\f013";
    font-family: FontAwesome;
    color: #102a58;
    font-size: 14px;
    padding-right: 12px;
}

.pnInfoText {
    margin: 16px;
    word-wrap: break-word;
}

.pnInfoBody.nodeSect {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
    text-align: center;
    padding: 10px;
}

.pnInfoBody.nodeSect a {
    display: flex;
}

.pnInfoBody.nodeSect a > .pnInfoNode {
    width: calc(100% - 2px);
}

.pnInfoNode {
    border: 1px solid black;
    border-radius: 4px;
    padding: 4px;
}

.pnInfoBody a {
    text-decoration: none;
    color: black;
}

.pnInfoNode img {
    max-width: calc(100% - 8px);
}

.pnInfoNode p {
    margin: 8px 0px;
}

i.loader {
    font-size: 5rem;
    position: absolute;
    z-index: 2;
    left: calc(50% - 2.5rem);
    top: calc(50% - 2.5rem);
}

#cadNotice {
    text-align: center;
}

#cad_option_label {
    font-weight: bold;
    font-size: 1.25rem;
    top: 8px;
    margin: 0;
}

#cad_toggle {
    background-color: white;
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.5rem;
    row-gap: 1rem;
    align-items: center;
    margin: 0.5rem 0;
    justify-content: space-between;
}

#door_wrap {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

#cad_input {
    display: none;
    visibility: hidden;
}

#download_wrap {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: space-around;
}

#download_wrap > select {
    height: 35px;
}

#cad_download {
    color: #102a58;
    background-color: rgb(230, 230, 230);
}

#cad_download.btn-base:hover {
    background-color: rgb(240, 240, 240);
}

#cad_download.btn-base:active {
    background-color: rgb(220, 220, 220);
}

#cad-loader {
    min-width: 2rem;
    height: 2rem;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.toggle {
    width: 2.25rem;
    border-radius: 0.5rem;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    background-color: rgb(200, 200, 200);
    cursor: pointer;
}

.switch {
    height: 1rem;
    width: 1rem;
    border-radius: 1rem;
    margin: auto;
    border: 1px solid gray;
    transition: all 250ms ease;
}

.switch.off {
    background-color: white;
    justify-self: flex-start;
    margin-left: 0;
    margin-right: calc(1.25rem - 2px);
}

.switch.on {
    background-color: #102a58;
    justify-self: flex-end;
    margin-left: calc(1.25rem - 2px);
    margin-right: 0;
}

.toggle_label {
    user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
}

.toggle.locked,
.toggle_label.locked,
.dim_toggle.locked,
button.locked {
    pointer-events: none;
    cursor: wait;
}

@media screen {
    @media (max-width: 1440px) {
        #prod-cad {
            width: 100%;
        }
    }

    @media (max-width: 1024px) {
        #pn_info_topper {
            row-gap: 1rem;
        }

        #specsWrap {
            width: 100%;
        }

        #pnInfo_imgWrap {
            width: 100%;
        }
    }

    @media (max-width: 768px) {
        .pnInfoSect.half {
            width: 100%;
        }

        #prod-cad {
            height: 650px;
        }

        #cad_toggle {
            margin: 1rem;
        }

        #door_wrap,
        #download_wrap {
            margin: auto;
        }
    }

    @media (max-width: 425px) {
        #pn_info_topper,
        #print-col-1,
        #print-col-2 {
            width: 100%;
        }

        #specButtons {
            flex-direction: column;
            align-items: center;
            justify-content: flex-end;
        }

        #prod-cad {
            height: 500px;
            padding: 8px;
        }
    }

    @media (max-width: 320px) {
        #prod-cad {
            height: 450px;
            padding: 4px 2px;
        }
    }
}

@media print {
    #header,
    #main_menu,
    #footer,
    #specButtons,
    .pnInfoNode img,
    .no-print,
    #prod-cad {
        display: none !important;
    }

    #sitewrap {
        padding-bottom: 0;
    }

    body {
        font-size: 10px;
        min-height: unset;
    }

    .pnInfoBody > ul >li::before {
        font-size: 8px;
        padding-right: 10px;
    }

    #sitewrap, 
    #head_banner {
        border: none;
    }

    #pnHeadWrap {
        justify-content: center;
        align-items: center;
    }

    #pnHeadWrap > h1 {
        color: black;
        margin: auto;
        font-size: 30px;
        background-color: white;
        padding: 0;
    }

    #head_banner {
        position: relative;
        top: 0;
        height: 90px;
        display: flex !important;
    }

    #mainImgWrap {
        padding: 0;
        height: 100%;
        width: 270px;
        justify-content: flex-start;
        align-items: flex-start;
        margin-left: 0;
    }

    #mainImgWrap a, #mainImgWrap img {
        max-height: 100%;
        max-width: 100%;
    }

    #printAddr {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
    }

    #printAddr > p {
        margin: 0;
        text-align: right;
        font-size: 14px;
    }

    .pn_info_msg {
        background-color: white;
        border-color: white;
        padding: 0;
        margin: 0;
    }

    #pn_info_topper {
        width: 100%;
        margin: 0;
    }

    #pnInfo_imgWrap {
        border: none;
        width: 55%;
        flex-wrap: nowrap;
    }

    #specsWrap {
        width: 40%;
        min-width: unset;
    }

    #pnInfoSpecs {
        background-color: white;
        padding: 0;
        border: none;
    }

    #pnInfoSpecs > h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    #specRowWrap {
        gap: 0;
    }

    #pn_info_details {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }

    #print-col-1 {
        width: 55%;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 8px;
        margin: 0 1rem 0 0;
    }

    #print-col-1 p, 
    #print-col-1 div {
        border: none;
        background-color: white;
    }

    #print-col-2 {
        width: 40%;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 8px;
        margin: 0;
    }

    #print-col-2 p, 
    #print-col-2 div {
        border: none;
        background-color: white;
    }

    .pnInfoSect.half {
        width: 100%;
    }

    .pnInfoHead {
        font-size: 14px;
        font-weight: bold;
        margin: 0;
        padding: 0;
        background-color: white;
        border: none;
        color: black;
    }

    .pnInfoBody.nodeSect {
        padding: 0;
        grid-template-columns: 1fr;
        gap: 0px;
        text-align: left;
    }

    .pnInfoNode {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        column-gap: 6px;
        padding: 0;
    }

    .pnInfoNode p, 
    .pnInfoBody ul, 
    .pnInfoText {
        margin: 0;
    }

    #pnHeadWrap, #head_banner {
        background-image: none;
        background-color: white;
    }
}