.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0
}

#container {
    -webkit-overflow-scrolling: touch;
    overflow: hidden;
    position: relative;
    z-index: 5;
    margin: 20px auto;
    max-width: calc(100% - 40px);
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 10px 40px #0002;
}

header:has(#ramp-complete-banner:not(.dn)) #guidance-message {
  display: none;
}

#canvas-empty-hint {
    display: none;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    pointer-events: none;
    text-align: center;
    padding: .5rem 1rem;
    max-width: 450px;
    width: 90%;
    background-color: #006486;
    border: 1px solid #004d65;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
}

#body-container {
    display: block;
    height: 100%;
    z-index: 1
}

canvas,
header {
    display: block;
    position: relative
}

#body-container,
header {
    width: 100%;
    margin: 0 auto
}

header {
    text-align: left;
    padding: 0;
}

.help,
header .pull-left {
    width: 25%;
    float: left
}

header .pull-right {
    width: 75%;
    float: right
}

.help {
    font-weight: 900;
    padding-top: 20px;
    width: 50%;
    text-align: center
}

#assistance,
#phone-number {
    float: right;
    color: #006288;
}

#assistance {
    padding-right: 20px;
    padding-top: 0;
    font-size: .8em
}

#phone-number {
    clear: both;
    margin-right: 20px;
    margin-top: -20px;
    padding-top: -20px;
    font-size: 1.9em;
    font-weight: 700
}

#main.tab {
    padding-bottom: 1em
}

#main.tab img.icon {
    cursor: pointer
}

canvas {
    z-index: 2;
    clear: both
}

#job-specs {
    color: #006288;
    margin-top: 0
}

#job-specs table {
    margin-top: -20px
}

#job-specs th,
td {
    font-family: sans-serif
}

#tabs,
ul.ui-tabs-nav {
    text-align: left;
}

ul.ui-tabs-nav {
    overflow: auto;
}

#tabs {
    display: block;
    clear: both;
    border-bottom: 5px solid #006288;
}

ul.ui-tabs-nav {
    margin: 0;
    min-height: 40px;
    background-color: #006288;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    padding: 10px;
    gap: 1px;
}

ul.ui-tabs-nav li {
    list-style: none;
    background-color: hsl(from var(--color-primary) h s 20);
}

ul.ui-tabs-nav li a {
    display: block;
    position: relative;
    padding: 5px 10px;
    color: #fff;
    text-decoration: none;
}

ul.ui-tabs-nav li a::after {
    content: '\25BC';
    position: absolute;
    top: 4px;
    right: 6px;
    font-size: 0.6em;
    opacity: 0.7;
}

ul.ui-tabs-nav li.ui-state-active a::after {
    content: '\25B2';
}

ul.ui-tabs-nav li.ui-state-active {
    background-color: hsla(from var(--color-primary) h s 95)
}

.help,
ul.ui-tabs-nav li.ui-state-active a {
    color: #006288;
}

.tab {
    margin: 0
}

.module-toolbar-image {
    /*max-height: 70px*/
}

.main-toolbar-image,
.module-toolbar-image {
    /*float: left;*/
    /*position: relative;*/
    /*margin: 10px 0 0 20px;*/
    /*padding: 0;*/
    /*z-index: 4*/
    height: 160px;
    width: 100%;
    object-fit: contain;
    margin-block: 20px;
}

#wizard {
    width: 50px;
    height: 50px;
    padding-top: 5px
}

.ui-tabs-panel {
    width: 100%;
    text-align: left;
    display: grid;
    background: #fff;
    padding-inline: 20px;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

#slider .ui-slider-handle {
    background-color: gray
}

#dialog-message p,
#info-box {
    padding: 0;
}

#info-box,
.ui-tabs-panel {
}

#info-box {
    text-align: center;
    position: fixed;
    z-index: 13;
    bottom: 10px;
    right: 10px;
    width: 250px;
    height: 170px;
    border: thin solid gray;
    background-color: #fff;
    color: #006288;
    font-size: .8em
}

.info-box-heading {
    display: block;
    font-family: sans-serif;
    font-weight: 700;
    background-color: #006288;
    color: #fff;
    width: 92%;
    height: 25px;
    padding: 10px 10px 0;
    text-align: center
}

.info-box-notice {
    background-color: #ffc;
    padding: 5px;
    font-weight: 700;
    opacity: 0;
    margin-top: 10px
}

.box-type {
    margin-right: 20px
}

#module-shape {
    margin-top: 15px;
    margin-left: 20px
}

#modules-dimensions {
    margin-top: 15px;
    margin-left: 30px
}

#adjustment-arrows {
    margin-top: 0;
    margin-left: 30px;
    width: 35px;
    height: 35px
}

.adjustment-icon {
    width: 25px;
    height: 25px
}

#adjustments-E,
#adjustments-N,
#adjustments-S,
#adjustments-W {
    position: absolute;
    top: 60px;
    left: 95px;
    z-index: 10;
    background-color: transparent;
    display: none
}

#adjustments-E,
#adjustments-S,
#adjustments-W {
    top: 200px
}

#adjustments-E,
#adjustments-W {
    top: 120px;
    left: 40px
}

#adjustments-E {
    left: 185px
}

#image-submission-popup {
    position: fixed;
    color: #000;
    z-index: 50;
    display: none;
    top: 50%;
    left: 50%;
    margin-top: -300px;
    margin-left: -300px;
    width: 600px;
    height: 600px;
    background-color: #006288;
}

#image-submission-form {
    position: relative;
    z-index: 50;
    padding: 25px;
    margin: 20px auto;
    width: 500px;
    height: 500px;
    border: thin solid gray;
    background-color: #fff
}

#generate-project {
    float: right;
    margin-top: 20px
}

#project-details {
    float: left;
    margin-left: 30px;
    margin-top: 30px
}

#dialog-message,
#download-body-container {
}

#dialog-message {
    position: absolute;
    display: none;
    padding: 25px;
    margin: 20px auto;
    top: 30%;
    left: 37%;
    width: 400px;
    height: 40px;
    border: thin solid gray;
    background-color: #fff
}

#dialog-message p {
    margin: 0;
    color: #222;
    font-size: 1.4em
}

#download-body-container {
    position: relative;
    text-align: center;
    margin: 10%auto;
    width: 500px;
    height: 275px
}

#download-file-details {
    margin-top: 30px;
    color: #006288;
    font-size: .8em
}

#download-logo {
    margin-top: 10px
}

a,
label {
    color: #006385
}

a {
    text-decoration: none
}

a:hover {
    color: #70b8ce
}

label {
    width: 10em;
    float: left;
    text-align: right;
    margin-right: .5em;
    display: block;
    font-size: 1.1em
}

.submit input {
    margin-left: 4.5em;
    margin-right: 100px
}


.module-tab img,
img[id^=Module] {
    /*width: 100px;
    height: auto !important;
    max-height: none*/
}

.module-tab img {
    /*max-width: 180px !important;
    max-height: 180px !important;
    width: auto !important;
    cursor: pointer*/
}

.cf:after,
.cf:before {
    content: "";
    display: table;
    line-height: 0
}

.cf:after {
    clear: both
}

.canvas-data {
    display: none;
    position: relative;
    width: auto;
    height: auto;
    margin: 1em auto 0
}

@media print {
    * {
        background: 0 0 !important;
        color: #000 !important;
        text-shadow: none !important;
        filter: none !important;
        -ms-filter: none !important
    }

    body {
        position: relative
    }

    a,
    a:visited {
        color: #444 !important;
        text-decoration: underline
    }

    .ir a:after,
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: ""
    }

    blockquote,
    pre {
        border: 1px solid #999
    }

    thead {
        display: table-header-group
    }

    blockquote,
    img,
    pre,
    tr {
        page-break-inside: avoid
    }

    img {
        max-width: 100% !important
    }

    @page {
        margin: .5cm
    }

    h2,
    h3,
    p {
        orphans: 3;
        widows: 3
    }

    h2,
    h3 {
        page-break-after: avoid
    }

    #container,
    #main,
    #tabs,
    .help {
        display: none
    }

    .canvas-data {
        display: block !important
    }

    #info-box {
        display: block;
        position: absolute;
        left: revert !important;
        top: revert !important;
        bottom: 0 !important;
        right: 0 !important
    }
}
