* {
    box-sizing: border-box
}

html {
    margin: 0!important;
    height: 100%;
    scroll-behavior: smooth;
    --primary: #154880;
    --accent: #00afac
}

#wpadminbar {
    opacity: .15
}

body {
    margin: 0;
    padding: 0;
    font-family: segoe ui,sans-serif;
    position: relative;
    height: 100%
}

img {
    max-width: 100%;
    height: auto;
    pointer-events: none
}

h1,h2,h3,h4 {
    margin: 0
}

a {
    text-decoration: none;
    color: #fff
}

#wrapper,main {
    height: 100%
}

main {
    display: flex;
    flex-direction: column;
    overflow: auto;
    padding-top: 20px;
    background: linear-gradient(0,rgb(19 79 97) 0%,rgb(29 125 147) 100%);
}

.calculator {
    margin: 10px
}

.footer {
    padding-top: 8px;
    padding-bottom: 25px;
    margin-top: auto
}

.footer>.container {
    display: flex;
    justify-content: center
}

.footer a {
    padding: 0 7px;
    position: relative;
    color: #487987;
}

@media(max-width: 768px) {
    .footer a {
        font-size:.8em
    }
}

@media(max-width: 576px) {
    .footer {
        padding-bottom:15px
    }

    .footer>.container {
        flex-wrap: wrap
    }
}

@media(min-height: 850px) {
    .calculator {
        margin-top:15px
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px
}

.calculator>.container {
    max-width: 840px;
    padding-top: 44px;
    padding-bottom: 55px;
    border-radius: 25px
}

@media(max-width: 768px) {
    .calculator>.container {
        width:100%;
        padding: 9px 10px
    }

    main {
        height: auto;
        min-height: 100%;
        padding-top: 14px
    }
}

.navbar {
    padding-top: 25px
}

.navbar>.container {
    display: flex;
    justify-content: center;
    align-items: center
}

@media(max-width: 768px) {
    .navbar {
        padding-top:10px;
        padding-bottom: 10px
    }

    .navbar>.container {
        justify-content: center
    }
}

.logo {
    height: 44px
}

@media(max-width: 576px) {
    .logo {
        height:34px
    }
}

#top_title {
    text-align: center;
    font-weight: lighter;
    color: #dfe7eb;
    font-size: 1.5em;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 4px;
    transition: opacity .3s
}

#progress {
    max-width: 700px;
    height: 6px;
    margin: 25px auto;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 0 9px 0 rgba(0,0,0,.05);
    background-color: rgba(255,255,255,.12);
    transition: opacity .3s
}

@media(max-width: 768px) {
    #top_title {
        font-size:1.4em;
        letter-spacing: 3px
    }

    #progress {
        margin: 20px 0
    }
}

@media(max-width: 576px) {
    #top_title {
        font-size:1.1em;
        letter-spacing: 2px
    }
}

#progressBar {
    width: 4%;
    height: 100%;
    background-color: #fff;
    transition: width .7s
}

.title_container {
    display: flex;
    align-items: flex-start;
    position: relative
}

#dynamic_title {
    text-align: center;
    color: #fff;
    font-size: 1.7em;
    letter-spacing: 1px;
    position: relative;
    transition: opacity .3s,transform .4s;
    margin: 4px 64px 0;
    width: 100%;
    margin-bottom: 40px
}

@media(max-width: 768px) {
    #dynamic_title {
        font-size:1.5em
    }
}

@media(max-width: 576px) {
    #dynamic_title {
        font-size:1.2em;
        margin: 0 43px 23px
    }
}

@media(max-width: 400px) {
    #dynamic_title {
        font-size:1.05em
    }
}

@media(max-width: 340px) {
    #dynamic_title {
        font-size:1.02em
    }

    #top_title {
        font-size: 1em;
        letter-spacing: 1.5px
    }
}

#prevBtn {
    width: 60px;
    height: 60px;
    position: relative;
    cursor: pointer;
    border-radius: 7px;
    transition: opacity .3s;
    flex-shrink: 0;
    position: absolute;
    transform: translateY(-5px)
}

@media(hover: hover) and (pointer:fine) {
    #prevBtn:hover {
        box-shadow:0 0 15px 0 rgba(0,0,0,.03);
        background-color: rgba(255,255,255,.05)
    }
}

#prevBtn::before {
    content: "";
    width: 20px;
    height: 20px;
    transform: rotate(45deg) translate(31px,-4px);
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    z-index: 1;
    transition: transform .25s;
    position: absolute
}

@media(max-width: 576px) {
    #prevBtn {
        width:46px;
        height: 46px;
        margin-left: -10px
    }

    #prevBtn::before {
        width: 15px;
        height: 15px;
        transform: rotate(45deg) translate(25px,-3px);
        border-left: 1px solid #fff;
        border-bottom: 1px solid #fff;
        z-index: 1;
        transition: transform .25s;
        position: absolute
    }
}

.selections,#upload-form {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    transition: opacity .3s,transform .4s
}

.selections:first-child {
    display: flex;
    visibility: visible;
    opacity: 1
}

.sel,.uBox {
    width: 31.3%;
    margin: 0 10px 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 12px 25px 0 rgba(24,46,75,.18);
    background-color: rgba(255,255,255,.05);
    border-radius: 7px;
    cursor: pointer;
    transition: transform .4s,box-shadow .4s,background-color .4s;
    position: relative
}

.special {
    width: 100%;
    text-align: right;
    margin-top: 30px;
    text-decoration: underline;
    margin: 30px 30px 0;
    color: #7acaff;
}
.special::after {
    content: "";
    width: 7px;
    height: 7px;
    transform: translate(10px,8px) rotate(225deg);
    border-left: 1px solid #7acaff;
    border-bottom: 1px solid #7acaff;
    z-index: 1;
    transition: transform .3s,opacity .3s;
    position: absolute
}

.multi .sel,.uBox {
    margin: 0 5px 10px
}

@media(max-width: 576px) {
    .sel {
        margin:0 5px 10px;
        width: 38%
    }
}

@media(max-width: 468px) {
    .sel {
        width:46%
    }
}

.sel:hover {
    transform: translate(1px,-10px);
    box-shadow: -5px 22px 26px 0 rgba(24,46,75,.24);
    background-color: rgba(255,255,255,.12)
}

.sel.active {
    transform: translate(1px,-10px);
    box-shadow: -5px 22px 26px 0 rgba(24,46,75,.24),inset 0 0 0 2px #fff;
    background-color: rgb(255 255 255/17%);
    transition: transform .4s,box-shadow .1s,background-color .4s
}

.sel>img {
    width: 60%;
    margin-bottom: 20px;
    border-radius: 50%;
    background-color: #fff
}

.sel>img.transparent {
    background: 0 0
}

.sel>span {
    font-weight: 500;
    color: #fff
}

@media(max-width: 576px) {
    .sel>span {
        font-size:.9em;
        align-self: center
    }
}

@media(max-width: 468px) {
    .sel>img {
        width:76%
    }
}

#form {
    display: none;
    position: relative;
    transition: opacity .3s,transform .4s;
    flex-direction: column;
    margin-top: 45px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto
}

@media(max-width: 576px) {
    #form {
        margin-top:30px
    }
}

.i_row {
    position: relative;
    margin-bottom: 28px
}

.i_row input {
    width: 100%;
    padding: 12px 44px 10px;
    background: 0 0;
    transition: border-color .2s;
    color: #fff;
    outline: none;
    border: none;
    border-bottom: 1px solid rgb(255 255 255/40%);
    font-size: 1em;
    border-radius: 0
}

.i_row input.success {
    border-bottom-color: rgb(49 194 67)
}

.i_row input.error {
    border-bottom-color: rgb(255 103 103)
}

.icon_user::after {
    content: '';
    background-image: var(--icon_avatar_url);
    position: absolute;
    z-index: 90;
    left: 0;
    top: 0;
    display: block;
    width: 38px;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    cursor: text;
    filter: brightness(1.5)
}

.icon_email::after {
    content: '';
    background-image: var(--icon_email_url);
    position: absolute;
    z-index: 90;
    left: 1px;
    top: 0;
    display: block;
    width: 38px;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    cursor: text;
    filter: brightness(1.5)
}

.inp_icon>img {
    position: absolute;
    z-index: 90;
    right: 6px;
    top: 7px;
    display: block;
    width: 22px;
    height: 22px;
    background-size: cover;
    background-position: center;
    cursor: text;
    opacity: 0;
    transition: opacity .3s
}

.inp_icon.success>.check {
    opacity: 1
}

.inp_icon.error>.cross {
    opacity: 1
}

.i_row input::placeholder {
    color: #b2c8d7
}

.i_row input:focus {
    border-color: rgb(255 255 255/90%)
}

#telefon_row {
    display: flex
}

#telefon_row::after {
    content: none
}

#telefon_row>select {
    background: 0 0;
    color: #b2c8d7;
    border: none;
    border-bottom: 1px solid rgb(255 255 255/40%);
    outline: none
}

#telefon_row option,#telefon_row optgroup {
    color: #000
}

#telefon_row>input {
    padding-left: 8px;
    margin-left: 12px
}

.privacy {
    font-size: .8em;
    color: rgb(255 255 255/64%);
    display: flex;
    position: relative
}

.privacy>span {
    margin-right: 16px
}

.privacy>input {
    margin: 3px 6px 0 0
}

@media(max-width: 768px) {
    .privacy>input {
        min-height:17px;
        min-width: 17px;
        margin: 2px 10px 0 0
    }
}

.privacy .inp_icon {
    display: flex;
    align-items: center;
    padding-left: 5px
}

.privacy .inp_icon>img {
    top: auto
}

#upload-form {
    flex-direction: column;
    flex-wrap: nowrap
}

#upload-form .img_woman {
    display: none
}

#upload-form.show_woman .img_woman {
    display: initial
}

#upload-form.show_woman .img_man {
    display: none
}

.upload_boxes {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap
}

.uBox {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0 0;
    overflow: hidden;
    transition: transform .4s,box-shadow .15s,background-color .4s;
    background-position: center;
    background-size: cover
}

.uBox.error {
    box-shadow: 0 0 0 2px rgb(220 53 70/80%)
}

@media(min-width: 577px) {
    .upload_boxes {
        justify-content:space-between
    }

    .uBox:first-child {
        margin-left: 0
    }

    .uBox:last-child {
        margin-right: 0
    }
}

@media(max-width: 576px) {
    .uBox {
        width:100%;
        max-width: 48%;
        margin: 0 1% 20px
    }
}

.uBox * {
    pointer-events: none
}

.uBox>img {
    width: 45px;
    max-width: 45px;
    height: 60px;
}

.uBox.uploaded>img {
    opacity: 0
}

.uBox::after {
    content: "";
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background-color: rgb(0 0 0/82%);
    background-image: var(--upload_cam_url);
    background-size: 80px;
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity .3s
}

.uBox.dragged::after {
    opacity: 1
}

.uBox::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.6);
    opacity: 0
}

.uBox.uploaded::before {
    opacity: 1
}

.uBox>span {
    margin: 8px 0;
    color: #fff;
    opacity: .8;
    font-weight: lighter
}

.icon_upload {
    margin-top: 10px;
    background-color: #fff;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 19px 0;
    color: #235ba8;
    font-style: normal;
    font-weight: 500;
    position: relative;
    transition: color .4s,opacity .4s
}

.icon_upload>img:not(.upload_check) {
    display: block;
    width: 28px;
    margin-left: 7px;
    transform: translateY(2px);
    transition: transform .4s,opacity .4s
}

.icon_upload>.upload_check {
    position: absolute;
    width: 33px;
    opacity: 0;
    transition: opacity .25s
}

@media(hover: none) and (pointer:coarse) {
    .icon_upload>.upload_check {
        transition-delay:.5s
    }
}

@media(max-width: 576px) {
    .uBox>img {
        width:52%
    }

    .uBox>span {
        font-size: .92em
    }

    .icon_upload {
        padding: 16px 0;
        font-size: .9em
    }

    .icon_upload>img:not(.upload_check) {
        width: 25px
    }

    .icon_upload>.upload_check {
        width: 28px
    }
}

.uBox.uploaded .icon_upload {
    color: transparent
}

.uBox.uploaded .icon_upload>span {
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center
}

.uBox.uploaded .icon_upload>img:not(.upload_check) {
    display: none
}

.uBox .icon_upload>span::after {
    content: '';
    color: transparent
}

.uBox.uploaded .icon_upload>span::after {
    content: attr(data-upload-again);
    transition: color .4s;
    color: transparent;
    position: absolute
}

.uBox.uploaded .icon_upload>.upload_check {
    opacity: 1
}

.uBox.uploaded .icon_upload>img:not(.upload_check) {
    opacity: 0
}

@media(hover: hover) and (pointer:fine) {
    .uBox:hover .icon_upload>img:not(.upload_check) {
        transform:translateY(-4px)
    }

    .uBox.uploaded:hover .icon_upload>span::after {
        color: #d92020
    }

    .uBox.uploaded:hover .icon_upload>.upload_check {
        opacity: 0
    }
}

.uBox input {
    display: none!important
}

#sendBtn,#uploadBtn {
    color: #3668b4;
    background-color: #fff;
    align-self: center;
    padding: 16px 55px 16px 38px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 500;
    position: relative;
    cursor: pointer;
    transition: opacity .3s,color .25s;
    width: 100%;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 15px
}

@media(max-width: 576px) {
    #sendBtn,#uploadBtn {
        margin-top:15px
    }
}

#sendBtn::after,#uploadBtn:after {
    content: "";
    width: 7px;
    height: 7px;
    transform: translate(10px,8px) rotate(225deg);
    border-left: 1px solid #3668b4;
    border-bottom: 1px solid #3668b4;
    z-index: 1;
    transition: transform .3s,opacity .3s;
    position: absolute
}

#sendBtn:hover::after,#uploadBtn:hover::after {
    transform: translate(17px,8px) rotate(225deg)
}

#sendBtn.sending,#uploadBtn.sending {
    color: transparent
}

#sendBtn.sending::after,#uploadBtn.sending::after {
    transform: translate(30px,8px) rotate(225deg);
    opacity: 0
}

.lds-dual-ring {
    opacity: 0;
    transition: opacity .3s;
    transition-delay: .3s;
    position: absolute;
    top: calc(50% - 16px);
    left: calc(50% - 16px)
}

#sendBtn.sending .lds-dual-ring,#uploadBtn.sending .lds-dual-ring {
    opacity: 1
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 3px solid #3668b4;
    border-color: #3668b4 transparent #3668b4 transparent;
    animation: lds-dual-ring 1.2s linear infinite
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

#thank-you {
    display: none;
    position: relative;
    transition: opacity .3s,transform .4s;
    color: #fff;
    font-weight: lighter;
    line-height: 1.5;
    background-color: rgba(0,0,0,.25);
    box-shadow: -6px 10px 18px 0 rgba(0,0,0,.12);
    border-radius: 12px;
    overflow: hidden;
    flex-direction: column;
    align-items: flex-start
}

#thank-you .columns {
    display: flex
}

#thank-you .columns>* {
    width: 50%
}

#thank-you .texts {
    padding: 35px 0 22px 32px;
    flex-shrink: 0
}

#thank-you h3 {
    font-size: 1.4em
}

#thank-you .image {
    margin-left: 20px;
    object-fit: cover
}

@media(max-width: 768px) {
    #thank-you .columns {
        flex-direction:column-reverse;
        padding: 20px 22px 10px
    }

    #thank-you .columns>* {
        width: 100%
    }

    #thank-you .texts {
        padding: 0;
        margin: 19px 0 0;
        font-size: .91em
    }

    #thank-you .image {
        margin: 0;
        border-radius: 15px
    }
}

.insta_box {
    display: flex;
    padding: 30px;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    color: #165a8a;
    font-weight: 500;
    width: 100%
}

#terminBtn {
    background-color: #165a8a;
    padding: 15px 30px;
    flex-shrink: 0;
    border-radius: 12px;
    transition: transform .35s,box-shadow .35s;
    text-align: center;
    outline: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: .95em;
    font-family: inherit;
    font-weight: 500
}

#terminBtn:hover {
    transform: translate(1px,-4px);
    box-shadow: -2px 4px 10px 0 rgba(0,0,0,.24)
}

.insta_box>.before_after {
    padding: 0 45px 0 30px;
    font-size: 1.1em
}

.insta_box>img {
    width: 50px
}

@media(max-width: 768px) {
    .insta_box>.before_after {
        padding:0 25px;
        font-size: 1em
    }
}

@media(max-width: 650px) {
    .insta_box {
        flex-wrap:wrap;
        justify-content: flex-start;
        align-items: flex-start
    }

    .insta_box>img {
        width: 11%
    }

    .insta_box>.before_after {
        width: 89%;
        font-size: 1.1em
    }

    #terminBtn {
        width: 100%;
        margin-top: 18px;
        padding-left: 0;
        padding-right: 0
    }
}

@media(max-width: 576px) {
    .insta_box>img {
        width:38px;
        padding-right: 2px
    }

    .insta_box>.before_after {
        width: 0;
        flex-grow: 1;
        font-size: .95em;
        padding: 0 0 0 16px
    }
}

@media(max-width: 390px) {
    .insta_box {
        padding:20px;
        line-height: 1.26
    }

    .insta_box>.before_after {
        padding: 0 0 0 15px;
        font-size: .91em
    }
}

#termin {
    transition: opacity .3s;
    padding: 22px 28px;
    max-width: 530px;
    margin: 0 auto;
    border-radius: 15px
}

#termin h3 {
    color: #fff;
    font-size: 1.1em;
    margin: 0 0 9px
}

.termin_info {
    font-size: .85em;
    color: #a2b9ce;
    display: flex;
    align-items: center;
    line-height: 1;
    margin-bottom: 6px
}

.termin_info>img {
    height: 12px;
    margin-right: 5px
}

@media(max-width: 530px) {
    #termin {
        border-radius:0
    }
}

@media(max-width: 480px) {
    #termin {
        padding:18px 0
    }

    #termin h3 {
        margin: 0 21px 9px
    }
}

#terminApp {
    margin-top: 12px
}

#terminApp .navigation {
    font-size: .88em;
    color: #a2b9ce;
    display: flex;
    justify-content: space-between;
    align-items: flex-end
}

#terminApp .navigation .dayYear b {
    color: #fff;
    font-weight: 500
}

#terminApp .navigation .switches {
    display: flex;
    align-items: center
}

#terminApp .navigation .switches>span {
    background: #6fb8ff12;
    border: 1px solid #4e80b0;
    width: 43px;
    height: 39px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background .1s;
    cursor: pointer
}

#terminApp .navigation .switches>span:hover {
    background: #6fb8ff3b
}

#termin_left::after,#termin_right::after {
    content: "";
    width: 7px;
    height: 7px;
    transform: translate(-1px,0) rotate(225deg);
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    z-index: 1;
    transition: transform .3s,opacity .3s;
    position: absolute
}

#terminApp #termin_left {
    margin-right: 8px
}

#terminApp #termin_left::after {
    transform: translate(1px,0) rotate(45deg)
}

#terminApp .weekDays {
    margin-top: 11px;
    margin-bottom: 10px;
    border-top: 1px solid #517fa5;
    border-bottom: 1px solid #517fa5;
    color: #7098c6;
    font-size: .88em;
    padding: 9px 0 10px;
    display: flex
}

#terminApp .weekDays>span {
    width: 14.28%;
    text-align: center
}

#terminApp #calendar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 1%
}

#terminApp #calendar>span {
    width: 12.68%;
    height: 50px;
    margin: .8%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    border-radius: 7px;
    color: #fff
}

@media(max-width: 480px) {
    #terminApp .navigation {
        margin:0 21px
    }

    #terminApp #calendar>span {
        height: 12.68vw
    }
}

#terminApp #calendar>span.available {
    background: #89d0ff1f;
    cursor: pointer;
    transition: background .1s
}

#terminApp #calendar>span.available:hover {
    background: #89d0ff47
}

#terminApp #calendar>span.blocked {
    color: #5a82a3
}

#terminApp #calendar>span.selected {
    background: #1c99ee;
    color: #fff;
    font-weight: 500
}

#terminLoading {
    opacity: 0;
    visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity .2s,visibility .2s;
    position: absolute;
    background: #07162866;
    height: 100%;
    width: 100%;
    z-index: 999999;
    top: 0;
    left: 0
}

#terminLoading::after {
    content: " ";
    display: block;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 3px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite
}

#terminLoading.active {
    opacity: 1;
    visibility: visible
}

.left {
    transform: translateX(-15px)
}

.right {
    transform: translateX(15px)
}

.hidden {
    opacity: 0!important
}

.unclickable {
    visibility: hidden
}
