/* MEDIA QUERY --- At the top level of your code */

@media (max-width: 955px) {
    div.portal-menu span {
        display: none;
    }
    div.portal-menu {
        width: 50px;
    }
}

@media (max-width: 760px) {
    div.portal-menu {
        display: none;
    }
}

@media (max-width: 469px) {
    #product-download div a {
        margin: 0;
    }
}

@media (max-width: 365px) {
    a.welcome-my-account {
        padding: 3px;
    }
    a.welcome-my-account span {
        display: none;
    }
    .product-welcome .welcome-my-account i {
        margin-right: 0;
    }
}

@media (max-width: 345px) {
    div.product-description {
        display: none;
    }
}

html,
body {
    margin: 0;
    padding: 0;
    /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; */
    /* font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; */
    font-family: "Graphik", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    height: 100%;
    display: flex;
    flex-direction: column;
    /* height: 100vh; */
}

body {
    overflow-y: scroll;
}

.account-header-wrapper {
    display: flex;
    flex-direction: column;
    position: fixed;
    width: 100%;
    z-index: 2;
}

.account-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #039be5;
    padding-left: 10px;
    padding-right: 10px;
    top: 0;
    min-height: 50px;
    /* position: sticky; */
    /* z-index: 2; */
}

.account-menu {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    /* width: 15%;
    min-width: 100px;
    max-width: 110px; */
    max-width: 140px;
    width: 40%;
    color: white;
}

.account-menu i {
    margin: 0;
}

.account-menu a {
    color: white;
}

.account-menu a#sign-out {
    text-align: center;
    width: 60px;
}

.body-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.button {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid white;
    font-size: 1.4em;
    text-decoration: none;
    margin: 10px;
    flex: 0 0 200px;
    text-align: center;
    line-height: 35px;
    color: white;
    background-color: rgba(0, 0, 0, .3);
}

.product-buttons .button:hover {
    font-size: 1.5em;
    background: #b2ff59;
    color: #616161;
    font-weight: bold;
}

.create-account {
    margin-top: 50px;
    height: 100%;
    overflow: hidden;
}

.done_all {
    color: green;
}

div.portal-menu {
    display: flex;
    flex-direction: column;
    left: 0;
    /* margin-left: 10px; */
    top: 50%;
    position: fixed;
    max-width: 160px;
    z-index: 2;
}

div.portal-menu a {
    padding: 5px 15px 5px 5px;
    border-bottom-right-radius: 20px;
    border-top-right-radius: 20px;
    margin-bottom: 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border: 1px solid white;
    color: white;
}

div.portal-menu span {
    font-weight: bold;
    letter-spacing: .2em;
    text-transform: uppercase;
}

div.portal-menu a i {
    margin-right: 5px;
    margin-left: 5px
}

.pause {
    color: red;
}

.msg {
    display: flex;
    flex-direction: column !important;
    border-bottom: solid green 2px !important;
    border-top: solid green 2px !important;
    background-color: #ccff9082;
    height: auto !important;
}

#form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;
}

form.account>ul {
    /* width: 80%; */
    /* max-width: 600px; */
    margin: 0 auto;
}

form.account>ul>li {
    display: flex;
    flex-wrap: wrap;
}

form.account li.download-pams a {
    display: flex;
    align-items: center;
    margin: 0 auto;
}

form.account li.pams-docs {
    margin-bottom: 15px;
    justify-content: space-around;
}

form.account>ul p.check-box {
    margin-left: 30px;
}

form.account>ul>li>div {
    flex: 1 0 140px;
}

form.account li div.input-field i {
    opacity: .2;
}

form.account>ul>li:last-child {
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

form.account button {
    width: 200px;
}

form.account input[type=text],
form.account input[type=tel],
form.account input[type=email],
form.account input[type=password] {
    padding-left: 10px;
}

form.account input:disabled {
    background-color: #f8f5f5;
}

form#projects div.refresh-control {
    display: flex;
    justify-content: flex-end;
    border: .5px solid #dbd9d9;
    margin: 5px 5px 15px;
    border-radius: 10px;
    background-color: #f6f6f6;
}

form#projects .refresh-control a {
    margin-right: 15px;
    margin-top: 5px;
}

form#projects i#refresh-projects {
    font-size: 2.5em;
}

form#projects>ul {
    /* max-width: 600px; */
    margin: 0 auto;
    margin-bottom: 100px;
}

form#projects>ul li {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    height: 40px;
    border-bottom: solid .5px goldenrod;
    margin-bottom: 10px;
}

form#projects li.table-header {
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
    text-transform: uppercase;
}

form#projects li div {
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1 1 50px;
}

form#projects div.project-name {
    padding-left: 5px;
}

h1,
.h1 {
    font-size: 2.625rem;
    line-height: 3.375rem;
    /* font-weight: bold; */
}

.highlight {
    color: red !important;
}

.product-welcome {
    /* flex: 1; */
    height: auto;
    /* overflow-y: scroll; */
    background-image: url("../images/PAMS_BG_web.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.product-welcome>a:first-of-type {
    text-decoration: none;
    margin-top: 40px;
}

.product-welcome div.container {
    width: 85%;
    min-height: 500px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
}

.product-welcome .product-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.product-name,
.product-buttons,
.product-name ul,
.product-name~p,
.product-name h1 {
    align-self: center;
    text-align: center;
}

.product-name ul {
    /* letter-spacing: 2em; */
    font-size: 1.8em;
    font-weight: bold;
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    max-width: 600px;
    padding: 0;
    margin: 0;
    color: #c62828;
}

.product-welcome>a.logo {
    margin-left: 20px;
    margin-top: 20px;
    display: block;
}

.product-welcome .welcome-my-account:hover {
    color: lightgrey;
    box-shadow: 0 8px 17px 2px rgb(0 0 0 / 14%), 0 3px 14px 2px rgb(0 0 0 / 12%), 0 5px 5px -3px rgb(0 0 0 / 20%);
}

.product-welcome .welcome-my-account span {
    margin-left: 5px;
}

.product-name~p {
    font-size: 1.3em;
}

.product-name {
    display: flex;
    flex-direction: column;
    /* justify-content: space-around; */
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
}


/* .product-welcome img#product-splash {
    width: 100%;
    height: 100%;
    object-fit: cover;
    height: 90vh;
    width: 100vw;
} */

.company-logo {
    width: 13em;
    margin: 10px 0 5px 5px;
    /* margin-top: 40px;
    margin-left: 40px; */
}

.hide-page {
    display: none;
}

.product-features {
    color: rgba(0, 0, 0, .7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-features>ul {
    padding: 0;
    width: 90%;
    max-width: 1600px;
    /* margin: 0 auto; */
}

.product-features li.thead {
    top: 0;
    position: sticky;
}

.product-features>ul>li {
    display: flex;
    margin-bottom: 20px;
    /* flex-direction: row;
    list-style-type: none; */
}


/* .product-features li div {
    flex: 0 0 100px;
  
} */

.product-features li .product-description {
    flex: 1 0 50px;
}

.product-description>ul>li {
    display: flex;
    justify-content: flex-start;
}

.product-description>ul>li p {
    margin: 0;
}

.product-license-key {
    display: flex;
    flex-direction: column;
    width: 100%;
    /* min-width: 310px; */
    justify-content: center;
}

.product-license-key .license-key {
    margin: 0;
    background-color: #f8f5f5;
    padding: 10px;
    border-radius: 20px;
    text-align: center;
    font-weight: bold;
    letter-spacing: .5em;
}

.preloader {
    /* margin-top: .7px; */
    height: 5px;
}

.preloader div.progress {
    margin: 0;
}

.disc-list-item {
    list-style-type: disc !important;
}

.loginform {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    flex-direction: column;
}

.loginform form {
    width: 280px;
    padding: 0, 20px, 20px, 20px;
    background-color: #f6f8fa;
    border: 1px solid #eaecef;
    border-radius: 20px;
    overflow: hidden;
}

.loginform form ul {
    margin-top: 20px;
}

.loginform form input {
    font-size: 14px;
}

.loginform .product-name {
    width: 280px;
}

.loginform .product-name ul {
    font-size: .9em;
}

.loginform .product-name h1 {
    font-size: 1.5em;
    margin: 10px;
}

.loginform form li {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.loginform form li:last-of-type {
    margin-top: 10px;
}

.loginform form li button,
.loginform form li p {
    width: 250px;
}

.loginform a#password-reset {
    position: absolute;
    font-size: .8em;
    right: 15px;
    bottom: -5px;
}

.loginform form li div {
    margin: 0;
    width: 100%;
    margin-bottom: 3px;
}

.loginform #create_account {
    margin-top: 15px
}

.notification-info {
    background-color: #daffaf;
    color: rgba(0, 0, 0, .7);
}

.notification-error {
    background-color: #ffe57f;
    color: rgba(0, 0, 0, .7);
}

.product-features li .feature-name {
    flex: .1 0 100px;
    margin-right: 15px;
    font-weight: bold;
}

.product-features li>div:first-of-type,
.product-features li>div:last-of-type {
    flex: 0 0 50px;
}

.product-features li.thead div {
    flex: 1 0 100px;
    background-color: white;
    font-size: 1.2em;
    font-weight: 900;
    letter-spacing: .4em;
    text-align: center;
    line-height: 50px;
}

section.page-footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    /* background-color: #9e9d24; */
    background-color: #039be5;
    font-size: .8em;
    padding: 10px;
    z-index: 2;
}

section.page-footer a {
    color: white;
    text-decoration: none;
}

section.page-footer a:hover {
    text-decoration: underline;
}

section.page-footer ul {
    display: flex;
    justify-content: space-around;
    width: 250px;
}


/* section.page-footer ul,
section.page-footer p,
section.page-footer a{
    flex: 1
} */

section.page-footer p {
    margin: 0;
}

#product-download {
    width: 80%;
    max-width: 700px;
    margin: 0 auto;
    /* background-color: lightyellow; */
    background-color: rgba(0, 0, 0, .04);
    border: 1px solid white;
    border-radius: 20px;
    margin-bottom: 10px;
    padding: 10px;
}

#product-download article {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#product-download h3 {
    font-size: 2em;
}

#product-download div {
    display: flex;
    border-top: 2px solid green;
    border-bottom: 2px solid green;
    padding: 10px 0 10px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

#product-download div p {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#product-download div a {
    margin: 10px;
}

#product-download div i {
    margin-left: 10px;
    margin-right: 10px;
    color: goldenrod;
}

#product-download li {
    list-style-type: decimal-leading-zero;
    margin-left: 30px;
}

#product-download>p {
    width: 90%;
    margin: 20px auto;
    text-align: justify;
}

#product-download a.button {
    margin: 0 auto;
    display: block;
    margin-bottom: 5px;
}

.request-invoice {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    margin-top: 50px;
}

.request-invoice .user-info {
    flex: 1 0 310px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.request-invoice .user-info P {
    font-size: 1.5em;
    margin: 0;
    margin-top: 10px;
    /* margin-left: 160px; */
    font-weight: bold;
    text-transform: uppercase;
    text-align: left;
    /* width: 100%; */
    color: rgba(0, 0, 0, .3);
}

.request-invoice .user-info div {
    margin: 5px;
}

.request-invoice .user-info>ul {
    width: 80%;
    border: 1px solid lightgrey;
    padding: 15px;
    border-radius: 10px;
    /* margin: 0 auto; */
}

.request-invoice .user-info ul li:nth-child(2) {
    display: flex;
}

.request-invoice .user-info ul li:last-child {
    display: flex;
}

.request-invoice li.x2row div.row {
    flex: 1;
}

.request-invoice .get-quote {
    flex: 1 0 310px;
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.request-invoice .get-quote>ul {
    width: 80%;
    padding: 15px;
}

.request-invoice .get-quote ul>li {
    display: flex;
}

.request-invoice .get-quote ul>li:last-child,
.request-invoice button {
    width: 100%;
}

.request-invoice .get-quote ul>li p {
    flex: 1 0 20px;
}

.request-invoice .get-quote ul>li.cost p:last-child {
    text-align: right;
    font-weight: 700;
    font-size: 1em;
}

.request-invoice .get-quote ul>li.total {
    font-size: 1.4em;
    font-weight: 700;
}

.request-invoice .get-quote .purchase-term {
    text-align: justify;
}

section.terms {
    max-width: 80%;
    margin: 0 auto;
    text-align: justify;
}

section.terms h2 {
    font-size: 1.7rem;
    font-weight: 600;
}

.get-quote li.discount-row {
    align-items: baseline;
}

.get-quote li.discount-row span {
    display: block;
    flex: 0 0 120px;
}

.get-quote li.discount-row input {
    border: 1px solid black;
    line-height: 1em;
    height: 1.7em;
    padding-left: 5px;
    padding-right: 5px;
    flex: 1;
    text-transform: uppercase;
    letter-spacing: .2em;
    text-align: center;
    /* margin: 0; */
}

.get-quote .request-footer div {
    width: 100%;
}

.get-quote .request-footer p {
    font-size: .9em;
}

.tab-selected {
    background-color: #039be5;
}

.tab-unselected {
    background-color: lightgrey;
}

.welcome-my-account {
    position: absolute;
    right: 10px;
    top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3px;
    padding-bottom: 3px;
    font-size: 1em;
    border-radius: 10px;
}


/* .tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible !important;
    opacity: 1 !important;
} */