:root {
    --input-field-width: 570px;
}

@font-face {
    font-display: swap;
    font-family: ReadexPro;
    font-style: normal;
    font-weight: 300;
    src: url(/fonts/ReadexPro-Light.ttf) format("truetype")
}

@font-face {
    font-display: swap;
    font-family: ReadexPro;
    font-style: normal;
    font-weight: 400;
    src: url(/fonts/ReadexPro-Regular.ttf) format("truetype")
}

@font-face {
    font-display: swap;
    font-family: ReadexPro;
    font-style: normal;
    font-weight: 500;
    src: url(/fonts/ReadexPro-Medium.ttf) format("truetype")
}

@font-face {
    font-display: swap;
    font-family: ReadexPro;
    font-style: normal;
    font-weight: 600;
    src: url(/fonts/ReadexPro-SemiBold.ttf) format("truetype")
}

@font-face {
    font-display: swap;
    font-family: ReadexPro;
    font-style: normal;
    font-weight: 700;
    src: url(/fonts/ReadexPro-Bold.ttf) format("truetype")
}

html {
    font-family: ReadexPro, 'ReadEx Pro', sans-serif;
    color: #001d2c;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}

*,
:after,
:before {
    box-sizing: border-box;
    margin-bottom: 0;
}

body {    
    font-family: ReadexPro, "Readex Pro", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-feature-settings: "ss03";
    margin-top: 0;
}

article.page-content {
    margin: 10px auto 0 auto;
    width: 60%;
    min-width: 650px;
}

@media only screen and (max-width: 844px) {
    article.page-content {
        width: 100%;
    }
}

article.page-content > section {
    padding: 0rem 0rem 0rem 0.5rem
}

section[name=conf-header] img,
section[name=conf-header] img[alt~="SDL Technical"],
section[name=conf-header] img[alt="SDL Technical Workshop Logo"] {
    width: 30%;
    padding: 9px;
    height: auto;
}

section[name=conf-header] img[alt~="CALCON"],
section[name=conf-header] img[alt="CALCON Logo"] {
    max-height: 147px;
    width: auto;
    padding: 15px 30px;
}

header.page-header {
    background: #001d2c;
}

section.content-body {
    border-right: 1px solid #9dacba;
    border-left: 1px solid #9dacba;
}

footer.page-footer {
    background: #001d2c;
    font-size: 16px;
    color: #fff;
    /* padding-bottom: 1.5em; */
}

footer.page-footer .wrapper {
    padding: 1em;
}

footer.page-footer .wrapper .spacer[data-v-pipe] {
    margin: 0 0.5rem;
}

footer.page-footer .wrapper .spacer[data-v-pipe]:before {
    content: "|";
    font-weight: 300;
}

footer.page-footer .wrapper a {
    color: #dcdee0;
    transition: .2s;
    -webkit-text-decoration-color: transparent;
    text-decoration-color: transparent;
    text-decoration-thickness: 2px;
}

footer.page-footer .wrapper .container img {
    margin-left: -0.75rem !important;
}

footer.page-footer .wrapper .container {
    padding: 0 0.5em 0 0.5rem;
}

footer.page-footer .wrapper p {
    padding: 0 0.5rem 0.5em 1em;
}

fieldset>h1 {
    padding: 0 0 0.6em 0;
    font-size: 34px;
    font-weight: 500;
    margin-top: 15px;
}

input[type=text],
input[type=email] {
    background: #fff; 
    border: 1px solid #8c8989;
    border-radius: 4px;
    width: 570px;
    height: calc(1.5em + 0.75rem + 2px);
}

.frm-input {
    padding: 7px;
    line-height: 1.5;
}

.frm-input div {
    line-height: 70%;
}

.frm-input div input {
    outline: 0;
    padding: 6px;
    color: rgb(60, 66, 87);
    transition: background-color .24s, box-shadow .24s;
    transition-property: background-color, box-shadow, scale;
    transition-duration: 0.24s, 0.24s;
    transition-timing-function: ease, ease;
    transition-delay: 0s, 0s;
    }

    .frm-input div.email-input input[type=email] {
        padding-left: 28px;
    }

.frm-input div input:focus {
    outline: 0;
    background: #fff;
    box-shadow: rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(58 151 212 / 36%) 0px 0px 0px 4px, rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(60 66 87 / 16%) 0px 0px 0px 1px, rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(0 0 0 / 0%) 0px 0px 0px 0px;
    -ms-transform-origin-y: 1.1;
}

.frm-input div.email-input input:focus~svg {
    stroke: #444;
    stroke-width: .9px;

}

.frm-input div.email-input {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
}

.frm-input div.email-input svg {
    position: absolute;
    margin-left: 5px;
}

/* -webkit-file-upload-button {
    font-size: 16px;
}
*/
input[type=file] {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.upload-info {
    font-size: 12px;
    color: #777;
    line-height: 2.5;
}

.upload-ct {
    position: relative;
    width: 570px;
    border-radius: 5px;
    text-align: center;
    display: flex;
    height: auto;
    /* Ensures the container expands properly */
    min-height: 120px;
    /* Prevents collapse */
    flex-direction: column;
    /* Ensure children stack properly */
}

.upload-ct>div {
    outline: 2px dashed #bbb;
    outline-offset: -1px;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s cubic-bezier(0.04, 0.21, 0.58, 1);
    position: relative;
    min-height: 100px;
    /* Ensures drop area is not too small */
}

/* Hover effect */
.upload-ct>div:hover {
    outline: 2px dashed #777;
}

/* Dragover state */
.upload-ct div.dragover {
    background-color: rgba(170, 170, 170, 0.53);
    outline: 2px dashed #777;
}

/* Hide default content when dragging */
.upload-ct div.dragover div:nth-child(1) {
    display: none;
    opacity: 0;
}

/* Show drop prompt when dragging */
.upload-ct div div:nth-child(2) {
    display: none;
}

.upload-ct div.dragover div:nth-child(2) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}


/* Drop overlay (hidden by default) */
.upload-ct .drop-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    display: flex;
    background-color: rgb(130 129 129 / 80%);
    border-radius: 4px;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    margin: 4px;
    /* text-shadow: rgb(255 247 247) 0px 0px 2px, rgb(255 247 247) 0px 0px 2px; */
    text-shadow: rgb(81 70 70) 0px 0px 2px, rgb(99 88 88) 0px 0px 2px;
    pointer-events: none;
    /* Allow hover to work on parent div */
    color: #fff;
    flex-direction: column;
}

/* Show the overlay on dragover */
.upload-ct div.dragover .drop-overlay {
    display: flex;
}

.file-select {
    border: 1px solid transparent;
    border-radius: 0.25rem;
    font-size: 12px;
    color: #efefef;
    background-color: #555;
    padding: 3px 7px;
    display: inline-block;
    cursor: pointer;
    line-height: 1.5;
    margin-bottom: 8px;
    transform: scale(1);
    transition: transform .2s ease, background-color 0.2s ease;
}

.file-select:hover {
    transform: scale(1.04);
    background-color: #666;
    cursor: pointer;
}

input[type=file]+.file-select {
    pointer-events: none;
}

div.file-status {
    font-size: 12px;
    font-weight: 500;
    color: #888;
    /* font-style: italic; */
    /* padding: 20px; */
    font-family: 'ReadexPro';
    height: fit-content;
    line-height: 1.5;
}

div.file-display {
    height: fit-content;
    line-height: 1;
    margin-top: 10px;
    margin-left: 15px;
    font-size: .8em;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    column-gap: 15px;
    width: fit-content;
    padding: 0px 5px;
}

div.file-display svg {
    stroke: #777;
}

div.file-display span[data-col=name] {
    font-size: 10px;
    font-weight: 700;
    color: #666;
    user-select: none;
    flex: 1;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    min-width: 90px;
}

div.file-display span[data-col=size] {
    font-size: 9px;
    font-weight: 500;
    flex: 1;
    color: #444;
    user-select: none;
    text-align: left;
}

.top-divider {
    width: 100%;
    height: 16px;
}

.end-divider {
    width: 100%;
    height: 16px;
}

fieldset {
    border: 0px;
    padding: 10px;
}

.input-req-statement {
    font-size: 12px;
    font-weight: bold;
    padding: 2px;
    margin: 10px 40px;
    display: block;
}

.input-req-statement::before {
    content: '* ';
    color: #b24190;
    font-size: 14px;
}

label {
    /* min-width: 100px; */
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    padding: 5px;
    font-family: ReadExPro, 'Readex Pro', sans-serif;
}

label.required:before {
    color: #b24190;
    content: "* ";
}

.btn {
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    display: inline-block;
    font-weight: 400;
    color: #001d2c;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 16px;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    letter-spacing: 0.2px;
    font-family: ReadexPro, "Readex Pro", sans-serif;
    text-transform: uppercase;
}

.btn:hover {
    color: #001d2c;
    text-decoration: none;
}

.btn-accent {
    color: #fff;
    background-color: #b24190;
    border-color: #b24190;
}

.encrypt-statement {
    color: #000;
    font-size: 12px;
    margin: 1em;
}

.btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}

.btn-accent.focus,
.btn-accent:focus,
.btn-accent:hover {
    color: #fff;
    background-color: #963779;
    border-color: #8d3372;
}

div.inputs {
    display: inline-block;

}

.full-row {
    flex: 1 100% !important;
    align-self: flex-end;
}

.ps-contact-info {
    font-family: ReadExPro, 'Readex Pro', sans-serif;
    margin-top: 20px;
    /* position: relative; */
    min-height: 70px;
}

.ps-contact-info p {
    font-family: ReadExPro, 'Readex Pro', sans-serif;
    font-size: 18px;
}

.ps-contact-info span {
    font-weight: bold;
    font-size: 34px;
}

.ps-contact-info p a {
    color: #001d2c;
    border: 2px solid transparent;
    text-decoration: none;
    font-weight: 400;
    border-bottom-color: #b24190;
    border-radius: 2px;
    transition: all .2s ease-in-out;
}

.ps-contact-info p a:hover {
    text-decoration: none;
    color: #fff;
    background: #b24190;
    border: 2px solid #b24190;
}

footer.page-footer a:hover {
    color: #fff;
    text-decoration-color: #b24190;
    transition: all .2s ease-in-out;
}

@media only screen and (max-width: 528px) {

    /* Adjust for mobile devices */
    html {
        margin: 0 !important;
    }

    body {
        margin: 0 !important;
    }

    article.page-content {
        border: 0;
        margin: 0 !important;
        width: 100%;
    }

    article.page-content>section {
        padding: 0;
    }

    section[name=conf-header] img {
        width: 50%;
    }

   fieldset > h1 {
        padding: 0 1.5em 0.6em 0;
        word-break: auto-phrase;
        font-size: 34px;
        font-weight: 500;
        width: 72%;
    }

    .top-divider {
        display: none;
        height: 0;
    }

    input[type=text],
    input[type=email] {
        width: 350px !important;
        font-size: 16px;
    }

    .upload-ct {
        width: 100%;
    }


    .input-req-statement {
        margin: 8px 30px 0 0;
    }

    footer.page-footer .wrapper {
        padding: initial;
    }

    footer.page-footer .wrapper p {
        padding: initial;
        line-height: 1.5;
    }

    footer.page-footer .wrapper p .address {
        max-width: 220px;
        display: block;
    }

    label {
        max-width: 340px;
    }

    .ps-contact-info {
        max-width: 340px;
    }

    .ps-contact-info span {
        font-size: 25px;
    }

    .ps-contact-info p {
        line-height: 1.3;
    }

    article.page-content {
        overflow: auto;
        scrollbar-gutter: auto;
    }

    .ps-contact-info p.mobile span:nth-of-type(1):has(a):before {
        content: '☎️';
    }
    .ps-contact-info p.mobile span:nth-of-type(2):has(a):before {
        content: '✉️';
    }
    .ps-contact-info p.mobile span:has(a):before {
        display: inline-block;
        bottom: -2px;
        position: relative;
    }

    .ps-contact-info p.mobile span:before {
        display: block;
        word-break: break-all;
    }

    .ps-contact-info p.mobile span:nth-of-type(1) {
        margin-top: 5px;
    }

    .ps-contact-info p span {
        display: block;
    }

}

@media only screen and (max-width: 375px) {
    label {
        max-width: 300px;
    }

    input[type=text],
    input[type=email] {
        width: 340px;
        font-size: 16px;
    }

    .ps-contact-info {
        max-width: 340px;
        line-height: 1.5;
    }

    article.page-content {
        overflow: auto;
        scrollbar-gutter: auto;
    }
    p .org-break-opportunity {
        display:block;
        text-indent:6ch;
    }
}
.contact-line  a:hover {
    text-decoration-color: #b24190;
    transition: all .2s ease-in-out;
}

.contact-line a {
    transition: .2s;
    color: #001d2c;
    -webkit-text-decoration-color: transparent;
    text-decoration-color: transparent;
    text-decoration-thickness: 2px;
}

.contact-lines {
  margin-top: 0.5rem;
  padding-left: 1.5rem; 
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.3rem 0;
  font-size: 1rem;
}

.contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke-width: 2;
}

/* Phone icon scaled to 90% */
.contact-icon-phone {
  transform: scale(0.9);
  transform-origin: center;
}
.contact-section > a {
    text-decoration: none;
    color: currentColor;
}
