﻿@import url('../Shared/Tooltip.css');

.ui-content-left {
    padding-right: 0.5em;
}

.ui-content-right {
    padding-left: 0.5em;
}

@media (max-width: 35em) {

    .ui-content-left {
        padding-right: 0;
    }

    .ui-content-right {
        padding-left: 0;
    }
}

.hidden {
    display: none;
}

.custom-corners .ui-bar {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.custom-corners .ui-body {
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
    border-top-width: 0;
}

.custom-header .ui-listview {
    margin: 0;
}

.custom-header {
    border-style: solid solid none;
    border-width: 1px 1px 0;
    border-color: #ddd;
    overflow: inherit;
    border-radius: inherit;
}

.ui-corner-top {
    -webkit-border-top-left-radius: .3125em;
    -webkit-border-top-right-radius: .3125em;
    border-top-left-radius: .3125em;
    border-top-right-radius: .3125em;
}

.ui-corner-bottom {
    -webkit-border-bottom-left-radius: .3125em;
    -webkit-border-bottom-right-radius: .3125em;
    border-bottom-left-radius: .3125em;
    border-bottom-right-radius: .3125em;
}

/* Radius clip workaround for cleaning up corner trapping */
.ui-corner-top,
.ui-corner-bottom {
    -webkit-background-clip: padding;
    background-clip: padding-box;
}

.custom-header * {
    border: none !important;
}

.ui-listview .ui-li-has-thumb > img:first-child, .ui-listview .ui-li-has-thumb > .ui-btn > img:first-child, .ui-listview .ui-li-has-thumb .ui-li-thumb {
    height: 5.1em;
    width: 5.1em;
}

iframe {
    border: none;
}

.ui-rangeslider .ui-rangeslider-sliders {
    margin: 0;
}

.summary-activity-person, .summary-accommodation-person, .summary-discount-code, .summary-bookingfee-person, .dynamic-accommodation-allocation {
    font-weight: bold;
    max-width: 12em;
    display: inline-block;
}

.discount-code {
    margin: 40px 0;
}

.summary-activity-item, .summary-accommodation-item, .summary-discount-item, .summary-general-information-item {
    margin: 1em 0 1em 0;
}

.vattype {
    font-style: italic;
    font-size: 10px;
}

.summary-activity-group .ui-collapsible-content.ui-body-inherit, .summary-accommodation-group .ui-collapsible-content.ui-body-inherit, .summary-general-information .ui-collapsible-content.ui-body-inherit {
    padding: 0;
}

.summary-general-information-item .ui-btn-icon-notext.ui-icon-check {
    position: relative;
    margin: .4em 0;
}

    .summary-general-information-item .ui-btn-icon-notext.ui-icon-check:after {
        background-color: transparent !important;
    }

.required {
    display: inline-block;
}

#submitLoader {
    width: 242px;
    height: 16px;
    background: #eeeeee;
    overflow: hidden;
    display: none;
}

#innerSubmitLoader {
    width: 80px;
    height: 100%;
    background: #3388CC;
    margin-left: -80px;
}

.birth-date-hint {
    opacity: .5;
    white-space: nowrap;
    font-style: italic;
    font-size: 80%;
}

.dynamic-accommodation-room label {
    width: 100%;
    margin: 0 0 .4em;
}

.dynamic-accommodation-room .header {
    display: table;
}

    .dynamic-accommodation-room .header img {
        width: 60px;
        height: 60px;
        display: table-cell;
    }

    .dynamic-accommodation-room .header h4 {
        display: table-cell;
        padding-left: 10px;
        vertical-align: middle;
    }

    .dynamic-accommodation-room .header button {
        position: absolute;
        top: 8px;
        right: 16px;
        width: 20px;
        padding: 20px;
        height: 40px;
    }

.ui-block-b.ui-block-c {
    width: 66.6%
}


.accommodation-super-group .ui-header {
    border-width: 1px 1px 0px 1px;
    padding: 16px;
}

#group-accommodation-choosen-rooms-button {
    display: block;
}

#group-accommodation-choosen-rooms-back-button {
    display: none;
}

    #group-accommodation-choosen-rooms-back-button.visible {
        display: block;
    }

.summary-info h4 {
    margin-bottom: 4px;
}

.summary-edit {
    clear: both;
    padding-top: 24px;
}

.summary-edit-button {
    max-width: 150px;
}

.dynamic-accommodation-room {
    margin-bottom: 24px;
}

.activity-subinfo {
    font-size: 80%;
}

    .activity-subinfo > div {
        margin-bottom: 4px;
    }

.activity-times div {
    display: inline-block;
    padding-right: 24px;
}

@media screen and (max-width: 999px) {
    .ui-block-a.group-accommodation-hotels {
        width: 100%;
    }

    .ui-block-b.ui-block-c.dynamic-accommodation-rooms-container {
        width: 100%;
    }
}

@media screen and (min-width: 1000px) {


    .accommodation-super-group {
        margin: 0;
    }

    .accommodation-group h4 {
        margin: 0;
    }

    .accommodation-group .accommodation-template:nth-child(2) {
        margin: 0;
        border-radius: 0 0 .3125em.3125em;
    }

    .accommodation-super-group .accommodation-template {
        margin: 16px 0;
    }

    .accommodation-super-group,
    .accommodation-template {
        margin: 16px 0 16px 48px;
    }

    .dynamic-accommodation-super-group {
        margin-left: 48px;
    }

        .dynamic-accommodation-super-group .dynamic-accommodation-room {
            margin-left: 0;
        }

    .dynamic-accommodation-room {
        margin-left: 48px;
    }


    .group-accommodation-room-done,
    #group-accommodation-choosen-rooms-button,
    #group-accommodation-choosen-rooms-back-button {
        display: none !important;
    }
}

h3.activity-header {
    margin-top: 0.5rem;
}


a.activity-moreinfo,
a.copy-accompanying {
    float: right;
    margin-right: 0;
}

span.price {
    margin-left: 2rem;
    font-size: 90%;
    opacity: 0.8;
}


.field-error {
    border: 2px solid #f00 !important;
    box-shadow: none;
}

.activity-allotment-container {
    padding: 0 1rem;
}

.activity-allotment-item {
    display: flex;
    justify-content: space-between;
    margin: .3rem 0 0 0;
    padding-bottom: .3rem;
    border-bottom: 1px solid #e7e7e7;
    align-items: center;
}

.activity-allotment-total {
    font-weight: bold;
}

.activity-allotment-display {
    white-space: nowrap;
    margin-left: 1rem;
}

@media (max-width: 600px) {
    [data-role="popup"] {
        position: relative;
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
        width: 100% !important;
    }
}

.activity-nrSlotsLeft, .activity-bookingAmount, .activity-availability-of, .activity-allotment {
    display: none;
}

span.activity-infinite {
    font-family: verdana !important;
}

.activity-waitinglist .close {
    display: none;
}

.activity-waitinglist .show {
    display: block;
}

.activity-waitinglist.active .close {
    display: block;
}

.activity-waitinglist.active .show {
    display: none;
}

a.activity-waitinglist-show-form {
    display: block;
    text-align: right;
    font-size: 90%;
}

.no-availability {
    opacity: 0.6;
}

.no-availability-warning {
    color: #c00;
}

.activity-waitinglist-error {
    color: #c00;
    font-weight: bold;
}

.total-mainVAT {
    font-size: 13px;
    margin-bottom: 5px;
}

.total-inclVAT {
    font-size: 12px;
    font-style: italic;
    display: block;
}

.totalAmount {
    float: right;
}

.total-inclVAT .totalAmount {
    font-style: normal;
}

/* Move close button within popup for activity and hotel info */
[id*=popup-dynamic-accommodation-hotel] a.ui-btn-icon-notext.ui-btn-right,
[id*='popup-dynamic-activity-info'] a.ui-btn-icon-notext.ui-btn-right {
    top: .3125em;
    right: .3125em;
}





/* Support template CSS */
img {
    max-width: 100%;
}

.headerImage{
    max-width: 100%;
    width: 100%;
}

#header {
    display: flex;
    width: 100%;
    min-height: 90px;
    background: #fff;
    box-shadow: rgba(0, 0, 0, 0.13) 0px 5px 10px;
    border: none;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    box-sizing: border-box;
    flex-direction: row;
}

.header-image {
    width: 20%;
}

    .header-image img {
        max-height: 60px;
        display: inline-block;
    }

.steps-container {
    max-width: 60%;
    z-index: 9999;
    color: #000;
    text-align: center;
}

.button-summary-container {
    min-width: 20%;
    width: auto;
}

#button-summary {
    max-width: 100%;
}

a#button-summary {
    display: inline-block;
    float: right;
    position: unset;
    right: unset;
    top: unset;
    font-size: 0.9em;
}

span.step {
    padding: 0 1.5vw;
    font-weight: 400;
}

.ui-listview > li h1, .ui-listview > li h2, .ui-listview > li h3, .ui-listview > li h4, .ui-listview > li h5, .ui-listview > li h6 {
    text-overflow: unset;
    white-space: normal;
}

.step {
    color: #c1c1c1;
}

#button-next, #button-previous, #button-add-to-waitinglist {
    font-size: 0.9em;
}

span.step.active-step {
    font-weight: 700;
    color: #333;
}

.registration-step .ui-body-a, .registration-step-description {
    background: #ffffff;
    box-shadow: 0 5px 6px rgba(0, 0, 0, 0.05);
}

form > .ui-content, .ui-responsive-panel.ui-page > .ui-content {
    width: unset;
    margin: 30px auto auto auto;
    position: relative;
    padding-bottom: 0;
    box-sizing: border-box;
    overflow: visible;
}

.ui-field-contain {
    display: flex;
    flex-direction: column;
}

    .ui-field-contain > label {
        width: 100% !important;
    }

    .ui-field-contain > div, .ui-field-contain > a, .ui-field-contain > textarea {
        width: 100% !important;
        margin: 0 !important;
    }

.hidden {
    display: none !important;
}
/*Custom CSS*/
* {
    text-shadow: none !important;
}

.registration-step-description {
    border: 1px solid #dddddd;
    border-radius: 5px;
    padding: 10px 20px;
    margin-top: 15px;
    background-color: #ffffff;
}

div#registration-step-Confirmation {
    margin-bottom: 2rem;
}

.registration-step-header {
    display: none;
}

#footer {
    background-color: transparent;
    border: none;
    margin: auto;
}

.ui-content, #footer {
    max-width: 800px;
}

img.img-responsive.footer {
    margin: 0 auto;
    display: block;
}

div#regFooter {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1em 1em 1em;
}

.person .ui-field-contain label.error {
    margin: 0.3em 0;
}

#summary-panel .ui-btn, #header .ui-btn, .ui-collapsible-heading-toggle, .registration-step-description, .ui-bar-a, .ui-page-theme-a .ui-bar-inherit, html .ui-bar-a .ui-bar-inherit, html .ui-body-a .ui-bar-inherit, html body .ui-group-theme-a .ui-bar-inherit, .ui-body-a, .ui-page-theme-a .ui-body-inherit, html .ui-bar-a .ui-body-inherit, html .ui-body-a .ui-body-inherit, html body .ui-group-theme-a .ui-body-inherit, html .ui-panel-page-container-a {
    border: none;
}

.dynamic-accommodation-room .ui-block-a, .dynamic-accommodation-room .ui-block-b {
    padding: 5px;
}

.registration-step-description {
    background-color: #fff;
}

.footer-image {
    text-align: center;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 1em;
    box-sizing: border-box;
}

.ui-select [id^='geninf14mobileCountryCode'] {
    padding: .63em 1em;
}

@media only screen and (max-width: 1001px) {
    #header {
        flex-direction: column;
        padding: 0;
        justify-content: center;
    }

    .header-image {
        flex-direction: column;
        flex-wrap: wrap;
        height: auto;
        max-height: none;
        width: 80%;
        align-items: center;
        justify-content: center;
    }

        .header-image img {
            margin: 10px auto;
        }

    .steps-container, a#button-summary {
        position: relative;
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: none;
        min-height: 0;
        margin: 0;
        padding: 5px;
        top: unset;
        left: unset;
        bottom: unset;
        right: unset;
        border-radius: 0;
        line-height: unset;
    }

    .button-summary-container {
        width: 100%;
    }
}

@media only screen and (max-width: 767px) {
    .steps-container {
        display: none;
    }

    .header-image img {
        margin: 8px auto;
        display: block;
    }

    .ui-content {
        width: 90%;
        margin-top: 123px;
    }

    a#button-summary {
        position: relative;
        right: 0;
        top: 0px;
        font-size: 0.9em;
        margin: 0px;
        border-radius: 0px;
    }
}

#main-page, div.ui-page-active {
    background: url("images/trippus-event.jpg");
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.registration-step .activity-group .ui-body-inherit .ui-body-a {
    background: none;
}

h3.activity-super-group-header, h3.accommodation-super-group-header, h3.dynamic-accommodation-super-group-header {
    color: #fff;
}

#noMatch {
    display: none;
}

    #noMatch.visible {
        display: inline-block;
    }

.searchCustomerRegisterContainer {
    position: relative;
}

.payment-method.loading .searchCustomerRegisterContainer::before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    transform: rotate(0deg);
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ccc;
    border-top-color: #333;
    animation: loader .6s linear infinite;
}

@keyframes loader {
    to {
        transform: rotate(360deg);
    }
}

ul.results {
    padding: 0;
    border-radius: 6px;
    border: 1px solid #ddd;
    overflow: hidden;
}

    ul.results li {
        list-style: none;
    }

        ul.results li a {
            cursor: pointer;
            box-sizing: border-box;
            background: #f6f6f6;
            width: 100%;
            display: block;
            border-bottom: 1px solid #ddd;
            padding: 10px;
            color: #000;
        }
        ul.results li:last-child a {
            border-bottom: 0;
        }

        ul.results li a:hover, ul .results li a:active {
            background: #ededed;
            color: #000 !important;
        }

.ui-input-text input[readonly] {
    background-color: #eee;
    box-shadow: inset 0 1px 3px rgba(0,0,0,.2);
    color: #777;
}

.ui-field-contain textarea.ui-input-text {
    border: 1px solid #d7d7d7;
}

form .error-message {
    background: #f8d89e;
    border-radius: 5px;
    padding: 10px 20px;
    margin-top: 15px;
}

[data-display="hidden"]{
    display: none !important;
}

#success-animation-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 200px;
    margin: 0 auto;
}
    #success-animation-container::after {
        content: '';
        background: white;
        width: 150px;
        animation: 1s ease-out 0s 1 both scaleAnimationContainer;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        height: 150px;
        border-radius: 200px;
        z-index: 1;
    }

    @keyframes drawCircle {
        0% {
        stroke-dashoffset: 151px;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes drawCheck {
    0% {
        stroke-dashoffset: 36px;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes scaleAnimation {
    0% {
        opacity: 0;
        transform: scale(1.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scaleAnimationContainer{
    0% {
        transform: scale(1.5) translateX(-33%);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateX(-50%);
    }
}

#successAnimationCircle {
    stroke-dasharray: 151px 151px;
    stroke: #4ec26b;
}

#successAnimationCheck {
    stroke-dasharray: 36px 36px;
    stroke: #4ec26b;
}

#successAnimationResult {
    fill: #4ec26b;
    opacity: 0;
}

#successAnimation.animated {
    animation: 1s ease-out 0s 1 both scaleAnimation;
    z-index: 2;
}

    #successAnimation.animated #successAnimationCircle {
        animation: 1s cubic-bezier(0.77, 0, 0.175, 1) 0s 1 both drawCircle, 0.3s linear 0.9s 1 both fadeOut;
    }

    #successAnimation.animated #successAnimationCheck {
        animation: 1s cubic-bezier(0.77, 0, 0.175, 1) 0s 1 both drawCheck, 0.3s linear 0.9s 1 both fadeOut;
    }

    #successAnimation.animated #successAnimationResult {
        animation: 0.3s linear 0.9s both fadeIn;
    }

.closed-message{
    margin-bottom: 2rem;
}

#timeToCompleteBooking{
    font-weight: normal;
}

#countdownDisplay, #timeExpired {
    font-weight: bold;
}