/* Start Float Box Right Side */
.float-box-right-outer {
    position: fixed;
    top: 50%;
    right: -305px;
    width: 350px;
    transform: translateY(-50%);
    z-index: 99;
    height: auto;
    max-height: calc(100vh - 150px);
    border-radius: 10px 0 0 10px;
    overflow: hidden;
    transition: all 0.5s ease-out;
}

.float-box-right-outer.box-active {
    right: 0;
    z-index: 9999;
}

.float-box-right-outer > div {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
}

.float-box-right-outer .float-box-title {
    position: relative;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    max-height: calc(100vh - 150px);
}

.float-box-right-outer .float-box-title > div {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    max-height: calc(100vh - 165px);
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.float-box-right-outer .float-box-title i {
    transform: rotate(-90deg);
}

.float-box-right-outer .float-box-title svg {
    width: 18px;
    transform: rotate(-90deg);
}

.float-box-right-outer .float-box-title .wp-block-heading {
    writing-mode: vertical-lr;
    transform: rotate(-180deg);
    max-height: calc(100vh - 170px);
    font-size: 20px;
    text-transform: uppercase;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.float-box-right-outer .float-box-content {
    width: calc(350px - 45px);
    max-height: calc(100vh - 100px);
    overflow: auto;
    padding: 20px !important;
}

.float-box-right-outer .float-box-content p {
    margin: 0 0 0.5em;
}

.float-box-right-outer .float-box-content .float-box-content-title {
    font-size: 30px;
    margin: 0 !important;
}

.float-box-right-outer .float-box-content  .float-box-content-title {
    font-size: 22px;
    margin: 0 0 0.5em !important;
}

.float-box-right-outer .trigger-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    z-index: 9;
}

/* END Float Box Right Side */

/* START Float Box Left Side */
.float-box-left-outer {
    position: fixed;
    top: 50%;
    left: -305px;
    width: 350px;
    transform: translateY(-50%);
    z-index: 99;
    height: auto;
    max-height: calc(100vh - 100px);
    border-radius: 0 10px 10px 0;
    overflow: hidden;
    transition: all 0.5s ease-out;
}

.float-box-left-outer.box-active {
    left: 0;
    z-index: 9999;
}

.float-box-left-outer > div {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row-reverse;
    gap: 0;
}

.float-box-left-outer .float-box-title {
    position: relative;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    max-height: calc(100vh - 150px);
}

.float-box-left-outer .float-box-title > div {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    max-height: calc(100vh - 165px);
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.float-box-left-outer .float-box-title i {
    transform: rotate(-90deg);
}

.float-box-left-outer .float-box-title svg {
    width: 18px;
    transform: rotate(-90deg);
}

.float-box-left-outer .float-box-title .wp-block-heading {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    max-height: calc(100vh - 100px);
    font-size: 20px;
    text-transform: uppercase;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.float-box-left-outer .float-box-content {
    width: calc(350px - 45px);
    max-height: calc(100vh - 150px);
    overflow: auto;
    padding: 20px !important;
}

.float-box-left-outer .float-box-content p {
    margin: 0 0 0.5em;
}

.float-box-left-outer .float-box-content .float-box-content-title {
    font-size: 30px;
    margin: 0 0 0.5em !important;
}

.float-box-left-outer .float-box-content  .float-box-content-title {
    font-size: 22px;
    margin: 0;
}

.float-box-left-outer .trigger-close {
    position: absolute;
    top: 10px;
    right: 55px;
    cursor: pointer;
    z-index: 9;
}

/* END Float Box Left Side */