﻿html {
    scroll-behavior: smooth;
}

.paymasterbody {
    background-color: #fcfcfc;
}

.paymastermain {
    min-height: 850px;
    min-height: calc(100vh - 1px);
}

.labelrow {
    margin-bottom: 8px;
    overflow-wrap: break-word;
}

@media screen and (min-width:768px) {
    .paymastermain {
        min-height: calc(100vh - 225px);
    }

    .paymastermain:has(+ .pbml) {
        min-height: calc(100vh - 40px);
    }

    #raceinfo {
        display:block!important;
        visibility:visible!important;
    }
}

.pbml {
    height: 40px;
    padding: 10px;
    text-align: center;
}

.row-participant {
    padding-bottom:3px;
    padding-top:3px;
}
.row-striped > div:nth-of-type(odd) {
  background-color: #f9f9f9;
}

.participant_copy {
    padding: 0px 10px 10px 10px;
}

.participant {
    
    border-radius: 10px;
    /*background-color: #eeeeee;*/
    border: 1px solid #dddddd;
    padding:10px 20px 20px 20px;
    border: 1px solid lightgray;
    margin-bottom:10px;
}

    .participant:hover {
     /*background-color:#f3f3f3;*/   
    }

.background-startpage {
    background: url('/Images/Headers/bg_1940.jpg') center center no-repeat scroll;
}
.background-sf {
    background: url('/Images/Headers/sf.jpg') center center no-repeat scroll;
}

.headerlogo {
    height:170px;
    margin-top:30px;
}
@media (max-width: 480px) {
    .headerlogo {
        height: 85px;
        margin-top:15px;
    }
}

.fullwidthimage {
    width:100%;
    height:110px;
}

.container-full {
}

.contactInfo {
    margin-top:15px;
    margin-bottom:15px;
}
    .contactInfo .contactName {
        font-weight:bold;
        font-size:16px;
    }

.alert-validation-summary ul {
    margin-bottom: 0px;
    color: darkred;
}

.btn > h3 {
    max-width: calc(100% + 10px);
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 20px;
    line-height:  1.25;
}

a {
    color: var(--link-color);
}

a:hover,
a:focus {
    color: var(--link-hover-color)
}

.alert-warning a {
    color: #ff4500;
}

footer a {
    color: var(--footer-link-color) !important;
}

footer a:hover,
footer a:focus {
    color: var( --footer-link-active-color) !important;
}

.footer-logo {
    margin: 10px 0 0 -10px;
    border-radius: 50%;
    background: #044e4b url(/Images/new_logo.png) no-repeat center center;
    background-size: contain;
    display: inline-block;
    width: 70px;
    height: 70px;
    background-blend-mode: lighten;
    transition: all .35s;
}

.footer-logo:hover {
    background-color: var(--profile-color);
}

@media (max-width: 1000px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
		top: 0;
		border-width: 0 0 1px;
	}
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
		margin-top: 7.5px;
	}
	.navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
  		display:block !important;
	}
}
    

table.dataTable.dtr-column > tbody > tr > td.control,
table.dataTable.dtr-column > tbody > tr > th.control {
    position: relative;
    cursor: pointer;
}

    table.dataTable.dtr-column > tbody > tr > td.control:before,
    table.dataTable.dtr-column > tbody > tr > th.control:before {
        top: 50%;
        left: 50%;
        height: 16px;
        width: 16px;
        margin-top: -10px;
        margin-left: -10px;
        display: block;
        position: absolute;
        color: white;
        border: 2px solid white;
        border-radius: 14px;
        box-shadow: 0 0 3px #444;
        box-sizing: content-box;
        text-align: center;
        font-family: 'Courier New', Courier, monospace;
        line-height: 14px;
        content: '+';
        background-color: #31b131;
    }

table.dataTable.dtr-column > tbody > tr.parent td.control:before,
table.dataTable.dtr-column > tbody > tr.parent th.control:before {
    content: '-';
    background-color: #d33333;
}

.insurancechoose label {
    font-weight: normal;
    padding-right: 10px;
}

.planchoose label {
    font-size: 13px;
    font-weight: normal;
}

.progvalues {
    border-radius: 3px;
    font-size: 12px;
    border: solid 1px #cccccc;
    padding: 1px 3px;
    margin: 2px;
}

.progSetvalues {
    border: none;
    background-color: transparent;
    width: 111px;
}

.planp {
    font-size: 11px;
    margin: 0px 0px 10px 0px;
}

.planexp {
    display: none;
}

.readmore {
    position: absolute;
    left: 0;
    width: 90%;
    text-align: center;
    margin: 0;
    height: 28px;
    background-image: -moz-linear-gradient(top, transparent, black);
    background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, transparent),color-stop(1, white));
    left: 5%;
}

#clubSelector + #club {
    margin-top: 10px;
}

.thin {
    font-weight: 200 !important;
}

.sign-up--main-warning {
    position: sticky;
    top: 0;
    color: #fff;
    background-color: #D32F2F;
    padding: 7px 20px;
    text-align: center;
    z-index: 99999;
}

.custom-field-item table,
.custom-field-item label {
    width: 100%;
}

.addon {
    position: relative;
    margin: 0 0 15px 0;
    border-color: #eeeeee;
    background-color: rgba(255 255 255 / 15%);
    border: 1px solid #dddddd;
    padding: 10px 15px;
}

.addon:last-of-type {
    margin-bottom: 0;
}

.static-addon-price {
    font-weight:bold;
    padding-left:0px;
}
.addon-name {
    font-size: 21px;
    margin-bottom:0;
}

.addon-local .addon-name {
    display: grid;
    grid-auto-flow: column;
    justify-content: space-between;
    align-items: center;
    column-gap: 15px;
}

.addon-local .addon-name img {
    width: 100px;
    max-width: 100%;
    aspect-ratio: 1;
    cursor:zoom-in;
}

.addon-local img.zoom {
    width: 320px;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
}

.zoom-wrapper {
    position: absolute;
    left: calc((100% - 320px) / 2);
    border-radius: 10px;
    box-shadow: 0 0 0 10000px rgb(127 127 127 / 50%);
    z-index: 1;
}

.zoom-closer {
    position: absolute;
    top: -0.5em;
    right: -0.5em;
    display: block;
    width: 1em;
    height: 1em;
    text-align: center;
    line-height: 1em;
    font-size: 2em;
    cursor: pointer;
}

.zoom-closer i {
    background-image: radial-gradient(#fff 0, #fff 40%, transparent 60%);
    border-radius: 2em;
    color: #000;
}

.addon-description {
    margin-top: 10px;
}

.addon-description img {
    width: 100px;
    max-width: 100%;
    aspect-ratio: 1;
    float: right;
    margin-left: 20px;
    margin-bottom: 15px;
}

.addon-options {
    padding: 10px 5px 0;
    clear: both;
    border-top: 1px solid #ccc;
    margin: 15px 0 0;
    display: grid;
    grid-auto-flow: column;
    column-gap: 10px;
    align-items: center;
}

.addon-options .radio-inline input[type="radio"],
.addon-options .checkbox-inline input[type="checkbox"] {
    margin-top: 2px;
}

.addon-options .price-amount {
    text-align: right;
    font-size: 1.25em;
    color: #ccc;
}

.addon-options:has(input[type="checkbox"]:checked) .price-amount,
.addon-options:has(input[value="1"]:checked) .price-amount {
    color: #000;
    text-shadow: 0 0 5px #fff;
}

.addon-options:has(input[value="0"]:checked) select {
    color: #ccc;
    background-color: #f7f7f7;
}

.addon-check {
    font-size: 15px;
    padding-left:0px;
}

.addon-postage-info,
.only-swedish-info {
    display: grid;
    grid-auto-flow: column;
    column-gap: 1em;
    justify-content: start;
    align-items: center;
    margin-bottom: 15px;
    border-radius: 0;
    font-size: .86em;
}

.addon-trainingplan {
    background-color: #f6fff6;
    color: #333;
}

.addon-trainingplan-header {
    font-size: .86em;
    margin-bottom: 15px;
}

.addon-trainingplan-logo {
    max-height: 26px;
    margin-top: 8px;
}

.trainingplan-item-container {
    max-height: 300px;
    overflow: hidden;
    position: relative;
}

.trainingplan-show-all-plans {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    min-height: 6em;
    background-image: linear-gradient(180deg, transparent, #f6fff6 50%);
    padding-top: 3em;
    padding-bottom: 10px;
    text-align: center;
}

.trainingplan-item {
    border: 1px solid #ddd;
    padding: 5px 15px 10px;
    margin-bottom: 10px;
    background-color: rgba(127 127 127 / 5%);
}

.trainingplan-name {
    margin: 5px 0;
    font-size: 1.1em;
}

.trainingplan-duration {
    font-size: .86em;
}

.planchoose {
    margin-top: 5px;
    display: block;
}

.planchoose input[type="radio"] {
    margin-right: 0.75em;
    translate: 0 1px;
}

.trainingplan-values {
    position: absolute;
    left: 5px;
    bottom: 5px;
    background-color: #fff;
    width: calc(100% - 10px);
    margin: 0;
    box-shadow: 0 0 100px 5000px rgb(127 127 127 / 50%);
    z-index: 1;
}

.addon-insurance {
    background-color: #f0f8ff;
    color: #333;
}

.paymastermain .addon-insurance a,
.paymastermain .addon-insurance a:hover {
    color: var(--profile-color)
}

.partner-container {
    margin: 30px 0 40px;
    background-color: #fff;
    color: #999;
    border-radius: 5px;
}

.partner-head {
    padding: 2px 0;
    border-bottom: 1px solid #999;
    font-size: .8em;
    text-align: center;
}

.partner-head i {
    padding: 0 1em;
    color: #aaa;
    font-size: .8em;
    line-height: 1.5;
}

.partner-panel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: -40px;
}

.partner-panel div {
    padding: 5px 0;
}

.partner-panel img {
    width: 120px;
    max-width: 100%;
    aspect-ratio: 1;
}

p > span.divider {
    display: block;
    border-bottom: 1px solid #666;
    margin: 1em 0;
}

p > span.divider.dashed {
    border-bottom-style: dashed;
}

.alert a,
.alert a:hover {
    color: var(--link-color) !important;
    font-weight: 600;
}

.modal,
.paymastermain a.btn-default,
.paymastermain a.btn-default:hover {
    color: #333 !important;
}

.paymastermain a.btn-success,
.paymastermain a.btn-success:hover {
    color: #fff;
}

.btn-outline {
    background-color: rgb(255 255 255 / 30%);
}

.btn-wide {
    min-width: 120px;
}

.info-label {
    font-weight: 600;
}

.single-price + .class-prices .info-label,
.price-ladder + .class-prices .info-label {
    font-size: 0.9em;
}

.price-date,
.class-price-name {
    font-size: 13px;
    padding-top: 2px;
}

.price-past .price-amount {
    text-decoration: line-through;
    color: #777;
}

.price-current .price-amount {
    font-weight:600;
}

.price-future .price-amount {
    color: #777;
}

.class-price-discount {
    color: #777;
    font-size: 86%;
}

.price-final-week-alert,
.price-final-day-alert {
    margin-left: 20px;
    padding: 4px 8px 3px;
    border-radius: 2px;
    font-size: 12px;
    color: #fff;
}

.price-final-week-alert {
    background-color: #f77;
}

.price-final-day-alert {
    background-color: red;
}

.marketplace-box {
    border: 1px solid #ccc;
    box-shadow: 0 0.25em 0.5em rgb(64 64 64 / 15%);
    background-color: inherit;
}

.marketplace-box.panel-default > .panel-heading {
    background-color: rgba(245 245 245 / 75%);
}

.marketplace-box.panel-default > .panel-footer {
    background-color: rgba(245 245 245 / 50%);
}

.marketplace-box h4 {
    font-family: 'Aleo';
    font-size: 1.8em;
    margin-top: 5px;
    margin-bottom: 0;
}

.mail-delivery-status-container {
    margin-bottom: 10px;
    transition-duration: .5s;
    transition-delay: 2s;
}

.mail-delivery-status-container:not(:has(.fa-square-check)) {
    font-size: 180%;
    background-color: #ffe3e3;
    color: #333;
    padding: 5px 10px 10px;
    border-radius: 5px;
}

.mail-delivery-status-container .panel {
    margin-bottom: 0;
}

.mail-delivery-status-container .panel label {
    font-weight: 400;
    font-size: 80%;
}

.progress-bar-success {
    background-color: var(--profile-color, green);
}