/* Styles for Font Presets Control */
.customize-control-responsive-fontpreset {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    background-color: #FFF;
    padding-top: 24px;
    padding-bottom: 0;
}

.customize-control-responsive-fontpreset__button {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 78px;
    padding: 0;
    border: 1px solid #DDDDDD;
    color: black;
    background-color: #FFF;
    border-radius: 4px;
    cursor: pointer;
}

.customize-control-responsive-fontpreset__button.fontpreset-button.active {
    border: 1px solid black;
}

.fontpreset-button .tooltiptext {
    visibility: hidden;
    width: auto;
    background-color: #3E3E3E;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px 18px;
    position: absolute;
    z-index: 1;
    top: -50px;
    font-size: 12px;
    line-height: 100%;
    font-family: "Roboto", sans-serif;
    transform: translateX(-50%);
    min-width: 82px;
    width: fit-content;
    left: 48%;
    box-shadow: 0px 4px 4px 0px #00000040;
}

.tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #3B3B3B transparent transparent transparent;
}

button.customize-control-responsive-fontpreset__button.fontpreset-button:hover .tooltiptext {
    visibility: visible;
}

button.customize-control-responsive-fontpreset__button.fontpreset-button .heading-preview{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 38px;
    font-size: 20px;
}

button.customize-control-responsive-fontpreset__button.fontpreset-button .body-preview{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 38px;
    font-size: 20px;
    border-top: 1px solid #DDDDDD;
}

.preview-tablet #customize-control-responsive_header_height, .preview-mobile #customize-control-responsive_header_height { display: none; }
.responsive-font-preset-reset-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 0;
    background-color: #FFF;
}

.customize-control-font-preset-description {
    font-size: 14px;
    font-weight: 400;
}

.responsive-font-preset-reset-control .dashicons {
    font-size: 14px;
    font-weight: 400;
    color: #50575E;
    font-style: normal;
}

.responsive-font-preset-reset-control .dashicons:hover{
    cursor: pointer;
}