
.wp-block-button .wp-block-button__link {
    text-align: left;
}

.wp-block-button .wp-block-button__link,
.editor-styles-wrapper .wp-block-button .wp-block-button__link, 
.gb-button,
.btn, .btn.btn-primary, .subnavi-button {
    display: inline-block;
    padding: 0 !important;
    font-size: 1rem;
    font-weight: bold;
    color: #000;
    background-color: transparent;
    background: transparent;
    border: none;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    min-width: 80px;
    
}

.btn.btn-black {
    display: inline-block;
    color: #fff;
    background-color: #1F1F1F;
    font-size: 1rem;
    font-family: Ubuntu, serif;
    font-weight: 500;
    line-height: 1.2;
}
.btn.btn-with-icon {
    padding: 20px !important;
}
.btn.btn-turqoise {
    color: #fff;
    background-color: #02cedb !important;
}
.btn-small {
    padding: 4px 20px !important;
    font-size: .9rem !important;
    
}

#ota-yhteytta-btn.btn-small { 
    padding: 8px !important;
    line-height: 1.2;
    font-size: .7rem !important;
}
#ota-yhteytta-btn.btn-small:hover {
    background-color: #00474b !important;
}

@media (max-width: 500px) {
    #ota-yhteytta-btn.btn-small {
        margin-right: 20px !important;
    }
}

@media (min-width: 450px) {
    #ota-yhteytta-btn.btn-small {
        display: inline-block;
        padding: 7px 15px !important;
        font-size: .7rem !important;
    }
}

@media (min-width: 768px) { 
    #ota-yhteytta-btn.btn-small {
        padding: 8px 20px !important;
        font-size: .8rem !important;
    }
}

.btn.btn-with-icon::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 15px;
    background-image: url('../../../images/icon-dots.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}
.btn.btn-black::after,
.btn.btn-turqoise::after {
    display: none;
}
.btn.btn-black:hover,
.btn.btn-black:focus,
.btn.btn-turqoise:hover,
.btn.btn-turqoise:focus {
    color: #fff !important;
    background-color: #000 !important;
    text-decoration: none !important;
}

.nf-form-cont .nf-form-content button, .nf-form-cont .nf-form-content input[type=button], .nf-form-cont .nf-form-content input[type=submit] {
    padding: 0 !important;
    font-size: 1rem !important;
    font-weight: bold !important;
    color: #000 !important;
    background-color: transparent !important;
    border: none !important;
    position: relative !important;
    cursor: pointer !important;
    text-decoration: none !important;
    min-width: 80px !important;
}

.nf-form-cont .nf-form-content button::after,
.nf-form-cont .nf-form-content input[type=button]::after,
.nf-form-cont .nf-form-content input[type=submit]::after {
    content: '';
    display: block;
    width: 65px !important;
    max-width: 50% !important;
    height: 4px !important;
    border-radius: 2px !important;
    background-color: #76b82a !important;
    margin: 0 !important;
    margin-top: 10px !important;
    transition: width 0.3s !important;
}

.wp-block-button .wp-block-button__link::after,
.editor-styles-wrapper .wp-block-button .wp-block-button__link::after,
.gb-button::after,
.btn::after,
a.subnavi-button::after {
    content: '';
    display: block;
    width: 65px;
    max-width: 50%;
    height: 4px;
    border-radius: 2px;
    background-color: #76b82a;
    margin: 0;
    margin-top: 10px;
    transition: width 0.3s;
}
.btn.btn-tiny {
    padding: 0;
    text-align: left;
    min-width: 0;
}
.btn.btn-tiny::after{
 margin-top: 5px;
}
.btn.btn-green {
    color: #fff;
    background-color: #76b82a;
}
.btn.tarjouspyynto-button {
    position: fixed;
    padding: 12px 15px !important;
    z-index: 2;
    right: -58px;
    font-size: 1.1rem !important;
    bottom: 200px; /* oli top: 80%, tein tilaa chat napille */
    transform: rotate(90deg);
    line-height: 1;
    
}

@media (min-width: 1200px) {
    .btn.tarjouspyynto-button { 
        bottom: 250px;
    }
}

@media (max-height: 400px) {
    .btn.tarjouspyynto-button {
        bottom: 150px;
    }
}

@media (min-width: 992px) {
    .btn.tarjouspyynto-button {
        padding: 15px 25px !important;
        right: -64px;
        z-index: 2;
        font-size: 1.1rem !important;
    }
}
.btn.tarjouspyynto-button::after {
    display: none;
}

.wp-block-button .wp-block-button__link:hover::after,
.editor-styles-wrapper .wp-block-button .wp-block-button__link:hover::after,
.gb-button:hover::after, a.subnavi-button:hover::after {
    text-decoration: none;
    width: 80px;
    max-width: 70%;
}

a.subnavi-button {
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 1px;
    text-decoration: none;
}
a.subnavi-button:hover {
    text-decoration: none;
    color: black;
}
ul.main-menu li > ul.sub-menu a.active-link {
    color: #02cedb !important;
}
@media (hover: none) {
    a.subnavi-button {
        color: initial;
    }
}


a.subnavi-button {
    font-size: .8rem;
    font-weight: 500;
}
@media (min-width: 992px) {
    a.subnavi-button {
        font-size: 1rem;
        font-weight: 400;
    }
}

.wp-block-button.is-style-secondary .wp-block-button__link {
    background-color: #000 !important;
    color: #fff;
}
/* .wp-block-button .wp-block-button__link::after {
    content: " ";
    margin-left: 10px;
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url('../../../images/icon-chevron-right-double.svg');
    background-position: 0 2px;
    background-size: contain;
    background-repeat: no-repeat;
} */

.wp-block-button.is-style-black .wp-block-button__link {
    background-color: #000 !important;
}
.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus,
.gb-button:hover,
.gb-button:focus {
    text-decoration: none;

}
.wp-block-button .wp-block-button__link::after {

}
.wp-block-buttons.is-layout-flex {
    gap: 1.5em;
}
