.buttons .btn {
    margin: 0 0 0.35em;
}

.buttons:not(.no-fix) {
    margin-bottom: 0.35em;
}




/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/

body.ready .btn {
    transition: 0.25s;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    outline: 0;
    border: 0;
    text-decoration: none;
    background: transparent;
    position: relative;
    cursor: pointer;
    padding: 0;
    z-index: 10;
    flex: auto;
    text-align: center;
    line-height: 1.2em;
    letter-spacing: var(--letter-spacing-btn);
}

.btn span {
    display: inline-block;
    position: relative;
}

.btn:not(.no-flex),
.btn:not(.no-flex) > span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.btn, .btn:not(.no-flex) > span {
    gap: 0.85rem 0.85rem;
}

.btn.no-flex {
    display: inline-block;
}

.btn:not(.no-fix) span {
    transform: translateY(0.05em);
}

.btn:not(.no-weight) {
    font-weight: 500;
}



/*--------------------------------------------------------------
# Buttons - hover effect
--------------------------------------------------------------*/


/* All buttons */
.btn:before {
    content: '';
    display: block;
    position: absolute;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    inset: 0;
}

body.ready .btn,
body.ready .btn:before,
body.ready .btn:after {
    transition: all 0.2s ease-in-out;
}






/* Filled buttons */

.btn:not(.outline):before {
    inset: -1px;
    opacity: 1;
    transform: none;
}

.btn:not(.outline, .no-effect):hover:before {
    inset: 2px;
}

.btn:not(.outline, .no-effect):focus:before {
    inset: 4px;
}


.btn.rounded-sm:not(.no-radius):before,
.btn.rounded-sm:not(.no-radius):hover:before {
    border-radius: 2px;
}

.btn.rounded-sm:not(.no-radius):focus:before {
    border-radius: 2px;
}


.btn.rounded:not(.no-radius):before,
.btn.rounded:not(.no-radius):hover:before {
    border-radius: 7px;
}

.btn.rounded:not(.no-radius):focus:before {
    border-radius: 6px;
}


.btn.rounded-md:not(.no-radius):before,
.btn.rounded-md:not(.no-radius):hover:before {
    border-radius: 11px;
}

.btn.rounded-md:not(.no-radius):focus:before {
    border-radius: 10px;
}











/* Outline buttons */
.btn.outline:before {
    inset: 0;
    transform: none;
}
.btn.outline:hover:before {
    inset: 2px;
    opacity: 1;

    /*transform: translate(-50%, -50%);*/
    /*opacity: 1;*/
    /*width: calc(100% - 8px);*/
    /*height: calc(100% - 8px);*/

}
.btn.outline.focus:before,
.btn.outline:hover:focus:before {
    inset: 4px;
    opacity: 1;

    /*width: calc(100% - 12px);*/
    /*height: calc(100% - 12px);*/

}




/*.btn.outline:before {*/
/*    width: 85%;*/
/*    height: 75%;*/
/*}*/
/*.btn.outline:hover:before {*/
/*    transform: translate(-50%, -50%);*/
/*    opacity: 1;*/
/*    width: calc(100% - 8px);*/
/*    height: calc(100% - 8px);*/
/*}*/
/*.btn.outline:focus:before {*/
/*    width: calc(100% - 12px);*/
/*    height: calc(100% - 12px);*/
/*}*/






/*--------------------------------------------------------------
# Button - background variations
--------------------------------------------------------------*/

/* Orange */
.btn-orange {
    color: #fff;
    border: 2px solid var(--orange);
}
.btn-orange.txt-orange {
    color: var(--text-orange);
}
.btn-orange:before {
    background: var(--orange);
    outline: 0px solid var(--orange);
}




/* Lightblue */
.btn-blue {
    color: var(--white);
    border: 2px solid var(--text-blue);
}
.btn-blue:before {
    background: var(--text-blue);
    outline: 0px solid var(--text-blue);
}


/* Beige */
.btn-beige {
    color: var(--white);
    border: 2px solid var(--beige);
}
.btn-beige:before {
    background: var(--beige);
    outline: 0px solid var(--beige);
}




/* Brown */
.btn-brown {
    color: var(--white);
    border: 2px solid var(--theme-brown);
}
.btn-brown:before {
    background: var(--theme-brown);
    outline: 0px solid var(--theme-brown);
}




/* Beige sand */
.btn-beige-sand {
    color: var(--text-brown-dark);
    border: 2px solid var(--beige-sand);
}
.btn-beige-sand:before {
    background: var(--beige-sand);
    outline: 0px solid var(--beige-sand);
}


/* Dark */
.btn-dark {
    color: var(--white);
    font-weight: 500;
    border: 2px solid var(--black);
}
.btn-dark:before {
    background: var(--black);
    outline: 0px solid var(--black);
}





/* Black */
.btn-black {
    color: var(--white);
    font-weight: 500;
    border: 2px solid var(--black);
}
.btn-black:before {
    background: var(--black);
    outline: 0px solid var(--black);
}




/* White */
.btn-white {
    background: var(--white);
}


/*--------------------------------------------------------------
# Button - outline variations
--------------------------------------------------------------*/

/* Outline white */
.btn.outline-white {
    border: 2px solid var(--white);
}
.btn.outline-white:before {
    background: var(--white);
}


/* Outline beige */
.btn.outline-beige {
    border: 2px solid var(--beige);
}
.btn.outline-beige:before {
    background: var(--beige);
}


/* Outline beige light */
.btn.outline-beige-light {
    border: 2px solid var(--beige-light);
}
.btn.outline-beige-light:before {
    background: var(--beige-light);
}


/* Outline black */
.btn.outline-black {
    border: 2px solid var(--black);
    font-weight: 500;
}
.btn.outline-black:before {
    background: var(--black);
}


/*--------------------------------------------------------------
# Button - inner variations (stacked buttons)
--------------------------------------------------------------*/

.btn-inner {
    padding: 8px;
}

.btn-inner:not(.ready) {
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: var(--rounded-sm);
    padding: 0.75rem 1.25rem;
}
.btn-inner.inner-brown span,
.btn-inner.inner-brown:not(.ready) {
    background: var(--beige);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: var(--rounded-sm);
    padding: 0.75rem 1.25rem;
}


/*--------------------------------------------------------------
# Button - size variations
--------------------------------------------------------------*/

.btn-xs {
    padding: 0.5rem 0.8rem;
}

.btn-sm {
    padding: 0.65rem 1rem;
}

.btn-md {
    padding: 0.8rem 1.25rem;
}

.btn-lg {
    padding: 0.95rem 1.35rem;
}

.btn-huge {
    padding: 1.1rem 1.75rem;
}

.btn-more-horizontal {
    padding: 0.75rem 1.65rem;
}


@media all and (max-width: 575px) {

    .btn-md {
        padding: 0.7rem 1.15rem;
    }

    .btn-lg {
        padding: 0.8rem 1.25rem;
    }

    .btn-huge {
        /*padding: 1.1rem 1.75rem;*/
        padding: 0.95rem 1.35rem;
    }




}






/*.btn-xs {*/
/*    padding: 0.25rem 0.8rem;*/
/*}*/

/*.btn-sm {*/
/*    padding: 0.3rem 1rem;*/
/*}*/

/*.btn-md {*/
/*    padding: 0.65rem 1.25rem;*/
/*}*/

/*.btn-lg {*/
/*    padding: 0.75rem 1.25rem;*/
/*}*/

/*.btn-huge {*/
/*    padding: 0.85rem 1.45rem;*/
/*}*/

/*.btn-more-horizontal {*/
/*    padding: 0.65rem 1.65rem;*/
/*}*/











/*--------------------------------------------------------------
# Button - hover variations
--------------------------------------------------------------*/

/* Beige */
.btn.outline-beige:hover,
.btn.outline-black:hover {
    color: var(--white);
}


/* Beige light */
.btn.outline-beige-light:hover {
    color: var(--black);
}


/* White */
.btn.outline-white:hover {
    color: var(--black);
}


/*--------------------------------------------------------------
# Button - icons
--------------------------------------------------------------*/

.btn.has-icon span {
    /*display: flex;*/
    display: inline-flex;
    align-items: center;
}

.btn.has-icon .icon {
    /*display: flex;*/
    display: inline-flex;
    position: relative;
    align-items: center;
    top: -1px;
}

.btn.has-icon[data-icon-left] span {
    flex-direction: row-reverse;
}


/*.btn.has-icon .icon {*/
    /*margin-left: 1rem;*/
/*}*/

/*.btn.has-icon[data-icon-left] .icon {*/
    /*margin-left: 0;*/
    /*margin-right: 1rem;*/
/*}*/


.btn.has-icon.no-flex .icon {
    margin-left: 1rem;
}

.btn.has-icon.no-flex[data-icon-left] .icon {
    margin-left: 0;
    margin-right: 1rem;
}





/*--------------------------------------------------------------
# Button - icon sizes
--------------------------------------------------------------*/

.btn.has-icon .icon {
    width: 1.25rem;
    height: 1.25rem;
    /*display: block;*/
}

.btn.has-icon.icon-sm .icon {
    width: 1rem;
    height: 1rem;
    /*display: block;*/
}


/*--------------------------------------------------------------
# Button - utility classes
--------------------------------------------------------------*/

.btn.min-width {
    min-width: 10rem;
    text-align: center;
}

.btn.min-width-xs {
    min-width: 6rem;
}

.btn.min-width-sm {
    min-width: 12rem;
    text-align: center;
}

.btn.min-width-md {
    min-width: 20rem;
    text-align: center;
}

.btn.full-width {
    width: 100%;
}

.btn.text-center {
    text-align: center;
}

.btn.block {
    /*display: block;*/
    display: flex;
}
.btn.inline,
.btn.inline span {
    display: inline-block;
}


/* On larger screens hide */
.btn.show-md {
    display: none;
}


/*--------------------------------------------------------------
# Button - download file
--------------------------------------------------------------*/

.btn.download-file {
    display: flex;

    /*display: block;*/
}

.btn.download-file span {
    /*font-size: var(--font-size-theme);*/
    /*letter-spacing: var(--letter-spacing);*/
    /*justify-content: start;*/
    /*font-size: 0.85rem;*/
    /*font-weight: 500;*/
}

.btn .space-between,
.btn.space-between {
    justify-content: space-between
}


/*--------------------------------------------------------------
# Button - book appointment
--------------------------------------------------------------*/

/*.btn.book-appointment .icon {*/
/*    margin-top: 3px;*/
/*}*/




/*--------------------------------------------------------------
# Button - view reviews
--------------------------------------------------------------*/

.btn.view-reviews,
.btn.view-reviews span {
    display: inline-block;
    text-align: center;
}
.btn.view-reviews span {
    padding-left: 0;
    padding-right: 0;
    font-weight: 500;
}



/*--------------------------------------------------------------
# Button - scroll back to top
--------------------------------------------------------------*/

.btn.scroll-top {
    position: fixed;
    color: var(--white);
    background: var(--black);
    width: 2.25rem;
    height: 2.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 276;
    /*padding: 0.5rem;*/
    padding: 0 !important;
}

.btn.scroll-top i.icon {
    width: 20px;
    height: 20px;
    transform: rotate(270deg);
    transition: transform 200ms;
}

/*body.page-home:not(.scrolled) .btn.scroll-top {*/
/*    opacity: 0;*/
/*}*/




/* Rotate the icon when the page has scrolled */
body.scrolled .btn.scroll-top i.icon {
    transform: rotate(90deg);
}


/*--------------------------------------------------------------
# Button - spacings
--------------------------------------------------------------*/

.btn.top {
    margin-top: 2.25rem;
}


/*--------------------------------------------------------------
# Media querys
--------------------------------------------------------------*/

@media all and (max-width: 992px) {

    /* Button - utility classes  */
    .btn.hidden-md,
    .btn.hidden-md.full-width-mobile {
        display: none;
    }

    .btn.show-md {
        display: block;
    }
}

@media all and (max-width: 575px) {

    .btn.scroll-top {
        right: 1rem;
        bottom: 1rem;
    }

}

@media all and (max-width: 575px) {

    /* Button - utility classes  */
    .btn.full-width-mobile {
        display: block;
        text-align: center;
    }



    .btn.min-width-md {
        min-width: auto;
    }

}
