// Lay outside of parent
.btn-out {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translate(0%, 50%);
    z-index: 1;
    display: inline-block;
    vertical-align: top;
    text-align: center;
}

// Lay inside of parent, not needed on default?
.btn-inn {
    text-align: left;
    width: 100%;
    display: inline-block;
    vertical-align: top;
    @include media-breakpoint-down(md){
        text-align: center;
    }
}

.card .content .btn-out .btn{
    @include media-breakpoint-down(md){
        min-width: inherit;
        padding: 10px;
    }
}

.card .content .btn-out > span {
    display:none;
}

.card .content .btn-inn > span {
    display:none;
}

.card .content .btn-out a > span {
    display:inline-block;
    vertical-align: middle;
}

.card .content .btn-inn a > span {
    display:inline-block;
    vertical-align: middle;
}


// Buttons
.btn,
.button,
input[type="button"],
input[type="submit"], .news .button {
    width: auto;
    min-width: 210px;
    height: auto;
    float: none;
    display: inline-block;
    vertical-align: middle;
    font-family: $font-family-primary;
    font-weight: $font-weight-black;
    font-size: $font-size-20;
    color: $primary-color;
    line-height: $line-height-22;
    text-align: center;
    text-transform: uppercase;
    text-decoration: $link-hover-decoration-none;
    white-space: normal;
    background: $quaternary-color;
    border: 3px solid $quaternary-color;
    box-shadow: $box-shadow-none;
    padding: 9px 30px;
    @include media-breakpoint-down(xl) {
        font-size: $font-size-16;
    }
    @include media-breakpoint-down(md) {
        font-size: $font-size-14;
        padding: 8px 20px;
    }

    &.btn-outline {
        color: $secondary-color;
        border: 3px solid $secondary-color;
        background: $blue-darker;
    }

    &.transparent {
        background: transparent;
    }

    &.btn-small {
        padding: 5px 30px;
        font-size: $font-size-14;
        line-height: $line-height-26;
    }

    &.btn-wide {
        width: 100%;
    }

    p {
        display: inline-block;
        line-height: initial;

    }

    .icon {
        display: inline-block;
        position: unset;
        width: 24px;
        height: 24px;
        margin-right: 10px;
        background: $secondary-color;
        vertical-align: middle;

        +p {
            position: relative;
        }
    }

    img {
        height: 26px;
        vertical-align: middle;
    }

    .txt {
        width: auto;
        float: none;
        display: inline-block;
        vertical-align: middle;
        padding: 0;
        margin: 0;
    }

    &:active,
    &:active:focus,
    &.active,
    &.active:focus {
        outline: 0;
    }

    &:hover,
    &:focus,
    &:active,
    &:active:focus,
    &.active,
    &.active:focus {
        color: $primary-color;
        background: $quaternary-color;

        .icon {
            background-color: $secondary-color;
        }
    }

    &.btn-outline:hover,
    &.btn-outline:focus,
    &.btn-outline:active,
    &.btn-outline:active:focus,
    &.btn-outline.active,
    &.btn-outline.active:focus {
        border: 3px solid $secondary-color;
        color: $primary-color;
        background: $secondary-color;

        .icon {
            background-color: $primary-color;
        }
    }

    &.btn-primary {
        color: $secondary-color;
        background-color: $primary-bg;
        border: 3px solid $secondary-color;

        &:hover,
        &:focus,
        &:active,
        &:active:focus,
        &.active,
        &.active:focus {
            background: $secondary-color;
            color: $primary-color;
        }
    }

    &.btn-secondary {
        background: $green;

        &:hover,
        &:focus,
        &:active,
        &:active:focus,
        &.active,
        &.active:focus {
            background: $green-dark;
        }
    }

    &.btn-danger {
        background: $red;

        &:hover,
        &:focus,
        &:active,
        &:active:focus,
        &.active,
        &.active:focus {
            background: $red-dark;
        }
    }

    &.btn-blank-blue {
        color: $secondary-bg;
        background: none;
        box-shadow: inset $secondary-bg 0 0 0 2px;

        &:hover,
        &:focus,
        &:active,
        &:active:focus,
        &.active,
        &.active:focus {
            color: $primary-color;
            background: $secondary-bg;
        }
    }

    &.disabled {
        cursor: not-allowed;
        filter: alpha(opacity=65);
        box-shadow: $box-shadow-none;
        opacity: .65;
    }

    @include media-breakpoint-down(md) {
        img {
            height: 22px;
        }
    }

}

.btn-booking {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Gridelement: Fixed Icon Link */
.fixed-icon {
    width: 50px;
    height: 50px;
    z-index: 99;
    a {
        display: block;
        padding: 10px;
        min-width: initial!important;
        &.rounded {
            border-radius: 25px!important;
        }
        &:hover {
            opacity: 0.9;
        }
    }
}
@media(max-width: 1023px) {
    .fixed-icon {
        a {
            &.scrolltop {
                display: block!important;
            }
        }
    }
}

.btn .image-button {
    vertical-align: bottom;
    &.left {
        padding-right: 5px;
    }
    &.right {
        padding-left: 5px;
    }
}
