@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap');
.twbb-ps-main-mobile {
    display: none;
}
.twbb-ps-settings::-webkit-scrollbar {
    width: 2px;
}
.twbb-ps-settings::-webkit-scrollbar-track {
    background-color: darkgrey;
}
.twbb-ps-settings::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
.twbb-ps-main {
    -webkit-transition: right 0.5s ease-in;
    -moz-transition: right 0.5s ease-in;
    -o-transition: right 0.5s ease-in;
    transition: right 0.5s ease-in;

    box-sizing: border-box;
    position: fixed;
    z-index: 2147483648;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    color: #323A45;
    font-family: Open Sans, sans-serif;

    width: 426px;
    display: flex;
    justify-content: flex-end;
    border: 0;
}
.twbb-ps-main::-webkit-scrollbar {
    width: 1px;
}

.twbb-ps-main::-webkit-scrollbar-track {
    background: white;
}

.twbb-ps-main::-webkit-scrollbar-thumb {
    background-color: grey;
    outline: 1px solid slategrey;
}
.twbb-ps-container {
    width: 366px;
}
.twbb-ps-main.closed {
    -webkit-transition: right 0.5s ease-in-out;
    -moz-transition: right 0.5s ease-in-out;
    -o-transition: right 0.5s ease-in-out;
    transition: right 0.5s ease-in-out;
    width: 550px;
    right: -366px;
}
.twbb-ps-settings {
    background-color: #F9F9F9;
    padding: 20px 20px 1px 20px;
    border: 1px solid #323A4533;
    border-bottom: 0;
}
.twbb-ps-main__title {
    font-size: 16px;
    line-height: 28px;
    font-weight: 800;
    margin-bottom: 4px;
    align-items: center;
    display: flex;
    gap: 4px;
}
.twbb-ps-main__title span {
    background-image: url(../images/emoji_star.png);
    width: 20px;
    height: 20px;
    display: inline-block;
    background-size: contain;
}
.twbb-ps-button {
    width: inherit;
    position: sticky;
    bottom: 0;
    right: 0;
    background-color: white;
    padding: 15px 51px;
    border: 1px solid #323A4533;
}
.twbb-ps-button a {
    font-size: 14px;
    line-height: 20px;
    width: 260px;
    height: 40px;
    color: #FFFFFF;
    background-color: #2160B5;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.twbb-ps-button a:hover {
    text-decoration: none;
    opacity: 0.8;
    cursor: pointer;
}
.twbb-ps-minimizer {
    background-image: url(../images/minimizer.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-color: #323A45;
    border-radius: 6px 0 0 6px;
    width: 60px;
    height: 60px;
    position: sticky;
    top: calc( 50% - 30px );
    cursor: pointer;

    -webkit-transition: width 0.5s ease-in-out;
    -moz-transition: width 0.5s ease-in-out;
    -o-transition: width 0.5s ease-in-out;
    transition: width 0.5s ease-in-out;
    right: 366px;
}
.twbb-ps-main .twbb-ps-minimizer p {
    display: none;
}
.twbb-ps-main.closed .twbb-ps-minimizer {
    display: flex;
    align-items: center;
    border: 1px solid #E4E4E4;
    width: 184px;
    background-color: white;
    background-image: url(../images/minimizer_black.svg);
    background-position: 15px;
    padding-left: 65px;
}
.twbb-ps-main.closed .twbb-ps-minimizer p {
    display: block;
    font-size: 18px;
    line-height: 28px;
    font-weight: 800;
    letter-spacing: 0.15px;
    color: #323A45;
    opacity: 0;
    animation: showMe 1s forwards;
}
@keyframes showMe{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
.hidden-template {
    display: none;
}
.selected-template {
    display: block;
}
@media screen and (max-width: 991px) {
    .twbb-ps-main {
        display: none;
    }
    .twbb-ps-main-mobile {
        position: fixed;
        bottom: 0;
        z-index: 999;
        width: 100%;
        background: white;
        padding: 15px 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 14px;
        font-weight: 600;
        margin: 0 auto;
        flex-direction: column;
        box-sizing: border-box;
        border-top: 1px solid #E4E4E4;
    }
    .twbb-ps-main-mobile a {
        margin-top: 15px; background-color: #2160B5;
        color: #FFF;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-direction: row;
        height: 40px;
        width: 160px;
        box-sizing: border-box;
        border: 0;
        border-radius: 20px;
        padding: 10px 24px;
        text-transform: uppercase;
        text-align: center;
        vertical-align: middle;
        cursor: pointer;
    }
    .twbb-ps-main-mobile a span {
        font-weight: 600;
        line-height: 20px;
    }
}
.hidden-template {
    display: none;
}
.selected-template {
    display: block;
}