:root {
    --main-color-1: rgba(8, 79, 92, 1);
    --main-color-2: rgba(9, 90, 105, 1);
    --main-color-1-seeThrough: rgba(8, 79, 92, .1);
    --main-color-1-border: rgba(56, 116, 126, 1);
    --main-color-1-border-seeThrough: rgba(56, 116, 126, .1);
    --main-color-1-border-seeThrough2: rgba(56, 116, 126, .5);
    --main-color-1-light: rgba(12, 121, 141, 1);
    --main-color-1-button: rgba(222, 235, 237, 1);
    --main-color-1-button-border: rgba(156, 195, 201, 1);
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.greyback {
    background-color: rgb(245,245,245);
}

p{
    margin-bottom:.5rem;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.skipToContent {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    font-weight: bold;
    border: none;
    color: white !important;
    text-decoration: none;
    padding: 4px;
    background-color: var(--main-color-1-light);
}

.skipToContent:hover {
    color:rgb(220,220,220) !important;
}

.skipToContent:focus {
    left: 50%;
    transform: translate(-50%,0);
    top: 0px;
    z-index: 999;
    width: auto;
    height: auto;
}



@media (min-width:1024px) {
    .header {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .navbar__logo {
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 0;
    }

    .container {
        max-width: 1024px;
    }

    .footer__top {
        display: flex;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .footer__container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .footer__links--top {
        padding-left: 3.5rem;
    }

    .footer__links {
        justify-content: flex-start;
        padding-left: 0;
        padding-right: 0;
        text-align: left;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1305px;
    }
}

.navbar__logo {
    padding-top: .625rem;
    padding-bottom: .625rem;
    padding-left: 1rem;
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 3.5rem;
    width: 100%;
    border-bottom-width: 1px;
    --tw-border-opacity: 1;
    border-color: var(--main-color-1-border);
    --tw-bg-opacity: 1;
    background-color: var(--main-color-1);
    padding: 0;
    --tw-text-opacity: 1;
    /*color: rgb(255 255 255 / var(--tw-text-opacity, 1));*/
    color: white;
}

.navbar-collapse {
    border-color: var(--main-color-1-border);
    background-color: var(--main-color-1);
}

.navbar2 {
    position: relative;
    display: flex;
    height: 3.5rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: normal;
    padding-top:3px;
    padding-bottom:3px;
}

.navbar__logo {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
}

.navbar__logo img {
    height: auto;
    width: 5rem;
    min-width: 5rem;
}
.navbar__Text {
    font-weight: bold;
    font-size: large;
    transform: translate(0, -2px);
}

.nav-link{
    font-size:1.1rem;
}
@media (min-width: 300px) {
    .navbar__logo img {
        width: 8rem;
        min-width: 8rem;
    }

    .navbar__Text {
        font-weight: bold;
        font-size: xx-large;
        transform: translate(0, -4px);
    }
}

@media (max-width:450px){

    .OutlineOnSmall{
        border: 1px solid var(--main-color-1-border);
        border-radius:6px;
        margin-bottom:.4rem !important;

    }
}

img, video {
    max-width: 100%;
    height: auto;
}

img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
}

.header .container {
    position: relative;
}

.container {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.footer {
    position: inherit !important;
    /*font-size: .875rem !important;*/
    line-height: 1.25rem !important;
    background-color: var(--main-color-1);
    border-color: var(--main-color-1-border);
}

.footer__top {
    --tw-bg-opacity: 1;
    background-color: var(--main-color-1);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.footer__container {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: .5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    color: rgba(var(--bs-light-rgb),var(--bs-text-opacity)) !important;
    align-items: center;
}

/*ol, ul,*/ menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.noBullets li {
    list-style: none;
    margin: 0;
    padding: 0;
}


.NoMargins {
    margin: 0 !important;
}

.Padding-Top-5 {
    padding-top: 5px;
    padding-bottom: 5px;
}

.Padding-Top-10 {
    padding-top: 10px;
}

.Padding-Bottom-10 {
    padding-bottom: 10px;
}

.nav-item{
        width:auto;
    padding: 0 1em;
}

.LightMeUp {
    border-radius: 6px;
    margin-bottom: 6px !important;
}

.LightMeUp:hover, .LightMeUp:focus {
    background-color: var(--main-color-1-light);
    border:0 !important;
}

@media (max-width:450px){
    .LightMeUp {
        background-color: var(--main-color-2);
    }
} 

.Nav-Link-Small {
    padding: 0;
    text-decoration: none;
}

.yLinkBg {
    background-image: url('../images/Translink-T_Inverted_05.svg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size:contain;
}

.BulletList {
    list-style: circle;
    padding-left: 2rem;
}

.ReverableContainer {
    display: flex;
    flex-direction: row; /* Default: Divs side by side */
}
/* Media query for small screens */
@media (max-width: 600px) {
    .ReverableContainer {
        flex-direction: column-reverse; /* Swap the order */
    }
}

.ReverableContainerDiv {
    flex: 1; /* Equal width for both divs */
    text-align: center;
    /*padding: 10px;*/
    /*border: 1px solid #ccc;*/
}





.site-footer {
    display: flex;
    flex-wrap: wrap; /* allows wrapping on small screens */
    gap: 1rem;
}


/* Large screens: keep your intended order (copy > links > contact) */
.footer-copy {
    order: 1;
    margin-right:auto;
}

.footer-links {
    order: 2;
    margin:auto;
}

.footer-contact {
    order: 3;
    margin-left:auto;
    text-align:right;
}

@media (max-width: 1280px) {
    .footer-links {
        width:400px;
    }
}

@media (max-width: 450px) {
    .footer-contact {
        text-align: left;
    }
}



/* For small screens: Rearrange so that copy and contact are with eachother and links are below */
@media (max-width: 1000px) {
    .footer-copy {
        order: 1;
        flex: 1;
    }

    .footer-contact {
        order: 2;
        flex: 1;
    }

    .footer-links {
        order: 3;
        flex-basis: 100%;
    }
}

.yLink_Header {
    text-align:left;
    font-size: calc(2.75rem + .5vw);
    font-weight: 400;
    font-family:'Segoe UI', 'Tahoma', 'Geneva', 'Verdana', 'sans-serif';
    color:var(--main-color-1);
}
.yLink_Name {
    display: inline-block;
    font-size: calc(2.5rem + .5vw);
    font-weight: 900;
    transform: scaleY(.8) translateY(-.3vw);
    transform-origin: bottom;
    vertical-align: baseline;
}
.main-color-1-light{
    color:var(--main-color-1-light);
}

.contentDiv {
    background-color: var(--main-color-1-seeThrough);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid var(--main-color-1-border-seeThrough);
    max-width:980px;
    margin:20px auto;
}
.contentDivPart {
    margin-bottom: 20px;
    background-color: rgba(255,255,255,.4);
    border-radius: 16px;
    padding: 16px;
}
.contentDiv_ButtonRow {
    text-align:right;
    max-width:980px;
    margin:auto;
}

.cH1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--main-color-1);
    margin-bottom: 2rem;
}

.cH2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--main-color-1);
    margin-bottom: 1rem;
}

.cH3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--main-color-1);
    margin-bottom: 1rem;
}







.button-std {
    padding: 8px;
    margin:10px;
    /*background-color: var(--main-color-1-button);*/
    background-color: rgba(240,240,240,1);
    border:1px solid var(--main-color-1);
    border-radius:6px;
    color:var(--main-color-1);
    text-decoration:none;
    font-weight:400;
    min-width:80px
}
@media(max-width:500px){
    .button-std {
       transform:scale(1.2);
       margin-right:1em;
    }
}
.button-std:hover {
    background-color: var(--main-color-1-light);
    color: white;
}

.button-std:disabled {
    background-color: var(--main-color-1-border-seeThrough);
    border: 1px solid   var(--main-color-1-border);
    color: rgba(140,140,140,1);
}

.button-2nd {
    padding: 8px;
    margin: 10px;
    /*background-color: var(--main-color-1-button);*/
    background-color: rgba(140,140,140,1);
    border: 1px solid rgba(120,120,120,1);
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-weight: 400;
    min-width: 80px
}

@media(max-width:500px) {
    .button-2nd {
        transform: scale(1.3);
        margin-right: 2em;
    }
}

.button-2nd:hover {
    background-color: rgba(100, 100, 100,1);
}




.button-3rd {
    padding: 8px;
    margin: 10px;
    /*background-color: var(--main-color-1-button);*/
    background-color: rgba(240,240,240,1);
    border: 1px solid rgba(200,200,200,1);
    border-radius: 6px;
    color: rgba(60,60,60,1);
    text-decoration: none;
    font-weight: 400;
    min-width: 80px
}

@media(max-width:500px) {
    .button-3rd {
        transform: scale(1.3);
        margin-right: 2em;
    }
}

.button-3rd:hover {
    background-color: rgba(200,200,200,1);
    border: 1px solid rgba(140,140,140,1);
    color: white;
}






.InfoMark {/*: after*/ 
    content: '?';
    display: inline-block;
    font-family: sans-serif;
    font-weight: bold;
    text-align: center;
    font-size: 1em;
    line-height: 0.8em;
    border-radius: 50%;
    margin-left: 6px;
    padding: 0.13em 0.2em 0.09em 0.2em;
    color: inherit;
    color: blue;
    border: 1px solid;
    text-decoration: none;
}

.CircleMe {/*: after*/ 
    display: inline-block;
    font-family: sans-serif;
    font-weight: bold;
    text-align: center;
    font-size: 1em;
    line-height: 0.8em;
    border-radius: 50%;
    margin-left: 6px;
    padding: 0.13em 0.2em 0.09em 0.2em;
    color: inherit;
    border: 1px solid;
    text-decoration: none;
}

.HoverToDisplay {
    /*display: inline-block;*/
    position: relative;
    width: fit-content;
    display: inline-block;
}
.HoverToDisplayMe {
    background-color: white;
    width: max-content;
    max-width: 400px;
    padding: .3rem;
    /*display: none;*/
    position: absolute;
    top: -0.2rem;
    /*left: 20%;*/
    z-index: 50;
    visibility: hidden;
    border: 1px solid var(--main-color-1-border);
    line-height: 1.2rem;
}
.HoverToDisplay:hover .HoverToDisplayMe {
    
    /*display: inline-block;*/

    visibility:visible;
    color: var(--main-color-1);
}
.HoverToDisplay:focus .HoverToDisplayMe {
    
    /*display: inline-block;*/

    visibility:visible;
    color: var(--main-color-1);
}

@media(max-width:800px) {
    .HoverToDisplayMe {
        max-width: 50vw;
    }
}

.AddLightBorder {
    border: 1px solid var(--main-color-1-border-seeThrough2);
}

.step-item {
    transform: scale(1.6);
}

.step-indicator .step-item {
    padding: 0.5rem 1rem;
    margin: .5rem 1rem;
    border-bottom: 1px solid;
    font-weight: bold;
    color: var(--main-color-1-border-seeThrough2);
}

.step-indicator .step-item.active {
    border-color: var(--main-color-1);
    color: var(--main-color-1);
    border-bottom: 2px solid;
}

@media(min-width:450px){
    .step-item {
        transform: scale(2);
    }
    .step-indicator .step-item {
        padding: 0.5rem 1rem;
        margin: 1rem 2rem;
        border-bottom: 1px solid;
        font-weight: bold;
        color: var(--main-color-1-border-seeThrough2);
    }
}

.progress-bar {
    transition: width 0.4s ease;
    background-color:var(--main-color-1);
}

.alignRight {
    text-align: right;
    margin:auto;
}

.AutoAppearance{
    -webkit-appearance:auto;
    appearance:auto;
}




.ImageCropper-Main {
    position: absolute;
    top: 0px;
    left: 0px;
    width: fit-content;
    padding: 6px;
    background: white;
    border: 6px double var(--main-color-1);
    max-width: 768px;
    z-index: 999;
}

.ImageCropper-Canvas {
    width: 480px;
    height: 360px;
    max-width: 90vw;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
}

.ImageCropper-Control{
    display:inline-flex;
}

@media(min-width:1700px){
    .ImageCropper-Main {
        width: 40vw !important;
        padding: 12px;
        left: 30vw !important;
    }

}@media(min-width:1024px){
    .ImageCropper-Main {
        max-width: 800px;
        width: 60vw;
        top: 10%;
        left: 20vw;
    }
}
@media(min-width:600px){
    .ImageCropper-Main {
        width:86vw;
        top: 10%;
        left: 7vw;
    }
}


.btn-Plain {
    color: rgb(50,50,50);
    background-color: rgb(220,220,220);
    border-color: rgb(180,180,180);
    margin: 4px;
}

    .btn-Plain:hover {
        color: #fff;
        background-color: rgb(180,180,180);
        border-color: rgb(140,140,140);
    }

.Scale-2{
    transform:scale(2);
}



.Confirmation_Title {
    font-weight: bold;
    margin: auto;
}

.Confirmation_FieldLabel {
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--main-color-1);
    top: 2px;
    position: relative;
    left: 4px;
}

.Confirmation_Field {
    font-weight: bold;
}


.FloatingPopUp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100vw;
    background-color: white;
    border-color: var(--main-color-1-border-seeThrough2);
    z-index: 95;
}


.WhiteOut {
    position: absolute;
    top: -10px;
    left: -10px;
    border-radius: .5rem;
    height: calc(100% + 20px);
    background-color: white;
    z-index: 90;
    margin-top: 0;
    width: calc(100% + 20px);
    opacity: .5;
}




.custom-upload {
    padding: 8px;
    margin: 10px;
    /*background-color: var(--main-color-1-button);*/
    background-color: rgba(240,240,240,1);
    border: 1px solid var(--main-color-1);
    border-radius: 6px;
    color: var(--main-color-1);
    text-decoration: none;
    font-weight: 400;
    min-width: 80px
}

@media(max-width:500px) {
    .custom-upload {
        transform: scale(1.3);
        margin-right: 2em;
    }
}

.custom-upload:hover {
    background-color: rgba(230,230,230,1);
    background-color: var(--main-color-1-light);
    color: var(--main-color-1);
    color: white;
}

.cardDesignDynamicText {
    font-size: 0.7rem;
}

@media(max-width:800px){
    .cardDesignDynamicText {
        font-size: 1.1rem;
    }
}
@media(max-width:450px){
    .cardDesignDynamicText {
        font-size: 0.7rem;
    }
}
@media(max-width:300px){
    .cardDesignDynamicText {
        font-size: 0.5rem;
    }
}

.siteVersionNumber{
    position:fixed;
    bottom:0;
    left:0;
    color:transparent;
    font-size: .8rem;
    background:none;
    color: white;
}

.siteVersionNumber:hover{
    color:white;
    mix-blend-mode: difference;
}