/*!
* rocketixx CSS
* farbCode GmbH 2017
*/

/*
*
*  L A Y O U T
*
***********************************************************************************************************************/

body {
    background: #ffffff;
}

@media (min-width: 420px) {

}

h1, h2, h3, h4, h5, h6, p, input, span, i, .select-text  {
    color: #7b7b7b;
    margin: 0;
    -webkit-transition: color 300ms;
    transition: color 300ms;
}

.project-choose-image, .project-heading-image {
    background-color: #dcdcdc;
    -webkit-transition: background-color 300ms;
    transition: background-color 300ms;
}

.StripeElement {
    width: 100%;
}

.center-absolute-element {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
}


/* Eigenschaften für die runden Bilder*/

.centered-and-cropped {
    object-fit: cover;
}

.resize-choose-pic {
    width: 160px;
    height: 80px;
}

@media (max-width: 460px) {
    .resize-choose-pic {
        width: 120px;
        height: 60px;
    }
}

@media (max-width: 330px) {
    .resize-choose-pic {
        width: 80px;
        height: 40px;
    }
}

.resize-heading-pic {
    width: 130px;
    height: 65px;
}

@media (max-width: 670px) {
    .resize-heading-pic {
        width: 100px;
        height: 50px;
    }
}


/* Responsitive Schrift */
html {
    font-size: 16px;
}

@media (max-width: 670px) {
    html {
        font-size: 13px;
    }
    .container-fluid {
        padding-right: 15px !important;
        padding-left: 15px !important;
    }
}

/* Container schmaler machen */
@media (max-width: 330px) {
    html {
        font-size: 11px;
    }
    .container-fluid {
        padding-right: 5px !important;
        padding-left: 5px !important;
    }
}
/*Abstand bei Umbrüchen einfügen */
.project-heading-sm {
    margin-top: 10px;
}

/*Abstand bei Umbrüchen einfügen */
@media (max-width: 576px) {
    .project-heading-sm {
        margin-top: 0;
    }
}

.project-heading-lg {
    margin-top: 10px;
}

@media (min-width: 1257px) {
    .project-heading-lg {
        margin-top: 0;
    }
}

.project-description {
    margin-top: 20px;
}

.more-projects {
    float: none;
}

.showPointer {
    cursor: pointer;
}

.summary-heading {
    color: #7b7b7b;
    font-size: 20px;
}

@media (max-width: 720px) {
    .summary-heading {
        font-size: 16px;
    }
}

@media (max-width: 610px) {
    .summary-heading {
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .summary-heading {
        font-size: 18px;
    }
}

@media (max-width: 320px) {
    .summary-heading {
        font-size: 14px;
    }
}

.img-hover {
    opacity: 0;
    -webkit-transition: opacity 400ms;
    transition: opacity 400ms;
}

.back-arrow:hover {
    color: #e30613;
}

.attColor {
    color: #e30613;
}


.paginator {
    position: absolute;
    width: 100%;
    margin-top: 30px;
    animation-duration: 801ms
}

.fade-pm-input {
    animation-duration: 503ms;
}

#preselectedValues {
    margin-top: 10%;
    margin-bottom: 10%;
    max-height: 50px;
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 600ms, max-height 600ms, visibility 600ms, margin-top 600ms, margin-bottom 600ms;
    transition: opacity 600ms, max-height 600ms, visibility 600ms, margin-top 600ms, margin-bottom 600ms;
}

.open-summary {
    max-height: 0px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 600ms linear 400ms, max-height 600ms, visibility 600ms;
    transition: opacity 600ms, max-height 600ms, visibility 600ms;
}

.rotate-angle {
    transform: rotate(0deg);
    transition: transform 0.3s linear;
}

.rotate-angle.open {
    transform: rotate(180deg);
    transition: transform 0.3s linear;
}

.button-line-amount {
    margin-bottom: 30px;
    margin-top: 15px;
}

.button-line-list {
    margin-bottom: 30px;
    margin-top: 15px;
}

#amount-input {
    margin-top: 5%;
}

.input {
    border: none;
    text-align: center;
    font-family: Roboto;
    font-size: 4rem;
    width: 1em;
    background-color: transparent;
    resize: none;
    outline: none;
}

.greyed {
    color: #dcdcdc !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

.swipe-bar {
    position: relative;
    margin-top: 10px;
    width: 100%;
    height: 3px;
    background-color: #dcdcdc;
}

.barIn {
    content: "";
    display: inline;
    position: absolute;
    width: 0;
    height: 100%;
    left: 50%;
    text-align: center;
}

.barIn:nth-child(1) {
    background-color: #da4733;
    animation-name: loading-right-in;
    animation-duration: 0.2s;
    animation-timing-function: linear;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
}

.barOut {
    content: "";
    display: inline;
    position: absolute;
    width: 0;
    height: 100%;
    left: 50%;
    text-align: center;
}

.barOut:nth-child(1) {
    background-color: #da4733;
    animation-name: loading-right-out;
    animation-duration: 0.2s;
    animation-timing-function: linear;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
}

.barMidIn {
    content: "";
    display: inline;
    position: absolute;
    width: 0;
    height: 100%;
    left: 50%;
    text-align: center;
}

.barMidIn:nth-child(1) {
    background-color: #da4733;
    animation-name: loading-mid-in;
    animation-duration: 0.1s;
    animation-timing-function: linear;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
}

.barMidOut {
    content: "";
    display: inline;
    position: absolute;
    width: 0;
    height: 100%;
    left: 50%;
    text-align: center;
}

.barMidOut:nth-child(1) {
    background-color: #da4733;
    animation-name: loading-mid-out;
    animation-duration: 0.1s;
    animation-timing-function: linear;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
}

@keyframes loading-right-in {
    from {
        left: 100%;
        width: 0;
        z-index: 100;
    }

    to {
        left: 0;
        width: 100%;
    }
}

@keyframes loading-right-out {
    from {
        left: 0;
        width: 100%;
    }

    to {
        left: 100%;
        width: 0;
        z-index: 100;
    }
}

@keyframes loading-mid-in {
    from {
        left: 50%;
        width: 0;
    }
    to {
        left: 0;
        width: 100%;
    }
}

@keyframes loading-mid-out {
    from {
        left: 0;
        width: 100%;
    }
    to {
        left: 50%;
        width: 0;
    }
}

/*Material Design Select ------------------------------- */

.select {
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    position: relative;
    width: 100%;
    margin-top: 25px;
    margin-bottom: 5px;
}

.select-text {
    position: relative;
    font-family: inherit;
    background-color: transparent;
    width: 100%;
    padding: 10px 10px 10px 0px;
    font-size: 18px;
    border-radius: 0;
    border: none;
    border-bottom: 3px solid #dcdcdc;
    height: 51px;
}

/* Remove focus */
.select-text:focus {
    outline: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0);
}

/* Use custom arrow */
.select .select-text {
    /* for Firefox */
    -moz-appearance: none;
    /* for Chrome */
    -webkit-appearance: none;
}

select::-ms-expand {
    display: none;
}

.select-arrow:after {
    position: absolute;
    top: 18px;
    right: 10px;
    /* Styling the down arrow */
    width: 0;
    height: 0;
    padding: 0;
    content: '';
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(0, 0, 0, 0.12);
    pointer-events: none;
}

/* LABEL ======================================= */
.select-label {
    color: #999;
    font-size: 18px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

/* active state */
.select-text:focus ~ .select-label, .select-text:valid ~ .select-label {
    color: #da4733;
    top: -20px;
    transition: 0.2s ease all;
    font-size: 14px;
}

/* BOTTOM BARS ================================= */
.select-bar {
    position: relative;
    display: block;
    width: 100%;
}

.select-bar:before, .select-bar:after {
    content: '';
    height: 3px;
    width: 0;
    bottom: 0;
    position: absolute;
    background: #da4733;
    transition: 0.2s ease all;
}

.select-bar:before {
    left: 50%;
}

.select-bar:after {
    right: 50%;
}

/* active state */
.select-text:focus ~ .select-bar:before, .select-text:focus ~ .select-bar:after {
    width: 50%;
}

/* HIGHLIGHTER ================================== */
.select-highlight {
    position: absolute;
    height: 60%;
    width: 100px;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}

select option:disabled {
    display: none;
}

.input-bottom-line {
    border-bottom: 3px solid #dcdcdc;
    height: 51px;
}

/* Material Design Input ------------------------------- */

.invalid-input:not(:focus) {
    border: solid !important;
    border-color: red !important;
    border-width: 2px !important;
}

.group-md {
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    position: relative;
    width: 100%;
    margin-top: 25px;
    margin-bottom: 5px;
}

.input-md {
    position: relative;
    font-family: inherit;
    background-color: transparent;
    width: 100%;
    padding: 10px 10px 10px 5px;
    font-size: 18px;
    border-radius: 0;
    border: none;
    border-bottom: 3px solid #dcdcdc;
    height: 51px;
}

.input-md :focus {
    outline: none;
}

/* LABEL ======================================= */
.label-md {
    color: #999;
    font-size: 18px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

/* active state */
.input-md:focus ~ .label-md, .input-md:valid ~ .label-md {
    top: -20px;
    font-size: 14px;
    color: #da4733;
}

/* BOTTOM BARS ================================= */
.bar-md {
    position: relative;
    display: block;
    width: 100%;
}

.bar-md:before, .bar-md:after {
    content: '';
    height: 3px;
    width: 0;
    bottom: 0px;
    position: absolute;
    background: #da4733;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.bar-md:before {
    left: 50%;
}

.bar-md:after {
    right: 50%;
}

/* active state */
.input-md:focus ~ .bar-md:before, .input-md:focus ~ .bar-md:after {
    width: 50%;
}

/* HIGHLIGHTER ================================== */
.highlight-md {
    position: absolute;
    height: 60%;
    width: 100px;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* active state */
.input-md:focus ~ .highlight-md {
    -webkit-animation: inputHighlighter 0.3s ease;
    -moz-animation: inputHighlighter 0.3s ease;
    animation: inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
    from {
        background: #da4733;
    }
    to {
        width: 0;
        background: transparent;
    }
}

@-moz-keyframes inputHighlighter {
    from {
        background: #da4733;
    }
    to {
        width: 0;
        background: transparent;
    }
}

@keyframes inputHighlighter {
    from {
        background: #da4733;
    }
    to {
        width: 0;
        background: transparent;
    }
}

/* Material Checkbox_________________________________*/

.material-checkbox {
    position: relative;
    display: inline-block;
    color: rgba(0, 0, 0, 0.87);
    cursor: pointer;
    font-family: "Roboto", "Segoe UI", BlinkMacSystemFont, system-ui, -apple-system;
    font-size: 14px;
    line-height: 18px;
}

.material-checkbox > input {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    position: absolute;
    z-index: -1;
    left: -15px;
    top: -15px;
    display: block;
    margin: 0;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    background-color: rgba(0, 0, 0, 0.42);
    outline: none;
    opacity: 0;
    transform: scale(1);
    -ms-transform: scale(0); /* Graceful degradation for IE */
    transition: opacity 0.5s, transform 0.5s;
}

.material-checkbox > input:checked {
    background-color: #da4733;
}

.material-checkbox:active > input {
    opacity: 1;
    transform: scale(0);
    transition: opacity 0s, transform 0s;
}

.material-checkbox > input:disabled {
    opacity: 0;
}

.material-checkbox > input:disabled + span {
    cursor: initial;
}

.material-checkbox > span::before {
    content: "";
    display: inline-block;
    margin-right: 15px;
    border: solid 2px rgba(0, 0, 0, 0.42);
    border-radius: 2px;
    width: 14px;
    height: 14px;
    transition: border-color 0.5s, background-color 0.5s;
}

.material-checkbox > input:checked + span::before {
    border-color: #da4733;
    background-color: #da4733;
}

.material-checkbox > input:active + span::before {
    border-color: #da4733;
}

.material-checkbox > input:checked:active + span::before {
    border-color: transparent;
    background-color: rgba(0, 0, 0, 0.42);
}

.material-checkbox > input:disabled + span::before {
    border-color: rgba(0, 0, 0, 0.26);
}

.material-checkbox > input:checked:disabled + span::before {
    border-color: transparent;
    background-color: rgba(0, 0, 0, 0.26);
}

.material-checkbox > span::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    left: -1px;
    width: 5px;
    height: 10px;
    border: solid 2px transparent;
    border-left: none;
    border-top: none;
    transform: translate(5.5px, 1px) rotate(45deg);
    -ms-transform: translate(5.5px, 2px) rotate(45deg);
}

.material-checkbox > input:checked + span::after {
    border-color: #fff;
}

/* In Nummbereingabefeldern die Pfeile deaktivieren */

input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

/*HourGlass*/

.dizzy-gillespie {
    filter: saturate(3);
    width: 0.1px;
    height: 0.1px;
    border: 40px solid transparent;
    border-radius: 5px;
    animation: loader 3s ease-in infinite, spin 1s linear infinite;
}

.dizzy-gillespie::before {
    filter: saturate(0.3);
    display: block;
    position: absolute;
    z-index: -1;
    margin-left: -40px;
    margin-top: -40px;
    content: '';
    height: 0.1;
    width: 0.1;
    border: 40px solid transparent;
    border-radius: 5px;
    animation: loader 2s ease-in infinite reverse, spin 0.8s linear infinite reverse;
}

.dizzy-gillespie::after {
    display: block;
    position: absolute;
    z-index: 2;
    margin-left: -10px;
    margin-top: -10px;
    content: '';
    height: 20px;
    width: 20px;
    border-radius: 20px;
    background-color: white;
}

@keyframes loader {
    0% {
        border-bottom-color: transparent;
        border-top-color: #e30613
    }
    25% {
        border-left-color: transparent;
        border-right-color: #82000d
    }
    50% {
        border-top-color: transparent;
        border-bottom-color: #F29492
    }
    75% {
        border-right-color: transparent;
        border-left-color: #82000d
    }
    100% {
        border-bottom-color: transparent;
        border-top-color: #e30613
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }
    100% {
        transform: rotate(-360deg)
    }
}